BUG 29477

This commit is contained in:
aixianling
2022-05-05 15:54:33 +08:00
parent 04f788f0ad
commit ee0d844494
3 changed files with 25 additions and 15 deletions

View File

@@ -3,7 +3,7 @@
<AiTopFixed v-if="isAdmin">
<div class="pad-t32"></div>
<div class="select-gird">
<AiPagePicker type="custom" @select="confirmSelect" v-model="girdId"
<AiPagePicker type="custom" @select="confirmSelect" v-model="girdId" self
:ops="{url:'../AppGridManagement/SelectGird',label: 'girdName'}">
<div flex class="center">
<img src="./components/img/gird-icon.png" alt="" class="gird-icon">
@@ -142,14 +142,14 @@ export default {
status = 0
}
this.$http.post(`/app/appepidemicbackhomerecord/list?current=${this.current}&size=10&status=${status}&name=${this.name}&arriveGirdId=${this.girdId}`)
.then((res) => {
if (res.code == 0) {
res.data.records.map((item) => {
item.idNumber = item.idNumber.replace(/(.{6}).*(.{4})/, "$1********$2")
})
this.list = this.current > 1 ? [...this.list, ...res.data.records] : res.data.records
}
.then((res) => {
if (res.code == 0) {
res.data.records.map((item) => {
item.idNumber = item.idNumber.replace(/(.{6}).*(.{4})/, "$1********$2")
})
this.list = this.current > 1 ? [...this.list, ...res.data.records] : res.data.records
}
})
},
getTotal() {
this.$http.post(`/app/appepidemicbackhomerecord/statistic?arriveGirdId=${this.girdId}`).then((res) => {
@@ -388,7 +388,8 @@ export default {
vertical-align: middle;
margin-right: 8px;
}
.center{
.center {
justify-content: center;
}