【修改】字数在1000 删除草稿增加参数

This commit is contained in:
zhoulingpo
2023-05-16 14:35:20 +08:00
parent f69ea4a22a
commit aeaad5b86d
4 changed files with 9 additions and 4 deletions
@@ -266,6 +266,11 @@ export default {
return JSON.parse(item)
})
}
if (this.$route.query.isDraft) {
this.$nextTick(()=>{
this.$refs.processFormRef.clearValidate()
})
}
},
immediate: true
}
+1 -1
View File
@@ -48,7 +48,7 @@
<el-form-item label-width="132px" class="add-form-item limit" prop="approvalOpinion"
:rules="[{required:flag==1?false:true,message:'请输入审核意见',trigger:'change'}]">
<template slot="label">审核意见:</template>
<el-input :maxlength='500'
<el-input :maxlength='1000'
v-model="approveForm.approvalOpinion"
placeholder="请输入审核意见"
:autosize="{ minRows: 2, maxRows: 4}"
@@ -62,7 +62,7 @@
<el-form-item label-width="132px" class="add-form-item limit" prop="approvalOpinion"
:rules="[{required:flag==1?false:true,message:'请输入审核意见',trigger:'change'}]">
<template slot="label">审核意见:</template>
<el-input :maxlength='500'
<el-input :maxlength='1000'
v-model="approveForm.approvalOpinion"
placeholder="请输入审核意见"
:autosize="{ minRows: 2, maxRows: 4}"
@@ -32,7 +32,7 @@
<el-button @click.native.prevent="handle(row)" type="text" size="small">
办理
</el-button>
<el-button @click.native.prevent="classDel(row.id)" type="text" size="small" class="deleRed">
<el-button @click.native.prevent="classDel(row)" type="text" size="small" class="deleRed">
删除
</el-button>
</template>
@@ -88,7 +88,7 @@ export default {
confirmButtonClass: 'common-button-primary',
}).then(() => {
this.$api.processCenter.delDraf({id:row}).then(()=>{
this.$api.processCenter.delDraf({id:row.id,prcType:row.prcType,dataId:row.dataId}).then(()=>{
this.$message.success('删除成功')
this.q.current = 1
this.loadData()