Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-station-module-view
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
station
amos-station-module-view
Commits
b32c5281
Commit
b32c5281
authored
May 27, 2020
by
taabe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改预案图片地址
parent
e7f40486
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
7 deletions
+10
-7
imgStatic.js
mods/components/3dviewConvertor/consts/imgStatic.js
+5
-5
View3D.js
mods/components/3dviewConvertor/view/View3D.js
+5
-2
No files found.
mods/components/3dviewConvertor/consts/imgStatic.js
View file @
b32c5281
...
...
@@ -182,11 +182,11 @@ impEquipmentMode_fireCar: require('../assets/convertor/3dview/markers/IeqMode-fi
'shapan-dianlangoutu'
:
require
(
'../assets/convertor/3dview/prePlan/shapan-dianlangoutu.png'
),
'jiaohuqu-yingjichuzhi'
:
require
(
'../assets/convertor/3dview/prePlan/jiaohuqu-yingjichuzhi.png'
),
'jiaohuqu-dianlangou'
:
require
(
'../assets/convertor/3dview/prePlan/jiaohuqu-dianlangou.png'
),
blue
:
'/src/assets/3dview/prePlan/jiaohuqu-2anniu-lan.png'
,
yellow
:
'/src/assets/3dview/prePlan/jiaohuqu-2anniu-cheng.png'
,
'blue-chang'
:
'/src/assets/3dview/prePlan/jiaohuqu-2anniu-lan-chang.png'
,
'yellow-chang'
:
'/src/assets/3dview/prePlan/jiaohuqu-2anniu-cheng-chang.png'
,
onlyOne
:
'/src/assets/3dview/prePlan/jiaohuqu-2anniu-cheng-chang.png'
blue
:
require
(
'../assets/convertor/3dview/prePlan/jiaohuqu-2anniu-lan.png'
)
,
yellow
:
require
(
'../assets/convertor/3dview/prePlan/jiaohuqu-2anniu-cheng.png'
)
,
'blue-chang'
:
require
(
'../assets/convertor/3dview/prePlan/jiaohuqu-2anniu-lan-chang.png'
)
,
'yellow-chang'
:
require
(
'../assets/convertor/3dview/prePlan/jiaohuqu-2anniu-cheng-chang.png'
)
,
onlyOne
:
require
(
'../assets/convertor/3dview/prePlan/jiaohuqu-2anniu-cheng-chang.png'
)
},
main
:
{
user
:
require
(
'../assets/convertor/main/user.png'
),
...
...
mods/components/3dviewConvertor/view/View3D.js
View file @
b32c5281
...
...
@@ -181,7 +181,8 @@ class View3D extends Component {
planStart
=
data
=>
{
this
.
setState
(
{
planStarted
:
true
planStarted
:
true
,
editFlag
:
false
},
()
=>
{
this
.
props
.
trigger
(
eventTopics
.
plan_start
,
{
...
...
@@ -201,6 +202,7 @@ class View3D extends Component {
removeFireAlarm2
(
this
);
this
.
cameraFactory
.
fitView
(
desigerHelperConfig
.
cameraEffect
);
this
.
quitEditMode
();
this
.
handleExceptModel
(
'out_except_model'
,
''
);
};
alarmStart
=
()
=>
{
...
...
@@ -267,6 +269,7 @@ class View3D extends Component {
this
.
setState
({
fireEquipmentPosition
});
}
assembleTroubleView
(
this
,
data
,
this
.
state
.
markers
);
this
.
handleExceptModel
(
'out_except_model'
);
break
;
case
'base3d.fromws.mapArea_action1-2'
:
//镜头切换(旋转+推进)
changeGoodView
(
this
,
data
);
...
...
@@ -1203,7 +1206,7 @@ class View3D extends Component {
const
{
markers
}
=
this
.
state
;
pointModelistAction
(
actionType
).
then
(
d
=>
{
// if (markerType === 'fireResource') {
markers
[
'impEquipmentMode'
]
=
d
.
dataList
.
filter
(
item
=>
item
.
position
!==
null
);
markers
[
'impEquipmentMode'
]
=
d
.
filter
(
item
=>
item
.
position
!==
null
);
// markers[markerType] = d;
this
.
setState
({
markers
,
...
...
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