bug
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<ai-list class="list">
|
<ai-list class="list">
|
||||||
<ai-title slot="title" title="卡口登记" isShowBottomBorder></ai-title>
|
<ai-title slot="title" title="卡口登记" isShowBottomBorder :instance="instance" :hideLevel="disabledLevel" :disabledLevel="disabledLevel" isShowArea v-model="search.arriveAreaId" @change="changeArea"></ai-title>
|
||||||
<template slot="content">
|
<template slot="content">
|
||||||
<div class="statistics-top">
|
<div class="statistics-top">
|
||||||
<div class="statistics-top__item">
|
<div class="statistics-top__item">
|
||||||
@@ -24,7 +24,7 @@
|
|||||||
<ai-search-bar bottomBorder>
|
<ai-search-bar bottomBorder>
|
||||||
<template #left>
|
<template #left>
|
||||||
<ai-select
|
<ai-select
|
||||||
v-model="search.gatewayName"
|
v-model="search.gatewayId"
|
||||||
clearable
|
clearable
|
||||||
placeholder="请选择卡口"
|
placeholder="请选择卡口"
|
||||||
:selectList="dictList"
|
:selectList="dictList"
|
||||||
@@ -92,8 +92,7 @@
|
|||||||
|
|
||||||
props: {
|
props: {
|
||||||
instance: Function,
|
instance: Function,
|
||||||
dict: Object,
|
dict: Object
|
||||||
areaId: String
|
|
||||||
},
|
},
|
||||||
|
|
||||||
data () {
|
data () {
|
||||||
@@ -102,8 +101,9 @@
|
|||||||
current: 1,
|
current: 1,
|
||||||
size: 10,
|
size: 10,
|
||||||
name: '',
|
name: '',
|
||||||
gatewayName: '',
|
gatewayId: '',
|
||||||
status: '',
|
status: '',
|
||||||
|
arriveAreaId: '',
|
||||||
createTime: ''
|
createTime: ''
|
||||||
},
|
},
|
||||||
dictList: [],
|
dictList: [],
|
||||||
@@ -135,15 +135,12 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
computed: {
|
computed: {
|
||||||
...mapState(['user']),
|
...mapState(['user'])
|
||||||
|
|
||||||
param () {
|
|
||||||
return this.search
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
|
|
||||||
created () {
|
created () {
|
||||||
this.disabledLevel = this.user.info.areaList.length - 1
|
this.disabledLevel = this.user.info.areaList.length - 1
|
||||||
|
this.search.arriveAreaId = this.user.info.areaId
|
||||||
this.loading = true
|
this.loading = true
|
||||||
|
|
||||||
this.getTotalInfo()
|
this.getTotalInfo()
|
||||||
@@ -171,7 +168,7 @@
|
|||||||
this.instance.post(`/app/appepidemicpreventionregisterinfo/list`, null, {
|
this.instance.post(`/app/appepidemicpreventionregisterinfo/list`, null, {
|
||||||
params: {
|
params: {
|
||||||
...this.search,
|
...this.search,
|
||||||
arriveAreaId: this.areaId
|
arriveAreaId: this.search.arriveAreaId
|
||||||
}
|
}
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
|
|||||||
@@ -134,7 +134,7 @@
|
|||||||
onUserChange (e) {
|
onUserChange (e) {
|
||||||
if (e.length) {
|
if (e.length) {
|
||||||
this.name = e[0].name
|
this.name = e[0].name
|
||||||
this.search.controllerUserId = e[0].openId
|
this.search.controllerUserId = e[0].sysUserId
|
||||||
} else {
|
} else {
|
||||||
this.search.controllerUserId = ''
|
this.search.controllerUserId = ''
|
||||||
this.name = ''
|
this.name = ''
|
||||||
|
|||||||
Reference in New Issue
Block a user