diff --git a/src/project/pingchang/AppCheckpointRegistration/AppCheckpointRegistration.vue b/src/project/pingchang/AppCheckpointRegistration/AppCheckpointRegistration.vue
index 92287fc4..96be59bf 100644
--- a/src/project/pingchang/AppCheckpointRegistration/AppCheckpointRegistration.vue
+++ b/src/project/pingchang/AppCheckpointRegistration/AppCheckpointRegistration.vue
@@ -20,23 +20,30 @@
异常人员
-
-
-
-
-
+
{{gatewayName || '卡口选择'}}
卡口选择
+
+
{{handleName || '处置方式'}}
+
+
处置方式
+
@@ -61,6 +68,7 @@
+
@@ -86,13 +94,13 @@ export default {
showGateSelect: false,
gateList: [],
statusImgList: [
- require('./components/img/status0.png'),
- require('./components/img/status1.png'),
- require('./components/img/status2.png'),
- require('./components/img/status3.png'),
- require('./components/img/status4.png'),
- require('./components/img/status5.png'),
- require('./components/img/status6.png'),
+ require('./components/img/status0.png'),
+ require('./components/img/status1.png'),
+ require('./components/img/status2.png'),
+ require('./components/img/status3.png'),
+ require('./components/img/status4.png'),
+ require('./components/img/status5.png'),
+ require('./components/img/status6.png'),
],
options: [
{
@@ -101,7 +109,12 @@ export default {
backgroundColor: '#dd524d'
}
}
- ]
+ ],
+
+ handleType: '',
+ handleName: '',
+ showhandleSelect: false,
+ handleList: [],
}
},
computed: { ...mapState(['user']) },
@@ -111,6 +124,8 @@ export default {
this.getCropAreaId()
this.getGatewayList()
this.$dict.load(['EP_handleType', 'EP_riskLevel']).then(() => {
+ this.handleList = this.$dict.getDict('EP_handleType')
+ this.handleList.unshift({dictValue: '', dictName: '全部'})
this.getList()
this.getTotal()
})
@@ -136,7 +151,7 @@ export default {
this.getList()
},
getList() {
- this.$http.post(`/app/appepidemicpreventionregisterinfo/list?infoType=0¤t=${this.current}&size=10&listType=${this.tabIndex}&gatewayId=${this.gatewayId}&name=${this.keyword}&arriveAreaId=${this.areaId}`)
+ this.$http.post(`/app/appepidemicpreventionregisterinfo/list?infoType=0¤t=${this.current}&size=10&listType=${this.tabIndex}&gatewayId=${this.gatewayId}&name=${this.keyword}&arriveAreaId=${this.areaId}&handleType=${this.handleType}`)
.then((res) => {
if (res.code == 0) {
@@ -202,6 +217,12 @@ export default {
this.gatewayId = e[0].value
this.getListInit()
},
+ handleconfirm(e) {
+ console.log(e)
+ this.handleName = e[0].label
+ this.handleType = e[0].value
+ this.getListInit()
+ },
toUser(row) {
uni.navigateTo({url: `./UserInfo?id=${row.id}`})
},
@@ -304,6 +325,13 @@ export default {
.top-search {
padding: 20px 32px;
background-color: #fff;
+ display: flex;
+ .left {
+ width: 240px;
+ }
+ .right {
+ width: calc(100% - 240px);
+ }
}
.top-select {
display: flex;
@@ -428,7 +456,7 @@ export default {
}
}
}
- .gateway-name {
+ .gateway-name {
max-width: calc(100% - 48px);
word-break: break-all;
overflow: hidden;
diff --git a/src/project/pingchang/AppCheckpointRegistration/Edit.vue b/src/project/pingchang/AppCheckpointRegistration/Edit.vue
new file mode 100644
index 00000000..12ad274a
--- /dev/null
+++ b/src/project/pingchang/AppCheckpointRegistration/Edit.vue
@@ -0,0 +1,520 @@
+
+
+
+
+
+
+
diff --git a/src/project/pingchang/AppCheckpointRegistration/UserInfo.vue b/src/project/pingchang/AppCheckpointRegistration/UserInfo.vue
index 143d3548..4f57e713 100644
--- a/src/project/pingchang/AppCheckpointRegistration/UserInfo.vue
+++ b/src/project/pingchang/AppCheckpointRegistration/UserInfo.vue
@@ -36,7 +36,7 @@
-
行程信息
+
行程信息编辑
出行方式
@@ -221,7 +221,7 @@
{{item.remarks}}
-
+
@@ -286,6 +286,9 @@ export default {
}
uni.setStorageSync('checkPointContent', i)
uni.navigateTo({url: './ChangeUser?delta=1'})
+ },
+ toEdit() {
+ uni.navigateTo({url: `./Edit?id=${this.info.id}`})
}
},
}
diff --git a/src/project/pingchang/AppCommunityManagement/AppCommunityManagement.vue b/src/project/pingchang/AppCommunityManagement/AppCommunityManagement.vue
index 0d289e3d..692d4f72 100644
--- a/src/project/pingchang/AppCommunityManagement/AppCommunityManagement.vue
+++ b/src/project/pingchang/AppCommunityManagement/AppCommunityManagement.vue
@@ -1,27 +1,54 @@
@@ -73,7 +104,7 @@ export default {
name: '待管理',
},
{
- name: '已管理',
+ name: '管理中',
},
{
name: '已解除',
@@ -81,7 +112,7 @@ export default {
],
barStyle: {
'width': '24px',
- 'height': '2px',
+ 'height': '2px',
'border-radius': '0',
'bottom': '5px'
},
@@ -90,7 +121,10 @@ export default {
},
list: [],
registerTypeList: [],
- cropAreaId: ''
+ cropAreaId: '',
+ totalInfo: {},
+ showDate: false,
+ dateList: []
}
},
computed: {
@@ -100,12 +134,14 @@ export default {
// 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_registerInfoType')
+ this.registerTypeList = this.$dict.getDict('EP_handleType')
this.registerTypeList.unshift({dictValue: '', dictName: '全部'})
this.getListInit()
+ this.getTotal()
})
uni.$on('updateList', () => {
this.getListInit()
+ this.getTotal()
})
this.getCropAreaId()
},
@@ -127,8 +163,17 @@ export default {
this.getList()
},
getList() {
- this.$http.post('/app/appepidemicpreventioncommunitymanagement/list', null, {
- params: { size: 10, current: this.current, status: this.currentTabs, areaId: this.areaId, name: this.keyword, infoType: this.infoType },
+ var startDate = this.dateList[0] + ' 00:00:00'
+ var endDate = this.dateList[1] + ' 00:00:00'
+ this.$http.post('/app/appepidemicpreventioncommunitymanagement/list', null, {
+ params: {
+ size: 10,
+ current: this.current,
+ status: this.currentTabs,
+ areaId: this.areaId, name:
+ this.keyword,
+ infoType: this.infoType
+ },
}).then((res) => {
if (res.code == 0) {
res.data.records.map((item) => {
@@ -156,7 +201,21 @@ export default {
typeConfirm(e) {
this.infoType = e[0].value
this.getListInit()
- }
+ },
+
+
+ getTotal() {
+ this.$http.post(`/app/appepidemicpreventionregisterinfo/listStatistics?areaId=${this.areaId}&infoType=0`).then((res) => {
+ if (res.code == 0) {
+ this.totalInfo = res.data
+ }
+ })
+ },
+ changeDate(e) {
+ console.log(e)
+ this.dateList = [e.startDate, e.endDate]
+ this.getListInit()
+ },
},
onReachBottom() {
this.current++
@@ -181,8 +240,46 @@ export default {
}
}
}
+ .header{
+ padding: 54px 32px 48px 32px;
+ display: flex;
+ background-color: #fff;
+ margin-bottom: 4px;
+ .tab-item{
+ flex: 1;
+ text-align: center;
+
+ h2{
+ font-size: 52px;
+ font-family: DINAlternate-Bold, DINAlternate;
+ font-weight: bold;
+ height: 80px;
+ margin-bottom: 8px;
+ letter-spacing: -4px;
+ border-right: 1px solid #ddd;
+ line-height: 44px;
+ }
+ p{
+ font-size: 28px;
+ font-family: PingFangSC-Regular, PingFang SC;
+ color: #999;
+ line-height: 40px;
+ margin-top: -22px;
+ }
+ }
+ .tab-item:nth-last-of-type(1) {
+ border-right: 0;
+ }
+ }
.top-search {
padding: 20px 32px;
+ display: flex;
+ .left {
+ width: 240px;
+ }
+ .right {
+ width: calc(100% - 240px);
+ }
}
.top-select {
display: flex;