| | |
| | | <!-- <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>--> |
| | | </el-row> |
| | | |
| | | <el-table v-loading="state.loading" :data="state.expertList" :tree-props="{children: 'children', hasChildren: 'hasChildren'}" :border="true"> |
| | | <el-table v-loading="state.loading" :data="state.expertList" row-key="id" :border="true"> |
| | | <el-table-column label="分类名称" align="center" prop="classifyName" /> |
| | | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> |
| | | <template #default="scope"> |
| | |
| | | import {ElMessage, ElMessageBox} from "element-plus" |
| | | import { Plus } from '@element-plus/icons-vue' |
| | | const state = reactive({ |
| | | loading: true, |
| | | loading: false, |
| | | total: 0, |
| | | expertList: [], |
| | | title: "", |
| | |
| | | getList() |
| | | }) |
| | | /** 查询岗位列表 */ |
| | | const getList = async()=> { |
| | | const getList = async()=> { |
| | | state.loading = true; |
| | | const res = await getExpertTypes() |
| | | if(res.code == 200){ |