38963f3e by renchao@pashanhoo.com

Merge branch 'dev'

2 parents 79cbd9e6 0e4f3211
1 /* 1 /*
2 * @Description: 不动产权证 2 * @Description: 不动产权证
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-05-16 14:04:18 4 * @LastEditTime: 2023-09-05 13:24:14
5 */ 5 */
6 import request from '@/utils/request'; 6 import request from '@/utils/request';
7 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) 7 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
...@@ -131,3 +131,13 @@ export function bdcqzPreview (data) { ...@@ -131,3 +131,13 @@ export function bdcqzPreview (data) {
131 responseType: 'blob' 131 responseType: 'blob'
132 }) 132 })
133 } 133 }
134 // 获取不动产权证详细信息
135 export function getBdcqzDetail (bsmBdcqz) {
136 return request({
137 url: SERVER.SERVERAPI + '/rest/ywbl/bdcqz/getBdcqzDetail',
138 method: 'get',
139 params: {
140 bsmBdcqz: bsmBdcqz
141 }
142 })
143 }
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -9,11 +9,14 @@ ...@@ -9,11 +9,14 @@
9 <el-form 9 <el-form
10 :model="ruleForm" 10 :model="ruleForm"
11 :rules="rules" 11 :rules="rules"
12 v-Loading="loading" 12 :class="{ readonly: editDisabled }"
13 class="loadingtext"
13 ref="ruleForm" 14 ref="ruleForm"
14 :label-position="flag ? 'top' : ''" 15 :label-position="flag ? 'top' : ''"
16 :show-message="false"
15 :inline="flag" 17 :inline="flag"
16 label-width="190px"> 18 label-width="190px"
19 >
17 <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> 20 <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''">
18 <div class="slxx_title title-block"> 21 <div class="slxx_title title-block">
19 申请业务信息 22 申请业务信息
...@@ -42,21 +45,25 @@ ...@@ -42,21 +45,25 @@
42 <el-form-item 45 <el-form-item
43 label="上手权利信息:" 46 label="上手权利信息:"
44 prop="ssQlxx.bdcqzh" 47 prop="ssQlxx.bdcqzh"
45 :rules="rules.ssQlxxrules"> 48 :rules="rules.ssQlxxrules"
49 >
46 <select-table 50 <select-table
47 v-model="ruleForm.ssQlxx" 51 v-model="ruleForm.ssQlxx"
48 :table-width="730" 52 :table-width="730"
49 :tableData="ssQlxxList" 53 :tableData="ssQlxxList"
50 :props="props" 54 :props="props"
51 @change="ssQlxxchange"> 55 @change="ssQlxxchange"
56 >
52 <el-table-column 57 <el-table-column
53 prop="qllxmc" 58 prop="qllxmc"
54 width="130" 59 width="130"
55 label="权利类型"></el-table-column> 60 label="权利类型"
61 ></el-table-column>
56 <el-table-column 62 <el-table-column
57 prop="bdcqzh" 63 prop="bdcqzh"
58 width="160" 64 width="160"
59 label="不动产权证书"></el-table-column> 65 label="不动产权证书"
66 ></el-table-column>
60 <el-table-column prop="qlrmc" label="权利人"></el-table-column> 67 <el-table-column prop="qlrmc" label="权利人"></el-table-column>
61 <el-table-column prop="mjmc" label="面积"></el-table-column> 68 <el-table-column prop="mjmc" label="面积"></el-table-column>
62 <el-table-column prop="ytmc" label="用途"></el-table-column> 69 <el-table-column prop="ytmc" label="用途"></el-table-column>
...@@ -76,8 +83,13 @@ ...@@ -76,8 +83,13 @@
76 <el-form-item 83 <el-form-item
77 label="业务号:" 84 label="业务号:"
78 prop="qlxx.ywh" 85 prop="qlxx.ywh"
79 :rules="rules.ywhrules"> 86 :rules="rules.ywhrules"
80 <el-input maxlength="20" onkeyup="this.value=this.value.replace(/[^\w_]/g,'');" v-model="ruleForm.qlxx.ywh"></el-input> 87 >
88 <el-input
89 maxlength="20"
90 onkeyup="this.value=this.value.replace(/[^\w_]/g,'');"
91 v-model="ruleForm.qlxx.ywh"
92 ></el-input>
81 </el-form-item> 93 </el-form-item>
82 </el-col> 94 </el-col>
83 <el-col :span="8"> 95 <el-col :span="8">
...@@ -96,13 +108,15 @@ ...@@ -96,13 +108,15 @@
96 <el-form-item 108 <el-form-item
97 label="登记类型:" 109 label="登记类型:"
98 prop="qlxx.djlx" 110 prop="qlxx.djlx"
99 :rules="rules.djlxrules"> 111 :rules="rules.djlxrules"
112 >
100 <el-select v-model="ruleForm.qlxx.djlx" @change="djlxchange"> 113 <el-select v-model="ruleForm.qlxx.djlx" @change="djlxchange">
101 <el-option 114 <el-option
102 v-for="item in djlxlist" 115 v-for="item in djlxlist"
103 :key="item.dcode" 116 :key="item.dcode"
104 :label="item.dname" 117 :label="item.dname"
105 :value="item.dcode"> 118 :value="item.dcode"
119 >
106 </el-option> 120 </el-option>
107 </el-select> 121 </el-select>
108 </el-form-item> 122 </el-form-item>
...@@ -114,35 +128,119 @@ ...@@ -114,35 +128,119 @@
114 v-for="item in qsztlist" 128 v-for="item in qsztlist"
115 :key="item.dcode" 129 :key="item.dcode"
116 :label="item.dname" 130 :label="item.dname"
117 :value="item.dcode"> 131 :value="item.dcode"
132 >
118 </el-option> 133 </el-option>
119 </el-select> 134 </el-select>
120 </el-form-item> 135 </el-form-item>
121 </el-col> 136 </el-col>
122 137
123 <el-col :span="8"> 138 <el-col :span="8">
124 <el-form-item label="登记原因:"> 139 <el-form-item label="发包方">
125 <el-input v-model="ruleForm.jsydsyq.djyy"></el-input> 140 <el-input v-model="ruleForm.lq.fbf"></el-input>
141 </el-form-item>
142 </el-col>
143 <el-col :span="8">
144 <el-form-item label="发包方代码">
145 <el-input v-model="ruleForm.lq.fbfdm"></el-input>
146 </el-form-item>
147 </el-col>
148 <el-col :span="8">
149 <el-form-item label="林地使用(承包)起始时间">
150 <el-input v-model="ruleForm.lq.ldsyqssj"></el-input>
151 </el-form-item>
152 </el-col>
153 <el-col :span="8">
154 <el-form-item label="林地使用(承包)结束时间">
155 <el-input v-model="ruleForm.lq.ldsyjssj"></el-input>
156 </el-form-item>
157 </el-col>
158 <el-col :span="8">
159 <el-form-item label="林地使用(承包)期限">
160 <el-input v-model="ruleForm.lq.ldsyqx"></el-input>
161 </el-form-item>
162 </el-col>
163 <el-col :span="8">
164 <el-form-item label="林地所有权性质">
165 <el-input v-model="ruleForm.lq.ldsyqxz"></el-input>
166 </el-form-item>
167 </el-col>
168 <el-col :span="8">
169 <el-form-item label="森林类别">
170 <el-input v-model="ruleForm.lq.sllb"></el-input>
171 </el-form-item>
172 </el-col>
173 <el-col :span="8">
174 <el-form-item label="森林林木所有权人">
175 <el-input v-model="ruleForm.lq.sllmsyqr1"></el-input>
176 </el-form-item>
177 </el-col>
178 <el-col :span="8">
179 <el-form-item label="森林林木使用权人">
180 <el-input v-model="ruleForm.lq.sllmsyqr2"></el-input>
181 </el-form-item>
182 </el-col>
183 <el-col :span="8">
184 <el-form-item label="主要树种">
185 <el-input v-model="ruleForm.lq.zysz"></el-input>
186 </el-form-item>
187 </el-col>
188 <el-col :span="8">
189 <el-form-item label="株数">
190 <el-input v-model="ruleForm.lq.sllb"></el-input>
191 </el-form-item>
192 </el-col>
193 <el-col :span="8">
194 <el-form-item label="林种">
195 <el-input v-model="ruleForm.lq.sllb"></el-input>
196 </el-form-item>
197 </el-col>
198 <el-col :span="8">
199 <el-form-item label="起源">
200 <el-input v-model="ruleForm.lq.sllb"></el-input>
201 </el-form-item>
202 </el-col>
203 <el-col :span="8">
204 <el-form-item label="造林年度">
205 <el-input v-model="ruleForm.lq.sllb"></el-input>
206 </el-form-item>
207 </el-col>
208 <el-col :span="8">
209 <el-form-item label="林班">
210 <el-input v-model="ruleForm.lq.lb"></el-input>
211 </el-form-item>
212 </el-col>
213 <el-col :span="8">
214 <el-form-item label="小班">
215 <el-input v-model="ruleForm.lq.xb"></el-input>
216 </el-form-item>
217 </el-col>
218 <el-col :span="8">
219 <el-form-item label="小地名">
220 <el-input v-model="ruleForm.lq.xdm"></el-input>
126 </el-form-item> 221 </el-form-item>
127 </el-col> 222 </el-col>
223
128 <!-- <el-col :span="8"> 224 <!-- <el-col :span="8">
129 <el-form-item label="房地坐落:"> 225 <el-form-item label="房地坐落:">
130 <el-input v-model="ruleForm.qlxx.zl"></el-input> 226 <el-input v-model="ruleForm.qlxx.zl"></el-input>
131 </el-form-item> 227 </el-form-item>
132 </el-col> --> 228 </el-col> -->
133 <el-col :span="8"> 229 <el-col :span="8">
134 <el-form-item label="使用权面积:"> 230 <el-form-item label="使用(承包)面积">
135 <div class="flex"> 231 <div class="flex">
136 <el-input 232 <el-input
137 maxlength="12" 233 maxlength="12"
138 v-model="ruleForm.jsydsyq.syqmj" 234 v-model="ruleForm.lq.syqmj"
139 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> 235 oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"
236 ></el-input>
140 <el-select disabled v-model="mjdw" style="width: 68px"> 237 <el-select disabled v-model="mjdw" style="width: 68px">
141 <el-option 238 <el-option
142 v-for="item in dictData['A7']" 239 v-for="item in dictData['A7']"
143 :key="item.dcode" 240 :key="item.dcode"
144 :label="item.dname" 241 :label="item.dname"
145 :value="item.dcode"> 242 :value="item.dcode"
243 >
146 </el-option> 244 </el-option>
147 </el-select> 245 </el-select>
148 </div> 246 </div>
...@@ -150,12 +248,12 @@ ...@@ -150,12 +248,12 @@
150 </el-col> 248 </el-col>
151 <el-col :span="8"> 249 <el-col :span="8">
152 <el-form-item label="使用权起止时间:"> 250 <el-form-item label="使用权起止时间:">
153 <el-input maxlength="20" v-model="ruleForm.jsydsyq.syqqzsj"></el-input> 251 <el-input maxlength="20" v-model="ruleForm.lq.syqqzsj"></el-input>
154 </el-form-item> 252 </el-form-item>
155 </el-col> 253 </el-col>
156 <el-col :span="8"> 254 <el-col :span="8">
157 <el-form-item label="土地使用期限:"> 255 <el-form-item label="土地使用期限:">
158 <el-input maxlength="10" v-model="ruleForm.jsydsyq.tdsyqx"></el-input> 256 <el-input maxlength="10" v-model="ruleForm.lq.tdsyqx"></el-input>
159 </el-form-item> 257 </el-form-item>
160 </el-col> 258 </el-col>
161 <el-col :span="8"> 259 <el-col :span="8">
...@@ -163,14 +261,16 @@ ...@@ -163,14 +261,16 @@
163 <div style="display: flex"> 261 <div style="display: flex">
164 <el-input 262 <el-input
165 maxlength="11" 263 maxlength="11"
166 v-model="ruleForm.jsydsyq.qdjg" 264 v-model="ruleForm.lq.qdjg"
167 style="width: 500%"></el-input> 265 style="width: 500%"
168 <el-select v-model="ruleForm.jsydsyq.jedw"> 266 ></el-input>
267 <el-select v-model="ruleForm.lq.jedw">
169 <el-option 268 <el-option
170 v-for="item in dictData['A57']" 269 v-for="item in dictData['A57']"
171 :key="item.dcode" 270 :key="item.dcode"
172 :label="item.dname" 271 :label="item.dname"
173 :value="item.dcode"> 272 :value="item.dcode"
273 >
174 </el-option> 274 </el-option>
175 </el-select> 275 </el-select>
176 </div> 276 </div>
...@@ -181,7 +281,8 @@ ...@@ -181,7 +281,8 @@
181 <el-form-item 281 <el-form-item
182 label="不动产权证号:" 282 label="不动产权证号:"
183 prop="qlxx.bdcqzh" 283 prop="qlxx.bdcqzh"
184 :rules="rules.bdcqzhrules"> 284 :rules="rules.bdcqzhrules"
285 >
185 <el-input v-model="ruleForm.qlxx.bdcqzh"></el-input> 286 <el-input v-model="ruleForm.qlxx.bdcqzh"></el-input>
186 </el-form-item> 287 </el-form-item>
187 </el-col> 288 </el-col>
...@@ -198,7 +299,8 @@ ...@@ -198,7 +299,8 @@
198 <el-form-item 299 <el-form-item
199 label="登记机构:" 300 label="登记机构:"
200 prop="qlxx.djjg" 301 prop="qlxx.djjg"
201 :rules="rules.djjgrules"> 302 :rules="rules.djjgrules"
303 >
202 <el-input v-model="ruleForm.qlxx.djjg"></el-input> 304 <el-input v-model="ruleForm.qlxx.djjg"></el-input>
203 </el-form-item> 305 </el-form-item>
204 </el-col> 306 </el-col>
...@@ -206,7 +308,8 @@ ...@@ -206,7 +308,8 @@
206 <el-form-item 308 <el-form-item
207 label="登簿人:" 309 label="登簿人:"
208 prop="qlxx.dbr" 310 prop="qlxx.dbr"
209 :rules="rules.dbrrules"> 311 :rules="rules.dbrrules"
312 >
210 <el-input v-model="ruleForm.qlxx.dbr"></el-input> 313 <el-input v-model="ruleForm.qlxx.dbr"></el-input>
211 </el-form-item> 314 </el-form-item>
212 </el-col> 315 </el-col>
...@@ -214,14 +317,16 @@ ...@@ -214,14 +317,16 @@
214 <el-form-item 317 <el-form-item
215 label="登记时间:" 318 label="登记时间:"
216 prop="qlxx.djsj" 319 prop="qlxx.djsj"
217 :rules="rules.djsjrules"> 320 :rules="rules.djsjrules"
321 >
218 <el-date-picker 322 <el-date-picker
219 v-model="ruleForm.qlxx.djsj" 323 v-model="ruleForm.qlxx.djsj"
220 type="date" 324 type="date"
221 class="width100" 325 class="width100"
222 placeholder="选择日期" 326 placeholder="选择日期"
223 value-format="yyyy-MM-dd HH:mm:ss" 327 value-format="yyyy-MM-dd HH:mm:ss"
224 format="yyyy-MM-dd"> 328 format="yyyy-MM-dd"
329 >
225 </el-date-picker> 330 </el-date-picker>
226 </el-form-item> 331 </el-form-item>
227 </el-col> 332 </el-col>
...@@ -229,7 +334,12 @@ ...@@ -229,7 +334,12 @@
229 <el-row> 334 <el-row>
230 <el-col :span="24"> 335 <el-col :span="24">
231 <el-form-item label="附记:"> 336 <el-form-item label="附记:">
232 <el-input v-model="ruleForm.jsydsyq.fj" type="textarea" maxlength="500" show-word-limit></el-input> 337 <el-input
338 v-model="ruleForm.lq.fj"
339 type="textarea"
340 maxlength="500"
341 show-word-limit
342 ></el-input>
233 </el-form-item> 343 </el-form-item>
234 </el-col> 344 </el-col>
235 </el-row> 345 </el-row>
...@@ -240,7 +350,8 @@ ...@@ -240,7 +350,8 @@
240 <tdytTable 350 <tdytTable
241 :tableData="ruleForm.tdytqxList" 351 :tableData="ruleForm.tdytqxList"
242 @upDateTdytxxList="upDateTdytxxList" 352 @upDateTdytxxList="upDateTdytxxList"
243 :ableOperation="ableOperation" /> 353 :ableOperation="ableOperation"
354 />
244 <div class="slxx_title title-block"> 355 <div class="slxx_title title-block">
245 权利人信息 356 权利人信息
246 <div class="triangle"></div> 357 <div class="triangle"></div>
...@@ -250,7 +361,8 @@ ...@@ -250,7 +361,8 @@
250 <el-form-item label="共有方式:"> 361 <el-form-item label="共有方式:">
251 <el-radio-group 362 <el-radio-group
252 :disabled="!ableOperation" 363 :disabled="!ableOperation"
253 v-model="ruleForm.qlxx.gyfs"> 364 v-model="ruleForm.qlxx.gyfs"
365 >
254 <el-radio label="0">单独所有</el-radio> 366 <el-radio label="0">单独所有</el-radio>
255 <el-radio label="1">共同共有</el-radio> 367 <el-radio label="1">共同共有</el-radio>
256 <el-radio label="2">按份所有</el-radio> 368 <el-radio label="2">按份所有</el-radio>
...@@ -264,7 +376,8 @@ ...@@ -264,7 +376,8 @@
264 @upDateQlrxxList="upDateQlrxxList" 376 @upDateQlrxxList="upDateQlrxxList"
265 :key="key" 377 :key="key"
266 :ableOperation="ableOperation" 378 :ableOperation="ableOperation"
267 :gyfs="ruleForm.qlxx.gyfs" /> 379 :gyfs="ruleForm.qlxx.gyfs"
380 />
268 </div> 381 </div>
269 <el-row class="btn" v-if="ableOperation"> 382 <el-row class="btn" v-if="ableOperation">
270 <el-form-item> 383 <el-form-item>
...@@ -275,20 +388,20 @@ ...@@ -275,20 +388,20 @@
275 </div> 388 </div>
276 </template> 389 </template>
277 <script> 390 <script>
278 import { mapGetters } from "vuex"; 391 import { mapGetters } from "vuex";
279 import store from "@/store/index.js"; 392 import store from "@/store/index.js";
280 import ywmix from "@/views/ywbl/mixin/index"; 393 import ywmix from "@/views/ywbl/mixin/index";
281 import { init, getSsQlxx, getQlxxByQlxxBsm, save } from "@/api/djbRepair.js"; 394 import { init, getSsQlxx, getQlxxByQlxxBsm, save } from "@/api/djbRepair.js";
282 import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; 395 import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable";
283 import tdytTable from "@/views/workflow/components/tdytTable"; 396 import tdytTable from "@/views/workflow/components/tdytTable";
284 import selectTable from "@/components/selectTable/index.vue"; 397 import selectTable from "@/components/selectTable/index.vue";
285 export default { 398 export default {
286 mixins: [ywmix], 399 mixins: [ywmix],
287 components: { qlrCommonTable, tdytTable, selectTable }, 400 components: { qlrCommonTable, tdytTable, selectTable },
288 computed: { 401 computed: {
289 ...mapGetters(["dictData", "flag"]), 402 ...mapGetters(["dictData", "flag"]),
290 // 根据流程判断表单是否为只读 403 // 根据流程判断表单是否为只读
291 editDisabled () { 404 editDisabled() {
292 if (!this.ableOperation) { 405 if (!this.ableOperation) {
293 //只读状态 406 //只读状态
294 return true; 407 return true;
...@@ -296,7 +409,7 @@ ...@@ -296,7 +409,7 @@
296 return false; 409 return false;
297 }, 410 },
298 }, 411 },
299 data () { 412 data() {
300 return { 413 return {
301 mjdw: "1", 414 mjdw: "1",
302 ssqlxxshow: true, 415 ssqlxxshow: true,
...@@ -305,7 +418,7 @@ ...@@ -305,7 +418,7 @@
305 value: "bdcdyid", 418 value: "bdcdyid",
306 }, 419 },
307 // 键名转换,方法默认是label和children进行树状渲染 420 // 键名转换,方法默认是label和children进行树状渲染
308 normalizer (node) { 421 normalizer(node) {
309 //方法 422 //方法
310 if (node.children == null || node.children == "null") { 423 if (node.children == null || node.children == "null") {
311 delete node.children; 424 delete node.children;
...@@ -376,15 +489,15 @@ ...@@ -376,15 +489,15 @@
376 djjgrules: [{ required: true, message: "登记机构", trigger: "blur" }], 489 djjgrules: [{ required: true, message: "登记机构", trigger: "blur" }],
377 dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }], 490 dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }],
378 djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }], 491 djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }],
379 djlxrules: [{ required: true, message: "登记类型", trigger: "blur" }], 492 djlxrules: [{ required: true, message: "登记类型", trigger: "change" }],
380 ywhrules: [{ required: true, message: "业务号", trigger: "blur" }], 493 ywhrules: [{ required: true, message: "业务号", trigger: "blur" }],
381 }, 494 },
382 }; 495 };
383 }, 496 },
384 created () { 497 created() {
385 this.loadData(); 498 this.loadData();
386 }, 499 },
387 mounted () { 500 mounted() {
388 this.ableOperation = this.$parent.ableOperation; 501 this.ableOperation = this.$parent.ableOperation;
389 }, 502 },
390 methods: { 503 methods: {
...@@ -393,43 +506,44 @@ ...@@ -393,43 +506,44 @@
393 * @param {*} val 506 * @param {*} val
394 * @author: renchao 507 * @author: renchao
395 */ 508 */
396 ssQlxxchange (val) { 509 ssQlxxchange(val) {
397 this.ruleForm.ssQlxx = val; 510 this.ruleForm.ssQlxx = val;
398 this.ruleForm.qlxx.ssywh = val.ywh; 511 this.ruleForm.qlxx.ssywh = val.ywh;
399 this.ssQlxxchangediolog(val); 512 this.ssQlxxchangediolog(val);
400 }, 513 },
401 // 弹框事件 514 // 弹框事件
402 ssQlxxchangediolog (val) { 515 ssQlxxchangediolog(val) {
403 this.$confirm("是否将上手权利信息同步到表单", "提示", { 516 this.$confirm("是否将上手权利信息同步到表单", "提示", {
404 iconClass: "el-icon-question", //自定义图标样式 517 iconClass: "el-icon-question", //自定义图标样式
405 confirmButtonText: "确认", //确认按钮文字更换 518 confirmButtonText: "确认", //确认按钮文字更换
406 cancelButtonText: "取消", //取消按钮文字更换 519 cancelButtonText: "取消", //取消按钮文字更换
407 showClose: true, //是否显示右上角关闭按钮 520 showClose: true, //是否显示右上角关闭按钮
408 type: "warning", 521 type: "warning",
409 }).then(() => { 522 })
523 .then(() => {
410 getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => { 524 getQlxxByQlxxBsm({ qlxxBsm: val.bsmQlxx }).then((res) => {
411 if (res.code == 200) { 525 if (res.code == 200) {
412 this.nowlist = res.result; 526 this.nowlist = res.result;
413 for (var key in this.ruleForm.jsydsyq) { 527 for (var key in this.ruleForm.lq) {
414 if ( 528 if (
415 this.ruleForm.jsydsyq[key] == "" || 529 this.ruleForm.lq[key] == "" ||
416 this.ruleForm.jsydsyq[key] == null 530 this.ruleForm.lq[key] == null
417 ) { 531 ) {
418 this.ruleForm.jsydsyq[key] = this.nowlist.jsydsyq[key]; 532 this.ruleForm.lq[key] = this.nowlist.lq[key];
419 } 533 }
420 } 534 }
421 for (var key in this.ruleForm.qlxx) { 535 for (var key in this.ruleForm.qlxx) {
422 if ( 536 if (
423 this.ruleForm.qlxx[key] == "" || 537 this.ruleForm.qlxx[key] == "" ||
424 this.ruleForm.qlxx[key] == null && 538 (this.ruleForm.qlxx[key] == null &&
425 key != "ywh" && 539 key != "ywh" &&
426 key != "dbr" && 540 key != "dbr" &&
427 key != "djsj" && 541 key != "djsj" &&
428 key != "ssywh" && 542 key != "ssywh" &&
429 key != "ssywh" && 543 key != "ssywh" &&
430 key != "bdcqzh") { 544 key != "bdcqzh")
545 ) {
431 this.ruleForm.qlxx[key] = this.nowlist.qlxx[key]; 546 this.ruleForm.qlxx[key] = this.nowlist.qlxx[key];
432
433 } 547 }
434 } 548 }
435 if (!this.ruleForm.tdytqxList.length) { 549 if (!this.ruleForm.tdytqxList.length) {
...@@ -447,7 +561,8 @@ ...@@ -447,7 +561,8 @@
447 }); 561 });
448 } 562 }
449 }); 563 });
450 }).catch(() => { 564 })
565 .catch(() => {
451 this.$message({ 566 this.$message({
452 type: "info", 567 type: "info",
453 message: "已取消同步", 568 message: "已取消同步",
...@@ -459,7 +574,7 @@ ...@@ -459,7 +574,7 @@
459 * @param {*} val 574 * @param {*} val
460 * @author: renchao 575 * @author: renchao
461 */ 576 */
462 djlxchange (val) { 577 djlxchange(val) {
463 if (val == null || val == 100) { 578 if (val == null || val == 100) {
464 this.ssqlxxshow = false; 579 this.ssqlxxshow = false;
465 } else { 580 } else {
...@@ -472,14 +587,14 @@ ...@@ -472,14 +587,14 @@
472 * @param {*} val 587 * @param {*} val
473 * @author: renchao 588 * @author: renchao
474 */ 589 */
475 getDictData (val) { 590 getDictData(val) {
476 return store.getters.dictData[val]; 591 return store.getters.dictData[val];
477 }, 592 },
478 /** 593 /**
479 * @description: loadData 594 * @description: loadData
480 * @author: renchao 595 * @author: renchao
481 */ 596 */
482 loadData () { 597 loadData() {
483 this.$startLoading(); 598 this.$startLoading();
484 this.propsParam.isEdit = this.$parent.isEdit; 599 this.propsParam.isEdit = this.$parent.isEdit;
485 init(this.propsParam).then((res) => { 600 init(this.propsParam).then((res) => {
...@@ -514,7 +629,7 @@ ...@@ -514,7 +629,7 @@
514 * @param {*} val 629 * @param {*} val
515 * @author: renchao 630 * @author: renchao
516 */ 631 */
517 upDateTdytxxList (val) { 632 upDateTdytxxList(val) {
518 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); 633 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
519 this.key++; 634 this.key++;
520 }, 635 },
...@@ -524,7 +639,7 @@ ...@@ -524,7 +639,7 @@
524 * @param {*} val 639 * @param {*} val
525 * @author: renchao 640 * @author: renchao
526 */ 641 */
527 upDateQlrxxList (val) { 642 upDateQlrxxList(val) {
528 this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val)); 643 this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val));
529 this.czrOptions = this.ruleForm.qlrData; 644 this.czrOptions = this.ruleForm.qlrData;
530 this.key++; 645 this.key++;
...@@ -534,10 +649,10 @@ ...@@ -534,10 +649,10 @@
534 * @description: onSubmit 649 * @description: onSubmit
535 * @author: renchao 650 * @author: renchao
536 */ 651 */
537 onSubmit () { 652 onSubmit() {
538 this.$refs.ruleForm.validate((valid) => { 653 this.$refs.ruleForm.validate((valid) => {
539 if (valid) { 654 if (valid) {
540 let arr = this.ruleForm.tdytqxList.filter(item => !item.yt) 655 let arr = this.ruleForm.tdytqxList.filter((item) => !item.yt);
541 if (arr.length > 0) { 656 if (arr.length > 0) {
542 this.$message({ 657 this.$message({
543 showClose: true, 658 showClose: true,
...@@ -567,7 +682,8 @@ ...@@ -567,7 +682,8 @@
567 if (this.ruleForm.qlrData.length <= 1) { 682 if (this.ruleForm.qlrData.length <= 1) {
568 this.$message({ 683 this.$message({
569 showClose: true, 684 showClose: true,
570 message: "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上", 685 message:
686 "共有方式:共同所有,按份所有,其他所有,权利人必须是两个以上",
571 type: "error", 687 type: "error",
572 }); 688 });
573 return false; 689 return false;
...@@ -594,11 +710,11 @@ ...@@ -594,11 +710,11 @@
594 return false; 710 return false;
595 } 711 }
596 }); 712 });
597 } 713 },
598 } 714 },
599 } 715 };
600 </script> 716 </script>
601 <style scoped lang="scss"> 717 <style scoped lang="scss">
602 @import "~@/styles/public.scss"; 718 @import "~@/styles/public.scss";
603 @import "~@/styles/slxx/slxx.scss"; 719 @import "~@/styles/slxx/slxx.scss";
604 </style> 720 </style>
......
...@@ -80,7 +80,7 @@ ...@@ -80,7 +80,7 @@
80 console.log("this.propsParam.bdcdyid ", this.propsParam); 80 console.log("this.propsParam.bdcdyid ", this.propsParam);
81 window.open( 81 window.open(
82 `'#/printdjb?bdcdyid=${this.propsParam.bdcdyid}&qllx=${this.propsParam.qllx}&content=bdcqljqtsx`, 82 `'#/printdjb?bdcdyid=${this.propsParam.bdcdyid}&qllx=${this.propsParam.qllx}&content=bdcqljqtsx`,
83 `printdjb` 83 `bdcqljqtsx`
84 ); 84 );
85 }, 85 },
86 } 86 }
......
...@@ -211,7 +211,7 @@ export default { ...@@ -211,7 +211,7 @@ export default {
211 console.log("this.propsParam.bdcdyid ", this.propsParam); 211 console.log("this.propsParam.bdcdyid ", this.propsParam);
212 window.open( 212 window.open(
213 `'#/printdjb?bdcdyid=${this.propsParam.bdcdyid}&qllx=${this.propsParam.qllx}&content=cfdj`, 213 `'#/printdjb?bdcdyid=${this.propsParam.bdcdyid}&qllx=${this.propsParam.qllx}&content=cfdj`,
214 `printdjb` 214 `cfdj`
215 ); 215 );
216 }, 216 },
217 }, 217 },
......
...@@ -207,7 +207,7 @@ export default { ...@@ -207,7 +207,7 @@ export default {
207 console.log("this.propsParam.bdcdyid ", this.propsParam); 207 console.log("this.propsParam.bdcdyid ", this.propsParam);
208 window.open( 208 window.open(
209 `'#/printdjb?bdcdyid=${this.propsParam.bdcdyid}&qllx=${this.propsParam.qllx}&content=diyaq`, 209 `'#/printdjb?bdcdyid=${this.propsParam.bdcdyid}&qllx=${this.propsParam.qllx}&content=diyaq`,
210 `printdjb` 210 `diyaq`
211 ); 211 );
212 }, 212 },
213 }, 213 },
......
...@@ -208,7 +208,7 @@ export default { ...@@ -208,7 +208,7 @@ export default {
208 console.log("this.propsParam.bdcdyid ", this.propsParam); 208 console.log("this.propsParam.bdcdyid ", this.propsParam);
209 window.open( 209 window.open(
210 `'#/printdjb?bdcdyid=${this.propsParam.bdcdyid}&qllx=${this.propsParam.qllx}&content=diyiq`, 210 `'#/printdjb?bdcdyid=${this.propsParam.bdcdyid}&qllx=${this.propsParam.qllx}&content=diyiq`,
211 `printdjb` 211 `diyiq`
212 ); 212 );
213 }, 213 },
214 }, 214 },
......
...@@ -66,7 +66,7 @@ ...@@ -66,7 +66,7 @@
66 }, 66 },
67 print(){ 67 print(){
68 console.log("this.propsParam.bdcdyid ",this.propsParam); 68 console.log("this.propsParam.bdcdyid ",this.propsParam);
69 window.open(`'#/printdjb?bdcdyid=${this.propsParam.bdcdyid}&qllx=${this.propsParam.qllx}&content=djbfm`, `printdjb`); 69 window.open(`'#/printdjb?bdcdyid=${this.propsParam.bdcdyid}&qllx=${this.propsParam.qllx}&content=djbfm`, `djbfm`);
70 } 70 }
71 }, 71 },
72 }; 72 };
......
...@@ -241,7 +241,7 @@ export default { ...@@ -241,7 +241,7 @@ export default {
241 console.log("this.propsParam.bdcdyid ", this.propsParam); 241 console.log("this.propsParam.bdcdyid ", this.propsParam);
242 window.open( 242 window.open(
243 `'#/printdjb?bdcdyid=${this.propsParam.bdcdyid}&qllx=${this.propsParam.qllx}&content=fdcq1`, 243 `'#/printdjb?bdcdyid=${this.propsParam.bdcdyid}&qllx=${this.propsParam.qllx}&content=fdcq1`,
244 `printdjb` 244 `fdcq1`
245 ); 245 );
246 }, 246 },
247 }, 247 },
......
...@@ -202,7 +202,7 @@ export default { ...@@ -202,7 +202,7 @@ export default {
202 console.log("this.propsParam.bdcdyid ", this.propsParam); 202 console.log("this.propsParam.bdcdyid ", this.propsParam);
203 window.open( 203 window.open(
204 `'#/printdjb?bdcdyid=${this.propsParam.bdcdyid}&qllx=${this.propsParam.qllx}&content=fdcq2`, 204 `'#/printdjb?bdcdyid=${this.propsParam.bdcdyid}&qllx=${this.propsParam.qllx}&content=fdcq2`,
205 `printdjb` 205 `fdcq2`
206 ); 206 );
207 }, 207 },
208 }, 208 },
......
...@@ -210,7 +210,7 @@ export default { ...@@ -210,7 +210,7 @@ export default {
210 console.log("this.propsParam.bdcdyid ", this.propsParam); 210 console.log("this.propsParam.bdcdyid ", this.propsParam);
211 window.open( 211 window.open(
212 `'#/printdjb?bdcdyid=${this.propsParam.bdcdyid}&qllx=${this.propsParam.qllx}&content=jsydsyq`, 212 `'#/printdjb?bdcdyid=${this.propsParam.bdcdyid}&qllx=${this.propsParam.qllx}&content=jsydsyq`,
213 `printdjb` 213 `jsydsyq`
214 ); 214 );
215 }, 215 },
216 }, 216 },
......
...@@ -211,7 +211,7 @@ export default { ...@@ -211,7 +211,7 @@ export default {
211 console.log("this.propsParam.bdcdyid ", this.propsParam); 211 console.log("this.propsParam.bdcdyid ", this.propsParam);
212 window.open( 212 window.open(
213 `'#/printdjb?bdcdyid=${this.propsParam.bdcdyid}&qllx=${this.propsParam.qllx}&content=ldsyq`, 213 `'#/printdjb?bdcdyid=${this.propsParam.bdcdyid}&qllx=${this.propsParam.qllx}&content=ldsyq`,
214 `printdjb` 214 `ldsyq`
215 ); 215 );
216 }, 216 },
217 }, 217 },
......
...@@ -263,7 +263,7 @@ export default { ...@@ -263,7 +263,7 @@ export default {
263 console.log("this.propsParam.bdcdyid ", this.propsParam); 263 console.log("this.propsParam.bdcdyid ", this.propsParam);
264 window.open( 264 window.open(
265 `'#/printdjb?bdcdyid=${this.propsParam.bdcdyid}&qllx=${this.propsParam.qllx}&content=nydsyq`, 265 `'#/printdjb?bdcdyid=${this.propsParam.bdcdyid}&qllx=${this.propsParam.qllx}&content=nydsyq`,
266 `printdjb` 266 `nydsyq`
267 ); 267 );
268 }, 268 },
269 }, 269 },
......
...@@ -193,7 +193,7 @@ ...@@ -193,7 +193,7 @@
193 console.log("this.propsParam.bdcdyid ", this.propsParam); 193 console.log("this.propsParam.bdcdyid ", this.propsParam);
194 window.open( 194 window.open(
195 `'#/printdjb?bdcdyid=${this.propsParam.bdcdyid}&qllx=${this.propsParam.qllx}&content=sllmsyq`, 195 `'#/printdjb?bdcdyid=${this.propsParam.bdcdyid}&qllx=${this.propsParam.qllx}&content=sllmsyq`,
196 `printdjb` 196 `sllmsyq`
197 ); 197 );
198 }, 198 },
199 }, 199 },
......
...@@ -183,7 +183,7 @@ ...@@ -183,7 +183,7 @@
183 console.log("this.propsParam.bdcdyid ", this.propsParam); 183 console.log("this.propsParam.bdcdyid ", this.propsParam);
184 window.open( 184 window.open(
185 `'#/printdjb?bdcdyid=${this.propsParam.bdcdyid}&qllx=${this.propsParam.qllx}&content=tdsyq`, 185 `'#/printdjb?bdcdyid=${this.propsParam.bdcdyid}&qllx=${this.propsParam.qllx}&content=tdsyq`,
186 `printdjb` 186 `tdsyq`
187 ); 187 );
188 }, 188 },
189 }, 189 },
......
...@@ -183,7 +183,7 @@ ...@@ -183,7 +183,7 @@
183 console.log("this.propsParam.bdcdyid ", this.propsParam); 183 console.log("this.propsParam.bdcdyid ", this.propsParam);
184 window.open( 184 window.open(
185 `'#/printdjb?bdcdyid=${this.propsParam.bdcdyid}&qllx=${this.propsParam.qllx}&content=ygdj`, 185 `'#/printdjb?bdcdyid=${this.propsParam.bdcdyid}&qllx=${this.propsParam.qllx}&content=ygdj`,
186 `printdjb` 186 `ygdj`
187 ); 187 );
188 }, 188 },
189 }, 189 },
......
...@@ -182,7 +182,7 @@ ...@@ -182,7 +182,7 @@
182 console.log("this.propsParam.bdcdyid ", this.propsParam); 182 console.log("this.propsParam.bdcdyid ", this.propsParam);
183 window.open( 183 window.open(
184 `'#/printdjb?bdcdyid=${this.propsParam.bdcdyid}&qllx=${this.propsParam.qllx}&content=yydj`, 184 `'#/printdjb?bdcdyid=${this.propsParam.bdcdyid}&qllx=${this.propsParam.qllx}&content=yydj`,
185 `printdjb` 185 `yydj`
186 ); 186 );
187 }, 187 },
188 }, 188 },
......
...@@ -216,7 +216,7 @@ export default { ...@@ -216,7 +216,7 @@ export default {
216 console.log("this.propsParam.bdcdyid ", this.propsParam); 216 console.log("this.propsParam.bdcdyid ", this.propsParam);
217 window.open( 217 window.open(
218 `'#/printdjb?bdcdyid=${this.propsParam.bdcdyid}&qllx=${this.propsParam.qllx}&content=zdjbxx`, 218 `'#/printdjb?bdcdyid=${this.propsParam.bdcdyid}&qllx=${this.propsParam.qllx}&content=zdjbxx`,
219 `printdjb` 219 `zdjbxx`
220 ); 220 );
221 }, 221 },
222 }, 222 },
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-15 09:43:21 4 * @LastEditTime: 2023-09-04 17:09:21
5 --> 5 -->
6 <template> 6 <template>
7 <div class="clxx"> 7 <div class="clxx">
...@@ -134,7 +134,6 @@ ...@@ -134,7 +134,6 @@
134 this.previewImg.bsmSj = this.tableData[this.treeCheckIndex].bsmSj; 134 this.previewImg.bsmSj = this.tableData[this.treeCheckIndex].bsmSj;
135 } 135 }
136 }, 136 },
137 // 材料目录明细初始化
138 /** 137 /**
139 * @description: 材料目录明细初始化 138 * @description: 材料目录明细初始化
140 * @param {*} type 139 * @param {*} type
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-31 08:51:09 4 * @LastEditTime: 2023-09-05 15:36:51
5 --> 5 -->
6 <template> 6 <template>
7 <div> 7 <div>
...@@ -12,7 +12,9 @@ ...@@ -12,7 +12,9 @@
12 ref="ruleForm" 12 ref="ruleForm"
13 label-width="120px"> 13 label-width="120px">
14 <el-form-item label="印刷序列号:" prop="ysxlh"> 14 <el-form-item label="印刷序列号:" prop="ysxlh">
15 <el-select v-model="ruleForm.ysxlh" placeholder="请选择"> 15 <el-row>
16 <el-col :span="22">
17 <el-select v-model="ruleForm.ysxlh" @change="handleSelect" :disabled="disabled" placeholder="请选择">
16 <el-option 18 <el-option
17 v-for="item in ysxlh" 19 v-for="item in ysxlh"
18 :key="item.ysxlh" 20 :key="item.ysxlh"
...@@ -20,11 +22,17 @@ ...@@ -20,11 +22,17 @@
20 :value="item.ysxlh"> 22 :value="item.ysxlh">
21 </el-option> 23 </el-option>
22 </el-select> 24 </el-select>
25 </el-col>
26 <el-col :span="2" v-if="this.formData.ysxlh">
27 <el-button type="primary" @click="invalidDiglog=true">作废</el-button>
28 </el-col>
29 </el-row>
30
23 </el-form-item> 31 </el-form-item>
24 </el-form> 32 </el-form>
25 <div class="zs-content"> 33 <div class="zs-content">
26 <canvas ref="zs" width="1000" v-show="this.formData.bdcqz.bdcqzlx==1" height="700"></canvas> 34 <canvas ref="zs" width="1000" v-show="this.formData.bdcqzlx==1" height="700"></canvas>
27 <canvas ref="zm" width="1180" v-show="this.formData.bdcqz.bdcqzlx==2" height="780"></canvas> 35 <canvas ref="zm" width="1180" v-show="this.formData.bdcqzlx==2" height="780"></canvas>
28 </div> 36 </div>
29 </div> 37 </div>
30 <!-- 打印模板需要此模块 --> 38 <!-- 打印模板需要此模块 -->
...@@ -33,8 +41,24 @@ ...@@ -33,8 +41,24 @@
33 </object> 41 </object>
34 <div class="text-center pt-10"> 42 <div class="text-center pt-10">
35 <el-button @click="$popupCacel">取消</el-button> 43 <el-button @click="$popupCacel">取消</el-button>
36 <el-button type="primary" @click="handleSubmit">确定</el-button> 44 <el-button type="primary" @click="handlePrint" v-if="disabled">打印</el-button>
45 <el-button type="primary" @click="handleSubmit" v-else>确定</el-button>
46 </div>
47
48 <el-dialog title="证书作废" :visible.sync="invalidDiglog" width="40%" :modal-append-to-body="false" top="30vh">
49 <div class="invalid-diglog">
50 <div class="invalid-title">
51 <i class="el-icon-question invalid-icon"></i>
52 <div class="invalid-body">您确定作废证书并再次打印?印刷序列号{{bdcqz.ysxlh}}</div>
53 </div>
54 <div class="invalid-reson">作废原因:</div>
55 <el-input v-model="zfyy" placeholder="请输入作废原因" type="textarea" :rows="4"></el-input>
56 <div class="text-center pt-10">
57 <el-button @click="closeInvalidDiglog">取 消</el-button>
58 <el-button type="primary" @click="confirmInvalid">确 定</el-button>
59 </div>
37 </div> 60 </div>
61 </el-dialog>
38 </div> 62 </div>
39 </template> 63 </template>
40 64
...@@ -43,7 +67,7 @@ ...@@ -43,7 +67,7 @@
43 import { datas } from "../../javascript/zsyl.js"; 67 import { datas } from "../../javascript/zsyl.js";
44 import { getPrintTemplateByCode } from "@/api/print"; 68 import { getPrintTemplateByCode } from "@/api/print";
45 import { getLodop } from "@/utils/LodopFuncs" 69 import { getLodop } from "@/utils/LodopFuncs"
46 import { readYsxlh, certificate, getSlsqBdcqzList } from "@/api/bdcqz.js"; 70 import { readYsxlh, certificate, getBdcqzDetail, invalidCertificate } from "@/api/bdcqz.js";
47 export default { 71 export default {
48 props: { 72 props: {
49 formData: { 73 formData: {
...@@ -55,18 +79,22 @@ ...@@ -55,18 +79,22 @@
55 }, 79 },
56 data () { 80 data () {
57 return { 81 return {
82 // 详细信息
83 bdcqz: {},
58 key: 0, 84 key: 0,
85 disabled: false,
59 // 不动产证书图片地址 86 // 不动产证书图片地址
60 imgSrc: require('@/image/bdcqz/bdcqzs2.jpg'), 87 imgSrc: require('@/image/bdcqz/bdcqzs2.jpg'),
61 bdczmSrc: require('@/image/bdcqz/bdczm.jpg'), 88 bdczmSrc: require('@/image/bdcqz/bdczm.jpg'),
62 loading: false, 89 loading: false,
63 bdcqz: [],
64 //印刷序列号集合 90 //印刷序列号集合
65 ysxlh: [], 91 ysxlh: [],
66 //列名称对象 92 //列名称对象
67 columns: [], 93 columns: [],
68 //tab选择绑定值 94 //tab选择绑定值
69 activeName: '', 95 activeName: '',
96 invalidDiglog: false,
97 zfyy: "",
70 ruleForm: { 98 ruleForm: {
71 bsmBdcqz: "", 99 bsmBdcqz: "",
72 szmc: "不动产权证书", 100 szmc: "不动产权证书",
...@@ -85,24 +113,83 @@ ...@@ -85,24 +113,83 @@
85 store.dispatch('user/refreshPage', false) 113 store.dispatch('user/refreshPage', false)
86 this.columns = datas.columns() 114 this.columns = datas.columns()
87 this.ysxlhList() 115 this.ysxlhList()
88 if (this.formData.bdcqz.bdcqzlx == 1) { 116 // 获取详细信息
117 this.getDetail()
118 if (this.formData.ysxlh) {
119 this.disabled = true
120 } else {
121 this.disabled = false
122 }
123 },
124 methods: {
125 /**
126 * @description: 获取详细信息
127 * @author: renchao
128 */
129 getDetail () {
130 this.loading = true
131 getBdcqzDetail(this.formData.bsmBdcqz).then(res => {
132 this.bdcqz = res.result
133 this.loading = false
134 if (this.bdcqz.ysxlh) this.ruleForm.ysxlh = this.bdcqz.ysxlh
135 if (this.bdcqz.bdcqzlx == 1) {
89 this.drawTextOnImage() 136 this.drawTextOnImage()
90 } else { 137 } else {
91 this.drawTextzmImage() 138 this.drawTextzmImage()
92 } 139 }
140 })
93 }, 141 },
94 methods: {
95 /** 142 /**
96 * @description: 获取印刷序列号列表 143 * @description: 获取印刷序列号列表
97 * @author: renchao 144 * @author: renchao
98 */ 145 */
99 ysxlhList () { 146 ysxlhList () {
100 readYsxlh({ zslx: this.formData.bdcqz.bdcqzlx }).then((res) => { 147 readYsxlh({ zslx: this.formData.bdcqzlx }).then((res) => {
101 if (res.code === 200) { 148 if (res.code === 200) {
102 this.ysxlh = res.result; 149 this.ysxlh = res.result;
103 } 150 }
104 }) 151 })
105 }, 152 },
153 handleSelect (val) {
154 this.bdcqz.ysxlh = this.ruleForm.ysxlh
155 if (this.bdcqz.bdcqzlx == 1) {
156 this.drawTextOnImage()
157 } else {
158 this.drawTextzmImage()
159 }
160 },
161 /**
162 * @description: closeInvalidDiglog
163 * @author: renchao
164 */
165 closeInvalidDiglog () {
166 this.zfyy = "";
167 this.invalidDiglog = false
168 },
169 /**
170 * @description: 作废缮证信息
171 * @author: renchao
172 */
173 confirmInvalid () {
174 invalidCertificate({ bsmBdcqz: this.bdcqz.bsmBdcqz, zfyy: this.zfyy }).then((res) => {
175 if (res.code === 200) {
176 this.$message.success("作废成功");
177 this.disabled = false
178 this.invalidDiglog = false;
179 this.zfyy = ''
180 this.ruleForm.ysxlh = ''
181 this.bdcqz.ysxlh = ''
182 store.dispatch('user/reWorkFresh', false)
183 if (this.bdcqz.bdcqzlx == 1) {
184 this.drawTextOnImage()
185 } else {
186 this.drawTextzmImage()
187 }
188 } else {
189 this.$message.error(res.message);
190 }
191 })
192 },
106 /** 193 /**
107 * @description: 不动产证书 194 * @description: 不动产证书
108 * @author: renchao 195 * @author: renchao
...@@ -128,25 +215,24 @@ ...@@ -128,25 +215,24 @@
128 context.drawImage(image, 0, 0); 215 context.drawImage(image, 0, 0);
129 context.font = '16px 楷体'; 216 context.font = '16px 楷体';
130 context.fillStyle = '#000000'; 217 context.fillStyle = '#000000';
131 context.fillText(this.formData.bdcqz.sjjc ? this.formData.bdcqz.sjjc : '', 60, 56); 218 context.fillText(this.bdcqz.sjjc ? this.bdcqz.sjjc : '', 60, 56);
132 context.fillText(this.formData.bdcqz.djnd ? this.formData.bdcqz.djnd : '', 113, 56); 219 context.fillText(this.bdcqz.djnd ? this.bdcqz.djnd : '', 113, 56);
133 context.fillText(this.formData.bdcqz.sxqc ? this.formData.bdcqz.sxqc : '', 180, 56); 220 context.fillText(this.bdcqz.sxqc ? this.bdcqz.sxqc : '', 180, 56);
134 context.fillText(this.formData.bdcqz.sxh ? this.formData.bdcqz.sxh : '', 370, 56); 221 context.fillText(this.bdcqz.sxh ? this.bdcqz.sxh : '', 370, 56);
135 context.fillText(this.formData.bdcqz.qlr ? this.formData.bdcqz.qlr : '', 129, 97); 222 context.fillText(this.bdcqz.qlr ? this.bdcqz.qlr : '', 129, 97);
136 context.fillText(this.formData.bdcqz.gyqk ? this.formData.bdcqz.gyqk : '', 129, 136); 223 context.fillText(this.bdcqz.gyqk ? this.bdcqz.gyqk : '', 129, 136);
137 224
138 this.bdcdyh = this.formData.bdcqz.bdcdyh.slice(0, 6) + ' ' + this.formData.bdcqz.bdcdyh.slice(6, 12) + ' ' + 225 this.bdcdyh = this.bdcqz.bdcdyh.slice(0, 6) + ' ' + this.bdcqz.bdcdyh.slice(6, 12) + ' ' +
139 this.formData.bdcqz.bdcdyh.slice(12, 19) + ' ' + this.formData.bdcqz.bdcdyh.slice(19, this.formData.bdcqz.bdcdyh.length) 226 this.bdcqz.bdcdyh.slice(12, 19) + ' ' + this.bdcqz.bdcdyh.slice(19, this.bdcqz.bdcdyh.length)
140 context.fillText(this.bdcdyh ? this.bdcdyh : '', 129, 223); 227 context.fillText(this.bdcdyh ? this.bdcdyh : '', 129, 223);
141 228
142 229
143 230
144 context.fillText(this.formData.bdcqz.qllx ? this.formData.bdcqz.qllx : '', 129, 263); 231 context.fillText(this.bdcqz.qllx ? this.bdcqz.qllx : '', 129, 263);
145 context.fillText(this.formData.bdcqz.qlxz ? this.formData.bdcqz.qlxz : '', 129, 303); 232 context.fillText(this.bdcqz.qlxz ? this.bdcqz.qlxz : '', 129, 303);
146 context.fillText(this.formData.bdcqz.yt ? this.formData.bdcqz.yt : '', 129, 346); 233 context.fillText(this.bdcqz.yt ? this.bdcqz.yt : '', 129, 346);
147 // context.fillText(this.formData.bdcqz.mj ? this.formData.bdcqz.mj : '', 129, 386); 234 let lines6 = this.bdcqz.mj ? this.bdcqz.mj.split(' ') : [];
148 let lines6 = this.formData.bdcqz.mj ? this.formData.bdcqz.mj.split(' ') : []; 235 if (getByteLen(this.bdcqz.mj) > 41) {
149 if (getByteLen(this.formData.bdcqz.mj) > 41) {
150 lines6.forEach((line, index) => { 236 lines6.forEach((line, index) => {
151 const y = 378 + (index * 27); // 每行文本的垂直位置 237 const y = 378 + (index * 27); // 每行文本的垂直位置
152 let currentLine = ''; 238 let currentLine = '';
...@@ -189,7 +275,7 @@ ...@@ -189,7 +275,7 @@
189 } 275 }
190 // 权利其他状态 276 // 权利其他状态
191 const maxWidth = 332; // 最大宽度限制 277 const maxWidth = 332; // 最大宽度限制
192 let lines = this.formData.bdcqz.qlqtzk ? this.formData.bdcqz.qlqtzk.split('\n') : []; 278 let lines = this.bdcqz.qlqtzk ? this.bdcqz.qlqtzk.split('\n') : [];
193 for (let i = 0; i < lines.length; i++) { 279 for (let i = 0; i < lines.length; i++) {
194 let num = Math.ceil(getByteLen(lines[i]) / 41) 280 let num = Math.ceil(getByteLen(lines[i]) / 41)
195 if (getByteLen(lines[i]) > 41) { 281 if (getByteLen(lines[i]) > 41) {
...@@ -224,7 +310,7 @@ ...@@ -224,7 +310,7 @@
224 } 310 }
225 } 311 }
226 312
227 let lines1 = this.formData.bdcqz.fj ? this.formData.bdcqz.fj.split('\n') : []; 313 let lines1 = this.bdcqz.fj ? this.bdcqz.fj.split('\n') : [];
228 lines1.forEach((line, index) => { 314 lines1.forEach((line, index) => {
229 const y = 100 + (index * 30); // 每行文本的垂直位置 315 const y = 100 + (index * 30); // 每行文本的垂直位置
230 let currentLine = ''; 316 let currentLine = '';
...@@ -244,8 +330,8 @@ ...@@ -244,8 +330,8 @@
244 context.fillText(line, 580, y + (index * 30)); // 调整行高 330 context.fillText(line, 580, y + (index * 30)); // 调整行高
245 }) 331 })
246 }) 332 })
247 let lines3 = this.formData.bdcqz.syqx ? this.formData.bdcqz.syqx.split(' ') : []; 333 let lines3 = this.bdcqz.syqx ? this.bdcqz.syqx.split(' ') : [];
248 if (getByteLen(this.formData.bdcqz.syqx) > 41) { 334 if (getByteLen(this.bdcqz.syqx) > 41) {
249 lines3.forEach((line, index) => { 335 lines3.forEach((line, index) => {
250 const y = 423 + (index * 27); // 每行文本的垂直位置 336 const y = 423 + (index * 27); // 每行文本的垂直位置
251 let currentLine = ''; 337 let currentLine = '';
...@@ -287,8 +373,8 @@ ...@@ -287,8 +373,8 @@
287 }) 373 })
288 } 374 }
289 375
290 let lines2 = this.formData.bdcqz.zl ? this.formData.bdcqz.zl.split(' ') : []; 376 let lines2 = this.bdcqz.zl ? this.bdcqz.zl.split(' ') : [];
291 if (getByteLen(this.formData.bdcqz.zl) > 41) { 377 if (getByteLen(this.bdcqz.zl) > 41) {
292 lines2.forEach((line, index) => { 378 lines2.forEach((line, index) => {
293 const y = 170 + (index * 20); // 每行文本的垂直位置 379 const y = 170 + (index * 20); // 每行文本的垂直位置
294 let currentLine = ''; 380 let currentLine = '';
...@@ -359,25 +445,24 @@ ...@@ -359,25 +445,24 @@
359 context.font = '16px 楷体'; 445 context.font = '16px 楷体';
360 context.fillStyle = '#000000'; 446 context.fillStyle = '#000000';
361 // ysxlh 447 // ysxlh
362 context.fillText(this.formData.bdcqz.ysxlh ? this.formData.bdcqz.ysxlh : '', 280, 712); 448 context.fillText(this.bdcqz.ysxlh ? this.bdcqz.ysxlh : '', 280, 712);
363 // djsj 449 // djsj
364 if (this.formData.bdcqz.djsj) { 450 if (this.bdcqz.djsj) {
365 let djsjList = this.formData.bdcqz.djsj.split(' ')[0].split('/') 451 let djsjList = this.bdcqz.djsj.split(' ')[0].split('/')
366 context.fillText(djsjList[0] ? djsjList[0] : '', 327, 580); 452 context.fillText(djsjList[0] ? djsjList[0] : '', 327, 580);
367 context.fillText(djsjList[1] ? djsjList[1] : '', 393, 580); 453 context.fillText(djsjList[1] ? djsjList[1] : '', 393, 580);
368 context.fillText(djsjList[2] ? djsjList[2] : '', 443, 580); 454 context.fillText(djsjList[2] ? djsjList[2] : '', 443, 580);
369 } 455 }
370 context.fillText(this.formData.bdcqz.sjjc ? this.formData.bdcqz.sjjc : '', 620, 125); 456 context.fillText(this.bdcqz.sjjc ? this.bdcqz.sjjc : '', 620, 125);
371 context.fillText(this.formData.bdcqz.djnd ? this.formData.bdcqz.djnd : '', 665, 125); 457 context.fillText(this.bdcqz.djnd ? this.bdcqz.djnd : '', 665, 125);
372 context.fillText(this.formData.bdcqz.sxqc ? this.formData.bdcqz.sxqc : '', 750, 125); 458 context.fillText(this.bdcqz.sxqc ? this.bdcqz.sxqc : '', 750, 125);
373 context.fillText(this.formData.bdcqz.sxh ? this.formData.bdcqz.sxh : '', 960, 123); 459 context.fillText(this.bdcqz.sxh ? this.bdcqz.sxh : '', 960, 123);
374 context.fillText(this.formData.bdcqz.zmqlhsx ? this.formData.bdcqz.zmqlhsx : '', 775, 180); 460 context.fillText(this.bdcqz.zmqlhsx ? this.bdcqz.zmqlhsx : '', 775, 180);
375 context.fillText(this.formData.bdcqz.qlr ? this.formData.bdcqz.qlr : '', 775, 228); 461 context.fillText(this.bdcqz.qlr ? this.bdcqz.qlr : '', 775, 228);
376 // 义务人 462 // 义务人
377 context.fillText(this.formData.bdcqz.ywr ? this.formData.bdcqz.ywr : '', 775, 275); 463 context.fillText(this.bdcqz.ywr ? this.bdcqz.ywr : '', 775, 275);
378 // context.fillText(this.formData.bdcqz.zl ? this.formData.bdcqz.zl : '', 775, 325); 464 let lines2 = this.bdcqz.zl ? this.bdcqz.zl.split(' ') : [];
379 let lines2 = this.formData.bdcqz.zl ? this.formData.bdcqz.zl.split(' ') : []; 465 if (getByteLen(this.bdcqz.zl) > 41) {
380 if (getByteLen(this.formData.bdcqz.zl) > 41) {
381 lines2.forEach((line, index) => { 466 lines2.forEach((line, index) => {
382 const y = 315 + (index * 20); // 每行文本的垂直位置 467 const y = 315 + (index * 20); // 每行文本的垂直位置
383 let currentLine = ''; 468 let currentLine = '';
...@@ -419,15 +504,15 @@ ...@@ -419,15 +504,15 @@
419 }) 504 })
420 } 505 }
421 // bdcdyh 506 // bdcdyh
422 this.bdcdyh = this.formData.bdcqz.bdcdyh.slice(0, 6) + ' ' + this.formData.bdcqz.bdcdyh.slice(6, 12) + ' ' + 507 this.bdcdyh = this.bdcqz.bdcdyh.slice(0, 6) + ' ' + this.bdcqz.bdcdyh.slice(6, 12) + ' ' +
423 this.formData.bdcqz.bdcdyh.slice(12, 19) + ' ' + this.formData.bdcqz.bdcdyh.slice(19, this.formData.bdcqz.bdcdyh.length) 508 this.bdcqz.bdcdyh.slice(12, 19) + ' ' + this.bdcqz.bdcdyh.slice(19, this.bdcqz.bdcdyh.length)
424 context.fillText(this.bdcdyh ? this.bdcdyh : '', 775, 373); 509 context.fillText(this.bdcdyh ? this.bdcdyh : '', 775, 373);
425 // qlqtzk 510 // qlqtzk
426 const maxWidth = 295; // 最大宽度限制 511 const maxWidth = 290; // 最大宽度限制
427 let lines = this.formData.bdcqz.qlqtzk ? this.formData.bdcqz.qlqtzk.split('\n') : []; 512 let lines = this.bdcqz.qlqtzk ? this.bdcqz.qlqtzk.split('\n') : [];
428 for (let i = 0; i < lines.length; i++) { 513 for (let i = 0; i < lines.length; i++) {
429 let num = Math.ceil(getByteLen(lines[i]) / 41) 514 let num = Math.ceil(getByteLen(lines[i]) / 37)
430 if (getByteLen(lines[i]) > 41) { 515 if (getByteLen(lines[i]) > 37) {
431 let currentLine = ''; 516 let currentLine = '';
432 let arr = []; 517 let arr = [];
433 for (let word of lines[i]) { 518 for (let word of lines[i]) {
...@@ -459,10 +544,10 @@ ...@@ -459,10 +544,10 @@
459 } 544 }
460 } 545 }
461 // fj 546 // fj
462 let lines1 = this.formData.bdcqz.fj ? this.formData.bdcqz.fj.split('\n') : []; 547 let lines1 = this.bdcqz.fj ? this.bdcqz.fj.split('\n') : [];
463 for (let i = 0; i < lines1.length; i++) { 548 for (let i = 0; i < lines1.length; i++) {
464 let num = Math.ceil(getByteLen(lines1[i]) / 41) 549 let num = Math.ceil(getByteLen(lines1[i]) / 37)
465 if (getByteLen(lines1[i]) > 41) { 550 if (getByteLen(lines1[i]) > 37) {
466 let currentLine = ''; 551 let currentLine = '';
467 let arr = []; 552 let arr = [];
468 for (let word of lines1[i]) { 553 for (let word of lines1[i]) {
...@@ -494,77 +579,85 @@ ...@@ -494,77 +579,85 @@
494 } 579 }
495 } 580 }
496 } 581 }
497
498 image.src = this.bdczmSrc; 582 image.src = this.bdczmSrc;
499 }, 583 },
500 /** 584 // 打印
501 * @description: handleSubmit 585 handlePrint () {
502 * @author: renchao 586 if (this.ruleForm.ysxlh == '') {
503 */ 587 this.$message.error('请选择印刷序列号');
504 handleSubmit () { 588 return;
505 this.savePrintRecord() 589 }
506 },
507 /**
508 * @description: 保存打印记录
509 * @author: renchao
510 */
511 savePrintRecord () {
512 let that = this 590 let that = this
513 this.ruleForm.bsmBdcqz = this.formData.bdcqz.bsmBdcqz; 591 if (this.bdcqz.bdcqzlx == 1) {
514 this.ruleForm.bdcqzlx = this.formData.bdcqz.bdcqzlx; 592 getPrintTemplateByCode({ tmpno: 'zsdy' }).then(resInfo => {
515 this.ruleForm.szzh = this.formData.bdcqz.bdcqzh; 593 if (resInfo.code == 200) {
516 certificate(this.ruleForm).then((res) => {
517 if (res.code === 200) {
518 that.$popupCacel()
519 if (this.formData.bdcqz.bdcqzlx == 1) {
520 getPrintTemplateByCode({ tmpno: 'zsdy' }).then(res => {
521 if (res.code == 200) {
522 //打开模板设计 594 //打开模板设计
523 let LODOP = getLodop(document.getElementById('LODOP_OB'), document.getElementById('LODOP_EM')); 595 let LODOP = getLodop(document.getElementById('LODOP_OB'), document.getElementById('LODOP_EM'));
524 LODOP.ADD_PRINT_DATA("ProgramData", res.result.tmpcontent); //装载模板 596 LODOP.ADD_PRINT_DATA("ProgramData", resInfo.result.tmpcontent); //装载模板
525 597
526 this.formData.bdcqz.bdcdyh1 = this.formData.bdcqz.bdcdyh.slice(0, 6) + ' ' + this.formData.bdcqz.bdcdyh.slice(6, 12) + ' ' + 598 this.bdcqz.bdcdyh1 = this.bdcqz.bdcdyh.slice(0, 6) + ' ' + this.bdcqz.bdcdyh.slice(6, 12) + ' ' +
527 this.formData.bdcqz.bdcdyh.slice(12, 19) + ' ' + this.formData.bdcqz.bdcdyh.slice(19, this.formData.bdcqz.bdcdyh.length) 599 this.bdcqz.bdcdyh.slice(12, 19) + ' ' + this.bdcqz.bdcdyh.slice(19, this.bdcqz.bdcdyh.length)
528 //todo 调取后端接口获取数据 循环set 600 //todo 调取后端接口获取数据 循环set
529 for (let key in this.formData.bdcqz) { 601 for (let key in this.bdcqz) {
530 LODOP.SET_PRINT_STYLEA(key, "CONTENT", this.formData.bdcqz[key]); 602 LODOP.SET_PRINT_STYLEA(key, "CONTENT", this.bdcqz[key]);
531 } 603 }
532 LODOP.PREVIEW(); 604 LODOP.PREVIEW();
533 that.$popupCacel()
534 } else { 605 } else {
535 this.$message.error(res.message) 606 this.$message.error(resInfo.message)
536 } 607 }
608 that.$popupCacel()
609 //刷新列表
610 store.dispatch('user/reWorkFresh', true)
537 }) 611 })
538 } else { 612 } else {
539 getPrintTemplateByCode({ tmpno: 'zmdy' }).then(res => { 613 getPrintTemplateByCode({ tmpno: 'zmdy' }).then(resInfo => {
540 if (res.code == 200) { 614 if (resInfo.code == 200) {
541 //打开模板设计 615 //打开模板设计
542 let LODOP = getLodop(document.getElementById('LODOP_OB'), document.getElementById('LODOP_EM')); 616 let LODOP = getLodop(document.getElementById('LODOP_OB'), document.getElementById('LODOP_EM'));
543 LODOP.ADD_PRINT_DATA("ProgramData", res.result.tmpcontent); //装载模板 617 LODOP.ADD_PRINT_DATA("ProgramData", resInfo.result.tmpcontent); //装载模板
544 618
545 // 年月日 619 // 年月日
546 this.formData.bdcqz.nian = this.formData.bdcqz.djsj.split(' ')[0].split('/')[0] 620 this.bdcqz.nian = this.bdcqz.djsj.split(' ')[0].split('/')[0]
547 this.formData.bdcqz.yue = this.formData.bdcqz.djsj.split(' ')[0].split('/')[1] 621 this.bdcqz.yue = this.bdcqz.djsj.split(' ')[0].split('/')[1]
548 this.formData.bdcqz.ri = this.formData.bdcqz.djsj.split(' ')[0].split('/')[1] 622 this.bdcqz.ri = this.bdcqz.djsj.split(' ')[0].split('/')[1]
549 this.formData.bdcqz.bdcdyh1 = this.formData.bdcqz.bdcdyh.slice(0, 6) + ' ' + this.formData.bdcqz.bdcdyh.slice(6, 12) + ' ' + 623 this.bdcqz.bdcdyh1 = this.bdcqz.bdcdyh.slice(0, 6) + ' ' + this.bdcqz.bdcdyh.slice(6, 12) + ' ' +
550 this.formData.bdcqz.bdcdyh.slice(12, 19) + ' ' + this.formData.bdcqz.bdcdyh.slice(19, this.formData.bdcqz.bdcdyh.length) 624 this.bdcqz.bdcdyh.slice(12, 19) + ' ' + this.bdcqz.bdcdyh.slice(19, this.bdcqz.bdcdyh.length)
551 //todo 调取后端接口获取数据 循环set 625 //todo 调取后端接口获取数据 循环set
552 for (let key in this.formData.bdcqz) { 626 for (let key in this.bdcqz) {
553 LODOP.SET_PRINT_STYLEA(key, "CONTENT", this.formData.bdcqz[key]); 627 LODOP.SET_PRINT_STYLEA(key, "CONTENT", this.bdcqz[key]);
554 } 628 }
555 LODOP.PREVIEW(); 629 LODOP.PREVIEW();
556 that.$popupCacel()
557 } else { 630 } else {
558 this.$message.error(res.message) 631 this.$message.error(resInfo.message)
559 }
560 })
561 } 632 }
562 633 that.$popupCacel()
563 //刷新列表 634 //刷新列表
564 store.dispatch('user/reWorkFresh', true) 635 store.dispatch('user/reWorkFresh', true)
636 })
637 }
638 },
639 /**
640 * @description: 保存打印记录
641 * @author: renchao
642 */
643 handleSubmit () {
644 let that = this
645 if (this.ruleForm.ysxlh == '') {
646 this.$message.error('请选择印刷序列号');
647 return;
648 }
649 this.ruleForm.bsmBdcqz = this.bdcqz.bsmBdcqz;
650 this.ruleForm.bdcqzlx = this.bdcqz.bdcqzlx;
651 this.ruleForm.szzh = this.bdcqz.bdcqzh;
652 this.bdcqz.ysxlh = this.ruleForm.ysxlh
653 certificate(this.ruleForm).then((res) => {
654 if (res.code === 200) {
655 that.$popupCacel()
656 this.handlePrint()
565 } else { 657 } else {
566 this.$message.error(res.message) 658 this.$message.error(res.message)
567 } 659 }
660 store.dispatch('user/reWorkFresh', true)
568 }) 661 })
569 } 662 }
570 } 663 }
...@@ -579,4 +672,36 @@ ...@@ -579,4 +672,36 @@
579 .zs-content { 672 .zs-content {
580 text-align: center; 673 text-align: center;
581 } 674 }
675 .invalid-diglog {
676 padding-bottom: 20px;
677 font-size: 16px;
678 font-weight: bold;
679 color: rgb(99, 99, 99);
680
681 .invalid-title {
682 display: flex;
683 align-content: center;
684
685 .invalid-icon {
686 color: rgb(254, 148, 0);
687 font-size: 34px;
688 margin-right: 10px;
689 }
690
691 .invalid-body {
692 line-height: 40px;
693 margin-bottom: 10px;
694 }
695 }
696
697 .invalid-reson {
698 margin-bottom: 10px;
699 }
700
701 .dialog-footer {
702 margin-top: 10px;
703 display: flex;
704 justify-content: flex-end;
705 }
706 }
582 </style> 707 </style>
......
1 <template>
2 <div>
3 <div>自来水信息</div>
4 <div>天然气信息</div>
5 <div>电力信息</div>
6 </div>
7 </template>
...\ No newline at end of file ...\ No newline at end of file
1 <template>
2 <div>
3 <div>不动产信息</div>
4 <div>收费明细</div>
5 <div>缴费票据</div>
6 </div>
7 </template>
...\ No newline at end of file ...\ No newline at end of file
1 <template>
2 <div>
3 <div>不动产信息</div>
4 <div>买方信息</div>
5 <div>卖方信息</div>
6 <div>合同信息</div>
7 <div>缴税信息</div>
8 </div>
9 </template>
...\ No newline at end of file ...\ No newline at end of file
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-31 09:36:04 4 * @LastEditTime: 2023-09-05 14:28:25
5 --> 5 -->
6 <template> 6 <template>
7 <div class="szxx"> 7 <div class="szxx">
...@@ -55,28 +55,14 @@ ...@@ -55,28 +55,14 @@
55 </div> 55 </div>
56 </div> 56 </div>
57 </el-card> 57 </el-card>
58 <el-dialog title="证书作废" :visible.sync="invalidDiglog" width="30%" :modal-append-to-body="false" top="30vh"> 58
59 <div class="invalid-diglog">
60 <div class="invalid-title">
61 <i class="el-icon-question invalid-icon"></i>
62 <div class="invalid-body">您确定作废证书并再次打印?印刷序列号{{ysxlh}}</div>
63 </div>
64 <div class="invalid-reson">作废原因:</div>
65 <el-input v-model="zfyy" placeholder="请输入作废原因" type="textarea" :rows="4"></el-input>
66 <div class="text-center pt-10">
67 <el-button @click="closeInvalidDiglog">取 消</el-button>
68 <el-button type="primary" @click="confirmInvalid">确 定</el-button>
69 </div>
70 </div>
71 </el-dialog>
72 <el-empty description="暂无数据" v-if="tableData.length == 0"></el-empty> 59 <el-empty description="暂无数据" v-if="tableData.length == 0"></el-empty>
73 </div> 60 </div>
74 </template> 61 </template>
75 <script> 62 <script>
76 import { mapGetters } from 'vuex' 63 import { mapGetters } from 'vuex'
77 import store from '@/store/index.js' 64 import store from '@/store/index.js'
78 import { getPrintTemplateByCode } from "@/api/print"; 65 import { getSlsqBdcqzList } from "@/api/bdcqz.js";
79 import { getSlsqBdcqzList, invalidCertificate } from "@/api/bdcqz.js";
80 export default { 66 export default {
81 props: {}, 67 props: {},
82 data () { 68 data () {
...@@ -86,13 +72,8 @@ ...@@ -86,13 +72,8 @@
86 dialog: false, 72 dialog: false,
87 tableData: [], 73 tableData: [],
88 bdcqzlx: 1, 74 bdcqzlx: 1,
89 bdcqz: {}, 75 bdcqz: {}
90 zfyy: "", 76 }
91 invalidDiglog: false,
92 bsmSz: "",
93 bsmBdcqz: "",
94 ysxlh: ""
95 };
96 }, 77 },
97 computed: { 78 computed: {
98 ...mapGetters(['workFresh']) 79 ...mapGetters(['workFresh'])
...@@ -100,6 +81,7 @@ ...@@ -100,6 +81,7 @@
100 watch: { 81 watch: {
101 workFresh: { 82 workFresh: {
102 handler (newVal, oldVal) { 83 handler (newVal, oldVal) {
84 console.log(newVal, 'newVal');
103 if (newVal) this.list() 85 if (newVal) this.list()
104 } 86 }
105 } 87 }
...@@ -114,15 +96,18 @@ ...@@ -114,15 +96,18 @@
114 * @author: renchao 96 * @author: renchao
115 */ 97 */
116 list () { 98 list () {
99 return new Promise((resolve, reject) => {
117 var bsmSlsq = this.$route.query.bsmSlsq; 100 var bsmSlsq = this.$route.query.bsmSlsq;
118 getSlsqBdcqzList({ bsmSlsq: bsmSlsq }).then((res) => { 101 getSlsqBdcqzList({ bsmSlsq: bsmSlsq }).then((res) => {
102 resolve(res.code);
119 if (res.code === 200) { 103 if (res.code === 200) {
120 this.tableData = res.result; 104 this.tableData = res.result;
121 if (res.result) { 105 if (res.result) {
122 this.bdcqz = res.result[0]; 106 this.bdcqz = res.result[0];
123 } 107 }
124 } 108 }
125 }); 109 })
110 })
126 }, 111 },
127 /** 112 /**
128 * @description: 打开证书预览弹窗 113 * @description: 打开证书预览弹窗
...@@ -132,12 +117,11 @@ ...@@ -132,12 +117,11 @@
132 */ 117 */
133 openZsylDialog (item, type) { 118 openZsylDialog (item, type) {
134 store.dispatch('user/reWorkFresh', false) 119 store.dispatch('user/reWorkFresh', false)
135
136 if (type == 1) { 120 if (type == 1) {
137 //证书证明预览 121 //证书证明预览
138 this.$popupDialog("证书证明预览", "workflow/components/dialog/zsyl", { bdcqz: item, bsmSlsq: this.$route.query.bsmSlsq }, "76%", true); 122 this.$popupDialog("证书证明预览", "workflow/components/dialog/zsyl", { bdcqz: item, bsmSlsq: this.$route.query.bsmSlsq }, "76%", true);
139 } else { 123 } else {
140 this.$popupDialog("证书证明打印", "workflow/components/dialog/zsdy", { bdcqz: item, bsmSlsq: this.$route.query.bsmSlsq }, "76%", true); 124 this.$popupDialog("证书证明打印", "workflow/components/dialog/zsdy", { ...item }, "76%", true);
141 } 125 }
142 }, 126 },
143 /** 127 /**
...@@ -146,37 +130,7 @@ ...@@ -146,37 +130,7 @@
146 * @author: renchao 130 * @author: renchao
147 */ 131 */
148 openInvalidDiglog (item) { 132 openInvalidDiglog (item) {
149 this.bdcqz = item 133 this.$popupDialog("证书证明打印", "workflow/components/dialog/zsdy", { ...item }, "76%", true);
150 this.ysxlh = item.ysxlh
151 this.bsmSz = item.bsmSz;
152 this.invalidDiglog = true;
153 this.bsmBdcqz = item.bsmBdcqz
154 },
155 /**
156 * @description: closeInvalidDiglog
157 * @author: renchao
158 */
159 closeInvalidDiglog () {
160 this.invalidDiglog = false;
161 this.bsmSz = "";
162 this.zfyy = "";
163 },
164 /**
165 * @description: 作废缮证信息
166 * @author: renchao
167 */
168 confirmInvalid () {
169 invalidCertificate({ bsmBdcqz: this.bsmBdcqz, zfyy: this.zfyy }).then((res) => {
170 if (res.code === 200) {
171 this.list();
172 this.$message.success("作废成功");
173 this.invalidDiglog = false;
174 this.zfyy = ''
175 this.openZsylDialog(this.bdcqz);
176 } else {
177 this.$message.error(res.message);
178 }
179 })
180 }, 134 },
181 /** 135 /**
182 * @description: openRecordPop 136 * @description: openRecordPop
...@@ -259,39 +213,6 @@ ...@@ -259,39 +213,6 @@
259 padding-top: 8px; 213 padding-top: 8px;
260 font-size: 16px; 214 font-size: 16px;
261 } 215 }
262
263 .invalid-diglog {
264 padding-bottom: 20px;
265 font-size: 16px;
266 font-weight: bold;
267 color: rgb(99, 99, 99);
268
269 .invalid-title {
270 display: flex;
271 align-content: center;
272
273 .invalid-icon {
274 color: rgb(254, 148, 0);
275 font-size: 34px;
276 margin-right: 10px;
277 }
278
279 .invalid-body {
280 line-height: 40px;
281 margin-bottom: 10px;
282 }
283 }
284
285 .invalid-reson {
286 margin-bottom: 10px;
287 }
288
289 .dialog-footer {
290 margin-top: 10px;
291 display: flex;
292 justify-content: flex-end;
293 }
294 }
295 .box-card { 216 .box-card {
296 .szxx_header { 217 .szxx_header {
297 color: #303133; 218 color: #303133;
......
...@@ -66,6 +66,15 @@ export function getForm(tabName, djywbm) { ...@@ -66,6 +66,15 @@ export function getForm(tabName, djywbm) {
66 case "spyj": 66 case "spyj":
67 form = require("@/views/workflow/components/spyj.vue"); 67 form = require("@/views/workflow/components/spyj.vue");
68 break; 68 break;
69 case "swxx":
70 form = require("@/views/workflow/components/swxx.vue");
71 break;
72 case "sfxx":
73 form = require("@/views/workflow/components/sfxx.vue");
74 break;
75 case "sdqxx":
76 form = require("@/views/workflow/components/sdqxx.vue");
77 break;
69 case "zdjbxx": 78 case "zdjbxx":
70 form = require("@/views/registerBook/zdjbxx.vue"); 79 form = require("@/views/registerBook/zdjbxx.vue");
71 break; 80 break;
......
1 /* 1 /*
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-07-11 13:59:14 4 * @LastEditTime: 2023-09-05 15:39:08
5 */ 5 */
6 import { getForm } from "../flowform"; 6 import { getForm } from "../flowform";
7 import { getHomeNoticeList } from "@/api/home.js" 7 import { getHomeNoticeList } from "@/api/home.js"
...@@ -49,7 +49,6 @@ export default { ...@@ -49,7 +49,6 @@ export default {
49 * @author: renchao 49 * @author: renchao
50 */ 50 */
51 getFromRouter (tabname) { 51 getFromRouter (tabname) {
52 console.log(tabname, 'tabname');
53 //根据tabname获取选中的表单 此操作为了获取后端返回的表单对象,使用里面的是否可操作的属性 52 //根据tabname获取选中的表单 此操作为了获取后端返回的表单对象,使用里面的是否可操作的属性
54 for (let item of this.tabList) { 53 for (let item of this.tabList) {
55 if (item.value === tabname) { 54 if (item.value === tabname) {
......
...@@ -369,7 +369,7 @@ ...@@ -369,7 +369,7 @@
369 :disabled="viewEdit" 369 :disabled="viewEdit"
370 :gyfs="ruleForm.sldy.gyfs" /> 370 :gyfs="ruleForm.sldy.gyfs" />
371 371
372 <div v-if="ruleForm.ywrList && ruleForm.qlxx.djlx == '200'"> 372 <div v-if="ruleForm.qlxx.djlx == '200'">
373 <div class="slxx_title title-block"> 373 <div class="slxx_title title-block">
374 义务人信息 374 义务人信息
375 <div class="triangle"></div> 375 <div class="triangle"></div>
...@@ -379,7 +379,7 @@ ...@@ -379,7 +379,7 @@
379 @upDateQlrxxList="upDateYwrxxList" 379 @upDateQlrxxList="upDateYwrxxList"
380 :tableData="ruleForm.ywrList" 380 :tableData="ruleForm.ywrList"
381 :disabled="viewEdit" 381 :disabled="viewEdit"
382 :gyfs="ruleForm.sldy.gyfs" /> 382 />
383 </div> 383 </div>
384 <div class="slxx_title title-block"> 384 <div class="slxx_title title-block">
385 登记原因 385 登记原因
......
...@@ -253,7 +253,17 @@ ...@@ -253,7 +253,17 @@
253 </div> 253 </div>
254 <el-row :gutter="10"> 254 <el-row :gutter="10">
255 <el-col> 255 <el-col>
256 <el-form-item label="登记原因:" prop="djyy"> 256 <el-form-item v-if="ruleForm.sldy.djlx=='400'" label="注销登记原因:" prop="djyy">
257 <el-input
258 class="textArea"
259 type="textarea"
260 maxlength="500"
261 show-word-limit
262 :disabled="!viewEdit"
263 v-model="ruleForm.ygdj.zxyy">
264 </el-input>
265 </el-form-item>
266 <el-form-item v-else label="登记原因:" prop="djyy">
257 <el-input 267 <el-input
258 class="textArea" 268 class="textArea"
259 type="textarea" 269 type="textarea"
......
...@@ -268,14 +268,25 @@ ...@@ -268,14 +268,25 @@
268 </div> 268 </div>
269 <el-row :gutter="10"> 269 <el-row :gutter="10">
270 <el-col> 270 <el-col>
271 <el-form-item label="登记原因:" prop="djyy"> 271 <el-form-item v-if="ruleForm.sldy.djlx=='400'" label="注销登记原因:" prop="djyy">
272 <el-input 272 <el-input
273 class="textArea" 273 class="textArea"
274 type="textarea" 274 type="textarea"
275 maxlength="500" 275 maxlength="500"
276 show-word-limit 276 show-word-limit
277 :disabled="!viewEdit" 277 :disabled="!viewEdit"
278 v-model="ruleForm.ygdj.djyy"></el-input> 278 v-model="ruleForm.ygdj.zxyy">
279 </el-input>
280 </el-form-item>
281 <el-form-item v-else label="登记原因:" prop="djyy">
282 <el-input
283 class="textArea"
284 type="textarea"
285 maxlength="500"
286 show-word-limit
287 :disabled="!viewEdit"
288 v-model="ruleForm.ygdj.djyy">
289 </el-input>
279 </el-form-item> 290 </el-form-item>
280 </el-col> 291 </el-col>
281 </el-row> 292 </el-row>
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-29 08:52:44 4 * @LastEditTime: 2023-09-05 11:32:50
5 --> 5 -->
6 <template> 6 <template>
7 <div class="from-clues"> 7 <div class="from-clues">
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
58 import { ywPopupDialog } from "@/utils/popup.js"; 58 import { ywPopupDialog } from "@/utils/popup.js";
59 import { selectLq } from "@/api/ywsq.js"; 59 import { selectLq } from "@/api/ywsq.js";
60 import { startBusinessFlow } from "@/api/workFlow.js"; 60 import { startBusinessFlow } from "@/api/workFlow.js";
61 import { datas, sendThis } from "../javascript/selectQjlqxx.js"; 61 import { datas, sendThis } from "../javascript/selectQjlqxxQt.js";
62 import { defaultParameters } from "../javascript/publicDefaultPar.js"; 62 import { defaultParameters } from "../javascript/publicDefaultPar.js";
63 export default { 63 export default {
64 mixins: [table, jump], 64 mixins: [table, jump],
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-08-17 16:09:12 4 * @LastEditTime: 2023-09-05 13:10:53
5 --> 5 -->
6 <template> 6 <template>
7 <div class="from-clues"> 7 <div class="from-clues">
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
58 import { ywPopupDialog } from "@/utils/popup.js"; 58 import { ywPopupDialog } from "@/utils/popup.js";
59 import { selectLq } from "@/api/ywsq.js"; 59 import { selectLq } from "@/api/ywsq.js";
60 import { startBusinessFlow } from "@/api/workFlow.js"; 60 import { startBusinessFlow } from "@/api/workFlow.js";
61 import { datas, sendThis } from "../javascript/selectQjzdjbxx.js"; 61 import { datas, sendThis } from "../javascript/selectSllmqt.js";
62 import { defaultParameters } from "../javascript/publicDefaultPar.js"; 62 import { defaultParameters } from "../javascript/publicDefaultPar.js";
63 export default { 63 export default {
64 mixins: [table, jump], 64 mixins: [table, jump],
......
1 /*
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-09-05 11:33:36
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}>{this.yWstatus(scope.row)}</a>
42 <span v-show={scope.row.djblzt != 1}>{this.yWstatus(scope.row)}</span>
43 </div>
44 )
45 }
46 },
47 {
48 prop: "qllxmc",
49 label: "权利类型",
50 },
51 {
52 prop: "bdcdyh",
53 label: "不动产单元号",
54 minWidth: '150'
55 },
56 {
57 prop: "bdcqzh",
58 label: "不动产权证号",
59 render: (h, scope) => {
60 return (
61 <el-tooltip effect="dark" content={scope.row.bdcqzh} placement="top" popper-class="tooltip-width ">
62 <span class="ellipsis-table"> {scope.row.bdcqzh}</span>
63 </el-tooltip>
64 )
65 },
66 width: '150'
67 },
68 {
69 prop: "gyqk",
70 label: "共有方式",
71 },
72 {
73 prop: "qlrmc",
74 label: "使用权人",
75 },
76 {
77 prop: "qlrzjhm",
78 label: "证件号",
79 },
80 {
81 prop: "qlxzmc",
82 width: '80',
83 label: "权利性质",
84 },
85 {
86 prop: "qlmjmc",
87 width: '100',
88 label: "使用权面积",
89 },
90 {
91 prop: "qlytmc",
92 label: "土地用途",
93 },
94 {
95 prop: "qdjgmc",
96 width: '100',
97 label: "取得价格",
98 },
99 {
100 prop: "zl",
101 label: "坐落",
102 minWidth: '150'
103 },{
104 label: '操作',
105 width: '80',
106 align: 'center',
107 fixed: 'right',
108 render: (h, scope) => {
109 return (
110 <div>
111 <el-button type="text" icon="el-icon-edit-outline" onClick={() => { vm.openBook(scope.row) }}>登记薄</el-button>
112 </div>
113 )
114 }
115 }
116 ]
117 }
118
119
120 }
121 let datas = new data()
122 export {
123 datas,
124 sendThis
125 }
1 /*
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-09-05 13:10:31
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 render: (h, scope) => {
38 return (
39 <div>
40 <a style='color:#3498db;' v-show={scope.row.djblzt == 1}>{this.yWstatus(scope.row)}</a>
41 <span v-show={scope.row.djblzt != 1}>{this.yWstatus(scope.row)}</span>
42 {/* <a style='color:#3498db;' v-show={scope.row.djblzt == 1} >正在办理</a>
43 <span v-show={scope.row.zjgcdyzt == 1}>,在建工程抵押</span>
44 <span v-show={scope.row.ycfzt == 1}>,已预查封</span>
45 <span v-show={scope.row.ycfzt == 1}>,已预查封</span>
46 <span v-show={scope.row.cfzt == 1}>,已查封</span>
47 <span v-show={scope.row.diyizt == 1}>,已地役</span>
48 <span v-show={scope.row.yyzt == 1}>,异议中</span>
49 <span v-show={scope.row.xzzt == 1}>,已限制</span>
50 <span v-show={scope.row.ygmmzt == 1}>,已预告买卖</span>
51 <span v-show={scope.row.ygdyzt == 1}>,已预告抵押</span>
52 <span v-show={scope.row.dyzt == 1}>,已抵押</span> */}
53 </div>
54 )
55 }
56 },
57 {
58 prop: "qllxmc",
59 label: "权利类型",
60 },
61 {
62 prop: "zddm",
63 label: "宗地代码",
64 },
65 {
66 prop: "bdcdyh",
67 label: "不动产单元号",
68 minWidth: '110'
69 },
70 {
71 prop: "showQlxz",
72 label: "权利性质",
73 },
74 {
75 prop: "zdmj",
76 label: "宗地面积(㎡)",
77 },
78 {
79 prop: "qlsdfsmc",
80 label: "权利设定方式",
81 },
82 {
83 prop: "showTdyt",
84 label: "土地用途",
85 },
86 {
87 prop: "tfh",
88 label: "图幅号",
89 },
90 {
91 prop: "djh",
92 label: "地籍号",
93 },
94 {
95 prop: "zl",
96 label: "坐落",
97 minWidth: '110'
98 },{
99 label: '操作',
100 width: '80',
101 align: 'center',
102 fixed: 'right',
103 render: (h, scope) => {
104 return (
105 <div>
106 <el-button type="text" icon="el-icon-edit-outline" onClick={() => { vm.openBook(scope.row) }}>登记薄</el-button>
107 </div>
108 )
109 }
110 }
111 ]
112 }
113
114
115 }
116 let datas = new data()
117 export {
118 datas,
119 sendThis
120 }
...@@ -96,7 +96,7 @@ export function queueDjywmc (djywbm, djqxbm) { ...@@ -96,7 +96,7 @@ export function queueDjywmc (djywbm, djqxbm) {
96 // case "C40400": //一并申请注销 96 // case "C40400": //一并申请注销
97 // vm = "selectYbbg"; 97 // vm = "selectYbbg";
98 // break; 98 // break;
99 case "C04372": //一并国有房屋变更 99 //case "C04372": //一并国有房屋变更
100 case "C04371": //一并国有房屋转移 100 case "C04371": //一并国有房屋转移
101 vm = "selectYbgybg"; 101 vm = "selectYbgybg";
102 break; 102 break;
......