|
@@ -83,14 +83,14 @@ const query = ref({
|
|
|
const tableData = ref([])
|
|
|
const treeData = ref([])
|
|
|
const headers = [
|
|
|
- { title: t('login.username'), key: 'name' },
|
|
|
- { title: t('enterprise.userManagement.affiliatedEnterprise'), key: 'enterpriseAnotherName' },
|
|
|
- { title: t('enterprise.userManagement.post'), key: 'post.nameCn' },
|
|
|
- { title: t('enterprise.userManagement.phone'), key: 'phone' },
|
|
|
- { title: t('enterprise.userManagement.email'), key: 'email' },
|
|
|
+ { title: t('login.username'), key: 'name', sortable: false },
|
|
|
+ { title: t('enterprise.userManagement.affiliatedEnterprise'), key: 'enterpriseAnotherName', sortable: false },
|
|
|
+ { title: t('enterprise.userManagement.post'), key: 'post.nameCn', sortable: false },
|
|
|
+ { title: t('enterprise.userManagement.phone'), key: 'phone', sortable: false },
|
|
|
+ { title: t('enterprise.userManagement.email'), key: 'email', sortable: false },
|
|
|
{ title: t('enterprise.userManagement.accountType'), key: 'userType', value: item => item.userType === '1' ? t('enterprise.userManagement.administrators') : t('enterprise.userManagement.regularUser'), sortable: false },
|
|
|
{ title: t('enterprise.userManagement.lastLoginTime'), key: 'loginDate', value: item => timesTampChange(item.loginDate), sortable: false },
|
|
|
- { title: t('common.actions'), key: 'actions' }
|
|
|
+ { title: t('common.actions'), key: 'actions', sortable: false }
|
|
|
]
|
|
|
const textItem = ref({
|
|
|
type: 'text',
|