0211cfb0 by renchao@pashanhoo.com

Merge branch 'dev'

2 parents efc08561 4127271a
...@@ -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 import cookies from './util.cookies' 1 import cookies from './util.cookies'
2 export function getUrlParam(paraName) { 2 export function getUrlParam (paraName) {
3 let url = document.location.toString(); 3 let url = document.location.toString();
4 let arrObj = url.split('?'); 4 let arrObj = url.split('?');
5 5
...@@ -12,7 +12,7 @@ export function getUrlParam(paraName) { ...@@ -12,7 +12,7 @@ export function getUrlParam(paraName) {
12 12
13 if (arr != null && arr[0] === paraName) { 13 if (arr != null && arr[0] === paraName) {
14 // 截取#之前的内容 14 // 截取#之前的内容
15 let result = arr[1].endsWith('#/') ? arr[1].substr(0, arr[1].indexOf('#')) : arr[1]; 15 let result = arr[1].endsWith('#/') ? arr[1].substr(0, arr[1].indexOf('#')) : arr[1];
16 return result; 16 return result;
17 } 17 }
18 } 18 }
...@@ -22,26 +22,42 @@ export function getUrlParam(paraName) { ...@@ -22,26 +22,42 @@ export function getUrlParam(paraName) {
22 } 22 }
23 } 23 }
24 24
25 export function setToken(token) { 25 export function setToken (token) {
26 if (token === undefined) { 26 if (token === undefined) {
27 if (process.env.NODE_ENV === 'development') { 27 if (process.env.NODE_ENV === 'development') {
28 sessionStorage.removeItem('token') 28 sessionStorage.removeItem('token')
29 } else { 29 } else {
30 cookies.remove('ACCESS_TOKEN') 30 cookies.remove('ACCESS_TOKEN')
31 } 31 }
32 } else { 32 } else {
33 if (process.env.NODE_ENV === 'development') { 33 if (process.env.NODE_ENV === 'development') {
34 sessionStorage.setItem('token', token); 34 sessionStorage.setItem('token', token);
35 } else { 35 } else {
36 cookies.set('ACCESS_TOKEN', token) 36 cookies.set('ACCESS_TOKEN', token)
37 } 37 }
38 } 38 }
39 } 39 }
40 40
41 export function getToken() { 41 export function getToken () {
42 if (process.env.NODE_ENV === 'development') { 42 if (process.env.NODE_ENV === 'development') {
43 return sessionStorage.getItem('token') 43 return sessionStorage.getItem('token')
44 } 44 }
45 return cookies.get('ACCESS_TOKEN') 45 return cookies.get('ACCESS_TOKEN')
46 } 46 }
47 47
48 // 获取当前时间
49
50 export function getNewDate (type = 1) {
51 const now = new Date();
52 const year = now.getFullYear();
53 const month = String(now.getMonth() + 1).padStart(2, '0');
54 const day = String(now.getDate()).padStart(2, '0');
55 const hours = String(now.getHours()).padStart(2, '0');
56 const minutes = String(now.getMinutes()).padStart(2, '0');
57 const seconds = String(now.getSeconds()).padStart(2, '0');
58 if (type == 1) {
59 return `${year}${month}${day}日`
60 } else {
61 return `${year}${month}${day}${hours}${minutes}${seconds}秒`
62 }
63 }
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -110,7 +110,7 @@ ...@@ -110,7 +110,7 @@
110 <object id="LODOP_OB" classid="clsid:2105C259-1E0C-4534-8141-A753534CB4CA" v-show="false"> 110 <object id="LODOP_OB" classid="clsid:2105C259-1E0C-4534-8141-A753534CB4CA" v-show="false">
111 <embed id="LODOP_EM" type="application/x-print-lodop" width=700 height=500 pluginspage="install_lodop32.exe" /> 111 <embed id="LODOP_EM" type="application/x-print-lodop" width=700 height=500 pluginspage="install_lodop32.exe" />
112 </object> 112 </object>
113 <printView ref="printContent" /> 113 <printView ref="printContent" :form="form" v-show="false" />
114 </div> 114 </div>
115 </template> 115 </template>
116 <script> 116 <script>
......
1 <!-- 1 <!--
2 * @Description: 不动产查询证明打印模板 2 * @Description: 不动产查询证明打印模板
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-06-28 11:27:37 4 * @LastEditTime: 2023-06-28 14:45:07
5 --> 5 -->
6 <template> 6 <template>
7 <div class="printView" style="width:100%;padding:20px"> 7 <div class="printView" style="width:100%;padding:20px">
...@@ -18,13 +18,13 @@ ...@@ -18,13 +18,13 @@
18 text-align: center;">不动产登记信息查询证明</h2> 18 text-align: center;">不动产登记信息查询证明</h2>
19 <h5 style=" text-align: center; 19 <h5 style=" text-align: center;
20 margin-top: 20px; 20 margin-top: 20px;
21 font-size: 18px;">查询证明编号: LS201803050045</h5> 21 font-size: 18px;">查询证明编号: {{form.djSqcxDO.cxbh}}</h5>
22 <p style="text-indent: 2em; 22 <p style="text-indent: 2em;
23 margin-top: 15px; 23 margin-top: 15px;
24 line-height: 24px; 24 line-height: 24px;
25 font-size: 18px;">根据《不动产登记暂行条例》和《不动产登记资料查询暂行办法》 25 font-size: 18px;">根据《不动产登记暂行条例》和《不动产登记资料查询暂行办法》
26 有关规定,经线上查询不动产登记信息系统,权利人: 杜林 26 有关规定,经线上查询不动产登记信息系统,权利人: 杜林
27 ,证件号:612322197805120010,截止2022年10月17日 13时15分13秒 27 ,证件号:612322197805120010,截止{{newDatez}}
28 ,名下不动产登记信息查询结果如下:</p> 28 ,名下不动产登记信息查询结果如下:</p>
29 <table style=" border-collapse: collapse; 29 <table style=" border-collapse: collapse;
30 width: 100%; 30 width: 100%;
...@@ -68,7 +68,7 @@ ...@@ -68,7 +68,7 @@
68 line-height: 26px; 68 line-height: 26px;
69 font-size: 18px;"> 69 font-size: 18px;">
70 <li style="list-style: none;">城固县不动产登记交易服务中心</li> 70 <li style="list-style: none;">城固县不动产登记交易服务中心</li>
71 <li style="list-style: none;">2022年10月17日</li> 71 <li style="list-style: none;">{{newDate}}</li>
72 </ul> 72 </ul>
73 <ol style="margin-left: 20px; 73 <ol style="margin-left: 20px;
74 line-height: 26px;"> 74 line-height: 26px;">
...@@ -82,14 +82,21 @@ ...@@ -82,14 +82,21 @@
82 </template> 82 </template>
83 <script> 83 <script>
84 import QRCode from 'qrcode'; 84 import QRCode from 'qrcode';
85 import { getNewDate } from '@/utils/util'
85 export default { 86 export default {
87 props: {
88 form: {
89 type: Object,
90 default: () => ({})
91 }
92 },
86 data () { 93 data () {
87 return { 94 return {
88 qrcodeImage: '', 95 qrcodeImage: '',
89 text: '22222222',
90 tableData: [ 96 tableData: [
91 97 ],
92 ] 98 newDate: getNewDate(),
99 newDatez: getNewDate(2)
93 } 100 }
94 }, 101 },
95 mounted () { 102 mounted () {
...@@ -97,7 +104,7 @@ ...@@ -97,7 +104,7 @@
97 }, 104 },
98 methods: { 105 methods: {
99 generateQRCode () { 106 generateQRCode () {
100 QRCode.toDataURL(this.text) 107 QRCode.toDataURL(this.form.djSqcxDO.cxbh)
101 .then(url => { 108 .then(url => {
102 this.qrcodeImage = url 109 this.qrcodeImage = url
103 }) 110 })
......
1 <!--
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-06-28 14:45:20
5 -->
1 <template> 6 <template>
2 <div class="from-clues"> 7 <div class="from-clues">
3 <!-- 家庭房产 --> 8 <!-- 家庭房产 -->
...@@ -90,7 +95,6 @@ ...@@ -90,7 +95,6 @@
90 this.$popupDialog("家庭房产查询", "sqcx/jtfc/components/addjtfc", { 95 this.$popupDialog("家庭房产查询", "sqcx/jtfc/components/addjtfc", {
91 sqcxBsm: row.bsmSqcx 96 sqcxBsm: row.bsmSqcx
92 }) 97 })
93 // this.$popupDialog("模板", "sqcx/jtfc/components/printView", {})
94 } 98 }
95 } 99 }
96 } 100 }
......
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":
......