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 }} +