20230228
This commit is contained in:
parent
3b9756e165
commit
3666ea2416
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -155,7 +155,7 @@ export default {
|
||||||
// this.idVal = ;
|
// this.idVal = ;
|
||||||
getComponentSection({ VideoId: this.$route.query.id, Number: 10 }).then(res => {
|
getComponentSection({ VideoId: this.$route.query.id, Number: 10 }).then(res => {
|
||||||
if (res.data.code == 200) {
|
if (res.data.code == 200) {
|
||||||
// console.log(res.data.data, '组件的数据');
|
console.log(res.data.data, '组件的数据');
|
||||||
this.componentList = res.data.data;
|
this.componentList = res.data.data;
|
||||||
this.siftData();
|
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 ) {
|
if (newVal!= undefined&&newVal.length != 0 ) {
|
||||||
newVal.forEach(ele => {
|
newVal.forEach(ele => {
|
||||||
|
if(ele.timeMode == '周期时刻'){
|
||||||
|
if(ele.cycleTimeData.length== 10 ){
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
// if( ele.timeMode == '周期统计'){
|
// if( ele.timeMode == '周期统计'){
|
||||||
// var thatNN = this;
|
// var thatNN = this;
|
||||||
// if (ele.cycleTimeData.length == 10) {
|
// if (ele.cycleTimeData.length == 10) {
|
||||||
|
|
@ -369,7 +364,7 @@ export default {
|
||||||
}
|
}
|
||||||
ele.trigger.unshift(item);
|
ele.trigger.unshift(item);
|
||||||
_this.$nextTick(() => {
|
_this.$nextTick(() => {
|
||||||
if(_this.$refs.typeChartRef1!=undefined){
|
if(_this.$refs.typeChartRef!=undefined){
|
||||||
for (let i = 0; i < _this.$refs.typeChartRef.length; i++) {
|
for (let i = 0; i < _this.$refs.typeChartRef.length; i++) {
|
||||||
// console.log(_this.$refs.typeChartRef[i], '触发接收的表格数据');
|
// console.log(_this.$refs.typeChartRef[i], '触发接收的表格数据');
|
||||||
let itemTypeChart = _this.$refs.typeChartRef[i]
|
let itemTypeChart = _this.$refs.typeChartRef[i]
|
||||||
|
|
@ -530,7 +525,6 @@ export default {
|
||||||
//周期统计
|
//周期统计
|
||||||
cycleStatisticsData: {
|
cycleStatisticsData: {
|
||||||
handler(newVal, oldVal) {
|
handler(newVal, oldVal) {
|
||||||
|
|
||||||
console.log("oldVal",oldVal)
|
console.log("oldVal",oldVal)
|
||||||
if (newVal!= undefined&& newVal.length != 0 && this.sectionData) {
|
if (newVal!= undefined&& newVal.length != 0 && this.sectionData) {
|
||||||
console.log("newVal",newVal)
|
console.log("newVal",newVal)
|
||||||
|
|
@ -642,7 +636,8 @@ export default {
|
||||||
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
immediate:true
|
||||||
}
|
}
|
||||||
// activeName: {
|
// activeName: {
|
||||||
// handler(newVal) {
|
// handler(newVal) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue