|
|
|
@ -206,17 +206,17 @@ export default {
|
|
|
|
|
zoomable: true,
|
|
|
|
|
url: "src",
|
|
|
|
|
},
|
|
|
|
|
dyOptions: [{ id: 0, name: "全部" }], //电压数据
|
|
|
|
|
xlOptions: [{ id: 0, name: "全部" }], //线路数据
|
|
|
|
|
gtOptions: [{ id: 0, name: "全部" }], //杆塔数据
|
|
|
|
|
zzOptions: [{ id: 0, name: "全部" }], //装置数据
|
|
|
|
|
tdOptions: [{ id: 0, name: "全部" }], //通道数据
|
|
|
|
|
dyOptions: [{ id: -1, name: "全部" }], //电压数据
|
|
|
|
|
xlOptions: [{ id: -1, name: "全部" }], //线路数据
|
|
|
|
|
gtOptions: [{ id: -1, name: "全部" }], //杆塔数据
|
|
|
|
|
zzOptions: [{ id: -1, name: "全部" }], //装置数据
|
|
|
|
|
tdOptions: [{ id: -1, name: "全部" }], //通道数据
|
|
|
|
|
formdata: {
|
|
|
|
|
dyid: "",
|
|
|
|
|
lineid: "",
|
|
|
|
|
towerid: "",
|
|
|
|
|
channelid: "",
|
|
|
|
|
termid: "",
|
|
|
|
|
dyid: -1,
|
|
|
|
|
lineid: -1,
|
|
|
|
|
towerid: -1,
|
|
|
|
|
channelid: -1,
|
|
|
|
|
termid: -1,
|
|
|
|
|
// timeVal: "",
|
|
|
|
|
},
|
|
|
|
|
picList: [],
|
|
|
|
@ -263,7 +263,7 @@ export default {
|
|
|
|
|
getSearchxl() {
|
|
|
|
|
getSearchInfo({ type: 2, id: this.formdata.dyid })
|
|
|
|
|
.then((res) => {
|
|
|
|
|
this.xlOptions = [{ id: 0, name: "全部" }];
|
|
|
|
|
this.xlOptions = [{ id: -1, name: "全部" }];
|
|
|
|
|
this.xlOptions = this.xlOptions.concat(res.data.list);
|
|
|
|
|
this.formdata.lineid = this.xlOptions[0].id;
|
|
|
|
|
this.getSearchgt();
|
|
|
|
@ -274,7 +274,7 @@ export default {
|
|
|
|
|
getSearchgt() {
|
|
|
|
|
getSearchInfo({ type: 3, id: this.formdata.lineid })
|
|
|
|
|
.then((res) => {
|
|
|
|
|
this.gtOptions = [{ id: 0, name: "全部" }];
|
|
|
|
|
this.gtOptions = [{ id: -1, name: "全部" }];
|
|
|
|
|
this.gtOptions = this.gtOptions.concat(res.data.list);
|
|
|
|
|
this.formdata.towerid = this.gtOptions[0].id;
|
|
|
|
|
this.getSearchzz();
|
|
|
|
@ -285,7 +285,7 @@ export default {
|
|
|
|
|
getSearchzz() {
|
|
|
|
|
getSearchInfo({ type: 4, id: this.formdata.towerid })
|
|
|
|
|
.then((res) => {
|
|
|
|
|
this.zzOptions = [{ id: 0, name: "全部" }];
|
|
|
|
|
this.zzOptions = [{ id: -1, name: "全部" }];
|
|
|
|
|
this.zzOptions = this.zzOptions.concat(res.data.list);
|
|
|
|
|
this.formdata.termid = this.zzOptions[0].id;
|
|
|
|
|
this.getSearchtd();
|
|
|
|
@ -296,7 +296,7 @@ export default {
|
|
|
|
|
getSearchtd() {
|
|
|
|
|
getSearchInfo({ type: 5, id: this.formdata.termid })
|
|
|
|
|
.then((res) => {
|
|
|
|
|
this.tdOptions = [{ id: 0, name: "全部" }];
|
|
|
|
|
this.tdOptions = [{ id: -1, name: "全部" }];
|
|
|
|
|
this.tdOptions = this.tdOptions.concat(res.data.list);
|
|
|
|
|
this.formdata.channelid = this.tdOptions[0].id;
|
|
|
|
|
// if (this.signtype == 0) {
|
|
|
|
|