Compare commits
No commits in common. "3e682fd0aa90cbe6a72ef4fc15555db52d1f4931" and "6e192cdb3f4161d5040cdfe079fb5075beb57497" have entirely different histories.
3e682fd0aa
...
6e192cdb3f
|
|
@ -51,10 +51,12 @@ export default function AttachmentUpload({ name, label, disabled = false, maxCou
|
|||
<Upload
|
||||
//disabled={disabled}
|
||||
listType="picture-card"
|
||||
|
||||
headers={{
|
||||
token: sessionStorage.getItem('token')
|
||||
}}
|
||||
maxCount={maxCount}
|
||||
accept={accept}
|
||||
action={`${window.process.env.app.API_HOST}/safetyEval/images/upload`}
|
||||
action={`${window.process.env.app.API_HOST}/safetyEval/file/upload`}
|
||||
beforeUpload={(file) => {
|
||||
if (!accept) return true;
|
||||
const rules = accept.split(",").map((e) => e.trim().toLowerCase());
|
||||
|
|
|
|||
|
|
@ -223,13 +223,14 @@ const RegisterMore = (props) => {
|
|||
>
|
||||
<Select
|
||||
options={QUALIFICATION_INDUSTRY_OPTIONS}
|
||||
mode="multiple"
|
||||
//mode="multiple"
|
||||
placeholder="请选择安全生产监管行业类别"
|
||||
allowClear
|
||||
onChange={(value, option) => {
|
||||
form.setFieldValue(
|
||||
"safetyIndustryCategoryName",
|
||||
option?.map((item) => item.label).join(",") || "",
|
||||
option?.label || "",
|
||||
//option?.map((item) => item.label).join(",") || "",
|
||||
);
|
||||
}}
|
||||
/>
|
||||
|
|
|
|||
Loading…
Reference in New Issue