9115f29c by 单帅旗

修改:修改点击左侧菜单数据更新失败问题

1 parent 87756a61
......@@ -102,6 +102,8 @@
this.unitClick(0);
}
}
console.log(JSON.stringify(this.aroundUnitData));
console.log(JSON.stringify(this.afterUnitData));
})
},
//批量按钮判断
......@@ -166,6 +168,8 @@
this.currentSelectProps = this.aroundUnitData[index];
this.currentSelectProps.batchOperation = false;
this.activeIndex = index.toString();
//选中表单传递数据
this.$emit('getCurrentSelectProps', this.currentSelectProps);
this.$parent.stepForm(index);
},
handleAfterunitClick (index) {
......@@ -173,6 +177,8 @@
this.currentSelectProps = this.afterUnitData[index];
this.currentSelectProps.batchOperation = false;
this.activeHIndex = index.toString();
//选中表单传递数据
this.$emit('getCurrentSelectProps', this.currentSelectProps);
this.$parent.stepForm(index);
}
}
......@@ -181,4 +187,4 @@
<style scoped lang='scss'>
@import "~@/styles/mixin.scss";
@import "../../workFrame.scss";
</style>
\ No newline at end of file
</style>
......