Commit b48061c3 by 潘际乾

去掉check

parent af947ea2
...@@ -45,7 +45,8 @@ export default { ...@@ -45,7 +45,8 @@ export default {
ruleCheck() { ruleCheck() {
if(!this.pattern) if(!this.pattern)
return return
const keySet = new Set(Object.keys(this.pattern).concat(Object.keys(this.checkRules).concat(Object.keys(this.defaultRules)))) // const keySet = new Set(Object.keys(this.pattern).concat(Object.keys(this.checkRules).concat(Object.keys(this.defaultRules))))
const keySet = new Set(Object.keys(this.pattern).concat(Object.keys(this.defaultRules)))
const res = {}; const res = {};
const that = this; const that = this;
for (let key of keySet.keys()) { for (let key of keySet.keys()) {
...@@ -54,22 +55,22 @@ export default { ...@@ -54,22 +55,22 @@ export default {
rule.push(...that.pattern[key]) rule.push(...that.pattern[key])
} }
const triggerType = that.getTriggerType(key) const triggerType = that.getTriggerType(key)
if(that.checkRules[key]){ // if(that.checkRules[key]){
if (Array.isArray(that.checkRules[key])) { // if (Array.isArray(that.checkRules[key])) {
for (let j = 0; j < that.checkRules[key].length; j++) { // for (let j = 0; j < that.checkRules[key].length; j++) {
const check = that.checkRules[key][j]; // const check = that.checkRules[key][j];
rule.push({ // rule.push({
validator: check.bind(that), // validator: check.bind(that),
trigger: triggerType // trigger: triggerType
}) // })
} // }
} else { // } else {
rule.push({ // rule.push({
validator: that.checkRules[key].bind(that), // validator: that.checkRules[key].bind(that),
trigger: triggerType // trigger: triggerType
}) // })
} // }
} // }
if (that.defaultRules[key]) { if (that.defaultRules[key]) {
rule.push({ rule.push({
validator: that.defaultRules[key].bind(that), validator: that.defaultRules[key].bind(that),
......
import Api from "~/service/Api" import Api from "~/service/Api"
export default { export default {
onCptpGetref() { async onCptpGetref() {
let rtnmsg = await this.executeRule("cptp_getref") let rtnmsg = await this.executeRule("cptp_getref")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.retcod == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -10,7 +10,7 @@ export default { ...@@ -10,7 +10,7 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
onCptpGetinf() { async onCptpGetinf() {
let rtnmsg = await this.executeRule("cptp_getinf") let rtnmsg = await this.executeRule("cptp_getinf")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.retcod == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -20,7 +20,7 @@ export default { ...@@ -20,7 +20,7 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
onCptpGetuetr() { async onCptpGetuetr() {
let rtnmsg = await this.executeRule("cptp_getuetr") let rtnmsg = await this.executeRule("cptp_getuetr")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.retcod == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -30,7 +30,7 @@ export default { ...@@ -30,7 +30,7 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
onCptpSelbut() { async onCptpSelbut() {
let rtnmsg = await this.executeRule("cptp_selbut") let rtnmsg = await this.executeRule("cptp_selbut")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.retcod == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -40,7 +40,7 @@ export default { ...@@ -40,7 +40,7 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
onCptpSelbut1() { async onCptpSelbut1() {
let rtnmsg = await this.executeRule("cptp_selbut1") let rtnmsg = await this.executeRule("cptp_selbut1")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.retcod == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -50,7 +50,7 @@ export default { ...@@ -50,7 +50,7 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
onSndpDet() { async onSndpDet() {
let rtnmsg = await this.executeRule("sndp_det") let rtnmsg = await this.executeRule("sndp_det")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.retcod == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -60,7 +60,7 @@ export default { ...@@ -60,7 +60,7 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
onOripDet() { async onOripDet() {
let rtnmsg = await this.executeRule("orip_det") let rtnmsg = await this.executeRule("orip_det")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.retcod == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -70,7 +70,7 @@ export default { ...@@ -70,7 +70,7 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
onCptpGetmod() { async onCptpGetmod() {
let rtnmsg = await this.executeRule("cptp_getmod") let rtnmsg = await this.executeRule("cptp_getmod")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.retcod == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -80,7 +80,7 @@ export default { ...@@ -80,7 +80,7 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
onOrcpDet() { async onOrcpDet() {
let rtnmsg = await this.executeRule("orcp_det") let rtnmsg = await this.executeRule("orcp_det")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.retcod == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -90,7 +90,7 @@ export default { ...@@ -90,7 +90,7 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
onPyepDet() { async onPyepDet() {
let rtnmsg = await this.executeRule("pyep_det") let rtnmsg = await this.executeRule("pyep_det")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.retcod == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -100,7 +100,7 @@ export default { ...@@ -100,7 +100,7 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
onCptpSerpty() { async onCptpSerpty() {
let rtnmsg = await this.executeRule("cptp_serpty") let rtnmsg = await this.executeRule("cptp_serpty")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.retcod == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -110,7 +110,7 @@ export default { ...@@ -110,7 +110,7 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
onSetmodDet() { async onSetmodDet() {
let rtnmsg = await this.executeRule("setmod_det") let rtnmsg = await this.executeRule("setmod_det")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.retcod == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -120,7 +120,7 @@ export default { ...@@ -120,7 +120,7 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
onTrndocButshw() { async onTrndocButshw() {
let rtnmsg = await this.executeRule("trndoc_butshw") let rtnmsg = await this.executeRule("trndoc_butshw")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.retcod == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -130,7 +130,7 @@ export default { ...@@ -130,7 +130,7 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
onTrndocButadd() { async onTrndocButadd() {
let rtnmsg = await this.executeRule("trndoc_butadd") let rtnmsg = await this.executeRule("trndoc_butadd")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.retcod == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -140,7 +140,7 @@ export default { ...@@ -140,7 +140,7 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
onTrndocButnew() { async onTrndocButnew() {
let rtnmsg = await this.executeRule("trndoc_butnew") let rtnmsg = await this.executeRule("trndoc_butnew")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.retcod == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -150,7 +150,7 @@ export default { ...@@ -150,7 +150,7 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
onTrndocButattto() { async onTrndocButattto() {
let rtnmsg = await this.executeRule("trndoc_butattto") let rtnmsg = await this.executeRule("trndoc_butattto")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.retcod == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -160,7 +160,7 @@ export default { ...@@ -160,7 +160,7 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
onTrndocButdel() { async onTrndocButdel() {
let rtnmsg = await this.executeRule("trndoc_butdel") let rtnmsg = await this.executeRule("trndoc_butdel")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.retcod == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -170,7 +170,7 @@ export default { ...@@ -170,7 +170,7 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
onTrndocButatt() { async onTrndocButatt() {
let rtnmsg = await this.executeRule("trndoc_butatt") let rtnmsg = await this.executeRule("trndoc_butatt")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.retcod == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -180,10 +180,10 @@ export default { ...@@ -180,10 +180,10 @@ export default {
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
} }
}, },
onSeainf() { async onSeainf() {
}, },
onFippDet() { async onFippDet() {
let rtnmsg = await this.executeRule("fipp_det") let rtnmsg = await this.executeRule("fipp_det")
if (rtnmsg.retcod == SUCCESS) { if (rtnmsg.retcod == SUCCESS) {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
......
...@@ -771,7 +771,7 @@ function checkDidgrpRecAvbbyN100(rule, value, callback) { ...@@ -771,7 +771,7 @@ function checkDidgrpRecAvbbyN100(rule, value, callback) {
const that = this; const that = this;
that.exeuteCheck("didgrp.rec.avbby").then(res => { that.exeuteCheck("didgrp.rec.avbby").then(res => {
//TODO //TODO
if (res.respCode == "AAAAAA"){ if (res.respCode == "SUCCESS"){
Utils.copyValueFromVO(that.model, res.data); Utils.copyValueFromVO(that.model, res.data);
} }
}) })
......
...@@ -3,7 +3,7 @@ import Utils from "~/utils/index" ...@@ -3,7 +3,7 @@ import Utils from "~/utils/index"
export default { export default {
async onDitpButgetref() { async onDitpButgetref() {
let rtnmsg = await this.executeRule("ditp.butgetref") let rtnmsg = await this.executeRule("ditp.butgetref")
if (rtnmsg.respCode == "AAAAAA") { if (rtnmsg.respCode == "SUCCESS") {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
this.model.didgrp.rec.ownref = rtnmsg.data.didgrp_rec_ownref this.model.didgrp.rec.ownref = rtnmsg.data.didgrp_rec_ownref
this.$message({ this.$message({
...@@ -17,7 +17,7 @@ export default { ...@@ -17,7 +17,7 @@ export default {
}, },
async onAplpDet() { async onAplpDet() {
let rtnmsg = await this.executeRule("ditp.aplp.det") let rtnmsg = await this.executeRule("ditp.aplp.det")
if (rtnmsg.respCode == "AAAAAA") { if (rtnmsg.respCode == "SUCCESS") {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
// console.log(rtnmsg.data); // console.log(rtnmsg.data);
} }
...@@ -27,7 +27,7 @@ export default { ...@@ -27,7 +27,7 @@ export default {
}, },
async onBenpDet() { async onBenpDet() {
let rtnmsg = await this.executeRule("benp_det") let rtnmsg = await this.executeRule("benp_det")
if (rtnmsg.respCode == "AAAAAA") { if (rtnmsg.respCode == "SUCCESS") {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -37,7 +37,7 @@ export default { ...@@ -37,7 +37,7 @@ export default {
}, },
async onRevclauseButtxmsel() { async onRevclauseButtxmsel() {
let rtnmsg = await this.executeRule("revclause_buttxmsel") let rtnmsg = await this.executeRule("revclause_buttxmsel")
if (rtnmsg.respCode == "AAAAAA") { if (rtnmsg.respCode == "SUCCESS") {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -47,7 +47,7 @@ export default { ...@@ -47,7 +47,7 @@ export default {
}, },
async onLcrgodButtxmsel() { async onLcrgodButtxmsel() {
let rtnmsg = await this.executeRule("lcrgod_buttxmsel") let rtnmsg = await this.executeRule("lcrgod_buttxmsel")
if (rtnmsg.respCode == "AAAAAA") { if (rtnmsg.respCode == "SUCCESS") {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -57,7 +57,7 @@ export default { ...@@ -57,7 +57,7 @@ export default {
}, },
async onLcrdocButtxmsel() { async onLcrdocButtxmsel() {
let rtnmsg = await this.executeRule("lcrdoc_buttxmsel") let rtnmsg = await this.executeRule("lcrdoc_buttxmsel")
if (rtnmsg.respCode == "AAAAAA") { if (rtnmsg.respCode == "SUCCESS") {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -67,7 +67,7 @@ export default { ...@@ -67,7 +67,7 @@ export default {
}, },
async onAdlcndButtxmsel() { async onAdlcndButtxmsel() {
let rtnmsg = await this.executeRule("adlcnd_buttxmsel") let rtnmsg = await this.executeRule("adlcnd_buttxmsel")
if (rtnmsg.respCode == "AAAAAA") { if (rtnmsg.respCode == "SUCCESS") {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -77,7 +77,7 @@ export default { ...@@ -77,7 +77,7 @@ export default {
}, },
async onInsbnkButtxmsel() { async onInsbnkButtxmsel() {
let rtnmsg = await this.executeRule("insbnk_buttxmsel") let rtnmsg = await this.executeRule("insbnk_buttxmsel")
if (rtnmsg.respCode == "AAAAAA") { if (rtnmsg.respCode == "SUCCESS") {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -87,7 +87,7 @@ export default { ...@@ -87,7 +87,7 @@ export default {
}, },
async onRmbpDet() { async onRmbpDet() {
let rtnmsg = await this.executeRule("rmbp_det") let rtnmsg = await this.executeRule("rmbp_det")
if (rtnmsg.respCode == "AAAAAA") { if (rtnmsg.respCode == "SUCCESS") {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -97,7 +97,7 @@ export default { ...@@ -97,7 +97,7 @@ export default {
}, },
async onDefdetButtxmsel() { async onDefdetButtxmsel() {
let rtnmsg = await this.executeRule("defdet_buttxmsel") let rtnmsg = await this.executeRule("defdet_buttxmsel")
if (rtnmsg.respCode == "AAAAAA") { if (rtnmsg.respCode == "SUCCESS") {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -107,7 +107,7 @@ export default { ...@@ -107,7 +107,7 @@ export default {
}, },
async onPreperButtxmsel() { async onPreperButtxmsel() {
let rtnmsg = await this.executeRule("preper_buttxmsel") let rtnmsg = await this.executeRule("preper_buttxmsel")
if (rtnmsg.respCode == "AAAAAA") { if (rtnmsg.respCode == "SUCCESS") {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -117,7 +117,7 @@ export default { ...@@ -117,7 +117,7 @@ export default {
}, },
async onSetmodDet() { async onSetmodDet() {
let rtnmsg = await this.executeRule("setmod_det") let rtnmsg = await this.executeRule("setmod_det")
if (rtnmsg.respCode == "AAAAAA") { if (rtnmsg.respCode == "SUCCESS") {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -127,7 +127,7 @@ export default { ...@@ -127,7 +127,7 @@ export default {
}, },
async onLiaallButmisamt() { async onLiaallButmisamt() {
let rtnmsg = await this.executeRule("liaall_butmisamt") let rtnmsg = await this.executeRule("liaall_butmisamt")
if (rtnmsg.respCode == "AAAAAA") { if (rtnmsg.respCode == "SUCCESS") {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -137,7 +137,7 @@ export default { ...@@ -137,7 +137,7 @@ export default {
}, },
async onLiaallButmissig() { async onLiaallButmissig() {
let rtnmsg = await this.executeRule("liaall_butmissig") let rtnmsg = await this.executeRule("liaall_butmissig")
if (rtnmsg.respCode == "AAAAAA") { if (rtnmsg.respCode == "SUCCESS") {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -147,7 +147,7 @@ export default { ...@@ -147,7 +147,7 @@ export default {
}, },
async onWrkpDet() { async onWrkpDet() {
let rtnmsg = await this.executeRule("wrkp_det") let rtnmsg = await this.executeRule("wrkp_det")
if (rtnmsg.respCode == "AAAAAA") { if (rtnmsg.respCode == "SUCCESS") {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -157,7 +157,7 @@ export default { ...@@ -157,7 +157,7 @@ export default {
}, },
async onOthpDet() { async onOthpDet() {
let rtnmsg = await this.executeRule("othp_det") let rtnmsg = await this.executeRule("othp_det")
if (rtnmsg.respCode == "AAAAAA") { if (rtnmsg.respCode == "SUCCESS") {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -167,7 +167,7 @@ export default { ...@@ -167,7 +167,7 @@ export default {
}, },
async onLimptsGet1() { async onLimptsGet1() {
let rtnmsg = await this.executeRule("limpts_get1") let rtnmsg = await this.executeRule("limpts_get1")
if (rtnmsg.respCode == "AAAAAA") { if (rtnmsg.respCode == "SUCCESS") {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -177,7 +177,7 @@ export default { ...@@ -177,7 +177,7 @@ export default {
}, },
async onLimptsGet2() { async onLimptsGet2() {
let rtnmsg = await this.executeRule("limpts_get2") let rtnmsg = await this.executeRule("limpts_get2")
if (rtnmsg.respCode == "AAAAAA") { if (rtnmsg.respCode == "SUCCESS") {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -187,7 +187,7 @@ export default { ...@@ -187,7 +187,7 @@ export default {
}, },
async onLimmodTrycal() { async onLimmodTrycal() {
let rtnmsg = await this.executeRule("limmod_trycal") let rtnmsg = await this.executeRule("limmod_trycal")
if (rtnmsg.respCode == "AAAAAA") { if (rtnmsg.respCode == "SUCCESS") {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -198,7 +198,7 @@ export default { ...@@ -198,7 +198,7 @@ export default {
async onLiaccvAdd() { async onLiaccvAdd() {
let rtnmsg = await this.executeRule("liaall.liaccv.add") let rtnmsg = await this.executeRule("liaall.liaccv.add")
//const that = this.root; //const that = this.root;
if (rtnmsg.respCode == "AAAAAA") { if (rtnmsg.respCode == "SUCCESS") {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
debugger; debugger;
this.stmData.data = rtnmsg.data.liaall_liaccv_stgstm.rows; this.stmData.data = rtnmsg.data.liaall_liaccv_stgstm.rows;
...@@ -211,7 +211,7 @@ export default { ...@@ -211,7 +211,7 @@ export default {
async onLiaccvDel() { async onLiaccvDel() {
let rtnmsg = await this.executeRule("liaall.liaccv.del") let rtnmsg = await this.executeRule("liaall.liaccv.del")
//const that = this.root; //const that = this.root;
if (rtnmsg.respCode == "AAAAAA") { if (rtnmsg.respCode == "SUCCESS") {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
debugger; debugger;
this.$message({ this.$message({
...@@ -243,7 +243,7 @@ export default { ...@@ -243,7 +243,7 @@ export default {
} }
rtnmsg = await Api.post("ditopn/executeDocpan", this.wrapper(params)) rtnmsg = await Api.post("ditopn/executeDocpan", this.wrapper(params))
} }
if (rtnmsg.respCode == "AAAAAA") { if (rtnmsg.respCode == "SUCCESS") {
if (cortyp == 'SWT' || cortyp == 'FMT' || cortyp == 'CMT') { if (cortyp == 'SWT' || cortyp == 'FMT' || cortyp == 'CMT') {
let viewurl = rtnmsg.data.setmod_msgmod_docpth; let viewurl = rtnmsg.data.setmod_msgmod_docpth;
this.viewurl = viewurl this.viewurl = viewurl
...@@ -297,7 +297,7 @@ export default { ...@@ -297,7 +297,7 @@ export default {
index: index index: index
} }
let rtnmsg = await Api.post("ditopn/executeDocpanDetail", this.wrapper(params)) let rtnmsg = await Api.post("ditopn/executeDocpanDetail", this.wrapper(params))
if (rtnmsg.respCode == "AAAAAA") { if (rtnmsg.respCode == "SUCCESS") {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
this.title = row.pandsc this.title = row.pandsc
this.centerDialogVisible = true, this.centerDialogVisible = true,
...@@ -307,21 +307,21 @@ export default { ...@@ -307,21 +307,21 @@ export default {
}, },
async BlurBennam(e) { async BlurBennam(e) {
let rtnmsg = await this.executeDefault("ditp.remark") let rtnmsg = await this.executeDefault("ditp.remark")
if (rtnmsg.respCode == "AAAAAA") { if (rtnmsg.respCode == "SUCCESS") {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
this.model.ditp.remark = rtnmsg.data.ditp_remark this.model.ditp.remark = rtnmsg.data.ditp_remark
} }
}, },
async BlurAplname(e) { async BlurAplname(e) {
let rtnmsg = await this.executeDefault("ditp.remark") let rtnmsg = await this.executeDefault("ditp.remark")
if (rtnmsg.respCode == "AAAAAA") { if (rtnmsg.respCode == "SUCCESS") {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
this.model.ditp.remark = rtnmsg.data.ditp_remark this.model.ditp.remark = rtnmsg.data.ditp_remark
} }
}, },
async BlurSignam(e) { async BlurSignam(e) {
let rtnmsg = await this.executeDefault("ditp.remark") let rtnmsg = await this.executeDefault("ditp.remark")
if (rtnmsg.respCode == "AAAAAA") { if (rtnmsg.respCode == "SUCCESS") {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
this.model.ditp.remark = rtnmsg.data.ditp_remark this.model.ditp.remark = rtnmsg.data.ditp_remark
} }
...@@ -334,7 +334,7 @@ export default { ...@@ -334,7 +334,7 @@ export default {
var params = { 'selsptinr': row[0] }; var params = { 'selsptinr': row[0] };
//{params:{'selsptinr':row[0]}} //{params:{'selsptinr':row[0]}}
let rtnmsg = await this.executeRule("liaall.liaccv.add", { params }) let rtnmsg = await this.executeRule("liaall.liaccv.add", { params })
if (rtnmsg.respCode == "AAAAAA") { if (rtnmsg.respCode == "SUCCESS") {
this.dialogTableVisible = false; this.dialogTableVisible = false;
Utils.copyValueFromVO(this.model, rtnmsg.data); Utils.copyValueFromVO(this.model, rtnmsg.data);
} }
...@@ -342,7 +342,7 @@ export default { ...@@ -342,7 +342,7 @@ export default {
// didgrp.iss.pts.extkey // didgrp.iss.pts.extkey
async changeExtkey() { async changeExtkey() {
let rtnmsg = await this.executeRule("didgrp.iss.pts.extkey") let rtnmsg = await this.executeRule("didgrp.iss.pts.extkey")
if (rtnmsg.respCode == "AAAAAA") { if (rtnmsg.respCode == "SUCCESS") {
Utils.copyValueFromVO(this.model, rtnmsg.data); Utils.copyValueFromVO(this.model, rtnmsg.data);
} }
} }
......
...@@ -3,7 +3,7 @@ import Utils from "~/utils/index" ...@@ -3,7 +3,7 @@ import Utils from "~/utils/index"
export default { export default {
async onUsfmodShwflt() { async onUsfmodShwflt() {
let rtnmsg = await this.executeRule("usfmod_shwflt") let rtnmsg = await this.executeRule("usfmod_shwflt")
if (rtnmsg.respCode == "AAAAAA") { if (rtnmsg.respCode == "SUCCESS") {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -13,7 +13,7 @@ export default { ...@@ -13,7 +13,7 @@ export default {
}, },
async onButypt() { async onButypt() {
let rtnmsg = await this.executeRule("butypt") let rtnmsg = await this.executeRule("butypt")
if (rtnmsg.respCode == "AAAAAA") { if (rtnmsg.respCode == "SUCCESS") {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -23,7 +23,7 @@ export default { ...@@ -23,7 +23,7 @@ export default {
}, },
async onDlmft() { async onDlmft() {
let rtnmsg = await this.executeRule("dlmft") let rtnmsg = await this.executeRule("dlmft")
if (rtnmsg.respCode == "AAAAAA") { if (rtnmsg.respCode == "SUCCESS") {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -33,7 +33,7 @@ export default { ...@@ -33,7 +33,7 @@ export default {
}, },
async onDlaxq() { async onDlaxq() {
let rtnmsg = await this.executeRule("dlaxq") let rtnmsg = await this.executeRule("dlaxq")
if (rtnmsg.respCode == "AAAAAA") { if (rtnmsg.respCode == "SUCCESS") {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -43,7 +43,7 @@ export default { ...@@ -43,7 +43,7 @@ export default {
}, },
async onButimg() { async onButimg() {
let rtnmsg = await this.executeRule("butimg") let rtnmsg = await this.executeRule("butimg")
if (rtnmsg.respCode == "AAAAAA") { if (rtnmsg.respCode == "SUCCESS") {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -57,7 +57,7 @@ export default { ...@@ -57,7 +57,7 @@ export default {
async continueEdit(row) { async continueEdit(row) {
//let rtnmsg = await Api.post("getPendingData",{params:{'selsptinr':row[0]}}) //let rtnmsg = await Api.post("getPendingData",{params:{'selsptinr':row[0]}})
//if (rtnmsg.respCode == "AAAAAA") { //if (rtnmsg.respCode == "SUCCESS") {
//var cacheFileName = rtnmsg.data.cacheFileName; //var cacheFileName = rtnmsg.data.cacheFileName;
let viewurl = "/business/ditopn?selsptinr=" + row[0]; let viewurl = "/business/ditopn?selsptinr=" + row[0];
this.$router.push(viewurl); this.$router.push(viewurl);
......
...@@ -18,7 +18,7 @@ export default { ...@@ -18,7 +18,7 @@ export default {
}, },
async onSeactr() { async onSeactr() {
let rtnmsg = await this.executeRule("seactr") let rtnmsg = await this.executeRule("seactr")
if (rtnmsg.respCode == "AAAAAA") { if (rtnmsg.respCode == "SUCCESS") {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -28,7 +28,7 @@ export default { ...@@ -28,7 +28,7 @@ export default {
}, },
async onSearow() { async onSearow() {
let rtnmsg = await this.executeRule("searow") let rtnmsg = await this.executeRule("searow")
if (rtnmsg.respCode == "AAAAAA") { if (rtnmsg.respCode == "SUCCESS") {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -38,7 +38,7 @@ export default { ...@@ -38,7 +38,7 @@ export default {
}, },
async onDsp() { async onDsp() {
let rtnmsg = await this.executeRule("dsp") let rtnmsg = await this.executeRule("dsp")
if (rtnmsg.respCode == "AAAAAA") { if (rtnmsg.respCode == "SUCCESS") {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -48,7 +48,7 @@ export default { ...@@ -48,7 +48,7 @@ export default {
}, },
async onImgmodNewimg() { async onImgmodNewimg() {
let rtnmsg = await this.executeRule("imgmod_newimg") let rtnmsg = await this.executeRule("imgmod_newimg")
if (rtnmsg.respCode == "AAAAAA") { if (rtnmsg.respCode == "SUCCESS") {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -58,7 +58,7 @@ export default { ...@@ -58,7 +58,7 @@ export default {
}, },
async onImgmodNewhisimg() { async onImgmodNewhisimg() {
let rtnmsg = await this.executeRule("imgmod_newhisimg") let rtnmsg = await this.executeRule("imgmod_newhisimg")
if (rtnmsg.respCode == "AAAAAA") { if (rtnmsg.respCode == "SUCCESS") {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -68,7 +68,7 @@ export default { ...@@ -68,7 +68,7 @@ export default {
}, },
async onDiaconButdia() { async onDiaconButdia() {
let rtnmsg = await this.executeRule("diacon_butdia") let rtnmsg = await this.executeRule("diacon_butdia")
if (rtnmsg.respCode == "AAAAAA") { if (rtnmsg.respCode == "SUCCESS") {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -78,7 +78,7 @@ export default { ...@@ -78,7 +78,7 @@ export default {
}, },
async onImgmodHisimg() { async onImgmodHisimg() {
let rtnmsg = await this.executeRule("imgmod_hisimg") let rtnmsg = await this.executeRule("imgmod_hisimg")
if (rtnmsg.respCode == "AAAAAA") { if (rtnmsg.respCode == "SUCCESS") {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -92,7 +92,7 @@ export default { ...@@ -92,7 +92,7 @@ export default {
"rows": that.multipleSelection.map(idx => that.model.trncorco.trnstm.rows[idx]) "rows": that.multipleSelection.map(idx => that.model.trncorco.trnstm.rows[idx])
} }
let rtnmsg = await this.executeRule("relrow") let rtnmsg = await this.executeRule("relrow")
if (rtnmsg.respCode == "AAAAAA") { if (rtnmsg.respCode == "SUCCESS") {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
this.$message({ this.$message({
...@@ -117,7 +117,7 @@ export default { ...@@ -117,7 +117,7 @@ export default {
}, },
async onPrinte() { async onPrinte() {
let rtnmsg = await this.executeRule("printe") let rtnmsg = await this.executeRule("printe")
if (rtnmsg.respCode == "AAAAAA") { if (rtnmsg.respCode == "SUCCESS") {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -127,7 +127,7 @@ export default { ...@@ -127,7 +127,7 @@ export default {
}, },
async onReprow() { async onReprow() {
let rtnmsg = await this.executeRule("reprow") let rtnmsg = await this.executeRule("reprow")
if (rtnmsg.respCode == "AAAAAA") { if (rtnmsg.respCode == "SUCCESS") {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -140,11 +140,11 @@ export default { ...@@ -140,11 +140,11 @@ export default {
this.model.trncorco.selinr['rows'] = this.getSelectedData(); this.model.trncorco.selinr['rows'] = this.getSelectedData();
let rtnmsg = await Api.post("trnrel/rejrow", this.wrapper()) let rtnmsg = await Api.post("trnrel/rejrow", this.wrapper())
if (rtnmsg.respCode == "AAAAAA") { if (rtnmsg.respCode == "SUCCESS") {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
// var cacheFileName = rtnmsg.data.cacheFileName; // var cacheFileName = rtnmsg.data.cacheFileName;
// let rejrowRtnmsg = await Api.post("trncor/init", {params:{"cacheFileName":cacheFileName}}) // let rejrowRtnmsg = await Api.post("trncor/init", {params:{"cacheFileName":cacheFileName}})
// if(rejrowRtnmsg.respCode == "AAAAAA"){ // if(rejrowRtnmsg.respCode == "SUCCESS"){
// this.$message({ // this.$message({
// type: 'success', // type: 'success',
// message: 'Reject成功!' // message: 'Reject成功!'
...@@ -167,7 +167,7 @@ export default { ...@@ -167,7 +167,7 @@ export default {
}, },
async onRelcor() { async onRelcor() {
let rtnmsg = await this.executeRule("relcor") let rtnmsg = await this.executeRule("relcor")
if (rtnmsg.respCode == "AAAAAA") { if (rtnmsg.respCode == "SUCCESS") {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -177,7 +177,7 @@ export default { ...@@ -177,7 +177,7 @@ export default {
}, },
async onExi() { async onExi() {
let rtnmsg = await this.executeRule("exi") let rtnmsg = await this.executeRule("exi")
if (rtnmsg.respCode == "AAAAAA") { if (rtnmsg.respCode == "SUCCESS") {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -188,7 +188,7 @@ export default { ...@@ -188,7 +188,7 @@ export default {
async onRecpanDet() { async onRecpanDet() {
let rtnmsg = await this.executeRule("recpan_det") let rtnmsg = await this.executeRule("recpan_det")
if (rtnmsg.respCode == "AAAAAA") { if (rtnmsg.respCode == "SUCCESS") {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -198,7 +198,7 @@ export default { ...@@ -198,7 +198,7 @@ export default {
}, },
async onSyswrnButshw() { async onSyswrnButshw() {
let rtnmsg = await this.executeRule("syswrn_butshw") let rtnmsg = await this.executeRule("syswrn_butshw")
if (rtnmsg.respCode == "AAAAAA") { if (rtnmsg.respCode == "SUCCESS") {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -208,7 +208,7 @@ export default { ...@@ -208,7 +208,7 @@ export default {
}, },
async onRecpanNotmap() { async onRecpanNotmap() {
let rtnmsg = await this.executeRule("recpan_notmap") let rtnmsg = await this.executeRule("recpan_notmap")
if (rtnmsg.respCode == "AAAAAA") { if (rtnmsg.respCode == "SUCCESS") {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -218,7 +218,7 @@ export default { ...@@ -218,7 +218,7 @@ export default {
}, },
async onRecpanButspt() { async onRecpanButspt() {
let rtnmsg = await this.executeRule("recpan_butspt") let rtnmsg = await this.executeRule("recpan_butspt")
if (rtnmsg.respCode == "AAAAAA") { if (rtnmsg.respCode == "SUCCESS") {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -228,7 +228,7 @@ export default { ...@@ -228,7 +228,7 @@ export default {
}, },
async onRecpanInc() { async onRecpanInc() {
let rtnmsg = await this.executeRule("recpan_inc") let rtnmsg = await this.executeRule("recpan_inc")
if (rtnmsg.respCode == "AAAAAA") { if (rtnmsg.respCode == "SUCCESS") {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -238,7 +238,7 @@ export default { ...@@ -238,7 +238,7 @@ export default {
}, },
async onRecpanButord() { async onRecpanButord() {
let rtnmsg = await this.executeRule("recpan_butord") let rtnmsg = await this.executeRule("recpan_butord")
if (rtnmsg.respCode == "AAAAAA") { if (rtnmsg.respCode == "SUCCESS") {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -248,7 +248,7 @@ export default { ...@@ -248,7 +248,7 @@ export default {
}, },
async onImgmodImage() { async onImgmodImage() {
let rtnmsg = await this.executeRule("imgmod_image") let rtnmsg = await this.executeRule("imgmod_image")
if (rtnmsg.respCode == "AAAAAA") { if (rtnmsg.respCode == "SUCCESS") {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -258,7 +258,7 @@ export default { ...@@ -258,7 +258,7 @@ export default {
}, },
async onRecpanIncben() { async onRecpanIncben() {
let rtnmsg = await this.executeRule("recpan_incben") let rtnmsg = await this.executeRule("recpan_incben")
if (rtnmsg.respCode == "AAAAAA") { if (rtnmsg.respCode == "SUCCESS") {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
...@@ -268,7 +268,7 @@ export default { ...@@ -268,7 +268,7 @@ export default {
}, },
async onInftxtButtxmsel() { async onInftxtButtxmsel() {
let rtnmsg = await this.executeRule("inftxt_buttxmsel") let rtnmsg = await this.executeRule("inftxt_buttxmsel")
if (rtnmsg.respCode == "AAAAAA") { if (rtnmsg.respCode == "SUCCESS") {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} }
......
...@@ -135,7 +135,7 @@ export default { ...@@ -135,7 +135,7 @@ export default {
if (label === "Settlement") { if (label === "Settlement") {
this.executeRule("setmod.setpan").then(res => { this.executeRule("setmod.setpan").then(res => {
if (res.respCode == "AAAAAA"){ if (res.respCode == "SUCCESS"){
const data = res.data; const data = res.data;
Utils.copyValueFromVO(this.model, data) Utils.copyValueFromVO(this.model, data)
} }
...@@ -149,7 +149,7 @@ export default { ...@@ -149,7 +149,7 @@ export default {
} }
if (label === "Messages") { if (label === "Messages") {
this.executeRule("trnmod.trndoc.docpan").then(res => { this.executeRule("trnmod.trndoc.docpan").then(res => {
if (res.respCode == "AAAAAA"){ if (res.respCode == "SUCCESS"){
const data = res.data; const data = res.data;
Utils.copyValueFromVO(this.model, data) Utils.copyValueFromVO(this.model, data)
var stm = []; var stm = [];
...@@ -165,7 +165,7 @@ export default { ...@@ -165,7 +165,7 @@ export default {
} }
if (label === "Attachments") { if (label === "Attachments") {
this.executeRule("trnmod.trndoc.doctre").then(res => { this.executeRule("trnmod.trndoc.doctre").then(res => {
if (res.respCode == "AAAAAA"){ if (res.respCode == "SUCCESS"){
const data = res.data; const data = res.data;
Utils.copyValueFromVO(this.model, data) Utils.copyValueFromVO(this.model, data)
} }
......
...@@ -149,7 +149,7 @@ export default { ...@@ -149,7 +149,7 @@ export default {
} }
this.executeCheck("didgrp.rec.avbby").then( this.executeCheck("didgrp.rec.avbby").then(
(res) => { (res) => {
if (res.respCode == "AAAAAA"){ if (res.respCode == "SUCCESS"){
Utils.copyValueFromVO(this.model, res.data); Utils.copyValueFromVO(this.model, res.data);
} }
} }
...@@ -158,7 +158,7 @@ export default { ...@@ -158,7 +158,7 @@ export default {
recTenmaxdayEvent(){ recTenmaxdayEvent(){
this.executeDefault("didgrp.rec.tenmaxday").then( this.executeDefault("didgrp.rec.tenmaxday").then(
(res) => { (res) => {
if (res.respCode = "AAAAAA"){ if (res.respCode = "SUCCESS"){
Utils.copyValueFromVO(this.model, res.data); Utils.copyValueFromVO(this.model, res.data);
} }
} }
......
...@@ -529,7 +529,7 @@ export default { ...@@ -529,7 +529,7 @@ export default {
console.log(this.model); console.log(this.model);
this.model.trnmod.trndoc.doceot.splice(this.index, 1, this.dialog); this.model.trnmod.trndoc.doceot.splice(this.index, 1, this.dialog);
this.executeRule("trnmod.trndoc.doccur.butaddok").then(res => { this.executeRule("trnmod.trndoc.doccur.butaddok").then(res => {
if(res.data.respCode=="AAAAAA"){ if(res.data.respCode=="SUCCESS"){
//TODO //TODO
}else{ }else{
this.$notify.error({ title: '错误', message: '服务请求失败!' }); this.$notify.error({ title: '错误', message: '服务请求失败!' });
......
...@@ -736,7 +736,7 @@ export default { ...@@ -736,7 +736,7 @@ export default {
nom1CurEvent(){ nom1CurEvent(){
this.executeDefault("didgrp.cbs.nom1.cur").then( this.executeDefault("didgrp.cbs.nom1.cur").then(
(res) => { (res) => {
if (res.respCode = "AAAAAA"){ if (res.respCode = "SUCCESS"){
Utils.copyValueFromVO(this.model, res.data); Utils.copyValueFromVO(this.model, res.data);
} }
} }
......
...@@ -2012,7 +2012,7 @@ export default { ...@@ -2012,7 +2012,7 @@ export default {
created: async function () { created: async function () {
console.log("进入ditame交易"); console.log("进入ditame交易");
let rtnmsg = await Api.post("ditame/init", { params: {} }); let rtnmsg = await Api.post("ditame/init", { params: {} });
if (rtnmsg.respCode == "AAAAAA") { if (rtnmsg.respCode == "SUCCESS") {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
Utils.copyValueFromVO(this.model, rtnmsg.data); Utils.copyValueFromVO(this.model, rtnmsg.data);
} else { } else {
......
...@@ -149,7 +149,7 @@ export default { ...@@ -149,7 +149,7 @@ export default {
} }
this.executeCheck("didgrp.rec.avbby").then( this.executeCheck("didgrp.rec.avbby").then(
(res) => { (res) => {
if (res.respCode == "AAAAAA"){ if (res.respCode == "SUCCESS"){
Utils.copyValueFromVO(this.model, res.data); Utils.copyValueFromVO(this.model, res.data);
} }
} }
...@@ -158,7 +158,7 @@ export default { ...@@ -158,7 +158,7 @@ export default {
recTenmaxdayEvent(){ recTenmaxdayEvent(){
this.executeDefault("didgrp.rec.tenmaxday").then( this.executeDefault("didgrp.rec.tenmaxday").then(
(res) => { (res) => {
if (res.respCode = "AAAAAA"){ if (res.respCode = "SUCCESS"){
Utils.copyValueFromVO(this.model, res.data); Utils.copyValueFromVO(this.model, res.data);
} }
} }
......
...@@ -529,7 +529,7 @@ export default { ...@@ -529,7 +529,7 @@ export default {
console.log(this.model); console.log(this.model);
this.model.trnmod.trndoc.doceot.splice(this.index, 1, this.dialog); this.model.trnmod.trndoc.doceot.splice(this.index, 1, this.dialog);
this.executeRule("trnmod.trndoc.doccur.butaddok").then(res => { this.executeRule("trnmod.trndoc.doccur.butaddok").then(res => {
if(res.data.respCode=="AAAAAA"){ if(res.data.respCode=="SUCCESS"){
//TODO //TODO
}else{ }else{
......
...@@ -715,7 +715,7 @@ export default { ...@@ -715,7 +715,7 @@ export default {
nom1CurEvent(){ nom1CurEvent(){
this.executeDefault("didgrp.cbs.nom1.cur").then( this.executeDefault("didgrp.cbs.nom1.cur").then(
(res) => { (res) => {
if (res.respCode = "AAAAAA"){ if (res.respCode = "SUCCESS"){
Utils.copyValueFromVO(this.model, res.data); Utils.copyValueFromVO(this.model, res.data);
} }
} }
......
...@@ -190,7 +190,7 @@ export default { ...@@ -190,7 +190,7 @@ export default {
} }
if (name === "setpan") { if (name === "setpan") {
this.executeRule("setmod.setpan").then(res => { this.executeRule("setmod.setpan").then(res => {
if (res.respCode == "AAAAAA"){ if (res.respCode == "SUCCESS"){
const data = res.data; const data = res.data;
Utils.copyValueFromVO(this.model, data) Utils.copyValueFromVO(this.model, data)
} }
...@@ -198,7 +198,7 @@ export default { ...@@ -198,7 +198,7 @@ export default {
} }
if (name === "docpan") { if (name === "docpan") {
this.executeRule("trnmod.trndoc.docpan").then(res => { this.executeRule("trnmod.trndoc.docpan").then(res => {
if (res.respCode == "AAAAAA"){ if (res.respCode == "SUCCESS"){
const data = res.data; const data = res.data;
Utils.copyValueFromVO(this.model, data) Utils.copyValueFromVO(this.model, data)
var stm = []; var stm = [];
...@@ -214,7 +214,7 @@ export default { ...@@ -214,7 +214,7 @@ export default {
} }
if (name === "limitbody") { if (name === "limitbody") {
this.executeRule("liaall.limmod.limitbody").then(res => { this.executeRule("liaall.limmod.limitbody").then(res => {
if (res.respCode == "AAAAAA"){ if (res.respCode == "SUCCESS"){
const data = res.data; const data = res.data;
Utils.copyValueFromVO(this.model, data) Utils.copyValueFromVO(this.model, data)
} }
......
...@@ -541,7 +541,7 @@ export default { ...@@ -541,7 +541,7 @@ export default {
created: async function () { created: async function () {
console.log("进入ditsel交易"); console.log("进入ditsel交易");
let rtnmsg = await Api.post("ditsel/init", { params: {} }); let rtnmsg = await Api.post("ditsel/init", { params: {} });
if (rtnmsg.respCode == "AAAAAA") { if (rtnmsg.respCode == "SUCCESS") {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
Utils.copyValueFromVO(this.model,rtnmsg.data) Utils.copyValueFromVO(this.model,rtnmsg.data)
} else { } else {
......
...@@ -48,7 +48,7 @@ export default { ...@@ -48,7 +48,7 @@ export default {
}); });
if (this.model.docXML != "") if (this.model.docXML != "")
Api.post("pdf", { xml: this.model.docXML }).then((res) => { Api.post("pdf", { xml: this.model.docXML }).then((res) => {
if (res.respCode == "AAAAAA") { if (res.respCode == "SUCCESS") {
this.pdf += res.data; this.pdf += 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