Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZiBoYingJI
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
Kimber
ZiBoYingJI
Commits
2d8b6fc7
Commit
2d8b6fc7
authored
Sep 21, 2024
by
Kimber
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'update'
parent
c1e410ce
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
1984 additions
and
2067 deletions
+1984
-2067
index.html
public/datav/index.html
+5
-7
natural.html
public/datav/natural.html
+249
-293
watersource.html
public/datav/watersource.html
+1729
-1467
home4Index V0.2.vue
src/views/home4Index V0.2.vue
+0
-299
home4Index.vue
src/views/home4Index.vue
+1
-1
No files found.
public/datav/index.html
View file @
2d8b6fc7
...
@@ -498,7 +498,6 @@
...
@@ -498,7 +498,6 @@
</div>
</div>
<div
:class=
"isFullScreen?'tr-right':'tr-right-re'"
class=
"flex flex-column space-between relative"
style=
"display:flex;justify-content:center;height:100%;"
>
<div
:class=
"isFullScreen?'tr-right':'tr-right-re'"
class=
"flex flex-column space-between relative"
style=
"display:flex;justify-content:center;height:100%;"
>
<div
style=
"transform-origin:right center;right:0;"
class=
"absolute"
:style=
"{transform: 'scale(' + (heightScale) + ')'}"
>
<div
style=
"transform-origin:right center;right:0;"
class=
"absolute"
:style=
"{transform: 'scale(' + (heightScale) + ')'}"
>
<!-- 停产矿山视频ai报警 -->
<!-- 停产矿山视频ai报警 -->
<div
class=
"mb20 animation relative ovh"
style=
"width: 514px;height: 296px;"
>
<div
class=
"mb20 animation relative ovh"
style=
"width: 514px;height: 296px;"
>
...
@@ -941,7 +940,7 @@
...
@@ -941,7 +940,7 @@
alert
(
message
)
alert
(
message
)
return
return
}
}
});
});
var
map
;
// 地图
var
map
;
// 地图
var
mouseTool
;
// 鼠标工具
var
mouseTool
;
// 鼠标工具
...
@@ -1148,7 +1147,6 @@
...
@@ -1148,7 +1147,6 @@
}
}
});
});
})();
})();
},
},
methods
:
{
methods
:
{
reqSelectArea
(
selects
){
reqSelectArea
(
selects
){
...
@@ -1216,7 +1214,7 @@
...
@@ -1216,7 +1214,7 @@
that
.
reqMines
(
that
.
enterpriseId
);
that
.
reqMines
(
that
.
enterpriseId
);
});
});
},
},
reqDeviceStatus
(){
left1
(){
var
req
=
{
var
req
=
{
params
:
{
params
:
{
enterpriseId
:
this
.
enterpriseId
,
enterpriseId
:
this
.
enterpriseId
,
...
@@ -1299,7 +1297,7 @@
...
@@ -1299,7 +1297,7 @@
},
},
left
1
(){
left
2
(){
var
req
=
{
var
req
=
{
params
:
{
params
:
{
enterpriseId
:
this
.
enterpriseId
,
enterpriseId
:
this
.
enterpriseId
,
...
@@ -1871,13 +1869,13 @@
...
@@ -1871,13 +1869,13 @@
}
}
});
});
this
.
left
1
();
this
.
left
2
();
this
.
left3
();
this
.
left3
();
this
.
right1
();
this
.
right1
();
this
.
right2
();
this
.
right2
();
this
.
right3
();
this
.
right3
();
this
.
reqDeviceStatus
();
// 设备状态
this
.
left1
();
// 设备状态
}
}
/*
/*
* 仅第一次加载时执行
* 仅第一次加载时执行
...
...
public/datav/natural.html
View file @
2d8b6fc7
This diff is collapsed.
Click to expand it.
public/datav/watersource.html
View file @
2d8b6fc7
This source diff could not be displayed because it is too large. You can
view the blob
instead.
src/views/home4Index V0.2.vue
deleted
100644 → 0
View file @
c1e410ce
<
template
>
<div
class=
"login"
:style=
"'background-image:url(' + Background + ');'"
>
<div
class=
"topTitle"
:style=
"'background-image:url(' + Title + ');'"
>
中和地信企业管理平台
</div>
<div
class=
"subTopTitle"
>
<h2
:style=
"'background-image:url(' + Welcome + ');'"
>
<img
src=
"@/assets/home4Index/icon5.png"
/>
<div
class=
"wrapper"
style=
" position: absolute;
top: 38px;
left: 86px;
width: 300px;
padding-left: 20px;
overflow: hidden;
"
>
<div
class=
"floating-text"
>
中和地信有限公司欢迎您!
</div>
</div>
</h2>
<h2
@
click=
"navTo('admin')"
style=
"cursor: pointer;"
>
<img
src=
"@/assets/home4Index/icon6.png"
/>
管理后台
</h2>
</div>
<div
class=
"wrapper"
>
<div
class=
"content"
>
<ul>
<li
v-for=
"(item, index) in dataList"
:key=
"index"
@
click=
"navTo(item.label)"
>
<div
class=
"itemDiv"
>
<img
:src=
"require(`@/assets/home4Index/icon$
{index + 1}.png`)"
alt=""
/>
<p>
<span>
{{
item
.
label
}}
</span>
<img
src=
"@/assets/home4Index/underline2.png"
/>
</p>
</div>
</li>
</ul>
</div>
</div>
<div
class=
"bottomTitle"
>
@中和地信有限公司
</div>
</div>
</
template
>
<
script
>
import
qs
from
"
qs
"
;
import
Background
from
"
@/assets/home4Index/bg.png
"
;
import
Title
from
"
@/assets/home4Index/title.png
"
;
import
Welcome
from
"
@/assets/home4Index/underline.png
"
;
import
{
mapGetters
}
from
"
vuex
"
;
import
menuApi
from
"
@/api/system/menu.js
"
;
export
default
{
name
:
"
Login
"
,
data
()
{
return
{
show
:
false
,
userStyle
:
null
,
Background
:
Background
,
Welcome
,
Title
,
codeUrl
:
""
,
cookiePass
:
""
,
loading
:
false
,
redirect
:
undefined
,
dataList
:
[],
};
},
computed
:
{
...
mapGetters
([
"
user
"
]),
},
watch
:
{
$route
:
{
handler
:
function
(
route
)
{
const
data
=
route
.
query
;
if
(
data
&&
data
.
redirect
)
{
this
.
redirect
=
data
.
redirect
;
delete
data
.
redirect
;
if
(
JSON
.
stringify
(
data
)
!==
"
{}
"
)
{
this
.
redirect
=
this
.
redirect
+
"
&
"
+
qs
.
stringify
(
data
,
{
indices
:
false
});
}
}
},
immediate
:
true
,
},
},
created
()
{
// // 按照不同域名加载不同页面样式(企业、应急局),加载完毕后再显示页面
// const host = window.location.host;
// if (host === "yingji.longxijiancai.com") {
// this.userStyle = "应急局";
// }
// if (host === "qiye.longxijiancai.com") {
// this.userStyle = "企业";
// }
menuApi
.
getMenusHome
().
then
((
res
)
=>
{
this
.
dataList
=
res
.
body
;
});
},
methods
:
{
navTo
(
type
)
{
var
host
=
location
.
protocol
+
"
//
"
+
window
.
location
.
host
;
if
(
type
===
"
admin
"
)
{
// this.$router.push({ path: "home4Center" });
this
.
$router
.
push
({
path
:
"
/user/center
"
});
}
else
if
(
type
===
"
应急管理
"
)
{
// this.$router.push({ path: "home4Center" });
// this.$router.push({ path: "/user/center" });
// location.href = 'http://192.168.3.226:8057/datav/index.html'
location
.
href
=
host
+
"
/datav/index.html
"
;
}
else
if
(
type
===
"
自然资源
"
)
{
// location.href = process.env.NODE_ENV + ''
// location.href = 'http://192.168.3.226:8057/datav/natural.html'
location
.
href
=
host
+
"
/datav/natural.html
"
;
}
else
if
(
type
===
"
水利资源
"
)
{
// location.href = 'http://192.168.3.226:8057/datav/watersource.html'
location
.
href
=
host
+
"
/datav/watersource.html
"
;
}
else
if
(
type
===
"
电子档案馆
"
)
{
// this.$router.push({ path: "home4Center" });
this
.
$router
.
push
({
path
:
"
/user/center
"
});
}
},
},
};
</
script
>
<
style
rel=
"stylesheet/scss"
lang=
"scss"
>
@keyframes
floatShadow
{
0
%
{
transform
:
translateX
(
280px
);
display
:
block
;
}
100
%
{
transform
:
translateX
(
-300px
);
display
:
none
;
}
}
.floating-text
{
font-size
:
18px
;
line-height
:
1
;
color
:
#fff
;
text-shadow
:
0
0
5px
#fff
;
animation
:
floatShadow
;
animation-name
:
floatShadow
;
animation-duration
:
10s
;
animation-iteration-count
:
infinite
;
animation-timing-function
:
linear
;
// position: absolute;
// top: 38px;
}
.subTopTitle
{
display
:
-
webkit-box
;
display
:
-
ms-flexbox
;
display
:
flex
;
-ms-flex-pack
:
distribute
;
justify-content
:
space-between
;
position
:
absolute
;
top
:
10px
;
width
:
100%
;
/* z-index: 99999; */
height
:
110px
;
color
:
#fff
;
font-size
:
12px
;
padding
:
10px
43px
;
align-items
:
center
;
h2
{
display
:
inline-block
;
vertical-align
:
middle
;
letter-spacing
:
2px
;
font-weight
:
600
;
color
:
#fdfdfd
;
&
:first-child
{
height
:
50px
;
background-repeat
:
no-repeat
;
background-position-y
:
30px
;
}
}
img
{
vertical-align
:
middle
;
margin-right
:
10px
;
}
}
.topTitle
{
position
:
absolute
;
top
:
0
;
width
:
100%
;
color
:
#fff
;
text-align
:
center
;
background-size
:
cover
;
height
:
100px
;
font-size
:
38px
;
line-height
:
100px
;
font-weight
:
bold
;
letter-spacing
:
5px
;
}
.bottomTitle
{
position
:
absolute
;
bottom
:
0
;
background
:
#021d39
;
height
:
32px
;
width
:
100%
;
line-height
:
32px
;
color
:
#fff
;
text-align
:
center
;
}
.wrapper
{
.header
{
h2
{
color
:
#00346b
;
text-align
:
right
;
position
:
absolute
;
top
:
20px
;
right
:
20px
;
cursor
:
pointer
;
}
}
h1
{
text-align
:
center
;
color
:
#00346b
;
}
ul
{
list-style
:
none
;
// width: 1200px;
overflow
:
hidden
;
}
li
{
display
:
flex
;
justify-content
:
center
;
float
:
left
;
width
:
304px
;
// background: #173e67;
height
:
620px
;
line-height
:
170px
;
text-align
:
center
;
color
:
#fff
;
font-size
:
28px
;
font-weight
:
bold
;
margin
:
10px
;
cursor
:
pointer
;
&
:nth-child
(
1
)
{
// background: #135965;
}
&
:nth-child
(
4
)
{
// background: #135965;
}
&
:hover
{
background-image
:
url("../assets/home4Index/bg2.png")
;
}
background-image
:
url("../assets/home4Index/bg1.png")
;
background-repeat
:
no-repeat
;
background-size
:
cover
;
}
}
.itemDiv
{
display
:
flex
;
flex-direction
:
column
;
justify-content
:
center
;
align-items
:
center
;
&
>
img
{
width
:
120px
;
margin-left
:
20px
;
}
p
{
width
:
180px
;
margin-top
:
-10px
;
position
:
relative
;
span
{
font-weight
:
500
;
letter-spacing
:
3px
;
}
img
{
position
:
absolute
;
bottom
:
45px
;
right
:
15px
;
}
}
}
.login
{
position
:
relative
;
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
height
:
100%
;
background-size
:
cover
;
}
</
style
>
src/views/home4Index.vue
View file @
2d8b6fc7
...
@@ -126,7 +126,7 @@ export default {
...
@@ -126,7 +126,7 @@ export default {
// location.href = process.env.NODE_ENV + ''
// location.href = process.env.NODE_ENV + ''
// location.href = 'http://192.168.3.226:8057/datav/natural.html'
// location.href = 'http://192.168.3.226:8057/datav/natural.html'
location
.
href
=
host
+
"
/datav/natural.html
"
;
location
.
href
=
host
+
"
/datav/natural.html
"
;
}
else
if
(
type
===
"
水利
资源
"
)
{
}
else
if
(
type
===
"
水利
系统
"
)
{
// location.href = 'http://192.168.3.226:8057/datav/watersource.html'
// location.href = 'http://192.168.3.226:8057/datav/watersource.html'
location
.
href
=
host
+
"
/datav/watersource.html
"
;
location
.
href
=
host
+
"
/datav/watersource.html
"
;
}
else
if
(
type
===
"
电子档案馆
"
)
{
}
else
if
(
type
===
"
电子档案馆
"
)
{
...
...
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