11
This commit is contained in:
1 parent
192f8b8dca
commit
96474bee0b
2 files changed
+10
-11
No files matched your search
@@ -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,
|
||||
})
|
||||
|
||||
@@ -58,10 +58,9 @@
|
||||
<el-table-column prop="merchantId" label="商户id" />
|
||||
<el-table-column prop="merchantName" label="商户名" />
|
||||
</el-table-column>
|
||||
<el-table-column label="用户">
|
||||
<el-table-column prop="userId" label="用户id" />
|
||||
<el-table-column prop="username" label="用户" />
|
||||
<el-table-column prop="userMobile" label="用户手机号" />
|
||||
<el-table-column label="部门">
|
||||
<el-table-column prop="deptId" label="部门id" />
|
||||
<el-table-column prop="deptName" label="部门名" />
|
||||
</el-table-column>
|
||||
<el-table-column label="操作" width="150">
|
||||
<template #default="scope">
|
||||
|
||||
Reference in new issue
Block a user