Commit 62c0711e by fukai

去除多余的webapi

parent a45ca11d
...@@ -24,7 +24,7 @@ export default { ...@@ -24,7 +24,7 @@ export default {
}; };
this.model.branch = JSON.parse(sessionStorage.getItem('currentOrg')).departmentnumber this.model.branch = JSON.parse(sessionStorage.getItem('currentOrg')).departmentnumber
this.load = true; this.load = true;
let rtnmsg = await Api.post("/webapi/factoring/trtsel/list", params); let rtnmsg = await Api.post("/factoring/trtsel/list", params);
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
this.load = false; this.load = false;
this.stmData.data = []; this.stmData.data = [];
......
...@@ -8,7 +8,7 @@ export default { ...@@ -8,7 +8,7 @@ export default {
let ptainr = this.model.bpdgrp.fia.pts.ptainr; let ptainr = this.model.bpdgrp.fia.pts.ptainr;
const loading = this.loading(); const loading = this.loading();
let trnName = this.root.trnName.toUpperCase(); let trnName = this.root.trnName.toUpperCase();
Api.post(`/webapi/${this.moduleRouter()}/ref/bpt?ptaInr=${ptainr}&trnName=${trnName}`, params).then(res => { Api.post(`/${this.moduleRouter()}/ref/bpt?ptaInr=${ptainr}&trnName=${trnName}`, params).then(res => {
loading.close(); loading.close();
if (res.respCode === SUCCESS) { if (res.respCode === SUCCESS) {
this.model.bpdgrp.rec.ownref = res.data.ownref; this.model.bpdgrp.rec.ownref = res.data.ownref;
...@@ -35,7 +35,7 @@ export default { ...@@ -35,7 +35,7 @@ export default {
} }
const loading = this.loading(); const loading = this.loading();
let res = await Api.post(`/webapi/${this.moduleRouter()}/bpfopn/defaultAccountsN1100`, data); let res = await Api.post(`/${this.moduleRouter()}/bpfopn/defaultAccountsN1100`, data);
loading.close(); loading.close();
if (res.respCode === SUCCESS) { if (res.respCode === SUCCESS) {
this.model.finmod.act1Set = res.data.act1Set; this.model.finmod.act1Set = res.data.act1Set;
...@@ -65,7 +65,7 @@ export default { ...@@ -65,7 +65,7 @@ export default {
}; };
const loading = this.loading(); const loading = this.loading();
let trnName = this.root.trnName.toLowerCase(); let trnName = this.root.trnName.toLowerCase();
Api.post(`/webapi/factoring/${trnName}/cal`, params).then(res => { Api.post(`/factoring/${trnName}/cal`, params).then(res => {
loading.close(); loading.close();
if (res.respCode === SUCCESS) { if (res.respCode === SUCCESS) {
this.model.finmod.intamt = res.data.finmod.intamt; this.model.finmod.intamt = res.data.finmod.intamt;
...@@ -108,7 +108,7 @@ export default { ...@@ -108,7 +108,7 @@ export default {
}; };
const loading = this.loading(); const loading = this.loading();
let trnName = this.root.trnName.toLowerCase(); let trnName = this.root.trnName.toLowerCase();
Api.post(`/webapi/financing/${trnName}/getIntrat`, params).then(res => { Api.post(`/financing/${trnName}/getIntrat`, params).then(res => {
loading.close(); loading.close();
if (res.respCode === SUCCESS) { if (res.respCode === SUCCESS) {
this.model.bpdgrp.rec.intrat = res.data.bpdgrp.rec.intrat; this.model.bpdgrp.rec.intrat = res.data.bpdgrp.rec.intrat;
......
...@@ -22,7 +22,7 @@ export default { ...@@ -22,7 +22,7 @@ export default {
let params = this.model.fidgrp; let params = this.model.fidgrp;
const loading = this.loading(); const loading = this.loading();
let trnName = this.root.trnName.toUpperCase(); let trnName = this.root.trnName.toUpperCase();
Api.post(`/webapi/${this.moduleRouter()}/ref/fit?trnName=${trnName}`, params).then(res => { Api.post(`/${this.moduleRouter()}/ref/fit?trnName=${trnName}`, params).then(res => {
loading.close(); loading.close();
if (res.respCode === SUCCESS) { if (res.respCode === SUCCESS) {
this.model.fidgrp.rec.ownref = res.data; this.model.fidgrp.rec.ownref = res.data;
...@@ -34,7 +34,7 @@ export default { ...@@ -34,7 +34,7 @@ export default {
defaultNamN1000() { defaultNamN1000() {
let params = { fidgrp: this.model.fidgrp, lrdgrp: this.model.lrdgrp } let params = { fidgrp: this.model.fidgrp, lrdgrp: this.model.lrdgrp }
const loading = this.loading(); const loading = this.loading();
Api.post(`/webapi/${this.moduleRouter()}/fitepn/defaultFidgrpRecNamN1000`, params).then(res => { Api.post(`/${this.moduleRouter()}/fitepn/defaultFidgrpRecNamN1000`, params).then(res => {
loading.close(); loading.close();
if (res.respCode === SUCCESS) { if (res.respCode === SUCCESS) {
this.model.fidgrp.rec.nam = res.data; this.model.fidgrp.rec.nam = res.data;
......
...@@ -25,7 +25,7 @@ export default { ...@@ -25,7 +25,7 @@ export default {
let params = this.model.fidgrp; let params = this.model.fidgrp;
const loading = this.loading(); const loading = this.loading();
let trnName = this.root.trnName.toUpperCase(); let trnName = this.root.trnName.toUpperCase();
Api.post(`/webapi/${this.moduleRouter()}/ref/fit?trnName=${trnName}`, params).then(res => { Api.post(`/${this.moduleRouter()}/ref/fit?trnName=${trnName}`, params).then(res => {
loading.close(); loading.close();
if (res.respCode === SUCCESS) { if (res.respCode === SUCCESS) {
this.model.fidgrp.rec.ownref = res.data; this.model.fidgrp.rec.ownref = res.data;
...@@ -46,7 +46,7 @@ export default { ...@@ -46,7 +46,7 @@ export default {
defaultNamN1000() { defaultNamN1000() {
let params = { fidgrp: this.model.fidgrp, lrdgrp: this.model.lrdgrp } let params = { fidgrp: this.model.fidgrp, lrdgrp: this.model.lrdgrp }
const loading = this.loading(); const loading = this.loading();
Api.post(`/webapi/${this.moduleRouter()}/fitipn/defaultFidgrpRecNamN1000`, params).then(res => { Api.post(`/${this.moduleRouter()}/fitipn/defaultFidgrpRecNamN1000`, params).then(res => {
loading.close(); loading.close();
if (res.respCode === SUCCESS) { if (res.respCode === SUCCESS) {
this.model.fidgrp.rec.nam = res.data; this.model.fidgrp.rec.nam = res.data;
......
...@@ -25,7 +25,7 @@ export default { ...@@ -25,7 +25,7 @@ export default {
}; };
this.model.branch = JSON.parse(sessionStorage.getItem('currentOrg')).departmentnumber this.model.branch = JSON.parse(sessionStorage.getItem('currentOrg')).departmentnumber
this.load = true; this.load = true;
let rtnmsg = await Api.post("/webapi/factoring/fitsee/list", params); let rtnmsg = await Api.post("/factoring/fitsee/list", params);
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
this.load = false; this.load = false;
this.stmData.data = []; this.stmData.data = [];
......
...@@ -25,7 +25,7 @@ export default { ...@@ -25,7 +25,7 @@ export default {
}; };
this.model.branch = JSON.parse(sessionStorage.getItem('currentOrg')).departmentnumber this.model.branch = JSON.parse(sessionStorage.getItem('currentOrg')).departmentnumber
this.load = true; this.load = true;
let rtnmsg = await Api.post("/webapi/factoring/fitsei/list", params); let rtnmsg = await Api.post("/factoring/fitsei/list", params);
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
this.load = false; this.load = false;
this.stmData.data = []; this.stmData.data = [];
......
...@@ -24,7 +24,7 @@ export default { ...@@ -24,7 +24,7 @@ export default {
}; };
this.model.branch = JSON.parse(sessionStorage.getItem('currentOrg')).departmentnumber this.model.branch = JSON.parse(sessionStorage.getItem('currentOrg')).departmentnumber
this.load = true; this.load = true;
let rtnmsg = await Api.post("/webapi/factoring/trtsel/list", params); let rtnmsg = await Api.post("/factoring/trtsel/list", params);
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
this.load = false; this.load = false;
this.stmData.data = []; this.stmData.data = [];
......
...@@ -24,7 +24,7 @@ export default { ...@@ -24,7 +24,7 @@ export default {
}; };
this.model.branch = JSON.parse(sessionStorage.getItem('currentOrg')).departmentnumber this.model.branch = JSON.parse(sessionStorage.getItem('currentOrg')).departmentnumber
this.load = true; this.load = true;
let rtnmsg = await Api.post("/webapi/factoring/trtsel/list", params); let rtnmsg = await Api.post("/factoring/trtsel/list", params);
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
this.load = false; this.load = false;
this.stmData.data = []; this.stmData.data = [];
......
...@@ -24,7 +24,7 @@ export default { ...@@ -24,7 +24,7 @@ export default {
}; };
this.model.branch = JSON.parse(sessionStorage.getItem('currentOrg')).departmentnumber this.model.branch = JSON.parse(sessionStorage.getItem('currentOrg')).departmentnumber
this.load = true; this.load = true;
let rtnmsg = await Api.post("/webapi/factoring/trtsel/list", params); let rtnmsg = await Api.post("/factoring/trtsel/list", params);
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
this.load = false; this.load = false;
this.stmData.data = []; this.stmData.data = [];
......
...@@ -24,7 +24,7 @@ export default { ...@@ -24,7 +24,7 @@ export default {
}; };
this.model.branch = JSON.parse(sessionStorage.getItem('currentOrg')).departmentnumber this.model.branch = JSON.parse(sessionStorage.getItem('currentOrg')).departmentnumber
this.load = true; this.load = true;
let rtnmsg = await Api.post("/webapi/factoring/trtsel/list", params); let rtnmsg = await Api.post("/factoring/trtsel/list", params);
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
this.load = false; this.load = false;
this.stmData.data = []; this.stmData.data = [];
......
...@@ -84,7 +84,7 @@ export default { ...@@ -84,7 +84,7 @@ export default {
ptyinr: this.model.trdgrp.fip.pts.ptyinr ptyinr: this.model.trdgrp.fip.pts.ptyinr
} }
const loading = this.loading(); const loading = this.loading();
let res = await Api.post(`/webapi/${this.moduleRouter()}/trfopn/defaultTrdgrpRecTendayN1000`, data); let res = await Api.post(`/${this.moduleRouter()}/trfopn/defaultTrdgrpRecTendayN1000`, data);
loading.close(); loading.close();
if (res.respCode === SUCCESS) { if (res.respCode === SUCCESS) {
this.model.trdgrp.rec.tenday = res.data; this.model.trdgrp.rec.tenday = res.data;
...@@ -149,7 +149,7 @@ export default { ...@@ -149,7 +149,7 @@ export default {
cnnam: this.model.trdgrp.fip.pts.cnnam cnnam: this.model.trdgrp.fip.pts.cnnam
} }
const loading = this.loading(); const loading = this.loading();
let res = await Api.post(`/webapi/${this.moduleRouter()}/trfopn/defaultTrdgrpRecNamN1000`, data); let res = await Api.post(`/${this.moduleRouter()}/trfopn/defaultTrdgrpRecNamN1000`, data);
loading.close(); loading.close();
if (res.respCode === SUCCESS) { if (res.respCode === SUCCESS) {
this.model.trdgrp.rec.nam = res.data; this.model.trdgrp.rec.nam = res.data;
...@@ -163,7 +163,7 @@ export default { ...@@ -163,7 +163,7 @@ export default {
// fintyp: this.model.trdgrp.rec.fintyp // fintyp: this.model.trdgrp.rec.fintyp
// } // }
// const loading = this.loading(); // const loading = this.loading();
// let res = await Api.post(`/webapi/${this.moduleRouter()}/ref/trt`, params); // let res = await Api.post(`/${this.moduleRouter()}/ref/trt`, params);
// loading.close(); // loading.close();
// if (res.respCode === SUCCESS) { // if (res.respCode === SUCCESS) {
// this.model.trdgrp.rec.ownref = res.data; // this.model.trdgrp.rec.ownref = res.data;
...@@ -178,7 +178,7 @@ export default { ...@@ -178,7 +178,7 @@ export default {
let ptainr = this.model.trdgrp.fip.pts.ptainr; let ptainr = this.model.trdgrp.fip.pts.ptainr;
const loading = this.loading(); const loading = this.loading();
let trnName = this.root.trnName.toUpperCase(); let trnName = this.root.trnName.toUpperCase();
Api.post(`/webapi/${this.moduleRouter()}/ref/trt?ptaInr=${ptainr}&trnName=${trnName}`, params).then(res => { Api.post(`/${this.moduleRouter()}/ref/trt?ptaInr=${ptainr}&trnName=${trnName}`, params).then(res => {
loading.close(); loading.close();
if (res.respCode === SUCCESS) { if (res.respCode === SUCCESS) {
this.model.trdgrp.rec.ownref = res.data.ownref; this.model.trdgrp.rec.ownref = res.data.ownref;
...@@ -199,7 +199,7 @@ export default { ...@@ -199,7 +199,7 @@ export default {
ptyinr: this.model.trdgrp.fip.pts.ptyinr, ptyinr: this.model.trdgrp.fip.pts.ptyinr,
} }
const loading = this.loading(); const loading = this.loading();
let res = await Api.post(`/webapi/${this.moduleRouter()}/trfopn/getIdType`, data); let res = await Api.post(`/${this.moduleRouter()}/trfopn/getIdType`, data);
loading.close(); loading.close();
if (res.respCode === SUCCESS) { if (res.respCode === SUCCESS) {
this.model.idtype = res.data; this.model.idtype = res.data;
...@@ -214,7 +214,7 @@ export default { ...@@ -214,7 +214,7 @@ export default {
ownref: this.model.trdgrp.rec.ownref ownref: this.model.trdgrp.rec.ownref
} }
const loading = this.loading(); const loading = this.loading();
let res = await Api.post(`/webapi/${this.moduleRouter()}/trfopn/getFincod`, data); let res = await Api.post(`/${this.moduleRouter()}/trfopn/getFincod`, data);
loading.close(); loading.close();
if (res.respCode === SUCCESS) { if (res.respCode === SUCCESS) {
this.model.finmod.fincod = res.data; this.model.finmod.fincod = res.data;
...@@ -231,7 +231,7 @@ export default { ...@@ -231,7 +231,7 @@ export default {
ref: this.model.trdgrp.fip.pts.ref, ref: this.model.trdgrp.fip.pts.ref,
} }
const loading = this.loading(); const loading = this.loading();
let res = await Api.post(`/webapi/${this.moduleRouter()}/trfopn/defaultTrdgrpFipPtsExtkeyN1100`, data); let res = await Api.post(`/${this.moduleRouter()}/trfopn/defaultTrdgrpFipPtsExtkeyN1100`, data);
loading.close(); loading.close();
if (res.respCode === SUCCESS) { if (res.respCode === SUCCESS) {
this.model.fipDisabledFlg = res.data; this.model.fipDisabledFlg = res.data;
...@@ -250,7 +250,7 @@ export default { ...@@ -250,7 +250,7 @@ export default {
} }
const loading = this.loading(); const loading = this.loading();
let res = await Api.post(`/webapi/${this.moduleRouter()}/trfopn/defaultAccountsN1100`, data); let res = await Api.post(`/${this.moduleRouter()}/trfopn/defaultAccountsN1100`, data);
loading.close(); loading.close();
if (res.respCode === SUCCESS) { if (res.respCode === SUCCESS) {
this.model.finmod.act1Set = res.data.act1Set; this.model.finmod.act1Set = res.data.act1Set;
...@@ -260,7 +260,7 @@ export default { ...@@ -260,7 +260,7 @@ export default {
async onPctfin() { async onPctfin() {
const loading = this.loading(); const loading = this.loading();
let res = await Api.post(`/webapi/${this.moduleRouter()}/trfopn/defaultDefaultPctfinN1000`, { ...this.model.trdgrp, }); let res = await Api.post(`/${this.moduleRouter()}/trfopn/defaultDefaultPctfinN1000`, { ...this.model.trdgrp, });
loading.close(); loading.close();
if (res.respCode === SUCCESS) { if (res.respCode === SUCCESS) {
this.model.trdgrp.rec.pctfin = res.data.rec.pctfin; this.model.trdgrp.rec.pctfin = res.data.rec.pctfin;
...@@ -280,7 +280,7 @@ export default { ...@@ -280,7 +280,7 @@ export default {
ffactl: this.model.trtp.wbdp.ffactl, ffactl: this.model.trtp.wbdp.ffactl,
} }
const loading = this.loading(); const loading = this.loading();
let res = await Api.post(`/webapi/${this.moduleRouter()}/trfopn/defaultWbdpDefN1000`, data); let res = await Api.post(`/${this.moduleRouter()}/trfopn/defaultWbdpDefN1000`, data);
loading.close(); loading.close();
if (res.respCode === SUCCESS) { if (res.respCode === SUCCESS) {
this.model.trtp.wbdp.visiableFlag = res.data.visiableFlag; this.model.trtp.wbdp.visiableFlag = res.data.visiableFlag;
...@@ -336,7 +336,7 @@ export default { ...@@ -336,7 +336,7 @@ export default {
}; };
const loading = this.loading(); const loading = this.loading();
let trnName = this.root.trnName.toLowerCase(); let trnName = this.root.trnName.toLowerCase();
Api.post(`/webapi/${this.moduleRouter()}/${trnName}/cal`, params).then(res => { Api.post(`/${this.moduleRouter()}/${trnName}/cal`, params).then(res => {
loading.close(); loading.close();
if (res.respCode === SUCCESS) { if (res.respCode === SUCCESS) {
this.model.finmod.intamt = res.data.finmod.intamt; this.model.finmod.intamt = res.data.finmod.intamt;
......
...@@ -22,7 +22,7 @@ export default { ...@@ -22,7 +22,7 @@ export default {
} }
this.load = true; this.load = true;
let rtnmsg = await Api.post("/webapi/gjzf/msgsel/query", { let rtnmsg = await Api.post("/gjzf/msgsel/query", {
...this.model.sndp, ...this.model.sndp,
dir: ">", dir: ">",
pageNum: this.pagination.pageNum, pageNum: this.pagination.pageNum,
......
...@@ -22,7 +22,7 @@ export default { ...@@ -22,7 +22,7 @@ export default {
} }
this.load = true; this.load = true;
let rtnmsg = await Api.post("/webapi/gjzf/msgsel/query", { let rtnmsg = await Api.post("/gjzf/msgsel/query", {
...this.model.sndp, ...this.model.sndp,
dir: ">", dir: ">",
pageNum: this.pagination.pageNum, pageNum: this.pagination.pageNum,
......
...@@ -22,7 +22,7 @@ export default { ...@@ -22,7 +22,7 @@ export default {
} }
this.load = true; this.load = true;
let rtnmsg = await Api.post("/webapi/gjzf/msgsel/query", { let rtnmsg = await Api.post("/gjzf/msgsel/query", {
...this.model.sndp, ...this.model.sndp,
dir: ">", dir: ">",
pageNum: this.pagination.pageNum, pageNum: this.pagination.pageNum,
......
...@@ -22,7 +22,7 @@ export default { ...@@ -22,7 +22,7 @@ export default {
} }
this.load = true; this.load = true;
let rtnmsg = await Api.post("/webapi/gjzf/msgsel/query", { let rtnmsg = await Api.post("/gjzf/msgsel/query", {
...this.model.rcvp, ...this.model.rcvp,
dir: "<", dir: "<",
pageNum: this.pagination.pageNum, pageNum: this.pagination.pageNum,
......
...@@ -22,7 +22,7 @@ export default { ...@@ -22,7 +22,7 @@ export default {
} }
this.load = true; this.load = true;
let rtnmsg = await Api.post("/webapi/gjzf/msgsel/query", { let rtnmsg = await Api.post("/gjzf/msgsel/query", {
...this.model.rcvp, ...this.model.rcvp,
dir: "<", dir: "<",
pageNum: this.pagination.pageNum, pageNum: this.pagination.pageNum,
......
...@@ -22,7 +22,7 @@ export default { ...@@ -22,7 +22,7 @@ export default {
} }
this.load = true; this.load = true;
let rtnmsg = await Api.post("/webapi/gjzf/msgsel/query", { let rtnmsg = await Api.post("/gjzf/msgsel/query", {
...this.model.sndp, ...this.model.sndp,
dir: ">", dir: ">",
pageNum: this.pagination.pageNum, pageNum: this.pagination.pageNum,
......
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