| | |
| | | <Plus /> |
| | | </el-icon>新建 |
| | | </el-button> |
| | | <!-- <el-button size="default" type="warning" plain disabled>--> |
| | | <!-- <el-icon>--> |
| | | <!-- <Edit />--> |
| | | <!-- </el-icon>修改--> |
| | | <!-- </el-button>--> |
| | | <el-button size="default" type="danger" plain disabled> |
| | | <el-icon> |
| | | <Delete /> |
| | |
| | | <View /> |
| | | </el-icon>查看 |
| | | </el-button> |
| | | <el-button size="small" text type="primary" @click="onOpenSee(scope.row)"> |
| | | <el-button size="small" text type="primary" @click="onflowChart(scope.row)"> |
| | | <el-icon style="margin-right: 5px;"> |
| | | <EditPen /> |
| | | </el-icon>修改 |
| | |
| | | </el-card> |
| | | <OpenAdd ref="addRef" /> |
| | | <OpenSee ref="seeRef" /> |
| | | <FlowChart ref="flowRef"></FlowChart> |
| | | <upData ref="upShow"></upData> |
| | | </div> |
| | | </template> |
| | |
| | | import {useRouter} from "vue-router" |
| | | import OpenAdd from '/@/views/contingencyManagement/emergencyDrill/releaseOfDrillPlan/component/openAdd.vue'; |
| | | import OpenSee from '/@/views/contingencyManagement/emergencyDrill/releaseOfDrillPlan/component/openSee.vue'; |
| | | import FlowChart from '/@/views/contingencyManagement/emergencyDrill/releaseOfDrillPlan/component/flowChart.vue'; |
| | | import UpData from '/@/views/contingencyManagement/panManagement/component/upData.vue'; |
| | | |
| | | // 定义表格数据类型 |
| | |
| | | Download, |
| | | Refresh, |
| | | VideoPlay, |
| | | UpData |
| | | UpData, |
| | | FlowChart, |
| | | }, |
| | | setup() { |
| | | // 选择框 |
| | |
| | | const onOpenAdd = () => { |
| | | addRef.value.openDialog(); |
| | | }; |
| | | // 打开修改用户弹窗 |
| | | // 打开查看用户弹窗 |
| | | const seeRef = ref(); |
| | | const onOpenSee = (row: TableDataRow) => { |
| | | seeRef.value.openDialog(row); |
| | | }; |
| | | // 打开修改用户弹窗 |
| | | const flowRef = ref(); |
| | | const onflowChart = (row: TableDataRow) => { |
| | | flowRef.value.openDialog(row); |
| | | }; |
| | | // 删除用户 |
| | | const onRowDel = (row: TableDataRow) => { |
| | |
| | | upShow, |
| | | tableData, |
| | | onOpenSee, //查看 |
| | | onflowChart, |
| | | flowRef, |
| | | seeRef, |
| | | onOpenAdd, //新增 |
| | | addRef, |