ec2796b3 by 田浩浩
2 parents 9624a488 65e0bf82
...@@ -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 }
......
...@@ -264,13 +264,13 @@ export const asyncRoutes = [ ...@@ -264,13 +264,13 @@ export const asyncRoutes = [
264 path: 'dyaq', 264 path: 'dyaq',
265 component: () => import('@/views/business-info/dyaq/index'), 265 component: () => import('@/views/business-info/dyaq/index'),
266 name: 'dyaq', 266 name: 'dyaq',
267 meta: { title: ' 抵押权登记' } 267 meta: { title: '抵押权登记' }
268 }, 268 },
269 { 269 {
270 path: 'dyiq', 270 path: 'dyiq',
271 component: () => import('@/views/business-info/dyiq/index'), 271 component: () => import('@/views/business-info/dyiq/index'),
272 name: 'dyiq', 272 name: 'dyiq',
273 meta: { title: ' 地役权登记' } 273 meta: { title: '地役权登记' }
274 } 274 }
275 ] 275 ]
276 }, 276 },
......
...@@ -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,84 +308,93 @@ table td { ...@@ -303,84 +308,93 @@ 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
322 background-color: #074487; 327 .el-input.is-disabled .el-input__inner {
323 } 328 background-color: #074487;
324 .el-date-range-picker__time-header{ 329 }
325 background-color: #031a46; 330
326 } 331 .el-date-range-picker__time-header {
327 .el-picker-panel__footer{ 332 background-color: #031a46;
328 background-color: #031a46; 333 }
329 } 334
330 .el-time-panel{ 335 .el-picker-panel__footer {
331 background-color: #074487!important; 336 background-color: #031a46;
332 color: #E3F1FF; 337 }
333 } 338
334 .el-picker-panel__icon-btn{ 339 .el-time-panel {
335 color:#E3F1FF; 340 background-color: #074487 !important;
336 }
337 .el-date-table th{
338 color:#E3F1FF;
339 }
340 .el-time-spinner__item{
341 color: #E3F1FF; 341 color: #E3F1FF;
342 } 342 }
343 .el-time-spinner__item.active:not(.disabled){
344 color: #fff;
345 }
346 .el-time-panel__btn{
347 color:#0F93F6;
348 }
349 .el-time-panel__btn.confirm{
350 width: 50px;
351 height: 25px;
352 line-height: 25px;
353 border-radius: 3px;
354 background-color: #fff;
355 }
356 .el-time-panel__footer{
357 background-color: #031a46;
358 }
359 .el-date-table td.in-range div{
360 background-color: #031a46;
361 }
362 .el-date-table td.start-date span, .el-date-table td.end-date span{
363 background-color: #074487;
364 // border:1px solid saddlebrown;
365 box-shadow: inset 0 0 7px #02D9FD;
366 border: 1px solid #02D9FD;
367 }
368 }
369 .el-date-editor{
370 343
371 .el-range-separator{ 344 .el-picker-panel__icon-btn {
372 color: #E3F1FF; 345 color: #E3F1FF;
373 } 346 }
374 .el-range-input{ 347
375 background:none !important; 348 .el-date-table th {
349 color: #E3F1FF;
350 }
351
352 .el-time-spinner__item {
353 color: #E3F1FF;
354 }
355
356 .el-time-spinner__item.active:not(.disabled) {
376 color: #fff; 357 color: #fff;
377 } 358 }
378 359
360 .el-time-panel__btn {
361 color: #0F93F6;
362 }
363
364 .el-time-panel__btn.confirm {
365 width: 50px;
366 height: 25px;
367 line-height: 25px;
368 border-radius: 3px;
369 background-color: #fff;
370 }
379 371
380 } 372 .el-time-panel__footer {
373 background-color: #031a46;
374 }
381 375
376 .el-date-table td.in-range div {
377 background-color: #031a46;
378 }
382 379
380 .el-date-table td.start-date span,
381 .el-date-table td.end-date span {
382 background-color: #074487;
383 box-shadow: inset 0 0 7px #02D9FD;
384 border: 1px solid #02D9FD;
385 }
386 }
387
388 .el-date-editor {
389 .el-range-separator {
390 color: #E3F1FF;
391 }
383 392
393 .el-range-input {
394 background: none !important;
395 color: #fff;
396 }
397 }
384 398
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,
...@@ -399,4 +413,4 @@ table td { ...@@ -399,4 +413,4 @@ table td {
399 border: 1px solid #02D9FD; 413 border: 1px solid #02D9FD;
400 color: #FFFFFF !important; 414 color: #FFFFFF !important;
401 font-weight: 700; 415 font-weight: 700;
402 } 416 }
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -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 }
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 } 151 }
186 }, 152 }
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 }
......
...@@ -6,14 +6,14 @@ ...@@ -6,14 +6,14 @@
6 <el-col :span="6"> 6 <el-col :span="6">
7 <el-form-item label="行政区" prop="pcode"> 7 <el-form-item label="行政区" prop="pcode">
8 <el-select v-model="form.pcode" class="width100" clearable placeholder="行政区"> 8 <el-select v-model="form.pcode" class="width100" clearable placeholder="行政区">
9 <el-option v-for="item in dicData['A20']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE"> 9 <el-option v-for="item in dicData['A20']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
10 </el-option> 10 </el-option>
11 </el-select> 11 </el-select>
12 </el-form-item> 12 </el-form-item>
13 </el-col> 13 </el-col>
14 <el-col :span="6"> 14 <el-col :span="6">
15 <el-form-item label="权属状态" prop="qszt"> 15 <el-form-item label="权属状态" prop="qszt">
16 <el-select :disabled="$store.state.business.Edit" class="width100" v-model="form.qszt" placeholder="权属状态"> 16 <el-select :disabled="$store.state.business.Edit" class="width100" v-model="form.qszt" placeholder="权属状态">
17 <el-option v-for="item in dicData['A22']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE"> 17 <el-option v-for="item in dicData['A22']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
18 </el-option> 18 </el-option>
19 </el-select> 19 </el-select>
...@@ -26,15 +26,15 @@ ...@@ -26,15 +26,15 @@
26 </el-col> 26 </el-col>
27 <el-col :span="6"> 27 <el-col :span="6">
28 <el-form-item label="权利人" label-width="80px"> 28 <el-form-item label="权利人" label-width="80px">
29 <el-input v-model="form.qlr" placeholder="权利人"></el-input> 29 <el-input v-model="form.qlr" placeholder="权利人"></el-input>
30 </el-form-item> 30 </el-form-item>
31 </el-col> 31 </el-col>
32 </el-row> 32 </el-row>
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>
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
46 </el-form-item> 46 </el-form-item>
47 </el-col> 47 </el-col>
48 <el-col :span="12" class="btnColRight"> 48 <el-col :span="12" class="btnColRight">
49 <btn nativeType="cx" @click="handleSubmit">查询</btn> 49 <btn nativeType="cx" @click="handleSubmit">查询</btn>
50 </el-col> 50 </el-col>
51 </el-row> 51 </el-row>
52 </el-form> 52 </el-form>
...@@ -77,11 +77,11 @@ export default { ...@@ -77,11 +77,11 @@ export default {
77 data () { 77 data () {
78 return { 78 return {
79 form: { 79 form: {
80 pcode:'', 80 pcode: '',
81 qszt:'', 81 qszt: '',
82 zl: '', 82 zl: '',
83 qlr: '', 83 qlr: '',
84 djlx:'', 84 djlx: '',
85 bdcqzh: '', 85 bdcqzh: '',
86 currentPage: 1 86 currentPage: 1
87 }, 87 },
...@@ -172,20 +172,7 @@ export default { ...@@ -172,20 +172,7 @@ export default {
172 this.message = error 172 this.message = error
173 // this.$refs.msg.messageShow() 173 // this.$refs.msg.messageShow()
174 } 174 }
175 }, 175 }
176 handlDatadetails (index, row) {
177 this.$store.dispatch('business/setEdit'); this.$refs.editLog.isShow()
178 },
179 async handlDatadetails (index, row) {
180 let { result: res, message } = await dataReporting.getQltFwFdcqYzByCondition(row.BSM_SJSB)
181 if (res != null) {
182 this.diaData = res
183 this.bsmSjsb = row.BSM_SJSB
184 this.$store.dispatch('business/setEdit'); this.$refs.editLog.isShow()
185 } else {
186 this.$message(message);
187 }
188 },
189 } 176 }
190 } 177 }
191 </script> 178 </script>
......
...@@ -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 }
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
5 <el-row> 5 <el-row>
6 <el-col :span="5"> 6 <el-col :span="5">
7 <el-form-item label="行政区"> 7 <el-form-item label="行政区">
8 <el-select v-model="form.pcode" class="width100" clearable placeholder="行政区"> 8 <el-select v-model="form.pcode" class="width100" clearable placeholder="行政区">
9 <el-option v-for="item in dicData['A20']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE"> 9 <el-option v-for="item in dicData['A20']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
10 </el-option> 10 </el-option>
11 </el-select> 11 </el-select>
...@@ -13,13 +13,13 @@ ...@@ -13,13 +13,13 @@
13 </el-col> 13 </el-col>
14 <el-col :span="5"> 14 <el-col :span="5">
15 <el-form-item label="权属状态" label-width="105px"> 15 <el-form-item label="权属状态" label-width="105px">
16 <el-select v-model="form.pcode" class="width100" clearable placeholder="权属状态"> 16 <el-select v-model="form.pcode" class="width100" clearable placeholder="权属状态">
17 <el-option v-for="item in dicData['A22']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE"> 17 <el-option v-for="item in dicData['A22']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
18 </el-option> 18 </el-option>
19 </el-select> 19 </el-select>
20 </el-form-item> 20 </el-form-item>
21 </el-col> 21 </el-col>
22 <el-col :span="5"> 22 <el-col :span="5">
23 <el-form-item label="坐落"> 23 <el-form-item label="坐落">
24 <el-input v-model="form.YWH" placeholder="请输入坐落"></el-input> 24 <el-input v-model="form.YWH" placeholder="请输入坐落"></el-input>
25 </el-form-item> 25 </el-form-item>
...@@ -29,14 +29,14 @@ ...@@ -29,14 +29,14 @@
29 <el-input v-model="form.BDCDYH" placeholder="请输入不动产权证号"></el-input> 29 <el-input v-model="form.BDCDYH" placeholder="请输入不动产权证号"></el-input>
30 </el-form-item> 30 </el-form-item>
31 </el-col> 31 </el-col>
32 <el-col :span="5" class="mt-10"> 32 <el-col :span="5" class="mt-10">
33 <el-form-item label="权利人"> 33 <el-form-item label="权利人">
34 <el-input v-model="form.YWH" placeholder="请输入权利人"></el-input> 34 <el-input v-model="form.YWH" placeholder="请输入权利人"></el-input>
35 </el-form-item> 35 </el-form-item>
36 </el-col> 36 </el-col>
37 <el-col :span="5" class="mt-10"> 37 <el-col :span="5" class="mt-10">
38 <el-form-item label="权利类型" label-width="105px"> 38 <el-form-item label="权利类型" label-width="105px">
39 <el-select v-model="form.pcode" class="width100" clearable placeholder="权利类型"> 39 <el-select v-model="form.pcode" class="width100" clearable placeholder="权利类型">
40 <el-option v-for="item in dicData['A8']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE"> 40 <el-option v-for="item in dicData['A8']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
41 </el-option> 41 </el-option>
42 </el-select> 42 </el-select>
...@@ -47,23 +47,21 @@ ...@@ -47,23 +47,21 @@
47 <el-input v-model="form.BDCDYH" placeholder="请输入不动产单元号"></el-input> 47 <el-input v-model="form.BDCDYH" placeholder="请输入不动产单元号"></el-input>
48 </el-form-item> 48 </el-form-item>
49 </el-col> 49 </el-col>
50 <el-col :span="3" class="btnColRight mt-10"> 50 <el-col :span="3" class="btnColRight mt-10">
51 <btn nativeType="cx" @click="handleSubmit">查询结果</btn> 51 <btn nativeType="cx" @click="handleSubmit">查询结果</btn>
52 </el-col> 52 </el-col>
53 </el-row> 53 </el-row>
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: {
...@@ -98,19 +92,19 @@ export default { ...@@ -98,19 +92,19 @@ export default {
98 label: "操作", 92 label: "操作",
99 width: 170, 93 width: 170,
100 render: (h, scope) => { 94 render: (h, scope) => {
101 return ( 95 return (
102 <div> 96 <div>
103 <el-button 97 <el-button
104 type="primary" 98 type="primary"
105 onClick={() => { 99 onClick={() => {
106 this.handleEdit(scope.row); 100 this.handleEdit(scope.row);
107 }} 101 }}
108 > 102 >
109 详情 103 详情
110 </el-button> 104 </el-button>
111 </div> 105 </div>
112 ); 106 );
113 }, 107 },
114 }, 108 },
115 109
116 ]), 110 ]),
...@@ -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 }
......