@@ -374,7 +374,7 @@ export default {
this.refreshList();
return;
}
- this.todo(row);
+ this.todo(row, "4");
});
},
examine(row) {
@@ -384,17 +384,21 @@ export default {
+ this.todo(row, "2");
- todo(row) {
+ todo(row, status) {
+ let formReadOnly = true
+ if (status === "4") {
+ formReadOnly = false
+ }
taskService.getTaskDefInfo({ taskId: row.taskId }).then(data => {
this.$router.push({
path: "/flowable/task/TaskForm",
query: {
...pick(data, "formType", "formUrl", "procDefKey", "taskDefKey", "procInsId", "procDefId", "taskId", "status", "title", "businessId"),
isShow: false,
- formReadOnly: true,
+ formReadOnly: formReadOnly,
formTitle: `${data.taskName}`,
cUser: false,
title: `审批【${data.taskName || ""}】`,
@@ -105,8 +105,10 @@
<!-- <el-input @change="ifSameValue" v-model="scope.row.tradeName"></el-input>-->
<vxe-pulldown ref="xDown1" transfer>
<template #default>
- <vxe-input v-model="scope.row.tradeName" placeholder="请输入商品名称" maxlength="64"
- @focus="focusEvent1(scope.row)" @input="keyupEvent1(scope.row)"></vxe-input>
+ <vxe-input v-model="scope.row.tradeName"
+ :disabled="status === 'audit' || status === 'taskFormDetail'"
+ placeholder="请输入商品名称" maxlength="64" @focus="focusEvent1(scope.row)"
+ @input="keyupEvent1(scope.row)"></vxe-input>
</template>
<template #dropdown>
<div class="my-dropdown1">