接入质量和登簿质量评价表接口联调
Showing
6 changed files
with
125 additions
and
51 deletions
1 | /* | ||
2 | * @Author: yangwei | ||
3 | * @Date: 2023-03-09 09:29:52 | ||
4 | * @LastEditors: yangwei | ||
5 | * @LastEditTime: 2023-03-09 10:31:31 | ||
6 | * @FilePath: \bdcjg-web\src\api\statistics.js | ||
7 | * @Description: | ||
8 | * | ||
9 | * Copyright (c) 2023 by ${git_name_email}, All Rights Reserved. | ||
10 | */ | ||
1 | import request from '@/utils/request' | 11 | import request from '@/utils/request' |
2 | import SERVER from './config' | 12 | import SERVER from './config' |
3 | 13 | const url = SERVER.SERVERAPI + '/rest/statistics/Efficient/' | |
4 | /** | 14 | /** |
5 | * dataReceiveQuality | 15 | * dataReceiveQuality |
6 | * @param startDate | 16 | * @param startDate |
... | @@ -9,7 +19,7 @@ import SERVER from './config' | ... | @@ -9,7 +19,7 @@ import SERVER from './config' |
9 | */ | 19 | */ |
10 | export function dataReceiveQuality (startDate, endDate) { | 20 | export function dataReceiveQuality (startDate, endDate) { |
11 | return request({ | 21 | return request({ |
12 | url: SERVER.SERVERAPI + '/rest/statistics/Efficient/dataReceiveQuality?startDate='+startDate+'&endDate='+endDate, | 22 | url: url + 'dataReceiveQuality?startDate='+startDate+'&endDate='+endDate, |
13 | method: 'post' | 23 | method: 'post' |
14 | }) | 24 | }) |
15 | } | 25 | } |
... | @@ -22,7 +32,7 @@ export function dataReceiveQuality (startDate, endDate) { | ... | @@ -22,7 +32,7 @@ export function dataReceiveQuality (startDate, endDate) { |
22 | */ | 32 | */ |
23 | export function nonNullSta (startDate, endDate) { | 33 | export function nonNullSta (startDate, endDate) { |
24 | return request({ | 34 | return request({ |
25 | url: SERVER.SERVERAPI + '/rest/statistics/Efficient/nonNullSta?startDate='+startDate+'&endDate='+endDate, | 35 | url: url + 'nonNullSta?startDate='+startDate+'&endDate='+endDate, |
26 | method: 'post' | 36 | method: 'post' |
27 | }) | 37 | }) |
28 | } | 38 | } |
... | @@ -35,7 +45,7 @@ export function nonNullSta (startDate, endDate) { | ... | @@ -35,7 +45,7 @@ export function nonNullSta (startDate, endDate) { |
35 | */ | 45 | */ |
36 | export function registerBookQuality (startDate, endDate) { | 46 | export function registerBookQuality (startDate, endDate) { |
37 | return request({ | 47 | return request({ |
38 | url: SERVER.SERVERAPI + '/rest/statistics/Efficient/registerBookQuality?startDate='+startDate+'&endDate='+endDate, | 48 | url: url + 'registerBookQuality?startDate='+startDate+'&endDate='+endDate, |
39 | method: 'post' | 49 | method: 'post' |
40 | }) | 50 | }) |
41 | } | 51 | } | ... | ... |
... | @@ -6,7 +6,7 @@ class data extends filter { | ... | @@ -6,7 +6,7 @@ class data extends filter { |
6 | columns () { | 6 | columns () { |
7 | return [ | 7 | return [ |
8 | { | 8 | { |
9 | prop: "xzq", | 9 | prop: "recType", |
10 | label: "行政区", | 10 | label: "行政区", |
11 | width: '90' | 11 | width: '90' |
12 | }, | 12 | }, |
... | @@ -14,38 +14,38 @@ class data extends filter { | ... | @@ -14,38 +14,38 @@ class data extends filter { |
14 | label: '增量数据接入情况', | 14 | label: '增量数据接入情况', |
15 | children: [ | 15 | children: [ |
16 | { | 16 | { |
17 | prop: 'bqjrlb', | 17 | prop: 'busniessCount', |
18 | label: '本期接入业务量(笔)', | 18 | label: '本期接入业务量(笔)', |
19 | }, | 19 | }, |
20 | { | 20 | { |
21 | prop: 'bqjrlc', | 21 | prop: 'receiveCount', |
22 | label: '本期接入业务量(次)', | 22 | label: '本期接入业务量(次)', |
23 | }, | 23 | }, |
24 | { | 24 | { |
25 | prop: 'xxx', | 25 | prop: 'recordTotal', |
26 | label: '本期登簿日志反映出的登簿量(条)', | 26 | label: '本期登簿日志反映出的登簿量(条)', |
27 | }, | 27 | }, |
28 | { | 28 | { |
29 | label: '本期接入质量评价', | 29 | label: '本期接入质量评价', |
30 | children: [ | 30 | children: [ |
31 | { | 31 | { |
32 | prop: 'xxx', | 32 | prop: 'noReportLog', |
33 | label: '未上报登簿日志县区数(个)', | 33 | label: '未上报登簿日志县区数(个)', |
34 | }, | 34 | }, |
35 | { | 35 | { |
36 | prop: 'xxx', | 36 | prop: 'noReportArea', |
37 | label: '未上报数据县区数(个)', | 37 | label: '未上报数据县区数(个)', |
38 | }, | 38 | }, |
39 | { | 39 | { |
40 | label: '本期未成功接入登簿量及在登簿日志量中的占比', | 40 | label: '本期未成功接入登簿量及在登簿日志量中的占比', |
41 | children: [ | 41 | children: [ |
42 | { | 42 | { |
43 | prop: 'xxx', | 43 | prop: 'failReportCount', |
44 | label: '未成功接入登簿量(条)', | 44 | label: '未成功接入登簿量(条)', |
45 | width: '120' | 45 | width: '120' |
46 | }, | 46 | }, |
47 | { | 47 | { |
48 | prop: 'xxx', | 48 | prop: 'failReportRatio', |
49 | label: '占比', | 49 | label: '占比', |
50 | width: '60' | 50 | width: '60' |
51 | } | 51 | } |
... | @@ -59,10 +59,10 @@ class data extends filter { | ... | @@ -59,10 +59,10 @@ class data extends filter { |
59 | width: '120', | 59 | width: '120', |
60 | children: [ | 60 | children: [ |
61 | { | 61 | { |
62 | prop: 'xxx', | 62 | prop: 'failReportCount24h', |
63 | }, | 63 | }, |
64 | { | 64 | { |
65 | prop: 'xxx', | 65 | prop: 'failReportRatio24h', |
66 | } | 66 | } |
67 | ] | 67 | ] |
68 | }, | 68 | }, |
... | @@ -71,10 +71,10 @@ class data extends filter { | ... | @@ -71,10 +71,10 @@ class data extends filter { |
71 | width: '120', | 71 | width: '120', |
72 | children: [ | 72 | children: [ |
73 | { | 73 | { |
74 | prop: 'xxx', | 74 | prop: 'failReportCount24To48h', |
75 | }, | 75 | }, |
76 | { | 76 | { |
77 | prop: 'xxx', | 77 | prop: 'failReportRatio24To48h', |
78 | } | 78 | } |
79 | ] | 79 | ] |
80 | }, | 80 | }, |
... | @@ -83,10 +83,10 @@ class data extends filter { | ... | @@ -83,10 +83,10 @@ class data extends filter { |
83 | width: '120', | 83 | width: '120', |
84 | children: [ | 84 | children: [ |
85 | { | 85 | { |
86 | prop: 'xxx', | 86 | prop: 'failReportCount48h', |
87 | }, | 87 | }, |
88 | { | 88 | { |
89 | prop: 'xxx', | 89 | prop: 'failReportRatio48h', |
90 | } | 90 | } |
91 | ] | 91 | ] |
92 | } | 92 | } |
... | @@ -105,7 +105,7 @@ class data extends filter { | ... | @@ -105,7 +105,7 @@ class data extends filter { |
105 | label: '非自动方式接入的区县数', | 105 | label: '非自动方式接入的区县数', |
106 | }, | 106 | }, |
107 | { | 107 | { |
108 | prop: 'xxx', | 108 | prop: 'rate', |
109 | label: '综合评分' | 109 | label: '综合评分' |
110 | } | 110 | } |
111 | ] | 111 | ] | ... | ... |
... | @@ -24,7 +24,7 @@ | ... | @@ -24,7 +24,7 @@ |
24 | <el-col :span="12" class="btnColRight"> | 24 | <el-col :span="12" class="btnColRight"> |
25 | <el-form-item> | 25 | <el-form-item> |
26 | <btn nativeType="cz" @click="handleResetForm">重置</btn> | 26 | <btn nativeType="cz" @click="handleResetForm">重置</btn> |
27 | <btn nativeType="cx" @click="handleSearch">查询</btn> | 27 | <btn nativeType="cx" @click="featchDataSelf">查询</btn> |
28 | <btn nativeType="cx" @click="handlesetExport2Excel(downTitle)">导出</btn> | 28 | <btn nativeType="cx" @click="handlesetExport2Excel(downTitle)">导出</btn> |
29 | </el-form-item> | 29 | </el-form-item> |
30 | </el-col> | 30 | </el-col> |
... | @@ -54,6 +54,7 @@ import tableMixin from "@/mixins/tableMixin.js"; | ... | @@ -54,6 +54,7 @@ import tableMixin from "@/mixins/tableMixin.js"; |
54 | import downLbTable from '@/components/DownLbTable' | 54 | import downLbTable from '@/components/DownLbTable' |
55 | // 获取时间 | 55 | // 获取时间 |
56 | import { getCurrentDate, setExport2Excel } from "@/utils/tools"; | 56 | import { getCurrentDate, setExport2Excel } from "@/utils/tools"; |
57 | import { dataReceiveQuality } from "@/api/statistics.js"; | ||
57 | export default { | 58 | export default { |
58 | name: "jsbwcx", | 59 | name: "jsbwcx", |
59 | components: { | 60 | components: { |
... | @@ -106,7 +107,7 @@ export default { | ... | @@ -106,7 +107,7 @@ export default { |
106 | label: "序号", | 107 | label: "序号", |
107 | type: "index", | 108 | type: "index", |
108 | width: "50", | 109 | width: "50", |
109 | index: this.indexMethod, | 110 | // index: this.indexMethod, |
110 | } | 111 | } |
111 | ] | 112 | ] |
112 | .concat(data.columns()), | 113 | .concat(data.columns()), |
... | @@ -153,11 +154,17 @@ export default { | ... | @@ -153,11 +154,17 @@ export default { |
153 | setExport2Excel(val) | 154 | setExport2Excel(val) |
154 | }, | 155 | }, |
155 | // 初始化数据 | 156 | // 初始化数据 |
156 | featchData () { }, | 157 | featchDataSelf () { |
158 | dataReceiveQuality(this.form.startTime, this.form.endTime).then(res => { | ||
159 | let records = res.result | ||
160 | this.tableData.data = records ? records : [] | ||
161 | }) | ||
162 | }, | ||
157 | // 重置 | 163 | // 重置 |
158 | handleResetForm () { | 164 | handleResetForm () { |
159 | this.form.startTime = getCurrentDate() | 165 | this.form.startTime = getCurrentDate() |
160 | this.form.endTime = getCurrentDate('time') | 166 | this.form.endTime = getCurrentDate('time') |
167 | this.featchDataSelf() | ||
161 | } | 168 | } |
162 | } | 169 | } |
163 | } | 170 | } | ... | ... |
... | @@ -11,12 +11,12 @@ | ... | @@ -11,12 +11,12 @@ |
11 | <el-col :span="6"> | 11 | <el-col :span="6"> |
12 | <el-form-item label="接收日期" prop="startTime"> | 12 | <el-form-item label="接收日期" prop="startTime"> |
13 | <el-date-picker type="date" class="width100" placeholder="开始日期" :picker-options="pickerOptionsStart" | 13 | <el-date-picker type="date" class="width100" placeholder="开始日期" :picker-options="pickerOptionsStart" |
14 | clearable v-model="form.startTime" value-format="yyyy-MM-dd"></el-date-picker> | 14 | v-model="form.startTime" value-format="yyyy-MM-dd"></el-date-picker> |
15 | </el-form-item> | 15 | </el-form-item> |
16 | </el-col> | 16 | </el-col> |
17 | <el-col :span="6"> | 17 | <el-col :span="6"> |
18 | <el-form-item label="至" prop="endTime" label-width="35px"> | 18 | <el-form-item label="至" prop="endTime" label-width="35px"> |
19 | <el-date-picker type="date" class="width100" placeholder="结束日期" :picker-options="pickerOptionsEnd" clearable | 19 | <el-date-picker type="date" class="width100" placeholder="结束日期" :picker-options="pickerOptionsEnd" |
20 | v-model="form.endTime" value-format="yyyy-MM-dd"></el-date-picker> | 20 | v-model="form.endTime" value-format="yyyy-MM-dd"></el-date-picker> |
21 | </el-form-item> | 21 | </el-form-item> |
22 | </el-col> | 22 | </el-col> |
... | @@ -25,7 +25,7 @@ | ... | @@ -25,7 +25,7 @@ |
25 | <el-form-item> | 25 | <el-form-item> |
26 | <btn nativeType="cz" @click="handleResetForm">重置</btn> | 26 | <btn nativeType="cz" @click="handleResetForm">重置</btn> |
27 | <!-- 导出excel --> | 27 | <!-- 导出excel --> |
28 | <btn nativeType="cx" @click="handleSearchSelf">查询</btn> | 28 | <btn nativeType="cx" @click="featchDataSelf">查询</btn> |
29 | <btn nativeType="cx" @click="handlesetExport2Excel(downTitle)">导出</btn> | 29 | <btn nativeType="cx" @click="handlesetExport2Excel(downTitle)">导出</btn> |
30 | </el-form-item> | 30 | </el-form-item> |
31 | </el-col> | 31 | </el-col> |
... | @@ -55,7 +55,6 @@ import downLbTable from '@/components/DownLbTable' | ... | @@ -55,7 +55,6 @@ import downLbTable from '@/components/DownLbTable' |
55 | // 获取时间 | 55 | // 获取时间 |
56 | import { getCurrentDate, setExport2Excel } from "@/utils/tools"; | 56 | import { getCurrentDate, setExport2Excel } from "@/utils/tools"; |
57 | import { nonNullSta } from "@/api/statistics.js"; | 57 | import { nonNullSta } from "@/api/statistics.js"; |
58 | import {getQlxxDictList} from "@/api/dict"; | ||
59 | export default { | 58 | export default { |
60 | name: "jsbwcx", | 59 | name: "jsbwcx", |
61 | components: { | 60 | components: { |
... | @@ -130,9 +129,6 @@ export default { | ... | @@ -130,9 +129,6 @@ export default { |
130 | this.generateFileName() | 129 | this.generateFileName() |
131 | }, | 130 | }, |
132 | methods: { | 131 | methods: { |
133 | handleSearchSelf () { | ||
134 | this.featchDataSelf() | ||
135 | }, | ||
136 | // 生成文件名 | 132 | // 生成文件名 |
137 | generateFileName () { | 133 | generateFileName () { |
138 | var reg = /(\d{4})\-(\d{2})\-(\d{2})/; | 134 | var reg = /(\d{4})\-(\d{2})\-(\d{2})/; |
... | @@ -143,22 +139,12 @@ export default { | ... | @@ -143,22 +139,12 @@ export default { |
143 | }, | 139 | }, |
144 | // 初始化数据 | 140 | // 初始化数据 |
145 | featchDataSelf () { | 141 | featchDataSelf () { |
146 | if (!this.form.startTime || this.form.startTime === '' || !this.form.endTime || this.form.endTime === '') { | ||
147 | this.$message.warning("请选择一个时间段") | ||
148 | return | ||
149 | } | ||
150 | nonNullSta(this.form.startTime, this.form.endTime).then(res => { | 142 | nonNullSta(this.form.startTime, this.form.endTime).then(res => { |
151 | let records = res.result | 143 | let records = res.result |
152 | this.tableData.data = records ? records : [] | 144 | this.tableData.data = records ? records : [] |
153 | }) | 145 | }) |
154 | }, | 146 | }, |
155 | // 重置 | 147 | // 重置 |
156 | resetForm () { | ||
157 | this.$refs.ruleForm.resetFields(); | ||
158 | this.form.currentPage = 1 | ||
159 | this.featchDataSelf(); | ||
160 | }, | ||
161 | // 重置 | ||
162 | handleResetForm () { | 148 | handleResetForm () { |
163 | this.form.startTime = getCurrentDate() | 149 | this.form.startTime = getCurrentDate() |
164 | this.form.endTime = getCurrentDate('time') | 150 | this.form.endTime = getCurrentDate('time') | ... | ... |
... | @@ -6,7 +6,7 @@ class data extends filter { | ... | @@ -6,7 +6,7 @@ class data extends filter { |
6 | columns () { | 6 | columns () { |
7 | return [ | 7 | return [ |
8 | { | 8 | { |
9 | prop: "xzq", | 9 | prop: "areaName", |
10 | label: "行政区划", | 10 | label: "行政区划", |
11 | width: '90' | 11 | width: '90' |
12 | }, | 12 | }, |
... | @@ -14,29 +14,69 @@ class data extends filter { | ... | @@ -14,29 +14,69 @@ class data extends filter { |
14 | label: '分项', | 14 | label: '分项', |
15 | children: [ | 15 | children: [ |
16 | { | 16 | { |
17 | prop: 'xxx', | 17 | width:1 |
18 | }, | ||
19 | { | ||
18 | label: '国有建设用地使用权登记得分及空项率', | 20 | label: '国有建设用地使用权登记得分及空项率', |
21 | children: [ | ||
22 | { | ||
23 | prop: 'gyjsydsyqRate', | ||
24 | }, | ||
25 | { | ||
26 | prop: 'gyjsydsyqRadio', | ||
27 | } | ||
28 | ] | ||
19 | }, | 29 | }, |
20 | { | 30 | { |
21 | prop: 'xxx', | ||
22 | label: '国有建设用地使用权和房屋所有权登记得分及空项率', | 31 | label: '国有建设用地使用权和房屋所有权登记得分及空项率', |
32 | children: [ | ||
33 | { | ||
34 | prop: 'fwsyqRate', | ||
35 | width: 176, | ||
36 | }, | ||
37 | { | ||
38 | prop: 'fwsyqRadio', | ||
39 | width: 176, | ||
40 | } | ||
41 | ] | ||
23 | }, | 42 | }, |
24 | { | 43 | { |
25 | prop: 'xxx', | ||
26 | label: '抵押权登记得分及空项率', | 44 | label: '抵押权登记得分及空项率', |
45 | children: [ | ||
46 | { | ||
47 | prop: 'dyqRate', | ||
48 | }, | ||
49 | { | ||
50 | prop: 'dyqRadio', | ||
51 | } | ||
52 | ] | ||
27 | }, | 53 | }, |
28 | { | 54 | { |
29 | prop: 'xxx', | ||
30 | label: '预告登记得分及空项率', | 55 | label: '预告登记得分及空项率', |
56 | children: [ | ||
57 | { | ||
58 | prop: 'ygdjRate', | ||
59 | }, | ||
60 | { | ||
61 | prop: 'ygdjRadio', | ||
62 | } | ||
63 | ] | ||
31 | }, | 64 | }, |
32 | { | 65 | { |
33 | prop: 'xxx', | ||
34 | label: '查封登记得分及空项率', | 66 | label: '查封登记得分及空项率', |
67 | children: [ | ||
68 | { | ||
69 | prop: 'cfdjRate', | ||
70 | }, | ||
71 | { | ||
72 | prop: 'cfdjRadio', | ||
73 | } | ||
74 | ] | ||
35 | } | 75 | } |
36 | ] | 76 | ] |
37 | }, | 77 | }, |
38 | { | 78 | { |
39 | prop: "xxx", | 79 | prop: "rate", |
40 | width: '90', | 80 | width: '90', |
41 | label: "综合评分", | 81 | label: "综合评分", |
42 | }, | 82 | }, | ... | ... |
1 | <!-- | ||
2 | * @Author: yangwei | ||
3 | * @Date: 2023-02-17 16:32:50 | ||
4 | * @LastEditors: yangwei | ||
5 | * @LastEditTime: 2023-03-09 11:19:43 | ||
6 | * @FilePath: \bdcjg-web\src\views\statistics\registerBookQuality\index.vue | ||
7 | * @Description: | ||
8 | * | ||
9 | * Copyright (c) 2023 by ${git_name_email}, All Rights Reserved. | ||
10 | --> | ||
1 | <!-- 接入质量评价表 --> | 11 | <!-- 接入质量评价表 --> |
2 | <template> | 12 | <template> |
3 | <div class="from-clues"> | 13 | <div class="from-clues"> |
... | @@ -11,12 +21,12 @@ | ... | @@ -11,12 +21,12 @@ |
11 | <el-col :span="6"> | 21 | <el-col :span="6"> |
12 | <el-form-item label="接收日期" prop="startTime"> | 22 | <el-form-item label="接收日期" prop="startTime"> |
13 | <el-date-picker type="date" class="width100" placeholder="开始日期" :picker-options="pickerOptionsStart" | 23 | <el-date-picker type="date" class="width100" placeholder="开始日期" :picker-options="pickerOptionsStart" |
14 | clearable v-model="form.startTime" value-format="yyyy-MM-dd"></el-date-picker> | 24 | v-model="form.startTime" value-format="yyyy-MM-dd"></el-date-picker> |
15 | </el-form-item> | 25 | </el-form-item> |
16 | </el-col> | 26 | </el-col> |
17 | <el-col :span="6"> | 27 | <el-col :span="6"> |
18 | <el-form-item label="至" prop="endTime" label-width="35px"> | 28 | <el-form-item label="至" prop="endTime" label-width="35px"> |
19 | <el-date-picker type="date" class="width100" placeholder="结束日期" :picker-options="pickerOptionsEnd" clearable | 29 | <el-date-picker type="date" class="width100" placeholder="结束日期" :picker-options="pickerOptionsEnd" |
20 | v-model="form.endTime" value-format="yyyy-MM-dd"></el-date-picker> | 30 | v-model="form.endTime" value-format="yyyy-MM-dd"></el-date-picker> |
21 | </el-form-item> | 31 | </el-form-item> |
22 | </el-col> | 32 | </el-col> |
... | @@ -24,7 +34,7 @@ | ... | @@ -24,7 +34,7 @@ |
24 | <el-col :span="12" class="btnColRight"> | 34 | <el-col :span="12" class="btnColRight"> |
25 | <el-form-item> | 35 | <el-form-item> |
26 | <btn nativeType="cz" @click="handleResetForm">重置</btn> | 36 | <btn nativeType="cz" @click="handleResetForm">重置</btn> |
27 | <btn nativeType="cx" @click="handleSearch">查询</btn> | 37 | <btn nativeType="cx" @click="featchDataSelf">查询</btn> |
28 | <btn nativeType="cx" @click="handlesetExport2Excel(downTitle)">导出</btn> | 38 | <btn nativeType="cx" @click="handlesetExport2Excel(downTitle)">导出</btn> |
29 | </el-form-item> | 39 | </el-form-item> |
30 | </el-col> | 40 | </el-col> |
... | @@ -33,7 +43,7 @@ | ... | @@ -33,7 +43,7 @@ |
33 | </div> | 43 | </div> |
34 | <!-- 列表区域 --> | 44 | <!-- 列表区域 --> |
35 | <div class="from-clues-content"> | 45 | <div class="from-clues-content"> |
36 | <lb-table ref="table" :pagination="false" :column="tableData.columns" :data="tableData.data"> | 46 | <lb-table ref="table" :pagination="false" :header-cell-style="headerStyle" :column="tableData.columns" :data="tableData.data"> |
37 | </lb-table> | 47 | </lb-table> |
38 | <down-lb-table ref="table" v-show="false" :id="'mytable'" :downExcel="true" :pagination="false" | 48 | <down-lb-table ref="table" v-show="false" :id="'mytable'" :downExcel="true" :pagination="false" |
39 | :column="tableData.columns" :data="tableData.data" :downTitle="downTitle"> | 49 | :column="tableData.columns" :data="tableData.data" :downTitle="downTitle"> |
... | @@ -52,6 +62,8 @@ import tableMixin from "@/mixins/tableMixin.js"; | ... | @@ -52,6 +62,8 @@ import tableMixin from "@/mixins/tableMixin.js"; |
52 | import downLbTable from '@/components/DownLbTable' | 62 | import downLbTable from '@/components/DownLbTable' |
53 | // 获取时间 | 63 | // 获取时间 |
54 | import { getCurrentDate, setExport2Excel } from "@/utils/tools"; | 64 | import { getCurrentDate, setExport2Excel } from "@/utils/tools"; |
65 | import { registerBookQuality } from "@/api/statistics.js"; | ||
66 | |||
55 | export default { | 67 | export default { |
56 | name: "jsbwcx", | 68 | name: "jsbwcx", |
57 | components: { | 69 | components: { |
... | @@ -136,12 +148,31 @@ export default { | ... | @@ -136,12 +148,31 @@ export default { |
136 | handlesetExport2Excel (val) { | 148 | handlesetExport2Excel (val) { |
137 | setExport2Excel(val) | 149 | setExport2Excel(val) |
138 | }, | 150 | }, |
151 | headerStyle ({ row, rowIndex }) { | ||
152 | if (rowIndex == 1) { | ||
153 | row[0].colSpan = 2 | ||
154 | row.forEach(item=>{ | ||
155 | item.rowSpan = 2 | ||
156 | }) | ||
157 | // row[0].rowSpan = 2; | ||
158 | // row[1].rowSpan = 2; | ||
159 | // row[2].rowSpan = 2; | ||
160 | // row[3].rowSpan = 2; | ||
161 | // row[4].rowSpan = 2; | ||
162 | } | ||
163 | }, | ||
139 | // 初始化数据 | 164 | // 初始化数据 |
140 | featchData () { }, | 165 | featchDataSelf () { |
166 | registerBookQuality(this.form.startTime, this.form.endTime).then(res => { | ||
167 | let records = res.result | ||
168 | this.tableData.data = records ? records : [] | ||
169 | }) | ||
170 | }, | ||
141 | // 重置 | 171 | // 重置 |
142 | handleResetForm () { | 172 | handleResetForm () { |
143 | this.form.startTime = getCurrentDate() | 173 | this.form.startTime = getCurrentDate() |
144 | this.form.endTime = getCurrentDate('time') | 174 | this.form.endTime = getCurrentDate('time') |
175 | this.featchDataSelf() | ||
145 | } | 176 | } |
146 | } | 177 | } |
147 | } | 178 | } | ... | ... |
-
Please register or sign in to post a comment