大喇叭
This commit is contained in:
@@ -61,7 +61,7 @@ export default {
|
||||
this.current = 1
|
||||
this.getList()
|
||||
},
|
||||
getList() { //&areaId=${this.areaId}
|
||||
getList() {
|
||||
this.$http.post(`/app/appdlbquipment/list?current=1&size=20&name=${this.keyword}&areaId=${this.areaId}`).then((res) => {
|
||||
if (res.code == 0) {
|
||||
if (this.current > 1) {
|
||||
@@ -77,7 +77,8 @@ export default {
|
||||
}
|
||||
},
|
||||
onReachBottom() {
|
||||
|
||||
this.current++
|
||||
this.getList()
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
@@ -48,7 +48,7 @@ export default {
|
||||
}
|
||||
},
|
||||
computed: { ...mapState(['user']) },
|
||||
onLoad(option) {
|
||||
onLoad() {
|
||||
this.areaId = this.user.areaId
|
||||
this.areaName = this.user.areaName
|
||||
this.$dict.load(['dlbDevStatus']).then(() => {
|
||||
@@ -61,7 +61,7 @@ export default {
|
||||
this.getList()
|
||||
},
|
||||
getList() {
|
||||
this.$http.post(`/app/appdlbquipment/list?current=1&size=20&name=${this.keyword}&devStatus=5&areaId=${this.areaId}`).then((res) => {
|
||||
this.$http.post(`/app/appdlbquipment/list?current=1&size=1000&name=${this.keyword}&devStatus=5&areaId=${this.areaId}`).then((res) => {
|
||||
if (res.code == 0) {
|
||||
res.data.records.map(item => {
|
||||
item.isCheck = false
|
||||
|
||||
Reference in New Issue
Block a user