This commit is contained in:
zhutianqi
2021-12-14 15:19:57 +08:00
parent 61840bcb42
commit 25b42d796a
3 changed files with 22 additions and 18 deletions
@@ -573,6 +573,8 @@ export default {
handleSave() { handleSave() {
}, },
handleSubmit() { handleSubmit() {
this.$refs['bzzqyjForm'].validate((valid) => {
if (valid) {
this.isSubmit = true this.isSubmit = true
var json = this.json var json = this.json
json.actionFlag = 0 json.actionFlag = 0
@@ -590,6 +592,8 @@ export default {
} }
this.isSubmit = false this.isSubmit = false
}) })
}
})
}, },
// handleSubmitNo() { // handleSubmitNo() {
// if (this.commentText) { // if (this.commentText) {
@@ -427,7 +427,7 @@ export default {
} else { } else {
this.isSubmit = true; this.isSubmit = true;
var json = this.json; var json = this.json;
json.actionFlag = 0; json.hqFlag = '0';
json.commentText = this.commentText; json.commentText = this.commentText;
this.$http.post("lawss/activiti/completeTask", { this.$http.post("lawss/activiti/completeTask", {
json: JSON.stringify(json), json: JSON.stringify(json),
@@ -446,7 +446,7 @@ export default {
if (this.commentText) { if (this.commentText) {
this.isSubmit = true; this.isSubmit = true;
var json = this.json; var json = this.json;
json.actionFlag = 1; json.hqFlag = '1';
json.commentText = this.commentText; json.commentText = this.commentText;
this.$http.post("lawss/activiti/completeTask", { this.$http.post("lawss/activiti/completeTask", {
json: JSON.stringify(json), json: JSON.stringify(json),
@@ -658,7 +658,7 @@ export default {
prcType: row.prcType prcType: row.prcType
} }
}) })
} else if (row.taskInfo === '部长+对接人审核') { } else if (row.taskInfo === '标准法规工程师汇总') {
this.$router.push({ this.$router.push({
name: 'bzzqyjStep7', name: 'bzzqyjStep7',
query: { query: {