Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcjg-web
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
01fc196e
authored
2023-03-09 11:29:34 +0800
by
yangwei
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
接入质量和登簿质量评价表接口联调
1 parent
2c195217
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
125 additions
and
51 deletions
src/api/statistics.js
src/views/statistics/dataReceiveQuality/data/index.js
src/views/statistics/dataReceiveQuality/index.vue
src/views/statistics/nullTermRatio/index.vue
src/views/statistics/registerBookQuality/data/index.js
src/views/statistics/registerBookQuality/index.vue
src/api/statistics.js
View file @
01fc196
/*
* @Author: yangwei
* @Date: 2023-03-09 09:29:52
* @LastEditors: yangwei
* @LastEditTime: 2023-03-09 10:31:31
* @FilePath: \bdcjg-web\src\api\statistics.js
* @Description:
*
* Copyright (c) 2023 by ${git_name_email}, All Rights Reserved.
*/
import
request
from
'@/utils/request'
import
SERVER
from
'./config'
const
url
=
SERVER
.
SERVERAPI
+
'/rest/statistics/Efficient/'
/**
* dataReceiveQuality
* @param startDate
...
...
@@ -9,7 +19,7 @@ import SERVER from './config'
*/
export
function
dataReceiveQuality
(
startDate
,
endDate
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
'/rest/statistics/Efficient/
dataReceiveQuality?startDate='
+
startDate
+
'&endDate='
+
endDate
,
url
:
url
+
'
dataReceiveQuality?startDate='
+
startDate
+
'&endDate='
+
endDate
,
method
:
'post'
})
}
...
...
@@ -22,7 +32,7 @@ export function dataReceiveQuality (startDate, endDate) {
*/
export
function
nonNullSta
(
startDate
,
endDate
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
'/rest/statistics/Efficient/
nonNullSta?startDate='
+
startDate
+
'&endDate='
+
endDate
,
url
:
url
+
'
nonNullSta?startDate='
+
startDate
+
'&endDate='
+
endDate
,
method
:
'post'
})
}
...
...
@@ -35,7 +45,7 @@ export function nonNullSta (startDate, endDate) {
*/
export
function
registerBookQuality
(
startDate
,
endDate
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
'/rest/statistics/Efficient/
registerBookQuality?startDate='
+
startDate
+
'&endDate='
+
endDate
,
url
:
url
+
'
registerBookQuality?startDate='
+
startDate
+
'&endDate='
+
endDate
,
method
:
'post'
})
}
...
...
src/views/statistics/dataReceiveQuality/data/index.js
View file @
01fc196
...
...
@@ -6,7 +6,7 @@ class data extends filter {
columns
()
{
return
[
{
prop
:
"
xzq
"
,
prop
:
"
recType
"
,
label
:
"行政区"
,
width
:
'90'
},
...
...
@@ -14,38 +14,38 @@ class data extends filter {
label
:
'增量数据接入情况'
,
children
:
[
{
prop
:
'b
qjrlb
'
,
prop
:
'b
usniessCount
'
,
label
:
'本期接入业务量(笔)'
,
},
{
prop
:
'
bqjrlc
'
,
prop
:
'
receiveCount
'
,
label
:
'本期接入业务量(次)'
,
},
{
prop
:
'
xxx
'
,
prop
:
'
recordTotal
'
,
label
:
'本期登簿日志反映出的登簿量(条)'
,
},
{
label
:
'本期接入质量评价'
,
children
:
[
{
prop
:
'
xxx
'
,
prop
:
'
noReportLog
'
,
label
:
'未上报登簿日志县区数(个)'
,
},
{
prop
:
'
xxx
'
,
prop
:
'
noReportArea
'
,
label
:
'未上报数据县区数(个)'
,
},
{
label
:
'本期未成功接入登簿量及在登簿日志量中的占比'
,
children
:
[
{
prop
:
'
xxx
'
,
prop
:
'
failReportCount
'
,
label
:
'未成功接入登簿量(条)'
,
width
:
'120'
},
{
prop
:
'
xxx
'
,
prop
:
'
failReportRatio
'
,
label
:
'占比'
,
width
:
'60'
}
...
...
@@ -59,10 +59,10 @@ class data extends filter {
width
:
'120'
,
children
:
[
{
prop
:
'
xxx
'
,
prop
:
'
failReportCount24h
'
,
},
{
prop
:
'
xxx
'
,
prop
:
'
failReportRatio24h
'
,
}
]
},
...
...
@@ -71,10 +71,10 @@ class data extends filter {
width
:
'120'
,
children
:
[
{
prop
:
'
xxx
'
,
prop
:
'
failReportCount24To48h
'
,
},
{
prop
:
'
xxx
'
,
prop
:
'
failReportRatio24To48h
'
,
}
]
},
...
...
@@ -83,10 +83,10 @@ class data extends filter {
width
:
'120'
,
children
:
[
{
prop
:
'
xxx
'
,
prop
:
'
failReportCount48h
'
,
},
{
prop
:
'
xxx
'
,
prop
:
'
failReportRatio48h
'
,
}
]
}
...
...
@@ -105,7 +105,7 @@ class data extends filter {
label
:
'非自动方式接入的区县数'
,
},
{
prop
:
'
xxx
'
,
prop
:
'
rate
'
,
label
:
'综合评分'
}
]
...
...
src/views/statistics/dataReceiveQuality/index.vue
View file @
01fc196
...
...
@@ -24,7 +24,7 @@
<el-col
:span=
"12"
class=
"btnColRight"
>
<el-form-item>
<btn
nativeType=
"cz"
@
click=
"handleResetForm"
>
重置
</btn>
<btn
nativeType=
"cx"
@
click=
"
handleSearch
"
>
查询
</btn>
<btn
nativeType=
"cx"
@
click=
"
featchDataSelf
"
>
查询
</btn>
<btn
nativeType=
"cx"
@
click=
"handlesetExport2Excel(downTitle)"
>
导出
</btn>
</el-form-item>
</el-col>
...
...
@@ -54,6 +54,7 @@ import tableMixin from "@/mixins/tableMixin.js";
import
downLbTable
from
'@/components/DownLbTable'
// 获取时间
import
{
getCurrentDate
,
setExport2Excel
}
from
"@/utils/tools"
;
import
{
dataReceiveQuality
}
from
"@/api/statistics.js"
;
export
default
{
name
:
"jsbwcx"
,
components
:
{
...
...
@@ -106,7 +107,7 @@ export default {
label
:
"序号"
,
type
:
"index"
,
width
:
"50"
,
index
:
this
.
indexMethod
,
//
index: this.indexMethod,
}
]
.
concat
(
data
.
columns
()),
...
...
@@ -153,11 +154,17 @@ export default {
setExport2Excel
(
val
)
},
// 初始化数据
featchData
()
{
},
featchDataSelf
()
{
dataReceiveQuality
(
this
.
form
.
startTime
,
this
.
form
.
endTime
).
then
(
res
=>
{
let
records
=
res
.
result
this
.
tableData
.
data
=
records
?
records
:
[]
})
},
// 重置
handleResetForm
()
{
this
.
form
.
startTime
=
getCurrentDate
()
this
.
form
.
endTime
=
getCurrentDate
(
'time'
)
this
.
featchDataSelf
()
}
}
}
...
...
src/views/statistics/nullTermRatio/index.vue
View file @
01fc196
...
...
@@ -11,12 +11,12 @@
<el-col
:span=
"6"
>
<el-form-item
label=
"接收日期"
prop=
"startTime"
>
<el-date-picker
type=
"date"
class=
"width100"
placeholder=
"开始日期"
:picker-options=
"pickerOptionsStart"
clearable
v-model=
"form.startTime"
value-format=
"yyyy-MM-dd"
></el-date-picker>
v-model=
"form.startTime"
value-format=
"yyyy-MM-dd"
></el-date-picker>
</el-form-item>
</el-col>
<el-col
:span=
"6"
>
<el-form-item
label=
"至"
prop=
"endTime"
label-width=
"35px"
>
<el-date-picker
type=
"date"
class=
"width100"
placeholder=
"结束日期"
:picker-options=
"pickerOptionsEnd"
clearable
<el-date-picker
type=
"date"
class=
"width100"
placeholder=
"结束日期"
:picker-options=
"pickerOptionsEnd"
v-model=
"form.endTime"
value-format=
"yyyy-MM-dd"
></el-date-picker>
</el-form-item>
</el-col>
...
...
@@ -25,7 +25,7 @@
<el-form-item>
<btn
nativeType=
"cz"
@
click=
"handleResetForm"
>
重置
</btn>
<!-- 导出excel -->
<btn
nativeType=
"cx"
@
click=
"
handleSearch
Self"
>
查询
</btn>
<btn
nativeType=
"cx"
@
click=
"
featchData
Self"
>
查询
</btn>
<btn
nativeType=
"cx"
@
click=
"handlesetExport2Excel(downTitle)"
>
导出
</btn>
</el-form-item>
</el-col>
...
...
@@ -55,7 +55,6 @@ import downLbTable from '@/components/DownLbTable'
// 获取时间
import
{
getCurrentDate
,
setExport2Excel
}
from
"@/utils/tools"
;
import
{
nonNullSta
}
from
"@/api/statistics.js"
;
import
{
getQlxxDictList
}
from
"@/api/dict"
;
export
default
{
name
:
"jsbwcx"
,
components
:
{
...
...
@@ -130,9 +129,6 @@ export default {
this
.
generateFileName
()
},
methods
:
{
handleSearchSelf
()
{
this
.
featchDataSelf
()
},
// 生成文件名
generateFileName
()
{
var
reg
=
/
(\d{4})\-(\d{2})\-(\d{2})
/
;
...
...
@@ -143,22 +139,12 @@ export default {
},
// 初始化数据
featchDataSelf
()
{
if
(
!
this
.
form
.
startTime
||
this
.
form
.
startTime
===
''
||
!
this
.
form
.
endTime
||
this
.
form
.
endTime
===
''
)
{
this
.
$message
.
warning
(
"请选择一个时间段"
)
return
}
nonNullSta
(
this
.
form
.
startTime
,
this
.
form
.
endTime
).
then
(
res
=>
{
let
records
=
res
.
result
this
.
tableData
.
data
=
records
?
records
:
[]
})
},
// 重置
resetForm
()
{
this
.
$refs
.
ruleForm
.
resetFields
();
this
.
form
.
currentPage
=
1
this
.
featchDataSelf
();
},
// 重置
handleResetForm
()
{
this
.
form
.
startTime
=
getCurrentDate
()
this
.
form
.
endTime
=
getCurrentDate
(
'time'
)
...
...
src/views/statistics/registerBookQuality/data/index.js
View file @
01fc196
...
...
@@ -6,7 +6,7 @@ class data extends filter {
columns
()
{
return
[
{
prop
:
"
xzq
"
,
prop
:
"
areaName
"
,
label
:
"行政区划"
,
width
:
'90'
},
...
...
@@ -14,29 +14,69 @@ class data extends filter {
label
:
'分项'
,
children
:
[
{
prop
:
'xxx'
,
width
:
1
},
{
label
:
'国有建设用地使用权登记得分及空项率'
,
children
:
[
{
prop
:
'gyjsydsyqRate'
,
},
{
prop
:
'gyjsydsyqRadio'
,
}
]
},
{
prop
:
'xxx'
,
label
:
'国有建设用地使用权和房屋所有权登记得分及空项率'
,
children
:
[
{
prop
:
'fwsyqRate'
,
width
:
176
,
},
{
prop
:
'fwsyqRadio'
,
width
:
176
,
}
]
},
{
prop
:
'xxx'
,
label
:
'抵押权登记得分及空项率'
,
children
:
[
{
prop
:
'dyqRate'
,
},
{
prop
:
'dyqRadio'
,
}
]
},
{
prop
:
'xxx'
,
label
:
'预告登记得分及空项率'
,
children
:
[
{
prop
:
'ygdjRate'
,
},
{
prop
:
'ygdjRadio'
,
}
]
},
{
prop
:
'xxx'
,
label
:
'查封登记得分及空项率'
,
children
:
[
{
prop
:
'cfdjRate'
,
},
{
prop
:
'cfdjRadio'
,
}
]
}
]
},
{
prop
:
"
xxx
"
,
prop
:
"
rate
"
,
width
:
'90'
,
label
:
"综合评分"
,
},
...
...
src/views/statistics/registerBookQuality/index.vue
View file @
01fc196
<!--
* @Author: yangwei
* @Date: 2023-02-17 16:32:50
* @LastEditors: yangwei
* @LastEditTime: 2023-03-09 11:19:43
* @FilePath: \bdcjg-web\src\views\statistics\registerBookQuality\index.vue
* @Description:
*
* Copyright (c) 2023 by ${git_name_email}, All Rights Reserved.
-->
<!-- 接入质量评价表 -->
<
template
>
<div
class=
"from-clues"
>
...
...
@@ -11,12 +21,12 @@
<el-col
:span=
"6"
>
<el-form-item
label=
"接收日期"
prop=
"startTime"
>
<el-date-picker
type=
"date"
class=
"width100"
placeholder=
"开始日期"
:picker-options=
"pickerOptionsStart"
clearable
v-model=
"form.startTime"
value-format=
"yyyy-MM-dd"
></el-date-picker>
v-model=
"form.startTime"
value-format=
"yyyy-MM-dd"
></el-date-picker>
</el-form-item>
</el-col>
<el-col
:span=
"6"
>
<el-form-item
label=
"至"
prop=
"endTime"
label-width=
"35px"
>
<el-date-picker
type=
"date"
class=
"width100"
placeholder=
"结束日期"
:picker-options=
"pickerOptionsEnd"
clearable
<el-date-picker
type=
"date"
class=
"width100"
placeholder=
"结束日期"
:picker-options=
"pickerOptionsEnd"
v-model=
"form.endTime"
value-format=
"yyyy-MM-dd"
></el-date-picker>
</el-form-item>
</el-col>
...
...
@@ -24,7 +34,7 @@
<el-col
:span=
"12"
class=
"btnColRight"
>
<el-form-item>
<btn
nativeType=
"cz"
@
click=
"handleResetForm"
>
重置
</btn>
<btn
nativeType=
"cx"
@
click=
"
handleSearch
"
>
查询
</btn>
<btn
nativeType=
"cx"
@
click=
"
featchDataSelf
"
>
查询
</btn>
<btn
nativeType=
"cx"
@
click=
"handlesetExport2Excel(downTitle)"
>
导出
</btn>
</el-form-item>
</el-col>
...
...
@@ -33,7 +43,7 @@
</div>
<!-- 列表区域 -->
<div
class=
"from-clues-content"
>
<lb-table
ref=
"table"
:pagination=
"false"
:column=
"tableData.columns"
:data=
"tableData.data"
>
<lb-table
ref=
"table"
:pagination=
"false"
:header-cell-style=
"headerStyle"
:column=
"tableData.columns"
:data=
"tableData.data"
>
</lb-table>
<down-lb-table
ref=
"table"
v-show=
"false"
:id=
"'mytable'"
:downExcel=
"true"
:pagination=
"false"
:column=
"tableData.columns"
:data=
"tableData.data"
:downTitle=
"downTitle"
>
...
...
@@ -52,6 +62,8 @@ import tableMixin from "@/mixins/tableMixin.js";
import
downLbTable
from
'@/components/DownLbTable'
// 获取时间
import
{
getCurrentDate
,
setExport2Excel
}
from
"@/utils/tools"
;
import
{
registerBookQuality
}
from
"@/api/statistics.js"
;
export
default
{
name
:
"jsbwcx"
,
components
:
{
...
...
@@ -136,12 +148,31 @@ export default {
handlesetExport2Excel
(
val
)
{
setExport2Excel
(
val
)
},
headerStyle
({
row
,
rowIndex
})
{
if
(
rowIndex
==
1
)
{
row
[
0
].
colSpan
=
2
row
.
forEach
(
item
=>
{
item
.
rowSpan
=
2
})
// row[0].rowSpan = 2;
// row[1].rowSpan = 2;
// row[2].rowSpan = 2;
// row[3].rowSpan = 2;
// row[4].rowSpan = 2;
}
},
// 初始化数据
featchData
()
{
},
featchDataSelf
()
{
registerBookQuality
(
this
.
form
.
startTime
,
this
.
form
.
endTime
).
then
(
res
=>
{
let
records
=
res
.
result
this
.
tableData
.
data
=
records
?
records
:
[]
})
},
// 重置
handleResetForm
()
{
this
.
form
.
startTime
=
getCurrentDate
()
this
.
form
.
endTime
=
getCurrentDate
(
'time'
)
this
.
featchDataSelf
()
}
}
}
...
...
Please
register
or
sign in
to post a comment