单元申请列表问题处理
Showing
3 changed files
with
35 additions
and
4 deletions
... | @@ -123,7 +123,12 @@ | ... | @@ -123,7 +123,12 @@ |
123 | deleteSlbdcdy(formdata).then((res) => { | 123 | deleteSlbdcdy(formdata).then((res) => { |
124 | if (res.code == 200) { | 124 | if (res.code == 200) { |
125 | this.$message.success("删除成功"); | 125 | this.$message.success("删除成功"); |
126 | this.$parent.updateDialog(); | 126 | /** |
127 | * @description: 更新列表 | ||
128 | * @author: miaofang | ||
129 | */ | ||
130 | this.loadBdcdylist() | ||
131 | // this.$parent.updateDialog(); | ||
127 | } else { | 132 | } else { |
128 | this.$message.error(res.message); | 133 | this.$message.error(res.message); |
129 | } | 134 | } |
... | @@ -154,6 +159,8 @@ | ... | @@ -154,6 +159,8 @@ |
154 | this.currentSelectProps = this.unitData[index]; | 159 | this.currentSelectProps = this.unitData[index]; |
155 | this.currentSelectProps.batchOperation = false; | 160 | this.currentSelectProps.batchOperation = false; |
156 | this.activeIndex = index.toString(); | 161 | this.activeIndex = index.toString(); |
162 | //选中表单传递数据 | ||
163 | this.$emit('getCurrentSelectProps', this.currentSelectProps); | ||
157 | this.$parent.stepForm(index); | 164 | this.$parent.stepForm(index); |
158 | } | 165 | } |
159 | } | 166 | } |
... | @@ -162,4 +169,7 @@ | ... | @@ -162,4 +169,7 @@ |
162 | <style scoped lang='scss'> | 169 | <style scoped lang='scss'> |
163 | @import "~@/styles/mixin.scss"; | 170 | @import "~@/styles/mixin.scss"; |
164 | @import "../../workFrame.scss"; | 171 | @import "../../workFrame.scss"; |
172 | .leftmenu ul{ | ||
173 | height: calc(100vh - 120px); | ||
174 | } | ||
165 | </style> | 175 | </style> | ... | ... |
... | @@ -150,9 +150,30 @@ | ... | @@ -150,9 +150,30 @@ |
150 | * @description: 更新列表 | 150 | * @description: 更新列表 |
151 | * @author: renchao | 151 | * @author: renchao |
152 | */ | 152 | */ |
153 | updateDialog () { | 153 | // updateDialog () { |
154 | this.loadBdcdylist(); | 154 | // this.loadBdcdylist(); |
155 | }, | 155 | // }, |
156 | // //读取申请单元信息 | ||
157 | // loadBdcdylist () { | ||
158 | // var formdata = new FormData(); | ||
159 | // formdata.append("bsmSlsq", this.bsmSlsq); | ||
160 | // formdata.append("bestepid", this.bestepid); | ||
161 | // leftMenu(formdata).then((res) => { | ||
162 | // if (res.code === 200 && res.result) { | ||
163 | // this.unitData = res.result; | ||
164 | // this.currentSelectProps = res.result[0]; | ||
165 | // this.$emit('getCurrentSelectProps', this.currentSelectProps); | ||
166 | // this.judgeBatchShow(); | ||
167 | // if (this.showBatch) { | ||
168 | // //满足批量查封/批量抵押按钮出现 即先展示批量表单 | ||
169 | // this.batchUnitClick(); | ||
170 | // } else { | ||
171 | // //默认选择单元列表第一个 | ||
172 | // this.unitClick(0); | ||
173 | // } | ||
174 | // } | ||
175 | // }) | ||
176 | // }, | ||
156 | //申请单元点击事件 | 177 | //申请单元点击事件 |
157 | stepForm (index) { | 178 | stepForm (index) { |
158 | getStepFormInfo(this.currentSelectProps).then((res) => { | 179 | getStepFormInfo(this.currentSelectProps).then((res) => { | ... | ... |
-
Please register or sign in to post a comment