diff --git a/api/userManagement/customer.js b/api/userManagement/customer.js
index e69de29..10ebd46 100644
--- a/api/userManagement/customer.js
+++ b/api/userManagement/customer.js
@@ -0,0 +1,87 @@
+import request from '@/utils/request'
+
+export default {
+ // list
+ enterpriseUserQueryByPage(data) {
+ return request({
+ url: '/oil-user/oilCustomerCompanyRelation/enterpriseUserQueryByPage',
+ method: 'post',
+ data
+ })
+ },
+
+ // 公司
+ companyGetByPage(data) {
+ return request({
+ url: '/oil-user/oilCompanyInfo/getLikeByName',
+ method: 'post',
+ data
+ })
+ },
+ // 权限
+ getByRoleType() {
+ return request({
+ // 此处参数传空 获取所有权限
+ url: `/oil-user/sysRole/getByRoleType/XOIL_COMS/`,
+ method: 'get',
+ })
+ },
+ // 新增
+ enterpriseUserSave(data) {
+ return request({
+ url: '/oil-user/oilCustomerCompanyRelation/enterpriseUserSave',
+ method: 'post',
+ data
+ })
+ },
+ // 修改
+ userPermissionUpdate(data) {
+ return request({
+ url: '/oil-user/oilCustomerCompanyRelation/userPermissionUpdate',
+ method: 'post',
+ data
+ })
+ },
+ // 详情
+ getByUserId(id) {
+ return request({
+ url: `/oil-user/oilCustomerCompanyRelation/getByUserId/${id}`,
+ method: 'get',
+ })
+ },
+
+
+
+
+
+
+
+
+
+
+ // 油站渠道
+ getSiteChannelList(data) {
+ return request({
+ url: '/oil-site/oilSiteChannel/getSiteChannelList',
+ method: 'post',
+ data
+ })
+ },
+ // 权限
+ getSiteCloudRoles() {
+ return request({
+ url: '/oil-user/sysRole/getSiteCloudRoles',
+ method: 'get'
+ })
+ },
+
+ // 新增
+ saveCustomerRelationSite(data) {
+ return request({
+ url: '/oil-user/oilCustomerChannelRelation/saveCustomerRelationSite',
+ method: 'post',
+ data
+ })
+ },
+
+}
diff --git a/api/userManagement/yunSite.js b/api/userManagement/yunSite.js
index 9e68030..8c1a453 100644
--- a/api/userManagement/yunSite.js
+++ b/api/userManagement/yunSite.js
@@ -1,7 +1,7 @@
import request from '@/utils/request'
export default {
- // 司机
+ // list
customerRelationSite(data) {
return request({
url: '/oil-user/oilCustomerChannelRelation/customerRelationSite',
diff --git a/pages.json b/pages.json
index f76a92b..814f56a 100644
--- a/pages.json
+++ b/pages.json
@@ -426,14 +426,6 @@
"enablePullDownRefresh": false
}
- }, {
- "path": "yunSite/index",
- "style": {
- "navigationBarTitleText": "星油云站用户信息",
- "navigationStyle": "custom",
- "enablePullDownRefresh": false
- }
-
},
{
"path": "customer/detail",
@@ -444,6 +436,31 @@
}
},
+ {
+ "path": "customer/components/company",
+ "style": {
+ "navigationBarTitleText": "请选择公司",
+ "enablePullDownRefresh": false
+ }
+
+ },
+ {
+ "path": "customer/components/auth",
+ "style": {
+ "navigationBarTitleText": "请选择权限",
+ "enablePullDownRefresh": false
+ }
+
+ },{
+ "path": "yunSite/index",
+ "style": {
+ "navigationBarTitleText": "星油云站用户信息",
+ "navigationStyle": "custom",
+ "enablePullDownRefresh": false
+ }
+
+ },
+
{
"path": "yunSite/detail",
diff --git a/userManagement/customer/components/auth.vue b/userManagement/customer/components/auth.vue
new file mode 100644
index 0000000..1fb550f
--- /dev/null
+++ b/userManagement/customer/components/auth.vue
@@ -0,0 +1,166 @@
+
+
+
+
+
+
+
+
+ {{item.roleName}}
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/userManagement/customer/components/company.vue b/userManagement/customer/components/company.vue
new file mode 100644
index 0000000..fe3dd24
--- /dev/null
+++ b/userManagement/customer/components/company.vue
@@ -0,0 +1,183 @@
+
+
+
+
+
+
+
+
+ {{item.name}}
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/userManagement/customer/detail.vue b/userManagement/customer/detail.vue
index 9a3cc63..50b0d2f 100644
--- a/userManagement/customer/detail.vue
+++ b/userManagement/customer/detail.vue
@@ -8,26 +8,35 @@
-
-
+
+
-
-
+
+
-
-
+
+
@@ -36,38 +45,176 @@
用户权限信息
-
+
-
-
+
+
+ {{item.name}}
+
+ 选择所属公司
+
-
+
-
-
- 星油云站超级管理员
+
+
+ {{item.roleName}}
+ 选择所属权限
+
- 修改
- 保存
+ 修改
+ 保存
-
\ No newline at end of file
+
diff --git a/userManagement/yunSite/components/auth.vue b/userManagement/yunSite/components/auth.vue
index 958f07d..47955e0 100644
--- a/userManagement/yunSite/components/auth.vue
+++ b/userManagement/yunSite/components/auth.vue
@@ -1,7 +1,7 @@
-