13937891274
2022-07-18 d57a6d8cca922c9a701887c0403c10d663a258cb
src/views/contingencyManagement/emergencyDrill/releaseOfDrillPlan/index.vue
@@ -8,11 +8,6 @@
              <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 />
@@ -64,7 +59,7 @@
                <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>修改
@@ -95,6 +90,7 @@
    </el-card>
    <OpenAdd ref="addRef" />
    <OpenSee ref="seeRef" />
    <FlowChart ref="flowRef"></FlowChart>
    <upData ref="upShow"></upData>
  </div>
</template>
@@ -125,6 +121,7 @@
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';
// 定义表格数据类型
@@ -166,7 +163,8 @@
    Download,
    Refresh,
    VideoPlay,
    UpData
    UpData,
    FlowChart,
  },
  setup() {
    // 选择框
@@ -228,10 +226,15 @@
    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) => {
@@ -273,6 +276,8 @@
      upShow,
      tableData,
      onOpenSee,  //查看
      onflowChart,
      flowRef,
      seeRef,
      onOpenAdd,  //新增
      addRef,