diff --git a/src/api/login.js b/src/api/login.js index 4be9d0d..7026f28 100644 --- a/src/api/login.js +++ b/src/api/login.js @@ -150,8 +150,10 @@ export class socialBindLogin { export function getUserTenant(data) { return request({ - url: '/system/auth/getTenant', - method: 'post', - data: data + url: '/system/auth/getListByPhone', + method: 'get', + params: { + phone: data + } }) } diff --git a/src/components/tenantSelect/tenantSelect.vue b/src/components/tenantSelect/tenantSelect.vue new file mode 100644 index 0000000..32b1356 --- /dev/null +++ b/src/components/tenantSelect/tenantSelect.vue @@ -0,0 +1,206 @@ + + + + + diff --git a/src/views/inspection/businessChannel/api/index.js b/src/views/inspection/businessChannel/api/index.js new file mode 100644 index 0000000..ba4ba61 --- /dev/null +++ b/src/views/inspection/businessChannel/api/index.js @@ -0,0 +1,52 @@ +import request from '@/utils/request' + +// 查询菜单列表 +export function listBusiness(query) { + return request({ + url: '/channel/tree', + method: 'get', + params: query + }) +} + +// 查询菜单(精简)列表 +export function listSimpleMenus() { + return request({ + url: '/system/menu/list-all-simple', + method: 'get' + }) +} + +// 查询菜单详细 +export function getBusiness(id) { + return request({ + url: '/channel/' + id, + method: 'get' + }) +} + +// 新增菜单 +export function addBusiness(data) { + return request({ + url: '/channel/add', + method: 'post', + data: data + }) +} + +// 修改菜单 +export function updateBusiness(data) { + return request({ + url: '/channel/update', + method: 'put', + data: data + }) +} + +// 删除菜单 +export function delBusiness(id) { + return request({ + url: '/channel/delete/' + id, + method: 'delete' + }) +} diff --git a/src/views/inspection/businessChannel/index.vue b/src/views/inspection/businessChannel/index.vue new file mode 100644 index 0000000..fd55297 --- /dev/null +++ b/src/views/inspection/businessChannel/index.vue @@ -0,0 +1,303 @@ + + + diff --git a/src/views/inspection/staff/api/staff.js b/src/views/inspection/staff/api/staff.js index 336092c..4bd7add 100644 --- a/src/views/inspection/staff/api/staff.js +++ b/src/views/inspection/staff/api/staff.js @@ -70,7 +70,7 @@ export function updateUser(data) { // 删除用户 export function delUser(userId) { return request({ - url: '/system/user/delete?id=' + userId, + url: '/inspectionStaff/delete?id=' + userId, method: 'delete' }) } diff --git a/src/views/inspection/staff/index.vue b/src/views/inspection/staff/index.vue index d100a60..2a1a04b 100644 --- a/src/views/inspection/staff/index.vue +++ b/src/views/inspection/staff/index.vue @@ -571,10 +571,10 @@ export default { if (!this.form.folderId) { addFolder(this.form.id).then(response => { this.form.folderId = response.data - this.$router.push({path: '/jc/shop/partner/file/file', query: {"folderId": this.form.folderId}}) + this.$router.push({path: '/jc/shop/nbgl/partner/file/file', query: {"folderId": this.form.folderId}}) }) } else { - this.$router.push({path: '/jc/shop/partner/file/file', query: {"folderId": this.form.folderId}}) + this.$router.push({path: '/jc/shop/nbgl/partner/file/file', query: {"folderId": this.form.folderId}}) } }, // 查询驾驶证类型 diff --git a/src/views/login.vue b/src/views/login.vue index d8cb2d7..ab6f26f 100644 --- a/src/views/login.vue +++ b/src/views/login.vue @@ -2,7 +2,7 @@
-
+
@@ -13,7 +13,7 @@ -
+
@@ -94,13 +94,35 @@
+
+
+ +
+ + + + + + + + + + + + + +
编辑
- +
下载
预览
分配权限 @@ -175,6 +175,7 @@