Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-convertor-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-convertor-view
Commits
3774d269
Commit
3774d269
authored
Jan 22, 2021
by
maoying
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改打包文件
parent
6aa6d882
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
20 deletions
+20
-20
.amosrun.config.js
.amosrun.config.js
+1
-1
amos.config.js
amos.config.js
+4
-4
index.js
src/view/planMgmt/cusVizLib/index.js
+15
-15
No files found.
.amosrun.config.js
View file @
3774d269
...
...
@@ -3,7 +3,7 @@ module.exports = {
extra
:
[
'amos.config.js'
,
'favicon.ico'
],
dirs
:
[
{
fromDir
:
'node_modules/cesium/Build/Cesium/**'
,
toDir
:
'released/third/cesium/'
},
{
fromDir
:
'threeres/**'
,
toDir
:
'released/threeres'
},
//
{ fromDir: 'threeres/**', toDir: 'released/threeres' },
{
fromDir
:
'extra/**'
,
toDir
:
'released/extra/'
},
{
fromDir
:
'src/_mock/**'
,
toDir
:
'released/src/_mock/'
}
],
...
...
amos.config.js
View file @
3774d269
...
...
@@ -7,8 +7,8 @@
Amos
.
config
=
{
// 普通http
httpURI
:
{
baseURI
:
'http://
172.16.10.66:1
0005/'
,
pluginURI
:
'http://
172.16.10.72:10005
/'
,
baseURI
:
'http://
39.98.246.31:2
0005/'
,
pluginURI
:
'http://
39.98.246.31:3009
/'
,
fileServerURI
:
'http://39.98.246.31:8888/'
//图片服务器地址
//设计器数据绑定
// dataBindUrl: 'http://172.16.10.91:8083/api/visual/common/dataBind'
...
...
@@ -135,7 +135,7 @@
window
.
demo
=
true
;
// 采用本地模式启动插件
window
.
useNative
=
true
;
window
.
appKey
=
'
CONVERTER_STATION
'
;
window
.
product
=
'
CONVERTER_STATION
_WEB'
;
window
.
appKey
=
'
studio_normalapp_2668446
'
;
window
.
product
=
'
STUDIO_APP
_WEB'
;
window
.
dutyType
=
'normal'
;
//normal/bank
})();
src/view/planMgmt/cusVizLib/index.js
View file @
3774d269
import
React
,
{
Component
}
from
'react'
;
import
VizlibView
from
'amos-iot-webstudio/lib/view/vizlib'
;
//
import VizlibView from 'amos-iot-webstudio/lib/view/vizlib';
import
{
browserHistory
}
from
'amos-react-router'
;
import
_amosTool
from
'amos-tool'
;
import
SysConsts
from
'amos-processor/lib/config/consts'
;
...
...
@@ -106,20 +106,20 @@ class CusVizLib extends Component {
}
render
()
{
const
{
visible
}
=
this
.
state
;
return
(
<
div
style
=
{{
height
:
'100%'
}}
>
<
VizlibView
{...
this
.
props
}
extraEventHandle
=
{
this
.
onItemClick
}
extraMenus
=
{
extraMenus
}
/
>
<
Modal
header
=
"预案上传"
visible
=
{
visible
}
destroyContent
onOk
=
{
this
.
onOk
}
onCancel
=
{
this
.
cancel
}
content
=
{
visible
&&
this
.
getContent
()}
/
>
<
/div
>
);
//
const { visible } = this.state;
//
return (
//
<div style={{height:'100%'}}>
//
<VizlibView {...this.props} extraEventHandle={this.onItemClick} extraMenus={extraMenus} />
//
<Modal
//
header="预案上传"
//
visible={visible}
//
destroyContent
//
onOk={this.onOk}
//
onCancel={this.cancel}
//
content={visible && this.getContent()}
//
/>
//
</div>
//
);
}
}
...
...
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