Commit f0de7afd by 1377875331@qq.com

成功才执行

parent 625d4c3d
......@@ -193,22 +193,27 @@ export default {
const label = vm.label
if (label === "帐务") {
this.executeRule("setmod.setpan").then(res => {
const data = res.data;
Utils.copyValueFromVO(this.model, data)
if (res.respCode == "AAAAAA"){
const data = res.data;
Utils.copyValueFromVO(this.model, data)
}
})
}
if (label === "面函") {
//didgrp.adv.pts.extkey
this.executeRule("trnmod.trndoc.docpan").then(res => {
const data = res.data;
Utils.copyValueFromVO(this.model, data)
var stm = [];
let k = 0;
for(let i = 0; i < res.data.trnmod_trndoc_doceot.length; i++){
if(res.data.trnmod_trndoc_doceot[i].role != ""){
stm[k++] = res.data.trnmod_trndoc_doceot[i];
if (res.respCode == "AAAAAA"){
const data = res.data;
Utils.copyValueFromVO(this.model, data)
var stm = [];
let k = 0;
for(let i = 0; i < res.data.trnmod_trndoc_doceot.length; i++){
if(res.data.trnmod_trndoc_doceot[i].role != ""){
stm[k++] = res.data.trnmod_trndoc_doceot[i];
}
}
this.$refs.docpan.stmData.data = stm
}
this.$refs.docpan.stmData.data = stm
})
}
}
......
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