52547 【手机端】标准征求意见流程 前面点同意之后,pc端到意见处理节点 内容没回显

This commit is contained in:
宋伟佳
2022-04-13 16:58:09 +08:00
parent 223622650c
commit e43d6df1df
3 changed files with 79 additions and 72 deletions
@@ -258,9 +258,12 @@
if (valid) { if (valid) {
this.isSubmit = true; this.isSubmit = true;
var json = this.json; var json = this.json;
json.onlyKey = this.onlyKey
json.commentText = this.commentText2; json.commentText = this.commentText2;
json.responUserList = this.form.responUserList; json.responUserList = this.form.responUserList;
json.responUserListName = this.form.responUserListName; json.responUserListName = this.form.responUserListName;
json.presidentUser = this.form.presidentUser
json.presidentUserName = this.form.presidentUserName
json.introduce = false; json.introduce = false;
this.$http.post("lawss/activiti/completeTask", { this.$http.post("lawss/activiti/completeTask", {
json: JSON.stringify(json), json: JSON.stringify(json),
@@ -285,7 +288,12 @@
pId: this.pId pId: this.pId
}).then(res => { }).then(res => {
let data = JSON.parse(res.mesg) let data = JSON.parse(res.mesg)
this.onlyKey = data.form ? data.form.onlyKey : data.onlyKey
this.commentText2 = data.commentText2 || '' this.commentText2 = data.commentText2 || ''
this.form.presidentUser = data.form ? data.form.presidentUser :data.presidentUser
this.form.presidentUserName = data.form ? data.form.presidentUserName : data.presidentUserName
this.form.startUserName = data.form ? data.form.startUserName : data.startUserName
this.form.startUser = data.form ? data.form.startUser : data.startUser
this.form.cid = data.form ? data.form.cid : data.cid this.form.cid = data.form ? data.form.cid : data.cid
this.form.endTime = data.form ? data.form.endTime : data.endTime this.form.endTime = data.form ? data.form.endTime : data.endTime
this.form.fjList = data.form ? data.form.fjList : data.fjList this.form.fjList = data.form ? data.form.fjList : data.fjList
@@ -318,7 +318,8 @@
this.$refs['bzzqyjForm'].validate((valid) => { this.$refs['bzzqyjForm'].validate((valid) => {
if (valid) { if (valid) {
this.isSubmit = true this.isSubmit = true
var json = this.json let json = this.json
json.info = this.data
json.commentText = this.commentText41 json.commentText = this.commentText41
json.bzfgId = this.form.bzfgId json.bzfgId = this.form.bzfgId
json.bzfgName = this.form.bzfgName json.bzfgName = this.form.bzfgName
@@ -341,7 +342,6 @@
}, },
handleSubmitNo() { handleSubmitNo() {
if (this.commentText41) { if (this.commentText41) {
this.isSubmit = true
var json = this.json var json = this.json
json.spFlag = '1' json.spFlag = '1'
json.commentText = this.commentText41 json.commentText = this.commentText41
@@ -353,7 +353,6 @@
if (res.success) { if (res.success) {
this.$message.success('提交成功') this.$message.success('提交成功')
this.$router.push('/processCenter') this.$router.push('/processCenter')
this.isSubmit = false
} }
}) })
} else { } else {
@@ -314,7 +314,7 @@
this.$http.post('lawss/activiti/completeTask', { this.$http.post('lawss/activiti/completeTask', {
json: JSON.stringify(json), json: JSON.stringify(json),
taskId: this.taskIds, taskId: this.taskIds,
userId: this.$store.getters.userInfo.userId userId: this.$store.getters.userInfo.account
}, {}, res => { }, {}, res => {
if (res.success) { if (res.success) {
this.$message.success('提交成功') this.$message.success('提交成功')
@@ -331,7 +331,7 @@
this.$http.post('lawss/activiti/completeTask', { this.$http.post('lawss/activiti/completeTask', {
json: JSON.stringify(json), json: JSON.stringify(json),
taskId: this.taskIds, taskId: this.taskIds,
userId: this.$store.getters.userInfo.userId userId: this.$store.getters.userInfo.account
}, {}, res => { }, {}, res => {
if (res.success) { if (res.success) {
this.$message.success('提交成功') this.$message.success('提交成功')