@@ -201,7 +201,7 @@
approval
@back="handleSubmitNo"
:submitLoading="isSubmit"
- :saveLoading="saveLoading"
+ :isSubmitBack="backLoading"
@submit="handleSubmit"
submitBTNText="同意"
>
@@ -357,6 +357,7 @@ export default {
})
},
handleSubmitNo() {
+ this.backLoading = true
if (this.commentText) {
var json = {
responUserInfo: {
@@ -372,12 +373,13 @@ export default {
}, {}, res => {
if (res.success) {
this.$message.success('驳回成功')
- this.fileTextList = []
this.$router.push('/processCenter')
+ this.backLoading = false
}
})
} else {
this.$message.warning('请输入反馈意见')
+ this.backLoading = false
}
},
//未整改项抽屉中的查询按钮
diff --git a/src/pages/processCenter/pages/creatProcess/xmpg/step1-1.vue b/src/pages/processCenter/pages/creatProcess/xmpg/step1-1.vue
index 2e84bd32f..e01298782 100644
--- a/src/pages/processCenter/pages/creatProcess/xmpg/step1-1.vue
+++ b/src/pages/processCenter/pages/creatProcess/xmpg/step1-1.vue
@@ -114,6 +114,21 @@
+
@@ -390,6 +405,7 @@ export default {
drawerTitle: "", //drawer标题
// 查询相关参数
searching: false,
+ commentText:'',
standardSearch: {
standType: "",
standName: ""
diff --git a/src/pages/processCenter/pages/creatProcess/xmpg/step1.vue b/src/pages/processCenter/pages/creatProcess/xmpg/step1.vue
index 58f52cd16..93b96686c 100644
--- a/src/pages/processCenter/pages/creatProcess/xmpg/step1.vue
+++ b/src/pages/processCenter/pages/creatProcess/xmpg/step1.vue
@@ -101,6 +101,21 @@
+
@@ -374,6 +389,7 @@ export default {
productData: [], //添加抽屉的数据
standList: [], //新添加的标准
modalshowflag: false, // drawer开关
+ commentText: '',
drawerTitle: "", //drawer标题
// 查询相关参数
searching: false,
@@ -658,6 +674,7 @@ export default {
this.$message.warning("请选择分发责任人");
} else {
this.isSubmit = true
+ this.listForm.commentText = this.commentText;
var json = Object.assign(this.listForm, this.roleForm);
this.$refs["listForm"].validate((valid) => {
if (valid) {
diff --git a/src/pages/processCenter/pages/creatProcess/xmpg/step2.vue b/src/pages/processCenter/pages/creatProcess/xmpg/step2.vue
index 696a2f8e8..91cc0a018 100644
--- a/src/pages/processCenter/pages/creatProcess/xmpg/step2.vue
+++ b/src/pages/processCenter/pages/creatProcess/xmpg/step2.vue
@@ -336,9 +336,6 @@ export default {
},
//提交事件
handleSubmit() {
- if(this.commentText === null || this.commentText === undefined || this.commentText === ''){
- this.$message.warning('请填写审批意见')
- }else{
this.listForm.commentText = this.commentText
const json = JSON.stringify(this.listForm);
this.isSubmit = true
@@ -356,7 +353,7 @@ export default {
this.isSubmit = false
}, e => {
});
- }
+
},
//标准表格选择框改变
selectStandChange(data) {
@@ -464,4 +461,3 @@ export default {
}
}
-
diff --git a/src/pages/processCenter/pages/creatProcess/xmpg/step3.vue b/src/pages/processCenter/pages/creatProcess/xmpg/step3.vue
index 29c37d98e..aafe0469e 100644
--- a/src/pages/processCenter/pages/creatProcess/xmpg/step3.vue
+++ b/src/pages/processCenter/pages/creatProcess/xmpg/step3.vue
@@ -126,6 +126,7 @@
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
@@ -616,5 +616,3 @@ export default {
}
}
-
-
diff --git a/src/pages/processCenter/pages/creatProcess/xmpg/step5.vue b/src/pages/processCenter/pages/creatProcess/xmpg/step5.vue
index b350287cb..9bf3d7814 100644
--- a/src/pages/processCenter/pages/creatProcess/xmpg/step5.vue
+++ b/src/pages/processCenter/pages/creatProcess/xmpg/step5.vue
@@ -447,9 +447,6 @@ export default {
},
//驳回事件
beforeBack () {
- if(this.commentText === null || this.commentText === undefined || this.commentText === ''){
- this.$message.warning('请填写审批意见')
- } else {
this.listForm.applyUpdUserId = this.dataList[0].distributePersonId
this.listForm.commentText = this.commentText;
this.listForm.dataList = this.dataList
@@ -468,17 +465,13 @@ export default {
}
}, e => {
});
- }
},
//提交事件
handleSubmit() {
- if(this.commentText === null || this.commentText === undefined || this.commentText === ''){
- this.$message.warning('请填写审批意见')
- }else {
this.listForm.applyUpdUserId = this.dataList[0].distributePersonId
- this.listForm.commentText = this.commentText;
this.listForm.dataList = this.dataList
this.listForm.fenFlag = '2'
+ this.listForm.commentText = this.commentText;
const json = JSON.stringify(this.listForm);
this.isSubmit = true
this.$http.post('lawss/activiti/completeTask', {
@@ -495,7 +488,7 @@ export default {
this.isSubmit = false
}, e => {
});
- }
+
},
//标准表格选择框改变
selectStandChange(data) {
@@ -602,6 +595,4 @@ export default {
margin-top: 10px;
}
}
-
-
-
+>
diff --git a/src/pages/processCenter/pages/creatProcess/xmpg/step6.vue b/src/pages/processCenter/pages/creatProcess/xmpg/step6.vue
index e74199aa4..da7a853ea 100644
--- a/src/pages/processCenter/pages/creatProcess/xmpg/step6.vue
+++ b/src/pages/processCenter/pages/creatProcess/xmpg/step6.vue
@@ -452,9 +452,6 @@ export default {
},
//提交事件
handleSubmit() {
- if(this.commentText === null || this.commentText === undefined || this.commentText === ''){
- this.$message.warning('请填写审批意见')
- } else {
this.isSubmit = true
this.listForm.prcCreateUser = this.$store.getters.userInfo.userId;
this.listForm.applyUpdUserId = this.$store.getters.userInfo.userId;
@@ -480,7 +477,7 @@ export default {
}, e => {
});
- }
+
},
//标准表格选择框改变
selectStandChange(data) {
@@ -588,5 +585,3 @@ export default {
}
}
-
-
diff --git a/src/pages/processCenter/pages/creatProcess/xmpg/step7.vue b/src/pages/processCenter/pages/creatProcess/xmpg/step7.vue
index 40b79891e..d12fc2bc4 100644
--- a/src/pages/processCenter/pages/creatProcess/xmpg/step7.vue
+++ b/src/pages/processCenter/pages/creatProcess/xmpg/step7.vue
@@ -451,9 +451,6 @@ export default {
},
//提交事件
handleSubmit() {
- if(this.commentText === null || this.commentText === undefined || this.commentText === ''){
- this.$message.warning('请填写审批意见')
- } else {
this.listForm.prcCreateUser = this.$store.getters.userInfo.userId;
this.listForm.applyUpdUserId = this.$store.getters.userInfo.userId;
this.listForm.prcCreateUserName = this.$store.getters.userInfo.account;
@@ -479,7 +476,6 @@ export default {
}, e => {
});
- }
},
//标准表格选择框改变
selectStandChange(data) {
@@ -514,7 +510,6 @@ export default {