From bbf935c44b77eb0997f9332cd0e7f820f2bd2804 Mon Sep 17 00:00:00 2001
From: zhaojiale <631455805@qq.com>
Date: Wed, 03 Aug 2022 15:41:37 +0800
Subject: [PATCH] 事故快报除图片外完成
---
src/views/facilityManagement/ProductionEquipment/index.vue | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/src/views/facilityManagement/ProductionEquipment/index.vue b/src/views/facilityManagement/ProductionEquipment/index.vue
index c932fbc..ad83ac6 100644
--- a/src/views/facilityManagement/ProductionEquipment/index.vue
+++ b/src/views/facilityManagement/ProductionEquipment/index.vue
@@ -38,7 +38,7 @@
</div>
</div>
<div style="padding-left: 10px">
- <el-table ref="multipleTableRef" :data="tableData" style="width: 100%">
+ <el-table ref="multipleTableRef" :data="tableData" @selection-change="handleSelectionChange" style="width: 100%">
<el-table-column type="selection" align="center" width="55" />
<el-table-column type="expand">
<template #default="scope">
@@ -142,6 +142,7 @@
// 重置
const resetForm = () => {
ruleForm.searchParams.qName = '';
+ ruleForm.searchParams.positionNum = '';
listApi();
};
const listApi = () => {
@@ -183,7 +184,7 @@
// 弹窗
const openAdd = ref();
const openD = (title: String, id: number) => {
- openAdd.value.openDailog(title,false,id,1);
+ openAdd.value.openDailog(title,true,id,1);
};
// 删除
const onDelete = (id: number) => {
@@ -226,13 +227,13 @@
}
deletAll.value = arr.toString();
if (val.length == 1) {
- // warning.value = false;
+ warning.value = false;
danger.value = false;
} else if (val.length == 0) {
- // warning.value = true;
+ warning.value = true;
danger.value = true;
} else {
- // warning.value = true;
+ warning.value = true;
danger.value = false;
}
};
--
Gitblit v1.9.2