From d1a430e88df40d76558a14f890ac0dbd3181f3a0 Mon Sep 17 00:00:00 2001 From: shj <1790240199@qq.com> Date: 星期二, 06 九月 2022 14:30:14 +0800 Subject: [PATCH] 对接 --- src/views/contingencyManagement/emergencyDrill/releaseOfDrillPlan/index.vue | 28 ++++++++++++++++++++-------- 1 files changed, 20 insertions(+), 8 deletions(-) diff --git a/src/views/contingencyManagement/emergencyDrill/releaseOfDrillPlan/index.vue b/src/views/contingencyManagement/emergencyDrill/releaseOfDrillPlan/index.vue index 3f5a234..b1a7099 100644 --- a/src/views/contingencyManagement/emergencyDrill/releaseOfDrillPlan/index.vue +++ b/src/views/contingencyManagement/emergencyDrill/releaseOfDrillPlan/index.vue @@ -44,17 +44,29 @@ /> <el-table-column prop="drillName" label="演练名称" show-overflow-tooltip sortable></el-table-column> <el-table-column prop="drillAddress" label="演练地点" show-overflow-tooltip sortable></el-table-column> - <el-table-column prop="drillWay" label="演练方式" show-overflow-tooltip sortable></el-table-column> - <el-table-column prop="drillLevel" label="演练级别" show-overflow-tooltip sortable></el-table-column> + <el-table-column prop="drillWay" label="演练方式" show-overflow-tooltip sortable> + <template #default="scope"> + <span v-if="scope.row.drillWay == 1">综合</span> + <span v-if="scope.row.drillWay == 2">桌面</span> + <span v-if="scope.row.drillWay == 3">专项</span> + </template> + </el-table-column> + <el-table-column prop="drillLevel" label="演练级别" show-overflow-tooltip sortable> + <template #default="scope"> + <span v-if="scope.row.drillLevel == 1">公司级</span> + <span v-if="scope.row.drillLevel == 2">分厂级</span> + <span v-if="scope.row.drillLevel == 3">车间级</span> + </template> + </el-table-column> <el-table-column prop="drillPlanDate" label="计划演练日期" show-overflow-tooltip sortable></el-table-column> <el-table-column prop="gmtModitify" label="修改时间" show-overflow-tooltip sortable></el-table-column> <el-table-column label="操作" width="260" align="center"> <template #default="scope"> - <el-button size="small" text type="primary" @click="releaseOfDrillPlan(0)"> - <el-icon style="margin-right: 5px;"> - <VideoPlay /> - </el-icon>启动 - </el-button> + <!--<el-button size="small" text type="primary" @click="releaseOfDrillPlan(0)">--> + <!--<el-icon style="margin-right: 5px;">--> + <!--<VideoPlay />--> + <!--</el-icon>启动--> + <!--</el-button>--> <el-button size="small" text type="primary" @click="onEdit('详情',scope.row.id)"> <el-icon style="margin-right: 5px;"> <View /> @@ -120,7 +132,7 @@ import OpenAdd from '/@/views/contingencyManagement/emergencyDrill/releaseOfDrillPlan/component/openAdd.vue'; // import FlowChart from '/@/views/contingencyManagement/emergencyDrill/releaseOfDrillPlan/component/flowChart.vue'; import UpData from '/@/views/contingencyManagement/panManagement/component/upData.vue'; -import { releaseDrillPlanApi } from '/@/api/emergencyDrillPlan'; +import { releaseDrillPlanApi } from '/@/api/contingencyManagement/emergencyDrillPlan'; export default defineComponent({ name: 'systemUser', -- Gitblit v1.9.2