| | |
| | | <el-table-column label="字典名称" align="center" prop="dictName" :show-overflow-tooltip="true" /> |
| | | <el-table-column label="字典类型" align="center" :show-overflow-tooltip="true"> |
| | | <template slot-scope="scope"> |
| | | <router-link :to="'/dict/type/data/' + scope.row.dictId" class="link-type"> |
| | | <router-link :to="'/system/dict-data/index/' + scope.row.dictId" class="link-type"> |
| | | <span>{{ scope.row.dictType }}</span> |
| | | </router-link> |
| | | </template> |
| | |
| | | |
| | | <script> |
| | | import { listType, getType, delType, addType, updateType, exportType, refreshCache } from "@/api/system/dict/type"; |
| | | // 字典标签组件(使用频繁可在全局挂载) |
| | | import DictTag from '@/components/DictTag' |
| | | |
| | | export default { |
| | | name: "Dict", |
| | | components: { |
| | | DictTag |
| | | }, |
| | | data() { |
| | | return { |
| | | // 遮罩层 |