diff --git a/src/api/consumer.ts b/src/api/consumer.ts index 42ad935..38fceed 100644 --- a/src/api/consumer.ts +++ b/src/api/consumer.ts @@ -38,3 +38,18 @@ export function creatContact(params: any) { export function sendMsgApi(params: any) { return request.get({ url: "/contract.contract/postsms", params }); } + +//公司下拉列表 +export function getCompanyList(params: any) { + return request.get({ url: "/user.user/getCompanyList", params }); +} + +//角色下拉列表 +export function getRolelist(params: any) { + return request.get({ url: "/user.userRole/getlist", params }); +} + +//创建用户 +export function userAdd(params: any) { + return request.post({ url: "/user.user/add", params }); +} diff --git a/src/views/consumer/lists/detail.vue b/src/views/consumer/lists/detail.vue index 9afa5d2..4d6e639 100644 --- a/src/views/consumer/lists/detail.vue +++ b/src/views/consumer/lists/detail.vue @@ -217,50 +217,7 @@
- - - - - - - - - - - - - - -
-
- +
+ +
+ + + + + + + + + + + + + + +