mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-23 21:36:37 +08:00
v1.9 版本 员工重置密码
This commit is contained in:
parent
ff70d5b677
commit
fe63215b2a
@ -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')
|
||||
|
||||
@ -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">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user