Merge branch 'dev'
Showing
6 changed files
with
326 additions
and
8 deletions
1 | { | 1 | { |
2 | "TITLE": "不动产登记系统", | 2 | "TITLE": "不动产登记系统", |
3 | "SERVERAPI": "/bdcdj-th", | 3 | "SERVERAPI": "/bdcdj", |
4 | "IDCARDURL": "http://127.0.0.1:33088/function=get_idcard&readnew=0", | 4 | "IDCARDURL": "http://127.0.0.1:33088/function=get_idcard&readnew=0", |
5 | "adapter": "dysqs-630222", | 5 | "adapter": "dysqs-630222", |
6 | "gaopaiyi": "jy" | 6 | "gaopaiyi": "jy" | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2024-01-18 15:56:28 | 4 | * @LastEditTime: 2024-01-22 16:30:18 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -171,6 +171,9 @@ | ... | @@ -171,6 +171,9 @@ |
171 | * @author: renchao | 171 | * @author: renchao |
172 | */ | 172 | */ |
173 | handleSelectionChange (val) { | 173 | handleSelectionChange (val) { |
174 | val.forEach((item, index) => { | ||
175 | item.bsm = item.zdbsm; | ||
176 | }); | ||
174 | if (this.sqywInfo.sqywdylx == "1") { | 177 | if (this.sqywInfo.sqywdylx == "1") { |
175 | if (val.length > 1) { | 178 | if (val.length > 1) { |
176 | this.bdcdysz = [...val[val.length - 1]]; | 179 | this.bdcdysz = [...val[val.length - 1]]; |
... | @@ -183,6 +186,7 @@ | ... | @@ -183,6 +186,7 @@ |
183 | }, | 186 | }, |
184 | handleChange () { | 187 | handleChange () { |
185 | let arr = this.tableData.data.filter(item => item.bdcdyid == this.radioVal) | 188 | let arr = this.tableData.data.filter(item => item.bdcdyid == this.radioVal) |
189 | arr[0].bsm = arr[0].zdbsm | ||
186 | this.bdcdysz = arr | 190 | this.bdcdysz = arr |
187 | }, | 191 | }, |
188 | /** | 192 | /** |
... | @@ -194,6 +198,7 @@ | ... | @@ -194,6 +198,7 @@ |
194 | // 如果状态是1,那就是单选 | 198 | // 如果状态是1,那就是单选 |
195 | let refs = 'table'; | 199 | let refs = 'table'; |
196 | if (this.sqywInfo.sqywdylx == "1") { | 200 | if (this.sqywInfo.sqywdylx == "1") { |
201 | row.bsm = row.zdbsm | ||
197 | this.bdcdysz = [row] | 202 | this.bdcdysz = [row] |
198 | this.radioVal = row.bdcdyid | 203 | this.radioVal = row.bdcdyid |
199 | } else { | 204 | } else { | ... | ... |
... | @@ -293,10 +293,7 @@ | ... | @@ -293,10 +293,7 @@ |
293 | selectHSplitMerge({ ...this.queryForm }).then((res) => { | 293 | selectHSplitMerge({ ...this.queryForm }).then((res) => { |
294 | this.$endLoading(); | 294 | this.$endLoading(); |
295 | if (res.code === 200) { | 295 | if (res.code === 200) { |
296 | this.tableData.datastwo = res.result | 296 | this.tableData.datastwo = res.result; |
297 | this.tableData.datastwo.forEach(item => { | ||
298 | item.bsm = item.zdbsm; | ||
299 | }) | ||
300 | this.bdcdysz = this.tableData.datastwo | 297 | this.bdcdysz = this.tableData.datastwo |
301 | } | 298 | } |
302 | }) | 299 | }) | ... | ... |
src/views/ywbl/ywsq/components/tdjyq100.vue
0 → 100644
1 | <!-- | ||
2 | * @Description: | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2024-01-22 16:24:56 | ||
5 | --> | ||
6 | <template> | ||
7 | <div class="from-clues"> | ||
8 | <!-- 表单部分 国有建设用地使用权 --> | ||
9 | <div class="from-clues-header"> | ||
10 | <el-form :model="queryForm" ref="queryForm" label-width="100px"> | ||
11 | <el-row> | ||
12 | <el-col :span="6"> | ||
13 | <el-form-item label="不动产单元号"> | ||
14 | <el-input placeholder="请输入不动产单元号" maxlength="28" v-model="queryForm.bdcdyh" clearable class="width100"> | ||
15 | </el-input> | ||
16 | </el-form-item> | ||
17 | </el-col> | ||
18 | <el-col :span="6"> | ||
19 | <el-form-item label="坐落" label-width="60px"> | ||
20 | <el-input placeholder="请输入坐落" v-model.trim="queryForm.zl" clearable class="width100"> | ||
21 | </el-input> | ||
22 | </el-form-item> | ||
23 | </el-col> | ||
24 | <el-col :span="6"> | ||
25 | <el-form-item label="权利人"> | ||
26 | <el-input placeholder="请输入权利人" v-model.trim="queryForm.qlr" clearable class="width100"> | ||
27 | </el-input> | ||
28 | </el-form-item> | ||
29 | </el-col> | ||
30 | <el-col :span="6"> | ||
31 | <el-form-item label="证件号"> | ||
32 | <el-input placeholder="请输入证件号" v-model.trim="queryForm.zjh" clearable class="width100"> | ||
33 | </el-input> | ||
34 | </el-form-item> | ||
35 | </el-col> | ||
36 | <el-col :span="24" class="btnColRight"> | ||
37 | <el-form-item> | ||
38 | <el-button type="primary" @click="handleSearch">查询</el-button> | ||
39 | <el-button type="primary" @click="resetForm(true)">重置</el-button> | ||
40 | </el-form-item> | ||
41 | </el-col> | ||
42 | </el-row> | ||
43 | </el-form> | ||
44 | </div> | ||
45 | <!-- 表格 --> | ||
46 | <div class="from-clues-content loadingtext"> | ||
47 | <lb-table ref="table" @row-click="handleRowClick" :page-size="pageData.pageSize" :calcHeight="300" | ||
48 | :current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange" | ||
49 | @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns" | ||
50 | :data="tableData.data"> | ||
51 | </lb-table> | ||
52 | </div> | ||
53 | <div class="submit_button"> | ||
54 | <el-button @click="$popupCacel">取消</el-button> | ||
55 | <el-button type="primary" plain @click="submitForm" :loading="loading">发起申请</el-button> | ||
56 | </div> | ||
57 | </div> | ||
58 | </template> | ||
59 | <script> | ||
60 | //首次登记 | ||
61 | import store from '@/store/index.js' | ||
62 | import ywsqTable from "@/utils/mixin/ywsqTable"; | ||
63 | import jump from "../components/mixin/jump"; | ||
64 | import { ywPopupDialog } from "@/utils/popup.js"; | ||
65 | import { datas, sendThis } from "../javascript/tdjyq100.js"; | ||
66 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; | ||
67 | import { selectZdjbxx } from "@/api/ywsq.js"; | ||
68 | import { startBusinessFlow } from "@/api/workFlow.js"; | ||
69 | export default { | ||
70 | mixins: [ywsqTable, jump], | ||
71 | props: { | ||
72 | isJump: { type: Boolean, default: false }, | ||
73 | sqywInfo: { type: Object, default: () => { } }, | ||
74 | }, | ||
75 | data () { | ||
76 | return { | ||
77 | radioVal: '', | ||
78 | loading: false, | ||
79 | queryForm: defaultParameters.defaultParameters(), | ||
80 | tableData: { | ||
81 | total: 0, | ||
82 | columns: datas.columns(), | ||
83 | data: [], | ||
84 | }, | ||
85 | bdcdysz: [], | ||
86 | }; | ||
87 | }, | ||
88 | mounted () { | ||
89 | sendThis(this); | ||
90 | if (this.sqywInfo.sqywdylx == "1") { | ||
91 | this.tableData.columns = [{ | ||
92 | label: '选择', | ||
93 | width: '50px', | ||
94 | render: (h, scope) => { | ||
95 | return ( | ||
96 | <div class="orgColumn"> | ||
97 | <el-radio onChange={() => { this.handleChange(scope.row) }} v-model={this.radioVal} label={scope.row.bdcdyid}> | ||
98 |   | ||
99 | </el-radio> | ||
100 | </div> | ||
101 | ) | ||
102 | } | ||
103 | }].concat(datas.columns()) | ||
104 | } else { | ||
105 | this.tableData.columns = | ||
106 | [{ | ||
107 | type: 'selection', | ||
108 | label: '全选', | ||
109 | width: '50' | ||
110 | }].concat(datas.columns()) | ||
111 | } | ||
112 | }, | ||
113 | methods: { | ||
114 | /** | ||
115 | * @description: queryClick | ||
116 | * @author: renchao | ||
117 | */ | ||
118 | queryClick () { | ||
119 | this.$startLoading(); | ||
120 | this.queryForm.sqywbm = this.sqywInfo.djywbm; | ||
121 | selectZdjbxx({ ...this.queryForm, ...this.pageData }).then((res) => { | ||
122 | this.$endLoading(); | ||
123 | if (res.code === 200) { | ||
124 | let { total, records } = res.result; | ||
125 | this.tableData.total = total; | ||
126 | this.tableData.data = records; | ||
127 | } | ||
128 | }); | ||
129 | }, | ||
130 | /** | ||
131 | * @description: submitForm | ||
132 | * @author: renchao | ||
133 | */ | ||
134 | submitForm () { | ||
135 | if (this.bdcdysz.length == 0) { | ||
136 | this.$message.error("请至少选择一条数据"); | ||
137 | return; | ||
138 | } | ||
139 | this.loading = true | ||
140 | startBusinessFlow({ | ||
141 | bsmSqyw: this.sqywInfo.bsmSqyw, | ||
142 | bdcdysz: this.bdcdysz, | ||
143 | }).then((res) => { | ||
144 | this.loading = false | ||
145 | if (res.code == 200) { | ||
146 | this.$message({ | ||
147 | showClose: true, | ||
148 | message: '发起申请成功', | ||
149 | type: 'success' | ||
150 | }) | ||
151 | if (!this.isJump) { | ||
152 | this.jump(res.result, this.djywbm) | ||
153 | } else { | ||
154 | store.dispatch('user/refreshPage', true); | ||
155 | } | ||
156 | this.$popupCacel() | ||
157 | } else { | ||
158 | if (res.result && res.result.length > 0) { | ||
159 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | ||
160 | } else { | ||
161 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | ||
162 | } | ||
163 | } | ||
164 | }).catch(() => { | ||
165 | this.loading = false | ||
166 | }) | ||
167 | }, | ||
168 | /** | ||
169 | * @description: handleSelectionChange | ||
170 | * @param {*} val | ||
171 | * @author: renchao | ||
172 | */ | ||
173 | handleSelectionChange (val) { | ||
174 | val.forEach((item, index) => { | ||
175 | item.bsm = item.zdbsm; | ||
176 | }); | ||
177 | if (this.sqywInfo.sqywdylx == "1") { | ||
178 | if (val.length > 1) { | ||
179 | this.bdcdysz = [...val[val.length - 1]]; | ||
180 | } else { | ||
181 | this.bdcdysz = val; | ||
182 | } | ||
183 | } else { | ||
184 | this.bdcdysz = val; | ||
185 | } | ||
186 | }, | ||
187 | handleChange () { | ||
188 | let arr = this.tableData.data.filter(item => item.bdcdyid == this.radioVal) | ||
189 | arr[0].bsm = arr[0].zdbsm | ||
190 | this.bdcdysz = arr | ||
191 | }, | ||
192 | /** | ||
193 | * @description: handleRowClick | ||
194 | * @param {*} row | ||
195 | * @author: renchao | ||
196 | */ | ||
197 | handleRowClick (row) { | ||
198 | // 如果状态是1,那就是单选 | ||
199 | let refs = 'table'; | ||
200 | if (this.sqywInfo.sqywdylx == "1") { | ||
201 | this.bdcdysz = [row] | ||
202 | this.radioVal = row.bdcdyid | ||
203 | } else { | ||
204 | this.$refs[refs].toggleRowSelection(row) | ||
205 | } | ||
206 | }, | ||
207 | /** | ||
208 | * @description: openBook | ||
209 | * @param {*} row | ||
210 | * @author: renchao | ||
211 | */ | ||
212 | openBook (row) { | ||
213 | var param = { | ||
214 | bdcdyid: row.bdcdyid, | ||
215 | qllx: row.qllx, | ||
216 | bdcdyh: row.bdcdyh, | ||
217 | bsmQlxx: row.bsmQlxx, | ||
218 | }; | ||
219 | this.$popup("登记簿详情", "registerBook/djbFrame", { | ||
220 | formData: param | ||
221 | }) | ||
222 | } | ||
223 | } | ||
224 | } | ||
225 | </script> | ||
226 | <style scoped lang="scss"> | ||
227 | @import "~@/styles/mixin.scss"; | ||
228 | @import "~@/styles/public.scss"; | ||
229 | </style> | ||
230 |
... | @@ -5,7 +5,7 @@ export function queueDjywmc (djywbm, djqxbm) { | ... | @@ -5,7 +5,7 @@ export function queueDjywmc (djywbm, djqxbm) { |
5 | return "selectJsydsyqSplitMerge"; | 5 | return "selectJsydsyqSplitMerge"; |
6 | } | 6 | } |
7 | // 房屋分割A04200S1 | 7 | // 房屋分割A04200S1 |
8 | if (['A04300S1', 'A04200S2', 'A04300S2'].includes(djqxbm)) { | 8 | if (['A04300S1', 'A04200S2', 'A0830S1'].includes(djqxbm)) { |
9 | return "selectFwfgSplitMerge"; | 9 | return "selectFwfgSplitMerge"; |
10 | } | 10 | } |
11 | if (djqxbm == "A37100S2") { | 11 | if (djqxbm == "A37100S2") { |
... | @@ -65,9 +65,11 @@ export function queueDjywmc (djywbm, djqxbm) { | ... | @@ -65,9 +65,11 @@ export function queueDjywmc (djywbm, djqxbm) { |
65 | vm = "selectFwsyq"; | 65 | vm = "selectFwsyq"; |
66 | break; | 66 | break; |
67 | case "A23100"://农用地使用权(首次登记) | 67 | case "A23100"://农用地使用权(首次登记) |
68 | case "A09100"://土地经营权(首次登记) | ||
69 | vm = "nydsyq100"; | 68 | vm = "nydsyq100"; |
70 | break; | 69 | break; |
70 | case "A09100"://土地经营权(首次登记) | ||
71 | vm = "tdjyq100"; | ||
72 | break; | ||
71 | case "A23200": | 73 | case "A23200": |
72 | case "A23300": | 74 | case "A23300": |
73 | case "A23400": | 75 | case "A23400": | ... | ... |
src/views/ywbl/ywsq/javascript/tdjyq100.js
0 → 100644
1 | /* | ||
2 | * @Description: | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2024-01-22 16:23:21 | ||
5 | */ | ||
6 | import filter from '@/utils/filter.js' | ||
7 | let vm = null | ||
8 | |||
9 | const sendThis = (_this) => { | ||
10 | vm = _this | ||
11 | } | ||
12 | class data extends filter { | ||
13 | constructor() { | ||
14 | super() | ||
15 | } | ||
16 | columns () { | ||
17 | return [ | ||
18 | { | ||
19 | label: '序号', | ||
20 | type: 'index', | ||
21 | width: '50', | ||
22 | render: (h, scope) => { | ||
23 | return ( | ||
24 | <div> | ||
25 | {(vm.pageData.currentPage - 1) * vm.pageData.pageSize + scope.$index + 1} | ||
26 | </div> | ||
27 | ) | ||
28 | } | ||
29 | }, | ||
30 | { | ||
31 | label: "状态", | ||
32 | render: (h, scope) => { | ||
33 | return ( | ||
34 | <div> | ||
35 | <a style='color:#3498db;' v-show={scope.row.djblzt == 1}>{this.yWstatus(scope.row)}</a> | ||
36 | <span v-show={scope.row.djblzt != 1}>{this.yWstatus(scope.row)}</span> | ||
37 | </div> | ||
38 | ) | ||
39 | } | ||
40 | }, | ||
41 | { | ||
42 | prop: "qllxmc", | ||
43 | label: "权利类型", | ||
44 | }, | ||
45 | { | ||
46 | prop: "zddm", | ||
47 | label: "宗地代码", | ||
48 | }, | ||
49 | { | ||
50 | prop: "bdcdyh", | ||
51 | label: "不动产单元号", | ||
52 | minWidth: '150' | ||
53 | }, | ||
54 | { | ||
55 | prop: "qlxzmc", | ||
56 | label: "权利性质", | ||
57 | }, | ||
58 | { | ||
59 | prop: "zdmj", | ||
60 | label: "面积(㎡)", | ||
61 | }, | ||
62 | { | ||
63 | prop: "qlsdfsmc", | ||
64 | label: "权利设定方式", | ||
65 | }, | ||
66 | { | ||
67 | prop: "showTdyt", | ||
68 | label: "土地用途", | ||
69 | }, | ||
70 | { | ||
71 | prop: "zl", | ||
72 | label: "坐落", | ||
73 | minWidth: '130' | ||
74 | }, | ||
75 | ] | ||
76 | } | ||
77 | |||
78 | |||
79 | } | ||
80 | let datas = new data() | ||
81 | export { | ||
82 | datas, | ||
83 | sendThis | ||
84 | } |
-
Please register or sign in to post a comment