forked from github/dataease
refactor:仪表板关闭提示文案样式修改
This commit is contained in:
parent
effcab3ec4
commit
7d16d7eab2
@ -76,10 +76,10 @@
|
|||||||
<!--关闭弹框-->
|
<!--关闭弹框-->
|
||||||
<el-dialog :visible.sync="closePanelVisible" :title="$t('panel.panel_save_tips')" :show-close="false" width="30%" class="dialog-css">
|
<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-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" />
|
<svg-icon icon-class="warn-tre" style="width: 20px;height: 20px;float: right" />
|
||||||
</el-col>
|
</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>
|
<span style="font-size: 13px;margin-left: 10px;font-weight: bold;line-height: 20px">{{ $t('panel.panel_save_warn_tips') }}</span>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
|
@ -191,6 +191,9 @@ export default {
|
|||||||
}, {
|
}, {
|
||||||
label: this.$t('member.edit_password'), icon: 'el-icon-s-tools', type: 'success', click: this.editPassword,
|
label: this.$t('member.edit_password'), icon: 'el-icon-s-tools', type: 'success', click: this.editPassword,
|
||||||
show: this.checkPermission(['user:editPwd'])
|
show: this.checkPermission(['user:editPwd'])
|
||||||
|
}, {
|
||||||
|
label: '权限查看', icon: 'el-icon-lock', type: 'warning', click: this.showAuth,
|
||||||
|
show: this.checkPermission(['user:editPwd'])
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
searchConfig: {
|
searchConfig: {
|
||||||
@ -352,6 +355,9 @@ export default {
|
|||||||
edit(row) {
|
edit(row) {
|
||||||
this.$router.push({ name: 'system-user-form', params: row })
|
this.$router.push({ name: 'system-user-form', params: row })
|
||||||
},
|
},
|
||||||
|
showAuth(row) {
|
||||||
|
this.$router.push({ name: 'system-user-form', params: row })
|
||||||
|
},
|
||||||
// edit(row) {
|
// edit(row) {
|
||||||
// this.depts = null
|
// this.depts = null
|
||||||
// this.formType = 'modify'
|
// this.formType = 'modify'
|
||||||
|
Loading…
Reference in New Issue
Block a user