Commit 47a716ad by fukai

去除多余的webapi

parent 37ba9e77
...@@ -141,7 +141,7 @@ export default { ...@@ -141,7 +141,7 @@ export default {
async handleSearch() { async handleSearch() {
//查询接口 //查询接口
this.load = true; this.load = true;
const res = await Api.post('/webapi/public/glesel/list', this.model); const res = await Api.post('/public/glesel/list', this.model);
if (res.respCode === SUCCESS) { if (res.respCode === SUCCESS) {
this.tableData = res.data.list; this.tableData = res.data.list;
this.pagination.total = parseInt(res.data.total) || 0; this.pagination.total = parseInt(res.data.total) || 0;
......
...@@ -94,7 +94,7 @@ export default { ...@@ -94,7 +94,7 @@ export default {
// 获取记账机构下拉列表 // 获取记账机构下拉列表
async queryOrgList() { async queryOrgList() {
const loading = this.loading(); const loading = this.loading();
let res = await Api.post('/webapi/business/userinfo/user/getAccBchList', { let res = await Api.post('/business/userinfo/user/getAccBchList', {
bchkeyinr: this.model.limpan.branch bchkeyinr: this.model.limpan.branch
}); });
loading.close(); loading.close();
......
...@@ -549,7 +549,7 @@ export default { ...@@ -549,7 +549,7 @@ export default {
j_username: sessionStorage.getItem('j_username'), j_username: sessionStorage.getItem('j_username'),
curOrgId: param, curOrgId: param,
}; };
//const res = await Api.post('/webapi/manager/login/changeOrg', params); //const res = await Api.post('/manager/login/changeOrg', params);
const res = await Api.post('/admin/login/changeOrg', params); const res = await Api.post('/admin/login/changeOrg', params);
if (res.respCode === SUCCESS) { if (res.respCode === SUCCESS) {
if (res.data) { if (res.data) {
...@@ -662,7 +662,7 @@ export default { ...@@ -662,7 +662,7 @@ export default {
}, },
//签到 //签到
async SignIn(param) { async SignIn(param) {
let res = await Api.post('/webapi/public/taskdist/user/signin', param); let res = await Api.post('/public/taskdist/user/signin', param);
console.log('res:', res) console.log('res:', res)
if (res.respCode == SUCCESS) { if (res.respCode == SUCCESS) {
if (param.isLogin == 'Y') { if (param.isLogin == 'Y') {
...@@ -700,7 +700,7 @@ export default { ...@@ -700,7 +700,7 @@ export default {
}, },
//签退 //签退
async SignOut(param) { async SignOut(param) {
let res = await Api.post('/webapi/public/taskdist/user/logout', param); let res = await Api.post('/public/taskdist/user/logout', param);
if (res.respCode == SUCCESS) { if (res.respCode == SUCCESS) {
if (res.data.rtnCod == 'AAAAAA') { if (res.data.rtnCod == 'AAAAAA') {
this.$notify({ this.$notify({
......
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