Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
device-new-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
赵啸非
device-new-platform
Commits
8b734e65
Commit
8b734e65
authored
May 27, 2023
by
ww-xxy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加模型
parent
f7dfd861
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
99646 additions
and
6 deletions
+99646
-6
device-manager-ui/admin/package.json
device-manager-ui/admin/package.json
+2
-0
device-manager-ui/admin/public/glft/sbglL1.gltf
device-manager-ui/admin/public/glft/sbglL1.gltf
+41736
-0
device-manager-ui/admin/public/glft/sbglL2.gltf
device-manager-ui/admin/public/glft/sbglL2.gltf
+57186
-0
device-manager-ui/admin/src/views/analysis/Analysis.vue
device-manager-ui/admin/src/views/analysis/Analysis.vue
+50
-6
device-manager-ui/admin/src/views/analysis/components/three/three.vue
...er-ui/admin/src/views/analysis/components/three/three.vue
+672
-0
No files found.
device-manager-ui/admin/package.json
View file @
8b734e65
...
...
@@ -10,6 +10,8 @@
"build:prod"
:
"vue-cli-service build --model prod"
},
"dependencies"
:
{
"@tweenjs/tween.js"
:
"^18.6.4"
,
"three-css2drender"
:
"^1.0.0"
,
"@ampproject/remapping"
:
"^2.2.0"
,
"@chenfengyuan/vue-qrcode"
:
"^1.0.2"
,
"@jiaminghi/data-view"
:
"^2.10.0"
,
...
...
device-manager-ui/admin/public/glft/sbglL1.gltf
0 → 100644
View file @
8b734e65
This diff is collapsed.
Click to expand it.
device-manager-ui/admin/public/glft/sbglL2.gltf
0 → 100644
View file @
8b734e65
This diff is collapsed.
Click to expand it.
device-manager-ui/admin/src/views/analysis/Analysis.vue
View file @
8b734e65
...
...
@@ -61,7 +61,9 @@
</div>
</div>
</div>
<div
class=
"center"
></div>
<div
class=
"center"
>
<three
:floorArr=
"floorArr"
lv=
"1"
/>
</div>
<div
class=
"right"
>
<div
class=
"right-content"
>
<!-- 设备告警汇总 -->
...
...
@@ -118,6 +120,7 @@
<TitleItem
title=
"实时告警信息发布"
/>
<div
class=
"real-time-list"
>
<dv-scroll-board
@
click=
"tabelRow"
:config=
"realTimeInfo"
style=
"width: 100%; height: 100%"
/>
...
...
@@ -130,16 +133,50 @@
</
template
>
<
script
>
const
floorArr
=
[
{
id
:
4
,
building
:
1
,
lv
:
1
,
picture
:
""
,
phonepicture
:
""
,
mtl_url
:
"
/uploads/floor/yibin2/L1.mtl
"
,
obj_url
:
"
/glft/sbglL1.gltf
"
,
siteid
:
1
,
type
:
1
,
create_time
:
"
2023-03-13 11:32:38
"
,
update_time
:
"
2023-04-08 11:40:07
"
,
zip_url
:
"
/uploads/floor/L1-1/L1-1.zip
"
,
},
{
id
:
5
,
building
:
1
,
lv
:
2
,
picture
:
""
,
phonepicture
:
""
,
mtl_url
:
"
/uploads/floor/yibin/L2.mtl
"
,
obj_url
:
"
/glft/sbglL2.gltf
"
,
siteid
:
1
,
type
:
1
,
create_time
:
"
2023-03-13 16:54:14
"
,
update_time
:
"
2023-04-08 11:40:21
"
,
zip_url
:
"
/uploads/floor/L2-1/L2-1.zip
"
,
},
];
import
HeaderSite
from
"
./components/HeaderSite.vue
"
;
import
TitleItem
from
"
./components/TitleItem.vue
"
;
import
three
from
"
./components/three/three.vue
"
;
import
session
from
"
@/assets/utils/session
"
;
export
default
{
components
:
{
HeaderSite
,
TitleItem
,
three
},
data
()
{
return
{
floorArr
:[],
siteId
:
session
.
getSession
(
"
siteid
"
),
warningInfo
:
{
data
:
[],
...
...
@@ -156,7 +193,6 @@ export default {
align
:
[
"
center
"
,
"
center
"
,
"
center
"
,
"
center
"
],
data
:
[],
},
floorArr
:
[],
lv
:
"
1
"
,
deviceTotalCount
:
0
,
// 总设备数量
siteSize
:
0
,
// 监控站点数量
...
...
@@ -174,8 +210,15 @@ export default {
created
()
{
this
.
getDevAlarm
();
this
.
getData
();
setTimeout
(()
=>
{
this
.
floorArr
=
floorArr
},
500
)
},
methods
:
{
// 点击设备
tabelRow
(
row
){
console
.
log
(
row
)
},
// 获取今日告警设备统计
getDevAlarm
()
{
this
.
$post
(
"
/device/alarm/info/stats
"
,
{
siteId
:
this
.
siteId
}).
then
(
...
...
@@ -213,8 +256,10 @@ export default {
this
.
filterDevAlarmType
(
v
.
alarmType
),
];
});
this
.
realTimeInfo
=
{
...
this
.
realTimeInfo
,
data
:
arr
};
}
console
.
log
(
this
.
deviceAlarmMapInfoList
,
"
@@@@@@@@@@@
"
)
let
{
直连设备
,
子设备
,
网关设备
}
=
deviceConnTypeCollect
;
let
{
在线
,
离线
,
缺纸
}
=
alarmTypeCollect
;
let
firmName
=
Object
.
keys
(
deviceFirmCollect
).
map
((
key
)
=>
key
);
...
...
@@ -720,10 +765,9 @@ export default {
}
}
.center {
// .three {
// height: 500px;
// width: 500px;
// }
height: 780px;
width: 780px;
position: relative;
}
.right {
width: 500px;
...
...
device-manager-ui/admin/src/views/analysis/components/three/three.vue
0 → 100644
View file @
8b734e65
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