diff --git a/src/project/pingchang/AppCommunityManagement/AppCommunityManagement.vue b/src/project/pingchang/AppCommunityManagement/AppCommunityManagement.vue index 692d4f72..905b8dbb 100644 --- a/src/project/pingchang/AppCommunityManagement/AppCommunityManagement.vue +++ b/src/project/pingchang/AppCommunityManagement/AppCommunityManagement.vue @@ -5,16 +5,24 @@ inactive-color="#A1C1E8" :bar-style="barStyle" :active-item-style="activeStyle" active-color="#ffffff " @change="change">
-
-

{{totalInfo['今日登记']}}

-

今日返乡

+
+

{{totalInfo['待管理']}}

+

待管理

+
+
+

{{totalInfo['管理中']}}

+

管理中

+
+
+

{{totalInfo['已解除']}}

+

已解除

-

{{totalInfo['今日风险']}}

+

{{totalInfo['今日新增']}}

今日新增

-

{{totalInfo['风险处理']}}

+

{{totalInfo['新增风险']}}

新增风险

@@ -34,25 +42,20 @@
- 选择日期 {{ dateList[0] }}-{{dateList[1]}}
- 处置意见 - {{ $dict.getLabel('EP_handleType', infoType) }} + 处置意见 + {{ $dict.getLabel('EP_handleType', handleType) }}
-
+
@@ -67,15 +70,16 @@

{{item.idNumberText}}

{{item.phone}}

-

出发地-目的地

+

{{item.registerInfo.startAreaName}}-{{item.registerInfo.arriveAreaName}}

处置意见:{{$dict.getLabel('EP_handleType', item.lastRiskDisposal.handleType)}}

