From ae42c57eea6c0e1184165ffa6d7b2af57c7c40d4 Mon Sep 17 00:00:00 2001
From: guanqb <18720758508@163.com>
Date: Tue, 06 Feb 2024 17:30:57 +0800
Subject: [PATCH] 重点场所管理改成消防自查,数据筛选为消防自查数据,不展示类型字段
---
src/views/publicSecurity/keynotePlaceManage.vue | 60 +++++++++++++++---------------------------------------------
1 files changed, 15 insertions(+), 45 deletions(-)
diff --git a/src/views/publicSecurity/keynotePlaceManage.vue b/src/views/publicSecurity/keynotePlaceManage.vue
index 891f8e4..f14cd0a 100644
--- a/src/views/publicSecurity/keynotePlaceManage.vue
+++ b/src/views/publicSecurity/keynotePlaceManage.vue
@@ -23,7 +23,6 @@
{{ showStatus(row.status).text }}
</el-tag>
</template>
-
</avue-crud>
@@ -54,7 +53,6 @@
export default {
data () {
-
//手机号格式校验
let validatorPhone = function (rule, value, callback) {
if (value) {
@@ -88,8 +86,7 @@
searchLabelWidth: 96,
searchShow: true,
searchMenuSpan: 3,
- menuWidth: 210,
-
+ menuWidth: 160,
height: "auto",
calcHeight: 54,
dialogWidth: 950,
@@ -111,6 +108,7 @@
searchLabelWidth: 46,
search: true,
hide: true,
+ align: 'center'
},
{
width: 110,
@@ -120,6 +118,7 @@
searchSpan: 4,
searchLabelWidth: 100,
search: true,
+ align: 'center'
}, {
width: 120,
span: 12,
@@ -131,6 +130,7 @@
validator: validatorPhone,
trigger: 'blur'
}],
+ align: 'center'
}, {
overHidee: true,
span: 12,
@@ -143,6 +143,7 @@
message: "请输入地址",
trigger: "blur",
},],
+ align: 'center'
}, {
width: 110,
label: "所属街道",
@@ -162,6 +163,7 @@
message: "请选择所属街道",
trigger: "blur",
},],
+ align: 'center'
}, {
width: 156,
// hide: true,
@@ -181,15 +183,8 @@
message: "请选择所属社区",
trigger: "blur",
},],
+ align: 'center'
},
- // {
- // width: 144,
- // label: "创建时间",
- // prop: "createTime",
- // searchSpan: 4,
-
- // },
-
{
width: 100,
addDisplay: false,
@@ -211,37 +206,9 @@
}, {
label: '待接收',
value: 4
- }]
- }, {
- width: 100,
- addDisplay: false,
- editDisplay: false,
- viewDisplay: false,
- label: '类型',
- prop: 'reportType',
- type: 'radio',
- slot: true,
- searchSpan: 4,
- searchLabelWidth: 66,
- search: true,
- dicData: [{
- label: '旅馆安全',
- value: 2
- }, {
- label: '打金店',
- value: 3
- }, {
- label: '二手手机维修',
- value: 4
- }, {
- label: '二手车交易',
- value: 5
- }, {
- label: '校园安全',
- value: 6
- }]
- },
- ],
+ }],
+ align: 'center'
+ }],
},
data: [],
@@ -283,7 +250,6 @@
showStatus () {
return (data) => {
let tags = {}
-
if (data == 1) {
tags = {
type: 'warning',
@@ -450,6 +416,7 @@
},
searchReset () {
this.query = {}
+ this.page.currentPage = 1
this.onLoad(this.page)
},
searchChange (params, done) {
@@ -517,11 +484,14 @@
currentChange (currentPage) {
this.page.currentPage = currentPage
+ this.onLoad(this.page, this.query)
},
sizeChange (pageSize) {
this.page.pageSize = pageSize
+ this.onLoad(this.page, this.query)
},
refreshChange () {
+ this.page.currentPage = 1
this.onLoad(this.page, this.query)
},
onLoad (page, params = {}) {
@@ -540,7 +510,7 @@
// }
// values.dateTime = null
// }
- values.reportType = 2
+ values.reportType = 8
this.loading = true
getList(page.currentPage, page.pageSize, values).then((res) => {
const data = res.data.data
--
Gitblit v1.9.3