diff --git a/src/api/wallet/mch-dept-user.ts b/src/api/wallet/mch-dept-user.ts index 3265ca5..201d1c4 100644 --- a/src/api/wallet/mch-dept-user.ts +++ b/src/api/wallet/mch-dept-user.ts @@ -2,7 +2,7 @@ import request from "/@/utils/request" export function asyncAll(query?: Object) { return request({ - url: "/wallet/mch-dept-user/sync-all", + url: "/wallet/mch-dept/sync-all", method: "get", params: query, }) @@ -10,7 +10,7 @@ export function asyncAll(query?: Object) { export function fetchList(query?: Object) { return request({ - url: "/wallet/mch-dept-user/page", + url: "/wallet/mch-dept/page", method: "get", params: query, }) @@ -18,7 +18,7 @@ export function fetchList(query?: Object) { export function pageJoin(query?: Object) { return request({ - url: "/wallet/mch-dept-user/page-join", + url: "/wallet/mch-dept/page-join", method: "get", params: query, }) @@ -26,7 +26,7 @@ export function pageJoin(query?: Object) { export function addObj(obj?: Object) { return request({ - url: "/wallet/mch-dept-user", + url: "/wallet/mch-dept", method: "post", data: obj, }) @@ -34,14 +34,14 @@ export function addObj(obj?: Object) { export function getObj(id?: string) { return request({ - url: "/wallet/mch-dept-user/" + id, + url: "/wallet/mch-dept/" + id, method: "get", }) } export function delObjs(ids?: Object) { return request({ - url: "/wallet/mch-dept-user", + url: "/wallet/mch-dept", method: "delete", data: ids, }) @@ -49,7 +49,7 @@ export function delObjs(ids?: Object) { export function putObj(obj?: Object) { return request({ - url: "/wallet/mch-dept-user", + url: "/wallet/mch-dept", method: "put", data: obj, }) diff --git a/src/views/mch/mch-dept-user/index.vue b/src/views/mch/mch-dept-user/index.vue index 622b7d8..6c7b595 100644 --- a/src/views/mch/mch-dept-user/index.vue +++ b/src/views/mch/mch-dept-user/index.vue @@ -58,10 +58,9 @@ - - - - + + +