style:不动产数据
Showing
9 changed files
with
126 additions
and
157 deletions
... | @@ -4,6 +4,7 @@ import dataDetails from "@/components/dataDetails/edit-dialog"; | ... | @@ -4,6 +4,7 @@ import dataDetails from "@/components/dataDetails/edit-dialog"; |
4 | let mixin = { | 4 | let mixin = { |
5 | data () { | 5 | data () { |
6 | return { | 6 | return { |
7 | title: '', | ||
7 | formData: { | 8 | formData: { |
8 | pageSize: 10 | 9 | pageSize: 10 |
9 | } | 10 | } | ... | ... |
... | @@ -263,19 +263,24 @@ table td { | ... | @@ -263,19 +263,24 @@ table td { |
263 | .el-popper[x-placement^="bottom"] .popper__arrow { | 263 | .el-popper[x-placement^="bottom"] .popper__arrow { |
264 | display: none; | 264 | display: none; |
265 | } | 265 | } |
266 | |||
266 | // 时间选择框样式 | 267 | // 时间选择框样式 |
267 | .el-date-picker{ | 268 | .el-date-picker { |
268 | .el-date-table td.disabled div{ | 269 | .el-date-table td.disabled div { |
269 | background-color:#074487; | 270 | background-color: #074487; |
270 | } | 271 | } |
272 | |||
271 | background-color: #031a46; | 273 | background-color: #031a46; |
272 | .el-date-picker__header-label{ | 274 | |
273 | color:#A6CFD6; | 275 | .el-date-picker__header-label { |
276 | color: #A6CFD6; | ||
274 | } | 277 | } |
275 | .el-picker-panel__content{ | 278 | |
276 | background-color:#074487; | 279 | .el-picker-panel__content { |
277 | .disabled{ | 280 | background-color: #074487; |
278 | background-color:#074487; | 281 | |
282 | .disabled { | ||
283 | background-color: #074487; | ||
279 | 284 | ||
280 | } | 285 | } |
281 | } | 286 | } |
... | @@ -303,85 +308,94 @@ table td { | ... | @@ -303,85 +308,94 @@ table td { |
303 | } | 308 | } |
304 | 309 | ||
305 | // 时间选择框2 | 310 | // 时间选择框2 |
306 | 311 | .el-date-range-picker { | |
307 | 312 | .el-date-range-picker__time-header>.el-icon-arrow-right { | |
308 | .el-date-range-picker{ | 313 | color: #E3F1FF; |
309 | .el-date-range-picker__time-header > .el-icon-arrow-right{ | ||
310 | color:#E3F1FF;; | ||
311 | } | 314 | } |
315 | |||
312 | background-color: #074487; | 316 | background-color: #074487; |
313 | color: #fff; | 317 | color: #fff; |
314 | .el-input__inner{ | 318 | |
319 | .el-input__inner { | ||
315 | background: color #074487; | 320 | background: color #074487; |
316 | } | 321 | } |
317 | 322 | ||
318 | .el-input__inner{ | 323 | .el-input__inner { |
319 | background-color: #074487; | 324 | background-color: #074487; |
320 | } | 325 | } |
321 | .el-input.is-disabled .el-input__inner{ | 326 | |
327 | .el-input.is-disabled .el-input__inner { | ||
322 | background-color: #074487; | 328 | background-color: #074487; |
323 | } | 329 | } |
324 | .el-date-range-picker__time-header{ | 330 | |
331 | .el-date-range-picker__time-header { | ||
325 | background-color: #031a46; | 332 | background-color: #031a46; |
326 | } | 333 | } |
327 | .el-picker-panel__footer{ | 334 | |
335 | .el-picker-panel__footer { | ||
328 | background-color: #031a46; | 336 | background-color: #031a46; |
329 | } | 337 | } |
330 | .el-time-panel{ | 338 | |
331 | background-color: #074487!important; | 339 | .el-time-panel { |
340 | background-color: #074487 !important; | ||
332 | color: #E3F1FF; | 341 | color: #E3F1FF; |
333 | } | 342 | } |
334 | .el-picker-panel__icon-btn{ | 343 | |
335 | color:#E3F1FF; | 344 | .el-picker-panel__icon-btn { |
345 | color: #E3F1FF; | ||
336 | } | 346 | } |
337 | .el-date-table th{ | 347 | |
338 | color:#E3F1FF; | 348 | .el-date-table th { |
349 | color: #E3F1FF; | ||
339 | } | 350 | } |
340 | .el-time-spinner__item{ | 351 | |
352 | .el-time-spinner__item { | ||
341 | color: #E3F1FF; | 353 | color: #E3F1FF; |
342 | } | 354 | } |
343 | .el-time-spinner__item.active:not(.disabled){ | 355 | |
356 | .el-time-spinner__item.active:not(.disabled) { | ||
344 | color: #fff; | 357 | color: #fff; |
345 | } | 358 | } |
346 | .el-time-panel__btn{ | 359 | |
347 | color:#0F93F6; | 360 | .el-time-panel__btn { |
361 | color: #0F93F6; | ||
348 | } | 362 | } |
349 | .el-time-panel__btn.confirm{ | 363 | |
364 | .el-time-panel__btn.confirm { | ||
350 | width: 50px; | 365 | width: 50px; |
351 | height: 25px; | 366 | height: 25px; |
352 | line-height: 25px; | 367 | line-height: 25px; |
353 | border-radius: 3px; | 368 | border-radius: 3px; |
354 | background-color: #fff; | 369 | background-color: #fff; |
355 | } | 370 | } |
356 | .el-time-panel__footer{ | 371 | |
372 | .el-time-panel__footer { | ||
357 | background-color: #031a46; | 373 | background-color: #031a46; |
358 | } | 374 | } |
359 | .el-date-table td.in-range div{ | 375 | |
376 | .el-date-table td.in-range div { | ||
360 | background-color: #031a46; | 377 | background-color: #031a46; |
361 | } | 378 | } |
362 | .el-date-table td.start-date span, .el-date-table td.end-date span{ | 379 | |
380 | .el-date-table td.start-date span, | ||
381 | .el-date-table td.end-date span { | ||
363 | background-color: #074487; | 382 | background-color: #074487; |
364 | // border:1px solid saddlebrown; | ||
365 | box-shadow: inset 0 0 7px #02D9FD; | 383 | box-shadow: inset 0 0 7px #02D9FD; |
366 | border: 1px solid #02D9FD; | 384 | border: 1px solid #02D9FD; |
367 | } | 385 | } |
368 | } | 386 | } |
369 | .el-date-editor{ | ||
370 | 387 | ||
371 | .el-range-separator{ | 388 | .el-date-editor { |
389 | .el-range-separator { | ||
372 | color: #E3F1FF; | 390 | color: #E3F1FF; |
373 | } | 391 | } |
374 | .el-range-input{ | 392 | |
375 | background:none !important; | 393 | .el-range-input { |
394 | background: none !important; | ||
376 | color: #fff; | 395 | color: #fff; |
377 | } | 396 | } |
378 | |||
379 | |||
380 | } | 397 | } |
381 | 398 | ||
382 | |||
383 | |||
384 | |||
385 | .el-menu--horizontal .el-menu .el-menu-item, | 399 | .el-menu--horizontal .el-menu .el-menu-item, |
386 | .el-select-dropdown__item, | 400 | .el-select-dropdown__item, |
387 | .el-menu--horizontal .el-menu .el-submenu__title { | 401 | .el-menu--horizontal .el-menu .el-submenu__title { | ... | ... |
... | @@ -62,12 +62,9 @@ | ... | @@ -62,12 +62,9 @@ |
62 | @size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns" | 62 | @size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns" |
63 | :data="tableData.data"> | 63 | :data="tableData.data"> |
64 | </lb-table> | 64 | </lb-table> |
65 | <message-tips ref="msg" :message="message" /> | ||
66 | </div> | 65 | </div> |
67 | <!-- XML报文 --> | 66 | <!-- 编辑 --> |
68 | <xml-message ref="dialog" :xml="xml" /> | 67 | <dataDetails ref="editLog" :title="title" /> |
69 | <!-- 数据详情 --> | ||
70 | <edit-dialog ref="editLog" :bsmSjsb="bsmSjsb" :diaData="diaData" /> | ||
71 | </div> | 68 | </div> |
72 | </template> | 69 | </template> |
73 | <script> | 70 | <script> |
... | @@ -76,13 +73,9 @@ import data from "./data" | ... | @@ -76,13 +73,9 @@ import data from "./data" |
76 | import business from '@/api/business' | 73 | import business from '@/api/business' |
77 | import dataReporting from '@/api/dataReporting' | 74 | import dataReporting from '@/api/dataReporting' |
78 | import tableMixin from '@/mixins/tableMixin.js' | 75 | import tableMixin from '@/mixins/tableMixin.js' |
79 | import editDialog from '@/components/dataDetails/edit-dialog.vue' | ||
80 | export default { | 76 | export default { |
81 | name: "Cfdj", | 77 | name: "Cfdj", |
82 | mixins: [tableMixin], | 78 | mixins: [tableMixin], |
83 | components: { | ||
84 | editDialog | ||
85 | }, | ||
86 | data () { | 79 | data () { |
87 | return { | 80 | return { |
88 | form: { | 81 | form: { |
... | @@ -110,17 +103,16 @@ export default { | ... | @@ -110,17 +103,16 @@ export default { |
110 | return ( | 103 | return ( |
111 | <div> | 104 | <div> |
112 | <el-button | 105 | <el-button |
113 | type='primary' | 106 | type="primary" |
114 | size="mini" | 107 | size="mini" |
115 | onClick={() => { this.handledetails(scope.$index, scope.row) }} | 108 | onClick={() => { this.handleEdit(scope.row) }} |
116 | > | 109 | > |
117 | 详情 | 110 | 详情 |
118 | </el-button> | 111 | </el-button> |
119 | </div> | 112 | </div> |
120 | ); | 113 | ) |
121 | }, | 114 | } |
122 | }, | 115 | } |
123 | |||
124 | ]), | 116 | ]), |
125 | data: [] | 117 | data: [] |
126 | }, | 118 | }, |
... | @@ -149,11 +141,8 @@ export default { | ... | @@ -149,11 +141,8 @@ export default { |
149 | total | 141 | total |
150 | } | 142 | } |
151 | } catch (error) { | 143 | } catch (error) { |
152 | this.message = error | ||
153 | this.$refs.msg.messageShow() | 144 | this.$refs.msg.messageShow() |
154 | } | 145 | } |
155 | }, | ||
156 | handledetails (index, row) { | ||
157 | } | 146 | } |
158 | } | 147 | } |
159 | } | 148 | } | ... | ... |
... | @@ -68,12 +68,9 @@ | ... | @@ -68,12 +68,9 @@ |
68 | :total="pageData.total" @selection-change="handleSelectionChange" @size-change="handleSizeChange" | 68 | :total="pageData.total" @selection-change="handleSelectionChange" @size-change="handleSizeChange" |
69 | @p-current-change="handleCurrentChange" :column="tableData.columns" :data="tableData.data"> | 69 | @p-current-change="handleCurrentChange" :column="tableData.columns" :data="tableData.data"> |
70 | </lb-table> | 70 | </lb-table> |
71 | <message-tips ref="msg" :message="message" /> | ||
72 | </div> | 71 | </div> |
73 | <!-- XML报文 --> | 72 | <!-- 编辑 --> |
74 | <xml-message ref="dialog" :xml="xml" /> | 73 | <dataDetails ref="editLog" :title="title" /> |
75 | <!-- 数据详情 --> | ||
76 | <edit-dialog ref="editLog" :bsmSjsb="bsmSjsb" :diaData="diaData" /> | ||
77 | </div> | 74 | </div> |
78 | </template> | 75 | </template> |
79 | 76 | ||
... | @@ -84,13 +81,11 @@ import business from '@/api/business' | ... | @@ -84,13 +81,11 @@ import business from '@/api/business' |
84 | import dataReporting from '@/api/dataReporting' | 81 | import dataReporting from '@/api/dataReporting' |
85 | import tableMixin from '@/mixins/tableMixin.js' | 82 | import tableMixin from '@/mixins/tableMixin.js' |
86 | import treeSelect from '@/components/treeSelect/index.vue' | 83 | import treeSelect from '@/components/treeSelect/index.vue' |
87 | import editDialog from '@/components/dataDetails/edit-dialog.vue' | ||
88 | export default { | 84 | export default { |
89 | name: "dyaq", | 85 | name: "dyaq", |
90 | mixins: [tableMixin], | 86 | mixins: [tableMixin], |
91 | components: { | 87 | components: { |
92 | treeSelect, | 88 | treeSelect, |
93 | editDialog | ||
94 | }, | 89 | }, |
95 | data () { | 90 | data () { |
96 | return { | 91 | return { |
... | @@ -119,27 +114,16 @@ export default { | ... | @@ -119,27 +114,16 @@ export default { |
119 | return ( | 114 | return ( |
120 | <div> | 115 | <div> |
121 | <el-button | 116 | <el-button |
122 | type="text" | 117 | type="primary" |
123 | size="mini" | 118 | size="mini" |
124 | icon="el-icon-folder" | 119 | onClick={() => { this.handleEdit(scope.row) }} |
125 | style="color:#67C23A" | ||
126 | onClick={() => { this.handleXmlres(scope.$index, scope.row) }} | ||
127 | > | 120 | > |
128 | XML报文 | 121 | 详情 |
129 | </el-button> | ||
130 | <el-button | ||
131 | type="text" | ||
132 | size="mini" | ||
133 | icon="el-icon-view" | ||
134 | onClick={() => { this.handlDatadetails(scope.$index, scope.row) }} | ||
135 | > | ||
136 | 数据详情 | ||
137 | </el-button> | 122 | </el-button> |
138 | </div> | 123 | </div> |
139 | ); | 124 | ) |
140 | }, | 125 | } |
141 | }, | 126 | } |
142 | |||
143 | ]), | 127 | ]), |
144 | data: [] | 128 | data: [] |
145 | }, | 129 | }, |
... | @@ -153,10 +137,6 @@ export default { | ... | @@ -153,10 +137,6 @@ export default { |
153 | } | 137 | } |
154 | }, | 138 | }, |
155 | methods: { | 139 | methods: { |
156 | // 是否显示下拉框 | ||
157 | isShowSelectOptions (e) { | ||
158 | if (!e) this.$refs.selectmortgageReg.blur() | ||
159 | }, | ||
160 | async featchData () { | 140 | async featchData () { |
161 | try { | 141 | try { |
162 | let { result: { list, total, pages: pageSize, pageNum: current } | 142 | let { result: { list, total, pages: pageSize, pageNum: current } |
... | @@ -168,22 +148,8 @@ export default { | ... | @@ -168,22 +148,8 @@ export default { |
168 | total | 148 | total |
169 | } | 149 | } |
170 | } catch (error) { | 150 | } catch (error) { |
171 | this.message = error | ||
172 | this.$refs.msg.messageShow() | ||
173 | } | 151 | } |
174 | }, | ||
175 | handlDatadetails (index, row) { | ||
176 | }, | ||
177 | async handlDatadetails (index, row) { | ||
178 | let { result: res, message } = await dataReporting.getQltFwFdcqYzByCondition(row.BSM_SJSB) | ||
179 | if (res != null) { | ||
180 | this.diaData = res | ||
181 | this.bsmSjsb = row.BSM_SJSB | ||
182 | this.$store.dispatch('business/setEdit'); this.$refs.editLog.isShow() | ||
183 | } else { | ||
184 | this.$message(message) | ||
185 | } | 152 | } |
186 | }, | ||
187 | } | 153 | } |
188 | } | 154 | } |
189 | </script> | 155 | </script> | ... | ... |
... | @@ -74,7 +74,6 @@ | ... | @@ -74,7 +74,6 @@ |
74 | @size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns" | 74 | @size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns" |
75 | :data="tableData.data"> | 75 | :data="tableData.data"> |
76 | </lb-table> | 76 | </lb-table> |
77 | <message-tips ref="msg" :message="message" /> | ||
78 | </div> | 77 | </div> |
79 | <!-- 编辑 --> | 78 | <!-- 编辑 --> |
80 | <dataDetails ref="editLog" :title="title" /> | 79 | <dataDetails ref="editLog" :title="title" /> |
... | @@ -135,7 +134,7 @@ export default { | ... | @@ -135,7 +134,7 @@ export default { |
135 | }, | 134 | }, |
136 | 135 | ||
137 | ]), | 136 | ]), |
138 | data: [{}] | 137 | data: [] |
139 | }, | 138 | }, |
140 | pageData: { | 139 | pageData: { |
141 | total: 0, | 140 | total: 0, |
... | @@ -152,15 +151,14 @@ export default { | ... | @@ -152,15 +151,14 @@ export default { |
152 | this.form = Object.assign(this.form, this.formData) | 151 | this.form = Object.assign(this.form, this.formData) |
153 | let { result: { list, total, pages: pageSize, pageNum: current } | 152 | let { result: { list, total, pages: pageSize, pageNum: current } |
154 | } = await business.getQlfQlDyiqList(this.form) | 153 | } = await business.getQlfQlDyiqList(this.form) |
155 | // this.tableData.data = list | 154 | this.tableData.data = list |
156 | this.pageData = { | 155 | this.pageData = { |
157 | pageSize, | 156 | pageSize, |
158 | current, | 157 | current, |
159 | total | 158 | total |
160 | } | 159 | } |
161 | } catch (error) { | 160 | } catch (error) { |
162 | this.message = error | 161 | // this.$refs.msg.messageShow() |
163 | this.$refs.msg.messageShow() | ||
164 | } | 162 | } |
165 | } | 163 | } |
166 | } | 164 | } | ... | ... |
... | @@ -33,8 +33,8 @@ | ... | @@ -33,8 +33,8 @@ |
33 | <el-row class="mt-10"> | 33 | <el-row class="mt-10"> |
34 | <el-col :span="6"> | 34 | <el-col :span="6"> |
35 | <el-form-item label="登记类型"> | 35 | <el-form-item label="登记类型"> |
36 | <el-select v-model="form.djlx" clearable class="width100" ref="selectlandDJ" @visible-change="isShowSelectOptions" | 36 | <el-select v-model="form.djlx" clearable class="width100" ref="selectlandDJ" |
37 | placeholder="请选择登记类型"> | 37 | @visible-change="isShowSelectOptions" placeholder="请选择登记类型"> |
38 | <el-option v-for="item in DJLXOptions" :key="item.value" :label="item.label" :value="item.value"> | 38 | <el-option v-for="item in DJLXOptions" :key="item.value" :label="item.label" :value="item.value"> |
39 | </el-option> | 39 | </el-option> |
40 | </el-select> | 40 | </el-select> |
... | @@ -52,11 +52,11 @@ | ... | @@ -52,11 +52,11 @@ |
52 | </el-form> | 52 | </el-form> |
53 | </div> | 53 | </div> |
54 | <div class="from-clues-content"> | 54 | <div class="from-clues-content"> |
55 | <lb-table :page-size="pageData.size" :heightNum="340" :current-page.sync="pageData.current" :total="pageData.total" | 55 | <lb-table :page-size="pageData.size" :current-page.sync="pageData.current" :total="pageData.total" |
56 | @size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns" | 56 | @size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns" |
57 | :data="tableData.data"> | 57 | :data="tableData.data"> |
58 | </lb-table> | 58 | </lb-table> |
59 | <message-tips ref="msg"/> | 59 | <message-tips ref="msg" /> |
60 | </div> | 60 | </div> |
61 | <!-- XML报文 --> | 61 | <!-- XML报文 --> |
62 | <xml-message ref="dialog" :xml="xml" /> | 62 | <xml-message ref="dialog" :xml="xml" /> |
... | @@ -82,11 +82,11 @@ export default { | ... | @@ -82,11 +82,11 @@ export default { |
82 | data () { | 82 | data () { |
83 | return { | 83 | return { |
84 | form: { | 84 | form: { |
85 | pcode:'', | 85 | pcode: '', |
86 | qszt:'', | 86 | qszt: '', |
87 | zl: '', | 87 | zl: '', |
88 | qlr: '', | 88 | qlr: '', |
89 | djlx:'', | 89 | djlx: '', |
90 | bdcqzh: '', | 90 | bdcqzh: '', |
91 | currentPage: 1 | 91 | currentPage: 1 |
92 | }, | 92 | }, | ... | ... |
... | @@ -4,10 +4,33 @@ | ... | @@ -4,10 +4,33 @@ |
4 | <el-form ref="form" :model="form" label-width="80px"> | 4 | <el-form ref="form" :model="form" label-width="80px"> |
5 | <el-row> | 5 | <el-row> |
6 | <el-col :span="5"> | 6 | <el-col :span="5"> |
7 | <el-form-item label="行政区" label-width="80px"> | ||
8 | <el-select v-model="form.xzq" class="width100" clearable placeholder="行政区"> | ||
9 | <el-option v-for="item in dicData['A20']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE"> | ||
10 | </el-option> | ||
11 | </el-select> | ||
12 | </el-form-item> | ||
13 | </el-col> | ||
14 | <el-col :span="5"> | ||
15 | <el-form-item label="权属状态"> | ||
16 | <el-select v-model="form.qszt" class="width100" clearable placeholder="权属状态"> | ||
17 | <el-option v-for="item in dicData['A22']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE"> | ||
18 | </el-option> | ||
19 | </el-select> | ||
20 | </el-form-item> | ||
21 | </el-col> | ||
22 | <el-col :span="5"> | ||
23 | <el-form-item label="不动产权证号"> | ||
24 | <el-input v-model="form.bdcqzh" placeholder="不动产权证号"></el-input> | ||
25 | </el-form-item> | ||
26 | </el-col> | ||
27 | <el-col :span="5"> | ||
7 | <el-form-item label="业务号"> | 28 | <el-form-item label="业务号"> |
8 | <el-input v-model="form.YWH" placeholder="业务号"></el-input> | 29 | <el-input v-model="form.YWH" placeholder="业务号"></el-input> |
9 | </el-form-item> | 30 | </el-form-item> |
10 | </el-col> | 31 | </el-col> |
32 | </el-row> | ||
33 | <el-row> | ||
11 | <el-col :span="4"> | 34 | <el-col :span="4"> |
12 | <el-form-item label="预告登记种类" label-width="106px"> | 35 | <el-form-item label="预告登记种类" label-width="106px"> |
13 | <el-select v-model="form.YGDJZL" clearable ref="selectnoticeRegQL" @visible-change="isShowSelectOptions" | 36 | <el-select v-model="form.YGDJZL" clearable ref="selectnoticeRegQL" @visible-change="isShowSelectOptions" |
... | @@ -20,7 +43,7 @@ | ... | @@ -20,7 +43,7 @@ |
20 | <el-col :span="5"> | 43 | <el-col :span="5"> |
21 | <el-form-item label="登记类型"> | 44 | <el-form-item label="登记类型"> |
22 | <el-select v-model="form.DJLX" clearable class="width100" placeholder="请选择登记类型"> | 45 | <el-select v-model="form.DJLX" clearable class="width100" placeholder="请选择登记类型"> |
23 | <el-option v-for="item in DJLXOptions" :key="item.value" :label="item.label" :value="item.value"> | 46 | <el-option v-for="item in dicData['A21']" :key="item.value" :label="item.label" :value="item.value"> |
24 | </el-option> | 47 | </el-option> |
25 | </el-select> | 48 | </el-select> |
26 | </el-form-item> | 49 | </el-form-item> |
... | @@ -41,12 +64,9 @@ | ... | @@ -41,12 +64,9 @@ |
41 | @size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns" | 64 | @size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns" |
42 | :data="tableData.data"> | 65 | :data="tableData.data"> |
43 | </lb-table> | 66 | </lb-table> |
44 | <message-tips ref="msg" :message="message" /> | ||
45 | </div> | 67 | </div> |
46 | <!-- XML报文 --> | 68 | <!-- 编辑 --> |
47 | <xml-message ref="dialog" :xml="xml" /> | 69 | <dataDetails ref="editLog" :title="title" /> |
48 | <!-- 数据详情 --> | ||
49 | <edit-dialog ref="editLog" :bsmSjsb="bsmSjsb" :diaData="diaData" /> | ||
50 | </div> | 70 | </div> |
51 | </template> | 71 | </template> |
52 | 72 | ||
... | @@ -68,7 +88,11 @@ export default { | ... | @@ -68,7 +88,11 @@ export default { |
68 | data () { | 88 | data () { |
69 | return { | 89 | return { |
70 | form: { | 90 | form: { |
91 | xzq: '', | ||
92 | qszt: '', | ||
93 | bdcqzh: '', | ||
71 | YWH: '', | 94 | YWH: '', |
95 | |||
72 | YGDJZL: '', | 96 | YGDJZL: '', |
73 | DJLX: '', | 97 | DJLX: '', |
74 | BDCDYH: '', | 98 | BDCDYH: '', |
... | @@ -88,17 +112,16 @@ export default { | ... | @@ -88,17 +112,16 @@ export default { |
88 | return ( | 112 | return ( |
89 | <div> | 113 | <div> |
90 | <el-button | 114 | <el-button |
91 | type="text" | 115 | type="primary" |
92 | size="mini" | 116 | size="mini" |
93 | icon="el-icon-view" | 117 | onClick={() => { this.handleEdit(scope.row) }} |
94 | onClick={() => { this.handledetails(scope.$index, scope.row) }} | ||
95 | > | 118 | > |
96 | 数据详情 | 119 | 详情 |
97 | </el-button> | 120 | </el-button> |
98 | </div> | 121 | </div> |
99 | ); | 122 | ) |
100 | }, | 123 | } |
101 | }, | 124 | } |
102 | ]), | 125 | ]), |
103 | data: [] | 126 | data: [] |
104 | }, | 127 | }, |
... | @@ -146,11 +169,8 @@ export default { | ... | @@ -146,11 +169,8 @@ export default { |
146 | total | 169 | total |
147 | } | 170 | } |
148 | } catch (error) { | 171 | } catch (error) { |
149 | this.message = error | ||
150 | this.$refs.msg.messageShow() | 172 | this.$refs.msg.messageShow() |
151 | } | 173 | } |
152 | }, | ||
153 | handledetails (index, row) { | ||
154 | } | 174 | } |
155 | } | 175 | } |
156 | } | 176 | } | ... | ... |
... | @@ -54,16 +54,14 @@ | ... | @@ -54,16 +54,14 @@ |
54 | </el-form> | 54 | </el-form> |
55 | </div> | 55 | </div> |
56 | <div class="from-clues-content"> | 56 | <div class="from-clues-content"> |
57 | <lb-table :page-size="pageData.size" :heightNum="340" :current-page.sync="pageData.current" :total="pageData.total" | 57 | <lb-table :page-size="pageData.size" :current-page.sync="pageData.current" :total="pageData.total" |
58 | @size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns" | 58 | @size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns" |
59 | :data="tableData.data"> | 59 | :data="tableData.data"> |
60 | </lb-table> | 60 | </lb-table> |
61 | <message-tips ref="msg" :message="message" /> | 61 | <message-tips ref="msg" :message="message" /> |
62 | </div> | 62 | </div> |
63 | <!-- XML报文 --> | 63 | <!-- 编辑 --> |
64 | <xml-message ref="dialog" :xml="xml" /> | 64 | <dataDetails ref="editLog" :title="title" /> |
65 | <!-- 数据详情 --> | ||
66 | <edit-dialog ref="editLog" :bsmSjsb="bsmSjsb" :diaData="diaData" /> | ||
67 | </div> | 65 | </div> |
68 | </template> | 66 | </template> |
69 | 67 | ||
... | @@ -73,13 +71,9 @@ import data from "./data" | ... | @@ -73,13 +71,9 @@ import data from "./data" |
73 | import business from '@/api/business' | 71 | import business from '@/api/business' |
74 | import dataReporting from '@/api/dataReporting' | 72 | import dataReporting from '@/api/dataReporting' |
75 | import tableMixin from '@/mixins/tableMixin.js' | 73 | import tableMixin from '@/mixins/tableMixin.js' |
76 | import editDialog from '@/components/dataDetails/edit-dialog.vue' | ||
77 | export default { | 74 | export default { |
78 | name: "cancellationReg", | 75 | name: "cancellationReg", |
79 | mixins: [tableMixin], | 76 | mixins: [tableMixin], |
80 | components: { | ||
81 | editDialog | ||
82 | }, | ||
83 | data () { | 77 | data () { |
84 | return { | 78 | return { |
85 | form: { | 79 | form: { |
... | @@ -141,21 +135,6 @@ export default { | ... | @@ -141,21 +135,6 @@ export default { |
141 | this.message = error | 135 | this.message = error |
142 | this.$refs.msg.messageShow() | 136 | this.$refs.msg.messageShow() |
143 | } | 137 | } |
144 | }, | ||
145 | async handlDatadetails (index, row) { | ||
146 | let { result: res, message } = await dataReporting.getQltFwFdcqYzByCondition(row.BSM_SJSB) | ||
147 | if (res != null) { | ||
148 | this.diaData = res | ||
149 | this.bsmSjsb = row.BSM_SJSB | ||
150 | this.$store.dispatch('business/setEdit'); this.$refs.editLog.isShow() | ||
151 | } else { | ||
152 | this.$message(message) | ||
153 | } | ||
154 | }, | ||
155 | // 详情 | ||
156 | handleEdit (row) { | ||
157 | this.title = row.rectypeName | ||
158 | this.$refs.editLog.isShow(row); | ||
159 | } | 138 | } |
160 | } | 139 | } |
161 | } | 140 | } | ... | ... |
... | @@ -56,7 +56,8 @@ | ... | @@ -56,7 +56,8 @@ |
56 | <el-col :span="3"> | 56 | <el-col :span="3"> |
57 | <el-form-item label="检查结果" prop="jcjg"> | 57 | <el-form-item label="检查结果" prop="jcjg"> |
58 | <el-select v-model="form.jcjg" class="width100" clearable placeholder="检查结果"> | 58 | <el-select v-model="form.jcjg" class="width100" clearable placeholder="检查结果"> |
59 | <el-option v-for="item in dicData['sysSjsbCkeck']" :key="item.DCODE" :label="item.DNAME" :value="item.DNAME"> | 59 | <el-option v-for="item in dicData['sysSjsbCkeck']" :key="item.DCODE" :label="item.DNAME" |
60 | :value="item.DNAME"> | ||
60 | </el-option> | 61 | </el-option> |
61 | </el-select> | 62 | </el-select> |
62 | 63 | ||
... | @@ -65,7 +66,8 @@ | ... | @@ -65,7 +66,8 @@ |
65 | <el-col :span="3"> | 66 | <el-col :span="3"> |
66 | <el-form-item label="入库结果" prop="rkjg"> | 67 | <el-form-item label="入库结果" prop="rkjg"> |
67 | <el-select v-model="form.rkjg" class="width100" clearable placeholder="入库结果"> | 68 | <el-select v-model="form.rkjg" class="width100" clearable placeholder="入库结果"> |
68 | <el-option v-for="item in dicData['sysSjsbStorage']" :key="item.DCODE" :label="item.DNAME" :value="item.DNAME"> | 69 | <el-option v-for="item in dicData['sysSjsbStorage']" :key="item.DCODE" :label="item.DNAME" |
70 | :value="item.DNAME"> | ||
69 | </el-option> | 71 | </el-option> |
70 | </el-select> | 72 | </el-select> |
71 | </el-form-item> | 73 | </el-form-item> | ... | ... |
-
Please register or sign in to post a comment