Commit df6ee642 by 潘际乾

SUCCESS更改

parent c07b2c68
......@@ -3,7 +3,7 @@ import Utils from "~/utils/index"
export default {
async onDitpButgetref() {
let rtnmsg = await this.executeRule("ditp.butgetref")
if (rtnmsg.respCode == "SUCCESS") {
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.model.didgrp.rec.ownref = rtnmsg.data.didgrp_rec_ownref
this.$message({
......@@ -17,7 +17,7 @@ export default {
},
async onAplpDet() {
let rtnmsg = await this.executeRule("ditp.aplp.det")
if (rtnmsg.respCode == "SUCCESS") {
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
// console.log(rtnmsg.data);
}
......@@ -27,7 +27,7 @@ export default {
},
async onBenpDet() {
let rtnmsg = await this.executeRule("benp_det")
if (rtnmsg.respCode == "SUCCESS") {
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
......@@ -37,7 +37,7 @@ export default {
},
async onRevclauseButtxmsel() {
let rtnmsg = await this.executeRule("revclause_buttxmsel")
if (rtnmsg.respCode == "SUCCESS") {
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
......@@ -47,7 +47,7 @@ export default {
},
async onLcrgodButtxmsel() {
let rtnmsg = await this.executeRule("lcrgod_buttxmsel")
if (rtnmsg.respCode == "SUCCESS") {
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
......@@ -57,7 +57,7 @@ export default {
},
async onLcrdocButtxmsel() {
let rtnmsg = await this.executeRule("lcrdoc_buttxmsel")
if (rtnmsg.respCode == "SUCCESS") {
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
......@@ -67,7 +67,7 @@ export default {
},
async onAdlcndButtxmsel() {
let rtnmsg = await this.executeRule("adlcnd_buttxmsel")
if (rtnmsg.respCode == "SUCCESS") {
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
......@@ -77,7 +77,7 @@ export default {
},
async onInsbnkButtxmsel() {
let rtnmsg = await this.executeRule("insbnk_buttxmsel")
if (rtnmsg.respCode == "SUCCESS") {
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
......@@ -87,7 +87,7 @@ export default {
},
async onRmbpDet() {
let rtnmsg = await this.executeRule("rmbp_det")
if (rtnmsg.respCode == "SUCCESS") {
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
......@@ -97,7 +97,7 @@ export default {
},
async onDefdetButtxmsel() {
let rtnmsg = await this.executeRule("defdet_buttxmsel")
if (rtnmsg.respCode == "SUCCESS") {
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
......@@ -107,7 +107,7 @@ export default {
},
async onPreperButtxmsel() {
let rtnmsg = await this.executeRule("preper_buttxmsel")
if (rtnmsg.respCode == "SUCCESS") {
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
......@@ -117,7 +117,7 @@ export default {
},
async onSetmodDet() {
let rtnmsg = await this.executeRule("setmod_det")
if (rtnmsg.respCode == "SUCCESS") {
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
......@@ -127,7 +127,7 @@ export default {
},
async onLiaallButmisamt() {
let rtnmsg = await this.executeRule("liaall_butmisamt")
if (rtnmsg.respCode == "SUCCESS") {
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
......@@ -137,7 +137,7 @@ export default {
},
async onLiaallButmissig() {
let rtnmsg = await this.executeRule("liaall_butmissig")
if (rtnmsg.respCode == "SUCCESS") {
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
......@@ -147,7 +147,7 @@ export default {
},
async onWrkpDet() {
let rtnmsg = await this.executeRule("wrkp_det")
if (rtnmsg.respCode == "SUCCESS") {
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
......@@ -157,7 +157,7 @@ export default {
},
async onOthpDet() {
let rtnmsg = await this.executeRule("othp_det")
if (rtnmsg.respCode == "SUCCESS") {
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
......@@ -167,7 +167,7 @@ export default {
},
async onLimptsGet1() {
let rtnmsg = await this.executeRule("limpts_get1")
if (rtnmsg.respCode == "SUCCESS") {
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
......@@ -177,7 +177,7 @@ export default {
},
async onLimptsGet2() {
let rtnmsg = await this.executeRule("limpts_get2")
if (rtnmsg.respCode == "SUCCESS") {
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
......@@ -187,7 +187,7 @@ export default {
},
async onLimmodTrycal() {
let rtnmsg = await this.executeRule("limmod_trycal")
if (rtnmsg.respCode == "SUCCESS") {
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
......@@ -198,7 +198,7 @@ export default {
async onLiaccvAdd() {
let rtnmsg = await this.executeRule("liaall.liaccv.add")
//const that = this.root;
if (rtnmsg.respCode == "SUCCESS") {
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
debugger;
this.stmData.data = rtnmsg.data.liaall_liaccv_stgstm.rows;
......@@ -211,7 +211,7 @@ export default {
async onLiaccvDel() {
let rtnmsg = await this.executeRule("liaall.liaccv.del")
//const that = this.root;
if (rtnmsg.respCode == "SUCCESS") {
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
debugger;
this.$message({
......@@ -243,7 +243,7 @@ export default {
}
rtnmsg = await Api.post("ditopn/executeDocpan", this.wrapper(params))
}
if (rtnmsg.respCode == "SUCCESS") {
if (rtnmsg.respCode == SUCCESS) {
if (cortyp == 'SWT' || cortyp == 'FMT' || cortyp == 'CMT') {
let viewurl = rtnmsg.data.setmod_msgmod_docpth;
this.viewurl = viewurl
......@@ -297,7 +297,7 @@ export default {
index: index
}
let rtnmsg = await Api.post("ditopn/executeDocpanDetail", this.wrapper(params))
if (rtnmsg.respCode == "SUCCESS") {
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.title = row.pandsc
this.centerDialogVisible = true,
......@@ -307,21 +307,21 @@ export default {
},
async BlurBennam(e) {
let rtnmsg = await this.executeDefault("ditp.remark")
if (rtnmsg.respCode == "SUCCESS") {
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.model.ditp.remark = rtnmsg.data.ditp_remark
}
},
async BlurAplname(e) {
let rtnmsg = await this.executeDefault("ditp.remark")
if (rtnmsg.respCode == "SUCCESS") {
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.model.ditp.remark = rtnmsg.data.ditp_remark
}
},
async BlurSignam(e) {
let rtnmsg = await this.executeDefault("ditp.remark")
if (rtnmsg.respCode == "SUCCESS") {
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.model.ditp.remark = rtnmsg.data.ditp_remark
}
......@@ -334,7 +334,7 @@ export default {
var params = { 'selsptinr': row[0] };
//{params:{'selsptinr':row[0]}}
let rtnmsg = await this.executeRule("liaall.liaccv.add", { params })
if (rtnmsg.respCode == "SUCCESS") {
if (rtnmsg.respCode == SUCCESS) {
this.dialogTableVisible = false;
Utils.copyValueFromVO(this.model, rtnmsg.data);
}
......@@ -342,7 +342,7 @@ export default {
// didgrp.iss.pts.extkey
async changeExtkey() {
let rtnmsg = await this.executeRule("didgrp.iss.pts.extkey")
if (rtnmsg.respCode == "SUCCESS") {
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
}
}
......
......@@ -3,7 +3,7 @@ import Utils from "~/utils/index"
export default {
async onUsfmodShwflt() {
let rtnmsg = await this.executeRule("usfmod_shwflt")
if (rtnmsg.respCode == "SUCCESS") {
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
......@@ -13,7 +13,7 @@ export default {
},
async onButypt() {
let rtnmsg = await this.executeRule("butypt")
if (rtnmsg.respCode == "SUCCESS") {
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
......@@ -23,7 +23,7 @@ export default {
},
async onDlmft() {
let rtnmsg = await this.executeRule("dlmft")
if (rtnmsg.respCode == "SUCCESS") {
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
......@@ -33,7 +33,7 @@ export default {
},
async onDlaxq() {
let rtnmsg = await this.executeRule("dlaxq")
if (rtnmsg.respCode == "SUCCESS") {
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
......@@ -43,7 +43,7 @@ export default {
},
async onButimg() {
let rtnmsg = await this.executeRule("butimg")
if (rtnmsg.respCode == "SUCCESS") {
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
......@@ -57,7 +57,7 @@ export default {
async continueEdit(row) {
//let rtnmsg = await Api.post("getPendingData",{params:{'selsptinr':row[0]}})
//if (rtnmsg.respCode == "SUCCESS") {
//if (rtnmsg.respCode == SUCCESS) {
//var cacheFileName = rtnmsg.data.cacheFileName;
let viewurl = "/business/ditopn?selsptinr=" + row[0];
this.$router.push(viewurl);
......
......@@ -18,7 +18,7 @@ export default {
},
async onSeactr() {
let rtnmsg = await this.executeRule("seactr")
if (rtnmsg.respCode == "SUCCESS") {
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
......@@ -28,7 +28,7 @@ export default {
},
async onSearow() {
let rtnmsg = await this.executeRule("searow")
if (rtnmsg.respCode == "SUCCESS") {
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
......@@ -38,7 +38,7 @@ export default {
},
async onDsp() {
let rtnmsg = await this.executeRule("dsp")
if (rtnmsg.respCode == "SUCCESS") {
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
......@@ -48,7 +48,7 @@ export default {
},
async onImgmodNewimg() {
let rtnmsg = await this.executeRule("imgmod_newimg")
if (rtnmsg.respCode == "SUCCESS") {
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
......@@ -58,7 +58,7 @@ export default {
},
async onImgmodNewhisimg() {
let rtnmsg = await this.executeRule("imgmod_newhisimg")
if (rtnmsg.respCode == "SUCCESS") {
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
......@@ -68,7 +68,7 @@ export default {
},
async onDiaconButdia() {
let rtnmsg = await this.executeRule("diacon_butdia")
if (rtnmsg.respCode == "SUCCESS") {
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
......@@ -78,7 +78,7 @@ export default {
},
async onImgmodHisimg() {
let rtnmsg = await this.executeRule("imgmod_hisimg")
if (rtnmsg.respCode == "SUCCESS") {
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
......@@ -92,7 +92,7 @@ export default {
"rows": that.multipleSelection.map(idx => that.model.trncorco.trnstm.rows[idx])
}
let rtnmsg = await this.executeRule("relrow")
if (rtnmsg.respCode == "SUCCESS") {
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
this.$message({
......@@ -117,7 +117,7 @@ export default {
},
async onPrinte() {
let rtnmsg = await this.executeRule("printe")
if (rtnmsg.respCode == "SUCCESS") {
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
......@@ -127,7 +127,7 @@ export default {
},
async onReprow() {
let rtnmsg = await this.executeRule("reprow")
if (rtnmsg.respCode == "SUCCESS") {
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
......@@ -140,11 +140,11 @@ export default {
this.model.trncorco.selinr['rows'] = this.getSelectedData();
let rtnmsg = await Api.post("trnrel/rejrow", this.wrapper())
if (rtnmsg.respCode == "SUCCESS") {
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
// var cacheFileName = rtnmsg.data.cacheFileName;
// let rejrowRtnmsg = await Api.post("trncor/init", {params:{"cacheFileName":cacheFileName}})
// if(rejrowRtnmsg.respCode == "SUCCESS"){
// if(rejrowRtnmsg.respCode == SUCCESS){
// this.$message({
// type: 'success',
// message: 'Reject成功!'
......@@ -167,7 +167,7 @@ export default {
},
async onRelcor() {
let rtnmsg = await this.executeRule("relcor")
if (rtnmsg.respCode == "SUCCESS") {
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
......@@ -177,7 +177,7 @@ export default {
},
async onExi() {
let rtnmsg = await this.executeRule("exi")
if (rtnmsg.respCode == "SUCCESS") {
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
......@@ -188,7 +188,7 @@ export default {
async onRecpanDet() {
let rtnmsg = await this.executeRule("recpan_det")
if (rtnmsg.respCode == "SUCCESS") {
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
......@@ -198,7 +198,7 @@ export default {
},
async onSyswrnButshw() {
let rtnmsg = await this.executeRule("syswrn_butshw")
if (rtnmsg.respCode == "SUCCESS") {
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
......@@ -208,7 +208,7 @@ export default {
},
async onRecpanNotmap() {
let rtnmsg = await this.executeRule("recpan_notmap")
if (rtnmsg.respCode == "SUCCESS") {
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
......@@ -218,7 +218,7 @@ export default {
},
async onRecpanButspt() {
let rtnmsg = await this.executeRule("recpan_butspt")
if (rtnmsg.respCode == "SUCCESS") {
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
......@@ -228,7 +228,7 @@ export default {
},
async onRecpanInc() {
let rtnmsg = await this.executeRule("recpan_inc")
if (rtnmsg.respCode == "SUCCESS") {
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
......@@ -238,7 +238,7 @@ export default {
},
async onRecpanButord() {
let rtnmsg = await this.executeRule("recpan_butord")
if (rtnmsg.respCode == "SUCCESS") {
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
......@@ -248,7 +248,7 @@ export default {
},
async onImgmodImage() {
let rtnmsg = await this.executeRule("imgmod_image")
if (rtnmsg.respCode == "SUCCESS") {
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
......@@ -258,7 +258,7 @@ export default {
},
async onRecpanIncben() {
let rtnmsg = await this.executeRule("recpan_incben")
if (rtnmsg.respCode == "SUCCESS") {
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
......@@ -268,7 +268,7 @@ export default {
},
async onInftxtButtxmsel() {
let rtnmsg = await this.executeRule("inftxt_buttxmsel")
if (rtnmsg.respCode == "SUCCESS") {
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
......
......@@ -135,7 +135,7 @@ export default {
if (label === "Settlement") {
this.executeRule("setmod.setpan").then(res => {
if (res.respCode == "SUCCESS"){
if (res.respCode == SUCCESS){
const data = res.data;
Utils.copyValueFromVO(this.model, data)
}
......@@ -149,7 +149,7 @@ export default {
}
if (label === "Messages") {
this.executeRule("trnmod.trndoc.docpan").then(res => {
if (res.respCode == "SUCCESS"){
if (res.respCode == SUCCESS){
const data = res.data;
Utils.copyValueFromVO(this.model, data)
var stm = [];
......@@ -165,7 +165,7 @@ export default {
}
if (label === "Attachments") {
this.executeRule("trnmod.trndoc.doctre").then(res => {
if (res.respCode == "SUCCESS"){
if (res.respCode == SUCCESS){
const data = res.data;
Utils.copyValueFromVO(this.model, data)
}
......
......@@ -149,7 +149,7 @@ export default {
}
this.executeCheck("didgrp.rec.avbby").then(
(res) => {
if (res.respCode == "SUCCESS"){
if (res.respCode == SUCCESS){
Utils.copyValueFromVO(this.model, res.data);
}
}
......@@ -158,7 +158,7 @@ export default {
recTenmaxdayEvent(){
this.executeDefault("didgrp.rec.tenmaxday").then(
(res) => {
if (res.respCode = "SUCCESS"){
if (res.respCode = SUCCESS){
Utils.copyValueFromVO(this.model, res.data);
}
}
......
......@@ -529,7 +529,7 @@ export default {
console.log(this.model);
this.model.trnmod.trndoc.doceot.splice(this.index, 1, this.dialog);
this.executeRule("trnmod.trndoc.doccur.butaddok").then(res => {
if(res.data.respCode=="SUCCESS"){
if(res.data.respCode==SUCCESS){
//TODO
}else{
this.$notify.error({ title: '错误', message: '服务请求失败!' });
......
......@@ -736,7 +736,7 @@ export default {
nom1CurEvent(){
this.executeDefault("didgrp.cbs.nom1.cur").then(
(res) => {
if (res.respCode = "SUCCESS"){
if (res.respCode = SUCCESS){
Utils.copyValueFromVO(this.model, res.data);
}
}
......
......@@ -2012,7 +2012,7 @@ export default {
created: async function () {
console.log("进入ditame交易");
let rtnmsg = await Api.post("ditame/init", { params: {} });
if (rtnmsg.respCode == "SUCCESS") {
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
Utils.copyValueFromVO(this.model, rtnmsg.data);
} else {
......
......@@ -149,7 +149,7 @@ export default {
}
this.executeCheck("didgrp.rec.avbby").then(
(res) => {
if (res.respCode == "SUCCESS"){
if (res.respCode == SUCCESS){
Utils.copyValueFromVO(this.model, res.data);
}
}
......@@ -158,7 +158,7 @@ export default {
recTenmaxdayEvent(){
this.executeDefault("didgrp.rec.tenmaxday").then(
(res) => {
if (res.respCode = "SUCCESS"){
if (res.respCode = SUCCESS){
Utils.copyValueFromVO(this.model, res.data);
}
}
......
......@@ -529,7 +529,7 @@ export default {
console.log(this.model);
this.model.trnmod.trndoc.doceot.splice(this.index, 1, this.dialog);
this.executeRule("trnmod.trndoc.doccur.butaddok").then(res => {
if(res.data.respCode=="SUCCESS"){
if(res.data.respCode==SUCCESS){
//TODO
}else{
......
......@@ -715,7 +715,7 @@ export default {
nom1CurEvent(){
this.executeDefault("didgrp.cbs.nom1.cur").then(
(res) => {
if (res.respCode = "SUCCESS"){
if (res.respCode = SUCCESS){
Utils.copyValueFromVO(this.model, res.data);
}
}
......
......@@ -190,7 +190,7 @@ export default {
}
if (name === "setpan") {
this.executeRule("setmod.setpan").then(res => {
if (res.respCode == "SUCCESS"){
if (res.respCode == SUCCESS){
const data = res.data;
Utils.copyValueFromVO(this.model, data)
}
......@@ -198,7 +198,7 @@ export default {
}
if (name === "docpan") {
this.executeRule("trnmod.trndoc.docpan").then(res => {
if (res.respCode == "SUCCESS"){
if (res.respCode == SUCCESS){
const data = res.data;
Utils.copyValueFromVO(this.model, data)
var stm = [];
......@@ -214,7 +214,7 @@ export default {
}
if (name === "limitbody") {
this.executeRule("liaall.limmod.limitbody").then(res => {
if (res.respCode == "SUCCESS"){
if (res.respCode == SUCCESS){
const data = res.data;
Utils.copyValueFromVO(this.model, data)
}
......
......@@ -541,7 +541,7 @@ export default {
created: async function () {
console.log("进入ditsel交易");
let rtnmsg = await Api.post("ditsel/init", { params: {} });
if (rtnmsg.respCode == "SUCCESS") {
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
Utils.copyValueFromVO(this.model,rtnmsg.data)
} else {
......
......@@ -48,7 +48,7 @@ export default {
});
if (this.model.docXML != "")
Api.post("pdf", { xml: this.model.docXML }).then((res) => {
if (res.respCode == "SUCCESS") {
if (res.respCode == SUCCESS) {
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