From 7336cf893ed57e5f2510250ebcb52fb281d4a403 Mon Sep 17 00:00:00 2001 From: xpz2018 <107107461@qq.com> Date: Mon, 23 Jun 2025 10:59:34 +0800 Subject: [PATCH] no message --- src/views/staff/staff/data.ts | 2 +- src/views/staff/staff/index.vue | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/staff/staff/data.ts b/src/views/staff/staff/data.ts index 8d844ab..8abcd40 100644 --- a/src/views/staff/staff/data.ts +++ b/src/views/staff/staff/data.ts @@ -7,7 +7,7 @@ export const tableColumns: BasicColumn[] = [ { width: 100, title: '姓名', dataIndex: 'realName' }, { width: 120,title: '手机号', dataIndex: 'phone' }, { title: '角色', dataIndex: 'role', slots: { customRender: 'role' }, }, - { title: '微信昵称', dataIndex: 'nickName' }, + { title: '部门', dataIndex: 'departmentName' }, { width: 80, title: '员工码', dataIndex: 'code' }, { title: '添加时间', dataIndex: 'joinedTime' }, ] diff --git a/src/views/staff/staff/index.vue b/src/views/staff/staff/index.vue index 47a0e95..2e8f0b9 100644 --- a/src/views/staff/staff/index.vue +++ b/src/views/staff/staff/index.vue @@ -85,7 +85,7 @@ async function fetchDepartment() { spinning.value = true departmentList.value = await getOrganizationDepartment({departmentName: departmentName.value}) - console.log(departmentList.value) + // console.log(departmentList.value) spinning.value = false } @@ -141,7 +141,7 @@ schemas: tableFormSchema, }, beforeFetch: (arg) => { - arg.departmentId = departmentId.value + arg.orgDepartmentId = departmentId.value }, actionColumn: { width: 150,