...
|
...
|
@@ -74,7 +74,6 @@ export default { |
|
|
item.P_NAME = `${prefix}${item.P_NAME}`;
|
|
|
});
|
|
|
|
|
|
console.log('<<<<< report >>>>>>>', param);
|
|
|
this.$store.dispatch(REPORT_YAS, {
|
|
|
params: {
|
|
|
appop: 'YB_SHOW_EVENT',
|
...
|
...
|
@@ -83,6 +82,9 @@ export default { |
|
|
});
|
|
|
},
|
|
|
checkReport(evt, isInit) {
|
|
|
if (isInit) {
|
|
|
this.componentStatus = {};
|
|
|
}
|
|
|
_.each(this.$children, (component, index) => {
|
|
|
const visible = this.isVisible(component.$el, this.$scrollEl);
|
|
|
|
...
|
...
|
@@ -92,11 +94,7 @@ export default { |
|
|
this.componentStatus[index] = visible;
|
|
|
});
|
|
|
},
|
|
|
record(component, index, isInit) {
|
|
|
if (isInit) {
|
|
|
this.componentStatus = {};
|
|
|
}
|
|
|
|
|
|
record(component, index) {
|
|
|
const reportData = _.get(component, '$options.propsData.value');
|
|
|
|
|
|
// 区分不通组件记录以楼层内item为单位、而不是以整个楼层为单位组织数据上报
|
...
|
...
|
|