Merge branch 'dev' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web into dev
Showing
16 changed files
with
458 additions
and
130 deletions
src/api/djbbl.js
0 → 100644
1 | /* | ||
2 | * @Description: | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2023-05-16 14:05:25 | ||
5 | */ | ||
6 | import request from '@/utils/request' | ||
7 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) | ||
8 | /** | ||
9 | * @description: 获取申请查询列表 | ||
10 | * @param {*} data | ||
11 | * @author: renchao | ||
12 | */ | ||
13 | export function getSqcxPage (data) { | ||
14 | return request({ | ||
15 | url: SERVER.SERVERAPI + '/rest/sqcx/jtfc/getSqcxPage', | ||
16 | method: 'post', | ||
17 | data | ||
18 | }) | ||
19 | } | ||
20 | |||
21 | /** | ||
22 | * @description: 新增申请查询家庭房产信息 | ||
23 | * @param {*} data | ||
24 | * @author: renchao | ||
25 | */ | ||
26 | export function addJtfcCxjgXx (data) { | ||
27 | return request({ | ||
28 | url: SERVER.SERVERAPI + '/rest/sqcx/jtfc/addJtfcCxjgXx', | ||
29 | method: 'post', | ||
30 | data | ||
31 | }) | ||
32 | } | ||
33 | |||
34 | /** | ||
35 | * @description: 新增申请查询房屋明细信息 | ||
36 | * @param {*} data | ||
37 | * @author: renchao | ||
38 | */ | ||
39 | export function addFwmxCxjgXx (data) { | ||
40 | return request({ | ||
41 | url: SERVER.SERVERAPI + '/rest/sqcx/jtfc/addFwmxCxjgXx', | ||
42 | method: 'post', | ||
43 | data | ||
44 | }) | ||
45 | } | ||
46 | |||
47 | /** | ||
48 | * @description: 获取申请查询记录详细信息 | ||
49 | * @param {*} params | ||
50 | * @author: renchao | ||
51 | */ | ||
52 | export function getJtfcInfo (params) { | ||
53 | return request({ | ||
54 | url: SERVER.SERVERAPI + '/rest/sqcx/jtfc/getJtfcInfo/', | ||
55 | method: 'get', | ||
56 | params | ||
57 | }) | ||
58 | } | ||
59 | |||
60 | /** | ||
61 | * @description: 获取房屋明细记录详细信息 | ||
62 | * @param {*} params | ||
63 | * @author: renchao | ||
64 | */ | ||
65 | export function getFwmxInfo (params) { | ||
66 | return request({ | ||
67 | url: SERVER.SERVERAPI + '/rest/sqcx/jtfc/getFwmxInfo/', | ||
68 | method: 'get', | ||
69 | params | ||
70 | }) | ||
71 | } | ||
72 | |||
73 | /** | ||
74 | * @description: 打印家庭房产 | ||
75 | * @param {*} data | ||
76 | * @author: renchao | ||
77 | */ | ||
78 | export function printJtcfInfo (data) { | ||
79 | return request({ | ||
80 | url: SERVER.SERVERAPI + '/rest/djbRepair/addRepairRecord', | ||
81 | method: 'post', | ||
82 | data | ||
83 | }) | ||
84 | } |
... | @@ -29,6 +29,18 @@ export function getleftMenu () { | ... | @@ -29,6 +29,18 @@ export function getleftMenu () { |
29 | method: 'post' | 29 | method: 'post' |
30 | }) | 30 | }) |
31 | } | 31 | } |
32 | |||
33 | /** | ||
34 | * @description: 登记簿补录-获取左侧菜单 | ||
35 | * @author: renchao | ||
36 | */ | ||
37 | export function getRepairBiz () { | ||
38 | return request({ | ||
39 | url: SERVER.SERVERAPI + '/rest/ywbl/BusinessApply/getRepairBiz', | ||
40 | method: 'post' | ||
41 | }) | ||
42 | } | ||
43 | |||
32 | /** | 44 | /** |
33 | * @description: 业务办理-获取下个节点内容 | 45 | * @description: 业务办理-获取下个节点内容 |
34 | * @param {*} bsmSqyw | 46 | * @param {*} bsmSqyw | ... | ... |
... | @@ -3,7 +3,7 @@ | ... | @@ -3,7 +3,7 @@ |
3 | var qlxxPage = [ | 3 | var qlxxPage = [ |
4 | { qllx: "A01", id: "jsydsyq", form: "jsydsyq.vue", label: "集体土地所有权" }, | 4 | { qllx: "A01", id: "jsydsyq", form: "jsydsyq.vue", label: "集体土地所有权" }, |
5 | { qllx: "A02", id: "jsydsyq", form: "jsydsyq.vue", label: "国家土地所有权" }, | 5 | { qllx: "A02", id: "jsydsyq", form: "jsydsyq.vue", label: "国家土地所有权" }, |
6 | { qllx: "A03", id: "jsydsyq", form: "jsydsyq.vue", label: "国有建设用地使用权" }, | 6 | { qllx: "A03", id: "fdcq2", form: "jsydsyq.vue", label: "国有建设用地使用权" }, |
7 | { qllx: "A04", id: "", form: "", label: "国有建设用地使用权/房屋所有权" }, | 7 | { qllx: "A04", id: "", form: "", label: "国有建设用地使用权/房屋所有权" }, |
8 | { qllx: "A05", id: "jsydsyq", form: "jsydsyq.vue", label: "宅基地使用权" }, | 8 | { qllx: "A05", id: "jsydsyq", form: "jsydsyq.vue", label: "宅基地使用权" }, |
9 | { qllx: "A06", id: "", form: "", label: "宅基地使用权/房屋所有权" }, | 9 | { qllx: "A06", id: "", form: "", label: "宅基地使用权/房屋所有权" }, |
... | @@ -46,7 +46,7 @@ export function loadTreeData(qlxxData, bdcdyh) { | ... | @@ -46,7 +46,7 @@ export function loadTreeData(qlxxData, bdcdyh) { |
46 | treedata.push({ id: "zdjbxx", form: "zdjbxx.vue", label: "宗地基本信息", children: [] }); | 46 | treedata.push({ id: "zdjbxx", form: "zdjbxx.vue", label: "宗地基本信息", children: [] }); |
47 | treedata[1].children.push({ id: "bdcqldjml", form: "bdcqldjml.vue", label: "不动产权利登记目录", children: [] }); | 47 | treedata[1].children.push({ id: "bdcqldjml", form: "bdcqldjml.vue", label: "不动产权利登记目录", children: [] }); |
48 | treedata[1].children[0].children.push({ | 48 | treedata[1].children[0].children.push({ |
49 | id: "bdcqljqtsx", form: "bdcqljqtsx.vue", label: "不动产权利及其他事项\n (" + bdcdyh.slice(19) + ")", children: [], | 49 | id: "bdcqljqtsx", form: "bdcqljqtsx.vue", label: "不动产权利及其他事项", children: [], |
50 | }); | 50 | }); |
51 | //主体权利 | 51 | //主体权利 |
52 | treedata[1].children[0].children[0].children.push(getNode(qlxxData.ztqllx, qlxxData.ztql, qlxxData.bdcdylx)); | 52 | treedata[1].children[0].children[0].children.push(getNode(qlxxData.ztqllx, qlxxData.ztql, qlxxData.bdcdylx)); | ... | ... |
... | @@ -98,6 +98,18 @@ import { loadTreeData, getNode } from "./djbFrameData.js"; | ... | @@ -98,6 +98,18 @@ import { loadTreeData, getNode } from "./djbFrameData.js"; |
98 | methods: { | 98 | methods: { |
99 | //读取申请单元信息 | 99 | //读取申请单元信息 |
100 | loadBdcdylist () { | 100 | loadBdcdylist () { |
101 | var formdata = new FormData(); | ||
102 | formdata.append("bsmSlsq", this.bsmSlsq); | ||
103 | formdata.append("bestepid", this.bestepid); | ||
104 | leftMenu(formdata).then((res) => { | ||
105 | if (res.code === 200 && res.result) { | ||
106 | this.currentSelectProps = res.result[0]; | ||
107 | this.$emit('getCurrentSelectProps', this.currentSelectProps); | ||
108 | // this.getdjblist() | ||
109 | |||
110 | |||
111 | } | ||
112 | }) | ||
101 | this.loadData () | 113 | this.loadData () |
102 | }, | 114 | }, |
103 | // 获取登记簿菜单 | 115 | // 获取登记簿菜单 |
... | @@ -106,98 +118,10 @@ import { loadTreeData, getNode } from "./djbFrameData.js"; | ... | @@ -106,98 +118,10 @@ import { loadTreeData, getNode } from "./djbFrameData.js"; |
106 | "zl": "抵押权", | 118 | "zl": "抵押权", |
107 | },{ | 119 | },{ |
108 | "zl": "抵押权", | 120 | "zl": "抵押权", |
109 | },{ | ||
110 | "zl": "抵押权", | ||
111 | },{ | ||
112 | "zl": "抵押权", | ||
113 | },{ | ||
114 | "zl": "抵押权", | ||
115 | },{ | ||
116 | "zl": "抵押权", | ||
117 | },{ | ||
118 | "zl": "抵押权", | ||
119 | },{ | ||
120 | "zl": "抵押权", | ||
121 | },{ | ||
122 | "zl": "抵押权", | ||
123 | },{ | ||
124 | "zl": "抵押权", | ||
125 | },{ | ||
126 | "zl": "抵押权", | ||
127 | },{ | ||
128 | "zl": "抵押权", | ||
129 | },{ | ||
130 | "zl": "抵押权", | ||
131 | },{ | ||
132 | "zl": "抵押权", | ||
133 | },{ | ||
134 | "zl": "抵押权", | ||
135 | },{ | ||
136 | "zl": "抵押权", | ||
137 | },{ | ||
138 | "zl": "抵押权", | ||
139 | },{ | ||
140 | "zl": "抵押权", | ||
141 | },{ | ||
142 | "zl": "抵押权", | ||
143 | },{ | ||
144 | "zl": "抵押权", | ||
145 | },{ | ||
146 | "zl": "抵押权", | ||
147 | },{ | ||
148 | "zl": "抵押权", | ||
149 | },{ | ||
150 | "zl": "抵押权", | ||
151 | },{ | ||
152 | "zl": "抵押权", | ||
153 | },{ | ||
154 | "zl": "抵押权", | ||
155 | },{ | ||
156 | "zl": "抵押权", | ||
157 | },{ | ||
158 | "zl": "抵押权", | ||
159 | },{ | ||
160 | "zl": "抵押权", | ||
161 | },{ | ||
162 | "zl": "抵押权", | ||
163 | },{ | ||
164 | "zl": "抵押权", | ||
165 | },{ | ||
166 | "zl": "抵押权", | ||
167 | },{ | ||
168 | "zl": "抵押权", | ||
169 | },{ | ||
170 | "zl": "抵押权", | ||
171 | },{ | ||
172 | "zl": "抵押权", | ||
173 | },{ | ||
174 | "zl": "抵押权", | ||
175 | }] | 121 | }] |
176 | // getBdcqljqtsx({ | 122 | |
177 | // bdcdyid: this.bdcdyid, | ||
178 | // bdcdyh: this.bdcdyh, | ||
179 | // }).then((res) => { | ||
180 | // if (res.code === 200) { | ||
181 | // this.treedata = loadTreeData(res.result, this.bdcdyh); | ||
182 | // this.$nextTick(function () { | ||
183 | // this.defaultNode = getNode(this.qllx, { linShi: 0, xianShi: 0, liShi: 0 }, ""); | ||
184 | // this.$refs.tree.setCurrentKey(this.defaultNode.id); //data[0].id为默认选中的节点 | ||
185 | // this.$parent.loadComponent(this.currentSelectProps,this.defaultNode); | ||
186 | // }); | ||
187 | // } | ||
188 | // }); | ||
189 | // this.currentSelectProps = { | ||
190 | // bdcdyid: this.bdcdyid, | ||
191 | // bdcdyh: this.bdcdyh, | ||
192 | // qllx: this.qllx, | ||
193 | // bsmQlxx: this.bsmQlxx, | ||
194 | // bestepid:this.bestepid | ||
195 | // }; | ||
196 | // this.$parent.stepForm(); | ||
197 | }, | 123 | }, |
198 | handleNodeClick (data, node, elem) { | 124 | handleNodeClick (data, node, elem) { |
199 | console.log("this.currentSelectProps",this.currentSelectProps); | ||
200 | console.log("data",data); | ||
201 | this.$parent.loadComponent(this.currentSelectProps,data); | 125 | this.$parent.loadComponent(this.currentSelectProps,data); |
202 | this.$parent.tabset(); | 126 | this.$parent.tabset(); |
203 | }, | 127 | }, |
... | @@ -214,6 +138,7 @@ import { loadTreeData, getNode } from "./djbFrameData.js"; | ... | @@ -214,6 +138,7 @@ import { loadTreeData, getNode } from "./djbFrameData.js"; |
214 | }, | 138 | }, |
215 | //登记簿点击事件 | 139 | //登记簿点击事件 |
216 | djbClick () { | 140 | djbClick () { |
141 | console.log("this.currentSelectProps",this.currentSelectProps); | ||
217 | this.currentSelectProps.batchOperation = true; | 142 | this.currentSelectProps.batchOperation = true; |
218 | this.$parent.getdjblist() | 143 | this.$parent.getdjblist() |
219 | 144 | ... | ... |
... | @@ -543,7 +543,6 @@ export default { | ... | @@ -543,7 +543,6 @@ export default { |
543 | @include flex; | 543 | @include flex; |
544 | flex-direction: column; | 544 | flex-direction: column; |
545 | overflow-y: hidden; | 545 | overflow-y: hidden; |
546 | height: 620px; | ||
547 | padding: 0 2px; | 546 | padding: 0 2px; |
548 | 547 | ||
549 | .btn { | 548 | .btn { | ... | ... |
... | @@ -49,12 +49,9 @@ export default { | ... | @@ -49,12 +49,9 @@ export default { |
49 | formdata.append("bestepid", this.bestepid); | 49 | formdata.append("bestepid", this.bestepid); |
50 | stepExpandInfo(formdata).then((res) => { | 50 | stepExpandInfo(formdata).then((res) => { |
51 | if (res.code === 200) { | 51 | if (res.code === 200) { |
52 | this.leftButtonList =[]; | 52 | this.leftButtonList = res.result.button; |
53 | this.rightButtonList = res.result.operation; | 53 | this.rightButtonList = res.result.operation; |
54 | this.slsq = res.result.slsq | 54 | // this.rightButtonList.splice(0,2) |
55 | console.log("this.slsq",this.slsq); | ||
56 | console.log("this.rightButtonList",this.rightButtonList); | ||
57 | this.rightButtonList.splice(0,2) | ||
58 | } | 55 | } |
59 | }) | 56 | }) |
60 | 57 | ... | ... |
... | @@ -81,7 +81,7 @@ import ordinaryMenu from "./components/leftmenu/ordinaryMenu.vue"; | ... | @@ -81,7 +81,7 @@ import ordinaryMenu from "./components/leftmenu/ordinaryMenu.vue"; |
81 | import selectBdc from "@/views/ywbl/ywsq/selectBdc.vue"; | 81 | import selectBdc from "@/views/ywbl/ywsq/selectBdc.vue"; |
82 | import { loadTreeData, getNode } from "./components/leftmenu/djbFrameData.js"; | 82 | import { loadTreeData, getNode } from "./components/leftmenu/djbFrameData.js"; |
83 | // 登记簿数据信息 | 83 | // 登记簿数据信息 |
84 | 84 | import { leftMenu } from "@/api/fqsq.js" | |
85 | import { getBdcqljqtsx } from "@/api/registerBook.js"; | 85 | import { getBdcqljqtsx } from "@/api/registerBook.js"; |
86 | export default { | 86 | export default { |
87 | components: { | 87 | components: { |
... | @@ -121,53 +121,40 @@ export default { | ... | @@ -121,53 +121,40 @@ export default { |
121 | }; | 121 | }; |
122 | }, | 122 | }, |
123 | mounted() { | 123 | mounted() { |
124 | this.getdjblist() | ||
125 | }, | 124 | }, |
126 | 125 | ||
127 | methods: { | 126 | methods: { |
128 | getCurrentSelectProps (val) { | 127 | getCurrentSelectProps (val) { |
129 | this.currentSelectProps = val | 128 | this.currentSelectProps = val |
129 | this.getdjblist() | ||
130 | }, | 130 | }, |
131 | getdjblist(){ | 131 | getdjblist(){ |
132 | getBdcqljqtsx({ | 132 | getBdcqljqtsx({ |
133 | bdcdyid: this.bdcdyid, | 133 | bdcdyid: this.currentSelectProps.bdcdyid, |
134 | bdcdyh: this.bdcdyh, | 134 | bdcdyh: this.currentSelectProps.bdcdyh, |
135 | }).then((res) => { | 135 | }).then((res) => { |
136 | if (res.code === 200) { | 136 | if (res.code === 200) { |
137 | this.treedata = loadTreeData(res.result, this.bdcdyh); | 137 | this.treedata = loadTreeData(res.result, this.bdcdyh); |
138 | this.$nextTick(function () { | 138 | this.$nextTick(function () { |
139 | this.defaultNode = getNode(this.qllx, { linShi: 0, xianShi: 0, liShi: 0 }, ""); | 139 | this.defaultNode = getNode(this.currentSelectProps.qllx, { linShi: 0, xianShi: 0, liShi: 0 }, ""); |
140 | console.log("this.defaultNode.idssssssssssssssssss",this.defaultNode.id); | ||
141 | this.tabName =this.defaultNode.id; //data[0].id为默认选中的节点 | 140 | this.tabName =this.defaultNode.id; //data[0].id为默认选中的节点 |
142 | }); | 141 | }); |
143 | } | 142 | } |
144 | }); | 143 | }); |
145 | this.currentSelectProps = { | ||
146 | bdcdyid: this.bdcdyid, | ||
147 | bdcdyh: this.bdcdyh, | ||
148 | qllx: this.qllx, | ||
149 | bsmQlxx: this.bsmQlxx, | ||
150 | bestepid:this.bestepid | ||
151 | }; | ||
152 | setTimeout(() => { | 144 | setTimeout(() => { |
153 | let settree=JSON.parse(JSON.stringify(this.treedata)) | 145 | let settree=JSON.parse(JSON.stringify(this.treedata)) |
154 | console.log("settreesettreesettree",settree); | ||
155 | this.tabdata= | ||
156 | this.tabdata=[...settree,...settree[1].children[0].children[0].children] | 146 | this.tabdata=[...settree,...settree[1].children[0].children[0].children] |
157 | console.log("this.tabdata",this.tabdata); | ||
158 | this.tabdata.forEach((item,index,arr) => { | 147 | this.tabdata.forEach((item,index,arr) => { |
159 | arr[index].name=item.label; | 148 | arr[index].name=item.label; |
160 | arr[index].value=item.id | 149 | arr[index].value=item.id |
161 | }) | 150 | }) |
162 | this.tabList=this.tabdata | 151 | this.tabList=this.tabdata |
163 | |||
164 | }, 200) | 152 | }, 200) |
165 | 153 | ||
166 | 154 | ||
167 | // this.tabdatalet | 155 | // this.tabdatalet |
168 | }, | 156 | }, |
169 | tabset(){ | 157 | tabset(){ |
170 | console.log("补录信息"); | ||
171 | this.tabList = [ | 158 | this.tabList = [ |
172 | { | 159 | { |
173 | name: "受理信息", | 160 | name: "受理信息", |
... | @@ -189,7 +176,7 @@ this.getdjblist() | ... | @@ -189,7 +176,7 @@ this.getdjblist() |
189 | }, | 176 | }, |
190 | 177 | ||
191 | // stepForm(index){ | 178 | // stepForm(index){ |
192 | // console.log("stepForm()",11111111111111111,index); | 179 | // console.log(index); |
193 | // }, | 180 | // }, |
194 | 181 | ||
195 | //右侧表单选项卡事件 | 182 | //右侧表单选项卡事件 |
... | @@ -198,12 +185,12 @@ this.getdjblist() | ... | @@ -198,12 +185,12 @@ this.getdjblist() |
198 | }, | 185 | }, |
199 | //切换选项卡内容组件 | 186 | //切换选项卡内容组件 |
200 | getFromRouter (tabname) { | 187 | getFromRouter (tabname) { |
201 | for (let item of this.tabList) { | 188 | // for (let item of this.tabList) { |
202 | if (item.value === tabname) { | 189 | // if (item.value === tabname) { |
203 | this.currentSelectTab = item | 190 | // this.currentSelectTab = item |
204 | break; | 191 | // break; |
205 | } | 192 | // } |
206 | } | 193 | // } |
207 | this.componentTag = getForm(tabname, this.$route.query.sqywbm); | 194 | this.componentTag = getForm(tabname, this.$route.query.sqywbm); |
208 | } | 195 | } |
209 | }, | 196 | }, | ... | ... |
... | @@ -86,7 +86,6 @@ export default { | ... | @@ -86,7 +86,6 @@ export default { |
86 | leftMenu(formdata).then((res) => { | 86 | leftMenu(formdata).then((res) => { |
87 | if (res.code === 200 && res.result) { | 87 | if (res.code === 200 && res.result) { |
88 | this.unitData = res.result; | 88 | this.unitData = res.result; |
89 | console.log("this.unitData",this.unitData); | ||
90 | this.currentSelectProps = res.result[0]; | 89 | this.currentSelectProps = res.result[0]; |
91 | this.$emit('getCurrentSelectProps', this.currentSelectProps); | 90 | this.$emit('getCurrentSelectProps', this.currentSelectProps); |
92 | this.judgeBatchShow(); | 91 | this.judgeBatchShow(); | ... | ... |
... | @@ -210,6 +210,18 @@ | ... | @@ -210,6 +210,18 @@ |
210 | if (res.code == 200) { | 210 | if (res.code == 200) { |
211 | if (res.result) { | 211 | if (res.result) { |
212 | //有任务权限 | 212 | //有任务权限 |
213 | if(item.sjlx=="3"){ | ||
214 | const { href } = this.$router.resolve( | ||
215 | "/djbworkFrame?bsmSlsq=" + | ||
216 | item.bsmSlsq + | ||
217 | "&bestepid=" + | ||
218 | item.bestepid + | ||
219 | "&bsmBusiness=" + | ||
220 | "&sqywbm=" + | ||
221 | item.djywbm | ||
222 | ); | ||
223 | window.open(href, `urlname${item.bsmSlsq}`); | ||
224 | }else{ | ||
213 | const { href } = this.$router.resolve( | 225 | const { href } = this.$router.resolve( |
214 | "/workFrame?bsmSlsq=" + | 226 | "/workFrame?bsmSlsq=" + |
215 | item.bsmSlsq + | 227 | item.bsmSlsq + |
... | @@ -219,8 +231,11 @@ | ... | @@ -219,8 +231,11 @@ |
219 | "&sqywbm=" + | 231 | "&sqywbm=" + |
220 | item.djywbm | 232 | item.djywbm |
221 | ); | 233 | ); |
222 | localStorage.setItem('ywbl', JSON.stringify(item)); | ||
223 | window.open(href, `urlname${item.bsmSlsq}`); | 234 | window.open(href, `urlname${item.bsmSlsq}`); |
235 | } | ||
236 | |||
237 | localStorage.setItem('ywbl', JSON.stringify(item)); | ||
238 | |||
224 | //从待办箱进入的调取任务领取接口 | 239 | //从待办箱进入的调取任务领取接口 |
225 | claimTask(item.bsmSlsq, item.bestepid); | 240 | claimTask(item.bsmSlsq, item.bestepid); |
226 | } else { | 241 | } else { | ... | ... |
1 | <template> | ||
2 | <div class="from-clues"> | ||
3 | <!-- 表单部分 --> | ||
4 | <div class="from-clues-header"> | ||
5 | <el-form :model="queryForm" ref="queryForm" @submit.native.prevent label-width="70px"> | ||
6 | <el-row> | ||
7 | <!-- <el-col :span="5"> | ||
8 | <el-form-item label="权利类型"> | ||
9 | <el-select v-model="queryForm.qllx" filterable class="width100" clearable placeholder="请选择权利类型"> | ||
10 | <el-option v-for="item in dictData['A8']" :key="item.dcode" :label="item.dname" :value="item.dcode"> | ||
11 | </el-option> | ||
12 | </el-select> | ||
13 | </el-form-item> | ||
14 | </el-col> --> | ||
15 | <el-col :span="5"> | ||
16 | <el-form-item label="不动产单元号" label-width="105px"> | ||
17 | <el-input placeholder="请输入不动产单元号" maxlength="28" v-model="queryForm.bdcdyh" clearable class="width100"> | ||
18 | </el-input> | ||
19 | </el-form-item> | ||
20 | </el-col> | ||
21 | <el-col :span="5"> | ||
22 | <el-form-item label="不动产权证号" label-width="105px"> | ||
23 | <el-input placeholder="请输入不动产权证号" v-model="queryForm.bdcqzh" clearable class="width100"> | ||
24 | </el-input> | ||
25 | </el-form-item> | ||
26 | </el-col> | ||
27 | <el-col :span="5"> | ||
28 | <el-form-item label="业务号"> | ||
29 | <el-input placeholder="请输入业务号" v-model="queryForm.ywh" clearable class="width100"> | ||
30 | </el-input> | ||
31 | </el-form-item> | ||
32 | </el-col> | ||
33 | |||
34 | <el-col :span="4" class="btnColRight"> | ||
35 | <el-form-item> | ||
36 | <el-button type="primary" native-type="submit" @click="handleSearch">查询</el-button> | ||
37 | <el-button @click="moreQueryClick">高级查询</el-button> | ||
38 | </el-form-item> | ||
39 | </el-col> | ||
40 | </el-row> | ||
41 | </el-form> | ||
42 | </div> | ||
43 | <!-- 表格 --> | ||
44 | <div class="from-clues-content"> | ||
45 | <lb-table :page-size="pageData.size" class="loadingtext" @sort-change="handleSort" | ||
46 | :current-page.sync="pageData.current" :total="tableData.total" @size-change="handleSizeChange" | ||
47 | @p-current-change="handleCurrentChange" :column="tableData.columns" :data="tableData.data"> | ||
48 | </lb-table> | ||
49 | </div> | ||
50 | </div> | ||
51 | </template> | ||
52 | <script> | ||
53 | import { mapGetters } from "vuex"; | ||
54 | import table from "@/utils/mixin/table"; | ||
55 | import { datas, sendThis } from "../javascript/selectDjbbl.js"; | ||
56 | import { getDjbBysearch } from "@/api/zhcx.js"; | ||
57 | |||
58 | export default { | ||
59 | name: "djbcx", | ||
60 | mixins: [table], | ||
61 | mounted () { | ||
62 | sendThis(this); | ||
63 | this.queryClick() | ||
64 | }, | ||
65 | data () { | ||
66 | return { | ||
67 | queryForm: { | ||
68 | qllx: "", | ||
69 | bdcdyh: "", | ||
70 | bdcqzh: "", | ||
71 | ywh: "", | ||
72 | }, | ||
73 | pageData: { | ||
74 | current: 1, | ||
75 | size: 10, | ||
76 | total: 0, | ||
77 | }, | ||
78 | tableData: { | ||
79 | columns: datas.columns(), | ||
80 | data: [], | ||
81 | }, | ||
82 | qllxs: [], | ||
83 | isDialog: false, | ||
84 | djbxxData: {}, | ||
85 | }; | ||
86 | }, | ||
87 | computed: { | ||
88 | // ...mapGetters(["dictData"]), | ||
89 | }, | ||
90 | methods: { | ||
91 | // 初始化数据 | ||
92 | queryClick () { | ||
93 | this.$startLoading() | ||
94 | getDjbBysearch({ ...this.queryForm, ...this.pageData }).then((res) => { | ||
95 | this.$endLoading() | ||
96 | if (res.code === 200) { | ||
97 | let { total, records } = res.result; | ||
98 | this.tableData.data = records; | ||
99 | this.tableData.total = total; | ||
100 | } | ||
101 | }); | ||
102 | }, | ||
103 | handleSort (name, sort) { | ||
104 | console.log(name, sort); | ||
105 | }, | ||
106 | // 高级查询 | ||
107 | moreQueryClick () { }, | ||
108 | // openDialog (scroll) { | ||
109 | // this.$popupDialog('登记簿详情', 'registerBook/djbFrame', scroll, '85%'); | ||
110 | // }, | ||
111 | // handleLpbClick (item) { | ||
112 | // this.$popupDialog('楼盘表', 'lpb/index', { | ||
113 | // bsm: '' | ||
114 | // }, '85%') | ||
115 | // }, | ||
116 | ywhClick (item) { | ||
117 | const { href } = this.$router.resolve( | ||
118 | "/djbworkFrame?bdcdyid=" + | ||
119 | item.bdcdyid+ | ||
120 | "&bdcdyh=" + | ||
121 | item.bdcdyh+ | ||
122 | "&qllx="+ | ||
123 | item.qllx+ | ||
124 | "&bsmQlxx="+ | ||
125 | item.bsmQlxx + | ||
126 | "&viewtype=1" | ||
127 | ); | ||
128 | localStorage.setItem('ywbl', JSON.stringify(item)); | ||
129 | window.open(href, `urlname${item.bdcdyid}`); | ||
130 | |||
131 | }, | ||
132 | } | ||
133 | } | ||
134 | </script> | ||
135 | <style scoped lang="scss"> | ||
136 | @import "~@/styles/mixin.scss"; | ||
137 | @import "~@/styles/public.scss"; | ||
138 | |||
139 | .icon-circle { | ||
140 | position: relative; | ||
141 | } | ||
142 | |||
143 | .icon-circle::before { | ||
144 | content: ""; | ||
145 | width: 4px; | ||
146 | height: 4px; | ||
147 | border-radius: 50%; | ||
148 | background: #000; | ||
149 | top: 0px; | ||
150 | left: 0px; | ||
151 | } | ||
152 | </style> |
... | @@ -31,7 +31,18 @@ | ... | @@ -31,7 +31,18 @@ |
31 | <!-- 一并申请 --> | 31 | <!-- 一并申请 --> |
32 | <div v-if="selectType == 'together'" class="right-title">一并申请</div> | 32 | <div v-if="selectType == 'together'" class="right-title">一并申请</div> |
33 | <!-- 登记簿补录 --> | 33 | <!-- 登记簿补录 --> |
34 | <div v-if="selectType == 'amend'" class="right-title">登记簿补录</div> | 34 | <div v-if="selectType == 'amend'" class="right-situation el-card"> |
35 | <div class="right-title">登记簿补录</div> | ||
36 | <ul> | ||
37 | <li :class="item.selected ? 'cactive' : ''" v-for="(item, index) in djqxList" :key="index" | ||
38 | @dblclick="dblclick(djqxList, index, item)" @click="selectSqywClick(djqxList, index)"> | ||
39 | <dt>{{ item.nodename }}</dt> | ||
40 | <p :class="item.userCollect == 1 ? 'active' : ''" @click.stop="handleCollection(item)"> | ||
41 | <i class="el-icon-star-off"></i> | ||
42 | </p> | ||
43 | </li> | ||
44 | </ul> | ||
45 | </div> | ||
35 | <!-- 业务申请 --> | 46 | <!-- 业务申请 --> |
36 | <template v-if="selectType == 'apply'"> | 47 | <template v-if="selectType == 'apply'"> |
37 | <div class="right-type el-card box-card is-always-shadow"> | 48 | <div class="right-type el-card box-card is-always-shadow"> |
... | @@ -69,7 +80,7 @@ | ... | @@ -69,7 +80,7 @@ |
69 | </div> | 80 | </div> |
70 | </template> | 81 | </template> |
71 | <script> | 82 | <script> |
72 | import { getCollectBiz, getleftMenu, getNextNode, addCollectBiz, deleteCollectBiz } from "@/api/ywbl" | 83 | import { getCollectBiz, getleftMenu, getNextNode,getRepairBiz, addCollectBiz, deleteCollectBiz } from "@/api/ywbl" |
73 | export default { | 84 | export default { |
74 | data () { | 85 | data () { |
75 | return { | 86 | return { |
... | @@ -116,14 +127,20 @@ | ... | @@ -116,14 +127,20 @@ |
116 | }, | 127 | }, |
117 | //申请业务类型菜单事件 | 128 | //申请业务类型菜单事件 |
118 | sqywlxClick (item) { | 129 | sqywlxClick (item) { |
130 | console.log("item",item); | ||
119 | this.btnDisabled = true; | 131 | this.btnDisabled = true; |
120 | this.selectType = item.type; | 132 | this.selectType = item.type; |
133 | console.log("this.sqywQllxList",this.sqywQllxList); | ||
121 | this.sqywQllxList.forEach(item => { | 134 | this.sqywQllxList.forEach(item => { |
122 | if (item.check) item.check = false; | 135 | if (item.check) item.check = false; |
123 | }) | 136 | }); |
137 | if(this.selectType == 'amend'){ | ||
138 | this.getRepairBiz(); | ||
139 | } | ||
124 | }, | 140 | }, |
125 | //权利类型菜单事件 | 141 | //权利类型菜单事件 |
126 | qllxClick (index) { | 142 | qllxClick (index) { |
143 | console.log("业务",index); | ||
127 | this.btnDisabled = true; | 144 | this.btnDisabled = true; |
128 | this.sqywQllxList.forEach(item => { | 145 | this.sqywQllxList.forEach(item => { |
129 | if (item.check) item.check = false; | 146 | if (item.check) item.check = false; |
... | @@ -136,6 +153,7 @@ | ... | @@ -136,6 +153,7 @@ |
136 | }, | 153 | }, |
137 | //选择申请业务事件 | 154 | //选择申请业务事件 |
138 | selectSqywClick (data, index) { | 155 | selectSqywClick (data, index) { |
156 | console.log("选择",data,index); | ||
139 | data.forEach(item => { | 157 | data.forEach(item => { |
140 | item.selected = false; | 158 | item.selected = false; |
141 | }); | 159 | }); |
... | @@ -165,6 +183,18 @@ | ... | @@ -165,6 +183,18 @@ |
165 | } | 183 | } |
166 | }) | 184 | }) |
167 | }, | 185 | }, |
186 | |||
187 | //获取下个节点类型数据 | ||
188 | getRepairBiz () { | ||
189 | getRepairBiz().then(res => { | ||
190 | if (res) { | ||
191 | console.log("res",res); | ||
192 | this.djqxList = res.result; | ||
193 | |||
194 | }; | ||
195 | }) | ||
196 | |||
197 | }, | ||
168 | //双击事件 | 198 | //双击事件 |
169 | dblclick (data, index, item) { | 199 | dblclick (data, index, item) { |
170 | localStorage.setItem('ywbl', JSON.stringify(item)); | 200 | localStorage.setItem('ywbl', JSON.stringify(item)); |
... | @@ -177,6 +207,7 @@ | ... | @@ -177,6 +207,7 @@ |
177 | }, | 207 | }, |
178 | //收藏操作 | 208 | //收藏操作 |
179 | handleCollection (item) { | 209 | handleCollection (item) { |
210 | console.log("item收藏",item); | ||
180 | let that = this | 211 | let that = this |
181 | if (item.userCollect == '2') { | 212 | if (item.userCollect == '2') { |
182 | addCollectBiz(item.bsmSqyw).then(res => { | 213 | addCollectBiz(item.bsmSqyw).then(res => { |
... | @@ -252,7 +283,9 @@ | ... | @@ -252,7 +283,9 @@ |
252 | this.openDialog() | 283 | this.openDialog() |
253 | }, | 284 | }, |
254 | openDialog () { | 285 | openDialog () { |
286 | console.log("this.selectParam",this.selectParam); | ||
255 | let title = "申请业务:" + this.selectParam?.djywmc ? this.selectParam?.djywmc : ''; | 287 | let title = "申请业务:" + this.selectParam?.djywmc ? this.selectParam?.djywmc : ''; |
288 | |||
256 | this.$popupDialog(title, "ywbl/ywsq/selectBdc", { 'sqywInfo': this.selectParam }, "80%") | 289 | this.$popupDialog(title, "ywbl/ywsq/selectBdc", { 'sqywInfo': this.selectParam }, "80%") |
257 | }, | 290 | }, |
258 | loadView (view) { | 291 | loadView (view) { | ... | ... |
1 | import filter from '@/utils/filter.js' | ||
2 | let vm = null | ||
3 | |||
4 | const sendThis = (_this) => { | ||
5 | vm = _this | ||
6 | } | ||
7 | class data extends filter { | ||
8 | constructor() { | ||
9 | super() | ||
10 | } | ||
11 | columns () { | ||
12 | return [ | ||
13 | { | ||
14 | label: '序号', | ||
15 | type: 'index', | ||
16 | width: '50', | ||
17 | render: (h, scope) => { | ||
18 | return ( | ||
19 | <div> | ||
20 | {(vm.pageData.currentPage - 1) * vm.pageData.pageSize + scope.$index + 1} | ||
21 | </div> | ||
22 | ) | ||
23 | } | ||
24 | }, | ||
25 | { | ||
26 | label: "权属状态", | ||
27 | width: '80', | ||
28 | render: (h, scope) => { | ||
29 | let obj = { | ||
30 | "1": { | ||
31 | text: '现势', | ||
32 | color: '#4BD863' | ||
33 | }, | ||
34 | "2": { | ||
35 | text: '历史', | ||
36 | color: '#AAAAAA' | ||
37 | }, | ||
38 | "0": { | ||
39 | text: '临时', | ||
40 | color: '#FE9400' | ||
41 | } | ||
42 | } | ||
43 | let textName = obj[scope.row.qszt]?.text || '' | ||
44 | let colorName = obj[scope.row.qszt]?.color || '' | ||
45 | return ( | ||
46 | <div> | ||
47 | <span style={`color:${colorName}`}>● </span> | ||
48 | <span >{textName}</span> | ||
49 | </div> | ||
50 | ) | ||
51 | } | ||
52 | }, | ||
53 | { | ||
54 | prop: "ywh", | ||
55 | label: "业务号", | ||
56 | width: '110', | ||
57 | render: (h, scope) => { | ||
58 | return <el-button type="text" onClick={() => { vm.ywhClick(scope.row) }}>{scope.row.ywh}</el-button> | ||
59 | } | ||
60 | }, | ||
61 | { | ||
62 | prop: "qllxmc", | ||
63 | label: "权利类型", | ||
64 | }, | ||
65 | { | ||
66 | prop: "djlxmc", | ||
67 | label: "登记类型", | ||
68 | width: '90', | ||
69 | }, | ||
70 | { | ||
71 | prop: "bdcdyh", | ||
72 | label: "不动产单元号", | ||
73 | minWidth: '150' | ||
74 | }, | ||
75 | { | ||
76 | prop: "bdcqzh", | ||
77 | label: "不动产权证号", | ||
78 | minWidth: '150' | ||
79 | }, | ||
80 | { | ||
81 | prop: "qlrmc", | ||
82 | label: "权利人", | ||
83 | }, | ||
84 | { | ||
85 | prop: "ywrmc", | ||
86 | label: "义务人", | ||
87 | }, | ||
88 | { | ||
89 | prop: "mj", | ||
90 | label: "面积", | ||
91 | width: '80' | ||
92 | }, | ||
93 | { | ||
94 | prop: "ytmc", | ||
95 | label: "用途", | ||
96 | minWidth: '130' | ||
97 | }, | ||
98 | { | ||
99 | prop: "zl", | ||
100 | label: "坐落", | ||
101 | minWidth: '150' | ||
102 | }, | ||
103 | // { | ||
104 | // label: '操作', | ||
105 | // width: '130', | ||
106 | // render: (h, scope) => { | ||
107 | // return ( | ||
108 | // <div> | ||
109 | // <el-button type="text" icon="el-icon-edit-outline" onClick={() => { vm.openDialog(scope.row) }}>登记薄</el-button> | ||
110 | // <el-button type="text" icon="el-icon-film" onClick={() => { vm.handleLpbClick(scope.row) }}>楼盘表</el-button> | ||
111 | // </div> | ||
112 | // ) | ||
113 | // } | ||
114 | // } | ||
115 | ] | ||
116 | } | ||
117 | |||
118 | } | ||
119 | let datas = new data() | ||
120 | export { | ||
121 | datas, | ||
122 | sendThis | ||
123 | } |
... | @@ -3,6 +3,9 @@ export function queueDjywmc(djywbm, djqxbm) { | ... | @@ -3,6 +3,9 @@ export function queueDjywmc(djywbm, djqxbm) { |
3 | if (djqxbm == "A0320099" || djqxbm == "A0330099") { | 3 | if (djqxbm == "A0320099" || djqxbm == "A0330099") { |
4 | return "selectJsydsyqSplitMerge"; | 4 | return "selectJsydsyqSplitMerge"; |
5 | } | 5 | } |
6 | if (djqxbm == "DJBBL001") { | ||
7 | return "selectDjbbl"; | ||
8 | } | ||
6 | let vm = null; | 9 | let vm = null; |
7 | switch (djywbm) { | 10 | switch (djywbm) { |
8 | case "A03100"://建设用地使用权(首次登记) | 11 | case "A03100"://建设用地使用权(首次登记) | ... | ... |
... | @@ -33,7 +33,6 @@ | ... | @@ -33,7 +33,6 @@ |
33 | }, | 33 | }, |
34 | methods: { | 34 | methods: { |
35 | loadView (view) { | 35 | loadView (view) { |
36 | console.log(view, 'view'); | ||
37 | return (r) => | 36 | return (r) => |
38 | require.ensure([], () => r(require(`./components/${view}.vue`))); | 37 | require.ensure([], () => r(require(`./components/${view}.vue`))); |
39 | }, | 38 | }, | ... | ... |
... | @@ -122,7 +122,8 @@ export default { | ... | @@ -122,7 +122,8 @@ export default { |
122 | "&qllx="+ | 122 | "&qllx="+ |
123 | item.qllx+ | 123 | item.qllx+ |
124 | "&bsmQlxx="+ | 124 | "&bsmQlxx="+ |
125 | item.bsmQlxx | 125 | item.bsmQlxx+ |
126 | "&viewtype=1" | ||
126 | ); | 127 | ); |
127 | localStorage.setItem('ywbl', JSON.stringify(item)); | 128 | localStorage.setItem('ywbl', JSON.stringify(item)); |
128 | window.open(href, `urlname${item.bdcdyid}`); | 129 | window.open(href, `urlname${item.bdcdyid}`); | ... | ... |
-
Please register or sign in to post a comment