Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
JINRUN-PERPOSITION
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xinzhedeai
JINRUN-PERPOSITION
Commits
c1ae058b
Commit
c1ae058b
authored
Dec 17, 2025
by
xinzhedeai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add:分布页面开发 接口对接 人员轨迹追踪
parent
a52e73a8
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
96 additions
and
19 deletions
+96
-19
fenbutongji.js
src/api/jinrun/fenbutongji.js
+13
-0
fangke.vue
src/views/person/fangke.vue
+1
-1
fenbu.vue
src/views/tongji/fenbu.vue
+63
-16
kaoqin.vue
src/views/tongji/kaoqin.vue
+18
-1
vue.config.js
vue.config.js
+1
-1
No files found.
src/api/jinrun/fenbutongji.js
0 → 100644
View file @
c1ae058b
import
request
from
'
@/utils/request
'
// 查询人员信息列表
export
function
getPersonCount
(
query
)
{
return
request
({
url
:
'
/person/count/getPersonCount
'
,
method
:
'
get
'
,
params
:
query
})
}
src/views/person/fangke.vue
View file @
c1ae058b
...
...
@@ -356,7 +356,7 @@ export default {
},
handleHistory
(
row
)
{
// 跳转到李麒麟页面
window
.
open
(
"
http
s://www.baidu.com
"
);
window
.
open
(
"
http
://192.168.2.54:9529/personnel/track
"
);
},
/** 获取定位卡号列表数据 */
...
...
src/views/tongji/fenbu.vue
View file @
c1ae058b
...
...
@@ -8,13 +8,26 @@
v-show=
"showSearch"
label-width=
"68px"
>
<el-form-item
label=
"月份查询"
prop=
"realName"
>
<el-input
v-model=
"queryParams.realName"
<el-form-item
label=
"月份查询"
prop=
"month"
>
<el-select
v-model=
"queryParams.month"
placeholder=
"请选择月份"
clearable
@
keyup.enter.native=
"handleQuery"
>
<el-option
v-for=
"item in monthOptions"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
/>
</el-select>
<!--
<el-input
v-model=
"queryParams.month"
placeholder=
"请输入月份"
clearable
@
keyup.enter.native=
"handleQuery"
/>
/>
-->
</el-form-item>
<el-form-item
label=
"创建时间"
>
...
...
@@ -46,7 +59,6 @@
<el-col
:span=
"1.5"
>
<el-button
type=
"warning"
plain
icon=
"el-icon-download"
size=
"mini"
@
click=
"handleExport"
...
...
@@ -60,12 +72,15 @@
:data=
"infoList"
@
selection-change=
"handleSelectionChange"
>
<el-table-column
type=
"selection"
width=
"55"
align=
"center"
/>
<el-table-column
label=
"序号"
align=
"center"
type=
"index"
width=
"50"
/>
<el-table-column
label=
"日期"
align=
"center"
prop=
"realName"
/>
<el-table-column
label=
"矿区内人数"
align=
"center"
prop=
"deptName"
/>
<el-table-column
label=
"矿区外人数"
align=
"center"
prop=
"positionName"
/>
<el-table-column
label=
"矿区外人员姓名"
align=
"center"
prop=
"cardId"
/>
<el-table-column
label=
"序号"
align=
"center"
prop=
"id"
width=
"50"
/>
<el-table-column
label=
"日期"
align=
"center"
prop=
"statDate"
/>
<el-table-column
label=
"矿区内人数"
align=
"center"
prop=
"insideCnt"
/>
<el-table-column
label=
"矿区外人数"
align=
"center"
prop=
"outsideCnt"
/>
<el-table-column
label=
"矿区外人员姓名"
align=
"center"
prop=
"outsideNames"
/>
</el-table>
<pagination
...
...
@@ -79,13 +94,26 @@
</
template
>
<
script
>
import
{
listInfo
}
from
"
@/api/jinrun/renyuan
"
;
import
{
getDict
}
from
"
@/api/jinrun/common
"
;
import
{
getPersonCount
}
from
"
@/api/jinrun/fenbutongji
"
;
export
default
{
name
:
"
Info
"
,
data
()
{
return
{
monthOptions
:
[
{
value
:
"
1
"
,
label
:
"
1月
"
},
{
value
:
"
2
"
,
label
:
"
2月
"
},
{
value
:
"
3
"
,
label
:
"
3月
"
},
{
value
:
"
4
"
,
label
:
"
4月
"
},
{
value
:
"
5
"
,
label
:
"
5月
"
},
{
value
:
"
6
"
,
label
:
"
6月
"
},
{
value
:
"
7
"
,
label
:
"
7月
"
},
{
value
:
"
8
"
,
label
:
"
8月
"
},
{
value
:
"
9
"
,
label
:
"
9月
"
},
{
value
:
"
10
"
,
label
:
"
10月
"
},
{
value
:
"
11
"
,
label
:
"
11月
"
},
{
value
:
"
12
"
,
label
:
"
12月
"
},
],
// 人员类型下拉列表数据
personTypeOptions
:
[],
// 遮罩层
...
...
@@ -112,6 +140,7 @@ export default {
realName
:
null
,
pageNum
:
1
,
pageSize
:
10
,
month
:
null
,
},
// 表单参数
form
:
{
...
...
@@ -122,12 +151,26 @@ export default {
created
()
{
this
.
getList
();
},
watch
:
{
"
queryParams.dateRange
"
:
{
handler
(
newVal
,
oldVal
)
{
if
(
!
newVal
)
{
this
.
queryParams
.
startDate
=
""
;
this
.
queryParams
.
endDate
=
""
;
}
},
},
},
methods
:
{
/** 查询人员信息列表 */
getList
()
{
this
.
loading
=
true
;
listInfo
(
this
.
queryParams
).
then
((
response
)
=>
{
if
(
this
.
queryParams
.
dateRange
&&
this
.
queryParams
.
dateRange
.
length
>
0
)
{
this
.
queryParams
.
startDate
=
this
.
queryParams
.
dateRange
[
0
];
this
.
queryParams
.
endDate
=
this
.
queryParams
.
dateRange
[
1
];
}
getPersonCount
(
this
.
queryParams
).
then
((
response
)
=>
{
this
.
infoList
=
response
.
records
;
this
.
total
=
response
.
total
;
this
.
loading
=
false
;
...
...
@@ -142,11 +185,15 @@ export default {
/** 搜索按钮操作 */
handleQuery
()
{
this
.
queryParams
.
pageNum
=
1
;
this
.
getList
();
},
/** 重置按钮操作 */
resetQuery
()
{
this
.
resetForm
(
"
queryForm
"
);
this
.
queryParams
.
dateRange
=
null
;
this
.
queryParams
.
startDate
=
""
;
this
.
queryParams
.
endDate
=
""
;
this
.
handleQuery
();
},
// 多选框选中数据
...
...
@@ -158,11 +205,11 @@ export default {
/** 导出按钮操作 */
handleExport
()
{
this
.
download
(
"
system/info/export
"
,
"
person/count/exportPersonAttend
"
,
{
...
this
.
queryParams
,
},
`
info
_
${
new
Date
().
getTime
()}
.xlsx`
`
人员分布数据
_
${
new
Date
().
getTime
()}
.xlsx`
);
},
},
...
...
src/views/tongji/kaoqin.vue
View file @
c1ae058b
...
...
@@ -159,7 +159,16 @@ export default {
this
.
getList
();
this
.
getPersonTypeOptions
();
},
watch
:
{
"
queryParams.dateRange
"
:
{
handler
(
newVal
,
oldVal
)
{
if
(
!
newVal
)
{
this
.
queryParams
.
startDate
=
""
;
this
.
queryParams
.
endDate
=
""
;
}
},
},
},
methods
:
{
/** 获取人员类型下拉列表数据 */
getPersonTypeOptions
()
{
...
...
@@ -176,6 +185,11 @@ export default {
/** 查询人员信息列表 */
getList
()
{
this
.
loading
=
true
;
if
(
this
.
queryParams
.
dateRange
&&
this
.
queryParams
.
dateRange
.
length
>
0
)
{
this
.
queryParams
.
startDate
=
this
.
queryParams
.
dateRange
[
0
];
this
.
queryParams
.
endDate
=
this
.
queryParams
.
dateRange
[
1
];
}
getPersonAttend
(
this
.
queryParams
).
then
((
response
)
=>
{
this
.
infoList
=
response
.
records
;
this
.
total
=
response
.
total
;
...
...
@@ -196,6 +210,9 @@ export default {
/** 重置按钮操作 */
resetQuery
()
{
this
.
resetForm
(
"
queryForm
"
);
this
.
queryParams
.
dateRange
=
null
;
this
.
queryParams
.
startDate
=
""
;
this
.
queryParams
.
endDate
=
""
;
this
.
handleQuery
();
},
// 多选框选中数据
...
...
vue.config.js
View file @
c1ae058b
...
...
@@ -49,7 +49,7 @@ module.exports = {
},
},
'
/api
'
:
{
target
:
`http://192.168.2.53:
8080
`
,
// 中控平台
target
:
`http://192.168.2.53:
9995
`
,
// 中控平台
changeOrigin
:
true
,
pathRewrite
:
{
"
^/api
"
:
""
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment