feat:登簿日志
Showing
5 changed files
with
122 additions
and
81 deletions
... | @@ -11,73 +11,81 @@ | ... | @@ -11,73 +11,81 @@ |
11 | <el-tab-pane v-if="visiableXml" label="xml报文" name="xml"></el-tab-pane> | 11 | <el-tab-pane v-if="visiableXml" label="xml报文" name="xml"></el-tab-pane> |
12 | <el-tab-pane v-if="visiableXml" label="响应结果" name="xyjg"></el-tab-pane> | 12 | <el-tab-pane v-if="visiableXml" label="响应结果" name="xyjg"></el-tab-pane> |
13 | </el-tabs> | 13 | </el-tabs> |
14 | <div class="dialog-from" v-if="titleName == 'sjmx'"> | 14 | <div class="dialog-from item-content-input" :class="$store.state.business.Edit ? 'editInput' : ''" |
15 | v-if="titleName == 'sjmx'"> | ||
15 | <el-row> | 16 | <el-row> |
16 | <el-col :span="5"> | 17 | <el-col :span="5"> |
17 | <span>业务报文ID:</span> | 18 | <span>业务报文ID:</span> |
18 | <p>{{ dataReport.BizMsgId }}</p> | 19 | <el-input v-model="dataReport.BizMsgId"></el-input> |
19 | </el-col> | 20 | </el-col> |
20 | <el-col :span="6"> | 21 | <el-col :span="6"> |
21 | <span>接入报文ID:</span> | 22 | <span>ASID:</span> |
22 | <p>{{ dataReport.ASID }}</p> | 23 | <el-input v-model="dataReport.ASID"></el-input> |
23 | </el-col> | 24 | </el-col> |
24 | <el-col :span="6"> | 25 | <el-col :span="6"> |
25 | <span>行政区划编码:</span> | 26 | <span>行政区划编码:</span> |
26 | <p>{{ dataReport.AreaCode }}</p> | 27 | <el-input v-model="dataReport.AreaCode"></el-input> |
27 | </el-col> | 28 | </el-col> |
28 | <el-col :span="7"> | 29 | <el-col :span="7"> |
29 | <span>上次不动产单元号:</span> | 30 | <span>上次不动产单元号:</span> |
30 | <p>{{ dataReport.PreEstateNum }}</p> | 31 | <el-input v-model="dataReport.PreEstateNum"></el-input> |
31 | </el-col> | 32 | </el-col> |
32 | </el-row> | 33 | </el-row> |
33 | <el-row> | 34 | <el-row> |
34 | <el-col :span="5"> | 35 | <el-col :span="5"> |
35 | <span>业务编码:</span> | 36 | <span>业务编码:</span> |
36 | <p>{{ dataReport.RecType }}</p> | 37 | <el-input v-model="dataReport.RecType"></el-input> |
37 | </el-col> | 38 | </el-col> |
38 | <el-col :span="6"> | 39 | <el-col :span="6"> |
39 | <span>权利类型:</span> | 40 | <span>权利类型:</span> |
40 | <p>{{ this.dicStatus(dataReport.RightType, 'A8') }}</p> | 41 | <el-select v-model="dataReport.RightType"> |
42 | <el-option v-for="item in dicData['A8']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE"> | ||
43 | </el-option> | ||
44 | </el-select> | ||
41 | </el-col> | 45 | </el-col> |
42 | <el-col :span="6"> | 46 | <el-col :span="6"> |
43 | <span>登记类型:</span> | 47 | <span>登记类型:</span> |
44 | <p>{{ this.dicStatus(dataReport.RegType, 'A21') }}</p> | 48 | <el-select v-model="dataReport.RegType"> |
49 | <el-option v-for="item in dicData['A21']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE"> | ||
50 | </el-option> | ||
51 | </el-select> | ||
45 | </el-col> | 52 | </el-col> |
46 | <el-col :span="7"> | 53 | <el-col :span="7"> |
47 | <span>不动产权证书数量:</span> | 54 | <span>不动产权证书数量:</span> |
48 | <p>{{ dataReport.CertCount }}</p> | 55 | <el-input v-model="dataReport.CertCount" oninput="if(value.length > 8) value=value.slice(0, 8)"></el-input> |
49 | </el-col> | 56 | </el-col> |
50 | </el-row> | 57 | </el-row> |
51 | <el-row> | 58 | <el-row> |
52 | <el-col :span="5"> | 59 | <el-col :span="5"> |
53 | <span>创建时间:</span> | 60 | <span>创建时间:</span> |
54 | <p>{{ dataReport.createDate }}</p> | 61 | <el-date-picker v-model="dataReport.createDate" type="date" value-format="yyyy-MM-dd"> |
62 | </el-date-picker> | ||
55 | </el-col> | 63 | </el-col> |
56 | <el-col :span="6"> | 64 | <el-col :span="6"> |
57 | <span>业务流水号:</span> | 65 | <span>业务流水号:</span> |
58 | <p>{{ dataReport.RecFlowID }}</p> | 66 | <el-input v-model="dataReport.RecFlowID"></el-input> |
59 | </el-col> | 67 | </el-col> |
60 | <el-col :span="6"> | 68 | <el-col :span="6"> |
61 | <span>宗地/宗海代码:</span> | 69 | <span>宗地/宗海代码:</span> |
62 | <p>{{ dataReport.ParcelID }}</p> | 70 | <el-input v-model="dataReport.ParcelID"></el-input> |
63 | </el-col> | 71 | </el-col> |
64 | <el-col :span="7"> | 72 | <el-col :span="7"> |
65 | <span>证明数量:</span> | 73 | <span>证明数量:</span> |
66 | <p>{{ dataReport.ProofCount }}</p> | 74 | <el-input v-model="dataReport.ProofCount" oninput="if(value.length > 8) value=value.slice(0, 8)"></el-input> |
67 | </el-col> | 75 | </el-col> |
68 | </el-row> | 76 | </el-row> |
69 | <el-row> | 77 | <el-row> |
70 | <el-col :span="6"> | 78 | <el-col :span="7"> |
71 | <span>不动产单元号:</span> | 79 | <span>不动产单元号:</span> |
72 | <p>{{ dataReport.EstateNum }}</p> | 80 | <el-input v-model="dataReport.EstateNum"></el-input> |
73 | </el-col> | 81 | </el-col> |
74 | <el-col :span="8"> | 82 | <el-col :span="7"> |
75 | <span>登记机构:</span> | 83 | <span>登记机构:</span> |
76 | <p>{{ dataReport.RegOrgID }}</p> | 84 | <el-input v-model="dataReport.RegOrgID"></el-input> |
77 | </el-col> | 85 | </el-col> |
78 | <el-col :span="11"> | 86 | <el-col :span="11"> |
79 | <span>上次不动产权证号/不动产登记证明:</span> | 87 | <span>上次不动产权证号/不动产登记证明:</span> |
80 | <p>{{ dataReport.PreCertID }}</p> | 88 | <el-input v-model="dataReport.PreCertID"></el-input> |
81 | </el-col> | 89 | </el-col> |
82 | </el-row> | 90 | </el-row> |
83 | </div> | 91 | </div> |
... | @@ -298,6 +306,14 @@ export default { | ... | @@ -298,6 +306,14 @@ export default { |
298 | @import "~@/styles/mixin.scss"; | 306 | @import "~@/styles/mixin.scss"; |
299 | @import "~@/styles/dialogBox.scss"; | 307 | @import "~@/styles/dialogBox.scss"; |
300 | 308 | ||
309 | .editInput { | ||
310 | /deep/.el-input__inner { | ||
311 | color: #87adf3; | ||
312 | cursor: not-allowed; | ||
313 | pointer-events: none; | ||
314 | } | ||
315 | } | ||
316 | |||
301 | /deep/.el-dialog__body { | 317 | /deep/.el-dialog__body { |
302 | display: flex; | 318 | display: flex; |
303 | flex-direction: column; | 319 | flex-direction: column; |
... | @@ -419,5 +435,49 @@ export default { | ... | @@ -419,5 +435,49 @@ export default { |
419 | .el-dialog__wrapper { | 435 | .el-dialog__wrapper { |
420 | overflow: hidden; | 436 | overflow: hidden; |
421 | } | 437 | } |
438 | |||
439 | .dialog-from { | ||
440 | padding-top: 0; | ||
441 | |||
442 | .el-col { | ||
443 | justify-content: space-between; | ||
444 | } | ||
445 | |||
446 | .bz { | ||
447 | height: 100%; | ||
448 | position: relative; | ||
449 | top: 3px; | ||
450 | } | ||
451 | |||
452 | /deep/.el-select { | ||
453 | padding-right: 15px; | ||
454 | } | ||
455 | |||
456 | /deep/.el-input__suffix { | ||
457 | right: -25px !important; | ||
458 | top: -5px; | ||
459 | } | ||
460 | |||
461 | /deep/.el-select, | ||
462 | /deep/.el-input { | ||
463 | flex: 1; | ||
464 | width: 100%; | ||
465 | } | ||
466 | |||
467 | /deep/.el-textarea__inner { | ||
468 | border: none !important; | ||
469 | margin: 0; | ||
470 | } | ||
471 | |||
472 | &_header { | ||
473 | margin: 0 -5px !important; | ||
474 | } | ||
475 | |||
476 | &_title { | ||
477 | font-size: 18px; | ||
478 | color: #d7eaee; | ||
479 | margin: 3px 0; | ||
480 | } | ||
481 | } | ||
422 | </style> | 482 | </style> |
423 | 483 | ... | ... |
... | @@ -60,6 +60,13 @@ | ... | @@ -60,6 +60,13 @@ |
60 | } | 60 | } |
61 | } | 61 | } |
62 | 62 | ||
63 | .item-content-input { | ||
64 | /deep/.el-input__inner { | ||
65 | border: none !important; | ||
66 | text-align: right; | ||
67 | } | ||
68 | } | ||
69 | |||
63 | .regularHeight { | 70 | .regularHeight { |
64 | height: 80vh; | 71 | height: 80vh; |
65 | display: flex; | 72 | display: flex; | ... | ... |
... | @@ -262,27 +262,24 @@ function openDownloadDialog (url, saveName) { | ... | @@ -262,27 +262,24 @@ function openDownloadDialog (url, saveName) { |
262 | } | 262 | } |
263 | 263 | ||
264 | 264 | ||
265 | function judgeObjectComplete (ObjectValue) { | 265 | |
266 | let flag = new Boolean() | 266 | |
267 | flag = true | 267 | export function judgeListComplete (list) { |
268 | for (let key in ObjectValue) { | 268 | function judgeObjectComplete (obj) { |
269 | if (ObjectValue[key]) { } else { | 269 | let flag = false |
270 | flag = false | 270 | for (const key in obj) { |
271 | if (obj[key] == '' && key != 'index') { | ||
272 | flag = true | ||
273 | } | ||
271 | } | 274 | } |
275 | return flag | ||
272 | } | 276 | } |
273 | if (!flag) { | ||
274 | return false | ||
275 | } else { | ||
276 | return true | ||
277 | } | ||
278 | } | ||
279 | export function judgeListComplete (list) { | ||
280 | let isNotComplete = list.findIndex(item => { | 277 | let isNotComplete = list.findIndex(item => { |
281 | return judgeObjectComplete(item) === false | 278 | return judgeObjectComplete(item) === true |
282 | }) | 279 | }) |
283 | if (isNotComplete > -1) { | 280 | if (isNotComplete > -1) { |
284 | return false | 281 | return false |
285 | } else { | 282 | } else { |
286 | return true | 283 | return true |
287 | } | 284 | } |
288 | } | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
285 | } | ... | ... |
... | @@ -45,16 +45,7 @@ class data { | ... | @@ -45,16 +45,7 @@ class data { |
45 | label: '登记类型', | 45 | label: '登记类型', |
46 | render: (h, scope) => { | 46 | render: (h, scope) => { |
47 | return ( | 47 | return ( |
48 | <el-select class="width100" value={scope.row[scope.column.property]} | 48 | <el-input value={scope.row[scope.column.property]} onInput={(val) => { scope.row[scope.column.property] = val }}></el-input> |
49 | onChange={(val) => { scope.row[scope.column.property] = val }}> | ||
50 | { | ||
51 | store.getters.dicData['A21'].map(option => { | ||
52 | return ( | ||
53 | <el-option label={option.DNAME} value={option.DCODE}></el-option> | ||
54 | ) | ||
55 | }) | ||
56 | } | ||
57 | </el-select> | ||
58 | ) | 49 | ) |
59 | } | 50 | } |
60 | }, | 51 | }, |
... | @@ -63,16 +54,7 @@ class data { | ... | @@ -63,16 +54,7 @@ class data { |
63 | label: '权利类型', | 54 | label: '权利类型', |
64 | render: (h, scope) => { | 55 | render: (h, scope) => { |
65 | return ( | 56 | return ( |
66 | <el-select class="width100" value={scope.row[scope.column.property]} | 57 | <el-input value={scope.row[scope.column.property]} onInput={(val) => { scope.row[scope.column.property] = val }}></el-input> |
67 | onChange={(val) => { scope.row[scope.column.property] = val }}> | ||
68 | { | ||
69 | store.getters.dicData['A8'].map(option => { | ||
70 | return ( | ||
71 | <el-option label={option.DNAME} value={option.DCODE}></el-option> | ||
72 | ) | ||
73 | }) | ||
74 | } | ||
75 | </el-select> | ||
76 | ) | 58 | ) |
77 | } | 59 | } |
78 | }, | 60 | }, | ... | ... |
... | @@ -203,15 +203,10 @@ import JsonEditor from "@/components/JsonEditor.vue"; | ... | @@ -203,15 +203,10 @@ import JsonEditor from "@/components/JsonEditor.vue"; |
203 | import { judgeListComplete } from "@/utils/tools.js" | 203 | import { judgeListComplete } from "@/utils/tools.js" |
204 | export default { | 204 | export default { |
205 | components: { JsonEditor }, | 205 | components: { JsonEditor }, |
206 | props: { | ||
207 | title: { | ||
208 | type: String, | ||
209 | default: '' | ||
210 | } | ||
211 | }, | ||
212 | data () { | 206 | data () { |
213 | return { | 207 | return { |
214 | key: 0, | 208 | key: 0, |
209 | title: '', | ||
215 | dialogVisible: false, | 210 | dialogVisible: false, |
216 | titleName: 'sjmx', | 211 | titleName: 'sjmx', |
217 | titleName2: 'drdbxd', | 212 | titleName2: 'drdbxd', |
... | @@ -277,7 +272,7 @@ export default { | ... | @@ -277,7 +272,7 @@ export default { |
277 | this.dialogVisible = false; | 272 | this.dialogVisible = false; |
278 | }, | 273 | }, |
279 | isShow (item) { | 274 | isShow (item) { |
280 | this.title = `登薄日志(${item.ACCESSDATE})` | 275 | this.title = '登薄日志(' + item.ACCESSDATE + ')' |
281 | this.titleName = 'sjmx' | 276 | this.titleName = 'sjmx' |
282 | this.dialogVisible = true | 277 | this.dialogVisible = true |
283 | this.dbBsm = item.dbBsm | 278 | this.dbBsm = item.dbBsm |
... | @@ -295,8 +290,14 @@ export default { | ... | @@ -295,8 +290,14 @@ export default { |
295 | this.resultInfo = accessLog.LOGSXML | 290 | this.resultInfo = accessLog.LOGSXML |
296 | this.registerInfo = registerInfo | 291 | this.registerInfo = registerInfo |
297 | this.accessInfo = accessInfo | 292 | this.accessInfo = accessInfo |
298 | this.tableDBData.data = registerList | 293 | this.tableDBData.data = _.cloneDeep(registerList) |
299 | this.tableSBData.data = accessList | 294 | this.tableSBData.data = _.cloneDeep(accessList) |
295 | this.tableDBData.data.forEach((item, index) => { | ||
296 | this.$set(item, 'index', index) | ||
297 | }) | ||
298 | this.tableSBData.data.forEach((item, index) => { | ||
299 | this.$set(item, 'index', index) | ||
300 | }) | ||
300 | }) | 301 | }) |
301 | }, | 302 | }, |
302 | // 当日登薄详单 | 303 | // 当日登薄详单 |
... | @@ -311,10 +312,9 @@ export default { | ... | @@ -311,10 +312,9 @@ export default { |
311 | BWID: '', | 312 | BWID: '', |
312 | BSM_DBLOG: this.accessLog.bsmDblog | 313 | BSM_DBLOG: this.accessLog.bsmDblog |
313 | }) | 314 | }) |
314 | this.tableDBData.data.forEach((item, indx) => { | 315 | this.tableDBData.data.forEach((item, index) => { |
315 | this.$set(item, 'index', index) | 316 | this.$set(item, 'index', index) |
316 | }) | 317 | }) |
317 | this.key++ | ||
318 | }, | 318 | }, |
319 | handleDBMinus (row) { | 319 | handleDBMinus (row) { |
320 | this.$confirm('此操作将删除列表, 是否继续?', '提示', { | 320 | this.$confirm('此操作将删除列表, 是否继续?', '提示', { |
... | @@ -326,7 +326,10 @@ export default { | ... | @@ -326,7 +326,10 @@ export default { |
326 | this.$message({ | 326 | this.$message({ |
327 | type: 'success', | 327 | type: 'success', |
328 | message: '删除成功!' | 328 | message: '删除成功!' |
329 | }); | 329 | }) |
330 | this.tableDBData.data.forEach((item, index) => { | ||
331 | this.$set(item, 'index', index) | ||
332 | }) | ||
330 | }).catch(() => { | 333 | }).catch(() => { |
331 | this.$message({ | 334 | this.$message({ |
332 | type: 'info', | 335 | type: 'info', |
... | @@ -338,17 +341,13 @@ export default { | ... | @@ -338,17 +341,13 @@ export default { |
338 | handleSBAdd () { | 341 | handleSBAdd () { |
339 | this.tableSBData.data.push({ | 342 | this.tableSBData.data.push({ |
340 | YWH: '', | 343 | YWH: '', |
341 | DJLX: '', | ||
342 | QLLX: '', | ||
343 | BDCDYH: '', | 344 | BDCDYH: '', |
344 | ZSZMH: '', | 345 | BWID: '', |
345 | SFSB: '', | 346 | BSM_DBLOG: this.accessLog.bsmDblog |
346 | BWID: '' | ||
347 | }) | 347 | }) |
348 | this.tableSBData.data.forEach((item, indx) => { | 348 | this.tableSBData.data.forEach((item, index) => { |
349 | this.$set(item, 'index', index) | 349 | this.$set(item, 'index', index) |
350 | }) | 350 | }) |
351 | this.key++ | ||
352 | }, | 351 | }, |
353 | handleSBMinus (row) { | 352 | handleSBMinus (row) { |
354 | this.$confirm('此操作将删除列表, 是否继续?', '提示', { | 353 | this.$confirm('此操作将删除列表, 是否继续?', '提示', { |
... | @@ -360,7 +359,10 @@ export default { | ... | @@ -360,7 +359,10 @@ export default { |
360 | this.$message({ | 359 | this.$message({ |
361 | type: 'success', | 360 | type: 'success', |
362 | message: '删除成功!' | 361 | message: '删除成功!' |
363 | }); | 362 | }) |
363 | this.tableSBData.data.forEach((item, index) => { | ||
364 | this.$set(item, 'index', index) | ||
365 | }) | ||
364 | }).catch(() => { | 366 | }).catch(() => { |
365 | this.$message({ | 367 | this.$message({ |
366 | type: 'info', | 368 | type: 'info', |
... | @@ -515,13 +517,6 @@ export default { | ... | @@ -515,13 +517,6 @@ export default { |
515 | width: 100%; | 517 | width: 100%; |
516 | } | 518 | } |
517 | 519 | ||
518 | .item-content-input { | ||
519 | /deep/.el-input__inner { | ||
520 | border: none !important; | ||
521 | text-align: right; | ||
522 | } | ||
523 | } | ||
524 | |||
525 | /deep/.el-textarea__inner { | 520 | /deep/.el-textarea__inner { |
526 | border: none !important; | 521 | border: none !important; |
527 | margin: 0; | 522 | margin: 0; | ... | ... |
-
Please register or sign in to post a comment