Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcsjsb-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
3d886aa9
authored
2023-07-31 14:27:32 +0800
by
yuanbo
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
增加注释
1 parent
292ff4e7
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
207 additions
and
0 deletions
src/views/error-page/404.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/jsbwcx/index.vue
src/views/login/index.vue
src/views/error-page/404.vue
View file @
3d886aa
...
...
@@ -19,6 +19,10 @@ export default {
}
},
methods
:
{
/**
* @description: nextTo
* @author: renchao
*/
nextTo
()
{
this
.
$router
.
push
({
path
:
this
.
redirect
||
'/'
,
...
...
src/views/jktj/bsxljk/index.vue
View file @
3d886aa
...
...
@@ -83,10 +83,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
(
...
...
@@ -113,6 +122,10 @@
});
},
// 重置
/**
* @description: 重置
* @author: renchao
*/
resetForm
()
{
this
.
form
=
{
startTime
:
getFirstDayOfSeason
(),
...
...
@@ -121,6 +134,10 @@
this
.
getProcessCounts
();
},
//玫瑰图初始化
/**
* @description: 玫瑰图初始化
* @author: renchao
*/
echartInit
()
{
let
_this
=
this
;
// 基于准备好的dom,初始化echarts实例
...
...
@@ -185,6 +202,11 @@
});
},
//柱图初始化
/**
* @description: 柱图初始化
* @param {*} recType
* @author: renchao
*/
async
barChartInit
(
recType
)
{
//请求recType对应业务的各区县数据
let
{
result
:
res
}
=
await
efficient
.
getProcessDays
(
...
...
src/views/jktj/cgltj/index.vue
View file @
3d886aa
...
...
@@ -94,9 +94,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
=
[];
...
...
@@ -120,6 +129,10 @@
});
},
// 重置
/**
* @description: 重置
* @author: renchao
*/
resetForm
()
{
this
.
form
=
{
startTime
:
getFirstDayOfSeason
(),
...
...
@@ -128,6 +141,10 @@
};
this
.
getSuucessRate
();
},
/**
* @description: echartInit
* @author: renchao
*/
echartInit
()
{
let
_this
=
this
;
// 基于准备好的dom,初始化echarts实例
...
...
src/views/jktj/dataReceiveQuality/index.vue
View file @
3d886aa
...
...
@@ -137,12 +137,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
;
...
...
@@ -150,6 +164,12 @@
row
[
4
].
rowSpan
=
2
;
}
},
/**
* @description: headerStyle1
* @param {*} row
* @param {*} rowIndex
* @author: renchao
*/
headerStyle1
({
row
,
rowIndex
})
{
if
(
rowIndex
==
3
)
{
row
[
2
].
rowSpan
=
2
;
...
...
@@ -157,6 +177,11 @@
row
[
4
].
rowSpan
=
2
;
}
},
/**
* @description: handlesetExport2Excel
* @param {*} val
* @author: renchao
*/
handlesetExport2Excel
(
val
)
{
this
.
disableds
=
true
setTimeout
(()
=>
{
...
...
@@ -166,6 +191,10 @@
setExport2Excel
(
val
)
},
// 初始化数据
/**
* @description: 初始化数据
* @author: renchao
*/
featchDataSelf
()
{
dataReceiveQuality
(
this
.
form
.
startTime
,
this
.
form
.
endTime
).
then
(
res
=>
{
let
records
=
res
.
result
...
...
@@ -173,6 +202,10 @@
})
},
// 重置
/**
* @description: 重置
* @author: renchao
*/
handleResetForm
()
{
this
.
form
.
startTime
=
getCurrentDate
()
this
.
form
.
endTime
=
getCurrentDate
(
'time'
)
...
...
src/views/jktj/nullTermRatio/index.vue
View file @
3d886aa
...
...
@@ -134,14 +134,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
...
...
@@ -149,6 +162,10 @@
})
},
// 重置
/**
* @description: 重置
* @author: renchao
*/
handleResetForm
()
{
this
.
form
.
startTime
=
getCurrentDate
()
this
.
form
.
endTime
=
getCurrentDate
(
'time'
)
...
...
src/views/jktj/registerBookQuality/index.vue
View file @
3d886aa
...
...
@@ -151,15 +151,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
=>
{
...
...
@@ -167,6 +186,12 @@
})
}
},
/**
* @description: headerStyle1
* @param {*} row
* @param {*} rowIndex
* @author: renchao
*/
headerStyle1
({
row
,
rowIndex
})
{
if
(
rowIndex
==
2
)
{
row
.
forEach
(
item
=>
{
...
...
@@ -175,6 +200,10 @@
}
},
// 初始化数据
/**
* @description: 初始化数据
* @author: renchao
*/
featchDataSelf
()
{
registerBookQuality
(
this
.
form
.
startTime
,
this
.
form
.
endTime
).
then
(
res
=>
{
let
records
=
res
.
result
...
...
@@ -182,6 +211,10 @@
})
},
// 重置
/**
* @description: 重置
* @author: renchao
*/
handleResetForm
()
{
this
.
form
.
startTime
=
getCurrentDate
()
this
.
form
.
endTime
=
getCurrentDate
(
'time'
)
...
...
src/views/jktj/ywltj/index.vue
View file @
3d886aa
...
...
@@ -93,9 +93,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
(
...
...
@@ -112,6 +121,10 @@
},
// 重置
/**
* @description: 重置
* @author: renchao
*/
resetForm
()
{
this
.
form
=
{
startTime
:
getFirstDayOfSeason
(),
...
...
@@ -121,6 +134,11 @@
this
.
getProcessCounts
();
},
//图表渲染
/**
* @description: 图表渲染
* @param {*} chartArr
* @author: renchao
*/
echartInit
(
chartArr
)
{
// 基于准备好的dom,初始化echarts实例
let
myChart
=
this
.
$echarts
.
init
(
document
.
getElementById
(
"myChart"
));
...
...
src/views/jsbwcx/index.vue
View file @
3d886aa
...
...
@@ -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
...
...
src/views/login/index.vue
View file @
3d886aa
...
...
@@ -123,6 +123,10 @@ export default {
},
methods
:
{
// 更新验证码
/**
* @description: 更新验证码
* @author: renchao
*/
reloadCaptcha
(){
axios
.
get
(
window
.
_config
.
services
.
management
+
"/management/captcha?format=json"
).
then
(
res
=>
{
if
(
res
.
data
.
status
===
1
)
{
...
...
@@ -132,6 +136,10 @@ export default {
})
},
// 初始化
/**
* @description: 初始化
* @author: renchao
*/
initPage
()
{
let
userInfo
=
localStorage
.
getItem
(
"userInfo"
)
&&
...
...
@@ -142,6 +150,10 @@ export default {
}
},
// 登录
/**
* @description: 登录
* @author: renchao
*/
goHome
()
{
if
(
this
.
userInfo
.
username
&&
this
.
userInfo
.
password
)
{
axios
...
...
@@ -165,13 +177,27 @@ export default {
return
}
},
/**
* @description: selectEyes
* @author: renchao
*/
selectEyes
()
{
this
.
selectEye
=
!
this
.
selectEye
;
},
//获取焦点
/**
* @description: 获取焦点
* @param {*} type
* @author: renchao
*/
reduceBorder
(
type
)
{
this
.
change
[
type
]
=
true
},
/**
* @description: addBorder
* @param {*} type
* @author: renchao
*/
addBorder
(
type
)
{
//失去焦点
switch
(
type
)
{
...
...
Please
register
or
sign in
to post a comment