@@ -152,7 +152,7 @@ export default { | |||||
getTransfer(id).then((response) => { | getTransfer(id).then((response) => { | ||||
this.form = response.data; | this.form = response.data; | ||||
this.processList = {} | this.processList = {} | ||||
this.getTransferProcess(this.$route.query.id); | |||||
this.getTransferProcess(id); | |||||
if(this.form.capitalExpenditureType==2){ | if(this.form.capitalExpenditureType==2){ | ||||
this.capitalExpenditureOpen = true | this.capitalExpenditureOpen = true | ||||
let param={ | let param={ | ||||
@@ -109,8 +109,8 @@ export default { | |||||
}, | }, | ||||
methods: { | methods: { | ||||
//查询审批进程 | //查询审批进程 | ||||
getTransferProcess(auditbatchNo){ | |||||
getTransferProcess(auditbatchNo).then(res => { | |||||
getTransferProcess(id){ | |||||
getTransferProcess(id).then(res => { | |||||
this.processList = res.data[auditbatchNo] | this.processList = res.data[auditbatchNo] | ||||
// console.info( this.processList); | // console.info( this.processList); | ||||
// this.processList.乡镇审批时间 = this.processList.乡镇审批时间?this.format(this.processList.乡镇审批时间, "yyyy-MM-dd HH:mm:ss"):"" | // this.processList.乡镇审批时间 = this.processList.乡镇审批时间?this.format(this.processList.乡镇审批时间, "yyyy-MM-dd HH:mm:ss"):"" | ||||
@@ -124,7 +124,7 @@ export default { | |||||
this.form = response.data; | this.form = response.data; | ||||
this.processList = {} | this.processList = {} | ||||
if(this.form.auditStatus != 0){ | if(this.form.auditStatus != 0){ | ||||
this.getTransferProcess(this.$route.query.auditbatchNo); | |||||
this.getTransferProcess(id); | |||||
} | } | ||||
if(this.form.approvalMode == 1){ | if(this.form.approvalMode == 1){ | ||||
selectApprovalByTemplateId(this.form.approvalTemplateId).then(rs => { | selectApprovalByTemplateId(this.form.approvalTemplateId).then(rs => { | ||||
@@ -127,7 +127,7 @@ export default { | |||||
this.form = response.data; | this.form = response.data; | ||||
this.processList = {} | this.processList = {} | ||||
if(this.form.auditStatus != 0){ | if(this.form.auditStatus != 0){ | ||||
this.getTransferProcess1(this.$route.query.id); | |||||
this.getTransferProcess1(id); | |||||
} | } | ||||
if(this.form.approvalMode == 1){ | if(this.form.approvalMode == 1){ | ||||
selectApprovalByTemplateId(this.form.approvalTemplateId).then(rs => { | selectApprovalByTemplateId(this.form.approvalTemplateId).then(rs => { | ||||
@@ -114,9 +114,9 @@ export default { | |||||
}, | }, | ||||
methods: { | methods: { | ||||
//查询审批进程 | //查询审批进程 | ||||
getTransferProcess1(auditbatchNo){ | |||||
getTransferProcess(auditbatchNo).then(res => { | |||||
this.processList = res.data[auditbatchNo] | |||||
getTransferProcess1(id){ | |||||
getTransferProcess(id).then(res => { | |||||
this.processList = res.data[id] | |||||
}) | }) | ||||
}, | }, | ||||
handleUpdate(id) { | handleUpdate(id) { | ||||
@@ -124,7 +124,7 @@ export default { | |||||
this.form = response.data; | this.form = response.data; | ||||
this.processList = {} | this.processList = {} | ||||
if(this.form.auditStatus != 0){ | if(this.form.auditStatus != 0){ | ||||
this.getTransferProcess1(this.$route.query.auditbatchNo); | |||||
this.getTransferProcess1(id); | |||||
} | } | ||||
if(this.form.approvalMode == 1){ | if(this.form.approvalMode == 1){ | ||||
selectApprovalByTemplateId(this.form.approvalTemplateId).then(rs => { | selectApprovalByTemplateId(this.form.approvalTemplateId).then(rs => { | ||||