refactor:仪表板关闭提示文案样式修改

This commit is contained in:
wangjiahao 2021-08-17 17:45:58 +08:00
parent effcab3ec4
commit 7d16d7eab2
2 changed files with 8 additions and 2 deletions

View File

@ -76,10 +76,10 @@
<!--关闭弹框-->
<el-dialog :visible.sync="closePanelVisible" :title="$t('panel.panel_save_tips')" :show-close="false" width="30%" class="dialog-css">
<el-row style="height: 20px">
<el-col :span="6">
<el-col :span="4">
<svg-icon icon-class="warn-tre" style="width: 20px;height: 20px;float: right" />
</el-col>
<el-col :span="16">
<el-col :span="20">
<span style="font-size: 13px;margin-left: 10px;font-weight: bold;line-height: 20px">{{ $t('panel.panel_save_warn_tips') }}</span>
</el-col>
</el-row>

View File

@ -191,6 +191,9 @@ export default {
}, {
label: this.$t('member.edit_password'), icon: 'el-icon-s-tools', type: 'success', click: this.editPassword,
show: this.checkPermission(['user:editPwd'])
}, {
label: '权限查看', icon: 'el-icon-lock', type: 'warning', click: this.showAuth,
show: this.checkPermission(['user:editPwd'])
}
],
searchConfig: {
@ -352,6 +355,9 @@ export default {
edit(row) {
this.$router.push({ name: 'system-user-form', params: row })
},
showAuth(row) {
this.$router.push({ name: 'system-user-form', params: row })
},
// edit(row) {
// this.depts = null
// this.formType = 'modify'