|
|
@ -35,6 +35,10 @@
|
|
|
|
}}
|
|
|
|
}}
|
|
|
|
</el-option>
|
|
|
|
</el-option>
|
|
|
|
</el-select>
|
|
|
|
</el-select>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-button class="clearButton" type="primary" @click="clearTimeGrop"
|
|
|
|
|
|
|
|
>清除拍照时间表</el-button
|
|
|
|
|
|
|
|
>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="timeContain">
|
|
|
|
<div class="timeContain">
|
|
|
|
<div class="timeLeft" v-loading="baseTimeLoading">
|
|
|
|
<div class="timeLeft" v-loading="baseTimeLoading">
|
|
|
@ -287,7 +291,6 @@ export default {
|
|
|
|
handleClick(tab, event) {
|
|
|
|
handleClick(tab, event) {
|
|
|
|
console.log(tab, event);
|
|
|
|
console.log(tab, event);
|
|
|
|
if (tab.name == 1) {
|
|
|
|
if (tab.name == 1) {
|
|
|
|
|
|
|
|
|
|
|
|
this.selectChannel = 1;
|
|
|
|
this.selectChannel = 1;
|
|
|
|
this.getDataBaseTime(this.areaData.id, this.selectChannel);
|
|
|
|
this.getDataBaseTime(this.areaData.id, this.selectChannel);
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -305,15 +308,19 @@ export default {
|
|
|
|
getChannelSelect() {
|
|
|
|
getChannelSelect() {
|
|
|
|
getChannelListJoggle({ termid: this.areaData.id })
|
|
|
|
getChannelListJoggle({ termid: this.areaData.id })
|
|
|
|
.then((res) => {
|
|
|
|
.then((res) => {
|
|
|
|
console.log("wwww",Number(localStorage.getItem("channelId")))
|
|
|
|
console.log("wwww", Number(localStorage.getItem("channelId")));
|
|
|
|
this.channelList = res.data.list;
|
|
|
|
this.channelList = res.data.list;
|
|
|
|
this.timeChannelList = res.data.list;
|
|
|
|
this.timeChannelList = res.data.list;
|
|
|
|
if(Number(localStorage.getItem("channelId"))==1||Number(localStorage.getItem("channelId"))==-1||Number(localStorage.getItem("channelId"))==0){
|
|
|
|
if (
|
|
|
|
|
|
|
|
Number(localStorage.getItem("channelId")) == 1 ||
|
|
|
|
|
|
|
|
Number(localStorage.getItem("channelId")) == -1 ||
|
|
|
|
|
|
|
|
Number(localStorage.getItem("channelId")) == 0
|
|
|
|
|
|
|
|
) {
|
|
|
|
this.timeChannel = this.channelList[0].channelid;
|
|
|
|
this.timeChannel = this.channelList[0].channelid;
|
|
|
|
this.selectChannel = this.channelList[0].channelid;
|
|
|
|
this.selectChannel = this.channelList[0].channelid;
|
|
|
|
}else{
|
|
|
|
} else {
|
|
|
|
this.timeChannel = Number(localStorage.getItem("channelId"));
|
|
|
|
this.timeChannel = Number(localStorage.getItem("channelId"));
|
|
|
|
this.selectChannel = Number(localStorage.getItem("channelId"))
|
|
|
|
this.selectChannel = Number(localStorage.getItem("channelId"));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// this.timeChannel = this.channelList[0].channelid;
|
|
|
|
// this.timeChannel = this.channelList[0].channelid;
|
|
|
|
// this.selectChannel = this.channelList[0].channelid;
|
|
|
|
// this.selectChannel = this.channelList[0].channelid;
|
|
|
@ -872,6 +879,16 @@ export default {
|
|
|
|
})
|
|
|
|
})
|
|
|
|
.catch((err) => {});
|
|
|
|
.catch((err) => {});
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
//清除时间表
|
|
|
|
|
|
|
|
clearTimeGrop() {
|
|
|
|
|
|
|
|
console.log("通道", this.selectChannel);
|
|
|
|
|
|
|
|
getTermStatus({ termId: this.areaData.id }).then((res) => {
|
|
|
|
|
|
|
|
console.log(res);
|
|
|
|
|
|
|
|
if (res.data.isonline) {
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
},
|
|
|
|
//关闭下发弹窗
|
|
|
|
//关闭下发弹窗
|
|
|
|
closebtn() {
|
|
|
|
closebtn() {
|
|
|
|
this.isShowset = false;
|
|
|
|
this.isShowset = false;
|
|
|
@ -924,6 +941,9 @@ export default {
|
|
|
|
.searchTime {
|
|
|
|
.searchTime {
|
|
|
|
.channelBox {
|
|
|
|
.channelBox {
|
|
|
|
margin-bottom: 12px;
|
|
|
|
margin-bottom: 12px;
|
|
|
|
|
|
|
|
.clearButton {
|
|
|
|
|
|
|
|
margin-left: 24px;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.timeContain {
|
|
|
|
.timeContain {
|
|
|
|
display: flex;
|
|
|
|
display: flex;
|
|
|
|