系统用户列表修改
This commit is contained in:
parent
f7d1ce5fa3
commit
037e75053c
|
@ -11,7 +11,6 @@
|
||||||
<el-table-column prop="id" label="ID"/>
|
<el-table-column prop="id" label="ID"/>
|
||||||
<el-table-column prop="name" :label="$t('commons.username')"/>
|
<el-table-column prop="name" :label="$t('commons.username')"/>
|
||||||
<el-table-column prop="email" :label="$t('commons.email')"/>
|
<el-table-column prop="email" :label="$t('commons.email')"/>
|
||||||
<el-table-column prop="phone" :label="$t('commons.phone')"/>
|
|
||||||
<el-table-column prop="status" :label="$t('commons.status')">
|
<el-table-column prop="status" :label="$t('commons.status')">
|
||||||
<template v-slot:default="scope">
|
<template v-slot:default="scope">
|
||||||
<el-switch v-model="scope.row.status"
|
<el-switch v-model="scope.row.status"
|
||||||
|
@ -34,8 +33,6 @@
|
||||||
<template v-slot:behind>
|
<template v-slot:behind>
|
||||||
<ms-table-operator-button :tip="$t('member.edit_password')" icon="el-icon-s-tools"
|
<ms-table-operator-button :tip="$t('member.edit_password')" icon="el-icon-s-tools"
|
||||||
type="success" @exec="editPassword(scope.row)"/>
|
type="success" @exec="editPassword(scope.row)"/>
|
||||||
<ms-table-operator-button :tip="$t('commons.set_admin')" icon="el-icon-user-solid"
|
|
||||||
type="danger" @exec="openCheckDialog(scope.row)"/>
|
|
||||||
</template>
|
</template>
|
||||||
</ms-table-operator>
|
</ms-table-operator>
|
||||||
</template>
|
</template>
|
||||||
|
@ -312,10 +309,6 @@
|
||||||
closeCheckPassword() {
|
closeCheckPassword() {
|
||||||
this.checkPasswordForm = {};
|
this.checkPasswordForm = {};
|
||||||
},
|
},
|
||||||
openCheckDialog(row) {
|
|
||||||
this.$set(this.setAdminParam, 'id', row.id);
|
|
||||||
this.checkPasswordVisible = true;
|
|
||||||
},
|
|
||||||
setAdmin(checkPasswordForm) {
|
setAdmin(checkPasswordForm) {
|
||||||
let user = getCurrentUser();
|
let user = getCurrentUser();
|
||||||
this.$set(this.setAdminParam, 'adminId', user.id);
|
this.$set(this.setAdminParam, 'adminId', user.id);
|
||||||
|
|
|
@ -56,7 +56,6 @@ export default {
|
||||||
'personal_information': 'Personal Information',
|
'personal_information': 'Personal Information',
|
||||||
'exit_system': 'Exit System',
|
'exit_system': 'Exit System',
|
||||||
'verification': 'Verification',
|
'verification': 'Verification',
|
||||||
'set_admin': 'Set Admin',
|
|
||||||
'title': 'Title',
|
'title': 'Title',
|
||||||
'custom': 'Custom',
|
'custom': 'Custom',
|
||||||
'select_date': 'Select date',
|
'select_date': 'Select date',
|
||||||
|
|
|
@ -56,7 +56,6 @@ export default {
|
||||||
'personal_information': '个人信息',
|
'personal_information': '个人信息',
|
||||||
'exit_system': '退出系统',
|
'exit_system': '退出系统',
|
||||||
'verification': '验证',
|
'verification': '验证',
|
||||||
'set_admin': '设置为管理员',
|
|
||||||
'title': '标题',
|
'title': '标题',
|
||||||
'custom': '自定义',
|
'custom': '自定义',
|
||||||
'select_date': '选择日期',
|
'select_date': '选择日期',
|
||||||
|
|
|
@ -56,7 +56,6 @@ export default {
|
||||||
'personal_information': '個人信息',
|
'personal_information': '個人信息',
|
||||||
'exit_system': '退出系統',
|
'exit_system': '退出系統',
|
||||||
'verification': '驗證',
|
'verification': '驗證',
|
||||||
'set_admin': '設置為管理員',
|
|
||||||
'title': '標題',
|
'title': '標題',
|
||||||
'custom': '自定義',
|
'custom': '自定義',
|
||||||
'select_date': '選擇日期',
|
'select_date': '選擇日期',
|
||||||
|
|
Loading…
Reference in New Issue