Commit 783d65dd by 1377875331@qq.com

Post成功后copyValueFromVO

parent fdd4c1b5
......@@ -152,8 +152,7 @@ export default {
Api.post("ditopn/default/didgrp.rec.avbby", arg).then(
(res) => {
if (res.respCode = "AAAAAA"){
const data = res.data;
this.model.didgrp.blk.defdet = data.didgrp_blk_defdet;
Utils.copyValueFromVO(this.model, res.data);
}
}
);
......@@ -163,8 +162,7 @@ export default {
Api.post("ditopn/default/didgrp.rec.tenmaxday", arg).then(
(res) => {
if (res.respCode = "AAAAAA"){
const data = res.data;
this.model.didgrp.blk.defdet = data.didgrp_blk_defdet;
Utils.copyValueFromVO(this.model, res.data);
}
}
);
......
......@@ -715,14 +715,7 @@ export default {
if (res.respCode = "AAAAAA"){
//失去焦点,避免多次触发
document.getElementById('extkey').blur();
const data = res.data;
this.model.didgrp.apl.namelc = data.didgrp_apl_namelc;
this.model.didgrp.apl.adrelc = data.didgrp_apl_adrelc;
this.model.didgrp.apl.pts.extkey = data.didgrp_apl_pts_extkey;
this.model.didgrp.apl.rolsetflg = data.didgrp_apl_rolsetflg;
this.model.didgrp.rec.nam = data.didgrp_rec_nam; //摘要
this.model.didgrp.apl.pts.extact = data.didgrp_apl_pts_extact; //申请人账号
this.model.ditp.aplname = data.ditp_aplname;
Utils.copyValueFromVO(this.model, res.data);
this.flag = false;
}
}
......@@ -732,13 +725,9 @@ export default {
const data = Utils.flatObject(this.model);
Api.post("ditopn/executeRule/didgrp.ben.pts.extkey", data).then(
(res) => {
if (res.respCode = "AAAAAA"){
const data = res.data;
this.model.didgrp.ben.namelc = data.didgrp_ben_namelc;
this.model.didgrp.ben.adrelc = data.didgrp_ben_adrelc;
this.model.didgrp.ben.pts.extkey = data.didgrp_ben_pts_extkey;
}
if (res.respCode = "AAAAAA"){
Utils.copyValueFromVO(this.model, res.data);
}
}
);
},
......@@ -759,10 +748,7 @@ export default {
});
}else{
this.jigomcFlag = true;
const data = res.data;
this.model.didgrp.beb.pts.bankno = data.didgrp_beb_pts_bankno;
this.model.didgrp.beb.pts.jigomc = data.didgrp_beb_pts_jigomc;
Utils.copyValueFromVO(this.model, res.data);
}
}
}
......
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