|
|
|
@ -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;
|
|
|
|
|