9115f29c by 单帅旗

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

1 parent 87756a61
...@@ -102,6 +102,8 @@ ...@@ -102,6 +102,8 @@
102 this.unitClick(0); 102 this.unitClick(0);
103 } 103 }
104 } 104 }
105 console.log(JSON.stringify(this.aroundUnitData));
106 console.log(JSON.stringify(this.afterUnitData));
105 }) 107 })
106 }, 108 },
107 //批量按钮判断 109 //批量按钮判断
...@@ -166,6 +168,8 @@ ...@@ -166,6 +168,8 @@
166 this.currentSelectProps = this.aroundUnitData[index]; 168 this.currentSelectProps = this.aroundUnitData[index];
167 this.currentSelectProps.batchOperation = false; 169 this.currentSelectProps.batchOperation = false;
168 this.activeIndex = index.toString(); 170 this.activeIndex = index.toString();
171 //选中表单传递数据
172 this.$emit('getCurrentSelectProps', this.currentSelectProps);
169 this.$parent.stepForm(index); 173 this.$parent.stepForm(index);
170 }, 174 },
171 handleAfterunitClick (index) { 175 handleAfterunitClick (index) {
...@@ -173,6 +177,8 @@ ...@@ -173,6 +177,8 @@
173 this.currentSelectProps = this.afterUnitData[index]; 177 this.currentSelectProps = this.afterUnitData[index];
174 this.currentSelectProps.batchOperation = false; 178 this.currentSelectProps.batchOperation = false;
175 this.activeHIndex = index.toString(); 179 this.activeHIndex = index.toString();
180 //选中表单传递数据
181 this.$emit('getCurrentSelectProps', this.currentSelectProps);
176 this.$parent.stepForm(index); 182 this.$parent.stepForm(index);
177 } 183 }
178 } 184 }
...@@ -181,4 +187,4 @@ ...@@ -181,4 +187,4 @@
181 <style scoped lang='scss'> 187 <style scoped lang='scss'>
182 @import "~@/styles/mixin.scss"; 188 @import "~@/styles/mixin.scss";
183 @import "../../workFrame.scss"; 189 @import "../../workFrame.scss";
184 </style>
...\ No newline at end of file ...\ No newline at end of file
190 </style>
......