52547 【手机端】标准征求意见流程 前面点同意之后,pc端到意见处理节点 内容没回显
This commit is contained in:
@@ -253,51 +253,59 @@
|
||||
this.saveLoading = false;
|
||||
});
|
||||
},
|
||||
handleSubmit() {
|
||||
this.$refs["bzzqyjForm"].validate((valid) => {
|
||||
if (valid) {
|
||||
this.isSubmit = true;
|
||||
var json = this.json;
|
||||
json.commentText = this.commentText2;
|
||||
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,
|
||||
userId: this.$store.getters.userInfo.account
|
||||
}, {}, res => {
|
||||
if (res.success) {
|
||||
this.$message.success("提交成功");
|
||||
this.$router.push("/processCenter");
|
||||
}
|
||||
this.isSubmit = false;
|
||||
});
|
||||
} else {
|
||||
return this.$message.warning("请完善基础信息");
|
||||
}
|
||||
handleSubmit() {
|
||||
this.$refs["bzzqyjForm"].validate((valid) => {
|
||||
if (valid) {
|
||||
this.isSubmit = true;
|
||||
var json = this.json;
|
||||
json.onlyKey = this.onlyKey
|
||||
json.commentText = this.commentText2;
|
||||
json.responUserList = this.form.responUserList;
|
||||
json.responUserListName = this.form.responUserListName;
|
||||
json.presidentUser = this.form.presidentUser
|
||||
json.presidentUserName = this.form.presidentUserName
|
||||
json.introduce = false;
|
||||
this.$http.post("lawss/activiti/completeTask", {
|
||||
json: JSON.stringify(json),
|
||||
taskId: this.taskIds,
|
||||
userId: this.$store.getters.userInfo.account
|
||||
}, {}, res => {
|
||||
if (res.success) {
|
||||
this.$message.success("提交成功");
|
||||
this.$router.push("/processCenter");
|
||||
}
|
||||
this.isSubmit = false;
|
||||
});
|
||||
},
|
||||
getData() {
|
||||
return new Promise((resolve, reject) => {
|
||||
inboundLiaisonDetail({
|
||||
taskIds: this.taskIds,
|
||||
pId: this.pId
|
||||
}).then(res => {
|
||||
let data = JSON.parse(res.mesg)
|
||||
this.commentText2 = data.commentText2 || ''
|
||||
this.form.cid = data.form ? data.form.cid : data.cid
|
||||
this.form.endTime = data.form ? data.form.endTime : data.endTime
|
||||
this.form.fjList = data.form ? data.form.fjList : data.fjList
|
||||
this.form.textType = data.form ? data.form.textType : data.textType
|
||||
this.form.modelList = data.form ? data.form.modelList : data.modelList
|
||||
this.form.responUserListName = data.form ? data.form.responUserListName : (data.responUserListName ? data.responUserListName : '')
|
||||
this.form.responUserList = data.form ? data.form.responUserList : (data.responUserList ? data.responUserList : '')
|
||||
this.json = data
|
||||
}).catch(e => {
|
||||
});
|
||||
});
|
||||
}
|
||||
} else {
|
||||
return this.$message.warning("请完善基础信息");
|
||||
}
|
||||
});
|
||||
},
|
||||
getData() {
|
||||
return new Promise((resolve, reject) => {
|
||||
inboundLiaisonDetail({
|
||||
taskIds: this.taskIds,
|
||||
pId: this.pId
|
||||
}).then(res => {
|
||||
let data = JSON.parse(res.mesg)
|
||||
this.onlyKey = data.form ? data.form.onlyKey : data.onlyKey
|
||||
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.endTime = data.form ? data.form.endTime : data.endTime
|
||||
this.form.fjList = data.form ? data.form.fjList : data.fjList
|
||||
this.form.textType = data.form ? data.form.textType : data.textType
|
||||
this.form.modelList = data.form ? data.form.modelList : data.modelList
|
||||
this.form.responUserListName = data.form ? data.form.responUserListName : (data.responUserListName ? data.responUserListName : '')
|
||||
this.form.responUserList = data.form ? data.form.responUserList : (data.responUserList ? data.responUserList : '')
|
||||
this.json = data
|
||||
}).catch(e => {
|
||||
});
|
||||
});
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
this.getHistoryData();
|
||||
|
||||
@@ -314,34 +314,34 @@
|
||||
handleTabs(name) {
|
||||
this.active = name
|
||||
},
|
||||
handleSubmit() {
|
||||
this.$refs['bzzqyjForm'].validate((valid) => {
|
||||
if (valid) {
|
||||
this.isSubmit = true
|
||||
var json = this.json
|
||||
json.commentText = this.commentText41
|
||||
json.bzfgId = this.form.bzfgId
|
||||
json.bzfgName = this.form.bzfgName
|
||||
json.spFlag = '0'
|
||||
this.$http.post('lawss/activiti/completeTask', {
|
||||
json: JSON.stringify(json),
|
||||
taskId: this.taskIds,
|
||||
userId: this.$store.getters.userInfo.account
|
||||
}, {}, res => {
|
||||
if (res.success) {
|
||||
this.$message.success('提交成功')
|
||||
this.$router.push('/processCenter')
|
||||
}
|
||||
this.isSubmit = false
|
||||
})
|
||||
} else {
|
||||
this.$message.warning('请选择标准法规工程师分线管理员')
|
||||
}
|
||||
handleSubmit() {
|
||||
this.$refs['bzzqyjForm'].validate((valid) => {
|
||||
if (valid) {
|
||||
this.isSubmit = true
|
||||
let json = this.json
|
||||
json.info = this.data
|
||||
json.commentText = this.commentText41
|
||||
json.bzfgId = this.form.bzfgId
|
||||
json.bzfgName = this.form.bzfgName
|
||||
json.spFlag = '0'
|
||||
this.$http.post('lawss/activiti/completeTask', {
|
||||
json: JSON.stringify(json),
|
||||
taskId: this.taskIds,
|
||||
userId: this.$store.getters.userInfo.account
|
||||
}, {}, res => {
|
||||
if (res.success) {
|
||||
this.$message.success('提交成功')
|
||||
this.$router.push('/processCenter')
|
||||
}
|
||||
this.isSubmit = false
|
||||
})
|
||||
},
|
||||
} else {
|
||||
this.$message.warning('请选择标准法规工程师分线管理员')
|
||||
}
|
||||
})
|
||||
},
|
||||
handleSubmitNo() {
|
||||
if (this.commentText41) {
|
||||
this.isSubmit = true
|
||||
var json = this.json
|
||||
json.spFlag = '1'
|
||||
json.commentText = this.commentText41
|
||||
@@ -353,7 +353,6 @@
|
||||
if (res.success) {
|
||||
this.$message.success('提交成功')
|
||||
this.$router.push('/processCenter')
|
||||
this.isSubmit = false
|
||||
}
|
||||
})
|
||||
} else {
|
||||
|
||||
@@ -314,7 +314,7 @@
|
||||
this.$http.post('lawss/activiti/completeTask', {
|
||||
json: JSON.stringify(json),
|
||||
taskId: this.taskIds,
|
||||
userId: this.$store.getters.userInfo.userId
|
||||
userId: this.$store.getters.userInfo.account
|
||||
}, {}, res => {
|
||||
if (res.success) {
|
||||
this.$message.success('提交成功')
|
||||
@@ -331,7 +331,7 @@
|
||||
this.$http.post('lawss/activiti/completeTask', {
|
||||
json: JSON.stringify(json),
|
||||
taskId: this.taskIds,
|
||||
userId: this.$store.getters.userInfo.userId
|
||||
userId: this.$store.getters.userInfo.account
|
||||
}, {}, res => {
|
||||
if (res.success) {
|
||||
this.$message.success('提交成功')
|
||||
|
||||
Reference in New Issue
Block a user