Merge branch 'master' of http://8.140.50.127:3000/JSY/jsy-app
This commit is contained in:
commit
9674d3aa40
@ -54,7 +54,6 @@
|
|||||||
<!-- 地块选择 -->
|
<!-- 地块选择 -->
|
||||||
<custom-select-land ref="landRef" :data="ijs.companys" :defaultSelect="ijs.land" @getLand="getLand"
|
<custom-select-land ref="landRef" :data="ijs.companys" :defaultSelect="ijs.land" @getLand="getLand"
|
||||||
@select="landChange" />
|
@select="landChange" />
|
||||||
|
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import {
|
import {
|
||||||
@ -84,13 +83,15 @@
|
|||||||
this.landName = this.ijs.land.landName;
|
this.landName = this.ijs.land.landName;
|
||||||
this.query.landId = this.ijs.land.id;
|
this.query.landId = this.ijs.land.id;
|
||||||
this.queryList();
|
this.queryList();
|
||||||
|
}else{
|
||||||
|
this.query.landId = -1;
|
||||||
|
this.queryList();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
queryList() {
|
queryList() {
|
||||||
if (this.query.landId) {
|
if (this.query.landId) {
|
||||||
getHeadDeviceList(this.query.landId).then(res => {
|
getHeadDeviceList(this.query.landId).then(res => {
|
||||||
console.log(res)
|
|
||||||
this.$refs.paging.complete(res.data)
|
this.$refs.paging.complete(res.data)
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user