Merge branch 'dev' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web into dev
Showing
15 changed files
with
665 additions
and
134 deletions
... | @@ -23,6 +23,7 @@ | ... | @@ -23,6 +23,7 @@ |
23 | "node-sass": "^4.14.1", | 23 | "node-sass": "^4.14.1", |
24 | "normalize.css": "7.0.0", | 24 | "normalize.css": "7.0.0", |
25 | "nprogress": "0.2.0", | 25 | "nprogress": "0.2.0", |
26 | "qrcode": "^1.5.3", | ||
26 | "vue": "2.6.10", | 27 | "vue": "2.6.10", |
27 | "vue-json-editor": "^1.4.3", | 28 | "vue-json-editor": "^1.4.3", |
28 | "vue-quill-editor": "^3.0.6", | 29 | "vue-quill-editor": "^3.0.6", | ... | ... |
... | @@ -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 | } | ... | ... |
... | @@ -4,6 +4,7 @@ | ... | @@ -4,6 +4,7 @@ |
4 | * @LastEditTime: 2023-05-16 14:05:25 | 4 | * @LastEditTime: 2023-05-16 14:05:25 |
5 | */ | 5 | */ |
6 | import request from '@/utils/request' | 6 | import request from '@/utils/request' |
7 | import { log } from 'bpmn-js-token-simulation' | ||
7 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) | 8 | let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) |
8 | /** | 9 | /** |
9 | * @description: 添加补录记录 | 10 | * @description: 添加补录记录 |
... | @@ -24,9 +25,8 @@ export function addRepairRecord (data) { | ... | @@ -24,9 +25,8 @@ export function addRepairRecord (data) { |
24 | */ | 25 | */ |
25 | export function deleteFlow (params) { | 26 | export function deleteFlow (params) { |
26 | return request({ | 27 | return request({ |
27 | url: SERVER.SERVERAPI + '/rest/djbRepair/deleteFlow', | 28 | url: SERVER.SERVERAPI + '/rest/djbRepair/deleteFlow?bsmSlsq='+params, |
28 | method: 'get', | 29 | method: 'get', |
29 | params:params | ||
30 | }) | 30 | }) |
31 | } | 31 | } |
32 | 32 | ... | ... |
... | @@ -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 | ... | ... |
... | @@ -13,7 +13,8 @@ | ... | @@ -13,7 +13,8 @@ |
13 | ref="ruleForm" | 13 | ref="ruleForm" |
14 | :label-position="flag ? 'top' : ''" | 14 | :label-position="flag ? 'top' : ''" |
15 | :inline="flag" | 15 | :inline="flag" |
16 | label-width="127px"> | 16 | label-width="127px" |
17 | > | ||
17 | <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> | 18 | <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> |
18 | <div class="slxx_title title-block"> | 19 | <div class="slxx_title title-block"> |
19 | 补录信息 | 20 | 补录信息 |
... | @@ -66,15 +67,25 @@ | ... | @@ -66,15 +67,25 @@ |
66 | <el-col :span="8"> | 67 | <el-col :span="8"> |
67 | <el-form-item label="登记类型:"> | 68 | <el-form-item label="登记类型:"> |
68 | <el-select v-model="ruleForm.qlxx.djlx"> | 69 | <el-select v-model="ruleForm.qlxx.djlx"> |
69 | <el-option v-for="item in dictData['A21']" :key="item.dcode" :label="item.dname" :value="item.dcode"> | 70 | <el-option |
71 | v-for="item in dictData['A21']" | ||
72 | :key="item.dcode" | ||
73 | :label="item.dname" | ||
74 | :value="item.dcode" | ||
75 | > | ||
70 | </el-option> | 76 | </el-option> |
71 | </el-select> | 77 | </el-select> |
72 | </el-form-item> | 78 | </el-form-item> |
73 | </el-col> | 79 | </el-col> |
74 | <el-col :span="8"> | 80 | <el-col :span="8"> |
75 | <el-form-item label="权属状态:"> | 81 | <el-form-item label="权属状态:"> |
76 | <el-select v-model="ruleForm.qlxx.qszt"> | 82 | <el-select v-model="ruleForm.qlxx.qszt"> |
77 | <el-option v-for="item in qsztlist" :key="item.dcode" :label="item.dname" :value="item.dcode"> | 83 | <el-option |
84 | v-for="item in qsztlist" | ||
85 | :key="item.dcode" | ||
86 | :label="item.dname" | ||
87 | :value="item.dcode" | ||
88 | > | ||
78 | </el-option> | 89 | </el-option> |
79 | </el-select> | 90 | </el-select> |
80 | </el-form-item> | 91 | </el-form-item> |
... | @@ -84,26 +95,31 @@ | ... | @@ -84,26 +95,31 @@ |
84 | <el-input v-model="ruleForm.qlxx.zl"></el-input> | 95 | <el-input v-model="ruleForm.qlxx.zl"></el-input> |
85 | </el-form-item> | 96 | </el-form-item> |
86 | </el-col> | 97 | </el-col> |
87 | <el-col :span="8"> | 98 | <el-col :span="8"> |
88 | <el-form-item label="使用权面积:"> | 99 | <el-form-item label="使用权面积:"> |
89 | <el-input v-model="ruleForm.jsydsyq.syqmj"></el-input> | 100 | <el-input v-model="ruleForm.jsydsyq.syqmj"></el-input> |
90 | </el-form-item> | 101 | </el-form-item> |
91 | </el-col> | 102 | </el-col> |
92 | <el-col :span="8"> | 103 | <el-col :span="8"> |
93 | <el-form-item label="取得价格:"> | 104 | <el-form-item label="取得价格:"> |
94 | <div style="display:flex"> | 105 | <div style="display: flex"> |
95 | <el-input v-model="ruleForm.jsydsyq.qdjg" style="width:500%"></el-input> | 106 | <el-input |
107 | v-model="ruleForm.jsydsyq.qdjg" | ||
108 | style="width: 500%" | ||
109 | ></el-input> | ||
96 | <el-select v-model="ruleForm.jsydsyq.jedw"> | 110 | <el-select v-model="ruleForm.jsydsyq.jedw"> |
97 | <el-option v-for="item in dictData['A57']" :key="item.dcode" :label="item.dname" :value="item.dcode"> | 111 | <el-option |
112 | v-for="item in dictData['A57']" | ||
113 | :key="item.dcode" | ||
114 | :label="item.dname" | ||
115 | :value="item.dcode" | ||
116 | > | ||
98 | </el-option> | 117 | </el-option> |
99 | </el-select> | 118 | </el-select> |
100 | </div> | 119 | </div> |
101 | </el-form-item> | 120 | </el-form-item> |
102 | </el-col> | 121 | </el-col> |
103 | 122 | ||
104 | |||
105 | |||
106 | |||
107 | <el-col :span="8"> | 123 | <el-col :span="8"> |
108 | <el-form-item label="不动产权证号:"> | 124 | <el-form-item label="不动产权证号:"> |
109 | <el-input v-model="ruleForm.qlxx.bdcqzh"></el-input> | 125 | <el-input v-model="ruleForm.qlxx.bdcqzh"></el-input> |
... | @@ -137,7 +153,14 @@ | ... | @@ -137,7 +153,14 @@ |
137 | </el-form-item> | 153 | </el-form-item> |
138 | </el-col> | 154 | </el-col> |
139 | </el-row> | 155 | </el-row> |
140 | 156 | <div class="slxx_title title-block"> | |
157 | 土地用途 | ||
158 | <div class="triangle"></div> | ||
159 | </div> | ||
160 | <tdytTable | ||
161 | :tableData="ruleForm.tdytqxList" | ||
162 | @upDateTdytxxList="upDateTdytxxList" | ||
163 | /> | ||
141 | <div class="slxx_title title-block"> | 164 | <div class="slxx_title title-block"> |
142 | 权利人信息 | 165 | 权利人信息 |
143 | <div class="triangle"></div> | 166 | <div class="triangle"></div> |
... | @@ -147,7 +170,8 @@ | ... | @@ -147,7 +170,8 @@ |
147 | <el-form-item label="共有方式:"> | 170 | <el-form-item label="共有方式:"> |
148 | <el-radio-group | 171 | <el-radio-group |
149 | :disabled="$route.query.viewtype == 0" | 172 | :disabled="$route.query.viewtype == 0" |
150 | v-model="ruleForm.qlxx.gyqk"> | 173 | v-model="ruleForm.qlxx.gyqk" |
174 | > | ||
151 | <el-radio label="0">单独所有</el-radio> | 175 | <el-radio label="0">单独所有</el-radio> |
152 | <el-radio label="1">共同共有</el-radio> | 176 | <el-radio label="1">共同共有</el-radio> |
153 | <el-radio label="2">按份所有</el-radio> | 177 | <el-radio label="2">按份所有</el-radio> |
... | @@ -158,15 +182,23 @@ | ... | @@ -158,15 +182,23 @@ |
158 | <el-col :span="6" v-show="ruleForm.qlxx.gyfs == '1'"> | 182 | <el-col :span="6" v-show="ruleForm.qlxx.gyfs == '1'"> |
159 | <el-form-item label="是否分别持证:"> | 183 | <el-form-item label="是否分别持证:"> |
160 | <el-radio-group v-model="ruleForm.qlxx.sqfbcz"> | 184 | <el-radio-group v-model="ruleForm.qlxx.sqfbcz"> |
161 | <el-radio :label=1>是</el-radio> | 185 | <el-radio :label="1">是</el-radio> |
162 | <el-radio :label=0>否</el-radio> | 186 | <el-radio :label="0">否</el-radio> |
163 | </el-radio-group> | 187 | </el-radio-group> |
164 | </el-form-item> | 188 | </el-form-item> |
165 | </el-col> | 189 | </el-col> |
166 | <el-col :span="6" v-show="ruleForm.qlxx.sqfbcz == '0'&&ruleForm.qlxx.gyfs == '1'"> | 190 | <el-col |
191 | :span="6" | ||
192 | v-show="ruleForm.qlxx.sqfbcz == '0' && ruleForm.qlxx.gyfs == '1'" | ||
193 | > | ||
167 | <el-form-item label="持证人:"> | 194 | <el-form-item label="持证人:"> |
168 | <el-select v-model="ruleForm.czr" placeholder="持证人"> | 195 | <el-select v-model="ruleForm.czr" placeholder="持证人"> |
169 | <el-option v-for="item in czrOptions" :key="item.zjh" :label="item.sqrmc" :value="item.zjh"> | 196 | <el-option |
197 | v-for="item in czrOptions" | ||
198 | :key="item.zjh" | ||
199 | :label="item.sqrmc" | ||
200 | :value="item.zjh" | ||
201 | > | ||
170 | </el-option> | 202 | </el-option> |
171 | </el-select> | 203 | </el-select> |
172 | </el-form-item> | 204 | </el-form-item> |
... | @@ -177,7 +209,8 @@ | ... | @@ -177,7 +209,8 @@ |
177 | @upDateQlrxxList="upDateQlrxxList" | 209 | @upDateQlrxxList="upDateQlrxxList" |
178 | :key="key" | 210 | :key="key" |
179 | :viewtype="$route.query.viewtype" | 211 | :viewtype="$route.query.viewtype" |
180 | :gyfs="ruleForm.qlxx.gyfs" /> | 212 | :gyfs="ruleForm.qlxx.gyfs" |
213 | /> | ||
181 | 214 | ||
182 | <div v-if="ruleForm.ywrList && ruleForm.ywrList.length > 0"> | 215 | <div v-if="ruleForm.ywrList && ruleForm.ywrList.length > 0"> |
183 | <div class="slxx_title title-block"> | 216 | <div class="slxx_title title-block"> |
... | @@ -189,7 +222,8 @@ | ... | @@ -189,7 +222,8 @@ |
189 | :tableData="ruleForm.ywrList" | 222 | :tableData="ruleForm.ywrList" |
190 | :key="key" | 223 | :key="key" |
191 | @upDateQlrxxList="upDateYwrxxList" | 224 | @upDateQlrxxList="upDateYwrxxList" |
192 | :viewtype="$route.query.viewtype" /> | 225 | :viewtype="$route.query.viewtype" |
226 | /> | ||
193 | </div> | 227 | </div> |
194 | </div> | 228 | </div> |
195 | <el-row class="btn" v-if="!$route.query.viewtype && ableOperation"> | 229 | <el-row class="btn" v-if="!$route.query.viewtype && ableOperation"> |
... | @@ -201,33 +235,34 @@ | ... | @@ -201,33 +235,34 @@ |
201 | </div> | 235 | </div> |
202 | </template> | 236 | </template> |
203 | <script> | 237 | <script> |
204 | import store from '@/store/index.js' | 238 | import store from "@/store/index.js"; |
205 | import { mapGetters } from "vuex"; | 239 | import { mapGetters } from "vuex"; |
206 | import { init,save } from "@/api/djbbl.js"; | 240 | import { init, save } from "@/api/djbbl.js"; |
207 | import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; | 241 | import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; |
208 | import tdytTable from "@/views/workflow/components/tdytTable"; | 242 | import tdytTable from "@/views/workflow/components/tdytTable"; |
209 | export default { | 243 | export default { |
210 | components: { qlrCommonTable,tdytTable }, | 244 | components: { qlrCommonTable, tdytTable }, |
211 | computed: { | 245 | computed: { |
212 | ...mapGetters(["dictData", "flag"]), | 246 | ...mapGetters(["dictData", "flag"]), |
213 | }, | 247 | }, |
214 | data() { | 248 | data() { |
215 | return { | 249 | return { |
216 | // 键名转换,方法默认是label和children进行树状渲染 | 250 | // 键名转换,方法默认是label和children进行树状渲染 |
217 | normalizer (node) { //方法 | 251 | normalizer(node) { |
218 | if (node.children == null || node.children == 'null') { | 252 | //方法 |
219 | delete node.children; | 253 | if (node.children == null || node.children == "null") { |
220 | } | 254 | delete node.children; |
221 | return { | 255 | } |
222 | id: node.dcode, | 256 | return { |
223 | label: node.dname | 257 | id: node.dcode, |
224 | } | 258 | label: node.dname, |
225 | }, | 259 | }; |
260 | }, | ||
226 | //表单是否可操作 | 261 | //表单是否可操作 |
227 | propsParam: this.$attrs, | 262 | propsParam: this.$attrs, |
228 | ableOperation: true, | 263 | ableOperation: true, |
229 | key: 0, | 264 | key: 0, |
230 | // 权属状态 | 265 | // 权属状态 |
231 | qsztlist: [ | 266 | qsztlist: [ |
232 | { | 267 | { |
233 | dcode: "1", | 268 | dcode: "1", |
... | @@ -238,6 +273,7 @@ export default { | ... | @@ -238,6 +273,7 @@ export default { |
238 | dname: "历史", | 273 | dname: "历史", |
239 | }, | 274 | }, |
240 | ], | 275 | ], |
276 | tdxz:null, | ||
241 | isShow: false, | 277 | isShow: false, |
242 | disabled: true, | 278 | disabled: true, |
243 | czrOptions: [], | 279 | czrOptions: [], |
... | @@ -251,32 +287,35 @@ export default { | ... | @@ -251,32 +287,35 @@ export default { |
251 | }, | 287 | }, |
252 | mounted() {}, | 288 | mounted() {}, |
253 | methods: { | 289 | methods: { |
254 | // 字典 | 290 | // 字典 |
255 | getDictData (val) { | 291 | getDictData(val) { |
256 | return store.getters.dictData[val] | 292 | return store.getters.dictData[val]; |
257 | }, | 293 | }, |
258 | loadData() { | 294 | loadData() { |
259 | console.log("建设用地使用权",this.propsParam); | ||
260 | console.log("this.getDictData('A30')",this.getDictData('A22')); | ||
261 | init(this.propsParam.bsmRepair).then((res) => { | 295 | init(this.propsParam.bsmRepair).then((res) => { |
262 | if (res.code == 200) { | 296 | if (res.code == 200) { |
263 | this.ruleForm = res.result; | 297 | this.ruleForm = res.result; |
264 | console.log("this.ruleForm",this.ruleForm); | 298 | if( this.ruleForm.tdytqxList.length>0){ |
299 | this.tdxz=this.ruleForm.tdytqxList[0].qlxzbm | ||
300 | }else{ | ||
301 | this.tdxz=null | ||
302 | } | ||
303 | console.log("this.ruleForm", this.ruleForm); | ||
265 | this.isShow = true; | 304 | this.isShow = true; |
266 | } | 305 | } |
267 | }); | 306 | }); |
268 | }, | 307 | }, |
269 | // 更新土地用途信息 | 308 | // 更新土地用途信息 |
270 | upDateTdytxxList(val) { | 309 | upDateTdytxxList(val) { |
271 | console.log("VAL",val); | 310 | console.log("VAL", val); |
272 | this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); | 311 | this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); |
273 | this.key++; | 312 | this.key++; |
274 | }, | 313 | }, |
275 | // 更新权利人信息 | 314 | // 更新权利人信息 |
276 | upDateQlrxxList(val) { | 315 | upDateQlrxxList(val) { |
277 | console.log("val",val); | 316 | console.log("val", val); |
278 | this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val)); | 317 | this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val)); |
279 | console.log("this.ruleForm.qlrData",this.ruleForm.qlrData); | 318 | console.log("this.ruleForm.qlrData", this.ruleForm.qlrData); |
280 | this.czrOptions = this.ruleForm.qlrData; | 319 | this.czrOptions = this.ruleForm.qlrData; |
281 | this.key++; | 320 | this.key++; |
282 | }, | 321 | }, |
... | @@ -286,7 +325,7 @@ export default { | ... | @@ -286,7 +325,7 @@ export default { |
286 | this.key++; | 325 | this.key++; |
287 | }, | 326 | }, |
288 | onSubmit() { | 327 | onSubmit() { |
289 | console.log("this.ruleForm大信息",this.ruleForm); | 328 | console.log("this.ruleForm大信息", this.ruleForm); |
290 | if (this.ruleForm.qlrData.length == 0) { | 329 | if (this.ruleForm.qlrData.length == 0) { |
291 | this.$message({ | 330 | this.$message({ |
292 | showClose: true, | 331 | showClose: true, | ... | ... |
... | @@ -7,7 +7,7 @@ import { getWorkFlowImage } from "@/api/workflow/jsydsyqFlow.js"; | ... | @@ -7,7 +7,7 @@ import { getWorkFlowImage } from "@/api/workflow/jsydsyqFlow.js"; |
7 | import { getPrintTemplateByCode } from "@/api/system"; | 7 | import { getPrintTemplateByCode } from "@/api/system"; |
8 | import { getPrintApplicationInfo } from "@/api/fqsq"; | 8 | import { getPrintApplicationInfo } from "@/api/fqsq"; |
9 | import { uploadUndo } from "@/api/clxx"; | 9 | import { uploadUndo } from "@/api/clxx"; |
10 | import { deleteFlow } from "@/api/ywbl"; | 10 | import { deleteFlow } from "@/api/djbbl"; |
11 | import { getLodop } from "@/utils/LodopFuncs" | 11 | import { getLodop } from "@/utils/LodopFuncs" |
12 | import { | 12 | import { |
13 | stepExpandInfo, | 13 | stepExpandInfo, |
... | @@ -242,19 +242,18 @@ export default { | ... | @@ -242,19 +242,18 @@ export default { |
242 | type: "warning", | 242 | type: "warning", |
243 | }) | 243 | }) |
244 | .then(() => { | 244 | .then(() => { |
245 | console.log('删除流程'); | 245 | deleteFlow(this.bsmSlsq).then((res) => { |
246 | // deleteFlow(formdata).then((res) => { | 246 | if (res.code === 200) { |
247 | // if (res.code === 200) { | 247 | this.$message({ |
248 | // this.$message({ | 248 | type: "success", |
249 | // type: "success", | 249 | message: "删除成功!", |
250 | // message: "删除成功!", | 250 | }); |
251 | // }); | 251 | window.close(); |
252 | // window.close(); | 252 | window.opener.getBpageList(); |
253 | // window.opener.getBpageList(); | 253 | } else { |
254 | // } else { | 254 | this.$message.error(res.message); |
255 | // this.$message.error(res.message); | 255 | } |
256 | // } | 256 | }); |
257 | // }); | ||
258 | }) | 257 | }) |
259 | .catch(() => { | 258 | .catch(() => { |
260 | this.$message({ | 259 | this.$message({ | ... | ... |
... | @@ -125,6 +125,15 @@ export default { | ... | @@ -125,6 +125,15 @@ export default { |
125 | this.initPage(); | 125 | this.initPage(); |
126 | this.userInfo.redirectUrl = localStorage.getItem("dj-location"); | 126 | this.userInfo.redirectUrl = localStorage.getItem("dj-location"); |
127 | this.reloadCaptcha() | 127 | this.reloadCaptcha() |
128 | let self = this; | ||
129 | document.onkeydown = function (e) { | ||
130 | //按下回车提交 | ||
131 | let key = window.event.keyCode; | ||
132 | //事件中keycode=13为回车事件 | ||
133 | if (key == 13) { | ||
134 | self.goHome(); | ||
135 | } | ||
136 | }; | ||
128 | }, | 137 | }, |
129 | methods: { | 138 | methods: { |
130 | // 更新验证码 | 139 | // 更新验证码 | ... | ... |
... | @@ -108,24 +108,28 @@ | ... | @@ -108,24 +108,28 @@ |
108 | </div> | 108 | </div> |
109 | <!-- 打印模板需要此模块 --> | 109 | <!-- 打印模板需要此模块 --> |
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=820 height=450 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" :form="form" v-show="false" /> | ||
113 | </div> | 114 | </div> |
114 | </template> | 115 | </template> |
115 | <script> | 116 | <script> |
116 | import store from '@/store/index.js' | 117 | import store from '@/store/index.js' |
117 | import { datas } from "./addjtfcdata"; | 118 | import { datas } from "./addjtfcdata"; |
118 | import { getLodop } from "@/utils/LodopFuncs" | 119 | import { getLodop } from "@/utils/LodopFuncs" |
120 | import printView from "./printView.vue"; | ||
119 | import { getIdCardInfo } from '@/utils/operation.js' | 121 | import { getIdCardInfo } from '@/utils/operation.js' |
120 | import { getPrintTemplateByCode } from "@/api/system"; | 122 | import { getPrintTemplateByCode } from "@/api/system"; |
121 | import { addJtfcCxjgXx, getJtfcInfo, printJtcfInfo } from "@/api/sqcx"; | 123 | import { addJtfcCxjgXx, getJtfcInfo, printJtcfInfo } from "@/api/sqcx"; |
122 | import { log } from 'bpmn-js-token-simulation'; | ||
123 | export default { | 124 | export default { |
125 | components: { | ||
126 | printView | ||
127 | }, | ||
124 | props: { | 128 | props: { |
125 | formData: { | 129 | formData: { |
126 | type: Object, | 130 | type: Object, |
127 | default: () => { }, | 131 | default: () => { } |
128 | }, | 132 | } |
129 | }, | 133 | }, |
130 | data () { | 134 | data () { |
131 | return { | 135 | return { |
... | @@ -428,16 +432,15 @@ | ... | @@ -428,16 +432,15 @@ |
428 | }, | 432 | }, |
429 | //打开打印预览 | 433 | //打开打印预览 |
430 | openPrintPrew () { | 434 | openPrintPrew () { |
431 | //根据编号获取对应信息 | 435 | let lodop = getLodop(document.getElementById('LODOP_OB'), document.getElementById('LODOP_EM')); |
432 | getPrintTemplateByCode({ tmpno: 'jtfcdys' }).then(res => { | 436 | // 获取页面的HTML内容 |
433 | if (res.code == 200) { | 437 | const pageHtml = this.$refs.printContent.$el.innerHTML; |
434 | let LODOP = getLodop(document.getElementById('LODOP_OB'), document.getElementById('LODOP_EM')); | 438 | lodop.ADD_PRINT_HTM(20, 20, "100%", "100%", pageHtml); |
435 | LODOP.ADD_PRINT_DATA("ProgramData", res.result.tmpcontent); //装载模板 | 439 | lodop.SET_PRINT_MODE("FULL_WIDTH_FOR_OVERFLOW", true); // 打印页面宽度自适应 |
436 | LODOP.PREVIEW(); | 440 | lodop.SET_PRINT_MODE("PRINT_PAGE_PERCENT", "100%"); // 打印页面缩放比例 |
437 | } | 441 | lodop.PREVIEW(); |
438 | }) | ||
439 | } | 442 | } |
440 | }, | 443 | } |
441 | }; | 444 | }; |
442 | </script> | 445 | </script> |
443 | <style scoped lang="scss"> | 446 | <style scoped lang="scss"> | ... | ... |
src/views/sqcx/jtfc/components/printView.vue
0 → 100644
1 | <!-- | ||
2 | * @Description: 不动产查询证明打印模板 | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2023-06-28 15:12:05 | ||
5 | --> | ||
6 | <template> | ||
7 | <div class="printView" style="width:100%;padding:20px"> | ||
8 | <h1 style="color: red; | ||
9 | text-align: center; | ||
10 | font-size: 38px;">城固县不动产登记交易服务中心</h1> | ||
11 | <p style="width:100%;border-bottom: 1px solid red;margin-top: 20px; | ||
12 | margin-bottom: 10px;"></p> | ||
13 | <h2 style="font-size: 36px; | ||
14 | text-align: center;">不动产登记信息查询证明</h2> | ||
15 | <h5 style=" text-align: center; | ||
16 | margin-top: 20px; | ||
17 | font-size: 18px;">查询证明编号: {{form.djSqcxDO.cxbh}}</h5> | ||
18 | <p style="text-indent: 2em; | ||
19 | margin-top: 15px; | ||
20 | line-height: 24px; | ||
21 | font-size: 18px;">根据《不动产登记暂行条例》和《不动产登记资料查询暂行办法》 | ||
22 | 有关规定,经线上查询不动产登记信息系统,权利人: {{form.cxjgListp[0].qlrmc}} | ||
23 | ,证件号:{{form.cxjgListp[0].zjhm}},截止{{newDatez}} | ||
24 | ,名下不动产登记信息查询结果如下:</p> | ||
25 | <table style=" border-collapse: collapse; | ||
26 | width: 100%; | ||
27 | margin-top: 20px;margin-left:20px"> | ||
28 | <thead> | ||
29 | <tr> | ||
30 | <th style="background-color: #f2f2f2; | ||
31 | text-align: center;height:36px">权利人</th> | ||
32 | <th style="background-color: #f2f2f2; | ||
33 | text-align: center;height:36px">证号</th> | ||
34 | <th style="background-color: #f2f2f2; | ||
35 | text-align: center;height:36px">坐落</th> | ||
36 | <th style="background-color: #f2f2f2; | ||
37 | text-align: center;height:36px">面积</th> | ||
38 | <th style="background-color: #f2f2f2; | ||
39 | text-align: center;height:36px">共有人</th> | ||
40 | <th style="background-color: #f2f2f2; | ||
41 | text-align: center;height:36px">状态</th> | ||
42 | </tr> | ||
43 | </thead> | ||
44 | <tbody> | ||
45 | <tr v-for="(item,index) in form.cxjgList" :key="index"> | ||
46 | <td style="border: 1px solid #ccc; | ||
47 | text-align: center; | ||
48 | padding: 8px; | ||
49 | text-align: left;">{{ item.qlrmc }}</td> | ||
50 | <td style="border: 1px solid #ccc; | ||
51 | text-align: center; | ||
52 | padding: 8px; | ||
53 | text-align: left;">{{ item.zjhm }}</td> | ||
54 | <td style="border: 1px solid #ccc; | ||
55 | text-align: center; | ||
56 | padding: 8px; | ||
57 | text-align: left;">{{ item.fdzl }}</td> | ||
58 | <td style="border: 1px solid #ccc; | ||
59 | text-align: center; | ||
60 | padding: 8px; | ||
61 | text-align: left;">{{ item.fwmj }}</td> | ||
62 | <td style="border: 1px solid #ccc; | ||
63 | text-align: center; | ||
64 | padding: 8px; | ||
65 | text-align: left;">{{ item.gyr }}</td> | ||
66 | <td style="border: 1px solid #ccc; | ||
67 | text-align: center; | ||
68 | padding: 8px; | ||
69 | text-align: left;" v-if="item.dyzt != '0' && item.cfzt != '0'">抵押、查封</td> | ||
70 | <td style="border: 1px solid #ccc; | ||
71 | text-align: center; | ||
72 | padding: 8px; | ||
73 | text-align: left;" v-if="item.dyzt != '0'">抵押</td> | ||
74 | <td style="border: 1px solid #ccc; | ||
75 | text-align: center; | ||
76 | padding: 8px; | ||
77 | text-align: left;" v-if="item.cfzt != '0'">查封</td> | ||
78 | </tr> | ||
79 | </tbody> | ||
80 | </table> | ||
81 | <h6 style="font-size: 28px; | ||
82 | margin-top: 20px; | ||
83 | font-weight: 100;">特此证明。</h6> | ||
84 | <div> | ||
85 | <img :src="qrcodeImage" alt="QR Code"> | ||
86 | </div> | ||
87 | <ul style="text-align: right; | ||
88 | line-height: 36px; | ||
89 | font-size: 18px;"> | ||
90 | <li style="list-style: none;">城固县不动产登记交易服务中心</li> | ||
91 | <li style="list-style: none;">{{newDate}}</li> | ||
92 | </ul> | ||
93 | <ol style="margin-left: 20px; | ||
94 | line-height: 36px;"> | ||
95 | <p>说明:</p> | ||
96 | <li>该查询结果仅显示权利人在当前查询时间点不动产(房产)登记有关情况(“/”表示未查询到不动产登记信息);</li> | ||
97 | <li>该查询结果包含权利人不动产预告登记信息。查询范围为本市中心城区及开发区内的不动产登记信息;</li> | ||
98 | <li>本次查询由系统终端自动检索,因数据采集处理误差而造成查询结果于实际登记信息不相符的,以我中心登记簿记载信息为准;</li> | ||
99 | <li>查询人应当妥善保管不动产登记查询结果,因操作不当,导致查询结果泄露,有关责任概由查询人承担。</li> | ||
100 | </ol> | ||
101 | </div> | ||
102 | </template> | ||
103 | <script> | ||
104 | import QRCode from 'qrcode'; | ||
105 | import { getNewDate } from '@/utils/util' | ||
106 | export default { | ||
107 | props: { | ||
108 | form: { | ||
109 | type: Object, | ||
110 | default: () => ({}) | ||
111 | } | ||
112 | }, | ||
113 | data () { | ||
114 | return { | ||
115 | qrcodeImage: '', | ||
116 | newDate: getNewDate(), | ||
117 | newDatez: getNewDate(2) | ||
118 | } | ||
119 | }, | ||
120 | watch: { | ||
121 | "form.djSqcxDO.cxbh": { | ||
122 | handler: function (val) { | ||
123 | if (val) { | ||
124 | QRCode.toDataURL(val) | ||
125 | .then(url => { | ||
126 | this.qrcodeImage = url | ||
127 | }) | ||
128 | .catch(error => { | ||
129 | console.error(error); | ||
130 | }) | ||
131 | } | ||
132 | }, | ||
133 | immediate: true | ||
134 | } | ||
135 | } | ||
136 | } | ||
137 | </script> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
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 | <!-- 家庭房产 --> |
... | @@ -41,59 +46,59 @@ | ... | @@ -41,59 +46,59 @@ |
41 | </div> | 46 | </div> |
42 | </template> | 47 | </template> |
43 | <script> | 48 | <script> |
44 | import table from "@/utils/mixin/table"; | 49 | import table from "@/utils/mixin/table"; |
45 | import { datas, sendThis } from "./jtfcdata"; | 50 | import { datas, sendThis } from "./jtfcdata"; |
46 | import { getSqcxPage } from "@/api/sqcx"; | 51 | import { getSqcxPage } from "@/api/sqcx"; |
47 | export default { | 52 | export default { |
48 | name: "jtfc", | 53 | name: "jtfc", |
49 | mixins: [table], | 54 | mixins: [table], |
50 | mounted () { | 55 | mounted () { |
51 | sendThis(this); | 56 | sendThis(this); |
52 | this.queryClick(); | 57 | this.queryClick(); |
53 | }, | ||
54 | data () { | ||
55 | return { | ||
56 | sqcxBsm: "", | ||
57 | queryForm: { | ||
58 | cxbh: "", | ||
59 | sqr: "", | ||
60 | cxlx: '1' | ||
61 | }, | ||
62 | tableData: { | ||
63 | columns: datas.columns(), | ||
64 | data: [], | ||
65 | }, | ||
66 | }; | ||
67 | }, | ||
68 | methods: { | ||
69 | // 初始化数据 | ||
70 | queryClick () { | ||
71 | this.$startLoading(); | ||
72 | getSqcxPage({ ...this.queryForm, ...this.pageData }).then((res) => { | ||
73 | this.$endLoading(); | ||
74 | if (res.code === 200) { | ||
75 | let { records, total } = res.result; | ||
76 | this.tableData.data = records; | ||
77 | this.tableData.total = total; | ||
78 | } | ||
79 | }); | ||
80 | }, | ||
81 | handleSort (name, sort) { | ||
82 | console.log(name, sort); | ||
83 | }, | 58 | }, |
84 | handleAdd () { | 59 | data () { |
85 | this.$popupDialog("家庭房产查询", "sqcx/jtfc/components/addjtfc", { | 60 | return { |
86 | sqcxBsm: '' | 61 | sqcxBsm: "", |
87 | }) | 62 | queryForm: { |
63 | cxbh: "", | ||
64 | sqr: "", | ||
65 | cxlx: '1' | ||
66 | }, | ||
67 | tableData: { | ||
68 | columns: datas.columns(), | ||
69 | data: [], | ||
70 | }, | ||
71 | }; | ||
88 | }, | 72 | }, |
89 | handleViewClick (row) { | 73 | methods: { |
90 | this.$popupDialog("家庭房产查询", "sqcx/jtfc/components/addjtfc", { | 74 | // 初始化数据 |
91 | sqcxBsm: row.bsmSqcx | 75 | queryClick () { |
92 | }) | 76 | this.$startLoading(); |
77 | getSqcxPage({ ...this.queryForm, ...this.pageData }).then((res) => { | ||
78 | this.$endLoading(); | ||
79 | if (res.code === 200) { | ||
80 | let { records, total } = res.result; | ||
81 | this.tableData.data = records; | ||
82 | this.tableData.total = total; | ||
83 | } | ||
84 | }); | ||
85 | }, | ||
86 | handleSort (name, sort) { | ||
87 | console.log(name, sort); | ||
88 | }, | ||
89 | handleAdd () { | ||
90 | this.$popupDialog("家庭房产查询", "sqcx/jtfc/components/addjtfc", { | ||
91 | sqcxBsm: '' | ||
92 | }) | ||
93 | }, | ||
94 | handleViewClick (row) { | ||
95 | this.$popupDialog("家庭房产查询", "sqcx/jtfc/components/addjtfc", { | ||
96 | sqcxBsm: row.bsmSqcx | ||
97 | }) | ||
98 | } | ||
93 | } | 99 | } |
94 | } | 100 | } |
95 | } | ||
96 | </script> | 101 | </script> |
97 | <style scoped lang="scss"> | 102 | <style scoped lang="scss"> |
98 | @import "~@/styles/public.scss"; | 103 | @import "~@/styles/public.scss"; |
99 | </style> | 104 | </style> | ... | ... |
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": | ... | ... |
-
Please register or sign in to post a comment