From ba43a5f1358f1c712abea3719f48fa1e598098c7 Mon Sep 17 00:00:00 2001 From: shijingjing <1789544664@qq.com> Date: Thu, 21 Apr 2022 13:35:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8B=E6=8B=89=E6=B8=85=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AppNeighborLinkage/AppNeighborLinkage.vue | 22 +++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/project/sanjianxi/AppNeighborLinkage/AppNeighborLinkage.vue b/project/sanjianxi/AppNeighborLinkage/AppNeighborLinkage.vue index 81e05da..76cd3cf 100644 --- a/project/sanjianxi/AppNeighborLinkage/AppNeighborLinkage.vue +++ b/project/sanjianxi/AppNeighborLinkage/AppNeighborLinkage.vue @@ -6,17 +6,19 @@
- + 全部状态 {{ $dict.getLabel('partyFourLinkageStatus',status) }} +
-
+
时间选择 {{ linksageDate }} - + +
@@ -64,10 +66,22 @@ export default { }, list: [], current: 1, + array: [], } }, onShow() { - this.$dict.load('partyFourLinkageStatus') + this.$dict.load('partyFourLinkageStatus').then(()=>{ + this.array = this.$dict.getDict('partyFourLinkageStatus').map(item=>{ + return { + label: item.dictName, + value: item.dictValue, + } + }) + this.array.unshift({ + label: '全部', + value: '' + }) + }) uni.$on('update', ()=>{ this.getList() })