ec8a3d61 by renchao@pashanhoo.com

style;申请单元列表

1 parent 36c95887
1 <!-- 1 <!--
2 * @Description: workFrame左侧菜单列表-分割 2 * @Description: workFrame左侧菜单列表-分割
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-28 08:46:04 4 * @LastEditTime: 2023-09-12 13:32:29
5 --> 5 -->
6 <template> 6 <template>
7 <div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }"> 7 <div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }">
...@@ -98,12 +98,12 @@ ...@@ -98,12 +98,12 @@
98 } 98 }
99 }, 99 },
100 methods: { 100 methods: {
101 //读取申请单元信息
102 /** 101 /**
103 * @description: 读取申请单元信息 102 * @description: 读取申请单元信息
104 * @author: renchao 103 * @author: renchao
105 */ 104 */
106 loadBdcdylist () { 105 loadBdcdylist () {
106 let that = this
107 var formdata = new FormData(); 107 var formdata = new FormData();
108 formdata.append("bsmSlsq", this.bsmSlsq); 108 formdata.append("bsmSlsq", this.bsmSlsq);
109 if (this.$route.query.bestepid) { 109 if (this.$route.query.bestepid) {
...@@ -120,12 +120,14 @@ ...@@ -120,12 +120,14 @@
120 this.currentSelectProps = res.result[0]; 120 this.currentSelectProps = res.result[0];
121 this.$emit('getCurrentSelectProps', this.currentSelectProps); 121 this.$emit('getCurrentSelectProps', this.currentSelectProps);
122 this.judgeBatchShow(); 122 this.judgeBatchShow();
123 if (this.showBatch) { 123 if (sessionStorage.getItem('keyPath')) {
124 //满足批量查封/批量抵押按钮出现 即先展示批量表单 124 that.unitClick(sessionStorage.getItem('keyPath') - 0)
125 this.batchUnitClick();
126 } else { 125 } else {
127 //默认选择单元列表第一个 126 that.unitClick(0)
128 this.unitClick(0); 127 if (that.showBatch) {
128 //满足批量查封/批量抵押按钮出现 即先展示批量表单
129 that.batchUnitClick();
130 }
129 } 131 }
130 } 132 }
131 }) 133 })
...@@ -137,12 +139,14 @@ ...@@ -137,12 +139,14 @@
137 this.currentSelectProps = res.result[0]; 139 this.currentSelectProps = res.result[0];
138 this.$emit('getCurrentSelectProps', this.currentSelectProps); 140 this.$emit('getCurrentSelectProps', this.currentSelectProps);
139 this.judgeBatchShow(); 141 this.judgeBatchShow();
140 if (this.showBatch) { 142 if (sessionStorage.getItem('keyPath')) {
141 //满足批量查封/批量抵押按钮出现 即先展示批量表单 143 that.unitClick(sessionStorage.getItem('keyPath') - 0)
142 this.batchUnitClick();
143 } else { 144 } else {
144 //默认选择单元列表第一个 145 that.unitClick(0)
145 this.unitClick(0); 146 if (that.showBatch) {
147 //满足批量查封/批量抵押按钮出现 即先展示批量表单
148 that.batchUnitClick();
149 }
146 } 150 }
147 } 151 }
148 }) 152 })
...@@ -202,8 +206,6 @@ ...@@ -202,8 +206,6 @@
202 }); 206 });
203 }); 207 });
204 }, 208 },
205
206 //批量按钮点击事件
207 /** 209 /**
208 * @description: 批量按钮点击事件 210 * @description: 批量按钮点击事件
209 * @author: renchao 211 * @author: renchao
...@@ -214,7 +216,6 @@ ...@@ -214,7 +216,6 @@
214 this.$parent.stepForm(0); 216 this.$parent.stepForm(0);
215 217
216 }, 218 },
217 //申请单元点击事件
218 /** 219 /**
219 * @description: 申请单元点击事件 220 * @description: 申请单元点击事件
220 * @param {*} index 221 * @param {*} index
...@@ -226,6 +227,7 @@ ...@@ -226,6 +227,7 @@
226 this.currentSelectProps.issave = '1' 227 this.currentSelectProps.issave = '1'
227 this.currentSelectProps.batchOperation = false; 228 this.currentSelectProps.batchOperation = false;
228 this.activeIndex = index.toString(); 229 this.activeIndex = index.toString();
230 sessionStorage.setItem('keyPath', this.activeIndex);
229 //选中表单传递数据 231 //选中表单传递数据
230 this.$emit('getCurrentSelectProps', this.currentSelectProps); 232 this.$emit('getCurrentSelectProps', this.currentSelectProps);
231 this.$parent.stepForm(index); 233 this.$parent.stepForm(index);
......