4127271a by renchao@pashanhoo.com

Merge branch 'dev' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web into dev

2 parents 00a867b3 58b4e632
...@@ -2,4 +2,4 @@ ...@@ -2,4 +2,4 @@
2 "TITLE": "不动产登记系统", 2 "TITLE": "不动产登记系统",
3 "SERVERAPI": "/bdcdj", 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 }
...\ No newline at end of file ...\ No newline at end of file
5 }
......
...@@ -340,6 +340,18 @@ export function selectH (data) { ...@@ -340,6 +340,18 @@ export function selectH (data) {
340 }) 340 })
341 } 341 }
342 342
343 /**
344 * @description: 业务办理-选择单元-查询土地所有权信息
345 * @param {*} data
346 * @author: renchao
347 */
348 export function selectTdsyqQlxx (data) {
349 return request({
350 url: SERVER.SERVERAPI + '/rest/ywbl/ywsq/selectTdsyqQlxx',
351 method: 'post',
352 data
353 })
354 }
343 355
344 /** 356 /**
345 * @description: 业务办理-选择单元-查询建设用地、宅基地信息 357 * @description: 业务办理-选择单元-查询建设用地、宅基地信息
......
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-click="handleRowClick" :page-size="pageData.pageSize" :calcHeight="300"
45 :current-page.sync="pageData.currentPage" :total="tableData.total" @size-change="handleSizeChange" @select="select"
46 @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="tableData.columns"
47 :data="tableData.data">
48 </lb-table>
49 </div>
50 <div class="submit_button">
51 <el-button @click="$popupCacel">取消</el-button>
52 <el-button type="primary" plain @click="submitForm">发起申请</el-button>
53 </div>
54 </div>
55 </template>
56 <script>
57 //首次登记
58 import store from '@/store/index.js'
59 import { datas, sendThis } from "../javascript/selectTdsyq.js";
60 import { defaultParameters } from "../javascript/publicDefaultPar.js";
61 import table from "@/utils/mixin/table";
62 import jump from "./mixin/jump";
63 import { startBusinessFlow, selectTdsyqQlxx } from "@/api/ywbl.js";
64 export default {
65 mixins: [table, jump],
66 props: {
67 isJump: { type: Boolean, default: false },
68 sqywInfo: { type: Object, default: () => { } },
69 },
70 data () {
71 return {
72 queryForm: defaultParameters.defaultParameters(),
73 tableData: {
74 total: 0,
75 columns: datas.columns(),
76 data: []
77 },
78 bdcdysz: []
79 }
80 },
81 mounted () {
82 sendThis(this);
83 },
84 methods: {
85 queryClick () {
86 this.$startLoading();
87 this.queryForm.sqywbm = this.sqywInfo.djywbm;
88 selectTdsyqQlxx({ ...this.queryForm, ...this.pageData }).then((res) => {
89 this.$endLoading();
90 if (res.code === 200) {
91 let { total, records } = res.result;
92 this.tableData.total = total;
93 this.tableData.data = records;
94 }
95 });
96 },
97 submitForm () {
98 if (this.bdcdysz.length == 0) {
99 this.$message.error("请至少选择一条数据");
100 return;
101 }
102 startBusinessFlow({
103 bsmSqyw: this.sqywInfo.parentid,
104 bdcdysz: this.bdcdysz,
105 djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "",
106 djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "",
107 }).then((res) => {
108 if (res.code == 200) {
109 this.$message({
110 showClose: true,
111 message: "发起申请成功",
112 type: "success",
113 });
114 if (!this.isJump) {
115 this.jump(res.result, this.sqywInfo.djywbm);
116 } else {
117 store.dispatch('user/refreshPage', true);
118 }
119 this.$popupCacel()
120 } else {
121 this.$message.error(res.message);
122 }
123 })
124 },
125 handleSelectionChange (val) {
126 this.bdcdysz = val;
127 },
128 openBook (row) {
129 var param = {
130 bdcdyid: row.bdcdyid,
131 qllx: row.qllx,
132 bdcdyh: row.bdcdyh,
133 bsmQlxx: row.bsmQlxx,
134 };
135 this.$popup("登记簿详情", "registerBook/djbFrame", {
136 formData: param
137 })
138 },
139 select (selection, row) {
140 if (this.sqywInfo.sqywdylx == "1") {
141 // 清除 所有勾选项
142 this.$refs.table.clearSelection()
143 // 当表格数据都没有被勾选的时候 就返回
144 // 主要用于将当前勾选的表格状态清除
145 if (selection.length == 0) return
146 this.$refs.table.toggleRowSelection(row, true);
147 }
148 },
149 handleRowClick (row) {
150 // 如果状态是1,那就是单选
151 if (this.sqywInfo.sqywdylx == "1") {
152 const bdcdysz = this.bdcdysz
153 this.$refs.table.clearSelection()
154 if (bdcdysz.length == 1) {
155 bdcdysz.forEach(item => {
156 // 判断 如果当前的一行被勾选, 再次点击的时候就会取消选中
157 if (item == row) {
158 this.$refs.table.toggleRowSelection(row, false);
159 }
160 // 不然就让当前的一行勾选
161 else {
162 this.$refs.table.toggleRowSelection(row, true);
163 }
164 })
165 }
166 else {
167 this.$refs.table.toggleRowSelection(row, true);
168 }
169 } else {
170 this.$refs.table.toggleRowSelection(row);
171 }
172 },
173 }
174 }
175 </script>
176 <style scoped lang="scss">
177 @import "~@/styles/mixin.scss";
178 @import "~@/styles/public.scss";
179 </style>
1 /* 1 /*
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:37:24 4 * @LastEditTime: 2023-05-17 10:37:24
...@@ -88,11 +88,11 @@ class data extends filter { ...@@ -88,11 +88,11 @@ class data extends filter {
88 prop: "mjmc", 88 prop: "mjmc",
89 width: '100', 89 width: '100',
90 label: "使用权面积", 90 label: "使用权面积",
91 }, 91 },
92 { 92 {
93 prop: "ytmc", 93 prop: "ytmc",
94 label: "土地用途", 94 label: "土地用途",
95 }, 95 },
96 { 96 {
97 prop: "qdjgmc", 97 prop: "qdjgmc",
98 width: '100', 98 width: '100',
......
1 /*
2 * @Description: 土地所有权对象处理
3 * @Autor: ssq
4 * @LastEditTime: 2023年06月28日 11:08:58
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 type: 'selection',
20 label: '全选',
21 selectable: this.selected
22 },
23 {
24 label: '序号',
25 type: 'index',
26 width: '50',
27 render: (h, scope) => {
28 return (
29 <div>
30 {(vm.pageData.currentPage - 1) * vm.pageData.pageSize + scope.$index + 1}
31 </div>
32 )
33 }
34 },
35 {
36 label: "状态",
37 width: '130',
38 render: (h, scope) => {
39 return (
40 <div>
41 <a style='color:#3498db;' v-show={scope.row.djblzt == 1} >正在办理</a>
42 <span v-show={scope.row.zjgcdyzt == 1}>,在建工程抵押</span>
43 <span v-show={scope.row.ycfzt == 1}>,已预查封</span>
44 <span v-show={scope.row.ycfzt == 1}>,已预查封</span>
45 <span v-show={scope.row.cfzt == 1}>,已查封</span>
46 <span v-show={scope.row.diyizt == 1}>,已地役</span>
47 <span v-show={scope.row.yyzt == 1}>,异议中</span>
48 <span v-show={scope.row.xzzt == 1}>,已限制</span>
49 <span v-show={scope.row.ygmmzt == 1}>,已预告买卖</span>
50 <span v-show={scope.row.ygdyzt == 1}>,已预告抵押</span>
51 <span v-show={scope.row.dyzt == 1}>,已抵押</span>
52 </div>
53 )
54 }
55 },
56 {
57 prop: "qllxmc",
58 label: "权利类型",
59 },
60 {
61 prop: "bdcdyh",
62 label: "不动产单元号",
63 minWidth: '150'
64 },
65 {
66 prop: "bdcqzh",
67 label: "不动产权证号",
68 minWidth: '150'
69 },
70 {
71 prop: "gyqk",
72 label: "共有方式",
73 },
74 {
75 prop: "qlrmc",
76 label: "使用权人",
77 },
78 {
79 prop: "qlrzjhm",
80 label: "证件号",
81 },
82 {
83 prop: "qlxzmc",
84 width: '80',
85 label: "权利性质",
86 },
87 {
88 prop: "mjmc",
89 width: '100',
90 label: "使用权面积",
91 },
92 {
93 prop: "ytmc",
94 label: "土地用途",
95 },
96 {
97 prop: "zl",
98 label: "坐落",
99 minWidth: '150'
100 },
101 {
102 label: '操作',
103 width: '80',
104 align: 'center',
105 fixed: 'right',
106 render: (h, scope) => {
107 return (
108 <div>
109 <el-button type="text" icon="el-icon-edit-outline" onClick={() => { vm.openBook(scope.row) }}>登记薄</el-button>
110 </div>
111 )
112 }
113 },
114 ]
115 }
116
117
118 }
119 let datas = new data()
120 export {
121 datas,
122 sendThis
123 }
...@@ -15,6 +15,14 @@ export function queueDjywmc(djywbm, djqxbm) { ...@@ -15,6 +15,14 @@ export function queueDjywmc(djywbm, djqxbm) {
15 case "A07100"://集体建设用地使用权(首次登记) 15 case "A07100"://集体建设用地使用权(首次登记)
16 vm = "selectQjzdjbxx"; 16 vm = "selectQjzdjbxx";
17 break; 17 break;
18 case "A01200":
19 case "A01300":
20 case "A01400":
21 case "A02200":
22 case "A02300":
23 case "A02400":
24 vm = "selectTdsyq";
25 break;
18 case "A03200": 26 case "A03200":
19 case "A03300": 27 case "A03300":
20 case "A03400": 28 case "A03400":
......