0a741b5c by tianhaohao@pashanhoo.com

新增土地分割页面及逻辑处理

1 parent 827581db
...@@ -199,6 +199,18 @@ export function selectZdjbxx (data) { ...@@ -199,6 +199,18 @@ export function selectZdjbxx (data) {
199 data 199 data
200 }) 200 })
201 } 201 }
202
203 /*
204 业务办理-选择单元-查询宗地基本信息
205 */
206 export function selectZdjbxxSplitMergeLast (data) {
207 return request({
208 url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectZdjbxxSplitMergeLast',
209 method: 'post',
210 data
211 })
212 }
213
202 /* 214 /*
203 业务办理-选择单元-查询自然幢信息 215 业务办理-选择单元-查询自然幢信息
204 */ 216 */
...@@ -244,6 +256,17 @@ export function selectJsydQlxx (data) { ...@@ -244,6 +256,17 @@ export function selectJsydQlxx (data) {
244 }) 256 })
245 } 257 }
246 258
259 /*
260 业务办理-选择单元-查询建设用地、宅基地信息
261 */
262 export function selectJsydQlxxSplitMergeBefore (data) {
263 return request({
264 url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectJsydQlxxSplitMergeBefore',
265 method: 'post',
266 data
267 })
268 }
269
247 /** 270 /**
248 * 业务办理-选择权利信息-根据条件进行列表查询 271 * 业务办理-选择权利信息-根据条件进行列表查询
249 * @param data 272 * @param data
......
1 <template>
2 <div class="from-clues">
3 <!-- 表单部分 -->
4 <div class="from-clues-header">
5 <el-form :model="queryForm" ref="queryForm" label-width="100px">
6 <el-row>
7 <el-col :span="8">
8 <el-form-item label="不动产单元号">
9 <el-input placeholder="请输入不动产单元号" v-model="queryForm.bdcdyh" clearable maxlength="28" class="width100">
10 </el-input>
11 </el-form-item>
12 </el-col>
13 <el-col :span="10">
14 <el-form-item label="不动产权证号">
15 <el-input placeholder="请输入不动产权证号" v-model="queryForm.bdcqzh" clearable class="width100">
16 </el-input>
17 </el-form-item>
18 </el-col>
19 </el-row>
20 <el-row>
21 <el-col :span="8">
22 <el-form-item label="权利人">
23 <el-input placeholder="请输入权利人" v-model="queryForm.qlr" clearable class="width100">
24 </el-input>
25 </el-form-item>
26 </el-col>
27 <el-col :span="10">
28 <el-form-item label="坐落">
29 <el-input placeholder="请输入坐落" v-model.trim="queryForm.zl" clearable class="width100">
30 </el-input>
31 </el-form-item>
32 </el-col>
33 <el-col :span="6" class="btnColRight">
34 <el-form-item>
35 <el-button type="primary" @click="resetForm(true)">重置</el-button>
36 <el-button type="primary" @click="handleSearch">查询</el-button>
37 </el-form-item>
38 </el-col>
39 </el-row>
40 </el-form>
41 </div>
42 <!-- 表格 -->
43 <div class="from-clues-content loadingtext">分割合并前权利信息
44 <lb-table ref="table" @row-dblclick="handleRowClick" :page-size="pageData.pageSize" :calcHeight="300"
45 :current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange"
46 @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns"
47 :data="tableData.data">
48 </lb-table>
49 </div>
50 <div class="from-clues-content loadingtext">分割合并后宗地信息
51 <lb-table ref="table" @row-dblclick="handleRowClick" :page-size="pageData.pageSize" :calcHeight="300"
52 :current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange"
53 @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns"
54 :data="tableData.data">
55 </lb-table>
56 </div>
57 <div class="submit_button">
58 <el-button @click="$popupCacel">取消</el-button>
59 <el-button type="primary" plain @click="submitForm">发起申请</el-button>
60 </div>
61 </div>
62 </template>
63 <script>
64 //首次登记
65 import store from '@/store/index.js'
66 import { datas, sendThis } from "../javascript/selectJsydsyq.js";
67 import { defaultParameters } from "../javascript/publicDefaultPar.js";
68 import table from "@/utils/mixin/table";
69 import jump from "./mixin/jump";
70 import { startBusinessFlow, selectJsydQlxxSplitMergeBefore,selectZdjbxxSplitMergeLast} from "@/api/ywbl.js";
71 export default {
72 mixins: [table, jump],
73 props: {
74 isJump: { type: Boolean, default: false },
75 sqywInfo: { type: Object, default: () => { } },
76 },
77 data () {
78 return {
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 },
91 methods: {
92 queryClick () {
93 this.$startLoading();
94 this.queryForm.sqywbm = this.sqywInfo.djywbm;
95 selectJsydQlxxSplitMergeBefore({ ...this.queryForm, ...this.pageData }).then((res) => {
96 this.$endLoading();
97 if (res.code === 200) {
98 let { total, records } = res.result;
99 this.tableData.total = total;
100 this.tableData.data = res.result;
101 }
102 });
103 },
104 submitForm () {
105 if (this.bdcdysz.length == 0) {
106 this.$message.error("请至少选择一条数据");
107 return;
108 }
109 startBusinessFlow({
110 bsmSqyw: this.sqywInfo.parentid,
111 bdcdysz: this.bdcdysz,
112 djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "",
113 djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "",
114 }).then((res) => {
115 if (res.code == 200) {
116 this.$message({
117 showClose: true,
118 message: "发起申请成功",
119 type: "success",
120 });
121 if (!this.isJump) {
122 this.jump(res.result, this.sqywInfo.djywbm);
123 } else {
124 store.dispatch('user/refreshPage', true);
125 }
126 } else {
127 this.$message.error(res.message);
128 }
129 });
130 },
131 handleSelectionChange (val) {
132 val.forEach((item, index) => {
133 item.bsmSsql = item.bsmQlxx;
134 item.ybdcqzsh = item.bdcqzh;
135 });
136 this.bdcdysz = val;
137 },
138 openBook (row) {
139 var param = {
140 bdcdyid: row.bdcdyid,
141 qllx: row.qllx,
142 bdcdyh: row.bdcdyh,
143 bsmQlxx: row.bsmQlxx,
144 };
145 this.$popup("登记簿详情", "registerBook/djbFrame", {
146 formData: param
147 })
148 }
149 }
150 }
151 </script>
152 <style scoped lang="scss">
153 @import "~@/styles/mixin.scss";
154 @import "~@/styles/public.scss";
155 </style>
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
24 }, 24 },
25 mounted () { 25 mounted () {
26 if (this.formData?.sqywInfo?.djywbm || this.formData?.djywbm) { 26 if (this.formData?.sqywInfo?.djywbm || this.formData?.djywbm) {
27 let view = queueDjywmc(this.formData?.sqywInfo?.djywbm || this.formData?.djywbm); 27 let view = queueDjywmc(this.formData?.sqywInfo?.djywbm || this.formData?.djywbm,this.formData?.sqywInfo?.nodecode || this.formData?.nodecode);
28 this.router = this.loadView(view); 28 this.router = this.loadView(view);
29 } else { 29 } else {
30 let view = queueDjywmc(this.$route.query?.sqywbm); 30 let view = queueDjywmc(this.$route.query?.sqywbm);
......
1 export function queueDjywmc(djywbm) { 1 export function queueDjywmc(djywbm, djqxbm) {
2 console.log(djqxbm);
3 if (djqxbm == "A0320099" || djqxbm == "A0330099") {
4 return "selectJsydsyqSplitMerge";
5 }
2 let vm = null; 6 let vm = null;
3 switch (djywbm) { 7 switch (djywbm) {
4 case "A03100"://建设用地使用权(首次登记) 8 case "A03100"://建设用地使用权(首次登记)
...@@ -26,7 +30,7 @@ export function queueDjywmc(djywbm) { ...@@ -26,7 +30,7 @@ export function queueDjywmc(djywbm) {
26 case "A04200": 30 case "A04200":
27 case "A04300": 31 case "A04300":
28 case "A04400": 32 case "A04400":
29 vm="selectFwsyq"; 33 vm = "selectFwsyq";
30 break; 34 break;
31 case "A23100"://农用地使用权(首次登记) 35 case "A23100"://农用地使用权(首次登记)
32 case "A09100"://土地经营权(首次登记) 36 case "A09100"://土地经营权(首次登记)
...@@ -50,18 +54,18 @@ export function queueDjywmc(djywbm) { ...@@ -50,18 +54,18 @@ export function queueDjywmc(djywbm) {
50 vm = "cfdj"; 54 vm = "cfdj";
51 break; 55 break;
52 case "B40100"://预告首次 56 case "B40100"://预告首次
53 vm ="selectYgdj100"; 57 vm = "selectYgdj100";
54 break; 58 break;
55 case "B40200"://预告转移 59 case "B40200"://预告转移
56 case "B40300"://预告变更 60 case "B40300"://预告变更
57 case "B40400"://预告注销 61 case "B40400"://预告注销
58 case "B41100": //预告抵押首次 62 case "B41100": //预告抵押首次
59 vm ="selectYgdj200"; 63 vm = "selectYgdj200";
60 break; 64 break;
61 case "B41200": //预告抵押转移 65 case "B41200": //预告抵押转移
62 case "B41300": //预告抵押变更 66 case "B41300": //预告抵押变更
63 case "B41400": //预告抵押注销 67 case "B41400": //预告抵押注销
64 vm ="selectYgdy"; 68 vm = "selectYgdy";
65 break; 69 break;
66 default: 70 default:
67 vm = "selecBdcql"; 71 vm = "selecBdcql";
......