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
4481a1bf
authored
2023-07-31 14:28:39 +0800
by
yuanbo
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
增加注释
1 parent
ff1c0c09
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
285 additions
and
4 deletions
src/views/error-page/404.vue
src/views/home/dataView/box.vue
src/views/home/dataView/index.vue
src/views/home/dataView/leftcard.vue
src/views/home/dataView/rightcard.vue
src/views/home/dataView/screencontent.vue
src/views/home/wgsl.vue
src/views/jktj/bsxljk/index.vue
src/views/jktj/cgltj/index.vue
src/views/jktj/dataReceiveQuality/index.vue
src/views/jktj/nullTermRatio/index.vue
src/views/jktj/registerBookQuality/index.vue
src/views/jktj/ywltj/index.vue
src/views/login/index.vue
src/views/qxjr/gbxxcx/components/result.vue
src/views/qxjr/gbxxcx/index.vue
src/views/qxjr/jsbwcx/index.vue
src/views/error-page/404.vue
View file @
4481a1b
...
...
@@ -19,6 +19,10 @@ export default {
}
},
methods
:
{
/**
* @description: nextTo
* @author: renchao
*/
nextTo
()
{
this
.
$router
.
push
({
path
:
this
.
redirect
||
'/'
,
...
...
src/views/home/dataView/box.vue
View file @
4481a1b
...
...
@@ -27,6 +27,10 @@ export default {
window
.
addEventListener
(
"resize"
,
this
.
debounce
(
this
.
setScale
));
},
methods
:
{
/**
* @description: getScale
* @author: renchao
*/
getScale
()
{
// 固定好16:9的宽高比,计算出最合适的缩放比
const
{
width
,
height
}
=
this
;
...
...
@@ -34,6 +38,10 @@ export default {
const
ww
=
window
.
innerWidth
/
width
;
return
ww
<
wh
?
ww
:
wh
;
},
/**
* @description: setScale
* @author: renchao
*/
setScale
()
{
// 获取到缩放比例,设置它
this
.
scale
=
this
.
getScale
();
...
...
@@ -41,6 +49,12 @@ export default {
this
.
$refs
.
ScaleBox
.
style
.
setProperty
(
"--scale"
,
this
.
scale
);
}
},
/**
* @description: debounce
* @param {*} fn
* @param {*} delay
* @author: renchao
*/
debounce
(
fn
,
delay
)
{
const
delays
=
delay
||
500
;
let
timer
;
...
...
src/views/home/dataView/index.vue
View file @
4481a1b
...
...
@@ -56,6 +56,10 @@
clearInterval
(
this
.
timing
);
},
methods
:
{
/**
* @description: cancelLoading
* @author: renchao
*/
cancelLoading
()
{
setTimeout
(()
=>
{
this
.
loading
=
false
;
...
...
src/views/home/dataView/leftcard.vue
View file @
4481a1b
...
...
@@ -91,6 +91,10 @@
},
},
methods
:
{
/**
* @description: getsthjqxjrtotal
* @author: renchao
*/
getsthjqxjrtotal
()
{
return
new
Promise
(
async
(
resolve
)
=>
{
try
{
...
...
@@ -119,6 +123,10 @@
}
});
},
/**
* @description: handleSthj
* @author: renchao
*/
handleSthj
()
{
this
.
$router
.
push
({
path
:
'/sthj/sbbwcx'
,
...
...
src/views/home/dataView/rightcard.vue
View file @
4481a1b
...
...
@@ -58,6 +58,10 @@
},
methods
:
{
// 获取登记业务量玫瑰图数据
/**
* @description: 获取登记业务量玫瑰图数据
* @author: renchao
*/
async
getdjywltotal
()
{
try
{
let
p
=
{
...
...
src/views/home/dataView/screencontent.vue
View file @
4481a1b
...
...
@@ -36,6 +36,10 @@
clearInterval
(
this
.
timing
);
},
methods
:
{
/**
* @description: cancelLoading
* @author: renchao
*/
cancelLoading
()
{
setTimeout
(()
=>
{
this
.
loading
=
false
;
...
...
src/views/home/wgsl.vue
View file @
4481a1b
...
...
@@ -4,7 +4,7 @@
<div
class=
"map-box"
ref=
"mapContainProvince"
/>
</div>
</
template
>
<
script
>
export
default
{
data
()
{
...
...
@@ -56,6 +56,12 @@ export default {
};
},
methods
:
{
/**
* @description: drawProvinceMap
* @param {*} provinceName
* @param {*} mapName
* @author: renchao
*/
drawProvinceMap
(
provinceName
,
mapName
)
{
this
.
provinceName
=
provinceName
;
this
.
mapName
=
mapName
;
...
...
src/views/jktj/bsxljk/index.vue
View file @
4481a1b
...
...
@@ -76,10 +76,19 @@
...
mapGetters
([
"dicData"
]),
},
methods
:
{
/**
* @description: endTimeChange
* @param {*} val
* @author: renchao
*/
endTimeChange
(
val
)
{
this
.
form
.
endTime
=
timeFormat
(
new
Date
(
val
),
true
);
},
//查询各区县办件数量
/**
* @description: 查询各区县办件数量
* @author: renchao
*/
async
getProcessCounts
()
{
this
.
pieChartsData
=
[];
let
{
result
:
res
}
=
await
efficient
.
getProcessCounts
(
...
...
@@ -106,6 +115,10 @@
});
},
// 重置
/**
* @description: 重置
* @author: renchao
*/
resetForm
()
{
this
.
form
=
{
startTime
:
getFirstDayOfSeason
(),
...
...
@@ -114,6 +127,10 @@
this
.
getProcessCounts
();
},
//玫瑰图初始化
/**
* @description: 玫瑰图初始化
* @author: renchao
*/
echartInit
()
{
let
_this
=
this
;
// 基于准备好的dom,初始化echarts实例
...
...
@@ -178,6 +195,11 @@
});
},
//柱图初始化
/**
* @description: 柱图初始化
* @param {*} recType
* @author: renchao
*/
async
barChartInit
(
recType
)
{
//请求recType对应业务的各区县数据
let
{
result
:
res
}
=
await
efficient
.
getProcessDays
(
...
...
src/views/jktj/cgltj/index.vue
View file @
4481a1b
...
...
@@ -87,9 +87,18 @@
...
mapGetters
([
"dicData"
]),
},
methods
:
{
/**
* @description: endTimeChange
* @param {*} val
* @author: renchao
*/
endTimeChange
(
val
)
{
this
.
form
.
endTime
=
timeFormat
(
new
Date
(
val
),
true
)
},
/**
* @description: getSuucessRate
* @author: renchao
*/
async
getSuucessRate
()
{
this
.
recTypeArr
=
[];
this
.
chartData
=
[];
...
...
@@ -113,6 +122,10 @@
});
},
// 重置
/**
* @description: 重置
* @author: renchao
*/
resetForm
()
{
this
.
form
=
{
startTime
:
getFirstDayOfSeason
(),
...
...
@@ -121,6 +134,10 @@
};
this
.
getSuucessRate
();
},
/**
* @description: echartInit
* @author: renchao
*/
echartInit
()
{
let
_this
=
this
;
// 基于准备好的dom,初始化echarts实例
...
...
src/views/jktj/dataReceiveQuality/index.vue
View file @
4481a1b
...
...
@@ -130,12 +130,26 @@
this
.
generateFileName
()
},
methods
:
{
/**
* @description: handleSearch
* @author: renchao
*/
handleSearch
()
{
},
// 生成文件名
/**
* @description: 生成文件名
* @author: renchao
*/
generateFileName
()
{
var
reg
=
/
(\d{4})\-(\d{2})\-(\d{2})
/
;
this
.
downTitle
=
this
.
BASE_API
.
XZQ
+
`不动产登记增量数据接入质量评价表(
${
this
.
form
.
startTime
.
replace
(
reg
,
"$1年$2月$3日"
)}
至
${
this
.
form
.
endTime
.
replace
(
reg
,
"$1年$2月$3日"
)}
)`
},
/**
* @description: headerStyle
* @param {*} row
* @param {*} rowIndex
* @author: renchao
*/
headerStyle
({
row
,
rowIndex
})
{
if
(
rowIndex
==
4
)
{
row
[
2
].
rowSpan
=
2
;
...
...
@@ -143,6 +157,12 @@
row
[
4
].
rowSpan
=
2
;
}
},
/**
* @description: headerStyle1
* @param {*} row
* @param {*} rowIndex
* @author: renchao
*/
headerStyle1
({
row
,
rowIndex
})
{
if
(
rowIndex
==
3
)
{
row
[
2
].
rowSpan
=
2
;
...
...
@@ -150,6 +170,11 @@
row
[
4
].
rowSpan
=
2
;
}
},
/**
* @description: handlesetExport2Excel
* @param {*} val
* @author: renchao
*/
handlesetExport2Excel
(
val
)
{
this
.
disableds
=
true
setTimeout
(()
=>
{
...
...
@@ -159,6 +184,10 @@
setExport2Excel
(
val
)
},
// 初始化数据
/**
* @description: 初始化数据
* @author: renchao
*/
featchDataSelf
()
{
dataReceiveQuality
(
this
.
form
.
startTime
,
this
.
form
.
endTime
).
then
(
res
=>
{
let
records
=
res
.
result
...
...
@@ -166,6 +195,10 @@
})
},
// 重置
/**
* @description: 重置
* @author: renchao
*/
handleResetForm
()
{
this
.
form
.
startTime
=
getCurrentDate
()
this
.
form
.
endTime
=
getCurrentDate
(
'time'
)
...
...
src/views/jktj/nullTermRatio/index.vue
View file @
4481a1b
...
...
@@ -127,14 +127,27 @@
},
methods
:
{
// 生成文件名
/**
* @description: 生成文件名
* @author: renchao
*/
generateFileName
()
{
var
reg
=
/
(\d{4})\-(\d{2})\-(\d{2})
/
;
this
.
downTitle
=
this
.
BASE_API
.
XZQ
+
`不动产登记增量数据相关字段空项率统计(
${
this
.
form
.
startTime
.
replace
(
reg
,
"$1年$2月$3日"
)}
至
${
this
.
form
.
endTime
.
replace
(
reg
,
"$1年$2月$3日"
)}
)`
},
/**
* @description: handlesetExport2Excel
* @param {*} val
* @author: renchao
*/
handlesetExport2Excel
(
val
)
{
setExport2Excel
(
val
)
},
// 初始化数据
/**
* @description: 初始化数据
* @author: renchao
*/
featchDataSelf
()
{
nonNullSta
(
this
.
form
.
startTime
,
this
.
form
.
endTime
).
then
(
res
=>
{
let
records
=
res
.
result
...
...
@@ -142,6 +155,10 @@
})
},
// 重置
/**
* @description: 重置
* @author: renchao
*/
handleResetForm
()
{
this
.
form
.
startTime
=
getCurrentDate
()
this
.
form
.
endTime
=
getCurrentDate
(
'time'
)
...
...
src/views/jktj/registerBookQuality/index.vue
View file @
4481a1b
...
...
@@ -4,9 +4,9 @@
* @LastEditors: Please set LastEditors
* @LastEditTime: 2023-05-11 10:11:15
* @FilePath: \bdcjg-web\src\views\statistics\registerBookQuality\index.vue
* @Description:
*
* Copyright (c) 2023 by ${git_name_email}, All Rights Reserved.
* @Description:
*
* Copyright (c) 2023 by ${git_name_email}, All Rights Reserved.
-->
<!-- 接入质量评价表 -->
<
template
>
...
...
@@ -149,15 +149,34 @@
},
methods
:
{
/**
* @description: handleSearch
* @author: renchao
*/
handleSearch
()
{
},
// 生成文件名
/**
* @description: 生成文件名
* @author: renchao
*/
generateFileName
()
{
var
reg
=
/
(\d{4})\-(\d{2})\-(\d{2})
/
;
this
.
downTitle
=
this
.
BASE_API
.
XZQ
+
`不动产登记增量数据登簿质量评价表(
${
this
.
form
.
startTime
.
replace
(
reg
,
"$1年$2月$3日"
)}
至
${
this
.
form
.
endTime
.
replace
(
reg
,
"$1年$2月$3日"
)}
)`
},
/**
* @description: handlesetExport2Excel
* @param {*} val
* @author: renchao
*/
handlesetExport2Excel
(
val
)
{
setExport2Excel
(
val
)
},
/**
* @description: headerStyle
* @param {*} row
* @param {*} rowIndex
* @author: renchao
*/
headerStyle
({
row
,
rowIndex
})
{
if
(
rowIndex
==
1
)
{
row
.
forEach
(
item
=>
{
...
...
@@ -165,6 +184,12 @@
})
}
},
/**
* @description: headerStyle1
* @param {*} row
* @param {*} rowIndex
* @author: renchao
*/
headerStyle1
({
row
,
rowIndex
})
{
if
(
rowIndex
==
2
)
{
row
.
forEach
(
item
=>
{
...
...
@@ -173,6 +198,10 @@
}
},
// 初始化数据
/**
* @description: 初始化数据
* @author: renchao
*/
featchDataSelf
()
{
registerBookQuality
(
this
.
form
.
startTime
,
this
.
form
.
endTime
).
then
(
res
=>
{
let
records
=
res
.
result
...
...
@@ -180,6 +209,10 @@
})
},
// 重置
/**
* @description: 重置
* @author: renchao
*/
handleResetForm
()
{
this
.
form
.
startTime
=
getCurrentDate
()
this
.
form
.
endTime
=
getCurrentDate
(
'time'
)
...
...
src/views/jktj/ywltj/index.vue
View file @
4481a1b
...
...
@@ -86,9 +86,18 @@
...
mapGetters
([
"dicData"
]),
},
methods
:
{
/**
* @description: endTimeChange
* @param {*} val
* @author: renchao
*/
endTimeChange
(
val
)
{
this
.
form
.
endTime
=
timeFormat
(
new
Date
(
val
),
true
)
},
/**
* @description: getProcessCounts
* @author: renchao
*/
async
getProcessCounts
()
{
this
.
chartData
=
[];
let
{
result
:
res
}
=
await
efficient
.
getProcessCounts
(
...
...
@@ -105,6 +114,10 @@
},
// 重置
/**
* @description: 重置
* @author: renchao
*/
resetForm
()
{
this
.
form
=
{
startTime
:
getFirstDayOfSeason
(),
...
...
@@ -114,6 +127,11 @@
this
.
getProcessCounts
();
},
//图表渲染
/**
* @description: 图表渲染
* @param {*} chartArr
* @author: renchao
*/
echartInit
(
chartArr
)
{
// 基于准备好的dom,初始化echarts实例
let
myChart
=
this
.
$echarts
.
init
(
document
.
getElementById
(
"myChart"
));
...
...
src/views/login/index.vue
View file @
4481a1b
...
...
@@ -45,6 +45,11 @@ export default {
},
methods
:
{
//记住用户名
/**
* @description: 记住用户名
* @param {*} flag
* @author: renchao
*/
checkUserName
:
function
(
flag
)
{
this
.
user
.
checkStatus
=
flag
;
if
(
this
.
user
.
checkStatus
)
{
...
...
@@ -59,6 +64,11 @@ export default {
this
.
user
.
account
=
localStorage
.
getItem
(
"accountId"
);
}
},
/**
* @description: login
* @param {*} user
* @author: renchao
*/
login
(
user
)
{
var
self
=
this
this
.
$refs
[
user
].
validate
(
async
(
valid
)
=>
{
...
...
src/views/qxjr/gbxxcx/components/result.vue
View file @
4481a1b
...
...
@@ -186,10 +186,19 @@
},
methods
:
{
//截止日期变化
/**
* @description: 截止日期变化
* @param {*} val
* @author: renchao
*/
endTimeChange
(
val
)
{
this
.
form
.
receiveEndTime
=
timeFormat
(
new
Date
(
val
),
true
)
},
// 初始化数据
/**
* @description: 初始化数据
* @author: renchao
*/
queryClickSearch
()
{
saveSearchRecord
({
...
this
.
form
,
...
this
.
formData
}).
then
(
(
res
)
=>
{
...
...
@@ -202,15 +211,31 @@
)
},
// 重置
/**
* @description: 重置
* @author: renchao
*/
resetForm
()
{
this
.
$refs
.
ruleForm
.
resetFields
();
this
.
form
.
currentPage
=
1
},
/**
* @description: featchData
* @author: renchao
*/
featchData
()
{
},
/**
* @description: handleSearchResult
* @author: renchao
*/
handleSearchResult
()
{
this
.
queryClickSearch
()
},
// 详情
/**
* @description: 详情
* @author: renchao
*/
handleDetails
(
row
)
{
}
}
...
...
src/views/qxjr/gbxxcx/index.vue
View file @
4481a1b
...
...
@@ -176,10 +176,19 @@
},
methods
:
{
//截止日期变化
/**
* @description: 截止日期变化
* @param {*} val
* @author: renchao
*/
endTimeChange
(
val
)
{
this
.
form
.
receiveEndTime
=
timeFormat
(
new
Date
(
val
),
true
)
},
// 初始化数据
/**
* @description: 初始化数据
* @author: renchao
*/
queryClick
()
{
getSearchRecordList
({
...
this
.
form
,
...
this
.
formData
}).
then
(
(
res
)
=>
{
...
...
@@ -193,21 +202,37 @@
)
},
// 重置
/**
* @description: 重置
* @author: renchao
*/
resetForm
()
{
this
.
$refs
.
ruleForm
.
resetFields
();
this
.
form
.
currentPage
=
1
this
.
queryClick
();
},
/**
* @description: featchData
* @author: renchao
*/
featchData
()
{
this
.
queryClick
();
},
// 详情
/**
* @description: 详情
* @author: renchao
*/
handleDetails
(
row
)
{
editSearchRecord
(
row
.
bsm
).
then
(
res
=>
{
this
.
dialogVisible
=
true
this
.
dataDetail
=
res
.
result
})
},
/**
* @description: save
* @author: renchao
*/
save
()
{
this
.
dialogVisible
=
true
}
...
...
src/views/qxjr/jsbwcx/index.vue
View file @
4481a1b
...
...
@@ -238,6 +238,11 @@
};
},
methods
:
{
/**
* @description: uploadRecord
* @param {*} file
* @author: renchao
*/
uploadRecord
(
file
)
{
this
.
requested
=
true
this
.
files
=
file
;
...
...
@@ -253,6 +258,11 @@
}
return
(
extension
)
&&
isLt5M
},
/**
* @description: fileChange
* @param {*} res
* @author: renchao
*/
fileChange
(
res
)
{
let
fd
=
new
FormData
()
fd
.
append
(
'files'
,
res
.
raw
)
// 文件对象
...
...
@@ -269,10 +279,19 @@
})
},
//截止日期变化
/**
* @description: 截止日期变化
* @param {*} val
* @author: renchao
*/
endTimeChange
(
val
)
{
this
.
form
.
receiveEndTime
=
timeFormat
(
new
Date
(
val
),
true
)
},
// 初始化数据
/**
* @description: 初始化数据
* @author: renchao
*/
queryClick
()
{
getReceiveDataReportPage
({
...
this
.
form
,
...
this
.
formData
}).
then
(
(
res
)
=>
{
...
...
@@ -286,19 +305,37 @@
)
},
// 重置
/**
* @description: 重置
* @author: renchao
*/
resetForm
()
{
this
.
$refs
.
ruleForm
.
resetFields
();
this
.
form
.
currentPage
=
1
this
.
queryClick
();
},
/**
* @description: featchData
* @author: renchao
*/
featchData
()
{
this
.
queryClick
();
},
// 结果
/**
* @description: 结果
* @param {*} row
* @author: renchao
*/
handleResult
(
row
)
{
this
.
$popupDialog
(
'响应结果'
,
'views/jsbwcx/components/result'
,
row
)
},
// 详情
/**
* @description: 详情
* @param {*} row
* @author: renchao
*/
handleDetails
(
row
)
{
if
(
row
.
rectypeName
)
{
this
.
title
=
row
.
rectypeName
...
...
Please
register
or
sign in
to post a comment