style:业务申请单选逻辑修改
Showing
15 changed files
with
136 additions
and
20 deletions
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-17 13:38:49 | 4 | * @LastEditTime: 2023-07-21 11:02:30 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -166,7 +166,15 @@ | ... | @@ -166,7 +166,15 @@ |
166 | } | 166 | } |
167 | }, | 167 | }, |
168 | handleSelectionChange (val) { | 168 | handleSelectionChange (val) { |
169 | if (this.sqywInfo.sqywdylx == "1") { | ||
170 | if (val.length > 1) { | ||
171 | this.bdcdysz = [...val[val.length - 1]]; | ||
172 | } else { | ||
173 | this.bdcdysz = val; | ||
174 | } | ||
175 | } else { | ||
169 | this.bdcdysz = val; | 176 | this.bdcdysz = val; |
177 | } | ||
170 | }, | 178 | }, |
171 | select (selection, row) { | 179 | select (selection, row) { |
172 | if (this.sqywInfo.sqywdylx == "1") { | 180 | if (this.sqywInfo.sqywdylx == "1") { | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-17 13:16:57 | 4 | * @LastEditTime: 2023-07-21 11:02:43 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 抵押权利信息查询 --> | 7 | <!-- 抵押权利信息查询 --> |
... | @@ -131,7 +131,15 @@ | ... | @@ -131,7 +131,15 @@ |
131 | }) | 131 | }) |
132 | }, | 132 | }, |
133 | handleSelectionChange (val) { | 133 | handleSelectionChange (val) { |
134 | if (this.sqywInfo.sqywdylx == "1") { | ||
135 | if (val.length > 1) { | ||
136 | this.bdcdysz = [...val[val.length - 1]]; | ||
137 | } else { | ||
138 | this.bdcdysz = val; | ||
139 | } | ||
140 | } else { | ||
134 | this.bdcdysz = val; | 141 | this.bdcdysz = val; |
142 | } | ||
135 | }, | 143 | }, |
136 | select (selection, row) { | 144 | select (selection, row) { |
137 | if (this.sqywInfo.sqywdylx == "1") { | 145 | if (this.sqywInfo.sqywdylx == "1") { | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-13 15:23:28 | 4 | * @LastEditTime: 2023-07-21 11:02:53 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -271,7 +271,15 @@ | ... | @@ -271,7 +271,15 @@ |
271 | } | 271 | } |
272 | }, | 272 | }, |
273 | handleSelectionChange (val) { | 273 | handleSelectionChange (val) { |
274 | this.bdcdysz = val | 274 | if (this.sqywInfo.sqywdylx == "1") { |
275 | if (val.length > 1) { | ||
276 | this.bdcdysz = [...val[val.length - 1]]; | ||
277 | } else { | ||
278 | this.bdcdysz = val; | ||
279 | } | ||
280 | } else { | ||
281 | this.bdcdysz = val; | ||
282 | } | ||
275 | }, | 283 | }, |
276 | handleLpbClick (item) { | 284 | handleLpbClick (item) { |
277 | this.$popup('楼盘表', 'lpb/index', { | 285 | this.$popup('楼盘表', 'lpb/index', { | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-17 13:17:12 | 4 | * @LastEditTime: 2023-07-21 11:03:00 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -120,7 +120,15 @@ | ... | @@ -120,7 +120,15 @@ |
120 | }) | 120 | }) |
121 | }, | 121 | }, |
122 | handleSelectionChange (val) { | 122 | handleSelectionChange (val) { |
123 | if (this.sqywInfo.sqywdylx == "1") { | ||
124 | if (val.length > 1) { | ||
125 | this.bdcdysz = [...val[val.length - 1]]; | ||
126 | } else { | ||
127 | this.bdcdysz = val; | ||
128 | } | ||
129 | } else { | ||
123 | this.bdcdysz = val; | 130 | this.bdcdysz = val; |
131 | } | ||
124 | }, | 132 | }, |
125 | select (selection, row) { | 133 | select (selection, row) { |
126 | if (this.sqywInfo.sqywdylx == "1") { | 134 | if (this.sqywInfo.sqywdylx == "1") { | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-17 13:17:17 | 4 | * @LastEditTime: 2023-07-21 11:03:20 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -117,7 +117,15 @@ | ... | @@ -117,7 +117,15 @@ |
117 | }) | 117 | }) |
118 | }, | 118 | }, |
119 | handleSelectionChange (val) { | 119 | handleSelectionChange (val) { |
120 | if (this.sqywInfo.sqywdylx == "1") { | ||
121 | if (val.length > 1) { | ||
122 | this.bdcdysz = [...val[val.length - 1]]; | ||
123 | } else { | ||
124 | this.bdcdysz = val; | ||
125 | } | ||
126 | } else { | ||
120 | this.bdcdysz = val; | 127 | this.bdcdysz = val; |
128 | } | ||
121 | }, | 129 | }, |
122 | openBook (row) { | 130 | openBook (row) { |
123 | var param = { bdcdyid: row.bdcdyid, qllx: row.qllx, bdcdyh: row.bdcdyh, bsmQlxx: row.bsmQlxx }; | 131 | var param = { bdcdyid: row.bdcdyid, qllx: row.qllx, bdcdyh: row.bdcdyh, bsmQlxx: row.bsmQlxx }; | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-17 13:17:38 | 4 | * @LastEditTime: 2023-07-21 11:03:26 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 主体权利信息查询 --> | 7 | <!-- 主体权利信息查询 --> |
... | @@ -145,7 +145,15 @@ | ... | @@ -145,7 +145,15 @@ |
145 | }) | 145 | }) |
146 | }, | 146 | }, |
147 | handleSelectionChange (val) { | 147 | handleSelectionChange (val) { |
148 | if (this.sqywInfo.sqywdylx == "1") { | ||
149 | if (val.length > 1) { | ||
150 | this.bdcdysz = [...val[val.length - 1]]; | ||
151 | } else { | ||
152 | this.bdcdysz = val; | ||
153 | } | ||
154 | } else { | ||
148 | this.bdcdysz = val; | 155 | this.bdcdysz = val; |
156 | } | ||
149 | }, | 157 | }, |
150 | select (selection, row) { | 158 | select (selection, row) { |
151 | if (this.sqywInfo.sqywdylx == "1") { | 159 | if (this.sqywInfo.sqywdylx == "1") { | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-17 13:17:50 | 4 | * @LastEditTime: 2023-07-21 11:03:33 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -172,8 +172,15 @@ | ... | @@ -172,8 +172,15 @@ |
172 | }) | 172 | }) |
173 | }, | 173 | }, |
174 | handleSelectionChange (val) { | 174 | handleSelectionChange (val) { |
175 | console.log("val", val); | 175 | if (this.sqywInfo.sqywdylx == "1") { |
176 | if (val.length > 1) { | ||
177 | this.bdcdysz = [...val[val.length - 1]]; | ||
178 | } else { | ||
179 | this.bdcdysz = val; | ||
180 | } | ||
181 | } else { | ||
176 | this.bdcdysz = val; | 182 | this.bdcdysz = val; |
183 | } | ||
177 | }, | 184 | }, |
178 | handleRowClick (row) { | 185 | handleRowClick (row) { |
179 | // 如果状态是1,那就是单选 | 186 | // 如果状态是1,那就是单选 | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-17 13:18:01 | 4 | * @LastEditTime: 2023-07-21 11:03:38 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 主体权利信息查询 --> | 7 | <!-- 主体权利信息查询 --> |
... | @@ -122,7 +122,15 @@ | ... | @@ -122,7 +122,15 @@ |
122 | }) | 122 | }) |
123 | }, | 123 | }, |
124 | handleSelectionChange (val) { | 124 | handleSelectionChange (val) { |
125 | if (this.sqywInfo.sqywdylx == "1") { | ||
126 | if (val.length > 1) { | ||
127 | this.bdcdysz = [...val[val.length - 1]]; | ||
128 | } else { | ||
129 | this.bdcdysz = val; | ||
130 | } | ||
131 | } else { | ||
125 | this.bdcdysz = val; | 132 | this.bdcdysz = val; |
133 | } | ||
126 | }, | 134 | }, |
127 | select (selection, row) { | 135 | select (selection, row) { |
128 | if (this.sqywInfo.sqywdylx == "1") { | 136 | if (this.sqywInfo.sqywdylx == "1") { | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-20 16:39:12 | 4 | * @LastEditTime: 2023-07-21 11:03:42 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 主体权利信息查询 --> | 7 | <!-- 主体权利信息查询 --> |
... | @@ -121,7 +121,15 @@ | ... | @@ -121,7 +121,15 @@ |
121 | }) | 121 | }) |
122 | }, | 122 | }, |
123 | handleSelectionChange (val) { | 123 | handleSelectionChange (val) { |
124 | if (this.sqywInfo.sqywdylx == "1") { | ||
125 | if (val.length > 1) { | ||
126 | this.bdcdysz = [...val[val.length - 1]]; | ||
127 | } else { | ||
128 | this.bdcdysz = val; | ||
129 | } | ||
130 | } else { | ||
124 | this.bdcdysz = val; | 131 | this.bdcdysz = val; |
132 | } | ||
125 | }, | 133 | }, |
126 | select (selection, row) { | 134 | select (selection, row) { |
127 | if (this.sqywInfo.sqywdylx == "1") { | 135 | if (this.sqywInfo.sqywdylx == "1") { | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-17 13:18:12 | 4 | * @LastEditTime: 2023-07-21 11:02:21 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -130,7 +130,15 @@ | ... | @@ -130,7 +130,15 @@ |
130 | }) | 130 | }) |
131 | }, | 131 | }, |
132 | handleSelectionChange (val) { | 132 | handleSelectionChange (val) { |
133 | if (this.sqywInfo.sqywdylx == "1") { | ||
134 | if (val.length > 1) { | ||
135 | this.bdcdysz = [...val[val.length - 1]]; | ||
136 | } else { | ||
137 | this.bdcdysz = val; | ||
138 | } | ||
139 | } else { | ||
133 | this.bdcdysz = val; | 140 | this.bdcdysz = val; |
141 | } | ||
134 | }, | 142 | }, |
135 | openBook (row) { | 143 | openBook (row) { |
136 | var param = { | 144 | var param = { | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-17 13:16:27 | 4 | * @LastEditTime: 2023-07-21 11:04:27 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -127,10 +127,15 @@ | ... | @@ -127,10 +127,15 @@ |
127 | }) | 127 | }) |
128 | }, | 128 | }, |
129 | handleSelectionChange (val) { | 129 | handleSelectionChange (val) { |
130 | val.forEach((item, index) => { | 130 | if (this.sqywInfo.sqywdylx == "1") { |
131 | item.bsm = item.zdbsm; | 131 | if (val.length > 1) { |
132 | }); | 132 | this.bdcdysz = [...val[val.length - 1]]; |
133 | } else { | ||
133 | this.bdcdysz = val; | 134 | this.bdcdysz = val; |
135 | } | ||
136 | } else { | ||
137 | this.bdcdysz = val; | ||
138 | } | ||
134 | }, | 139 | }, |
135 | select (selection, row) { | 140 | select (selection, row) { |
136 | if (this.sqywInfo.sqywdylx == "1") { | 141 | if (this.sqywInfo.sqywdylx == "1") { | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-17 13:18:26 | 4 | * @LastEditTime: 2023-07-21 11:04:37 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -130,7 +130,15 @@ | ... | @@ -130,7 +130,15 @@ |
130 | }) | 130 | }) |
131 | }, | 131 | }, |
132 | handleSelectionChange (val) { | 132 | handleSelectionChange (val) { |
133 | if (this.sqywInfo.sqywdylx == "1") { | ||
134 | if (val.length > 1) { | ||
135 | this.bdcdysz = [...val[val.length - 1]]; | ||
136 | } else { | ||
137 | this.bdcdysz = val; | ||
138 | } | ||
139 | } else { | ||
133 | this.bdcdysz = val; | 140 | this.bdcdysz = val; |
141 | } | ||
134 | }, | 142 | }, |
135 | openBook (row) { | 143 | openBook (row) { |
136 | var param = { | 144 | var param = { | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-17 13:18:34 | 4 | * @LastEditTime: 2023-07-21 11:04:50 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 主体权利信息查询 --> | 7 | <!-- 主体权利信息查询 --> |
... | @@ -122,7 +122,15 @@ | ... | @@ -122,7 +122,15 @@ |
122 | }) | 122 | }) |
123 | }, | 123 | }, |
124 | handleSelectionChange (val) { | 124 | handleSelectionChange (val) { |
125 | if (this.sqywInfo.sqywdylx == "1") { | ||
126 | if (val.length > 1) { | ||
127 | this.bdcdysz = [...val[val.length - 1]]; | ||
128 | } else { | ||
129 | this.bdcdysz = val; | ||
130 | } | ||
131 | } else { | ||
125 | this.bdcdysz = val; | 132 | this.bdcdysz = val; |
133 | } | ||
126 | }, | 134 | }, |
127 | select (selection, row) { | 135 | select (selection, row) { |
128 | if (this.sqywInfo.sqywdylx == "1") { | 136 | if (this.sqywInfo.sqywdylx == "1") { | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-17 13:18:39 | 4 | * @LastEditTime: 2023-07-21 11:05:07 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 主体权利信息查询 --> | 7 | <!-- 主体权利信息查询 --> |
... | @@ -122,7 +122,15 @@ | ... | @@ -122,7 +122,15 @@ |
122 | }) | 122 | }) |
123 | }, | 123 | }, |
124 | handleSelectionChange (val) { | 124 | handleSelectionChange (val) { |
125 | if (this.sqywInfo.sqywdylx == "1") { | ||
126 | if (val.length > 1) { | ||
127 | this.bdcdysz = [...val[val.length - 1]]; | ||
128 | } else { | ||
129 | this.bdcdysz = val; | ||
130 | } | ||
131 | } else { | ||
125 | this.bdcdysz = val; | 132 | this.bdcdysz = val; |
133 | } | ||
126 | }, | 134 | }, |
127 | select (selection, row) { | 135 | select (selection, row) { |
128 | if (this.sqywInfo.sqywdylx == "1") { | 136 | if (this.sqywInfo.sqywdylx == "1") { | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-17 13:18:43 | 4 | * @LastEditTime: 2023-07-21 11:05:14 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 主体权利信息查询 --> | 7 | <!-- 主体权利信息查询 --> |
... | @@ -123,7 +123,15 @@ | ... | @@ -123,7 +123,15 @@ |
123 | }) | 123 | }) |
124 | }, | 124 | }, |
125 | handleSelectionChange (val) { | 125 | handleSelectionChange (val) { |
126 | if (this.sqywInfo.sqywdylx == "1") { | ||
127 | if (val.length > 1) { | ||
128 | this.bdcdysz = [...val[val.length - 1]]; | ||
129 | } else { | ||
130 | this.bdcdysz = val; | ||
131 | } | ||
132 | } else { | ||
126 | this.bdcdysz = val; | 133 | this.bdcdysz = val; |
134 | } | ||
127 | }, | 135 | }, |
128 | select (selection, row) { | 136 | select (selection, row) { |
129 | if (this.sqywInfo.sqywdylx == "1") { | 137 | if (this.sqywInfo.sqywdylx == "1") { | ... | ... |
-
Please register or sign in to post a comment