-
管理
- +
管理
+
排查
+
- 抵平时间:{{item.createTime}} + 抵平时间:{{item.registerInfo.arriveTime}}
@@ -97,7 +101,7 @@ export default { current: 1, keyword: '', currentTabs: 0, - infoType: '', + handleType: '', showTypeSelect: false, tabList: [ { @@ -131,8 +135,8 @@ export default { ...mapState(['user']), }, onLoad() { - // this.areaId = this.user.areaId - // this.areaName = this.user.areaName + this.areaId = this.user.areaId + this.areaName = this.user.areaName this.$dict.load('EP_CM_status', 'EP_registerInfoType', 'EP_handleType').then(() => { this.registerTypeList = this.$dict.getDict('EP_handleType') this.registerTypeList.unshift({dictValue: '', dictName: '全部'}) @@ -163,8 +167,8 @@ export default { this.getList() }, getList() { - var startDate = this.dateList[0] + ' 00:00:00' - var endDate = this.dateList[1] + ' 00:00:00' + var startDate = this.dateList.length ? this.dateList[0] + ' 00:00:00' : '' + var endDate = this.dateList.length ? this.dateList[1] + ' 00:00:00' : '' this.$http.post('/app/appepidemicpreventioncommunitymanagement/list', null, { params: { size: 10, @@ -172,7 +176,9 @@ export default { status: this.currentTabs, areaId: this.areaId, name: this.keyword, - infoType: this.infoType + queryBeginTime: startDate, + queryEndTime: endDate, + handleType: this.handleType }, }).then((res) => { if (res.code == 0) { @@ -183,8 +189,13 @@ export default { } }) }, - toDetail(id) { - uni.navigateTo({url: `./Detail?id=${id}`}) + toDetail(status, id) { + console.log(status, id) + if(status == 0) { + uni.navigateTo({url: `./HandleDetail?id=${id}`}) + }else{ + uni.navigateTo({url: `./Detail?id=${id}`}) + } }, toEdit(id) { uni.navigateTo({url: `./Add?id=${id}`}) @@ -197,15 +208,16 @@ export default { areaSelect(e) { this.areaId = e this.getListInit() + this.getTotal() }, typeConfirm(e) { - this.infoType = e[0].value + this.handleType = e[0].value this.getListInit() }, getTotal() { - this.$http.post(`/app/appepidemicpreventionregisterinfo/listStatistics?areaId=${this.areaId}&infoType=0`).then((res) => { + this.$http.post(`/app/appepidemicpreventioncommunitymanagement/listStatistics?areaId=${this.areaId}`).then((res) => { if (res.code == 0) { this.totalInfo = res.data } @@ -381,7 +393,7 @@ export default { border-radius: 4px; box-sizing: border-box; position: absolute; - bottom: 32px; + bottom: 16px; right: 32px; font-family: PingFangSC-Regular; font-size: 28px; diff --git a/src/project/pingchang/AppCommunityManagement/ChangeArea.vue b/src/project/pingchang/AppCommunityManagement/ChangeArea.vue new file mode 100644 index 00000000..f0d538bd --- /dev/null +++ b/src/project/pingchang/AppCommunityManagement/ChangeArea.vue @@ -0,0 +1,520 @@ + + + + + diff --git a/src/project/pingchang/AppCommunityManagement/Edit.vue b/src/project/pingchang/AppCommunityManagement/Edit.vue new file mode 100644 index 00000000..12ad274a --- /dev/null +++ b/src/project/pingchang/AppCommunityManagement/Edit.vue @@ -0,0 +1,520 @@ + + + + + diff --git a/src/project/pingchang/AppCommunityManagement/HandleDetail.vue b/src/project/pingchang/AppCommunityManagement/HandleDetail.vue new file mode 100644 index 00000000..6857cb0d --- /dev/null +++ b/src/project/pingchang/AppCommunityManagement/HandleDetail.vue @@ -0,0 +1,420 @@ + + + + + diff --git a/src/project/pingchang/AppCommunityManagement/ManageDetail.vue b/src/project/pingchang/AppCommunityManagement/ManageDetail.vue new file mode 100644 index 00000000..e6d6e8b3 --- /dev/null +++ b/src/project/pingchang/AppCommunityManagement/ManageDetail.vue @@ -0,0 +1,289 @@ + + + + + diff --git a/src/project/pingchang/AppCommunityManagement/components/img/address-icon.png b/src/project/pingchang/AppCommunityManagement/components/img/address-icon.png new file mode 100644 index 00000000..1994dc16 Binary files /dev/null and b/src/project/pingchang/AppCommunityManagement/components/img/address-icon.png differ diff --git a/src/project/pingchang/AppCommunityManagement/components/img/blue-icon.png b/src/project/pingchang/AppCommunityManagement/components/img/blue-icon.png new file mode 100644 index 00000000..db08e4d0 Binary files /dev/null and b/src/project/pingchang/AppCommunityManagement/components/img/blue-icon.png differ diff --git a/src/project/pingchang/AppCommunityManagement/components/img/fxry.png b/src/project/pingchang/AppCommunityManagement/components/img/fxry.png new file mode 100644 index 00000000..16c7e3c8 Binary files /dev/null and b/src/project/pingchang/AppCommunityManagement/components/img/fxry.png differ diff --git a/src/project/pingchang/AppCommunityManagement/components/img/idnumber-icon.png b/src/project/pingchang/AppCommunityManagement/components/img/idnumber-icon.png new file mode 100644 index 00000000..06ab7d26 Binary files /dev/null and b/src/project/pingchang/AppCommunityManagement/components/img/idnumber-icon.png differ diff --git a/src/project/pingchang/AppCommunityManagement/components/img/jkjc.png b/src/project/pingchang/AppCommunityManagement/components/img/jkjc.png new file mode 100644 index 00000000..36c789cd Binary files /dev/null and b/src/project/pingchang/AppCommunityManagement/components/img/jkjc.png differ diff --git a/src/project/pingchang/AppCommunityManagement/components/img/org-icon.png b/src/project/pingchang/AppCommunityManagement/components/img/org-icon.png new file mode 100644 index 00000000..93c85c58 Binary files /dev/null and b/src/project/pingchang/AppCommunityManagement/components/img/org-icon.png differ diff --git a/src/project/pingchang/AppCommunityManagement/components/img/phone-icon.png b/src/project/pingchang/AppCommunityManagement/components/img/phone-icon.png new file mode 100644 index 00000000..3f374d30 Binary files /dev/null and b/src/project/pingchang/AppCommunityManagement/components/img/phone-icon.png differ diff --git a/src/project/pingchang/AppCommunityManagement/components/img/phone2@.png b/src/project/pingchang/AppCommunityManagement/components/img/phone2@.png new file mode 100644 index 00000000..0cc0c1ca Binary files /dev/null and b/src/project/pingchang/AppCommunityManagement/components/img/phone2@.png differ diff --git a/src/project/pingchang/AppCommunityManagement/components/img/point-icon.png b/src/project/pingchang/AppCommunityManagement/components/img/point-icon.png new file mode 100644 index 00000000..0b1024b8 Binary files /dev/null and b/src/project/pingchang/AppCommunityManagement/components/img/point-icon.png differ diff --git a/src/project/pingchang/AppCommunityManagement/components/img/status0.png b/src/project/pingchang/AppCommunityManagement/components/img/status0.png new file mode 100644 index 00000000..29a2c7c3 Binary files /dev/null and b/src/project/pingchang/AppCommunityManagement/components/img/status0.png differ diff --git a/src/project/pingchang/AppCommunityManagement/components/img/status1.png b/src/project/pingchang/AppCommunityManagement/components/img/status1.png new file mode 100644 index 00000000..5f3ae938 Binary files /dev/null and b/src/project/pingchang/AppCommunityManagement/components/img/status1.png differ diff --git a/src/project/pingchang/AppCommunityManagement/components/img/status2.png b/src/project/pingchang/AppCommunityManagement/components/img/status2.png new file mode 100644 index 00000000..c4e99d04 Binary files /dev/null and b/src/project/pingchang/AppCommunityManagement/components/img/status2.png differ diff --git a/src/project/pingchang/AppCommunityManagement/components/img/status3.png b/src/project/pingchang/AppCommunityManagement/components/img/status3.png new file mode 100644 index 00000000..6ebc8e14 Binary files /dev/null and b/src/project/pingchang/AppCommunityManagement/components/img/status3.png differ diff --git a/src/project/pingchang/AppCommunityManagement/components/img/status4.png b/src/project/pingchang/AppCommunityManagement/components/img/status4.png new file mode 100644 index 00000000..9d690eb4 Binary files /dev/null and b/src/project/pingchang/AppCommunityManagement/components/img/status4.png differ diff --git a/src/project/pingchang/AppCommunityManagement/components/img/status5.png b/src/project/pingchang/AppCommunityManagement/components/img/status5.png new file mode 100644 index 00000000..e28e4976 Binary files /dev/null and b/src/project/pingchang/AppCommunityManagement/components/img/status5.png differ diff --git a/src/project/pingchang/AppCommunityManagement/components/img/status6.png b/src/project/pingchang/AppCommunityManagement/components/img/status6.png new file mode 100644 index 00000000..3e9c12a0 Binary files /dev/null and b/src/project/pingchang/AppCommunityManagement/components/img/status6.png differ diff --git a/src/project/pingchang/AppCommunityManagement/components/img/time-icon.png b/src/project/pingchang/AppCommunityManagement/components/img/time-icon.png new file mode 100644 index 00000000..d7b3df68 Binary files /dev/null and b/src/project/pingchang/AppCommunityManagement/components/img/time-icon.png differ diff --git a/src/project/pingchang/AppCommunityManagement/components/img/user-img.png b/src/project/pingchang/AppCommunityManagement/components/img/user-img.png new file mode 100644 index 00000000..ae49d85f Binary files /dev/null and b/src/project/pingchang/AppCommunityManagement/components/img/user-img.png differ