diff --git a/src/api/admin/customer.js b/src/api/admin/customer.js
index 1241fee..f99b2ff 100644
--- a/src/api/admin/customer.js
+++ b/src/api/admin/customer.js
@@ -33,6 +33,36 @@ export function selectCustomerStaffList (parameter) {
}
+//获取企业下用户设备信息
+export function selectUserDeviceList (data) {
+ return axios({
+ url: api.icsCustomerStaff + '/selectUserDeviceList',
+ method: 'post',
+ data: data
+ })
+}
+
+export function selectEquipmentListById (data) {
+ return axios({
+ url: api.icsCustomerStaff + '/selectEquipmentListById',
+ method: 'post',
+ data: data
+ })
+}
+
+// 保存用户和设备关联
+export function saveUserEquipment (parameter) {
+ return axios({
+ url: api.icsCustomerStaff + '/saveUserEquipment',
+ method: 'post',
+ data: parameter,
+ headers: {
+ 'Content-Type': 'application/json;charset=UTF-8'
+ }
+ })
+}
+
+
export function getStaffListNotId (parameter) {
return axios({
diff --git a/src/views/admin/CustomerEdit.vue b/src/views/admin/CustomerEdit.vue
index 0bfd631..7e22d35 100644
--- a/src/views/admin/CustomerEdit.vue
+++ b/src/views/admin/CustomerEdit.vue
@@ -110,7 +110,8 @@
-
+
@@ -294,11 +295,21 @@
导入用户
-
+
+
+ {{ record.gender === '1' ? '女' : '男' }}
+
+
+ {{ record.num }}
+
- 编辑
-
+ 编辑
+
+
确定删除 {{ record.name }} 吗?
@@ -315,26 +326,57 @@
-
+
- 导入用户数据
+ :fileList='fileList'
+ :headers='headers'
+ accept='.xlsx,.xls'
+ @change='customChange'
+ :customRequest='customRequest'>
+ 导入用户数据
-
导出用户模板
+
导出用户模板
+
+
+
+
+
+
+
+ 查询
+ (deviceQueryParam = {})'>重置
+
+
+
+
+
+
+
+
+
+ {{ record.buildName + record.roomName }}
+
+
+
+
+