From 5e2aafeede13d337380f736567caf74f49713be7 Mon Sep 17 00:00:00 2001
From: linwe <872216996@qq.com>
Date: Fri, 09 Aug 2024 14:38:32 +0800
Subject: [PATCH] 代码优化
---
src/views/backblask/BackblastPubRecord.vue | 12 +++++++-----
1 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/src/views/backblask/BackblastPubRecord.vue b/src/views/backblask/BackblastPubRecord.vue
index c9b745b..115008e 100644
--- a/src/views/backblask/BackblastPubRecord.vue
+++ b/src/views/backblask/BackblastPubRecord.vue
@@ -83,7 +83,7 @@
height: "auto",
calcHeight: 54,
dialogWidth: 950,
- menuWidth: 100,
+ menuWidth: 200,
tip: false,
searchShow: true,
searchMenuSpan: 3,
@@ -91,13 +91,14 @@
index: true,
viewBtn: true,
editBtn: false,
- delBtn: false,
+ delBtn: true,
addBtn: false,
refreshBtn: false,
searchShowBtn: false,
columnBtn: false,
dialogClickModal: false,
column: [{
+ searchLabelWidth: 60,
label: "地址",
prop: "address",
minWidth: 100,
@@ -108,7 +109,7 @@
row: true,
span: 24,
}, {
- label: "社区",
+ label: "所属社区",
prop: "communityName",
align: 'center',
labelWidth: 120,
@@ -210,6 +211,7 @@
width: 120
},
{
+ labelWidth: 120,
label: "所属街道",
parent: false,
search: true,
@@ -228,6 +230,7 @@
}, ],
},
{
+ searchLabelWidth: 40,
label: "宣防单位",
prop: "deptName",
align: 'center',
@@ -418,8 +421,7 @@
type: "warning",
})
.then(() => {
- row.isDeleted = 1
- return removeTask(row)
+ return remove(row.id)
})
.then(() => {
this.onLoad(this.page)
--
Gitblit v1.9.3