[update] 修改bug80693
This commit is contained in:
@@ -240,7 +240,21 @@ export default {
|
||||
enStandardAnnulGetDataById(this.$route.query.taskId).then(res => {
|
||||
if (res.success) {
|
||||
const result = res.result
|
||||
this.processInfoForm = result.common
|
||||
// 有草稿json按草稿进来的回显
|
||||
if (result.infoJsonStr) {
|
||||
// 初始化流程信息
|
||||
const prcObj = Object.assign({}, result)
|
||||
prcObj.dueTime = result.processDueDate
|
||||
prcObj.prcMes = result.processDescription
|
||||
// 初始化流程审批信息
|
||||
prcObj.commitText = result.handleText
|
||||
prcObj.commitFile = result.handleFile
|
||||
this.processInfoForm = Object.assign({}, prcObj)
|
||||
result.data = JSON.parse(result.infoJsonStr)
|
||||
console.log(result.data)
|
||||
} else {
|
||||
this.processInfoForm = result.common
|
||||
}
|
||||
this.baseInfoForm = result.data
|
||||
} else {
|
||||
this.$message(res.message)
|
||||
|
||||
@@ -281,7 +281,21 @@ export default {
|
||||
enStandardRecheckGetDataById(this.$route.query.taskId).then(res => {
|
||||
if (res.success) {
|
||||
const result = res.result
|
||||
this.processInfoForm = result.common
|
||||
// 有草稿json按草稿进来的回显
|
||||
if (result.infoJsonStr) {
|
||||
// 初始化流程信息
|
||||
const prcObj = Object.assign({}, result)
|
||||
prcObj.dueTime = result.processDueDate
|
||||
prcObj.prcMes = result.processDescription
|
||||
// 初始化流程审批信息
|
||||
prcObj.commitText = result.handleText
|
||||
prcObj.commitFile = result.handleFile
|
||||
this.processInfoForm = Object.assign({}, prcObj)
|
||||
result.data = JSON.parse(result.infoJsonStr).baseInfo
|
||||
console.log(result.data)
|
||||
} else {
|
||||
this.processInfoForm = result.common
|
||||
}
|
||||
this.baseInfoForm = result.data
|
||||
if (this.$route.query.processInstanceId && !Number(this.baseInfoForm.showFirstNode)) {
|
||||
// 不显示第一个节点人员信息
|
||||
|
||||
@@ -240,7 +240,21 @@ export default {
|
||||
enStandardSealSaveGetDataById(this.$route.query.taskId).then(res => {
|
||||
if (res.success) {
|
||||
const result = res.result
|
||||
this.processInfoForm = result.common
|
||||
// 有草稿json按草稿进来的回显
|
||||
if (result.infoJsonStr) {
|
||||
// 初始化流程信息
|
||||
const prcObj = Object.assign({}, result)
|
||||
prcObj.dueTime = result.processDueDate
|
||||
prcObj.prcMes = result.processDescription
|
||||
// 初始化流程审批信息
|
||||
prcObj.commitText = result.handleText
|
||||
prcObj.commitFile = result.handleFile
|
||||
this.processInfoForm = Object.assign({}, prcObj)
|
||||
result.data = JSON.parse(result.infoJsonStr)
|
||||
console.log(result.data)
|
||||
} else {
|
||||
this.processInfoForm = result.common
|
||||
}
|
||||
this.baseInfoForm = result.data
|
||||
} else {
|
||||
this.$message(res.message)
|
||||
|
||||
@@ -240,7 +240,21 @@ export default {
|
||||
enStandardStartUseGetDataById(this.$route.query.taskId).then(res => {
|
||||
if (res.success) {
|
||||
const result = res.result
|
||||
this.processInfoForm = result.common
|
||||
// 有草稿json按草稿进来的回显
|
||||
if (result.infoJsonStr) {
|
||||
// 初始化流程信息
|
||||
const prcObj = Object.assign({}, result)
|
||||
prcObj.dueTime = result.processDueDate
|
||||
prcObj.prcMes = result.processDescription
|
||||
// 初始化流程审批信息
|
||||
prcObj.commitText = result.handleText
|
||||
prcObj.commitFile = result.handleFile
|
||||
this.processInfoForm = Object.assign({}, prcObj)
|
||||
result.data = JSON.parse(result.infoJsonStr)
|
||||
console.log(result.data)
|
||||
} else {
|
||||
this.processInfoForm = result.common
|
||||
}
|
||||
this.baseInfoForm = result.data
|
||||
} else {
|
||||
this.$message(res.message)
|
||||
|
||||
Reference in New Issue
Block a user