From 70d2ec3a55ade194b5473fa546410d62018dc45b Mon Sep 17 00:00:00 2001
From: shj <1790240199@qq.com>
Date: Mon, 18 Jul 2022 17:55:27 +0800
Subject: [PATCH] Merge branch 'master' of https://sinanoaq.cn:8888/r/gtqtOut
---
src/views/contingencyManagement/emergencyDrill/implementationOfEmergencyDrill/index.vue | 30 +++++-------------------------
1 files changed, 5 insertions(+), 25 deletions(-)
diff --git a/src/views/contingencyManagement/emergencyDrill/implementationOfEmergencyDrill/index.vue b/src/views/contingencyManagement/emergencyDrill/implementationOfEmergencyDrill/index.vue
index e29f8a7..d0c73d3 100644
--- a/src/views/contingencyManagement/emergencyDrill/implementationOfEmergencyDrill/index.vue
+++ b/src/views/contingencyManagement/emergencyDrill/implementationOfEmergencyDrill/index.vue
@@ -3,7 +3,7 @@
<el-card shadow="hover">
<div class="button_Line">
<div class="button_Left">
- <el-button size="default" type="primary" @click="onOpenAdd('新建')">
+ <el-button size="default" type="primary" @click="onOpenAdd">
<el-icon>
<Plus />
</el-icon>新建
@@ -55,22 +55,22 @@
<el-table-column prop="attachments" label="应急预案" show-overflow-tooltip sortable></el-table-column>
<el-table-column label="操作" width="260" align="center" fixed="right">
<template #default="scope">
- <el-button size="small" text type="primary" @click="onOpenSee(scope.row)">
+ <el-button size="small" text type="primary" @click="onOpenAdd(scope.row)">
<el-icon style="margin-right: 5px;">
<VideoPlay />
</el-icon>启动
</el-button>
- <el-button size="small" text type="primary" @click="onOpenSee(scope.row)">
+ <el-button size="small" text type="primary" @click="onOpenAdd(scope.row)">
<el-icon style="margin-right: 5px;">
<VideoPause />
</el-icon>废止
</el-button>
- <el-button size="small" text type="primary" @click="onOpenEdit(scope.row)">
+ <el-button size="small" text type="primary" @click="onOpenAdd(scope.row)">
<el-icon style="margin-right: 5px;">
<EditPen />
</el-icon>修改
</el-button>
- <el-button size="small" text type="primary" @click="onOpenEdit(scope.row)">
+ <el-button size="small" text type="primary" @click="onOpenAdd(scope.row)">
发起审批
</el-button>
<el-button size="small" text type="primary" @click="onRowDel(scope.row)">
@@ -97,9 +97,7 @@
/>
</div>
</el-card>
- <OpenSee ref="seeRef" />
<OpenAdd ref="addRef" />
- <OpenEdit ref="editRef" />
<upData ref="upShow"></upData>
</div>
</template>
@@ -128,8 +126,6 @@
EditPen,
} from '@element-plus/icons-vue'
import OpenAdd from '/@/views/contingencyManagement/emergencyDrill/implementationOfEmergencyDrill/component/openAdd.vue';
-import OpenEdit from '/@/views/contingencyManagement/panManagement/component/openEdit.vue';
-import OpenSee from '/@/views/contingencyManagement/panManagement/component/openSee.vue';
import UpData from '/@/views/contingencyManagement/panManagement/component/upData.vue';
// 定义表格数据类型
@@ -164,8 +160,6 @@
name: 'systemUser',
components: {
OpenAdd,
- OpenSee,
- OpenEdit,
EditPen,
Plus,
// Edit,
@@ -178,8 +172,6 @@
UpData
},
setup() {
- const seeRef = ref();
- const editRef = ref();
// 选择框
// const value = ref('');
// const options =
@@ -250,18 +242,10 @@
teamLeader: '王磊',
}
]
- //查看用户弹窗
- const onOpenSee = (row: TableDataRow) => {
- seeRef.value.openDialog(row);
- };
// 打开新增用户弹窗
const addRef = ref();
const onOpenAdd = () => {
addRef.value.openDialog();
- };
- // 打开修改用户弹窗
- const onOpenEdit = (row: TableDataRow) => {
- editRef.value.openDialog(row);
};
// 删除用户
const onRowDel = (row: TableDataRow) => {
@@ -294,10 +278,6 @@
upButton,
upShow,
tableData,
- onOpenSee, //查看
- seeRef,
- onOpenEdit, //编辑
- editRef,
onOpenAdd, //新增
addRef,
onRowDel,
--
Gitblit v1.9.2