Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
web-tool
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
tool
web-tool
Commits
dd6610fb
Commit
dd6610fb
authored
Aug 01, 2023
by
陈祥烨
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shifting
parent
ee5c6228
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
9 deletions
+16
-9
Sort.js
packages/graphmod-atl/src/siftingSort/Sort.js
+3
-3
api.js
packages/graphmod-atl/src/siftingSort/api.js
+3
-3
_proxy.js
packages/graphmod-scripts/src/_proxy.js
+9
-2
gateWay.js
packages/graphmod-utils/src/gateWay.js
+1
-1
No files found.
packages/graphmod-atl/src/siftingSort/Sort.js
View file @
dd6610fb
...
@@ -6,7 +6,7 @@ import { getSortSences } from './api';
...
@@ -6,7 +6,7 @@ import { getSortSences } from './api';
const
{
TabList
,
Tab
,
TabPanel
}
=
Tabs
;
const
{
TabList
,
Tab
,
TabPanel
}
=
Tabs
;
const
sences
=
[
'全部'
,
'新能源'
,
'水利环境'
,
'医疗健康'
,
'智慧城市'
,
'智慧园区'
,
'企业运营'
,
'物流仓库'
,
'生产制造'
,
'其他'
]
const
categoryScene
=
[
'全部'
,
'新能源'
,
'水利环境'
,
'医疗健康'
,
'智慧城市'
,
'智慧园区'
,
'企业运营'
,
'物流仓库'
,
'生产制造'
,
'其他'
]
const
miniSences
=
[
'综合排序'
,
'热门推荐'
,
'最新发布'
]
const
miniSences
=
[
'综合排序'
,
'热门推荐'
,
'最新发布'
]
...
@@ -71,7 +71,7 @@ class Shifting extends Component {
...
@@ -71,7 +71,7 @@ class Shifting extends Component {
this
.
state
=
{
this
.
state
=
{
mode
:
'divider'
,
mode
:
'divider'
,
cardItems
:
[],
cardItems
:
[],
selectSence
:
sences
[
0
],
selectSence
:
categoryScene
[
0
],
selectMiniSence
:
miniSences
[
0
]
selectMiniSence
:
miniSences
[
0
]
// mode2: 'line',
// mode2: 'line',
// mode3: 'bullet'
// mode3: 'bullet'
...
@@ -132,7 +132,7 @@ render() {
...
@@ -132,7 +132,7 @@ render() {
<
/TabList
>
<
/TabList
>
<
TabPanel
>
<
TabPanel
>
<
StdFormRow
label
=
"场景"
block
style
=
{{
paddingBottom
:
11
}}
>
<
StdFormRow
label
=
"场景"
block
style
=
{{
paddingBottom
:
11
}}
>
<
TagSelect
defaultValue
=
{
sences
[
0
]}
data
=
{
sences
}
onChange
=
{
this
.
handleSenecesSubmit
}
expandable
single
/>
<
TagSelect
defaultValue
=
{
categoryScene
[
0
]}
data
=
{
categoryScene
}
onChange
=
{
this
.
handleSenecesSubmit
}
expandable
single
/>
<
/StdFormRow
>
<
/StdFormRow
>
<
StdFormRow
block
style
=
{{
paddingBottom
:
11
}}
>
<
StdFormRow
block
style
=
{{
paddingBottom
:
11
}}
>
<
TagSelect
defaultValue
=
{
miniSences
[
0
]}
data
=
{
miniSences
}
onChange
=
{
this
.
handleMiniSenecesSubmit
}
expandable
single
/>
<
TagSelect
defaultValue
=
{
miniSences
[
0
]}
data
=
{
miniSences
}
onChange
=
{
this
.
handleMiniSenecesSubmit
}
expandable
single
/>
...
...
packages/graphmod-atl/src/siftingSort/api.js
View file @
dd6610fb
...
@@ -14,12 +14,12 @@ const {
...
@@ -14,12 +14,12 @@ const {
export
const
UrlConsts
=
export
const
UrlConsts
=
{
{
getSortSencesUrl
:
()
=>
completePrefix
()(
gateWay
.
too
l
,
'v1/iot/AmosToolTemplate/select/all'
),
getSortSencesUrl
:
()
=>
completePrefix
()(
gateWay
.
at
l
,
'v1/iot/AmosToolTemplate/select/all'
),
};
};
export
const
getSortSences
=
(
sences
,
miniSences
)
=>
{
export
const
getSortSences
=
(
categoryScene
,
miniSences
)
=>
{
const
formData
=
new
window
.
FormData
();
const
formData
=
new
window
.
FormData
();
formData
.
append
(
'
sences'
,
sences
)
formData
.
append
(
'
categoryScene'
,
categoryScene
)
formData
.
append
(
'miniSences'
,
miniSences
)
formData
.
append
(
'miniSences'
,
miniSences
)
return
commonPost
(
UrlConsts
.
getSortSencesUrl
(),
formData
);
return
commonPost
(
UrlConsts
.
getSortSencesUrl
(),
formData
);
};
};
...
...
packages/graphmod-scripts/src/_proxy.js
View file @
dd6610fb
...
@@ -6,22 +6,29 @@ const proxy = {
...
@@ -6,22 +6,29 @@ const proxy = {
'/baseURI/jcs'
:
{
'/baseURI/jcs'
:
{
// target: 'http://172.16.10.72:10005/',
// target: 'http://172.16.10.72:10005/',
target
:
'http://172.16.0.120:20000/'
,
target
:
'http://172.16.0.120:20000/'
,
changeOrigin
:
true
,
//
changeOrigin: true,
pathRewrite
:
{
'^/baseURI'
:
''
}
pathRewrite
:
{
'^/baseURI'
:
''
}
},
},
'/bizURI/openapi'
:
{
'/bizURI/openapi'
:
{
target
:
'http://172.16.3.3:11001/'
,
target
:
'http://172.16.3.3:11001/'
,
pathRewrite
:
{
'^/bizURI'
:
''
}
pathRewrite
:
{
'^/bizURI'
:
''
}
},
},
'/bizURI/atl'
:
{
target
:
'http://172.16.0.14:30002/'
,
// changeOrigin: true,
pathRewrite
:
{
'^/bizURI'
:
''
}
},
'/bizURI'
:
{
'/bizURI'
:
{
// target: 'http://172.16.3.20:11100/', // 苏
// target: 'http://172.16.3.20:11100/', // 苏
// target: 'http://172.16.3.89:11100/', // 田
// target: 'http://172.16.3.89:11100/', // 田
target
:
'http://172.16.10.72:10005/'
,
//
target: 'http://172.16.10.72:10005/',
// target: 'http://172.16.3.20:8807/', // 田
// target: 'http://172.16.3.20:8807/', // 田
// target: 'http://172.16.3.89:11000/', // 田
// target: 'http://172.16.3.89:11000/', // 田
// target: 'http://113.134.211.174:10005/', // 李
// target: 'http://113.134.211.174:10005/', // 李
// target: 'http://172.16.3.41:11100/', // 唐
// target: 'http://172.16.3.41:11100/', // 唐
// target: 'http://172.16.3.4:11100/', // 陈
// target: 'http://172.16.3.4:11100/', // 陈
target
:
'http://192.168.1.110:30002/'
,
changeOrigin
:
true
,
pathRewrite
:
{
'^/bizURI'
:
''
}
pathRewrite
:
{
'^/bizURI'
:
''
}
},
},
...
...
packages/graphmod-utils/src/gateWay.js
View file @
dd6610fb
...
@@ -23,5 +23,5 @@ export default {
...
@@ -23,5 +23,5 @@ export default {
risk
:
'risk'
,
// 风险模型
risk
:
'risk'
,
// 风险模型
report
:
'report'
,
// 数据填报
report
:
'report'
,
// 数据填报
tool
:
'too
l'
atl
:
'at
l'
};
};
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