Commit ed174b8c authored by jingnan's avatar jingnan 👀

Merge branch 'develop' of http://94.191.100.41/inet-two/web into develop

parents f5df0b11 2a174af4
...@@ -75,6 +75,7 @@ ...@@ -75,6 +75,7 @@
layKey: 'task-ExtPlanReply' layKey: 'task-ExtPlanReply'
}" }"
:form="ExtPlanReplyLinkform" :form="ExtPlanReplyLinkform"
@on-submit="toSubmitExtPlanReply"
/> />
</div> </div>
<div v-if="basicData && basicData.basicInfo && !basicData.basicInfo.forwardFlag && (!isCheckTaskState || (isCheckTaskState && basicData.basicInfo.state==='BE_RESOLVED' && !basicData.basicInfo.parentTaskId))"> <div v-if="basicData && basicData.basicInfo && !basicData.basicInfo.forwardFlag && (!isCheckTaskState || (isCheckTaskState && basicData.basicInfo.state==='BE_RESOLVED' && !basicData.basicInfo.parentTaskId))">
...@@ -685,7 +686,6 @@ export default { ...@@ -685,7 +686,6 @@ export default {
// 任务详情插入流程信息变量 // 任务详情插入流程信息变量
basicInfo.processInstVO = this.processInstVO basicInfo.processInstVO = this.processInstVO
this.$set(this.basicData, 'basicInfo', basicInfo) this.$set(this.basicData, 'basicInfo', basicInfo)
console.log('this.basicData', this.basicData.basicInfo)
this.$set(this.basicData, 'businessObject', businessObject) this.$set(this.basicData, 'businessObject', businessObject)
if (businessObject) { if (businessObject) {
this.$set(this.basicData, 'dxClassname', businessObject.dxClassname) this.$set(this.basicData, 'dxClassname', businessObject.dxClassname)
...@@ -806,8 +806,8 @@ export default { ...@@ -806,8 +806,8 @@ export default {
}, },
// 完成任务 // 完成任务
// 反馈计划完成任务之前要先判断是否绑定反馈信息 // 反馈计划完成任务之前要先判断是否绑定反馈信息
finishPlanReplyTask(flag, params, callback, errCallBack) { async finishPlanReplyTask(flag, params, callback, errCallBack) {
this.initExtPlanReplyForm() await this.initExtPlanReplyForm()
if (this.isExtPlanReplyLinkBindSuccess) { if (this.isExtPlanReplyLinkBindSuccess) {
this.finishTaskhandle(flag, params, callback, errCallBack) this.finishTaskhandle(flag, params, callback, errCallBack)
} else { } else {
...@@ -894,7 +894,7 @@ export default { ...@@ -894,7 +894,7 @@ export default {
}) })
}, },
// 初始化进度计划反馈信息表格 判断是否绑定了反馈信息 // 初始化进度计划反馈信息表格 判断是否绑定了反馈信息
initExtPlanReplyForm() { async initExtPlanReplyForm() {
const params = { const params = {
'pageFrom': 1, 'pageFrom': 1,
'pageSize': 10, 'pageSize': 10,
...@@ -922,7 +922,7 @@ export default { ...@@ -922,7 +922,7 @@ export default {
'sortOrder': 'desc' 'sortOrder': 'desc'
}] }]
} }
post('/ExtPlanReplyLink/search', params).then(res => { await post('/ExtPlanReplyLink/search', params).then(res => {
if (res.items.content.length > 0 && res.items.content[0].target) { if (res.items.content.length > 0 && res.items.content[0].target) {
this.isExtPlanReplyLinkBindSuccess = true this.isExtPlanReplyLinkBindSuccess = true
this.ExtPlanReplyLinkform = res.items.content[0].target || {} this.ExtPlanReplyLinkform = res.items.content[0].target || {}
...@@ -934,7 +934,7 @@ export default { ...@@ -934,7 +934,7 @@ export default {
const params = { const params = {
target: this.ExtPlanReplyLinkform, target: this.ExtPlanReplyLinkform,
sourceId: this.basicData.businessObject.id, sourceId: this.basicData.businessObject.id,
opertar: 'AND' opertar: 'ADD'
} }
post('/ExtPlanReplyLink/recursion', params).then(res => { post('/ExtPlanReplyLink/recursion', params).then(res => {
this.$utils.showMessageSuccess('保存成功') this.$utils.showMessageSuccess('保存成功')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment