From e2c1995f2e135b8a7433b2bdbed2f7758261ace8 Mon Sep 17 00:00:00 2001
From: linwe <872216996@qq.com>
Date: Tue, 09 Jul 2024 15:20:39 +0800
Subject: [PATCH] 公安模块添加时间查询
---
src/views/publicSecurity/noExplosionManage.vue | 51 +++++++++++++++++++++++++++++++++------------------
1 files changed, 33 insertions(+), 18 deletions(-)
diff --git a/src/views/publicSecurity/noExplosionManage.vue b/src/views/publicSecurity/noExplosionManage.vue
index 4537628..bf839ab 100644
--- a/src/views/publicSecurity/noExplosionManage.vue
+++ b/src/views/publicSecurity/noExplosionManage.vue
@@ -68,7 +68,12 @@
</div>
<div class="info-item">
<div class="info-name">门牌二维码</div>
- <div class="info-value"><img style="width: 60px;height: 60px;" :src="rowDetail.qrImg" alt="" /></div>
+ <div class="info-value">
+ <!-- <img style="width: 60px;height: 60px;" :src="rowDetail.qrImg" alt="" /> -->
+ <el-image v-if="rowDetail.qrImg" style="width: 60px; height: 60px" :src="rowDetail.qrImg"
+ @click="loockImag(rowDetail.qrImg)" :preview-src-list="srcList">
+ </el-image>
+ </div>
</div>
</div>
<div class="title">
@@ -172,6 +177,7 @@
isDetail: false,
refreshNum: 1,
rowDetail: [],
+ srcList: [],
auditRules: {
status: [{
required: true,
@@ -266,26 +272,38 @@
search: true,
searchSpan: 4,
searchLabelWidth: 96,
- }, {
+ },
+
+ {
label: "所属街道",
prop: "streetName",
span: 24,
row: true,
searchSpan: 4,
- search: true,
+ // search: true,
align: 'center'
},
{
+ parent: false,
label: "所属社区",
prop: "communityName",
- span: 24,
- row: true,
- searchSpan: 4,
+ width: 150,
search: true,
- width: 160,
- overHidden: true,
- align: 'center'
+ type: "tree",
+ searchSpan: 4,
+ dicUrl: "/api/blade-system/region/treeToCommunity",
+ props: {
+ label: "name",
+ value: "name",
+ },
+ cascader: ["gridCode"],
+ rules: [{
+ required: true,
+ message: "请选择所属社区",
+ trigger: "blur",
+ }, ],
},
+
{
label: "派出所",
prop: "pcsName",
@@ -314,15 +332,7 @@
searchSpan: 4,
align: 'center'
},
- // {
- // label: "无诈上报数量",
- // prop: "number",
- // span: 24,
- // row: true,
- // slot: true,
- // searchSpan: 4,
- // align: 'center'
- // },
+
{
width: 110,
label: "审核状态",
@@ -435,6 +445,11 @@
methods: {
+ loockImag(img) {
+ console.log("**************", img)
+ this.srcList = []
+ this.srcList.push(img)
+ },
downloadFile(url) {
window.location.href = url
--
Gitblit v1.9.3