Commit 3aedbcd1 authored by Maofei94's avatar Maofei94

fix: 修改字段名组态平台

parent 4e39b661
Pipeline #23534 skipped with stages
......@@ -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"
......
......@@ -158,7 +158,7 @@ export default {
},
{
path: '/platformCenter/iot',
name: '物联平台',
name: '组态平台',
component: BaseFrameContainer,
tabs: [
{
......
......@@ -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);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment