| | |
| | | <el-table-column prop="title" label="审批标题" show-overflow-tooltip sortable></el-table-column> |
| | | <el-table-column prop="approvePersonName" label="编写人" show-overflow-tooltip sortable></el-table-column> |
| | | <el-table-column prop="approveMemo" label="审批意见" show-overflow-tooltip sortable></el-table-column> |
| | | <el-table-column label="操作" width="200" align="center"> |
| | | <template #default="scope"> |
| | | <el-button size="small" text type="primary" @click="onReduction(scope.row.id)">还原</el-button> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | </el-col> |
| | | </el-row> |
| | |
| | | const tableData = ref([]); |
| | | |
| | | // 列表数据请求 |
| | | const openDialog = async () => { |
| | | const uid = ref(); |
| | | const openDialog = async (id: number) => { |
| | | isShowDialog.value = true; |
| | | listQuery.searchParams.relateId=id |
| | | uid.value = id; |
| | | let res = await emergencyPlanApi().processEmergencyPlan(listQuery); |
| | | if (res.data.code === '200') { |
| | | tableData.value = res.data.data; |
| | |
| | | // 取消 |
| | | const onCancel = () => { |
| | | closeDialog(); |
| | | }; |
| | | const onReduction = async () => { |
| | | isShowDialog.value = false; |
| | | }; |
| | | // 分页 |
| | | const pageIndex = ref(); |
| | |
| | | FullScreen, |
| | | full, |
| | | listQuery, |
| | | // onSubmit, |
| | | total, |
| | | emit, |
| | | onReduction, |
| | | uid, |
| | | }; |
| | | }, |
| | | }); |