| | |
| | | <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> |
| | |
| | | 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); |
| | |
| | | |
| | | 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 |