master
fanluyan 2 years ago
parent 82bf4d9d81
commit 00aaacce42

@ -120,7 +120,6 @@ export default {
loadPrevNext: true,
loadPrevNextAmount: 1,
loadOnTransitionStart: true,
//loadOnTransitionStart: true,
},
// lazyLoading: true, //
navigation: {
@ -135,7 +134,7 @@ export default {
},
swiperOptionThumbs: {
spaceBetween: 10,
centeredSlides: false,
centeredSlides: true,
slidesPerView: "auto",
touchRatio: 0.2,
lazyLoading: true, //

@ -131,7 +131,7 @@ export default {
},
methods: {
//
async getSearchdy() {
getSearchdy() {
getSearchInfo({ type: 1 })
.then((res) => {
this.dyOptions = res.data.list;
@ -141,7 +141,7 @@ export default {
.catch((err) => {});
},
//线
async getSearchxl() {
getSearchxl() {
getSearchInfo({ type: 2, id: this.formdata.dyid })
.then((res) => {
this.xlOptions = res.data.list;
@ -151,7 +151,7 @@ export default {
.catch((err) => {});
},
//
async getSearchgt() {
getSearchgt() {
getSearchInfo({ type: 3, id: this.formdata.lineid })
.then((res) => {
this.gtOptions = res.data.list;
@ -162,7 +162,7 @@ export default {
.catch((err) => {});
},
//
async getSearchtd() {
getSearchtd() {
getSearchInfo({ type: 4, id: this.formdata.towerid })
.then((res) => {
this.tdOptions = res.data.list;
@ -173,7 +173,6 @@ export default {
},
//
getPicData() {
console.log(this.formdata);
this.loading = true;
this.$set(this.formdata, "pageindex", this.page);
this.$set(this.formdata, "pagesize", this.pageSize);
@ -181,7 +180,6 @@ export default {
this.$set(this.formdata, "endtime", this.formdata.timeVal[1]);
getRealtimePhoto(this.formdata)
.then((res) => {
console.log(res);
this.picList = res.data.list;
this.total = res.data.total;
this.loading = false;

Loading…
Cancel
Save