v1.9 版本 员工重置密码

This commit is contained in:
wuxw 2025-08-02 13:40:07 +08:00
parent ff70d5b677
commit fe63215b2a
2 changed files with 2 additions and 2 deletions

View File

@ -50,7 +50,7 @@ export default {
const res = await resetStaffPwd(data)
this.$message.success(
this.$t('staff.resetPasswordSuccess', { pwd: res.pwd }),
this.$t('common.resetPwdSuccess', { pwd: res.pwd }),
10000
)
this.$emit('success')

View File

@ -51,7 +51,7 @@
<el-table-column prop="address" :label="$t('staff.address')" align="center" />
<el-table-column prop="sex" :label="$t('staff.gender')" align="center">
<template slot-scope="scope">
{{ scope.row.sex === 0 ? $t('staff.male') : $t('staff.female') }}
{{ scope.row.sex == 0 ? $t('staff.male') : $t('staff.female') }}
</template>
</el-table-column>
<el-table-column :label="$t('staff.operations')" align="center" width="300">