87756a61 by xiaomiao

单元申请列表问题处理

1 parent cfac9043
...@@ -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";
165 </style>
...\ No newline at end of file ...\ No newline at end of file
172 .leftmenu ul{
173 height: calc(100vh - 120px);
174 }
175 </style>
......
...@@ -209,4 +209,4 @@ ...@@ -209,4 +209,4 @@
209 position: absolute; 209 position: absolute;
210 left: 0; 210 left: 0;
211 bottom: 0; 211 bottom: 0;
212 }
...\ No newline at end of file ...\ No newline at end of file
212 }
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-05-22 09:45:59 4 * @LastEditTime: 2023-05-22 09:45:59
5 --> 5 -->
...@@ -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) => {
......