Browse Source

no message

master
xpz2018 9 months ago
parent
commit
7336cf893e
2 changed files with 3 additions and 3 deletions
  1. 2
      src/views/staff/staff/data.ts
  2. 4
      src/views/staff/staff/index.vue

2
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' },
]

4
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,

Loading…
Cancel
Save