From b25ce42af46d35a5ead72212ef549866a53a27f4 Mon Sep 17 00:00:00 2001 From: tianq Date: Wed, 19 Apr 2023 17:02:41 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=87=E4=B8=AA=E4=BB=BD=EF=BC=8C=E6=97=AD?= =?UTF-8?q?=E6=97=A5=E5=9B=BE=E6=9C=AA=E5=AE=8C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/dataBoard/sida/cpts/fwqd.vue | 39 +- src/views/dataBoard/sida/cpts/zyqd.vue | 191 +++++++- .../dataBoard/sida/fuwu/gexingDetail.vue | 156 ++++++ src/views/dataBoard/sida/fuwu/gexingList.vue | 198 ++++++++ .../dataBoard/sida/fuwu/gonggongDetail.vue | 133 ++++++ .../dataBoard/sida/fuwu/gonggongList.vue | 199 ++++++++ src/views/dataBoard/sida/fuwu/list.vue | 295 ++++++++++++ src/views/dataBoard/sida/fuwu/need-detail.vue | 260 ++++++++++ src/views/dataBoard/sida/zy/goodsResList.vue | 6 +- src/views/dataBoard/sida/zy/placeResList.vue | 9 +- .../tuceng/yingji/changsuo/record.vue | 447 ------------------ .../shequzhili/tuceng/yingji/wuzi/index.vue | 2 +- 12 files changed, 1452 insertions(+), 483 deletions(-) create mode 100644 src/views/dataBoard/sida/fuwu/gexingDetail.vue create mode 100644 src/views/dataBoard/sida/fuwu/gexingList.vue create mode 100644 src/views/dataBoard/sida/fuwu/gonggongDetail.vue create mode 100644 src/views/dataBoard/sida/fuwu/gonggongList.vue create mode 100644 src/views/dataBoard/sida/fuwu/list.vue create mode 100644 src/views/dataBoard/sida/fuwu/need-detail.vue delete mode 100644 src/views/modules/shequzhili/tuceng/yingji/changsuo/record.vue diff --git a/src/views/dataBoard/sida/cpts/fwqd.vue b/src/views/dataBoard/sida/cpts/fwqd.vue index abfb219ad..933585ef5 100644 --- a/src/views/dataBoard/sida/cpts/fwqd.vue +++ b/src/views/dataBoard/sida/cpts/fwqd.vue @@ -71,17 +71,36 @@ export default { this.getPie(); } }, + handleClickItem(item) { - // const { type, name } = item; - // this.$router.push({ - // path: '/dataBoard/renfang/resi-analyze', - // query: { - // org_id: this.orgId, - // type, - // type_category: this.currentTab, - // type_name: name - // } - // }); + let typeArr = { "全部": "all", + "志愿者": "volunteer", + "社区自组织": "community_org", + "联建单位": "party_unit", + "安全应急设备":"safety_emergency_equipment", + "公共服务设备":"common_service_equipment", + "安全生产场所":"enterprise", + "应急场所":"emergency_sites", + "城市管理":"city_management" }; + // 场所资源 + let path = ''; + if (this.currentTab == '个性服务列表') { + path = 'gexingList'; + } else if (this.currentTab == '公共服务列表') { + path = 'gonggongList'; + } + this.getInfo(); + console.log("item.name",item.name) + this.$router.push({ + path: `/dataBoard/sida/fw/${path}`, + query: { + org_id: this.orgId, + type: this.currentTab, + type2: typeArr[item.name], + start_date: this.searchDate[0], + end_date: this.searchDate[1] + } + }); }, // 获取房屋总数等 async getInfo() { diff --git a/src/views/dataBoard/sida/cpts/zyqd.vue b/src/views/dataBoard/sida/cpts/zyqd.vue index 70675da7d..0e2e3f23c 100644 --- a/src/views/dataBoard/sida/cpts/zyqd.vue +++ b/src/views/dataBoard/sida/cpts/zyqd.vue @@ -19,7 +19,7 @@ + + diff --git a/src/views/dataBoard/sida/fuwu/gexingList.vue b/src/views/dataBoard/sida/fuwu/gexingList.vue new file mode 100644 index 000000000..d1ebbdfcf --- /dev/null +++ b/src/views/dataBoard/sida/fuwu/gexingList.vue @@ -0,0 +1,198 @@ + + + + + diff --git a/src/views/dataBoard/sida/fuwu/gonggongDetail.vue b/src/views/dataBoard/sida/fuwu/gonggongDetail.vue new file mode 100644 index 000000000..ddabee70d --- /dev/null +++ b/src/views/dataBoard/sida/fuwu/gonggongDetail.vue @@ -0,0 +1,133 @@ + + + + + diff --git a/src/views/dataBoard/sida/fuwu/gonggongList.vue b/src/views/dataBoard/sida/fuwu/gonggongList.vue new file mode 100644 index 000000000..a776362b9 --- /dev/null +++ b/src/views/dataBoard/sida/fuwu/gonggongList.vue @@ -0,0 +1,199 @@ + + + + + diff --git a/src/views/dataBoard/sida/fuwu/list.vue b/src/views/dataBoard/sida/fuwu/list.vue new file mode 100644 index 000000000..b916a5d3e --- /dev/null +++ b/src/views/dataBoard/sida/fuwu/list.vue @@ -0,0 +1,295 @@ + + + + + diff --git a/src/views/dataBoard/sida/fuwu/need-detail.vue b/src/views/dataBoard/sida/fuwu/need-detail.vue new file mode 100644 index 000000000..3dafde384 --- /dev/null +++ b/src/views/dataBoard/sida/fuwu/need-detail.vue @@ -0,0 +1,260 @@ + + + + + diff --git a/src/views/dataBoard/sida/zy/goodsResList.vue b/src/views/dataBoard/sida/zy/goodsResList.vue index f2cbb5ee3..d46422cdd 100644 --- a/src/views/dataBoard/sida/zy/goodsResList.vue +++ b/src/views/dataBoard/sida/zy/goodsResList.vue @@ -8,9 +8,9 @@
- 全部 - - + + + diff --git a/src/views/dataBoard/sida/zy/placeResList.vue b/src/views/dataBoard/sida/zy/placeResList.vue index de1d7feb6..9cdc4d750 100644 --- a/src/views/dataBoard/sida/zy/placeResList.vue +++ b/src/views/dataBoard/sida/zy/placeResList.vue @@ -142,7 +142,7 @@ export default { if (!this.searchDate) { this.searchDate = ['', '']; } - + this.getList(), this.getCount(); }, getDate() { @@ -178,9 +178,8 @@ export default { // 安全生产场所,城市管理,应急场所,对应enterprise,city_management,emergency_sites - this.detailType = this.type2; - console.log("this.detailId",this.detailId) + console.log('this.detailId', this.detailId); }, handlePageNoChange(page_num) { @@ -388,9 +387,9 @@ export default { if (this.type2 == 'enterprise') { url = 'place_resour_safe_product_total'; } else if (this.type2 == 'city_management') { - url = 'place_resour_safe_product_total'; + url = 'place_resour_city_management_total'; } else { - url = 'place_resour_safe_product_total'; + url = 'place_resour_emergency_sites_total'; } let danger_name = this.type2; diff --git a/src/views/modules/shequzhili/tuceng/yingji/changsuo/record.vue b/src/views/modules/shequzhili/tuceng/yingji/changsuo/record.vue deleted file mode 100644 index f226d91af..000000000 --- a/src/views/modules/shequzhili/tuceng/yingji/changsuo/record.vue +++ /dev/null @@ -1,447 +0,0 @@ - - - - - diff --git a/src/views/modules/shequzhili/tuceng/yingji/wuzi/index.vue b/src/views/modules/shequzhili/tuceng/yingji/wuzi/index.vue index a3d297b81..b6d262c3c 100644 --- a/src/views/modules/shequzhili/tuceng/yingji/wuzi/index.vue +++ b/src/views/modules/shequzhili/tuceng/yingji/wuzi/index.vue @@ -143,7 +143,7 @@ export default { gridList: [], //所属网格list--场所区域 placeTypeList: [], //场所类型 tableData: [], - resultArray: [{ value: '0', label: '正常' }, { value: '1', label: '异常' }], + resultArray: [{ value: '1', label: '正常' }, { value: '0', label: '异常' }], equipmentCategoryCodeArray: [], pageNo: 1, pageSize: window.localStorage.getItem('pageSize') || 20,