拍照时间表设置

ds1.0
fanluyan 2 years ago
parent 948adb6ee0
commit f6c1f5becb

@ -376,7 +376,10 @@ export default {
console.log(timearr); console.log(timearr);
} }
//// ////
if (this.allCheckNode[i].protocol == "65286") { if (
this.allCheckNode[i].protocol == "65286" ||
this.allCheckNode[i].protocol == "65282"
) {
console.log("河南规约"); console.log("河南规约");
// //
//this.getDayArr(startDay, endDay); //this.getDayArr(startDay, endDay);

@ -58,7 +58,7 @@
>{{ val.substring(val.length - 5) }}</el-tag >{{ val.substring(val.length - 5) }}</el-tag
> >
<el-tag <el-tag
v-if="timeProtocol == '65286'" v-if="timeProtocol == '65286' || timeProtocol == '65282'"
class="mr10 mt10" class="mr10 mt10"
size="mini" size="mini"
v-for="(val, index) in this.shedulenr" v-for="(val, index) in this.shedulenr"
@ -85,7 +85,7 @@
>{{ val.substring(val.length - 5) }}</el-tag >{{ val.substring(val.length - 5) }}</el-tag
> >
<el-tag <el-tag
v-if="timeProtocol == '65286'" v-if="timeProtocol == '65286' || timeProtocol == '65282'"
class="mr10 mt10" class="mr10 mt10"
size="mini" size="mini"
v-for="(val, index) in this.newshedulenr" v-for="(val, index) in this.newshedulenr"
@ -389,6 +389,10 @@ export default {
}) })
.then((res) => { .then((res) => {
this.shedulenr = res.data.list; this.shedulenr = res.data.list;
console.log(res.data.offset);
this.offsetnum = res.data.offset;
console.log(this.offsetnum);
console.log("aaaaa");
console.log(this.shedulenr); console.log(this.shedulenr);
// //
if (this.timeProtocol == "65283") { if (this.timeProtocol == "65283") {
@ -462,7 +466,10 @@ export default {
} }
} }
// //
if (this.timeProtocol == "65286") { if (
this.timeProtocol == "65286" ||
this.timeProtocol == "65282"
) {
console.log("河南规约"); console.log("河南规约");
var hnarr = []; var hnarr = [];
for (var i = 0; i < this.shedulenr.length; i++) { for (var i = 0; i < this.shedulenr.length; i++) {
@ -477,7 +484,6 @@ export default {
console.log(hnarr); console.log(hnarr);
this.shedulenr = hnarr; this.shedulenr = hnarr;
} }
this.offsetnum = res.data.offset;
this.loading = false; this.loading = false;
}) })
@ -571,7 +577,7 @@ export default {
} }
} }
// //
if (this.timeProtocol == "65286") { if (this.timeProtocol == "65286" || this.timeProtocol == "65282") {
console.log("河南规约"); console.log("河南规约");
var hnarr = []; var hnarr = [];
for (var i = 0; i < this.shedulenr.length; i++) { for (var i = 0; i < this.shedulenr.length; i++) {
@ -626,6 +632,9 @@ export default {
// this.shedulenr = res.data.list.join("; ") // this.shedulenr = res.data.list.join("; ")
this.compareloading = false; this.compareloading = false;
this.newshedulenr = res.data.list; this.newshedulenr = res.data.list;
this.offsetnum = res.data.offset;
console.log("qqqqqqqqqqqqqqqqqqqqqq");
console.log(this.offsetnum);
// //
if (this.timeProtocol == "65283") { if (this.timeProtocol == "65283") {
console.log("湖南规约"); console.log("湖南规约");
@ -704,7 +713,10 @@ export default {
} }
} }
// //
if (this.timeProtocol == "65286") { if (
this.timeProtocol == "65286" ||
this.timeProtocol == "65282"
) {
console.log("河南规约"); console.log("河南规约");
var hnarr = []; var hnarr = [];
for (var i = 0; i < this.newshedulenr.length; i++) { for (var i = 0; i < this.newshedulenr.length; i++) {
@ -1036,7 +1048,10 @@ export default {
} }
//// ////
if (this.deviceListData.zzprotocol == "65286") { if (
this.deviceListData.zzprotocol == "65286" ||
this.timeProtocol == "65282"
) {
console.log("河南规约"); console.log("河南规约");
// //
//this.getDayArr(startDay, endDay); //this.getDayArr(startDay, endDay);
@ -1218,12 +1233,14 @@ export default {
} }
} }
.timeShow { .timeShow {
display: flex; //display: flex;
.leftTime { .leftTime {
width: 50%; width: 50%;
float: left;
} }
.rightTime { .rightTime {
width: 50%; width: 50%;
float: right;
position: relative; position: relative;
.offtime { .offtime {
position: absolute; position: absolute;

Loading…
Cancel
Save