Commit 47a716ad by fukai

去除多余的webapi

parent 37ba9e77
......@@ -141,7 +141,7 @@ export default {
async handleSearch() {
//查询接口
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) {
this.tableData = res.data.list;
this.pagination.total = parseInt(res.data.total) || 0;
......
......@@ -94,7 +94,7 @@ export default {
// 获取记账机构下拉列表
async queryOrgList() {
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
});
loading.close();
......
......@@ -549,7 +549,7 @@ export default {
j_username: sessionStorage.getItem('j_username'),
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);
if (res.respCode === SUCCESS) {
if (res.data) {
......@@ -662,7 +662,7 @@ export default {
},
//签到
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)
if (res.respCode == SUCCESS) {
if (param.isLogin == 'Y') {
......@@ -700,7 +700,7 @@ export default {
},
//签退
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.data.rtnCod == 'AAAAAA') {
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