zhouwx
2024-12-10 0d5f2c20521598c01bc2a2d6376ab564b5effc2a
src/views/safetyReview/expertManage/applyRecords/index.vue
@@ -78,7 +78,7 @@
        <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
          <template #default="scope">
            <el-button type="primary" link @click="openDialog('view',scope.row)">查看</el-button>
            <el-button type="primary" link :disabled="scope.row.state == 2" @click="openDialog('edit',scope.row)">编辑</el-button>
            <el-button type="primary" link @click="openDialog('edit',scope.row)">编辑</el-button>
            <el-button type="primary" v-if="scope.row.state !== 2 && scope.row.state !== 4" link @click="openDialog('assess',scope.row)">评定</el-button>
            <el-button type="danger" link @click="handleDelete(scope.row)"
            >删除</el-button>
@@ -100,7 +100,7 @@
import {getCurrentInstance, onMounted, onUnmounted, reactive, ref, toRefs} from "vue";
import {ElMessage, ElMessageBox} from "element-plus";
import ExpertForm from "./components/expertForm";
import {delExpert, getExpertsList, getExpertTypes} from "../../../../api/form";
import {delExpert, getExpertsList, getExpertsPerList, getExpertTypes} from "../../../../api/form";
import { Plus } from '@element-plus/icons-vue'
const loading = ref(false);
@@ -184,7 +184,7 @@
const getList = async () => {
  loading.value = true;
  const res = await getExpertsList(data.queryParams)
  const res = await getExpertsPerList(data.queryParams)
  if(res.code == 200){
    data.expertList = res.rows
    data.total = res.total