| | |
| | | label="结果code" |
| | | header-align="center" |
| | | align="left" |
| | | min-width="150" |
| | | min-width="50" |
| | | /> |
| | | <el-table-column |
| | | prop="resultData" |
| | | label="结果数据" |
| | | header-align="center" |
| | | min-width="150" |
| | | align="center" |
| | | /> |
| | | <el-table-column |
| | |
| | | label="操作" |
| | | header-align="center" |
| | | align="center" |
| | | min-width="150" |
| | | min-width="50" |
| | | /> |
| | | <el-table-column |
| | | prop="reason" |
| | | label="原因" |
| | | header-align="center" |
| | | align="center" |
| | | min-width="100" |
| | | /> |
| | | <el-table-column |
| | | prop="handler" |
| | | label="处理人" |
| | | header-align="center" |
| | | align="center" |
| | | min-width="150" |
| | | min-width="100" |
| | | /> |
| | | <el-table-column |
| | | prop="handleTime" |
| | | label="处理时间" |
| | | :formatter="dateFormatter" |
| | | header-align="center" |
| | | align="center" |
| | | min-width="150" |
| | | min-width="100" |
| | | /> |
| | | </el-table> |
| | | <!-- 分页 --> |
| | |
| | | /> |
| | | </ContentWrap> |
| | | </el-drawer> |
| | | <!-- 快照弹窗 --> |
| | | <SuggestSnapshot ref="suggestSnapshotRef" @success="getList" /> |
| | | </template> |
| | | <script lang="ts" setup> |
| | | import type {DrawerProps} from 'element-plus' |
| | | import { getSuggestOperationRecordPage } from '@/api/model/sche/suggest/suggestOperationRecord'; |
| | | import SuggestSnapshot from './suggestSnapshot.vue' |
| | | import {dateFormatter} from '@/utils/formatTime' |
| | | import {ref} from "vue"; |
| | | |
| | | defineOptions({name: 'SuggestOperationRecord'}) |
| | |
| | | getList() |
| | | } |
| | | |
| | | /** 快照 */ |
| | | const suggestSnapshotRef = ref() |
| | | const openSnapshot = (id?: string) => { |
| | | suggestSnapshotRef.value.open(id) |
| | | } |
| | | |
| | | /** 打开弹窗 */ |
| | | const open = async (modelId?: string, scheduleTime?: string) => { |
| | | drawer.value = true |