diff --git a/src/api/supermarketerp/profitMarginReport.ts b/src/api/supermarketerp/profitMarginReport.ts index a50ab2d..3c32665 100644 --- a/src/api/supermarketerp/profitMarginReport.ts +++ b/src/api/supermarketerp/profitMarginReport.ts @@ -88,3 +88,4 @@ export function exportProfitMarginReport(params?: object) { responseType: 'blob' }) } + diff --git a/src/views/integrated/meeting/meetingRoom/form.vue b/src/views/integrated/meeting/meetingRoom/form.vue index 3383e78..77e771c 100644 --- a/src/views/integrated/meeting/meetingRoom/form.vue +++ b/src/views/integrated/meeting/meetingRoom/form.vue @@ -32,27 +32,27 @@ - - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -86,11 +86,11 @@ - - - - - + + + + + @@ -340,9 +340,9 @@ const openDialog = (id: string) => { // 获取用户下拉数据(保洁和会务人员) getUserOptions() - + // 获取管理员用户数据 - getAdminUserOptions() + // getAdminUserOptions() // 获取meetingRoom信息 if (id) { @@ -356,7 +356,7 @@ const getUserOptions = async () => { try { const res = await dropdown() const allUsers = Array.isArray(res.data) ? res.data : [] - + // 根据type字段分别赋值(type为字符串类型) cleanUserOptions.value = allUsers.filter(user => user.type === '1') // type: '1' 为保洁 serviceUserOptions.value = allUsers.filter(user => user.type === '2') // type: '2' 为会务人员 @@ -370,23 +370,23 @@ const getAdminUserOptions = async (searchKeyword?: string) => { try { adminUserLoading.value = true const params: any = {} - + // 如果有搜索关键词,添加到参数中 if (searchKeyword) { params.name = searchKeyword params.mobile = searchKeyword } - + const res = await getSimpleUserAll(params) let allUsers = Array.isArray(res.data) ? res.data : [] - + // 如果接口不支持搜索参数,在前端进行过滤 if (searchKeyword && allUsers.length > 0) { - allUsers = allUsers.filter(user => + allUsers = allUsers.filter(user => user.nameWithMobile.toLowerCase().includes(searchKeyword.toLowerCase()) ) } - + adminUserOptions.value = allUsers } catch (err: any) { console.error('获取管理员用户列表失败:', err) diff --git a/src/views/integrated/meeting/meetingRoom/index.vue b/src/views/integrated/meeting/meetingRoom/index.vue index 9552cfd..21c2ea9 100644 --- a/src/views/integrated/meeting/meetingRoom/index.vue +++ b/src/views/integrated/meeting/meetingRoom/index.vue @@ -31,12 +31,12 @@ - + - - - + + +