Toggle navigation
Toggle navigation
This project
Loading...
Sign in
monitor_v3
/
hg-monitor-web
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
王涛
4 years ago
Commit
953797b10b6850b19e35b97a05edb69e73e369c3
2 parents
e3592019
b59b8e5a
Merge branch 'master-yjp' into 'master'
比对分析 See merge request
!66
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
66 additions
and
44 deletions
hg-monitor-web-zj/src/main/resources/static/src/views/analysis/index.html
hg-monitor-web-zj/src/main/resources/static/vue3/public/css/analysis.css
hg-monitor-web-zj/src/main/resources/static/vue3/src/router/index.js
hg-monitor-web-zj/src/main/resources/static/vue3/src/views/analysis/components/add/index.html
hg-monitor-web-zj/src/main/resources/static/vue3/src/views/analysis/components/add/index.js
hg-monitor-web-zj/src/main/resources/static/vue3/src/views/analysis/index.html
hg-monitor-web-zj/src/main/resources/static/src/views/analysis/index.html
0 → 100644
View file @
953797b
<title>
对比分析配置
</title>
<iframe
src=
"/vue3/index.html#/analysis"
class=
"layadmin-iframe"
style=
"height: 99.5%!important;"
/>
\ No newline at end of file
...
...
hg-monitor-web-zj/src/main/resources/static/vue3/public/css/analysis.css
View file @
953797b
...
...
@@ -55,3 +55,41 @@
.bottom-condition
.el-input__inner
,
.bottom-condition
.el-button
{
border-color
:
#409eff
;
}
.analysis
{
position
:
relative
;
text-align
:
center
;
height
:
100%
;
width
:
100%
;
/*max-width: 490px;*/
}
.analysis
.drop
{
padding-top
:
20px
;
border
:
2px
dashed
#0a93be
;
width
:
600px
;
height
:
170px
;
line-height
:
160px
;
margin
:
0
auto
;
font-size
:
16px
;
border-radius
:
5px
;
text-align
:
center
;
color
:
#bbb
;
position
:
relative
;
}
.analysis
.el-upload__text
{
height
:
50px
;
line-height
:
50px
;
em
{
color
:
#0C4493
;
font-style
:
normal
;
}
}
.analysis
.link-type
,
.analysis
.link-type
:focus
{
color
:
#337ab7
;
cursor
:
pointer
;
}
}
\ No newline at end of file
...
...
hg-monitor-web-zj/src/main/resources/static/vue3/src/router/index.js
View file @
953797b
...
...
@@ -110,6 +110,12 @@ const routes = [{
name
:
'analysis'
,
// component: () => myImport('views/analysis/components/addIndex/index')
component
:
()
=>
myImport
(
'views/analysis/index'
)
},
{
path
:
'/analysis/add'
,
name
:
'analysisAdd'
,
// component: () => myImport('views/analysis/components/addIndex/index')
component
:
()
=>
myImport
(
'views/analysis/components/add/index'
)
}
];
...
...
hg-monitor-web-zj/src/main/resources/static/vue3/src/views/analysis/components/add/index.html
View file @
953797b
...
...
@@ -12,11 +12,7 @@
</el-button>
<template
#
dropdown
>
<el-dropdown-menu>
<el-dropdown-item>
Action 1
</el-dropdown-item>
<el-dropdown-item>
Action 2
</el-dropdown-item>
<el-dropdown-item>
Action 3
</el-dropdown-item>
<el-dropdown-item>
Action 4
</el-dropdown-item>
<el-dropdown-item>
Action 5
</el-dropdown-item>
<el-date-picker
v-model=
"displayTime"
type=
"datetime"
format=
"yyyy-MM-dd HH:mm:ss"
placeholder=
"请选择时间"
/>
</el-dropdown-menu>
</template>
</el-dropdown>
...
...
hg-monitor-web-zj/src/main/resources/static/vue3/src/views/analysis/components/add/index.js
View file @
953797b
...
...
@@ -29,6 +29,17 @@ export default {
}
},
computed
:
{
displayTime
:
{
get
()
{
return
(
+
new
Date
(
this
.
display_time
))
},
set
(
val
)
{
this
.
display_time
=
new
Date
(
val
)
}
}
},
setup
(){
}
...
...
hg-monitor-web-zj/src/main/resources/static/vue3/src/views/analysis/index.html
View file @
953797b
<div
class=
"container"
:style=
"{'height':height+'px','max-height':height+'px'}"
>
<div
style=
"margin:0 0 5px 20px;font-size: 16px;color:#337ab7"
>
<div
class=
"analysis-add-container"
>
<div
class=
"add-top-title"
style=
" padding: 20px 20px 20px 20px;font-size: 16px;color:#337ab7"
>
比对分析场景
</div>
<div
class=
"drop"
>
<template
slot-scope=
"scope"
>
<router-link
:to=
"'/example/edit/'"
class=
"link-type"
>
<img
src=
"../../assets/images/analysis/icon-add.png"
></img>
<div
class=
"analysis drop"
>
<router-link
:to=
"'/analysis/add'"
class=
"analysis link-type"
>
<div
class=
"analysis-index-container"
style=
"display: grid;"
>
<img
src=
"/vue3/src/assets/images/analysis/icon-add.png"
></img>
<div
class=
"el-upload__text"
>
<em>
点击添加对比分析
</em>
</div>
</div>
</router-link>
</template>
</div>
</div>
\ No newline at end of file
<style
type=
"text/css"
>
img
{
padding-top
:
30px
;
}
.drop
{
border
:
2px
dashed
#0a93be
;
width
:
600px
;
height
:
160px
;
line-height
:
160px
;
margin
:
0
auto
;
font-size
:
16px
;
border-radius
:
5px
;
text-align
:
center
;
color
:
#bbb
;
position
:
relative
;
}
.el-upload__text
{
height
:
50px
;
line-height
:
50px
;
em
{
color
:
#0C4493
;
font-style
:
normal
;
}
}
.link-type
,
.link-type
:focus
{
color
:
#337ab7
;
cursor
:
pointer
;
}
</style>
\ No newline at end of file
...
...
Please
register
or
login
to post a comment