bdef38ab by renchao@pashanhoo.com

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

2 parents 3308c05e dcda767a
...@@ -4,6 +4,14 @@ ...@@ -4,6 +4,14 @@
4 * @LastEditTime: 2024-02-23 10:45:18 4 * @LastEditTime: 2024-02-23 10:45:18
5 */ 5 */
6 6
7 /*
8 * 不动产登记受理凭证(首环节)getPrintAcceptance
9 * 不动产登记补充材料通知书 getPrintSupplementalMaterials
10 * 不动产登记补充材料接收凭证 getPrintReceiveSupplementalMaterials
11 * 不予登记告知书 getPrintRejectForms
12 * 不动产登记申请材料退回通知书 getPrintSendBackMaterials
13 * 不动产更正登记通知书(依职权更正首环节)getPrintRiviseForms
14 */
7 import request from '@/utils/request' 15 import request from '@/utils/request'
8 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) 16 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
9 17
...@@ -100,11 +108,53 @@ export function getPrintSupplementalMaterials (bsmSldy, data) { ...@@ -100,11 +108,53 @@ export function getPrintSupplementalMaterials (bsmSldy, data) {
100 }) 108 })
101 } 109 }
102 /** 110 /**
111 * @description: 获取不予登记告知书
112 * @param {*} bsmSldy
113 * @author: renchao
114 */
115 export function getPrintRejectForms (bsmSldy) {
116 return request({
117 url: SERVER.SERVERAPI + '/rest/print/applicationForms/getPrintRejectForms',
118 method: 'get',
119 params: {
120 bsmSldy: bsmSldy
121 }
122 })
123 }
124 /**
125 * @description: 获取更正登记通知书
126 * @param {*} bsmSldy
127 * @author: renchao
128 */
129 export function getPrintRiviseForms (bsmSldy) {
130 return request({
131 url: SERVER.SERVERAPI + '/rest/print/applicationForms/getPrintRiviseForms',
132 method: 'get',
133 params: {
134 bsmSldy: bsmSldy
135 }
136 })
137 }
138 /**
139 * @description: 获取申请材料退回通知书
140 * @param {*} bsmSldy
141 * @author: renchao
142 */
143 export function getPrintSendBackMaterials (bsmSldy) {
144 return request({
145 url: SERVER.SERVERAPI + '/rest/print/applicationForms/getPrintSendBackMaterials',
146 method: 'get',
147 params: {
148 bsmSldy: bsmSldy
149 }
150 })
151 }
152 /**
103 * @description: 获取补充材料接收凭证 153 * @description: 获取补充材料接收凭证
104 * @param {*} bsmSldy 154 * @param {*} bsmSldy
105 * @author: renchao 155 * @author: renchao
106 */ 156 */
107 export function getPrintReceiveSupplementalMaterials (bsmSldy) { 157 export function getPrintReceiveSupplementalMaterials (bsmSldy) {
108 return request({ 158 return request({
109 url: SERVER.SERVERAPI + '/rest/print/applicationForms/getPrintReceiveSupplementalMaterials', 159 url: SERVER.SERVERAPI + '/rest/print/applicationForms/getPrintReceiveSupplementalMaterials',
110 method: 'get', 160 method: 'get',
......
...@@ -152,9 +152,12 @@ ...@@ -152,9 +152,12 @@
152 } 152 }
153 153
154 .iconName { 154 .iconName {
155 line-height: 24px; 155 height: 10px;
156 text-align: center;
157 line-height: 15px;
156 font-size: 12px; 158 font-size: 12px;
157 white-space: nowrap; 159 width: 70px;
160 // white-space: nowrap;
158 } 161 }
159 162
160 .container { 163 .container {
...@@ -232,4 +235,4 @@ ...@@ -232,4 +235,4 @@
232 position: absolute; 235 position: absolute;
233 left: 0; 236 left: 0;
234 bottom: 0; 237 bottom: 0;
235 }
...\ No newline at end of file ...\ No newline at end of file
238 }
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2024-01-31 09:52:39 4 * @LastEditTime: 2023-07-19 09:52:59
5 --> 5 -->
6 <template> 6 <template>
7 <div class="content loadingtext"> 7 <div class="content loadingtext">
...@@ -14,7 +14,8 @@ ...@@ -14,7 +14,8 @@
14 :default-expand-all="true" 14 :default-expand-all="true"
15 :expand-on-click-node="false" 15 :expand-on-click-node="false"
16 node-key="id" 16 node-key="id"
17 :default-checked-keys="[showTab]"> 17 :default-checked-keys="[showTab]"
18 >
18 </el-tree> 19 </el-tree>
19 <el-collapse v-model="activeName" accordion> 20 <el-collapse v-model="activeName" accordion>
20 <el-collapse-item 21 <el-collapse-item
...@@ -22,7 +23,8 @@ ...@@ -22,7 +23,8 @@
22 ref="sfq" 23 ref="sfq"
23 v-for="(item, index) in sfqdata" 24 v-for="(item, index) in sfqdata"
24 :key="index" 25 :key="index"
25 :name="index"> 26 :name="index"
27 >
26 <template slot="title"> 28 <template slot="title">
27 <span class="text" @click="tap(item)"> 29 <span class="text" @click="tap(item)">
28 <span> 30 <span>
...@@ -35,7 +37,8 @@ ...@@ -35,7 +37,8 @@
35 :re="item" 37 :re="item"
36 :key="index" 38 :key="index"
37 :class="[isActive == index ? activeCls : '', errorCls]" 39 :class="[isActive == index ? activeCls : '', errorCls]"
38 @click="taplist(item, index)"> 40 @click="taplist(item, index)"
41 >
39 <span> 42 <span>
40 {{ item.label }} 43 {{ item.label }}
41 </span> 44 </span>
...@@ -50,43 +53,146 @@ ...@@ -50,43 +53,146 @@
50 <component 53 <component
51 :is="componentTag" 54 :is="componentTag"
52 @getBdcdyh="getBdcdyh" 55 @getBdcdyh="getBdcdyh"
53 v-bind="currentSelectProps" /> 56 v-bind="currentSelectProps"
57 />
54 </div> 58 </div>
55 </div> 59 </div>
56 </template> 60 </template>
57 <script> 61 <script>
58 import { getBdcqljqtsx, getBdcqljqtsxBdcdyh } from "@/api/djbDetail.js"; 62 import { getBdcqljqtsx, getBdcqljqtsxBdcdyh } from "@/api/djbDetail.js";
59 import { loadTreeData, loadsfqData, getNode } from "./djbFrameData.js"; 63 import { loadTreeData, loadsfqData, getNode } from "./djbFrameData.js";
60 export default { 64 export default {
61 data () { 65 data() {
62 return { 66 return {
63 //接收参数 67 //接收参数
64 // propsParam: this.$attrs, 68 // propsParam: this.$attrs,
65 //左侧目录 69 //左侧目录
66 catalog: {}, 70 catalog: {},
67 //选择加载哪一个组件 71 //选择加载哪一个组件
68 componentTag: "", 72 componentTag: "",
69 //子组件接收参数 73 //子组件接收参数
70 currentSelectProps: {}, 74 currentSelectProps: {},
71 //左侧树形结构数据 75 //左侧树形结构数据
72 treedata: [], 76 treedata: [],
73 sfqdata: [], 77 sfqdata: [],
74 keyy: "", 78 keyy: "",
75 iskey: "", 79 iskey: "",
76 activeName: 0, 80 activeName: 0,
77 // 查询参数 81 // 查询参数
78 queryForm: {}, 82 queryForm: {},
79 83
80 defaultNode: "", 84 defaultNode: "",
81 isActive: "", 85 isActive: "",
82 activeCls: "select", 86 activeCls: "select",
83 errorCls: "unselected", 87 errorCls: "unselected",
84 defaultProps: { 88 defaultProps: {
85 value: "id", 89 value: "id",
86 children: "children", 90 children: "children",
87 label: "label", 91 label: "label",
88 }, 92 },
89 showTab: "bdcqldjml", // 选中状态,根据表格中权利类型判断 93 showTab: "bdcqldjml", // 选中状态,根据表格中权利类型判断
94 };
95 },
96 mounted() {
97 this.loadData(this.getCaption(window.location.href));
98 },
99 methods: {
100 // 截取字符的方法
101 /**
102 * @description: 截取字符的方法
103 * @param {*} obj
104 * @author: renchao
105 */
106 getCaption(obj) {
107 let index = obj.lastIndexOf("=");
108 obj = obj.substring(index + 1, obj.length);
109 return obj;
110 },
111 // 通过不动产业务号获取参数
112 /**
113 * @description: 通过不动产业务号获取参数
114 * @author: renchao
115 */
116 // getdata () {
117 // this.queryForm = {
118 // bdcdyh: this.getCaption(window.location.href),
119 // currentPage: 1,
120 // djlx: "",
121 // pageSize: 10,
122 // qllx: "",
123 // ywh: "",
124 // ywly: "",
125 // };
126 // if (this.queryForm) {
127 // this.$startLoading();
128 // searchTaskToDo({
129 // ...this.queryForm,
130 // }).then((res) => {
131 // if (res.code === 200) {
132 // let { records } = res.result;
133
134 // this.loadBdcdylist(records[0].bsmSlsq, records[0].bestepid);
135 // this.$endLoading();
136 // }
137 // });
138 // }
139 // },
140
141 // 获取不动产信息
142 /**
143 * @description: 获取不动产信息
144 * @param {*} a
145 * @param {*} b
146 * @author: renchao
147 */
148 // loadBdcdylist (a, b) {
149 // var formdata = new FormData();
150 // formdata.append("bsmSlsq", a);
151 // formdata.append("bestepid", b);
152 // leftMenu(formdata).then((res) => {
153 // if (res.code === 200) {
154 // if (res.result) {
155 // this.currentSelectProps = res.result[0];
156 // this.loadData(this.currentSelectProps.bdcdyh);
157 // }
158 // }
159 // });
160 // },
161
162 /**
163 * @description: getBdcdyh
164 * @author: miaofang
165 * 点击不动产单元号事件
166 */
167 getBdcdyh(val) {
168 this.addloadData(val);
169 },
170 /**
171 * @description: addloadData
172 * @author: miaofang
173 */
174 addloadData(val) {
175 getBdcqljqtsx({
176 bdcdyid: val.bdcdyid,
177 bdcdyh: val.bdcdyh,
178 }).then((res) => {
179 if (res.code === 200) {
180 if (this.sfqdata.some((item) => item.bdcdyid === val.bdcdyid)) {
181 let index = this.sfqdata.findIndex((item) => {
182 return item.bdcdyid == val.bdcdyid;
183 });
184 this.activeName = index;
185 } else {
186 this.sfqdata.push(loadsfqData(res.result, val.bdcdyh, val.bdcdyid));
187 this.activeName = this.sfqdata.length - 1;
188 }
189 }
190 });
191 this.currentSelectProps = {
192 bdcdyid: val.bdcdyid,
193 bdcdyh: val.bdcdyh,
194 qllx: this.currentSelectProps.qllx,
195 bsmQlxx: this.currentSelectProps.bsmQlxx,
90 }; 196 };
91 }, 197 },
92 /** 198 /**
...@@ -182,229 +288,135 @@ ...@@ -182,229 +288,135 @@
182 this.loadComponent(data.form); 288 this.loadComponent(data.form);
183 this.isActive = index; 289 this.isActive = index;
184 }, 290 },
185 methods: { 291 /**
186 // 截取字符的方法
187 /**
188 * @description: 截取字符的方法
189 * @param {*} obj
190 * @author: renchao
191 */
192 getCaption (obj) {
193 let index = obj.lastIndexOf("=");
194 obj = obj.substring(index + 1, obj.length);
195 return obj;
196 },
197 /**
198 * @description: getBdcdyh
199 * @author: miaofang
200 * 点击不动产单元号事件
201 */
202 getBdcdyh (val) {
203 this.addloadData(val);
204 },
205 /**
206 * @description: addloadData
207 * @author: miaofang
208 */
209 addloadData (val) {
210 getBdcqljqtsx({
211 bdcdyid: val.bdcdyid,
212 bdcdyh: val.bdcdyh,
213 }).then((res) => {
214 if (res.code === 200) {
215 if (this.sfqdata.some((item) => item.bdcdyid === val.bdcdyid)) {
216 let index = this.sfqdata.findIndex((item) => {
217 return item.bdcdyid == val.bdcdyid;
218 });
219 this.activeName = index;
220 } else {
221 this.sfqdata.push(loadsfqData(res.result, val.bdcdyh, val.bdcdyid));
222 this.activeName = this.sfqdata.length - 1;
223 }
224 }
225 });
226 this.currentSelectProps = {
227 bdcdyid: val.bdcdyid,
228 bdcdyh: val.bdcdyh,
229 qllx: this.currentSelectProps.qllx,
230 bsmQlxx: this.currentSelectProps.bsmQlxx,
231 };
232 },
233 /**
234 * @description: loadData
235 * @author: renchao
236 */
237 loadData (val) {
238 getBdcqljqtsxBdcdyh({
239 bdcdyh: val,
240 }).then((res) => {
241 if (res.code === 200) {
242 this.treedata = loadTreeData(val);
243 this.sfqdata.push(loadsfqData(res.result, val, res.result.bdcdyid));
244 this.$nextTick(function () {
245 this.defaultNode = getNode(
246 res.result.ztqllx,
247 { linShi: 0, xianShi: 0, liShi: 0 },
248 res.result.bdcdylx || ""
249 );
250 this.sfqdata[0].children.forEach((item, index) => {
251 if (item.id == this.defaultNode.id) {
252 this.loadComponent(item.form);
253 this.isActive = index;
254 }
255 });
256 this.currentSelectProps = {
257 bdcdyid: res.result.bdcdyid,
258 bdcdyh: val,
259 qllx: res.result.qllx,
260 bsmQlxx: this.currentSelectProps.bsmQlxx,
261 };
262 })
263 }
264 })
265 },
266 /**
267 * @description: 点击登记簿菜单
268 * @param {*} data
269 * @author: renchao
270 */
271 handleNodeClick (data) {
272 this.loadComponent(data.form);
273 },
274 tap (data, index) {
275 this.loadComponent(data.form);
276 },
277 /**
278 * @description: taplist
279 * @param {*} data
280 * @author: renchao
281 * 新增列表功能
282 */
283 taplist (data, index) {
284 this.loadComponent(data.form);
285 this.isActive = index;
286 },
287 /**
288 * @description: loadComponent 292 * @description: loadComponent
289 * @param {*} form 293 * @param {*} form
290 * @author: renchao 294 * @author: renchao
291 */ 295 */
292 loadComponent (form) { 296 loadComponent(form) {
293 this.componentTag = (r) => 297 this.componentTag = (r) =>
294 require.ensure([], () => r(require("@/views/registerBook/" + form))); 298 require.ensure([], () => r(require("@/views/registerBook/" + form)));
295 } 299 },
296 } 300 },
297 } 301 };
298 </script> 302 </script>
299 <style scoped lang="scss"> 303 <style scoped lang="scss">
300 /deep/.rollTable { 304 /deep/.rollTable {
301 height: calc(120vh - 254px) !important; 305 height: calc(120vh - 254px) !important;
306 }
307
308 .content {
309 width: 100%;
310 height: 100%;
311 display: flex;
312
313 .left {
314 width: 256px;
315 height: 100%;
316 background-color: #f5f5f5;
317 color: #333;
318 border: 1px solid rgb(228, 228, 228);
302 } 319 }
303 320
304 .content { 321 .right {
305 width: 100%; 322 width: calc(100% - 256px);
306 height: 100%; 323 height: 100%;
307 display: flex; 324 // overflow-y: scroll;
325 overflow: auto;
326 background-color: #f5f5f5;
327 border: 1px solid rgb(228, 228, 228);
328 }
329 }
308 330
309 .left { 331 /deep/ .expanded.el-tree-node__expand-icon,
310 width: 256px; 332 /deep/ .el-tree-node__expand-icon {
311 height: 100%; 333 visibility: hidden;
312 background-color: #f5f5f5; 334 }
313 color: #333;
314 border: 1px solid rgb(228, 228, 228);
315 }
316 335
317 .right { 336 /deep/ .el-tree-node__content {
318 width: calc(100% - 256px); 337 border: 1px solid rgb(228, 228, 228);
319 height: 100%; 338 height: 45px;
320 // overflow-y: scroll; 339 }
321 overflow: auto;
322 background-color: #f5f5f5;
323 border: 1px solid rgb(228, 228, 228);
324 }
325 }
326 340
327 /deep/ .expanded.el-tree-node__expand-icon, 341 /deep/ .el-tree-node:focus > .el-tree-node__content {
328 /deep/ .el-tree-node__expand-icon { 342 // background-color: #f5f5f5;
329 visibility: hidden; 343 // color: #0079fe;
330 } 344 // border-right: 4px solid #0079fe;
345 }
331 346
332 /deep/ .el-tree-node__content { 347 /deep/.el-tree-node {
333 border: 1px solid rgb(228, 228, 228); 348 white-space: pre-wrap;
334 height: 45px; 349 }
335 }
336 350
337 /deep/.el-tree-node { 351 /deep/ .is-current > .el-tree-node__content {
338 white-space: pre-wrap; 352 // background-color: #f5f5f5;
353 // color: #0079fe;
354 // border-right: 4px solid #0079fe;
355 }
356 /deep/.el-collapse-item__header {
357 width: 100%;
358 cursor: pointer;
359 position: relative;
360 .el-collapse-item__arrow {
361 position: absolute;
362 top: 15px;
363 right: 0px;
339 } 364 }
340 365 align-items: center;
341 /deep/.el-collapse-item__header { 366 .text {
342 width: 100%; 367 width: 100%;
343 cursor: pointer;
344 position: relative;
345 .el-collapse-item__arrow {
346 position: absolute;
347 top: 15px;
348 right: 0px;
349 }
350 align-items: center;
351 .text {
352 width: 100%;
353 height: 45px;
354 display: inline-block;
355 span {
356 margin-left: 60px;
357 padding-top: 10px;
358 display: inline-block;
359 line-height: 15px;
360 }
361 height: 45px;
362 border: 1px solid rgb(228, 228, 228);
363 border-right: 4px solid #f5f5f5;
364 }
365 height: 45px; 368 height: 45px;
366 display: inline-block; 369 display: inline-block;
367 line-height: 45px;
368 border: 1px solid rgb(228, 228, 228);
369 }
370 /deep/.el-collapse-item__content {
371 padding-bottom: 5px;
372 }
373 /deep/.unselected {
374 // white-space: wrap;
375 border: none;
376 cursor: pointer;
377 width: 250px;
378 height: 45px;
379 border: 1px solid rgb(228, 228, 228);
380 border-right: 4px solid #f5f5f5;
381 margin: auto;
382 text-align: center;
383 align-items: center;
384 span { 370 span {
385 width: 100%; 371 margin-left: 60px;
372 padding-top: 10px;
386 display: inline-block; 373 display: inline-block;
387 justify-content: center; 374 line-height: 15px;
388 align-items: center;
389 } 375 }
390 } 376 }
377 height: 45px;
378 display: inline-block;
379 line-height: 45px;
380 border: 1px solid rgb(228, 228, 228);
381 }
382 /deep/.el-collapse-item__content {
383 padding-bottom: 5px;
384 }
385 /deep/.unselected {
386 // white-space: wrap;
387 border: none;
388 cursor: pointer;
389 width: 250px;
390 height: 45px;
391 border: 1px solid rgb(228, 228, 228);
392 border-right: 4px solid #f5f5f5;
393 margin: auto;
394 text-align: center;
395 align-items: center;
396 span {
397 width: 100%;
398 display: inline-block;
399 justify-content: center;
400 align-items: center;
401 }
402 }
391 403
392 .select { 404 .select {
393 border: none; 405 border: none;
394 cursor: pointer; 406 cursor: pointer;
395 width: 250px; 407 width: 250px;
396 height: 45px; 408 height: 45px;
397 background-color: #f5f5f5; 409 background-color: #f5f5f5;
398 color: #0079fe; 410 color: #0079fe;
399 border-right: 4px solid #0079fe; 411 border-right: 4px solid #0079fe;
400 margin: auto; 412 margin: auto;
401 text-align: center; 413 text-align: center;
414 align-items: center;
415 span {
416 width: 100%;
417 display: inline-block;
418 justify-content: center;
402 align-items: center; 419 align-items: center;
403 span {
404 width: 100%;
405 display: inline-block;
406 justify-content: center;
407 align-items: center;
408 }
409 } 420 }
421 }
410 </style> 422 </style>
......
...@@ -203,8 +203,8 @@ export default { ...@@ -203,8 +203,8 @@ export default {
203 this.isIndeterminate = 203 this.isIndeterminate =
204 checkedCount > 0 && checkedCount < this.cities.length; 204 checkedCount > 0 && checkedCount < this.cities.length;
205 let lists = []; 205 let lists = [];
206 this.cities.forEach((item, index) => { 206 this.checkedCities.forEach((el) => {
207 this.checkedCities.forEach((el) => { 207 this.cities.forEach((item, index) => {
208 if (item.name == el) { 208 if (item.name == el) {
209 lists.push(this.cities[index]); 209 lists.push(this.cities[index]);
210 } 210 }
......
...@@ -73,11 +73,17 @@ ...@@ -73,11 +73,17 @@
73 </el-form-item> 73 </el-form-item>
74 </el-col> 74 </el-col>
75 </el-row> 75 </el-row>
76 <div class="slxx_title title-block"> 76 <div class="slxx_title title-block">
77 查封不动产情况 77 <el-row>
78 <el-col :span="16">
79 查封不动产情况
80 </el-col>
81 <el-col :span="4" v-if="ruleForm.sldy.djlx=='300'||ruleForm.sldy.djlx=='500'">
82 <el-button @click="compare">变化情况对比+</el-button>
83 </el-col>
84 </el-row>
78 <div class="triangle"></div> 85 <div class="triangle"></div>
79 </div> 86 </div>
80
81 <el-row :gutter="10"> 87 <el-row :gutter="10">
82 <el-col :span="8"> 88 <el-col :span="8">
83 <el-form-item :class="flag ? 'marginBot0' : ''" label="权利类型:"> 89 <el-form-item :class="flag ? 'marginBot0' : ''" label="权利类型:">
...@@ -168,7 +174,7 @@ ...@@ -168,7 +174,7 @@
168 v-model="ruleForm.cfdj.cfjg" 174 v-model="ruleForm.cfdj.cfjg"
169 :disabled="!viewEdit || ableEdit || isJfOperation"></el-input> 175 :disabled="!viewEdit || ableEdit || isJfOperation"></el-input>
170 </el-form-item> 176 </el-form-item>
171 </el-col> 177 </el-col>
172 </el-row> 178 </el-row>
173 <el-row :gutter="10"> 179 <el-row :gutter="10">
174 <el-col :span="8"> 180 <el-col :span="8">
...@@ -215,7 +221,7 @@ ...@@ -215,7 +221,7 @@
215 </el-form-item> 221 </el-form-item>
216 </el-col> 222 </el-col>
217 </el-row> 223 </el-row>
218 224
219 <el-row :gutter="10"> 225 <el-row :gutter="10">
220 <el-col :span="24"> 226 <el-col :span="24">
221 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封范围:" prop="cfdj.cffw"> 227 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封范围:" prop="cfdj.cffw">
...@@ -389,7 +395,23 @@ ...@@ -389,7 +395,23 @@
389 return item.dcode == e; 395 return item.dcode == e;
390 }); 396 });
391 this.ruleForm.cfdj.cflxmc = cflxItem.dname 397 this.ruleForm.cfdj.cflxmc = cflxItem.dname
392 } 398 },
399 /**
400 * @description: compare
401 * @author: renchao
402 */
403 compare () {
404 this.$popupDialog(
405 this.ruleForm.qlxx.qllxmc,
406 "registerBook/comparison",
407 {
408 bsmQlxx: this.ruleForm.qlxx.bsmQlxx,
409 dqqllx: "FDCQ2",
410 },
411 "80%",
412 true
413 );
414 },
393 } 415 }
394 } 416 }
395 </script> 417 </script>
......
...@@ -54,10 +54,16 @@ ...@@ -54,10 +54,16 @@
54 </el-col> 54 </el-col>
55 </el-row> 55 </el-row>
56 <div class="slxx_title title-block"> 56 <div class="slxx_title title-block">
57 抵押不动产情况 57 <el-row>
58 <el-col :span="16">
59 抵押不动产情况
60 </el-col>
61 <el-col :span="4" v-if="ruleForm.sldy.djlx=='300'||ruleForm.sldy.djlx=='500'">
62 <el-button @click="compare">变化情况对比+</el-button>
63 </el-col>
64 </el-row>
58 <div class="triangle"></div> 65 <div class="triangle"></div>
59 </div> 66 </div>
60
61 <el-row :gutter="10"> 67 <el-row :gutter="10">
62 <el-col :span="8"> 68 <el-col :span="8">
63 <el-form-item label="权利人:"> 69 <el-form-item label="权利人:">
...@@ -570,6 +576,21 @@ ...@@ -570,6 +576,21 @@
570 if (!_.isEqual(val, this.ruleForm.ywrList)) { 576 if (!_.isEqual(val, this.ruleForm.ywrList)) {
571 this.ruleForm.ywrList = _.cloneDeep(val); 577 this.ruleForm.ywrList = _.cloneDeep(val);
572 } 578 }
579 }, /**
580 * @description: compare
581 * @author: renchao
582 */
583 compare () {
584 this.$popupDialog(
585 this.ruleForm.qlxx.qllxmc,
586 "registerBook/comparison",
587 {
588 bsmQlxx: this.ruleForm.qlxx.bsmQlxx,
589 dqqllx: "FDCQ2",
590 },
591 "80%",
592 true
593 );
573 }, 594 },
574 }, 595 },
575 }; 596 };
......
...@@ -65,6 +65,9 @@ ...@@ -65,6 +65,9 @@
65 </el-radio-group> 65 </el-radio-group>
66 </el-form-item> 66 </el-form-item>
67 </el-col> 67 </el-col>
68 <el-col :span="4" v-if="ruleForm.sldy.djlx=='300'||ruleForm.sldy.djlx=='500'">
69 <el-button @click="compare">变化情况对比+</el-button>
70 </el-col>
68 </el-row> 71 </el-row>
69 <div class="triangle"></div> 72 <div class="triangle"></div>
70 </div> 73 </div>
...@@ -545,7 +548,22 @@ ...@@ -545,7 +548,22 @@
545 return false 548 return false
546 } 549 }
547 }) 550 })
548 } 551 }, /**
552 * @description: compare
553 * @author: renchao
554 */
555 compare () {
556 this.$popupDialog(
557 this.ruleForm.qlxx.qllxmc,
558 "registerBook/comparison",
559 {
560 bsmQlxx: this.ruleForm.qlxx.bsmQlxx,
561 dqqllx: "FDCQ2",
562 },
563 "80%",
564 true
565 );
566 },
549 } 567 }
550 } 568 }
551 </script> 569 </script>
......
...@@ -56,8 +56,8 @@ ...@@ -56,8 +56,8 @@
56 <el-row> 56 <el-row>
57 <el-col :span="16"> 57 <el-col :span="16">
58 不动产单元情况 58 不动产单元情况
59 </el-col> 59 </el-col>
60 <el-col :span="4" v-show="ruleForm.sldy.djlx=='500'"> 60 <el-col :span="4" v-if="ruleForm.sldy.djlx=='500'">
61 <el-form-item label="是否创建证书:" style="height:24px"> 61 <el-form-item label="是否创建证书:" style="height:24px">
62 <el-radio-group v-model="ruleForm.sldy.sfxysczs"> 62 <el-radio-group v-model="ruleForm.sldy.sfxysczs">
63 <el-radio label="1"></el-radio> 63 <el-radio label="1"></el-radio>
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
65 </el-radio-group> 65 </el-radio-group>
66 </el-form-item> 66 </el-form-item>
67 </el-col> 67 </el-col>
68 <el-col :span="4" v-show="ruleForm.sldy.djlx=='300'||ruleForm.sldy.djlx=='500'"> 68 <el-col :span="4" v-if="ruleForm.sldy.djlx=='300'||ruleForm.sldy.djlx=='500'">
69 <el-button @click="compare">变化情况对比+</el-button> 69 <el-button @click="compare">变化情况对比+</el-button>
70 </el-col> 70 </el-col>
71 </el-row> 71 </el-row>
......
...@@ -61,6 +61,9 @@ ...@@ -61,6 +61,9 @@
61 </el-radio-group> 61 </el-radio-group>
62 </el-form-item> 62 </el-form-item>
63 </el-col> 63 </el-col>
64 <el-col :span="4" v-if="ruleForm.sldy.djlx=='300'||ruleForm.sldy.djlx=='500'">
65 <el-button @click="compare">变化情况对比+</el-button>
66 </el-col>
64 </el-row> 67 </el-row>
65 <div class="triangle"></div> 68 <div class="triangle"></div>
66 </div> 69 </div>
...@@ -579,6 +582,21 @@ ...@@ -579,6 +582,21 @@
579 return item.dcode == e; 582 return item.dcode == e;
580 }); 583 });
581 this.ruleForm.nydsyq.ydyhflmc = itemLx.dname; 584 this.ruleForm.nydsyq.ydyhflmc = itemLx.dname;
585 }, /**
586 * @description: compare
587 * @author: renchao
588 */
589 compare () {
590 this.$popupDialog(
591 this.ruleForm.qlxx.qllxmc,
592 "registerBook/comparison",
593 {
594 bsmQlxx: this.ruleForm.qlxx.bsmQlxx,
595 dqqllx: "FDCQ2",
596 },
597 "80%",
598 true
599 );
582 }, 600 },
583 }, 601 },
584 }; 602 };
......
...@@ -67,6 +67,9 @@ ...@@ -67,6 +67,9 @@
67 </el-radio-group> 67 </el-radio-group>
68 </el-form-item> 68 </el-form-item>
69 </el-col> 69 </el-col>
70 <el-col :span="4" v-if="ruleForm.sldy.djlx=='300'||ruleForm.sldy.djlx=='500'">
71 <el-button @click="compare">变化情况对比+</el-button>
72 </el-col>
70 </el-row> 73 </el-row>
71 <div class="triangle"></div> 74 <div class="triangle"></div>
72 </div> 75 </div>
...@@ -487,6 +490,21 @@ ...@@ -487,6 +490,21 @@
487 upDateYwrxxList (val) { 490 upDateYwrxxList (val) {
488 this.ruleForm.ywrList && (this.ruleForm.ywrList = _.cloneDeep(val)); 491 this.ruleForm.ywrList && (this.ruleForm.ywrList = _.cloneDeep(val));
489 this.key++; 492 this.key++;
493 }, /**
494 * @description: compare
495 * @author: renchao
496 */
497 compare () {
498 this.$popupDialog(
499 this.ruleForm.qlxx.qllxmc,
500 "registerBook/comparison",
501 {
502 bsmQlxx: this.ruleForm.qlxx.bsmQlxx,
503 dqqllx: "FDCQ2",
504 },
505 "80%",
506 true
507 );
490 }, 508 },
491 /** 509 /**
492 * @description: onSubmit 510 * @description: onSubmit
......
...@@ -66,6 +66,9 @@ ...@@ -66,6 +66,9 @@
66 </el-radio-group> 66 </el-radio-group>
67 </el-form-item> 67 </el-form-item>
68 </el-col> 68 </el-col>
69 <el-col :span="4" v-if="ruleForm.sldy.djlx=='300'||ruleForm.sldy.djlx=='500'">
70 <el-button @click="compare">变化情况对比+</el-button>
71 </el-col>
69 </el-row> 72 </el-row>
70 <div class="triangle"></div> 73 <div class="triangle"></div>
71 </div> 74 </div>
...@@ -490,6 +493,21 @@ ...@@ -490,6 +493,21 @@
490 */ 493 */
491 updaterow () { 494 updaterow () {
492 this.czr = ""; 495 this.czr = "";
496 }, /**
497 * @description: compare
498 * @author: renchao
499 */
500 compare () {
501 this.$popupDialog(
502 this.ruleForm.qlxx.qllxmc,
503 "registerBook/comparison",
504 {
505 bsmQlxx: this.ruleForm.qlxx.bsmQlxx,
506 dqqllx: "FDCQ2",
507 },
508 "80%",
509 true
510 );
493 }, 511 },
494 /** 512 /**
495 * @description: onSubmit 513 * @description: onSubmit
......
...@@ -48,8 +48,15 @@ ...@@ -48,8 +48,15 @@
48 </el-form-item> 48 </el-form-item>
49 </el-col> 49 </el-col>
50 </el-row> 50 </el-row>
51 <div class="slxx_title title-block"> 51 <div class="slxx_title title-block">
52 不动产情况 52 <el-row>
53 <el-col :span="16">
54 不动产情况
55 </el-col>
56 <el-col :span="4" v-if="ruleForm.sldy.djlx=='300'||ruleForm.sldy.djlx=='500'">
57 <el-button @click="compare">变化情况对比+</el-button>
58 </el-col>
59 </el-row>
53 <div class="triangle"></div> 60 <div class="triangle"></div>
54 </div> 61 </div>
55 <el-row :gutter="10" v-if="ruleForm.qlxx"> 62 <el-row :gutter="10" v-if="ruleForm.qlxx">
...@@ -387,6 +394,21 @@ ...@@ -387,6 +394,21 @@
387 */ 394 */
388 upDateYwrxxList (val) { 395 upDateYwrxxList (val) {
389 this.ruleForm.ywrList = _.cloneDeep(val); 396 this.ruleForm.ywrList = _.cloneDeep(val);
397 }, /**
398 * @description: compare
399 * @author: renchao
400 */
401 compare () {
402 this.$popupDialog(
403 this.ruleForm.qlxx.qllxmc,
404 "registerBook/comparison",
405 {
406 bsmQlxx: this.ruleForm.qlxx.bsmQlxx,
407 dqqllx: "FDCQ2",
408 },
409 "80%",
410 true
411 );
390 }, 412 },
391 /** 413 /**
392 * @description: 是否持证人变化 414 * @description: 是否持证人变化
......
...@@ -49,7 +49,14 @@ ...@@ -49,7 +49,14 @@
49 </el-col> 49 </el-col>
50 </el-row> 50 </el-row>
51 <div class="slxx_title title-block"> 51 <div class="slxx_title title-block">
52 预告买卖登记情况 52 <el-row>
53 <el-col :span="16">
54 预告买卖登记情况
55 </el-col>
56 <el-col :span="4" v-if="ruleForm.sldy.djlx=='300'||ruleForm.sldy.djlx=='500'">
57 <el-button @click="compare">变化情况对比+</el-button>
58 </el-col>
59 </el-row>
53 <div class="triangle"></div> 60 <div class="triangle"></div>
54 </div> 61 </div>
55 <el-row :gutter="10"> 62 <el-row :gutter="10">
...@@ -419,6 +426,21 @@ ...@@ -419,6 +426,21 @@
419 */ 426 */
420 upDateYwrxxList (val) { 427 upDateYwrxxList (val) {
421 this.ruleForm.ywrList = _.cloneDeep(val); 428 this.ruleForm.ywrList = _.cloneDeep(val);
429 }, /**
430 * @description: compare
431 * @author: renchao
432 */
433 compare () {
434 this.$popupDialog(
435 this.ruleForm.qlxx.qllxmc,
436 "registerBook/comparison",
437 {
438 bsmQlxx: this.ruleForm.qlxx.bsmQlxx,
439 dqqllx: "FDCQ2",
440 },
441 "80%",
442 true
443 );
422 }, 444 },
423 /** 445 /**
424 * @description: 是否持证人变化 446 * @description: 是否持证人变化
......
...@@ -48,8 +48,15 @@ ...@@ -48,8 +48,15 @@
48 </el-form-item> 48 </el-form-item>
49 </el-col> 49 </el-col>
50 </el-row> 50 </el-row>
51 <div class="slxx_title title-block"> 51 <div class="slxx_title title-block">
52 抵押户信息情况 52 <el-row>
53 <el-col :span="16">
54 抵押户信息情况
55 </el-col>
56 <el-col :span="4" v-if="ruleForm.sldy.djlx=='300'||ruleForm.sldy.djlx=='500'">
57 <el-button @click="compare">变化情况对比+</el-button>
58 </el-col>
59 </el-row>
53 <div class="triangle"></div> 60 <div class="triangle"></div>
54 </div> 61 </div>
55 <el-row :gutter="10"> 62 <el-row :gutter="10">
...@@ -563,7 +570,23 @@ ...@@ -563,7 +570,23 @@
563 if (!_.isEqual(val, this.ruleForm.ywrList)) { 570 if (!_.isEqual(val, this.ruleForm.ywrList)) {
564 this.ruleForm.ywrList = _.cloneDeep(val); 571 this.ruleForm.ywrList = _.cloneDeep(val);
565 } 572 }
566 } 573 },
574 /**
575 * @description: compare
576 * @author: renchao
577 */
578 compare () {
579 this.$popupDialog(
580 this.ruleForm.qlxx.qllxmc,
581 "registerBook/comparison",
582 {
583 bsmQlxx: this.ruleForm.qlxx.bsmQlxx,
584 dqqllx: "FDCQ2",
585 },
586 "80%",
587 true
588 );
589 },
567 } 590 }
568 } 591 }
569 </script> 592 </script>
......
...@@ -4,9 +4,10 @@ ...@@ -4,9 +4,10 @@
4 * @LastEditTime: 2024-02-23 16:27:17 4 * @LastEditTime: 2024-02-23 16:27:17
5 */ 5 */
6 import Vue from 'vue' 6 import Vue from 'vue'
7 import { getPrintTemplateByCode, getPrintAcceptance, getPrintReceiveSupplementalMaterials } from "@/api/print"; 7 import { getPrintTemplateByCode, getPrintAcceptance,getPrintReceiveSupplementalMaterials,getPrintRejectForms,getPrintSendBackMaterials,getPrintRiviseForms} from "@/api/print";
8 import { uploadUndo } from "@/api/clxx"; 8 import { uploadUndo } from "@/api/clxx";
9 import { getLodop } from "@/utils/LodopFuncs"; 9 import { getLodop } from "@/utils/LodopFuncs";
10 import { getNewDate } from '@/utils/util'
10 import adapter from "@/utils/sqs/adapter"; 11 import adapter from "@/utils/sqs/adapter";
11 import { 12 import {
12 stepExpandInfo, 13 stepExpandInfo,
...@@ -40,7 +41,8 @@ export default { ...@@ -40,7 +41,8 @@ export default {
40 batchButtonName: '', 41 batchButtonName: '',
41 // 受理申请信息 42 // 受理申请信息
42 slsq: {}, 43 slsq: {},
43 dqhj: "" 44 dqhj: "",
45 newDate: getNewDate()
44 } 46 }
45 }, 47 },
46 mounted () { 48 mounted () {
...@@ -253,8 +255,12 @@ export default { ...@@ -253,8 +255,12 @@ export default {
253 let key = index + 1 255 let key = index + 1
254 this.$set(infoRes.result, "file" + key, it.sjmc) 256 this.$set(infoRes.result, "file" + key, it.sjmc)
255 this.$set(infoRes.result, "file" + key + 'ys', it.ys) 257 this.$set(infoRes.result, "file" + key + 'ys', it.ys)
258 // this.$set(infoRes.result, "file" + key + 'xs', it.)
256 }) 259 })
257 } 260 }
261 infoRes.result.nownian = this.newDate.split(' ')[0].split('年')[0]
262 infoRes.result.nowyue = this.newDate.slice(5,7)
263 infoRes.result.nowri = this.newDate.slice(8,10)
258 let date = infoRes.result.sqrq 264 let date = infoRes.result.sqrq
259 infoRes.result.sqnian = date.split(' ')[0].split('-')[0] 265 infoRes.result.sqnian = date.split(' ')[0].split('-')[0]
260 infoRes.result.sqyue = date.split(' ')[0].split('-')[1] 266 infoRes.result.sqyue = date.split(' ')[0].split('-')[1]
...@@ -279,25 +285,29 @@ export default { ...@@ -279,25 +285,29 @@ export default {
279 } 285 }
280 }) 286 })
281 break; 287 break;
282 // 补充材料通知书 288 // 补充材料通知书
283 case "bccltzs": 289 case "bccltzs":
284 this.$popupDialog("补充材料通知书", "workflow/top/bcclml/index", 290 this.$popupDialog("补充材料通知书", "workflow/top/bccltzs/index",
285 { bsmSlsq: this.$route.query.bsmSlsq, bsmSldy: this.currentSelectProps.bsmSldy }, 291 { bsmSlsq: this.$route.query.bsmSlsq, bsmSldy: this.currentSelectProps.bsmSldy,type:"bccltzs" },
286 '70%', true) 292 '70%', true)
287 break; 293 break;
288 // 获取补充材料接收凭证 294 // 补充材料接收凭证
289 case "slpz": 295 case "bccljspz":
290 getPrintTemplateByCode({ tmpno: 'bdcdjslpz' }).then(res => { 296 getPrintTemplateByCode({ tmpno: 'bdcdjbccljspz' }).then(res => {
291 if (res.code === 200) { 297 if (res.code === 200) {
292 getPrintAcceptance(this.currentSelectProps.bsmSldy).then(infoRes => { 298 getPrintReceiveSupplementalMaterials(this.currentSelectProps.bsmSldy).then(infoRes => {
293 if (infoRes.code === 200) { 299 if (infoRes.code === 200) {
294 if (infoRes.result.fileList && infoRes.result.fileList.length > 0) { 300 if (infoRes.result.fileList && infoRes.result.fileList.length > 0) {
295 infoRes.result.fileList.forEach((it, index) => { 301 infoRes.result.fileList.forEach((it, index) => {
296 let key = index + 1 302 let key = index + 1
297 this.$set(infoRes.result, "file" + key, it.sjmc) 303 this.$set(infoRes.result, "file" + key, it.sjmc)
298 this.$set(infoRes.result, "file" + key + 'ys', it.ys) 304 this.$set(infoRes.result, "file" + key + 'ys', it.ys)
305 this.$set(infoRes.result, "file" + key + 'lx', it.sjlx==1?"原件":"复印件")
299 }) 306 })
300 } 307 }
308 infoRes.result.nownian = this.newDate.split(' ')[0].split('年')[0]
309 infoRes.result.nowyue = this.newDate.slice(5,7)
310 infoRes.result.nowri = this.newDate.slice(8,10)
301 let date = infoRes.result.sqrq 311 let date = infoRes.result.sqrq
302 infoRes.result.sqnian = date.split(' ')[0].split('-')[0] 312 infoRes.result.sqnian = date.split(' ')[0].split('-')[0]
303 infoRes.result.sqyue = date.split(' ')[0].split('-')[1] 313 infoRes.result.sqyue = date.split(' ')[0].split('-')[1]
...@@ -322,6 +332,129 @@ export default { ...@@ -322,6 +332,129 @@ export default {
322 } 332 }
323 }) 333 })
324 break; 334 break;
335
336 // 不予登记告知书
337 case "bydjgzs":
338 getPrintTemplateByCode({ tmpno: 'bydjgzs' }).then(res => {
339 if (res.code === 200) {
340 getPrintRejectForms(this.currentSelectProps.bsmSldy).then(infoRes => {
341 if (infoRes.code === 200) {
342 if (infoRes.result.fileList && infoRes.result.fileList.length > 0) {
343 infoRes.result.fileList.forEach((it, index) => {
344 let key = index + 1
345 this.$set(infoRes.result, "file" + key, it.sjmc)
346 this.$set(infoRes.result, "file" + key + 'ys', it.ys)
347 })
348 }
349 infoRes.result.nownian = this.newDate.split(' ')[0].split('年')[0]
350 infoRes.result.nowyue = this.newDate.slice(5,7)
351 infoRes.result.nowri = this.newDate.slice(8,10)
352 let date = infoRes.result.sqrq
353 infoRes.result.sqnian = date.split(' ')[0].split('-')[0]
354 infoRes.result.sqyue = date.split(' ')[0].split('-')[1]
355 infoRes.result.sqri = date.split(' ')[0].split('-')[2]
356 console.log(infoRes.result)
357 let LODOP = getLodop(document.getElementById('LODOP_OB'), document.getElementById('LODOP_EM'));
358
359 // 装载第一个模板并设置数据
360 LODOP.ADD_PRINT_DATA("ProgramData", res.result.tmpcontent);
361 for (let key in infoRes.result) {
362 LODOP.SET_PRINT_STYLEA(key, "CONTENT", infoRes.result[key]);
363 }
364
365 // 进行预览
366 LODOP.PREVIEW();
367 } else {
368 this.$message.error(infoRes.message);
369 }
370 });
371 } else {
372 this.$message.error(res.message);
373 }
374 })
375 break;
376 // 申请材料退回通知书
377 case "sqclthtzs":
378 getPrintTemplateByCode({ tmpno: 'bdcdjsqclthtzs' }).then(res => {
379 if (res.code === 200) {
380 getPrintSendBackMaterials(this.currentSelectProps.bsmSldy).then(infoRes => {
381 if (infoRes.code === 200) {
382 if (infoRes.result.fileList && infoRes.result.fileList.length > 0) {
383 infoRes.result.fileList.forEach((it, index) => {
384 let key = index + 1
385 this.$set(infoRes.result, "file" + key, it.sjmc)
386 this.$set(infoRes.result, "file" + key + 'ys', it.ys)
387 })
388 }
389 infoRes.result.nownian = this.newDate.split(' ')[0].split('年')[0]
390 infoRes.result.nowyue = this.newDate.slice(5,7)
391 infoRes.result.nowri = this.newDate.slice(8,10)
392 let date = infoRes.result.sqrq
393 infoRes.result.sqnian = date.split(' ')[0].split('-')[0]
394 infoRes.result.sqyue = date.split(' ')[0].split('-')[1]
395 infoRes.result.sqri = date.split(' ')[0].split('-')[2]
396 console.log(infoRes.result)
397 let LODOP = getLodop(document.getElementById('LODOP_OB'), document.getElementById('LODOP_EM'));
398
399 // 装载第一个模板并设置数据
400 LODOP.ADD_PRINT_DATA("ProgramData", res.result.tmpcontent);
401 for (let key in infoRes.result) {
402 LODOP.SET_PRINT_STYLEA(key, "CONTENT", infoRes.result[key]);
403 }
404
405 // 进行预览
406 LODOP.PREVIEW();
407 } else {
408 this.$message.error(infoRes.message);
409 }
410 });
411 } else {
412 this.$message.error(res.message);
413 }
414 })
415 break;
416 // 不动产更正登记通知书
417 case "gzdjtzs":
418 getPrintTemplateByCode({ tmpno: 'bdcgzdjtzs' }).then(res => {
419 if (res.code === 200) {
420 getPrintRiviseForms(this.currentSelectProps.bsmSldy).then(infoRes => {
421 if (infoRes.code === 200) {
422 if (infoRes.result.fileList && infoRes.result.fileList.length > 0) {
423 infoRes.result.fileList.forEach((it, index) => {
424 let key = index + 1
425 this.$set(infoRes.result, "file" + key, it.sjmc)
426 this.$set(infoRes.result, "file" + key + 'ys', it.ys)
427
428 })
429 }
430 infoRes.result.nownian = this.newDate.split(' ')[0].split('年')[0]
431 infoRes.result.nowyue = this.newDate.slice(5,7)
432 infoRes.result.nowri = this.newDate.slice(8,10)
433 let date = infoRes.result.sqrq
434 infoRes.result.sqnian = date.split(' ')[0].split('-')[0]
435 infoRes.result.sqyue = date.split(' ')[0].split('-')[1]
436 infoRes.result.sqri = date.split(' ')[0].split('-')[2]
437 console.log(infoRes.result)
438 let LODOP = getLodop(document.getElementById('LODOP_OB'), document.getElementById('LODOP_EM'));
439
440 // 装载第一个模板并设置数据
441 LODOP.ADD_PRINT_DATA("ProgramData", res.result.tmpcontent);
442 for (let key in infoRes.result) {
443 LODOP.SET_PRINT_STYLEA(key, "CONTENT", infoRes.result[key]);
444 }
445
446 // 进行预览
447 LODOP.PREVIEW();
448 } else {
449 this.$message.error(infoRes.message);
450 }
451 });
452 } else {
453 this.$message.error(res.message);
454 }
455 })
456 break;
457
325 } 458 }
326 }, 459 },
327 /** 460 /**
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:补充材料通知书
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2024-02-26 09:04:04 4 * @LastEditTime: 2024-02-26 09:04:04
5 --> 5 -->
...@@ -20,6 +20,7 @@ ...@@ -20,6 +20,7 @@
20 import { ywPopupCacel } from "@/utils/popup.js"; 20 import { ywPopupCacel } from "@/utils/popup.js";
21 import { getLodop } from "@/utils/LodopFuncs"; 21 import { getLodop } from "@/utils/LodopFuncs";
22 import { updateClml, InitClml } from "@/api/clxx.js"; 22 import { updateClml, InitClml } from "@/api/clxx.js";
23 import { getNewDate } from '@/utils/util'
23 import { getPrintTemplateByCode, getPrintSupplementalMaterials } from "@/api/print"; 24 import { getPrintTemplateByCode, getPrintSupplementalMaterials } from "@/api/print";
24 export default { 25 export default {
25 props: { 26 props: {
...@@ -35,6 +36,7 @@ ...@@ -35,6 +36,7 @@
35 selectList: [], 36 selectList: [],
36 loading: false, 37 loading: false,
37 sortable: null, 38 sortable: null,
39 newDate: getNewDate(),
38 column: [ 40 column: [
39 { 41 {
40 type: 'selection', 42 type: 'selection',
...@@ -127,20 +129,27 @@ ...@@ -127,20 +129,27 @@
127 this.loading = true 129 this.loading = true
128 if (this.selectList.length == 0) { 130 if (this.selectList.length == 0) {
129 this.$message.error('请先选择材料目录') 131 this.$message.error('请先选择材料目录')
132 this.loading = false
130 return 133 return
131 } 134 }
132 getPrintTemplateByCode({ tmpno: 'bdcdjbccltts' }).then(res => { 135 getPrintTemplateByCode({ tmpno: 'bdcdjbccltts' }).then(res => {
133 if (res.code === 200) { 136 if (res.code === 200) {
137 console.log("this.selectListssssssssss",this.selectList);
134 getPrintSupplementalMaterials(this.formData.bsmSldy, this.selectList).then(infoRes => { 138 getPrintSupplementalMaterials(this.formData.bsmSldy, this.selectList).then(infoRes => {
135 this.loading = false 139 this.loading = false
136 if (infoRes.code === 200) { 140 if (infoRes.code === 200) {
141 console.log("infoRes.resultsssssssssss",infoRes.result);
137 if (infoRes.result.fileList && infoRes.result.fileList.length > 0) { 142 if (infoRes.result.fileList && infoRes.result.fileList.length > 0) {
138 infoRes.result.fileList.forEach((it, index) => { 143 infoRes.result.fileList.forEach((it, index) => {
139 let key = index + 1 144 let key = index + 1
140 this.$set(infoRes.result, "file" + key, it.sjmc) 145 this.$set(infoRes.result, "file" + key, it.sjmc)
141 this.$set(infoRes.result, "file" + key + 'ys', it.ys) 146 this.$set(infoRes.result, "file" + key + 'ys', it.ys)
147 this.$set(infoRes.result, "file" + key + 'lx', it.sjlx==1?"原件":"复印件")
142 }) 148 })
143 } 149 }
150 infoRes.result.nownian = this.newDate.split(' ')[0].split('年')[0]
151 infoRes.result.nowyue = this.newDate.slice(5,7)
152 infoRes.result.nowri = this.newDate.slice(8,10)
144 let date = infoRes.result.sqrq 153 let date = infoRes.result.sqrq
145 infoRes.result.sqnian = date.split(' ')[0].split('-')[0] 154 infoRes.result.sqnian = date.split(' ')[0].split('-')[0]
146 infoRes.result.sqyue = date.split(' ')[0].split('-')[1] 155 infoRes.result.sqyue = date.split(' ')[0].split('-')[1]
......
...@@ -152,9 +152,12 @@ ...@@ -152,9 +152,12 @@
152 } 152 }
153 153
154 .iconName { 154 .iconName {
155 line-height: 24px; 155 height: 10px;
156 text-align: center;
157 line-height: 15px;
156 font-size: 12px; 158 font-size: 12px;
157 white-space: nowrap; 159 width: 70px;
160 // white-space: nowrap;
158 } 161 }
159 162
160 .container { 163 .container {
...@@ -242,4 +245,4 @@ ...@@ -242,4 +245,4 @@
242 position: absolute; 245 position: absolute;
243 left: 0; 246 left: 0;
244 bottom: 0; 247 bottom: 0;
245 }
...\ No newline at end of file ...\ No newline at end of file
248 }
......