大喇叭

This commit is contained in:
liuye
2022-06-11 14:38:37 +08:00
parent fca39122a8
commit ee1909afc4
7 changed files with 39 additions and 19 deletions

View File

@@ -24,6 +24,7 @@
</div>
</div>
</div>
<AiEmpty v-if="!list.length"></AiEmpty>
</div>
</template>
<script>
@@ -57,8 +58,8 @@ export default {
this.current = 1
this.getList()
},
getList() {
this.$http.post(`/app/appdlbquipment/list?current=1&size=20&name=${this.keyword}`).then((res) => {
getList() { //&areaId=${this.areaId}
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) {
this.list = [...this.list, ...res.data.records]