zhouwx
2024-11-21 a6a8e49af8c8172f4209dd94e65f53f17825cc44
src/views/safetyReview/baseSet/expertsType/index.vue
@@ -44,7 +44,7 @@
<!--      <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">
@@ -81,7 +81,7 @@
import {ElMessage, ElMessageBox} from "element-plus"
import { Plus } from '@element-plus/icons-vue'
const state = reactive({
  loading: true,
  loading: false,
  total: 0,
  expertList: [],
  title: "",
@@ -103,7 +103,7 @@
    getList()
  })
    /** 查询岗位列表 */
  const getList = async()=> {
    const getList = async()=> {
      state.loading = true;
      const res = await getExpertTypes()
      if(res.code == 200){