439e33a1 by 蔡俊立

功能完善

1 parent d4004ee4
1 import request from '@/utils/request'
2 import SERVER from './config'
3
4 // 登簿日志分页
5 export function getRecordLogPage (data) {
6 return request({
7 url: SERVER.SERVERAPI + '/sjsb/RecordLog/getRecordLogPage',
8 method: 'post',
9 data
10 })
11 }
12
13
...@@ -173,7 +173,7 @@ export default { ...@@ -173,7 +173,7 @@ export default {
173 type: String, 173 type: String,
174 default: '' 174 default: ''
175 }, 175 },
176 dataTable: { 176 bsmYwsjb: {
177 type: String, 177 type: String,
178 default: '' 178 default: ''
179 } 179 }
......
...@@ -460,7 +460,7 @@ export default { ...@@ -460,7 +460,7 @@ export default {
460 type: String, 460 type: String,
461 default: '' 461 default: ''
462 }, 462 },
463 dataTable: { 463 bsmYwsjb: {
464 type: String, 464 type: String,
465 default: '' 465 default: ''
466 } 466 }
......
...@@ -73,7 +73,7 @@ export default { ...@@ -73,7 +73,7 @@ export default {
73 type: String, 73 type: String,
74 default: '' 74 default: ''
75 }, 75 },
76 dataTable: { 76 bsmYwsjb: {
77 type: String, 77 type: String,
78 default: '' 78 default: ''
79 } 79 }
......
...@@ -271,7 +271,7 @@ export default { ...@@ -271,7 +271,7 @@ export default {
271 type: String, 271 type: String,
272 default: '' 272 default: ''
273 }, 273 },
274 dataTable: { 274 bsmYwsjb: {
275 type: String, 275 type: String,
276 default: '' 276 default: ''
277 } 277 }
......
...@@ -143,7 +143,7 @@ export default { ...@@ -143,7 +143,7 @@ export default {
143 type: String, 143 type: String,
144 default: '' 144 default: ''
145 }, 145 },
146 dataTable: { 146 bsmYwsjb: {
147 type: String, 147 type: String,
148 default: '' 148 default: ''
149 } 149 }
......
...@@ -272,7 +272,7 @@ export default { ...@@ -272,7 +272,7 @@ export default {
272 type: String, 272 type: String,
273 default: '' 273 default: ''
274 }, 274 },
275 dataTable: { 275 bsmYwsjb: {
276 type: String, 276 type: String,
277 default: '' 277 default: ''
278 } 278 }
......
...@@ -191,7 +191,7 @@ export default { ...@@ -191,7 +191,7 @@ export default {
191 type: String, 191 type: String,
192 default: '' 192 default: ''
193 }, 193 },
194 dataTable: { 194 bsmYwsjb: {
195 type: String, 195 type: String,
196 default: '' 196 default: ''
197 } 197 }
......
...@@ -264,7 +264,7 @@ export default { ...@@ -264,7 +264,7 @@ export default {
264 type: String, 264 type: String,
265 default: '' 265 default: ''
266 }, 266 },
267 dataTable: { 267 bsmYwsjb: {
268 type: String, 268 type: String,
269 default: '' 269 default: ''
270 } 270 }
......
...@@ -257,7 +257,7 @@ export default { ...@@ -257,7 +257,7 @@ export default {
257 type: String, 257 type: String,
258 default: '' 258 default: ''
259 }, 259 },
260 dataTable: { 260 bsmYwsjb: {
261 type: String, 261 type: String,
262 default: '' 262 default: ''
263 } 263 }
......
...@@ -140,7 +140,7 @@ export default { ...@@ -140,7 +140,7 @@ export default {
140 type: String, 140 type: String,
141 default: '' 141 default: ''
142 }, 142 },
143 dataTable: { 143 bsmYwsjb: {
144 type: String, 144 type: String,
145 default: '' 145 default: ''
146 } 146 }
......
...@@ -330,7 +330,7 @@ export default { ...@@ -330,7 +330,7 @@ export default {
330 type: String, 330 type: String,
331 default: '' 331 default: ''
332 }, 332 },
333 dataTable: { 333 bsmYwsjb: {
334 type: String, 334 type: String,
335 default: '' 335 default: ''
336 } 336 }
......
...@@ -183,7 +183,7 @@ export default { ...@@ -183,7 +183,7 @@ export default {
183 type: String, 183 type: String,
184 default: '' 184 default: ''
185 }, 185 },
186 dataTable: { 186 bsmYwsjb: {
187 type: String, 187 type: String,
188 default: '' 188 default: ''
189 } 189 }
......
...@@ -286,7 +286,7 @@ export default { ...@@ -286,7 +286,7 @@ export default {
286 type: String, 286 type: String,
287 default: '' 287 default: ''
288 }, 288 },
289 dataTable: { 289 bsmYwsjb: {
290 type: String, 290 type: String,
291 default: '' 291 default: ''
292 } 292 }
......
...@@ -91,7 +91,7 @@ export default { ...@@ -91,7 +91,7 @@ export default {
91 type: String, 91 type: String,
92 default: '' 92 default: ''
93 }, 93 },
94 dataTable: { 94 bsmYwsjb: {
95 type: String, 95 type: String,
96 default: '' 96 default: ''
97 } 97 }
......
...@@ -73,7 +73,7 @@ export default { ...@@ -73,7 +73,7 @@ export default {
73 type: String, 73 type: String,
74 default: '' 74 default: ''
75 }, 75 },
76 dataTable: { 76 bsmYwsjb: {
77 type: String, 77 type: String,
78 default: '' 78 default: ''
79 } 79 }
......
...@@ -143,7 +143,7 @@ export default { ...@@ -143,7 +143,7 @@ export default {
143 type: String, 143 type: String,
144 default: '' 144 default: ''
145 }, 145 },
146 dataTable: { 146 bsmYwsjb: {
147 type: String, 147 type: String,
148 default: '' 148 default: ''
149 } 149 }
......
...@@ -143,7 +143,7 @@ export default { ...@@ -143,7 +143,7 @@ export default {
143 type: String, 143 type: String,
144 default: '' 144 default: ''
145 }, 145 },
146 dataTable: { 146 bsmYwsjb: {
147 type: String, 147 type: String,
148 default: '' 148 default: ''
149 } 149 }
......
...@@ -250,7 +250,7 @@ export default { ...@@ -250,7 +250,7 @@ export default {
250 type: String, 250 type: String,
251 default: '' 251 default: ''
252 }, 252 },
253 dataTable: { 253 bsmYwsjb: {
254 type: String, 254 type: String,
255 default: '' 255 default: ''
256 } 256 }
......
...@@ -84,7 +84,7 @@ export default { ...@@ -84,7 +84,7 @@ export default {
84 type: String, 84 type: String,
85 default: '' 85 default: ''
86 }, 86 },
87 dataTable: { 87 bsmYwsjb: {
88 type: String, 88 type: String,
89 default: '' 89 default: ''
90 } 90 }
......
...@@ -257,7 +257,7 @@ export default { ...@@ -257,7 +257,7 @@ export default {
257 type: String, 257 type: String,
258 default: '' 258 default: ''
259 }, 259 },
260 dataTable: { 260 bsmYwsjb: {
261 type: String, 261 type: String,
262 default: '' 262 default: ''
263 } 263 }
......
...@@ -360,7 +360,7 @@ export default { ...@@ -360,7 +360,7 @@ export default {
360 type: String, 360 type: String,
361 default: '' 361 default: ''
362 }, 362 },
363 dataTable: { 363 bsmYwsjb: {
364 type: String, 364 type: String,
365 default: '' 365 default: ''
366 } 366 }
......
...@@ -132,7 +132,7 @@ export default { ...@@ -132,7 +132,7 @@ export default {
132 type: String, 132 type: String,
133 default: '' 133 default: ''
134 }, 134 },
135 dataTable: { 135 bsmYwsjb: {
136 type: String, 136 type: String,
137 default: '' 137 default: ''
138 } 138 }
......
...@@ -47,7 +47,7 @@ export default { ...@@ -47,7 +47,7 @@ export default {
47 type: String, 47 type: String,
48 default: '' 48 default: ''
49 }, 49 },
50 dataTable: { 50 bsmYwsjb: {
51 type: String, 51 type: String,
52 default: '' 52 default: ''
53 } 53 }
......
...@@ -387,7 +387,7 @@ export default { ...@@ -387,7 +387,7 @@ export default {
387 type: String, 387 type: String,
388 default: '' 388 default: ''
389 }, 389 },
390 dataTable: { 390 bsmYwsjb: {
391 type: String, 391 type: String,
392 default: '' 392 default: ''
393 } 393 }
......
1 class data { 1 class data {
2 columns () { 2 columns () {
3 return [ 3 return [
4
4 { 5 {
5 prop: "qumc", 6 prop: "AREANAME",
6 label: "区域名称", 7 label: "区域名称",
7 }, 8 },
8 { 9 {
9 prop: "date", 10 prop: "UPLOADTIME",
10 label: "日期", 11 label: "日期",
11 }, 12 },
12 { 13 {
13 prop: "type", 14 prop: "type",
14 label: "类型" 15 label: "类别",
16 render: (h, scope) => {
17 return (
18 <div class={'difference'}>
19 <p>{'登簿量'}</p>
20 <p>{'接入量'}</p>
21 </div>
22 )
23 },
15 }, 24 },
16 { 25 {
17 label: "总量", 26 label: "总量",
18 render: (h, scope) => { 27 render: (h, scope) => {
19 return ( 28 return (
20 <div class={scope.row.registerInfoModel.totalnum === scope.row.accessInfoModel.totalnum ? '' : 'difference'}> 29 <div class={scope.row.totalnum === scope.row.totalnum ? '' : 'difference'}>
21 <p>{scope.row.registerInfoModel.totalnum}</p> 30 <p>{scope.row.registerTotalnum}</p>
22 <p>{scope.row.accessInfoModel.totalnum}</p> 31 <p>{scope.row.accessTotalnum}</p>
23 </div> 32 </div>
24 ) 33 )
25 }, 34 },
26 }, 35 },
27 { 36 {
28 prop: "ywlxsl", 37 label: "业务类型数量",
29 label: "业务类型数量" 38 render: (h, scope) => {
39 return (
40 <div class={'difference'}>
41 <p>{scope.row.BUSINESSTYPECOUNT}</p>
42 <p>{''}</p>
43 </div>
44 )
45 },
30 }, 46 },
31 { 47 {
32 label: "首次登记", 48 label: "首次登记",
33 render: (h, scope) => { 49 render: (h, scope) => {
34 return ( 50 return (
35 <div class={scope.row.registerInfoModel.firstreg === scope.row.accessInfoModel.firstreg ? '' : 'difference'}> 51 <div class={scope.row.firstreg === scope.row.firstreg ? '' : 'difference'}>
36 <p>{scope.row.registerInfoModel.firstreg}</p> 52 <p>{scope.row.registerFirstreg}</p>
37 <p>{scope.row.accessInfoModel.firstreg}</p> 53 <p>{scope.row.accessFirstreg}</p>
38 </div> 54 </div>
39 ) 55 )
40 }, 56 },
...@@ -43,9 +59,9 @@ class data { ...@@ -43,9 +59,9 @@ class data {
43 label: "转移登记", 59 label: "转移登记",
44 render: (h, scope) => { 60 render: (h, scope) => {
45 return ( 61 return (
46 <div class={scope.row.registerInfoModel.transferreg === scope.row.accessInfoModel.transferreg ? '' : 'difference'}> 62 <div class={scope.row.transferreg === scope.row.transferreg ? '' : 'difference'}>
47 <p>{scope.row.registerInfoModel.transferreg}</p> 63 <p>{scope.row.registerTransferreg}</p>
48 <p>{scope.row.accessInfoModel.transferreg}</p> 64 <p>{scope.row.accessTransferreg}</p>
49 </div> 65 </div>
50 ) 66 )
51 }, 67 },
...@@ -54,9 +70,9 @@ class data { ...@@ -54,9 +70,9 @@ class data {
54 label: "变更登记", 70 label: "变更登记",
55 render: (h, scope) => { 71 render: (h, scope) => {
56 return ( 72 return (
57 <div class={scope.row.registerInfoModel.changereg === scope.row.accessInfoModel.changereg ? '' : 'difference'}> 73 <div class={scope.row.changereg === scope.row.changereg ? '' : 'difference'}>
58 <p>{scope.row.registerInfoModel.changereg}</p> 74 <p>{scope.row.registerChangereg}</p>
59 <p>{scope.row.accessInfoModel.changereg}</p> 75 <p>{scope.row.accessChangereg}</p>
60 </div> 76 </div>
61 ) 77 )
62 }, 78 },
...@@ -65,9 +81,9 @@ class data { ...@@ -65,9 +81,9 @@ class data {
65 label: "注销登记", 81 label: "注销登记",
66 render: (h, scope) => { 82 render: (h, scope) => {
67 return ( 83 return (
68 <div class={scope.row.registerInfoModel.logoutreg === scope.row.accessInfoModel.logoutreg ? '' : 'difference'}> 84 <div class={scope.row.logoutreg === scope.row.logoutreg ? '' : 'difference'}>
69 <p>{scope.row.registerInfoModel.logoutreg}</p> 85 <p>{scope.row.registerLogoutreg}</p>
70 <p>{scope.row.accessInfoModel.logoutreg}</p> 86 <p>{scope.row.accessLogoutreg}</p>
71 </div> 87 </div>
72 ) 88 )
73 }, 89 },
...@@ -76,9 +92,9 @@ class data { ...@@ -76,9 +92,9 @@ class data {
76 label: "更正登记", 92 label: "更正登记",
77 render: (h, scope) => { 93 render: (h, scope) => {
78 return ( 94 return (
79 <div class={scope.row.registerInfoModel.rivisereg === scope.row.accessInfoModel.rivisereg ? '' : 'difference'}> 95 <div class={scope.row.rivisereg === scope.row.rivisereg ? '' : 'difference'}>
80 <p>{scope.row.registerInfoModel.rivisereg}</p> 96 <p>{scope.row.registerRivisereg}</p>
81 <p>{scope.row.accessInfoModel.rivisereg}</p> 97 <p>{scope.row.accessRivisereg}</p>
82 </div> 98 </div>
83 ) 99 )
84 }, 100 },
...@@ -89,9 +105,9 @@ class data { ...@@ -89,9 +105,9 @@ class data {
89 label: "异议登记", 105 label: "异议登记",
90 render: (h, scope) => { 106 render: (h, scope) => {
91 return ( 107 return (
92 <div class={scope.row.registerInfoModel.dissentingreg === scope.row.accessInfoModel.dissentingreg ? '' : 'difference'}> 108 <div class={scope.row.dissentingreg === scope.row.dissentingreg ? '' : 'difference'}>
93 <p>{scope.row.registerInfoModel.dissentingreg}</p> 109 <p>{scope.row.registerDissentingreg}</p>
94 <p>{scope.row.accessInfoModel.dissentingreg}</p> 110 <p>{scope.row.accessDissentingreg}</p>
95 </div> 111 </div>
96 ) 112 )
97 }, 113 },
...@@ -101,9 +117,9 @@ class data { ...@@ -101,9 +117,9 @@ class data {
101 label: "预告登记", 117 label: "预告登记",
102 render: (h, scope) => { 118 render: (h, scope) => {
103 return ( 119 return (
104 <div class={scope.row.registerInfoModel.advancereg === scope.row.accessInfoModel.advancereg ? '' : 'difference'}> 120 <div class={scope.row.advancereg === scope.row.advancereg ? '' : 'difference'}>
105 <p>{scope.row.registerInfoModel.advancereg}</p> 121 <p>{scope.row.registerAdvancereg}</p>
106 <p>{scope.row.accessInfoModel.advancereg}</p> 122 <p>{scope.row.accessAdvancereg}</p>
107 </div> 123 </div>
108 ) 124 )
109 }, 125 },
...@@ -113,9 +129,9 @@ class data { ...@@ -113,9 +129,9 @@ class data {
113 label: "查封登记", 129 label: "查封登记",
114 render: (h, scope) => { 130 render: (h, scope) => {
115 return ( 131 return (
116 <div class={scope.row.registerInfoModel.seizereg === scope.row.accessInfoModel.seizereg ? '' : 'difference'}> 132 <div class={scope.row.seizereg === scope.row.seizereg ? '' : 'difference'}>
117 <p>{scope.row.registerInfoModel.seizereg}</p> 133 <p>{scope.row.registerSeizereg}</p>
118 <p>{scope.row.accessInfoModel.seizereg}</p> 134 <p>{scope.row.accessSeizereg}</p>
119 </div> 135 </div>
120 ) 136 )
121 }, 137 },
...@@ -125,9 +141,9 @@ class data { ...@@ -125,9 +141,9 @@ class data {
125 label: "地役权登记", 141 label: "地役权登记",
126 render: (h, scope) => { 142 render: (h, scope) => {
127 return ( 143 return (
128 <div class={scope.row.registerInfoModel.easementreg === scope.row.accessInfoModel.easementreg ? '' : 'difference'}> 144 <div class={scope.row.easementreg === scope.row.easementreg ? '' : 'difference'}>
129 <p>{scope.row.registerInfoModel.easementreg}</p> 145 <p>{scope.row.registerEasementreg}</p>
130 <p>{scope.row.accessInfoModel.easementreg}</p> 146 <p>{scope.row.accessEasementreg}</p>
131 </div> 147 </div>
132 ) 148 )
133 }, 149 },
...@@ -137,9 +153,9 @@ class data { ...@@ -137,9 +153,9 @@ class data {
137 label: "抵押权登记", 153 label: "抵押权登记",
138 render: (h, scope) => { 154 render: (h, scope) => {
139 return ( 155 return (
140 <div class={scope.row.registerInfoModel.mortgagereg === scope.row.accessInfoModel.mortgagereg ? '' : 'difference'}> 156 <div class={scope.row.mortgagereg === scope.row.mortgagereg ? '' : 'difference'}>
141 <p>{scope.row.registerInfoModel.mortgagereg}</p> 157 <p>{scope.row.registerMortgagereg}</p>
142 <p>{scope.row.accessInfoModel.mortgagereg}</p> 158 <p>{scope.row.accessMortgagereg}</p>
143 </div> 159 </div>
144 ) 160 )
145 }, 161 },
......
...@@ -7,8 +7,8 @@ ...@@ -7,8 +7,8 @@
7 <el-row> 7 <el-row>
8 <el-col :span="6"> 8 <el-col :span="6">
9 <el-form-item label="行政区" label-width="60px"> 9 <el-form-item label="行政区" label-width="60px">
10 <el-select v-model="form.pcode" class="width100" filterable placeholder="请选择行政区"> 10 <el-select v-model="form.areacode" class="width100" filterable placeholder="请选择行政区">
11 <el-option v-for="item in []" :key="item.dcode" :label="item.dname" :value="item.dcode"> 11 <el-option v-for="item in dicData['XZQ']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
12 </el-option> 12 </el-option>
13 </el-select> 13 </el-select>
14 </el-form-item> 14 </el-form-item>
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
35 </div> 35 </div>
36 <!-- 列表区域 --> 36 <!-- 列表区域 -->
37 <div class="from-clues-content"> 37 <div class="from-clues-content">
38 <lb-table :page-size="pageData.size" :current-page.sync="pageData.current" :total="pageData.total" 38 <lb-table :page-size="pageData.size" :current-page.sync="pageData.current" :total="tableData.total"
39 @size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns" 39 @size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns"
40 :data="tableData.data"> 40 :data="tableData.data">
41 </lb-table> 41 </lb-table>
...@@ -48,9 +48,14 @@ ...@@ -48,9 +48,14 @@
48 import data from "./data" 48 import data from "./data"
49 // 引入表格混入方法 49 // 引入表格混入方法
50 import tableMixin from '@/mixins/tableMixin.js' 50 import tableMixin from '@/mixins/tableMixin.js'
51 import {getRecordLogPage} from "@/api/dbrzcx.js";
52 import { mapGetters } from 'vuex'
51 export default { 53 export default {
52 name: "dbrzcx", 54 name: "dbrzcx",
53 mixins: [tableMixin], 55 mixins: [tableMixin],
56 computed: {
57 ...mapGetters(['dicData'])
58 },
54 data () { 59 data () {
55 return { 60 return {
56 // 开始结束日期限制 61 // 开始结束日期限制
...@@ -75,10 +80,9 @@ export default { ...@@ -75,10 +80,9 @@ export default {
75 }, 80 },
76 // 表单 81 // 表单
77 form: { 82 form: {
78 pcode: '', 83 areacode: '',
79 startTime: '', 84 startTime: '',
80 endTime: '', 85 endTime: '',
81 currentPage: 1
82 }, 86 },
83 // table数据 87 // table数据
84 tableData: { 88 tableData: {
...@@ -90,7 +94,8 @@ export default { ...@@ -90,7 +94,8 @@ export default {
90 index: this.indexMethod, 94 index: this.indexMethod,
91 }].concat(data.columns()), 95 }].concat(data.columns()),
92 // 列表 96 // 列表
93 data: [] 97 data: [],
98 total: 0,
94 }, 99 },
95 // 分页 100 // 分页
96 pageData: { 101 pageData: {
...@@ -105,6 +110,13 @@ export default { ...@@ -105,6 +110,13 @@ export default {
105 this.$refs.ruleForm.resetFields(); 110 this.$refs.ruleForm.resetFields();
106 }, 111 },
107 async featchData () { 112 async featchData () {
113 getRecordLogPage({ ...this.form, ...this.pageData }).then(res => {
114 if (res.code === 200) {
115 let { total, records } = res.result
116 this.tableData.total = total;
117 this.tableData.data = records ? records : []
118 }
119 })
108 } 120 }
109 } 121 }
110 } 122 }
......