| | |
| | | <right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar>
|
| | | </el-row>
|
| | |
|
| | | <el-table v-loading="loading" :data="typeList" @selection-change="handleSelectionChange">
|
| | | <el-table v-loading="loading" :data="typeList" @selection-change="handleSelectionChange" stripe>
|
| | | <el-table-column type="selection" width="55" align="center" />
|
| | | <el-table-column label="字典编号" align="center" prop="dictId" />
|
| | | <el-table-column label="字典名称" align="center" prop="dictName" :show-overflow-tooltip="true"/>
|
| | |
| | | <script setup name="Dict">
|
| | | import useDictStore from '@/store/modules/dict'
|
| | | import { listType, getType, delType, addType, updateType, refreshCache } from "@/api/system/dict/type"
|
| | | import {onMounted} from "vue";
|
| | |
|
| | | const { proxy } = getCurrentInstance()
|
| | | const { sys_normal_disable } = proxy.useDict("sys_normal_disable")
|
| | |
| | | })
|
| | | }
|
| | |
|
| | | getList()
|
| | | onMounted(() => {
|
| | | getList();
|
| | | });
|
| | | </script>
|