|
|
|
|
@ -145,21 +145,8 @@
|
|
|
|
|
</el-row> |
|
|
|
|
<el-row> |
|
|
|
|
<el-col :span="12"> |
|
|
|
|
<el-form-item label="上传佐证"> |
|
|
|
|
<el-upload |
|
|
|
|
v-model:file-list="fileList" |
|
|
|
|
:action="`${VITE_API_URL}/api/file/upload`" |
|
|
|
|
:headers="{'Admin': getToken()}" |
|
|
|
|
multiple |
|
|
|
|
> |
|
|
|
|
<el-button |
|
|
|
|
>上传 |
|
|
|
|
|
|
|
|
|
<template #icon> |
|
|
|
|
<icon name="el-icon-Upload" /> |
|
|
|
|
</template> |
|
|
|
|
</el-button> |
|
|
|
|
</el-upload> |
|
|
|
|
<el-form-item label="上传佐证" prop="verifyAttachments"> |
|
|
|
|
<Upload v-model="form.verifyAttachments" /> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
|
<el-col :span="12"> |
|
|
|
|
@ -185,7 +172,6 @@ import { useDictData } from "@/hooks/useDictOptions";
|
|
|
|
|
import { listByThree } from "@/api/org/department"; |
|
|
|
|
import { allLists } from "@/api/perms/admin"; |
|
|
|
|
import { getToken } from "@/utils/auth"; |
|
|
|
|
const { VITE_API_URL } = process.env; |
|
|
|
|
const { dictData } = useDictData(["verify_problem", "verify_punish", "satisfaction_status", "verify_is_true"]); |
|
|
|
|
const threeDepts = ref([]); |
|
|
|
|
const polices = ref([]); |
|
|
|
|
@ -237,6 +223,12 @@ const rules = {
|
|
|
|
|
message: "请选择回访人", |
|
|
|
|
}, |
|
|
|
|
], |
|
|
|
|
verifyAttachments: [ |
|
|
|
|
{ |
|
|
|
|
required: true, |
|
|
|
|
message: "请上传佐证", |
|
|
|
|
}, |
|
|
|
|
] |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
listByThree().then((data) => { |
|
|
|
|
|