修改bug

hn2.0
fanluyan 2 years ago
parent fe6979c7b3
commit ce94805059

@ -462,6 +462,7 @@ export default {
flex-direction: column;
height: calc(100% - 0px);
box-sizing: border-box;
.showPic {
position: fixed;
background-color: rgba(0, 0, 0, 0.5);

@ -85,7 +85,7 @@
min-width="120"
>
<template slot-scope="scope">
<el-link @click="handleLineLink(scope.row)">{{
<el-link @click.native.stop="handleRevisePhoto(scope.row)">{{
scope.row.lineName
}}</el-link>
</template>
@ -97,7 +97,7 @@
min-width="150"
>
<template slot-scope="scope">
<el-link @click="handletowerLink(scope.row)">{{
<el-link @click.native.stop="handleRevisePhoto(scope.row)">{{
scope.row.towerName
}}</el-link>
</template>

@ -140,9 +140,9 @@ export default {
that.onSubmit(); //
}
};
console.log(this.$route.query);
this.formdata.search = this.$route.query.lineName;
console.log(this.formdata.search);
// console.log(this.$route.query);
// this.formdata.search = this.$route.query.lineName;
// console.log(this.formdata.search);
},
mounted() {
this.lineList();

@ -48,7 +48,7 @@
show-overflow-tooltip
>
<template slot-scope="scope">
<el-link @click="handleLineLink(scope.row)">{{
<el-link @click.native.stop="handleResive(scope.row)">{{
scope.row.lineName
}}</el-link>
</template>
@ -60,7 +60,7 @@
></el-table-column> -->
<el-table-column prop="name" label="杆塔名称" show-overflow-tooltip>
<template slot-scope="scope">
<el-link @click="handletowerLink(scope.row)">{{
<el-link @click.native.stop="handleResive(scope.row)">{{
scope.row.name
}}</el-link>
</template></el-table-column

@ -57,6 +57,14 @@
<!-- 带参数的中心内容右侧参数区 -->
<div class="picSetBox">
<div class="swiperBox" v-loading="loadingpic">
<div class="title">
<el-breadcrumb separator="/">
<el-breadcrumb-item> {{ towertitle }}</el-breadcrumb-item>
<el-breadcrumb-item v-if="address !== null">{{
address
}}</el-breadcrumb-item>
</el-breadcrumb>
</div>
<carouselChart
ref="carouselpic"
:terminalPhoto="terminalPhoto"
@ -67,7 +75,7 @@
<div class="zzbox">
<!-- <h3>装置名称</h3> -->
<p class="zzidname">{{ cmdid }}</p>
<p class="addressname">{{ address }}</p>
<!-- <p class="addressname">{{ address }}</p> -->
</div>
<div class="paramsDate">
<h3>日历快速查询</h3>
@ -275,6 +283,7 @@ export default {
newTermId: "",
zzstatus: "",
address: "",
towertitle: "",
};
},
watch: {
@ -354,7 +363,8 @@ export default {
if (this.lineTreeData[0].list[0].list.length > 0) {
this.currentNodekey = this.lineTreeData[0].list[0].list[0].id; //
this.newTermId = this.lineTreeData[0].list[0].list[0].id;
this.towertitle = this.lineTreeData[0].list[0].list[0].name;
this.address = this.lineTreeData[0].list[0].list[0].address;
this.cmdid = this.lineTreeData[0].list[0].list[0].cmdid;
this.zzstatus = this.lineTreeData[0].list[0].list[0].onlinestatus;
console.log(this.zzstatus);
@ -381,6 +391,7 @@ export default {
this.channelId = data.id; //id
this.cmdid = data.cmdid;
this.address = data.address;
this.towertitle = data.name;
this.newTermId = data.id; //id
console.log(data);
this.channelValue = [];
@ -944,6 +955,24 @@ export default {
.el-loading-mask {
background-color: rgba(255, 255, 255, 0.6) !important;
}
.title {
height: 32px;
padding-left: 12px;
line-height: 32px;
color: #fff;
font-size: 12px;
background-color: #169e8cb0;
.el-breadcrumb {
line-height: 32px;
color: #fff !important;
font-size: 12px;
height: 32px;
.el-breadcrumb__inner,
.el-breadcrumb__separator {
color: #fff !important;
}
}
}
}
.totalPic {
width: 100%;

Loading…
Cancel
Save