From 9f4e449a4159c9debf5520a797393bd5df2e5908 Mon Sep 17 00:00:00 2001
From: shj <1790240199@qq.com>
Date: Mon, 18 Jul 2022 15:01:46 +0800
Subject: [PATCH] css
---
src/views/facilityManagement/InstrumentationInformation/index.vue | 21 +++++++++++++++++++--
1 files changed, 19 insertions(+), 2 deletions(-)
diff --git a/src/views/facilityManagement/InstrumentationInformation/index.vue b/src/views/facilityManagement/InstrumentationInformation/index.vue
index 9d9702b..bef886c 100644
--- a/src/views/facilityManagement/InstrumentationInformation/index.vue
+++ b/src/views/facilityManagement/InstrumentationInformation/index.vue
@@ -30,7 +30,7 @@
<el-button type="danger" :icon="Delete" plain>删除</el-button>
</div>
<div>
- <el-button :icon="Upload"></el-button>
+ <el-button :icon="Upload" @click="openUp"></el-button>
<el-button :icon="Download"></el-button>
<el-button :icon="Refresh"></el-button>
</div>
@@ -89,7 +89,7 @@
<el-table-column property="address" label="装置设施型号" align="center" sortable show-overflow-tooltip />
<el-table-column property="address" label="类型/类别外键" align="center" sortable show-overflow-tooltip />
<el-table-column property="address" label="设施部位" align="center" sortable show-overflow-tooltip />
- <el-table-column label="操作" align="center" style="width: 300px">
+ <el-table-column label="操作" align="center" width="250">
<template #default>
<el-button link type="primary" size="default" :icon="View">查看</el-button>
<el-button link type="primary" size="default" :icon="EditPen">修改</el-button>
@@ -114,10 +114,14 @@
</div>
</el-col>
</el-row>
+ <updata ref="Show"></updata>
+ <Dailog ref="ShowD"></Dailog>
</div>
</template>
<script lang="ts">
import { defineComponent, ref, reactive, watch } from 'vue';
+import updata from '/@/components/updata/updata.vue'
+import Dailog from '/@/components/equipmentDailog/Dailog.vue'
import { ElTree, TabsPaneContext } from 'element-plus';
import { EditPen, Plus, Delete, Download, Refresh, Upload } from '@element-plus/icons-vue';
interface Tree {
@@ -126,6 +130,7 @@
children?: Tree[];
}
export default defineComponent({
+ components:{updata,Dailog},
setup() {
const ruleForm = reactive({
pass: '',
@@ -240,6 +245,14 @@
const handleClick = (tab: TabsPaneContext, event: Event) => {
console.log(tab, event);
};
+ const Show=ref()
+ const openUp=()=>{
+ Show.value.openDialog()
+ }
+ const ShowD=ref()
+ const openD=()=>{
+ ShowD.value.openDailog(false)
+ }
return {
activeName,
handleClick,
@@ -250,6 +263,10 @@
filterNode,
data,
tableData,
+ Show,
+ openUp,
+ ShowD,
+ openD,
Plus,
EditPen,
Delete,
--
Gitblit v1.9.2