提交一波

This commit is contained in:
liuye
2022-09-27 14:56:05 +08:00
parent 0905a684b4
commit a9ee6b1289
8 changed files with 63 additions and 19 deletions

View File

@@ -32,8 +32,9 @@
<u-icon name="arrow-down" color="#666" size="28" style="margin-left: 4px" />
</AiAreaPicker>
</div>
<div class="item">
<span @click="showGateSelect=true">{{gatewayName || '卡口选择'}}</span>
<div class="item" @click="showGateSelect=true">
<span v-if="gatewayId">{{gatewayName || '卡口选择'}}</span>
<span v-else>卡口选择</span>
<u-icon name="arrow-down" color="#666" size="28" style="margin-left: 4px" />
</div>
</div>
@@ -111,7 +112,7 @@ export default {
this.getList()
},
getList() {
this.$http.post(`/app/appepidemicpreventionregisterinfo/list?infoType=0&current=${this.current}&size=10&listType=${this.tabIndex}&gatewayId=${this.gatewayId}&name=${this.keyword}&startAreaId=${this.areaId}`)
this.$http.post(`/app/appepidemicpreventionregisterinfo/list?infoType=0&current=${this.current}&size=10&listType=${this.tabIndex}&gatewayId=${this.gatewayId}&name=${this.keyword}&arriveAreaId=${this.areaId}`)
.then((res) => {
if (res.code == 0) {
res.data.records.map((item) => {
@@ -132,6 +133,7 @@ export default {
this.$http.post(`/app/appepidemicpreventiongateway/list?size=300&status=0`).then((res) => {
if (res.code == 0) {
this.gateList = res.data.records
this.gateList.unshift({name: '全部', id: ''})
}
})
},
@@ -154,6 +156,11 @@ export default {
toUser(row) {
uni.navigateTo({url: `./UserInfo?id=${row.id}`})
},
clearGateway() {
this.gatewayName = ''
this.gatewayId = ''
this.getListInit()
}
},
onReachBottom() {
this.current ++