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
9be74bbf
authored
2023-05-11 10:12:36 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:导出表格配置化
1 parent
a4b488eb
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
57 additions
and
37 deletions
public/610702jg.json
public/610702sb.json
public/632701jg.json
public/632701sb.json
public/config.json
src/views/jsbwcx/data/index.js
src/views/jsbwcx/index.vue
src/views/statistics/dataReceiveQuality/index.vue
src/views/statistics/nullTermRatio/index.vue
src/views/statistics/registerBookQuality/index.vue
public/610702jg.json
View file @
9be74bb
...
...
@@ -4,6 +4,7 @@
"LOGIN"
:
"jg"
,
"CODE"
:
"BDCJGPT"
,
"AREARMAP"
:
"610702"
,
"XZQ"
:
"汉中市"
,
"SERVERAPI"
:
"/bdcsjsb"
,
"calcHeight"
:
200
,
"echartTextColor"
:
"#FFFFFF"
,
...
...
public/610702sb.json
View file @
9be74bb
...
...
@@ -4,6 +4,7 @@
"LOGIN"
:
"sb"
,
"CODE"
:
"BDCSBPT"
,
"AREARMAP"
:
"610702"
,
"XZQ"
:
"汉中市"
,
"SERVERAPI"
:
"/bdcsjsb"
,
"calcHeight"
:
160
,
"echartTextColor"
:
"#4A4A4A"
,
...
...
public/632701jg.json
View file @
9be74bb
...
...
@@ -4,6 +4,7 @@
"LOGIN"
:
"jg"
,
"CODE"
:
"BDCJGPT"
,
"AREARMAP"
:
"632701"
,
"XZQ"
:
"玉树州"
,
"SERVERAPI"
:
"/bdcsjsb"
,
"calcHeight"
:
200
,
"echartTextColor"
:
"#FFFFFF"
,
...
...
public/632701sb.json
View file @
9be74bb
...
...
@@ -4,6 +4,7 @@
"LOGIN"
:
"sb"
,
"CODE"
:
"BDCSBPT"
,
"AREARMAP"
:
"632701"
,
"XZQ"
:
"玉树州"
,
"SERVERAPI"
:
"/bdcsjsb"
,
"calcHeight"
:
160
,
"echartTextColor"
:
"#4A4A4A"
,
...
...
public/config.json
View file @
9be74bb
...
...
@@ -4,6 +4,7 @@
"LOGIN"
:
"jg"
,
"CODE"
:
"BDCJGPT"
,
"AREARMAP"
:
"610702"
,
"XZQ"
:
"汉中市"
,
"SERVERAPI"
:
"/bdcsjsb"
,
"calcHeight"
:
200
,
"echartTextColor"
:
"#FFFFFF"
,
...
...
src/views/jsbwcx/data/index.js
View file @
9be74bb
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-0
3-17 15:10:43
* @LastEditTime: 2023-0
5-11 10:02:44
*/
import
filter
from
'@/utils/filter.js'
class
data
extends
filter
{
...
...
@@ -10,6 +10,20 @@ class data extends filter {
}
columns
()
{
return
[
// {
// prop: 'sjlx',
// label: '数据类型',
// width: 90,
// render: (h, scope) => {
// return (
// <div>
// <span v-show={scope.row.sjlx == 1}>ftp上传</span>
// <span v-show={scope.row.sjlx == 2}>业务库抽取</span>
// <span v-show={scope.row.sjlx == 3}>存量数据</span>
// </div>
// )
// }
// },
{
prop
:
'jcjg'
,
label
:
'检查结果'
,
...
...
src/views/jsbwcx/index.vue
View file @
9be74bb
...
...
@@ -333,3 +333,4 @@
}
</
style
>
...
...
src/views/statistics/dataReceiveQuality/index.vue
View file @
9be74bb
...
...
@@ -136,7 +136,7 @@
// 生成文件名
generateFileName
()
{
var
reg
=
/
(\d{4})\-(\d{2})\-(\d{2})
/
;
this
.
downTitle
=
`汉中市
不动产登记增量数据接入质量评价表(
${
this
.
form
.
startTime
.
replace
(
reg
,
"$1年$2月$3日"
)}
至
${
this
.
form
.
endTime
.
replace
(
reg
,
"$1年$2月$3日"
)}
)`
this
.
downTitle
=
this
.
BASE_API
.
XZQ
+
`
不动产登记增量数据接入质量评价表(
${
this
.
form
.
startTime
.
replace
(
reg
,
"$1年$2月$3日"
)}
至
${
this
.
form
.
endTime
.
replace
(
reg
,
"$1年$2月$3日"
)}
)`
},
headerStyle
({
row
,
rowIndex
})
{
if
(
rowIndex
==
4
)
{
...
...
src/views/statistics/nullTermRatio/index.vue
View file @
9be74bb
...
...
@@ -44,17 +44,17 @@
</
template
>
<
script
>
// 相关字段空置率统计
// 引入表格头部数据
import
data
from
"./data"
;
// 引入table混入方法
import
tableMixin
from
"@/mixins/tableMixin.js"
;
// 导出excel表格
import
downLbTable
from
'@/components/DownLbTable'
// 获取时间
import
{
getCurrentDate
,
setExport2Excel
}
from
"@/utils/tools"
;
import
{
nonNullSta
}
from
"@/api/statistics.js"
;
export
default
{
// 相关字段空置率统计
// 引入表格头部数据
import
data
from
"./data"
;
// 引入table混入方法
import
tableMixin
from
"@/mixins/tableMixin.js"
;
// 导出excel表格
import
downLbTable
from
'@/components/DownLbTable'
// 获取时间
import
{
getCurrentDate
,
setExport2Excel
}
from
"@/utils/tools"
;
import
{
nonNullSta
}
from
"@/api/statistics.js"
;
export
default
{
name
:
"jsbwcx"
,
components
:
{
downLbTable
...
...
@@ -131,7 +131,7 @@ export default {
// 生成文件名
generateFileName
()
{
var
reg
=
/
(\d{4})\-(\d{2})\-(\d{2})
/
;
this
.
downTitle
=
`汉中市
不动产登记增量数据相关字段空项率统计(
${
this
.
form
.
startTime
.
replace
(
reg
,
"$1年$2月$3日"
)}
至
${
this
.
form
.
endTime
.
replace
(
reg
,
"$1年$2月$3日"
)}
)`
this
.
downTitle
=
this
.
BASE_API
.
XZQ
+
`
不动产登记增量数据相关字段空项率统计(
${
this
.
form
.
startTime
.
replace
(
reg
,
"$1年$2月$3日"
)}
至
${
this
.
form
.
endTime
.
replace
(
reg
,
"$1年$2月$3日"
)}
)`
},
handlesetExport2Excel
(
val
)
{
setExport2Excel
(
val
)
...
...
@@ -150,14 +150,14 @@ export default {
this
.
featchDataSelf
()
}
}
}
}
</
script
>
<
style
scoped
lang=
"scss"
>
//
引入表单整体样式
@import
"../css/index.scss"
;
//
引入表单整体样式
@import
"../css/index.scss"
;
/
deep
/
.el-table
thead
.is-group
th
.el-table__cell
{
/
deep
/
.el-table
thead
.is-group
th
.el-table__cell
{
height
:
14px
!important
;
}
}
</
style
>
...
...
src/views/statistics/registerBookQuality/index.vue
View file @
9be74bb
...
...
@@ -2,7 +2,7 @@
* @Author: yangwei
* @Date: 2023-02-17 16:32:50
* @LastEditors: Please set LastEditors
* @LastEditTime: 2023-0
3-28 10:24:52
* @LastEditTime: 2023-0
5-11 10:11:15
* @FilePath: \bdcjg-web\src\views\statistics\registerBookQuality\index.vue
* @Description:
*
...
...
@@ -54,18 +54,18 @@
</
template
>
<
script
>
// 登簿质量评价表
// 引入表格头部数据
import
data
from
"./data"
;
// 引入table混入方法
import
tableMixin
from
"@/mixins/tableMixin.js"
;
// 导出excel表格
import
downLbTable
from
'@/components/DownLbTable'
// 获取时间
import
{
getCurrentDate
,
setExport2Excel
}
from
"@/utils/tools"
;
import
{
registerBookQuality
}
from
"@/api/statistics.js"
;
// 登簿质量评价表
// 引入表格头部数据
import
data
from
"./data"
;
// 引入table混入方法
import
tableMixin
from
"@/mixins/tableMixin.js"
;
// 导出excel表格
import
downLbTable
from
'@/components/DownLbTable'
// 获取时间
import
{
getCurrentDate
,
setExport2Excel
}
from
"@/utils/tools"
;
import
{
registerBookQuality
}
from
"@/api/statistics.js"
;
export
default
{
export
default
{
name
:
"jsbwcx"
,
components
:
{
downLbTable
...
...
@@ -155,7 +155,7 @@ export default {
// 生成文件名
generateFileName
()
{
var
reg
=
/
(\d{4})\-(\d{2})\-(\d{2})
/
;
this
.
downTitle
=
`汉中市
不动产登记增量数据登簿质量评价表(
${
this
.
form
.
startTime
.
replace
(
reg
,
"$1年$2月$3日"
)}
至
${
this
.
form
.
endTime
.
replace
(
reg
,
"$1年$2月$3日"
)}
)`
this
.
downTitle
=
this
.
BASE_API
.
XZQ
+
`
不动产登记增量数据登簿质量评价表(
${
this
.
form
.
startTime
.
replace
(
reg
,
"$1年$2月$3日"
)}
至
${
this
.
form
.
endTime
.
replace
(
reg
,
"$1年$2月$3日"
)}
)`
},
handlesetExport2Excel
(
val
)
{
setExport2Excel
(
val
)
...
...
@@ -188,14 +188,14 @@ export default {
this
.
featchDataSelf
()
}
}
}
}
</
script
>
<
style
scoped
lang=
"scss"
>
//
引入表单整体样式
@import
"../css/index.scss"
;
//
引入表单整体样式
@import
"../css/index.scss"
;
/
deep
/
.el-table
thead
.is-group
th
.el-table__cell
{
/
deep
/
.el-table
thead
.is-group
th
.el-table__cell
{
height
:
14px
!important
;
}
}
</
style
>
...
...
Please
register
or
sign in
to post a comment