This commit is contained in:
zhutianqi
2021-08-20 17:49:18 +08:00
parent d1fd8405f9
commit acdb91ef02
3 changed files with 15 additions and 1 deletions
@@ -236,6 +236,7 @@
json.commentText = this.commentText
json.responUserList = this.form.responUserList
json.responUserListName = this.form.responUserListName
json.introduce = false
this.$http.post('lawss/activiti/completeTask', {
json: JSON.stringify(json),
taskId: this.taskIds,
@@ -357,6 +357,7 @@
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,
@@ -382,7 +383,17 @@
this.form.endTime = data.endTime
this.form.cname = data.cname
this.json = data
this.data = data.info || []
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)
})
})
}
}).catch(e => {
})
})
@@ -183,6 +183,7 @@
},
standinfoList: [], // 详情列表
form: {
ideaId: this.$route.query.item.id,
cid: this.$route.query.item.cid,
page: 1,
size: this.$store.getters.userInfo.configContent,
@@ -309,6 +310,7 @@
if (valid) {
var url = ''
var form = {
ideaId: this.$route.query.item.id,
cid: this.$route.query.item.cid,
content: this.opinionContent.content,
oldText: this.opinionContent.oldText,