人员管理国际化同步
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
75fd9cd7f8
commit
01cd9cf334
|
|
@ -208,7 +208,7 @@
|
||||||
<!-- 分配参与人员模态框 -->
|
<!-- 分配参与人员模态框 -->
|
||||||
<base-model v-if="staff_model.visible" :config="staff_model">
|
<base-model v-if="staff_model.visible" :config="staff_model">
|
||||||
<template slot="dialog-body">
|
<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" />
|
<StaffExternalForm v-else @closeDialog="closeDialog" @getList="getList" />
|
||||||
</template>
|
</template>
|
||||||
</base-model>
|
</base-model>
|
||||||
|
|
@ -273,7 +273,7 @@
|
||||||
)
|
)
|
||||||
">
|
">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span> {{ $fd('IsDisable', scope.row.IsDeleted) }}</span>
|
<span> {{ $fd('IsEnable', scope.row.IsDeleted) }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="IsDeleted" :label="$t(
|
<el-table-column prop="IsDeleted" :label="$t(
|
||||||
|
|
@ -300,11 +300,11 @@
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-button size="mini" type="text" :disabled="scope.row.IsDeleted || scope.row.UserTypeEnum === 1"
|
<el-button size="mini" type="text" :disabled="scope.row.IsDeleted || scope.row.UserTypeEnum === 1"
|
||||||
@click.stop="changeRoleStatus(scope.row, true)">
|
@click.stop="changeRoleStatus(scope.row, true)">
|
||||||
{{ $fd('IsDisable', true) }}
|
{{ $fd('IsEnable', true) }}
|
||||||
</el-button>
|
</el-button>
|
||||||
<el-button size="mini" type="text" :disabled="!scope.row.IsDeleted || scope.row.UserTypeEnum === 1"
|
<el-button size="mini" type="text" :disabled="!scope.row.IsDeleted || scope.row.UserTypeEnum === 1"
|
||||||
@click.stop="changeRoleStatus(scope.row, false)">
|
@click.stop="changeRoleStatus(scope.row, false)">
|
||||||
{{ $fd('IsDisable', false) }}
|
{{ $fd('IsEnable', false) }}
|
||||||
</el-button>
|
</el-button>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|
@ -433,7 +433,7 @@ export default {
|
||||||
try {
|
try {
|
||||||
let message = this.$t('trials:staff:comfirm:changeRoleStatus').replace(
|
let message = this.$t('trials:staff:comfirm:changeRoleStatus').replace(
|
||||||
'xxx',
|
'xxx',
|
||||||
this.$fd('IsDisable', status)
|
this.$fd('IsEnable', status)
|
||||||
)
|
)
|
||||||
let comfirm = await this.$confirm(message)
|
let comfirm = await this.$confirm(message)
|
||||||
if (!comfirm) return false
|
if (!comfirm) return false
|
||||||
|
|
|
||||||
|
|
@ -66,7 +66,7 @@
|
||||||
<el-table-column prop="OrganizationName" :label="$t('trials:staff:table:organization')" show-overflow-tooltip
|
<el-table-column prop="OrganizationName" :label="$t('trials:staff:table:organization')" show-overflow-tooltip
|
||||||
min-width="150" sortable="custom" />
|
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" />
|
sortable="custom" min-width="100" />
|
||||||
</el-table>
|
</el-table>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue