征求意见流程保存提交
This commit is contained in:
@@ -814,6 +814,7 @@ export default {
|
|||||||
_formData.append('json', JSON.stringify({
|
_formData.append('json', JSON.stringify({
|
||||||
form: this.form,
|
form: this.form,
|
||||||
roleForm: this.roleForm,
|
roleForm: this.roleForm,
|
||||||
|
filesId: this.addFjList,
|
||||||
commentText1: this.commentText1
|
commentText1: this.commentText1
|
||||||
}))
|
}))
|
||||||
saveTaskFirst(_formData).then(res => {
|
saveTaskFirst(_formData).then(res => {
|
||||||
|
|||||||
@@ -576,7 +576,6 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
if(this.clickFlag){
|
|
||||||
let a = 0
|
let a = 0
|
||||||
for (let b = 0; b < this.data.length;b++) {
|
for (let b = 0; b < this.data.length;b++) {
|
||||||
if (this.data[b].state === '3' && !this.data[b].cause) {
|
if (this.data[b].state === '3' && !this.data[b].cause) {
|
||||||
@@ -606,10 +605,42 @@
|
|||||||
}
|
}
|
||||||
this.isSubmit = false;
|
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() {
|
getData() {
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
inboundLiaisonDetail({
|
inboundLiaisonDetail({
|
||||||
|
|||||||
Reference in New Issue
Block a user