Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
hezhouyang
three_gorge_data
Commits
20a2d56a
Commit
20a2d56a
authored
3 years ago
by
hezhouyang
Browse files
Options
Download
Email Patches
Plain Diff
暂时屏蔽设备控制
parent
61f2d4b9
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
63 additions
and
4 deletions
+63
-4
application/api/controller/Hardware.php
application/api/controller/Hardware.php
+3
-3
application/index/view/index/dist/index.html
application/index/view/index/dist/index.html
+1
-1
public/css/chunk-6a74c8a3.53ce7a50.css
public/css/chunk-6a74c8a3.53ce7a50.css
+1
-0
public/js/app.781dd4fb.js
public/js/app.781dd4fb.js
+1
-0
public/js/chunk-6a74c8a3.9996be03.js
public/js/chunk-6a74c8a3.9996be03.js
+57
-0
No files found.
application/api/controller/Hardware.php
View file @
20a2d56a
...
...
@@ -80,7 +80,7 @@ class Hardware extends Api
if
(
$value
[
'hardware_type_id'
]
==
8
)
{
$param
=
[
'sn'
=>
$value
[
'sn'
]];
$videoData
=
IotApi
::
instance
()
->
pushPost
(
IotApi
::
DEV_VIDEO
,
$param
);
$value
[
'video_url'
]
=
$videoData
[
'vod_src'
];
//
$value['video_url'] = $videoData['vod_src'];
}
}
...
...
@@ -127,7 +127,7 @@ class Hardware extends Api
'sn'
=>
$hardware
[
'sn'
],
'status'
=>
$status
];
IotApi
::
instance
()
->
devCtrl
(
$param
);
//
IotApi::instance()->devCtrl($param);
$count
++
;
}
if
(
$count
==
count
(
$hardwareList
))
{
...
...
@@ -288,7 +288,7 @@ class Hardware extends Api
'sn'
=>
$hardware
[
'sn'
],
'status'
=>
$status
];
IotApi
::
instance
()
->
devCtrl
(
$param
);
//
IotApi::instance()->devCtrl($param);
$this
->
success
();
}
catch
(
Exception
$exception
)
{
$this
->
error
(
$exception
->
getMessage
());
...
...
This diff is collapsed.
Click to expand it.
application/index/view/index/dist/index.html
View file @
20a2d56a
<!DOCTYPE html>
<html
lang=
""
><head><meta
charset=
"utf-8"
><meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
><meta
name=
"viewport"
content=
"width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"
><link
rel=
"icon"
href=
"./logo.ico"
><title>
三峡能源管理平台
</title><style>html
,
body
{
width
:
100%
;
height
:
100%
;
font-family
:
'时尚中黑简体'
;}
</style><link
href=
"css/chunk-14d8e377.53ce7a50.css"
rel=
"prefetch"
><link
href=
"js/chunk-14d8e377.c69d868a.js"
rel=
"prefetch"
><link
href=
"css/app.345f18b6.css"
rel=
"preload"
as=
"style"
><link
href=
"css/chunk-vendors.4ec9fcf8.css"
rel=
"preload"
as=
"style"
><link
href=
"js/app.bc292809.js"
rel=
"preload"
as=
"script"
><link
href=
"js/chunk-vendors.8dc59439.js"
rel=
"preload"
as=
"script"
><link
href=
"css/chunk-vendors.4ec9fcf8.css"
rel=
"stylesheet"
><link
href=
"css/app.345f18b6.css"
rel=
"stylesheet"
></head><body><noscript><strong>
We're sorry but reeko-bos doesn't work properly without JavaScript enabled. Please enable it to continue.
</strong></noscript><div
id=
"app"
></div><script
src=
"./map/lib/dat.gui.min.js"
></script><script
src=
"./map/lib/fengmap.core.min.js"
></script><script
src=
"./map/lib/fengmap.control.min.js"
></script><script
src=
"./map/lib/fengmap.render.min.js"
></script><script
src=
"./map/lib/fengmap.analyzer.min.js"
></script><script
src=
"./map/lib/fengmap.navi.min.js"
></script><script
src=
"./map/lib/util.js"
></script><script
src=
"./map/js/path.js"
></script><script
src=
"js/chunk-vendors.8dc59439.js"
></script><script
src=
"js/app.bc292809.js"
></script></body></html>
\ No newline at end of file
<!DOCTYPE html>
<html
lang=
""
><head><meta
charset=
"utf-8"
><meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
><meta
name=
"viewport"
content=
"width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"
><link
rel=
"icon"
href=
"./logo.ico"
><title>
三峡能源管理平台
</title><style>html
,
body
{
width
:
100%
;
height
:
100%
;
font-family
:
'时尚中黑简体'
;}
</style><link
href=
"css/chunk-6a74c8a3.53ce7a50.css"
rel=
"prefetch"
><link
href=
"js/chunk-6a74c8a3.9996be03.js"
rel=
"prefetch"
><link
href=
"css/app.345f18b6.css"
rel=
"preload"
as=
"style"
><link
href=
"css/chunk-vendors.4ec9fcf8.css"
rel=
"preload"
as=
"style"
><link
href=
"js/app.781dd4fb.js"
rel=
"preload"
as=
"script"
><link
href=
"js/chunk-vendors.8dc59439.js"
rel=
"preload"
as=
"script"
><link
href=
"css/chunk-vendors.4ec9fcf8.css"
rel=
"stylesheet"
><link
href=
"css/app.345f18b6.css"
rel=
"stylesheet"
></head><body><noscript><strong>
We're sorry but reeko-bos doesn't work properly without JavaScript enabled. Please enable it to continue.
</strong></noscript><div
id=
"app"
></div><script
src=
"./map/lib/dat.gui.min.js"
></script><script
src=
"./map/lib/fengmap.core.min.js"
></script><script
src=
"./map/lib/fengmap.control.min.js"
></script><script
src=
"./map/lib/fengmap.render.min.js"
></script><script
src=
"./map/lib/fengmap.analyzer.min.js"
></script><script
src=
"./map/lib/fengmap.navi.min.js"
></script><script
src=
"./map/lib/util.js"
></script><script
src=
"./map/js/path.js"
></script><script
src=
"js/chunk-vendors.8dc59439.js"
></script><script
src=
"js/app.781dd4fb.js"
></script></body></html>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
public/css/chunk-6a74c8a3.53ce7a50.css
0 → 100644
View file @
20a2d56a
This diff is collapsed.
Click to expand it.
public/js/app.781dd4fb.js
0 → 100644
View file @
20a2d56a
(
function
(
e
){
function
t
(
t
){
for
(
var
r
,
a
,
i
=
t
[
0
],
c
=
t
[
1
],
s
=
t
[
2
],
l
=
0
,
f
=
[];
l
<
i
.
length
;
l
++
)
a
=
i
[
l
],
Object
.
prototype
.
hasOwnProperty
.
call
(
o
,
a
)
&&
o
[
a
]
&&
f
.
push
(
o
[
a
][
0
]),
o
[
a
]
=
0
;
for
(
r
in
c
)
Object
.
prototype
.
hasOwnProperty
.
call
(
c
,
r
)
&&
(
e
[
r
]
=
c
[
r
]);
d
&&
d
(
t
);
while
(
f
.
length
)
f
.
shift
()();
return
u
.
push
.
apply
(
u
,
s
||
[]),
n
()}
function
n
(){
for
(
var
e
,
t
=
0
;
t
<
u
.
length
;
t
++
){
for
(
var
n
=
u
[
t
],
r
=!
0
,
a
=
1
;
a
<
n
.
length
;
a
++
){
var
i
=
n
[
a
];
0
!==
o
[
i
]
&&
(
r
=!
1
)}
r
&&
(
u
.
splice
(
t
--
,
1
),
e
=
c
(
c
.
s
=
n
[
0
]))}
return
e
}
var
r
=
{},
a
=
{
app
:
0
},
o
=
{
app
:
0
},
u
=
[];
function
i
(
e
){
return
c
.
p
+
"
js/
"
+
({}[
e
]
||
e
)
+
"
.
"
+
{
"
chunk-6a74c8a3
"
:
"
9996be03
"
}[
e
]
+
"
.js
"
}
function
c
(
t
){
if
(
r
[
t
])
return
r
[
t
].
exports
;
var
n
=
r
[
t
]
=
{
i
:
t
,
l
:
!
1
,
exports
:{}};
return
e
[
t
].
call
(
n
.
exports
,
n
,
n
.
exports
,
c
),
n
.
l
=!
0
,
n
.
exports
}
c
.
e
=
function
(
e
){
var
t
=
[],
n
=
{
"
chunk-6a74c8a3
"
:
1
};
a
[
e
]?
t
.
push
(
a
[
e
]):
0
!==
a
[
e
]
&&
n
[
e
]
&&
t
.
push
(
a
[
e
]
=
new
Promise
((
function
(
t
,
n
){
for
(
var
r
=
"
css/
"
+
({}[
e
]
||
e
)
+
"
.
"
+
{
"
chunk-6a74c8a3
"
:
"
53ce7a50
"
}[
e
]
+
"
.css
"
,
o
=
c
.
p
+
r
,
u
=
document
.
getElementsByTagName
(
"
link
"
),
i
=
0
;
i
<
u
.
length
;
i
++
){
var
s
=
u
[
i
],
l
=
s
.
getAttribute
(
"
data-href
"
)
||
s
.
getAttribute
(
"
href
"
);
if
(
"
stylesheet
"
===
s
.
rel
&&
(
l
===
r
||
l
===
o
))
return
t
()}
var
f
=
document
.
getElementsByTagName
(
"
style
"
);
for
(
i
=
0
;
i
<
f
.
length
;
i
++
){
s
=
f
[
i
],
l
=
s
.
getAttribute
(
"
data-href
"
);
if
(
l
===
r
||
l
===
o
)
return
t
()}
var
d
=
document
.
createElement
(
"
link
"
);
d
.
rel
=
"
stylesheet
"
,
d
.
type
=
"
text/css
"
,
d
.
onload
=
t
,
d
.
onerror
=
function
(
t
){
var
r
=
t
&&
t
.
target
&&
t
.
target
.
src
||
o
,
u
=
new
Error
(
"
Loading CSS chunk
"
+
e
+
"
failed.
\n
(
"
+
r
+
"
)
"
);
u
.
code
=
"
CSS_CHUNK_LOAD_FAILED
"
,
u
.
request
=
r
,
delete
a
[
e
],
d
.
parentNode
.
removeChild
(
d
),
n
(
u
)},
d
.
href
=
o
;
var
p
=
document
.
getElementsByTagName
(
"
head
"
)[
0
];
p
.
appendChild
(
d
)})).
then
((
function
(){
a
[
e
]
=
0
})));
var
r
=
o
[
e
];
if
(
0
!==
r
)
if
(
r
)
t
.
push
(
r
[
2
]);
else
{
var
u
=
new
Promise
((
function
(
t
,
n
){
r
=
o
[
e
]
=
[
t
,
n
]}));
t
.
push
(
r
[
2
]
=
u
);
var
s
,
l
=
document
.
createElement
(
"
script
"
);
l
.
charset
=
"
utf-8
"
,
l
.
timeout
=
120
,
c
.
nc
&&
l
.
setAttribute
(
"
nonce
"
,
c
.
nc
),
l
.
src
=
i
(
e
);
var
f
=
new
Error
;
s
=
function
(
t
){
l
.
onerror
=
l
.
onload
=
null
,
clearTimeout
(
d
);
var
n
=
o
[
e
];
if
(
0
!==
n
){
if
(
n
){
var
r
=
t
&&
(
"
load
"
===
t
.
type
?
"
missing
"
:
t
.
type
),
a
=
t
&&
t
.
target
&&
t
.
target
.
src
;
f
.
message
=
"
Loading chunk
"
+
e
+
"
failed.
\n
(
"
+
r
+
"
:
"
+
a
+
"
)
"
,
f
.
name
=
"
ChunkLoadError
"
,
f
.
type
=
r
,
f
.
request
=
a
,
n
[
1
](
f
)}
o
[
e
]
=
void
0
}};
var
d
=
setTimeout
((
function
(){
s
({
type
:
"
timeout
"
,
target
:
l
})}),
12
e4
);
l
.
onerror
=
l
.
onload
=
s
,
document
.
head
.
appendChild
(
l
)}
return
Promise
.
all
(
t
)},
c
.
m
=
e
,
c
.
c
=
r
,
c
.
d
=
function
(
e
,
t
,
n
){
c
.
o
(
e
,
t
)
||
Object
.
defineProperty
(
e
,
t
,{
enumerable
:
!
0
,
get
:
n
})},
c
.
r
=
function
(
e
){
"
undefined
"
!==
typeof
Symbol
&&
Symbol
.
toStringTag
&&
Object
.
defineProperty
(
e
,
Symbol
.
toStringTag
,{
value
:
"
Module
"
}),
Object
.
defineProperty
(
e
,
"
__esModule
"
,{
value
:
!
0
})},
c
.
t
=
function
(
e
,
t
){
if
(
1
&
t
&&
(
e
=
c
(
e
)),
8
&
t
)
return
e
;
if
(
4
&
t
&&
"
object
"
===
typeof
e
&&
e
&&
e
.
__esModule
)
return
e
;
var
n
=
Object
.
create
(
null
);
if
(
c
.
r
(
n
),
Object
.
defineProperty
(
n
,
"
default
"
,{
enumerable
:
!
0
,
value
:
e
}),
2
&
t
&&
"
string
"
!=
typeof
e
)
for
(
var
r
in
e
)
c
.
d
(
n
,
r
,
function
(
t
){
return
e
[
t
]}.
bind
(
null
,
r
));
return
n
},
c
.
n
=
function
(
e
){
var
t
=
e
&&
e
.
__esModule
?
function
(){
return
e
[
"
default
"
]}:
function
(){
return
e
};
return
c
.
d
(
t
,
"
a
"
,
t
),
t
},
c
.
o
=
function
(
e
,
t
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
t
)},
c
.
p
=
""
,
c
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
};
var
s
=
window
[
"
webpackJsonp
"
]
=
window
[
"
webpackJsonp
"
]
||
[],
l
=
s
.
push
.
bind
(
s
);
s
.
push
=
t
,
s
=
s
.
slice
();
for
(
var
f
=
0
;
f
<
s
.
length
;
f
++
)
t
(
s
[
f
]);
var
d
=
l
;
u
.
push
([
0
,
"
chunk-vendors
"
]),
n
()})({
0
:
function
(
e
,
t
,
n
){
e
.
exports
=
n
(
"
56d7
"
)},
"
56d7
"
:
function
(
e
,
t
,
n
){
"
use strict
"
;
n
.
r
(
t
);
n
(
"
0fb7
"
),
n
(
"
450d
"
);
var
r
=
n
(
"
f529
"
),
a
=
n
.
n
(
r
),
o
=
(
n
(
"
9e1f
"
),
n
(
"
6ed5
"
)),
u
=
n
.
n
(
o
),
i
=
(
n
(
"
e960
"
),
n
(
"
b35b
"
)),
c
=
n
.
n
(
i
),
s
=
(
n
(
"
1951
"
),
n
(
"
eedf
"
)),
l
=
n
.
n
(
s
),
f
=
(
n
(
"
10cb
"
),
n
(
"
f3ad
"
)),
d
=
n
.
n
(
f
),
p
=
(
n
(
"
9d4c
"
),
n
(
"
e450
"
)),
h
=
n
.
n
(
p
),
m
=
(
n
(
"
425f
"
),
n
(
"
4105
"
)),
b
=
n
.
n
(
m
),
v
=
(
n
(
"
eca7
"
),
n
(
"
3787
"
)),
g
=
n
.
n
(
v
),
y
=
(
n
(
"
a7cc
"
),
n
(
"
df33
"
)),
w
=
n
.
n
(
y
),
k
=
(
n
(
"
0c67
"
),
n
(
"
299c
"
)),
O
=
n
.
n
(
k
),
_
=
(
n
(
"
aaa5
"
),
n
(
"
a578
"
)),
P
=
n
.
n
(
_
),
j
=
(
n
(
"
38a0
"
),
n
(
"
ad41
"
)),
A
=
n
.
n
(
j
),
E
=
(
n
(
"
5466
"
),
n
(
"
ecdf
"
)),
S
=
n
.
n
(
E
),
M
=
(
n
(
"
075a
"
),
n
(
"
72aa
"
)),
x
=
n
.
n
(
M
),
B
=
(
n
(
"
e612
"
),
n
(
"
dd87
"
)),
C
=
n
.
n
(
B
),
T
=
(
n
(
"
1f1a
"
),
n
(
"
4e4b
"
)),
$
=
n
.
n
(
T
),
N
=
(
n
(
"
6611
"
),
n
(
"
e772
"
)),
L
=
n
.
n
(
N
),
J
=
(
n
(
"
e260
"
),
n
(
"
e6cf
"
),
n
(
"
cca6
"
),
n
(
"
a79d
"
),
n
(
"
2b0e
"
)),
q
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
n
=
e
.
_self
.
_c
||
t
;
return
n
(
"
div
"
,{
attrs
:{
id
:
"
app
"
}},[
n
(
"
keep-alive
"
,[
e
.
$route
.
meta
.
keepAlive
?
n
(
"
router-view
"
):
e
.
_e
()],
1
),
e
.
$route
.
meta
.
keepAlive
?
e
.
_e
():
n
(
"
router-view
"
)],
1
)},
D
=
[],
F
=
(
n
(
"
ac1f
"
),
n
(
"
5319
"
),
n
(
"
466d
"
),{
mounted
:
function
(){
this
.
_isMobile
()
&&
this
.
$router
.
replace
({
name
:
"
mobile
"
})},
methods
:{
_isMobile
:
function
(){
var
e
=
navigator
.
userAgent
.
match
(
/
(
phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone
)
/i
);
return
e
}}}),
H
=
F
,
I
=
(
n
(
"
5c0b
"
),
n
(
"
2877
"
)),
Q
=
Object
(
I
[
"
a
"
])(
H
,
q
,
D
,
!
1
,
null
,
null
,
null
),
U
=
Q
.
exports
,
W
=
n
(
"
a18c
"
),
G
=
(
n
(
"
a702
"
),
n
(
"
0fae
"
),
n
(
"
5cfb
"
),
n
(
"
b277
"
),
n
(
"
77ed
"
)),
K
=
n
.
n
(
G
);
n
(
"
4d63
"
),
n
(
"
25f0
"
),
n
(
"
1276
"
);
function
z
(){
for
(
var
e
=
""
,
t
=
6
,
n
=
new
Array
(
0
,
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
),
r
=
0
;
r
<
t
;
r
++
){
var
a
=
Math
.
floor
(
9
*
Math
.
random
());
e
+=
n
[
a
]}
return
e
}
J
[
"
default
"
].
use
(
K
.
a
),
J
[
"
default
"
].
use
(
c
.
a
).
use
(
l
.
a
).
use
(
d
.
a
).
use
(
h
.
a
).
use
(
b
.
a
).
use
(
g
.
a
).
use
(
g
.
a
).
use
(
w
.
a
).
use
(
O
.
a
).
use
(
P
.
a
).
use
(
A
.
a
).
use
(
S
.
a
).
use
(
x
.
a
).
use
(
C
.
a
).
use
(
$
.
a
).
use
(
L
.
a
),
J
[
"
default
"
].
prototype
.
$confirm
=
u
.
a
.
confirm
,
J
[
"
default
"
].
prototype
.
$message
=
a
.
a
,
J
[
"
default
"
].
config
.
productionTip
=!
0
,
console
.
log
(
"
production
"
),
J
[
"
default
"
].
prototype
.
$generateNum
=
z
,
new
J
[
"
default
"
]({
router
:
W
[
"
a
"
],
render
:
function
(
e
){
return
e
(
U
)}}).
$mount
(
"
#app
"
)},
"
5c0b
"
:
function
(
e
,
t
,
n
){
"
use strict
"
;
n
(
"
6605
"
)},
6605
:
function
(
e
,
t
,
n
){},
a18c
:
function
(
e
,
t
,
n
){
"
use strict
"
;
n
(
"
d3b7
"
),
n
(
"
3ca3
"
),
n
(
"
ddb0
"
);
var
r
=
n
(
"
2b0e
"
),
a
=
n
(
"
8c4f
"
);
r
[
"
default
"
].
use
(
a
[
"
a
"
]);
var
o
=
[{
path
:
"
/
"
,
name
:
"
Home
"
,
component
:
function
(){
return
n
.
e
(
"
chunk-6a74c8a3
"
).
then
(
n
.
bind
(
null
,
"
7abe
"
))},
meta
:{
title
:
"
三峡能源管理平台
"
,
keepAlive
:
!
1
}}],
u
=
new
a
[
"
a
"
]({
mode
:
"
hash
"
,
scrollBehavior
:
function
(
e
,
t
,
n
){
return
n
||
{
x
:
0
,
y
:
0
}},
base
:
""
,
routes
:
o
});
u
.
beforeEach
((
function
(
e
,
t
,
n
){
e
.
meta
.
title
&&
(
document
.
title
=
e
.
meta
.
title
),
n
()})),
t
[
"
a
"
]
=
u
},
a702
:
function
(
e
,
t
,
n
){},
b277
:
function
(
e
,
t
,
n
){}});
\ No newline at end of file
This diff is collapsed.
Click to expand it.
public/js/chunk-6a74c8a3.9996be03.js
0 → 100644
View file @
20a2d56a
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