{{ $t('system:userlist:title:Information') }}
-
+
-
+
-
+
-
+
+
+
+
+
+
-
-
-
+
+
+
{{ scope.row.Sex ? 'Male' : 'Female' }}
+
+ {{ $fd('UserWorkLanguage', scope.row.UserWorkLanguage) }}
+
{{
Array.isArray(scope.row.UserRoleList) &&
- scope.row.UserRoleList.length > 0
+ scope.row.UserRoleList.length > 0
? scope.row.UserRoleList.filter((item) => !item.IsUserRoleDisabled)
- .map((item) => item.UserTypeShortName)
- .join(', ')
+ .map((item) => item.UserTypeShortName)
+ .join(', ')
: ''
}}
- {{ scope.row.RoleNameList.map((role) => role.RoleName).join(', ') }}
+ {{scope.row.RoleNameList.map((role) => role.RoleName).join(', ')}}
{{
@@ -155,6 +130,14 @@ export default {
sortable: 'custom',
showOverflowTooltip: true,
},
+ {
+ // prop: 'UserWorkLanguage',
+ label: this.$t('system:userlist:table:UserWorkLanguage'),
+ minWidth: 120,
+ slot: 'UserWorkLanguageSlot',
+ sortable: 'custom',
+ showOverflowTooltip: true,
+ },
// {
// prop: 'Sex',
// label: this.$t('system:userlist:table:Gender'),
@@ -287,6 +270,15 @@ export default {
width: '120px',
placeholder: '',
},
+ {
+ type: 'Select',
+ label: this.$t('system:userlist:label:UserWorkLanguage'),
+ prop: 'UserWorkLanguage',
+ width: '100px',
+ options: [], // 下拉选项
+ props: { label: 'label', value: 'value' }, // 下拉选项配置信息,必填
+ placeholder: '',
+ },
{
type: 'Input',
label: this.$t('system:userlist:label:Phone'),
@@ -476,8 +468,10 @@ export default {
// 获取用户类型下拉选项信息
async getInfo() {
const res = await getUserTypeList()
- const index = this.findItemIndex('UserType')
+ let index = this.findItemIndex('UserType')
this.$set(this.searchForm[index], 'options', res.Result)
+ index = this.findItemIndex('UserWorkLanguage')
+ this.$set(this.searchForm[index], 'options', this.$d.UserWorkLanguage)
},
handleAddUser() {
this.$router.push({ path: '/system/user/add' })
diff --git a/src/views/trials/trials-panel/setting/personnel-manage/components/site.vue b/src/views/trials/trials-panel/setting/personnel-manage/components/site.vue
index fb398151..9062a1fb 100644
--- a/src/views/trials/trials-panel/setting/personnel-manage/components/site.vue
+++ b/src/views/trials/trials-panel/setting/personnel-manage/components/site.vue
@@ -10,29 +10,24 @@
+
+
+
+
+
-
+
-
+
@@ -41,114 +36,61 @@
{{ $t('common:button:search') }}
-
+
{{ $t('common:button:reset') }}
-
+
{{ $t('trials:sitesList:button:siteResearch') }}
-
+
{{ $t('trials:sitesList:dialogTitle:assignSite') }}
-
+
{{ $t('common:button:export') }}
-
+
{{ $t('common:button:downloadTpl') }}
-
+
{{ $t('common:button:upload') }}