diff --git a/src/views/basicData/ruleMaintenance.vue b/src/views/basicData/ruleMaintenance.vue
index ddd094bc..2590ffe5 100644
--- a/src/views/basicData/ruleMaintenance.vue
+++ b/src/views/basicData/ruleMaintenance.vue
@@ -18,10 +18,13 @@
:permission="permissionList"
>
- {{ row.lowArea + '~' + row.upArea }}
+ -
+ {{ row.lowArea + '~' + row.upArea }}
- {{ row.singleDownArea + '~' + row.singleUpArea }}
+ -
+ {{ row.singleDownArea + '~' + row.singleUpArea }}
+
-
@@ -540,7 +527,7 @@ export default {
},
// 判断是否是审批之后和已完成之前的修改
isStatusEdit() {
- return this.rowItem.approvalStatus != 8 && this.approvalStatus != 1 && this.title == '修改';
+ return this.rowItem.approvalStatus != 8 && this.rowItem.approvalStatus != 1 && this.rowItem.approvalStatus != 2 && this.title == '修改';
},
},
mounted() {
@@ -760,21 +747,8 @@ export default {
const submitData = this.formatSubmitData(this.addForm);
submitData.projectStartTime = submitData.projectStartTime + ' 00:00:00';
submitData.projectDesiredEnd = submitData.projectDesiredEnd + ' 00:00:00';
+ console.log(this.title, 'this.title');
if (this.title === '修改') {
- updateProcess({
- ...submitData,
- approvalStatus: this.isStatusEdit ? this.rowItem.approvalStatus : 1,
- })
- .then(res => {
- this.$message.success('修改成功');
- this.handleClose(true);
- this.loadingShow = false;
- })
- .catch(err => {
- this.loadingShow = false;
- });
- return;
- } else {
if (this.isStatusEdit) {
this.$confirm('确定要保存修改过的数据吗?', '提示', {
confirmButtonText: '确定',
@@ -797,12 +771,15 @@ export default {
})
.catch(() => {});
} else {
- addProcess({
+ if (this.rowItem.approvalStatus == 2) {
+ this.rowItem.approvalStatus = 1;
+ }
+ updateProcess({
...submitData,
approvalStatus: this.isStatusEdit ? this.rowItem.approvalStatus : 1,
})
.then(res => {
- this.$message.success('提交成功');
+ this.$message.success('修改成功');
this.handleClose(true);
this.loadingShow = false;
})
@@ -810,6 +787,19 @@ export default {
this.loadingShow = false;
});
}
+ } else {
+ addProcess({
+ ...submitData,
+ approvalStatus: this.isStatusEdit ? this.rowItem.approvalStatus : 1,
+ })
+ .then(res => {
+ this.$message.success('提交成功');
+ this.handleClose(true);
+ this.loadingShow = false;
+ })
+ .catch(err => {
+ this.loadingShow = false;
+ });
}
});
},
diff --git a/src/views/flowManagement/managementOfKeyTasks.vue b/src/views/flowManagement/managementOfKeyTasks.vue
index 249e333a..f068f555 100644
--- a/src/views/flowManagement/managementOfKeyTasks.vue
+++ b/src/views/flowManagement/managementOfKeyTasks.vue
@@ -39,7 +39,7 @@
删除
@@ -52,75 +52,7 @@
{{ scope.row.projectDesiredEnd ? scope.row.projectDesiredEnd.substring(0, 10) : '' }}
-
-
+
-
+
@@ -101,8 +108,9 @@
-
- 点击上传
- 不能上传 exe 附件,且不超过 20M
+ 点击上传
+ 不能上传 exe 附件,且不超过 20M
+ -->
+
+
+
点击上传
+
+ 支持扩展名:.pdf.doc.docx
+
+
+
附件下载
@@ -131,13 +162,6 @@
-
(detailForm.userId = val)"
@@ -183,13 +207,6 @@
search-key="id"
:debounce-time="500"
/>
-
@@ -232,10 +249,14 @@