v1.9 发布,详情查看发行版说明
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
<div slot="header" class="clearfix">
|
||||
<span>字典列表</span>
|
||||
<el-button
|
||||
v-if="checkPermission(['ADMIN','DICT_ALL','DICT_CREATE'])"
|
||||
v-permission="['ADMIN','DICT_ALL','DICT_CREATE']"
|
||||
class="filter-item"
|
||||
size="mini"
|
||||
style="float: right;padding: 4px 10px"
|
||||
@@ -19,11 +19,11 @@
|
||||
<el-table v-loading="loading" :data="data" size="small" highlight-current-row style="width: 100%;" @current-change="handleCurrentChange">
|
||||
<el-table-column :show-overflow-tooltip="true" prop="name" label="名称"/>
|
||||
<el-table-column :show-overflow-tooltip="true" prop="remark" label="描述"/>
|
||||
<el-table-column label="操作" width="150px" align="center">
|
||||
<el-table-column v-if="checkPermission(['ADMIN','DICT_ALL','DICT_EDIT','DICT_DELETE'])" label="操作" width="130px" align="center">
|
||||
<template slot-scope="scope">
|
||||
<edit v-if="checkPermission(['ADMIN','DICT_ALL','DICT_EDIT'])" :data="scope.row" :sup_this="sup_this"/>
|
||||
<edit v-permission="['ADMIN','DICT_ALL','DICT_EDIT']" :data="scope.row" :sup_this="sup_this"/>
|
||||
<el-popover
|
||||
v-if="checkPermission(['ADMIN','DICT_ALL','DICT_DELETE'])"
|
||||
v-permission="['ADMIN','DICT_ALL','DICT_DELETE']"
|
||||
:ref="scope.row.id"
|
||||
placement="top"
|
||||
width="180">
|
||||
@@ -32,7 +32,7 @@
|
||||
<el-button size="mini" type="text" @click="$refs[scope.row.id].doClose()">取消</el-button>
|
||||
<el-button :loading="delLoading" type="primary" size="mini" @click="subDelete(scope.row.id)">确定</el-button>
|
||||
</div>
|
||||
<el-button slot="reference" type="danger" size="mini">删除</el-button>
|
||||
<el-button slot="reference" type="danger" icon="el-icon-delete" size="mini"/>
|
||||
</el-popover>
|
||||
</template>
|
||||
</el-table-column>
|
||||
@@ -49,11 +49,7 @@
|
||||
<el-col :xs="24" :sm="24" :md="14" :lg="14" :xl="14">
|
||||
<el-card class="box-card">
|
||||
<div slot="header" class="clearfix">
|
||||
<span>字典详情
|
||||
<span style="color: #317EF3">
|
||||
{{ this.$refs.dictDetail ? this.$refs.dictDetail.dictName : '' }}
|
||||
</span>
|
||||
</span>
|
||||
<span>字典详情</span>
|
||||
<el-button
|
||||
v-if="checkPermission(['ADMIN','DICT_ALL','DICT_CREATE']) && this.$refs.dictDetail && this.$refs.dictDetail.dictName"
|
||||
class="filter-item"
|
||||
|
||||
Reference in New Issue
Block a user