Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
smart_gov_platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
smart_gov_platform
Commits
cee47763
Commit
cee47763
authored
Aug 01, 2023
by
“yiyousong”
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.scsmile.cn/zxf/smart_gov_platform
parents
c10ae35b
5d18b7d8
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
60 additions
and
68 deletions
+60
-68
portal-manager-ui/admin/src/views/dataActuary/business/analysiscontent/index.vue
.../src/views/dataActuary/business/analysiscontent/index.vue
+5
-4
portal-manager-ui/admin/src/views/dataAdmin/components/AIEfficiency/reportForm.vue
...rc/views/dataAdmin/components/AIEfficiency/reportForm.vue
+52
-61
portal-manager-ui/admin/src/views/dataAdmin/components/evaluationRecordReport/departmentEvaluation.vue
...omponents/evaluationRecordReport/departmentEvaluation.vue
+2
-2
portal-manager-ui/admin/src/views/dataAdmin/components/evaluationRecordReport/windowEvaluation.vue
...in/components/evaluationRecordReport/windowEvaluation.vue
+1
-1
No files found.
portal-manager-ui/admin/src/views/dataActuary/business/analysiscontent/index.vue
View file @
cee47763
...
@@ -118,8 +118,9 @@ import {getBusInfoById} from '@/api/dataActuary.js'
...
@@ -118,8 +118,9 @@ import {getBusInfoById} from '@/api/dataActuary.js'
}
}
},
},
methods
:
{
methods
:
{
async
getAnalysisData
()
{
async
getAnalysisData
(
selected
)
{
const
res
=
await
getBusInfoById
({
busid
:
this
.
checkId
,
siteid
:
localStorage
.
getItem
(
'
siteId
'
)
})
let
pramse
=
(
selected
||
selected
===
0
||
selected
===
'
0
'
)?{
busid
:
this
.
checkId
,
siteid
:
localStorage
.
getItem
(
'
siteId
'
),
selected
:
selected
}:{
busid
:
this
.
checkId
,
siteid
:
localStorage
.
getItem
(
'
siteId
'
)
}
const
res
=
await
getBusInfoById
(
pramse
)
if
(
res
.
code
==
1
){
if
(
res
.
code
==
1
){
if
(
res
.
data
.
phone
)
this
.
testWay
.
push
(
'
手机号
'
)
if
(
res
.
data
.
phone
)
this
.
testWay
.
push
(
'
手机号
'
)
if
(
res
.
data
.
idcardtake
)
this
.
testWay
.
push
(
'
身份证
'
)
if
(
res
.
data
.
idcardtake
)
this
.
testWay
.
push
(
'
身份证
'
)
...
@@ -136,8 +137,8 @@ import {getBusInfoById} from '@/api/dataActuary.js'
...
@@ -136,8 +137,8 @@ import {getBusInfoById} from '@/api/dataActuary.js'
}
}
}
}
},
},
handleChange
(){
handleChange
(
e
){
this
.
getAnalysisData
()
this
.
getAnalysisData
(
e
)
}
}
},
},
}
}
...
...
portal-manager-ui/admin/src/views/dataAdmin/components/AIEfficiency/reportForm.vue
View file @
cee47763
...
@@ -12,28 +12,20 @@
...
@@ -12,28 +12,20 @@
v-model=
"checkboxVALUE"
v-model=
"checkboxVALUE"
@
change=
"checkboxonChange"
@
change=
"checkboxonChange"
/>
/>
<a-input
<a-input
allowClear
v-model=
"Query.workman_name"
placeholder=
"请输入工作人员姓名查询 "
>
allowClear
v-model=
"Query.workman_name"
placeholder=
"请输入工作人员姓名查询 "
>
<a-icon
slot=
"prefix"
type=
"search"
/>
<a-icon
slot=
"prefix"
type=
"search"
/>
</a-input>
</a-input>
<a-select
v-model=
"Query.window_id"
placeholder=
"请选择窗口"
>
<a-select
v-model=
"Query.window_id"
placeholder=
"请选择窗口"
>
<a-select-option
value
=
""
>
全部
</a-select-option>
<a-select-option
value
>
全部
</a-select-option>
<a-select-option
<a-select-option
v-for=
"(item, index) of windowData"
v-for=
"(item, index) of windowData"
:key=
"index"
:key=
"index"
:value=
"item.id"
:value=
"item.id"
>
>
{{
item
.
englishName
}}
-
{{
item
.
fromnum
}}
</a-select-option>
{{
item
.
englishName
}}
-
{{
item
.
fromnum
}}
</a-select-option>
</a-select>
</a-select>
<a-select
v-model=
"Query.warn_alert"
placeholder=
"请选择类型"
>
<a-select
v-model=
"Query.warn_alert"
placeholder=
"请选择类型"
>
<a-select-option
value=
""
>
全部
</a-select-option>
<a-select-option
value
>
全部
</a-select-option>
<a-select-option
v-for=
"(item, i) in warn_alert"
:key=
"i"
:value=
"i"
>
<a-select-option
v-for=
"(item, i) in warn_alert"
:key=
"i"
:value=
"i"
>
{{
item
}}
</a-select-option>
{{
item
}}
</a-select-option>
</a-select>
</a-select>
<a-range-picker
<a-range-picker
...
@@ -41,12 +33,9 @@
...
@@ -41,12 +33,9 @@
valueFormat=
"yyyy-MM-DD"
valueFormat=
"yyyy-MM-DD"
class=
"range_picker_style"
class=
"range_picker_style"
v-model=
"Query.time"
v-model=
"Query.time"
>
></a-range-picker>
</a-range-picker>
<a-button
type=
"primary"
class=
"addclass"
@
click=
"onGetKqalert"
<a-button
type=
"primary"
class=
"addclass"
@
click=
"onGetKqalert"
>
搜索
</a-button>
>
搜索
</a-button
>
</span>
</span>
</div>
</div>
<div
class=
"main"
>
<div
class=
"main"
>
...
@@ -66,9 +55,7 @@
...
@@ -66,9 +55,7 @@
:dataSource="tableSourceData"
:dataSource="tableSourceData"
>
>
<template
slot=
"operation"
slot-scope=
"text, record"
>
<template
slot=
"operation"
slot-scope=
"text, record"
>
<a-button
type=
"link"
@
click=
"openDetails"
<a-button
type=
"link"
@
click=
"openDetails"
>
查看详情
{{
record
.
id
}}
</a-button>
>
查看详情
{{
record
.
id
}}
</a-button
>
</
template
>
</
template
>
</a-table>
</a-table>
</div>
</div>
...
@@ -86,7 +73,7 @@ const warn_alert = {
...
@@ -86,7 +73,7 @@ const warn_alert = {
2
:
"
离开
"
,
2
:
"
离开
"
,
4
:
"
玩手机
"
,
4
:
"
玩手机
"
,
5
:
"
扶头
"
,
5
:
"
扶头
"
,
6
:
"
趴桌
"
,
6
:
"
趴桌
"
};
};
const
tHeader
=
[
const
tHeader
=
[
"
序号
"
,
"
序号
"
,
...
@@ -110,7 +97,7 @@ const filterVal = [
...
@@ -110,7 +97,7 @@ const filterVal = [
"
out_time
"
,
"
out_time
"
,
"
duration
"
,
"
duration
"
,
"
isaccuracy
"
,
"
isaccuracy
"
,
"
have_process_name
"
,
"
have_process_name
"
];
];
export
default
{
export
default
{
mixins
:
[
table
],
mixins
:
[
table
],
...
@@ -124,15 +111,15 @@ export default {
...
@@ -124,15 +111,15 @@ export default {
warn_alert
:
""
,
//1离岗,2离开 4:玩手机 5:扶头 6:趴桌
warn_alert
:
""
,
//1离岗,2离开 4:玩手机 5:扶头 6:趴桌
window_id
:
""
,
//窗口ID
window_id
:
""
,
//窗口ID
workman_name
:
""
,
//工作人员姓名
workman_name
:
""
,
//工作人员姓名
time
:
[
moment
().
format
(
"
YYYY-MM-DD
"
),
moment
().
format
(
"
YYYY-MM-DD
"
)]
,
// 时间区间
time
:
[
moment
().
format
(
"
YYYY-MM-DD
"
),
moment
().
format
(
"
YYYY-MM-DD
"
)]
// 时间区间
},
//查询条件
},
//查询条件
checkboxVALUE
:
[],
checkboxVALUE
:
[],
BegindAndEndTime
:
[],
BegindAndEndTime
:
[],
checkboxOptions
:
[
checkboxOptions
:
[
{
{
label
:
"
只看未处理
"
,
label
:
"
只看未处理
"
,
value
:
"
0
"
,
value
:
"
0
"
}
,
}
],
],
tableHeaders
:
[
tableHeaders
:
[
{
{
...
@@ -141,54 +128,54 @@ export default {
...
@@ -141,54 +128,54 @@ export default {
width
:
"
60px
"
,
width
:
"
60px
"
,
key
:
"
index
"
,
key
:
"
index
"
,
align
:
"
center
"
,
align
:
"
center
"
,
customRender
:
(
text
,
record
,
index
)
=>
`
${
index
+
1
}
`
,
customRender
:
(
text
,
record
,
index
)
=>
`
${
index
+
1
}
`
},
},
{
{
title
:
"
报警类型
"
,
title
:
"
报警类型
"
,
dataIndex
:
"
warn_alert
"
,
dataIndex
:
"
warn_alert
"
,
customRender
:
(
text
,
record
)
=>
warn_alert
[
text
]
,
customRender
:
(
text
,
record
)
=>
warn_alert
[
text
]
},
},
{
{
title
:
"
发生窗口
"
,
title
:
"
发生窗口
"
,
dataIndex
:
"
window_name
"
,
dataIndex
:
"
window_name
"
,
customRender
:
(
text
,
record
)
=>
(
text
?
text
:
"
--
"
)
,
customRender
:
(
text
,
record
)
=>
(
text
?
text
:
"
--
"
)
},
},
{
{
title
:
"
工作人员
"
,
title
:
"
工作人员
"
,
dataIndex
:
"
workman_name
"
,
dataIndex
:
"
workman_name
"
,
customRender
:
(
text
,
record
)
=>
(
text
?
text
:
"
--
"
)
,
customRender
:
(
text
,
record
)
=>
(
text
?
text
:
"
--
"
)
},
},
{
{
title
:
"
所属部门
"
,
title
:
"
所属部门
"
,
dataIndex
:
"
section_name
"
,
dataIndex
:
"
section_name
"
,
customRender
:
(
text
,
record
)
=>
(
text
?
text
:
"
--
"
)
,
customRender
:
(
text
,
record
)
=>
(
text
?
text
:
"
--
"
)
},
},
{
{
title
:
"
手机号
"
,
title
:
"
手机号
"
,
dataIndex
:
"
workman_phone
"
,
dataIndex
:
"
workman_phone
"
,
customRender
:
(
text
,
record
)
=>
(
text
?
text
:
"
--
"
)
,
customRender
:
(
text
,
record
)
=>
(
text
?
text
:
"
--
"
)
},
},
{
{
title
:
"
发生时间
"
,
title
:
"
发生时间
"
,
dataIndex
:
"
out_time
"
,
dataIndex
:
"
out_time
"
,
customRender
:
(
text
,
record
)
=>
customRender
:
(
text
,
record
)
=>
text
?
this
.
timestampToTime
(
text
)
:
"
--
"
,
text
?
this
.
timestampToTime
(
text
)
:
"
--
"
},
},
{
{
title
:
"
时长
"
,
title
:
"
时长
"
,
dataIndex
:
"
duration
"
,
dataIndex
:
"
duration
"
,
customRender
:
(
text
,
record
)
=>
(
text
?
text
:
"
--
"
)
,
customRender
:
(
text
,
record
)
=>
(
text
?
text
:
"
--
"
)
},
},
{
{
title
:
"
是否准确
"
,
title
:
"
是否准确
"
,
dataIndex
:
"
isaccuracy
"
,
dataIndex
:
"
isaccuracy
"
,
customRender
:
(
text
,
record
)
=>
(
text
==
1
?
"
准确
"
:
"
--
"
)
,
customRender
:
(
text
,
record
)
=>
(
text
==
1
?
"
准确
"
:
"
--
"
)
},
},
{
{
title
:
"
是否处理
"
,
title
:
"
是否处理
"
,
dataIndex
:
"
have_process_name
"
,
dataIndex
:
"
have_process_name
"
,
customRender
:
(
text
,
record
)
=>
(
text
?
text
:
"
--
"
)
,
customRender
:
(
text
,
record
)
=>
(
text
?
text
:
"
--
"
)
}
,
}
// {
// {
// title: "操作",
// title: "操作",
// align: "center",
// align: "center",
...
@@ -199,7 +186,7 @@ export default {
...
@@ -199,7 +186,7 @@ export default {
// },
// },
// },
// },
],
],
searchName
:
undefined
,
searchName
:
undefined
};
};
},
},
components
:
{},
components
:
{},
...
@@ -211,7 +198,7 @@ export default {
...
@@ -211,7 +198,7 @@ export default {
methods
:
{
methods
:
{
// 时间戳转换为日期
// 时间戳转换为日期
timestampToTime
(
timestamp
)
{
timestampToTime
(
timestamp
)
{
var
date
=
new
Date
(
timestamp
*
1000
);
var
date
=
new
Date
(
timestamp
*
1000
);
var
Y
=
date
.
getFullYear
()
+
"
-
"
;
var
Y
=
date
.
getFullYear
()
+
"
-
"
;
var
M
=
var
M
=
(
date
.
getMonth
()
+
1
<
10
(
date
.
getMonth
()
+
1
<
10
...
@@ -235,10 +222,11 @@ export default {
...
@@ -235,10 +222,11 @@ export default {
await
getKqalert
({
await
getKqalert
({
...
this
.
Query
,
...
this
.
Query
,
page
:
1
,
page
:
1
,
size
:
-
1
,
size
:
-
1
})
})
);
);
data
=
datas
.
data
.
data
;
data
=
datas
.
data
.
data
;
}
data
.
forEach
((
text
,
i
)
=>
{
data
.
forEach
((
text
,
i
)
=>
{
text
.
index
=
i
+
1
;
text
.
index
=
i
+
1
;
text
.
isaccuracy
=
text
.
isaccuracy
==
1
?
"
准确
"
:
"
--
"
;
text
.
isaccuracy
=
text
.
isaccuracy
==
1
?
"
准确
"
:
"
--
"
;
...
@@ -246,6 +234,10 @@ export default {
...
@@ -246,6 +234,10 @@ export default {
?
this
.
timestampToTime
(
text
.
out_time
)
?
this
.
timestampToTime
(
text
.
out_time
)
:
"
--
"
;
:
"
--
"
;
});
});
// debugger
console
.
log
(
data
,
11111
);
if
(
!
data
.
length
)
return
;
if
(
!
data
.
length
)
return
;
export2Excel
(
export2Excel
(
...
@@ -254,15 +246,14 @@ export default {
...
@@ -254,15 +246,14 @@ export default {
data
,
data
,
"
AI效能监察异常行为数据报表
"
+
this
.
$moment
().
format
(
"
YYYYMMDDHHmmss
"
)
"
AI效能监察异常行为数据报表
"
+
this
.
$moment
().
format
(
"
YYYYMMDDHHmmss
"
)
);
);
}
},
},
// 报表接口
// 报表接口
onGetKqalert
()
{
onGetKqalert
()
{
getKqalert
({
getKqalert
({
...
this
.
Query
,
...
this
.
Query
,
page
:
this
.
tablePagination
.
current
,
page
:
this
.
tablePagination
.
current
,
size
:
this
.
tablePagination
.
pageSize
,
size
:
this
.
tablePagination
.
pageSize
}).
then
(
(
res
)
=>
{
}).
then
(
res
=>
{
const
{
code
,
data
}
=
res
;
const
{
code
,
data
}
=
res
;
if
(
code
==
1
)
{
if
(
code
==
1
)
{
this
.
tableSourceData
=
data
.
data
;
this
.
tableSourceData
=
data
.
data
;
...
@@ -275,8 +266,8 @@ export default {
...
@@ -275,8 +266,8 @@ export default {
windowList
({
windowList
({
page
:
1
,
page
:
1
,
size
:
-
1
,
size
:
-
1
,
siteId
:
JSON
.
parse
(
localStorage
.
getItem
(
"
siteId
"
))
,
siteId
:
JSON
.
parse
(
localStorage
.
getItem
(
"
siteId
"
))
}).
then
(
(
res
)
=>
{
}).
then
(
res
=>
{
const
{
code
,
data
}
=
res
;
const
{
code
,
data
}
=
res
;
if
(
code
==
1
)
{
if
(
code
==
1
)
{
this
.
windowData
=
data
.
data
;
this
.
windowData
=
data
.
data
;
...
@@ -308,8 +299,8 @@ export default {
...
@@ -308,8 +299,8 @@ export default {
default
:
default
:
return
"
type0
"
;
return
"
type0
"
;
}
}
}
,
}
}
,
}
};
};
</
script
>
</
script
>
...
...
portal-manager-ui/admin/src/views/dataAdmin/components/evaluationRecordReport/departmentEvaluation.vue
View file @
cee47763
...
@@ -173,7 +173,7 @@ export default {
...
@@ -173,7 +173,7 @@ export default {
{
{
title
:
"
评价设备
"
,
title
:
"
评价设备
"
,
align
:
"
center
"
,
align
:
"
center
"
,
dataIndex
:
"
pj_name
"
,
dataIndex
:
"
devicenum
"
,
customRender
:
(
text
)
=>
{
customRender
:
(
text
)
=>
{
return
text
?
text
:
"
--
"
;
return
text
?
text
:
"
--
"
;
},
},
...
@@ -336,7 +336,7 @@ export default {
...
@@ -336,7 +336,7 @@ export default {
option_id
,
option_id
,
pjxt
,
pjxt
,
time
:
this
.
BegindAndEndTime
,
time
:
this
.
BegindAndEndTime
,
info
:
"
%
"
+
this
.
searchName
+
"
%
"
,
info
:
this
.
searchName
,
hallid
:
this
.
hallid
,
hallid
:
this
.
hallid
,
sectionid
:
this
.
sectionid
,
sectionid
:
this
.
sectionid
,
...
search
,
...
search
,
...
...
portal-manager-ui/admin/src/views/dataAdmin/components/evaluationRecordReport/windowEvaluation.vue
View file @
cee47763
...
@@ -342,7 +342,7 @@ export default {
...
@@ -342,7 +342,7 @@ export default {
option_id
,
option_id
,
pjxt
,
pjxt
,
time
:
this
.
BegindAndEndTime
,
time
:
this
.
BegindAndEndTime
,
info
:
"
%
"
+
this
.
searchName
+
"
%
"
,
info
:
this
.
searchName
,
hallid
:
this
.
hallid
,
hallid
:
this
.
hallid
,
sectionid
:
this
.
sectionid
,
sectionid
:
this
.
sectionid
,
...
search
,
...
search
,
...
...
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