This commit is contained in:
zhutianqi
2021-08-24 14:11:05 +08:00
parent 0fff28c672
commit f56839b8b1
2 changed files with 14 additions and 12 deletions
@@ -357,7 +357,6 @@
json.commentText = this.commentText
json.info = this.data
json.department = this.$store.getters.userInfo.orgName
json.introduce = true
this.$http.post('lawss/activiti/completeTask', {
json: JSON.stringify(json),
taskId: this.taskIds,
@@ -383,17 +382,7 @@
this.form.endTime = data.endTime
this.form.cname = data.cname
this.json = data
if (data.introduce) {
this.data = data.info || []
} else {
this.$http.get('slrs/sar-public-idea-all/getPublicIdea', {
unique: data.uniques
}, {}, res => {
res.data.forEach(item => {
this.data.push(item)
})
})
}
this.data = data.info || []
}).catch(e => {
})
})
@@ -330,6 +330,7 @@
var json = this.json
json.oldinfo = this.oldData
json.commentText = this.commentText
json.introduce = true
this.$http.post('lawss/activiti/completeTask', {
json: JSON.stringify(json),
taskId: this.taskIds,
@@ -364,6 +365,18 @@
})
this.json = data
this.data = data.summaryList
if (data.introduce) {
} else {
this.$http.get('slrs/sar-public-idea-all/getPublicIdea', {
unique: data.uniques
}, {}, res => {
res.data.forEach(item => {
item.chapterNumber = item.partCode
item.responUserName= item.userName
this.data.push(item)
})
})
}
}).catch(e => {
})
})