master
fanluyan 2 years ago
parent 82bf4d9d81
commit 00aaacce42

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

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

Loading…
Cancel
Save