西海岸:开发公安局申请 附件上传为必填
This commit is contained in:
parent
0974118d3b
commit
2ebec87514
|
@ -75,7 +75,7 @@
|
||||||
<div v-if="iskfq && isXiHaiAn">
|
<div v-if="iskfq && isXiHaiAn">
|
||||||
<a-row style="margin-top: 0.4rem">
|
<a-row style="margin-top: 0.4rem">
|
||||||
<a-col :span="24">
|
<a-col :span="24">
|
||||||
<a-form-item name="attachment" label="附件上传" class="introduction">
|
<a-form-item name="attachment" label="附件上传" class="introduction" :rules="[{ required: true, message: '请上传附件' }]">
|
||||||
<a-upload :max-count="1" accept=".doc,.docx,pdf" v-model:file-list="fileList"
|
<a-upload :max-count="1" accept=".doc,.docx,pdf" v-model:file-list="fileList"
|
||||||
:action="`${apiURL}/upload`" @remove="handleRemove" @change="roomUpload">
|
:action="`${apiURL}/upload`" @remove="handleRemove" @change="roomUpload">
|
||||||
<a-button>
|
<a-button>
|
||||||
|
@ -356,7 +356,7 @@ export default {
|
||||||
if (!formName) {
|
if (!formName) {
|
||||||
return message.error('请设置表单名称')
|
return message.error('请设置表单名称')
|
||||||
}
|
}
|
||||||
|
|
||||||
if (id) {
|
if (id) {
|
||||||
endProcess({ instanceId: taskId }).then((end) => {
|
endProcess({ instanceId: taskId }).then((end) => {
|
||||||
if (end.data.code == 0) {
|
if (end.data.code == 0) {
|
||||||
|
|
Loading…
Reference in New Issue