Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CivManage
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
ReactWeb5
CivManage
Commits
3aedbcd1
Commit
3aedbcd1
authored
4 years ago
by
Maofei94
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改字段名组态平台
parent
4e39b661
Pipeline
#23534
skipped with stages
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
3 deletions
+18
-3
editForm.jsx
src/pages/webConfig/components/editForm.jsx
+3
-2
config.js
src/routes/config.js
+1
-1
api.js
src/services/webConfig/api.js
+14
-0
No files found.
src/pages/webConfig/components/editForm.jsx
View file @
3aedbcd1
...
...
@@ -108,16 +108,17 @@ const EditForm = props => {
rules=
{
[
{
required
:
true
,
message
:
'请输入访问路由,ip加端口号,示例//localhost:3001
/
'
,
message
:
'请输入访问路由,ip加端口号,示例//localhost:3001'
,
},
]
}
>
{
/* <Input addonBefore="//" placeholder="请输入访问路由" allowClear /> */
}
<
Input
placeholder=
"请输入访问路由,ip加端口号,示例//localhost:3001
/
"
placeholder=
"请输入访问路由,ip加端口号,示例//localhost:3001"
allowClear
/>
</
Item
>
<
Item
label=
"默认配置"
name=
"DefaultSetting"
...
...
This diff is collapsed.
Click to expand it.
src/routes/config.js
View file @
3aedbcd1
...
...
@@ -158,7 +158,7 @@ export default {
},
{
path
:
'/platformCenter/iot'
,
name
:
'
物联
平台'
,
name
:
'
组态
平台'
,
component
:
BaseFrameContainer
,
tabs
:
[
{
...
...
This diff is collapsed.
Click to expand it.
src/services/webConfig/api.js
View file @
3aedbcd1
...
...
@@ -126,3 +126,17 @@ export const modifyProduct = params =>
// 删除产品列表
export
const
delProductList
=
params
=>
get
(
`
${
PUBLISH_SERVICE
}
/UserCenter/DelProduct`
,
params
);
/**
* @新接口
*/
// 根据title获取网站配置
export
const
getWebSite
=
params
=>
get
(
`
${
PUBLISH_SERVICE
}
/WebSite/GetWebsite`
,
params
);
// 添加网站配置
export
const
addWebsite
=
params
=>
post
(
`
${
PUBLISH_SERVICE
}
/WebSite/AddWebsite`
,
params
);
export
const
editWebsite
=
params
=>
post
(
`
${
PUBLISH_SERVICE
}
/WebSite/EditWebsite`
,
params
);
export
const
omsDeleteWebsite
=
params
=>
post
(
`
${
PUBLISH_SERVICE
}
/WebSite/DeleteWebsite`
,
params
);
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