征求意见流程保存提交

This commit is contained in:
宋伟佳
2022-03-28 17:16:43 +08:00
parent 29e3248958
commit 168c5b0dd9
2 changed files with 36 additions and 4 deletions
@@ -814,6 +814,7 @@ export default {
_formData.append('json', JSON.stringify({
form: this.form,
roleForm: this.roleForm,
filesId: this.addFjList,
commentText1: this.commentText1
}))
saveTaskFirst(_formData).then(res => {
@@ -576,7 +576,6 @@
}
},
handleSubmit() {
if(this.clickFlag){
let a = 0
for (let b = 0; b < this.data.length;b++) {
if (this.data[b].state === '3' && !this.data[b].cause) {
@@ -606,10 +605,42 @@
}
this.isSubmit = false;
});
}else{
this.$message.warning('公开征求意见未结束,无法操作')
}
},
// handleSubmit() {
// if(this.clickFlag){
// let a = 0
// for (let b = 0; b < this.data.length;b++) {
// if (this.data[b].state === '3' && !this.data[b].cause) {
// a++
// }
// if(!this.data[b].sourceType){
// this.data[b].sourceType = '定向'
// }
// }
// if (a > 0) {
// this.$message.warning('请输入不上报原因')
// return;
// }
// this.isSubmit = true;
// var json = this.json;
// json.oldinfo = this.oldData;
// json.commentText = this.commentText5;
// json.introduce = true;
// this.$http.post("lawss/activiti/completeTask", {
// json: JSON.stringify(json),
// taskId: this.taskIds,
// userId: this.$store.getters.userInfo.userId
// }, {}, res => {
// if (res.success) {
// this.$message.success("提交成功");
// this.$router.push("/processCenter");
// }
// this.isSubmit = false;
// });
// }else{
// this.$message.warning('公开征求意见未结束,无法操作')
// }
// },
getData() {
return new Promise((resolve, reject) => {
inboundLiaisonDetail({