style:土地分割模块功能调整
Showing
3 changed files
with
65 additions
and
32 deletions
1 | /* | 1 | /* |
2 | * @Description: 业务申请 | 2 | * @Description: 业务申请 |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-19 14:52:03 | 4 | * @LastEditTime: 2023-11-14 09:30:08 |
5 | */ | 5 | */ |
6 | 6 | ||
7 | import request from '@/utils/request' | 7 | import request from '@/utils/request' |
... | @@ -109,6 +109,19 @@ export function selectZdjbxxSplitMergeLast (data) { | ... | @@ -109,6 +109,19 @@ export function selectZdjbxxSplitMergeLast (data) { |
109 | }) | 109 | }) |
110 | } | 110 | } |
111 | 111 | ||
112 | /** | ||
113 | * @description: 土地变化情况 | ||
114 | * @param {*} data | ||
115 | * @author: renchao | ||
116 | */ | ||
117 | export function selectZdjbxxSplitMerge (data) { | ||
118 | return request({ | ||
119 | url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectZdjbxxSplitMerge', | ||
120 | method: 'post', | ||
121 | data | ||
122 | }) | ||
123 | } | ||
124 | |||
112 | /* | 125 | /* |
113 | 业务办理-选择单元-查询自然幢信息 | 126 | 业务办理-选择单元-查询自然幢信息 |
114 | */ | 127 | */ | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-10-31 10:33:11 | 4 | * @LastEditTime: 2023-11-14 13:09:34 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -46,7 +46,6 @@ | ... | @@ -46,7 +46,6 @@ |
46 | </div> | 46 | </div> |
47 | <!-- 表格 --> | 47 | <!-- 表格 --> |
48 | <div class="from-clues-content loadingtext"> | 48 | <div class="from-clues-content loadingtext"> |
49 | 分割合并前权利信息 | ||
50 | <el-table | 49 | <el-table |
51 | :data="tableData.data" | 50 | :data="tableData.data" |
52 | height="230" | 51 | height="230" |
... | @@ -125,7 +124,7 @@ | ... | @@ -125,7 +124,7 @@ |
125 | 124 | ||
126 | </div> | 125 | </div> |
127 | <div class="from-clues-content loadingtext"> | 126 | <div class="from-clues-content loadingtext"> |
128 | 分割合并后宗地信息 | 127 | 土地变化情况 |
129 | <lb-table ref="table" :pagination=false :calcHeight="500" :column="tableData.columns1" | 128 | <lb-table ref="table" :pagination=false :calcHeight="500" :column="tableData.columns1" |
130 | :data="tableData.datastwo"> | 129 | :data="tableData.datastwo"> |
131 | </lb-table> | 130 | </lb-table> |
... | @@ -144,7 +143,7 @@ | ... | @@ -144,7 +143,7 @@ |
144 | import { ywPopupDialog } from "@/utils/popup.js"; | 143 | import { ywPopupDialog } from "@/utils/popup.js"; |
145 | import { datastwo, sendThis } from "../javascript/selectJsydsyqhbfg.js"; | 144 | import { datastwo, sendThis } from "../javascript/selectJsydsyqhbfg.js"; |
146 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; | 145 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; |
147 | import { selectJsydQlxxSplitMergeBefore, selectZdjbxxSplitMergeLast } from "@/api/ywsq.js"; | 146 | import { selectJsydQlxxSplitMergeBefore, selectZdjbxxSplitMerge } from "@/api/ywsq.js"; |
148 | import { startBusinessFlow } from "@/api/workFlow.js"; | 147 | import { startBusinessFlow } from "@/api/workFlow.js"; |
149 | export default { | 148 | export default { |
150 | mixins: [table, jump], | 149 | mixins: [table, jump], |
... | @@ -182,15 +181,14 @@ | ... | @@ -182,15 +181,14 @@ |
182 | this.queryForm.bhqkbsm = item.bhqkbsm | 181 | this.queryForm.bhqkbsm = item.bhqkbsm |
183 | } | 182 | } |
184 | }) | 183 | }) |
185 | selectZdjbxxSplitMergeLast({ ...this.queryForm }).then((res) => { | 184 | selectZdjbxxSplitMerge({ ...this.queryForm }).then((res) => { |
186 | this.$endLoading(); | 185 | this.$endLoading(); |
187 | if (res.code === 200) { | 186 | if (res.code === 200) { |
188 | this.tableData.datastwo = res.result | 187 | this.tableData.datastwo = res.result |
189 | this.tableData.datastwo.forEach(item => { | 188 | this.tableData.datastwo.forEach(item => { |
190 | item.bsm = item.zdbsm; | 189 | item.bsm = item.zdbsm; |
191 | item.bglx = '2' | ||
192 | }) | 190 | }) |
193 | this.bdcdysz = [this.bdcdysz[0], ...this.tableData.datastwo] | 191 | this.bdcdysz = this.tableData.datastwo |
194 | } | 192 | } |
195 | }) | 193 | }) |
196 | }, | 194 | }, |
... | @@ -283,15 +281,14 @@ | ... | @@ -283,15 +281,14 @@ |
283 | this.queryForm.bhqkbsm = row.bhqkbsm | 281 | this.queryForm.bhqkbsm = row.bhqkbsm |
284 | this.radioVal = row.bdcdyh | 282 | this.radioVal = row.bdcdyh |
285 | row.bglx = '1' | 283 | row.bglx = '1' |
286 | selectZdjbxxSplitMergeLast({ ...this.queryForm }).then((res) => { | 284 | selectZdjbxxSplitMerge({ ...this.queryForm }).then((res) => { |
287 | this.$endLoading(); | 285 | this.$endLoading(); |
288 | if (res.code === 200) { | 286 | if (res.code === 200) { |
289 | this.tableData.datastwo = res.result | 287 | this.tableData.datastwo = res.result |
290 | this.tableData.datastwo.forEach(item => { | 288 | this.tableData.datastwo.forEach(item => { |
291 | item.bsm = item.zdbsm; | 289 | item.bsm = item.zdbsm; |
292 | item.bglx = '2' | ||
293 | }) | 290 | }) |
294 | this.bdcdysz = [row, ...this.tableData.datastwo] | 291 | this.bdcdysz = this.tableData.datastwo |
295 | } | 292 | } |
296 | }) | 293 | }) |
297 | } | 294 | } | ... | ... |
1 | /* | 1 | /* |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-10-26 15:11:19 | 4 | * @LastEditTime: 2023-11-14 13:10:27 |
5 | */ | 5 | */ |
6 | import filter from '@/utils/filter.js' | 6 | import filter from '@/utils/filter.js' |
7 | let vm = null | 7 | let vm = null |
... | @@ -141,38 +141,61 @@ class datatwo extends filter { | ... | @@ -141,38 +141,61 @@ class datatwo extends filter { |
141 | } | 141 | } |
142 | }, | 142 | }, |
143 | { | 143 | { |
144 | label: "变更类型", | ||
145 | width: 80, | ||
146 | render: (h, scope) => { | ||
147 | return ( | ||
148 | <div> | ||
149 | { | ||
150 | scope.row.bglx == '1' ? <span>变更前</span> : <span>变更后</span> | ||
151 | } | ||
152 | </div> | ||
153 | ) | ||
154 | } | ||
155 | }, | ||
156 | { | ||
144 | prop: "qllxmc", | 157 | prop: "qllxmc", |
145 | label: "权利类型", | 158 | label: "权利类型", |
146 | }, | 159 | }, |
147 | { | 160 | { |
148 | prop: "zddm", | 161 | label: "不动产单元号", |
149 | label: "宗地代码", | 162 | width: '150', |
163 | render: (h, scope) => { | ||
164 | return ( | ||
165 | <el-tooltip effect="dark" content={scope.row.bdcdyh} placement="top" popper-class="tooltip-width "> | ||
166 | <span class="ellipsis-table"> {scope.row.bdcdyh}</span> | ||
167 | </el-tooltip> | ||
168 | ) | ||
169 | } | ||
150 | }, | 170 | }, |
151 | { | 171 | { |
152 | prop: "bdcdyh", | 172 | label: "不动产权证号", |
153 | label: "不动产单元号", | 173 | width: '150', |
154 | minWidth: '110' | 174 | render: (h, scope) => { |
175 | return ( | ||
176 | <el-tooltip effect="dark" content={scope.row.bdcqzh} placement="top" popper-class="tooltip-width "> | ||
177 | <span class="ellipsis-table"> {scope.row.bdcqzh}</span> | ||
178 | </el-tooltip> | ||
179 | ) | ||
180 | } | ||
155 | }, | 181 | }, |
156 | { | 182 | { |
157 | prop: "qlxzmc", | 183 | prop: "qlrmc", |
158 | label: "权利性质", | 184 | label: "使用权人", |
159 | }, | 185 | }, |
160 | { | 186 | { |
161 | prop: "syqmj", | 187 | prop: "qlrzjhm", |
162 | label: "宗地面积(㎡)", | 188 | label: "证件号", |
163 | }, | 189 | }, |
164 | // { | ||
165 | // prop: "qlsdfsmc", | ||
166 | // label: "权利设定方式", | ||
167 | // }, | ||
168 | { | 190 | { |
169 | prop: "qlytmc", | 191 | prop: "qlxzmc", |
170 | label: "土地用途", | 192 | width: '80', |
193 | label: "权利性质", | ||
171 | }, | 194 | }, |
172 | { | 195 | { |
173 | prop: "zl", | 196 | prop: "qlmjmc", |
174 | label: "坐落", | 197 | width: '100', |
175 | minWidth: '110' | 198 | label: "使用权面积", |
176 | }, | 199 | }, |
177 | { | 200 | { |
178 | label: '操作', | 201 | label: '操作', |
... | @@ -182,11 +205,11 @@ class datatwo extends filter { | ... | @@ -182,11 +205,11 @@ class datatwo extends filter { |
182 | render: (h, scope) => { | 205 | render: (h, scope) => { |
183 | return ( | 206 | return ( |
184 | <div> | 207 | <div> |
185 | <el-button type="text" icon="el-icon-edit-outline" onClick={() => { vm.openBook(scope.row) }}>登记薄</el-button> | 208 | <el-button v-show={scope.row.bglx == '1'} type="text" icon="el-icon-edit-outline" onClick={() => { vm.openBook(scope.row) }}>登记薄</el-button> |
186 | </div> | 209 | </div> |
187 | ) | 210 | ) |
188 | } | 211 | } |
189 | }, | 212 | } |
190 | ] | 213 | ] |
191 | } | 214 | } |
192 | 215 | ... | ... |
-
Please register or sign in to post a comment