人员管理国际化同步
continuous-integration/drone/push Build is passing Details

main
wangxiaoshuang 2025-08-22 14:03:57 +08:00
parent 75fd9cd7f8
commit 01cd9cf334
2 changed files with 6 additions and 6 deletions

View File

@ -208,7 +208,7 @@
<!-- 分配参与人员模态框 -->
<base-model v-if="staff_model.visible" :config="staff_model">
<template slot="dialog-body">
<StaffForm v-if="isAdd == 'Add'" @closeDialog="closeDialog" />
<StaffForm v-if="isAdd == 'Add'" :userTypeOptions='userTypeOptions' @closeDialog="closeDialog" />
<StaffExternalForm v-else @closeDialog="closeDialog" @getList="getList" />
</template>
</base-model>
@ -273,7 +273,7 @@
)
">
<template slot-scope="scope">
<span> {{ $fd('IsDisable', scope.row.IsDeleted) }}</span>
<span> {{ $fd('IsEnable', scope.row.IsDeleted) }}</span>
</template>
</el-table-column>
<el-table-column prop="IsDeleted" :label="$t(
@ -300,11 +300,11 @@
<template slot-scope="scope">
<el-button size="mini" type="text" :disabled="scope.row.IsDeleted || scope.row.UserTypeEnum === 1"
@click.stop="changeRoleStatus(scope.row, true)">
{{ $fd('IsDisable', true) }}
{{ $fd('IsEnable', true) }}
</el-button>
<el-button size="mini" type="text" :disabled="!scope.row.IsDeleted || scope.row.UserTypeEnum === 1"
@click.stop="changeRoleStatus(scope.row, false)">
{{ $fd('IsDisable', false) }}
{{ $fd('IsEnable', false) }}
</el-button>
</template>
</el-table-column>
@ -433,7 +433,7 @@ export default {
try {
let message = this.$t('trials:staff:comfirm:changeRoleStatus').replace(
'xxx',
this.$fd('IsDisable', status)
this.$fd('IsEnable', status)
)
let comfirm = await this.$confirm(message)
if (!comfirm) return false

View File

@ -66,7 +66,7 @@
<el-table-column prop="OrganizationName" :label="$t('trials:staff:table:organization')" show-overflow-tooltip
min-width="150" sortable="custom" />
<!-- 用户类型 -->
<el-table-column prop="UserType" :label="$t('trials:staff:table:userType')" show-overflow-tooltip
<el-table-column prop="UserTypeShortName" :label="$t('trials:staff:table:userType')" show-overflow-tooltip
sortable="custom" min-width="100" />
</el-table>
</div>