This commit is contained in:
luoshiwen 2023-02-28 11:03:48 +08:00
parent 3b9756e165
commit 3666ea2416
3 changed files with 12 additions and 17 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -155,7 +155,7 @@ export default {
// this.idVal = ;
getComponentSection({ VideoId: this.$route.query.id, Number: 10 }).then(res => {
if (res.data.code == 200) {
// console.log(res.data.data, '');
console.log(res.data.data, '组件的数据');
this.componentList = res.data.data;
this.siftData();
}
@ -213,17 +213,7 @@ export default {
}
}
},
channge(oldVal, newVal) {
if (oldVal == 'second') {
this.sectionArr = [];
this.sectionData = [];
this.getNew();
} else if (newVal == 'second') {
this.sectionArr = [];
this.sectionData = [];
this.getNew();
}
}
//
},
@ -249,6 +239,11 @@ export default {
if (newVal!= undefined&&newVal.length != 0 ) {
newVal.forEach(ele => {
if(ele.timeMode == '周期时刻'){
if(ele.cycleTimeData.length== 10 ){
}
}
// if( ele.timeMode == ''){
// var thatNN = this;
// if (ele.cycleTimeData.length == 10) {
@ -369,7 +364,7 @@ export default {
}
ele.trigger.unshift(item);
_this.$nextTick(() => {
if(_this.$refs.typeChartRef1!=undefined){
if(_this.$refs.typeChartRef!=undefined){
for (let i = 0; i < _this.$refs.typeChartRef.length; i++) {
// console.log(_this.$refs.typeChartRef[i], '');
let itemTypeChart = _this.$refs.typeChartRef[i]
@ -530,7 +525,6 @@ export default {
//
cycleStatisticsData: {
handler(newVal, oldVal) {
console.log("oldVal",oldVal)
if (newVal!= undefined&& newVal.length != 0 && this.sectionData) {
console.log("newVal",newVal)
@ -642,7 +636,8 @@ export default {
});
}
}
},
immediate:true
}
// activeName: {
// handler(newVal) {