update 优化 驳回增加附件上传
This commit is contained in:
parent
060f99dee5
commit
8994e3ad3e
@ -71,6 +71,9 @@
|
|||||||
<el-checkbox label="3" name="type">短信</el-checkbox>
|
<el-checkbox label="3" name="type">短信</el-checkbox>
|
||||||
</el-checkbox-group>
|
</el-checkbox-group>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
<el-form-item v-if="task.flowStatus === 'waiting'" label="附件">
|
||||||
|
<fileUpload v-model="backForm.fileId" :file-type="['png', 'jpg', 'jpeg', 'doc', 'docx', 'xlsx', 'xls', 'ppt', 'txt', 'pdf']" :file-size="20" />
|
||||||
|
</el-form-item>
|
||||||
<el-form-item label="审批意见">
|
<el-form-item label="审批意见">
|
||||||
<el-input v-model="backForm.message" type="textarea" resize="none" />
|
<el-input v-model="backForm.message" type="textarea" resize="none" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
@ -242,7 +242,7 @@ const submitFlow = async () => {
|
|||||||
dialogVisible.visible = false;
|
dialogVisible.visible = false;
|
||||||
};
|
};
|
||||||
//提交申请
|
//提交申请
|
||||||
const handleStartWorkFlow = async (data: LeaveVO) => {
|
const handleStartWorkFlow = async (data: LeaveForm) => {
|
||||||
try {
|
try {
|
||||||
submitFormData.value.flowCode = flowCode.value;
|
submitFormData.value.flowCode = flowCode.value;
|
||||||
submitFormData.value.businessId = data.id;
|
submitFormData.value.businessId = data.id;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user