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
64b2e3d0
Commit
64b2e3d0
authored
Apr 19, 2023
by
“yiyousong”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pref:修改页面
parent
81ff4226
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5357 additions
and
5460 deletions
+5357
-5460
portal-manager-ui/admin/src/router/routes.js
portal-manager-ui/admin/src/router/routes.js
+21
-21
portal-manager-ui/admin/src/views/dataActuary/behaviour/eventanalyse/eventanalyse.vue
...views/dataActuary/behaviour/eventanalyse/eventanalyse.vue
+117
-94
portal-manager-ui/admin/yarn.lock
portal-manager-ui/admin/yarn.lock
+5219
-5345
No files found.
portal-manager-ui/admin/src/router/routes.js
View file @
64b2e3d0
portal-manager-ui/admin/src/views/dataActuary/behaviour/eventanalyse/eventanalyse.vue
View file @
64b2e3d0
<
template
>
<
template
>
<!-- 事件分析 -->
<!-- 事件分析 -->
<div
class=
"page"
>
<div
class=
"page"
>
<a-form-model
:model=
"queryform"
:label-col=
"labelCol"
:wrapper-col=
"wrapperCol"
layout=
"inline"
>
<a-form-model
:model=
"queryform"
:label-col=
"labelCol"
:wrapper-col=
"wrapperCol"
layout=
"inline"
>
<a-form-model-item>
<a-form-model-item>
<a-select
v-model=
"queryform.productId"
style=
"width: 200px"
placeholder=
"选择产品"
>
<a-select
<a-select-option
:value=
"item.id"
v-for=
"(item,index) in product"
:key=
"index"
>
v-model=
"queryform.productId"
{{
item
.
title
}}
style=
"width: 200px"
placeholder=
"选择产品"
>
<a-select-option
:value=
"item.id"
v-for=
"(item, index) in product"
:key=
"index"
>
{{
item
.
title
}}
</a-select-option>
</a-select-option>
</a-select>
</a-select>
</a-form-model-item>
</a-form-model-item>
<a-form-model-item>
<a-form-model-item>
<a-range-picker
valueFormat=
"yyyy-MM-DD"
v-model=
"time"
style=
"width: 300px"
:allowClear=
"false"
/>
<a-range-picker
valueFormat=
"yyyy-MM-DD"
v-model=
"time"
style=
"width: 300px"
:allowClear=
"false"
/>
</a-form-model-item>
</a-form-model-item>
<a-form-model-item>
<a-form-model-item>
<a-button
type=
"primary"
@
click=
"getList"
>
<a-button
type=
"primary"
@
click=
"getList"
>
开始分析
</a-button>
开始分析
</a-button>
</a-form-model-item>
</a-form-model-item>
</a-form-model>
</a-form-model>
<div
class=
"mt20"
>
<div
class=
"mt20"
>
<a-table
:columns=
"columns"
:data-source=
"data"
:scroll=
"
{ y: 590 }" :pagination="false">
<a-table
:columns=
"columns"
:data-source=
"data"
:scroll=
"
{ y: 590 }"
:pagination="false"
>
</a-table>
</a-table>
</div>
</div>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
{
getEventCensus
}
from
'
@/api/dataActuary.js
'
import
{
getEventCensus
}
from
"
@/api/dataActuary.js
"
;
import
moment
from
'
moment
'
;
import
moment
from
"
moment
"
;
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
queryform
:
{
queryform
:
{
productId
:
1
,
productId
:
1
,
dateTimeStart
:
moment
().
format
(
'
yyyy-MM-DD
'
),
dateTimeStart
:
moment
().
format
(
"
yyyy-MM-DD
"
),
dateTimeEnd
:
moment
().
format
(
'
yyyy-MM-DD
'
)
dateTimeEnd
:
moment
().
format
(
"
yyyy-MM-DD
"
),
},
},
time
:[
moment
().
format
(
'
yyyy-MM-DD
'
),
moment
().
format
(
'
yyyy-MM-DD
'
)],
time
:
[
moment
().
format
(
"
yyyy-MM-DD
"
),
moment
().
format
(
"
yyyy-MM-DD
"
)],
labelCol
:
{
labelCol
:
{
span
:
1
span
:
1
,
},
},
wrapperCol
:
{
wrapperCol
:
{
span
:
14
span
:
14
,
},
product
:
[
{
title
:
"
排队机
"
,
id
:
1
,
},
},
product
:[{
],
title
:
'
排队机
'
,
columns
:
[
id
:
1
{
}],
columns
:
[{
title
:
"
序号
"
,
title
:
"
序号
"
,
width
:
"
70px
"
,
width
:
"
70px
"
,
customRender
:
(
text
,
record
,
index
)
=>
`
${
index
+
1
}
`
,
customRender
:
(
text
,
record
,
index
)
=>
`
${
index
+
1
}
`
,
align
:
"
center
"
,
align
:
"
center
"
,
},
},
{
{
...
@@ -60,41 +83,41 @@
...
@@ -60,41 +83,41 @@
align
:
"
center
"
,
align
:
"
center
"
,
},
},
{
{
title
:
'
事件ID
'
,
title
:
"
事件ID
"
,
dataIndex
:
'
eventCode
'
,
dataIndex
:
"
eventCode
"
,
align
:
"
center
"
,
align
:
"
center
"
,
},
},
{
{
title
:
'
事件数量(日均)
'
,
title
:
"
事件数量(日均)
"
,
dataIndex
:
'
dayAvg
'
,
dataIndex
:
"
dayAvg
"
,
align
:
"
center
"
,
align
:
"
center
"
,
},
},
{
{
title
:
'
事件平均使用时长(单次)
'
,
title
:
"
事件平均使用时长(单次)
"
,
dataIndex
:
'
takeTimeAvg
'
,
dataIndex
:
"
takeTimeAvg
"
,
align
:
"
center
"
,
align
:
"
center
"
,
}
},
],
],
data
:
[],
data
:
[],
}
};
},
},
mounted
()
{
mounted
()
{
this
.
getList
()
this
.
getList
();
},
},
methods
:{
methods
:
{
getList
()
{
getList
()
{
this
.
queryform
.
dateTimeStart
=
this
.
time
?
this
.
time
[
0
]
:
null
this
.
queryform
.
dateTimeStart
=
this
.
time
?
this
.
time
[
0
]
:
null
;
this
.
queryform
.
dateTimeStart
=
this
.
time
?
this
.
time
[
1
]
:
null
this
.
queryform
.
dateTimeStart
=
this
.
time
?
this
.
time
[
1
]
:
null
;
getEventCensus
(
this
.
queryform
).
then
(
res
=>
{
getEventCensus
(
this
.
queryform
).
then
((
res
)
=>
{
this
.
data
=
res
.
data
.
data
this
.
data
=
res
.
data
.
data
;
})
});
}
},
}
},
};
};
</
script
>
</
script
>
<
style
lang=
"less"
scoped
>
<
style
lang=
"less"
scoped
>
.page{
.page {
padding: 15px;
padding: 15px;
}
}
</
style
>
</
style
>
\ No newline at end of file
portal-manager-ui/admin/yarn.lock
View file @
64b2e3d0
This diff is collapsed.
Click to expand it.
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