Commit cfa10ca3 authored by shaoan123's avatar shaoan123

表字段弹框标题的更改

parent b4508f11
Pipeline #28060 skipped with stages
...@@ -146,7 +146,7 @@ const editor = props => { ...@@ -146,7 +146,7 @@ const editor = props => {
return ( return (
<> <>
<Modal <Modal
title={`${type === 'add' ? '元数据发布' : '编辑'}`} title='建表'
bodyStyle={{ width: '100%', minHeight: '100px' }} bodyStyle={{ width: '100%', minHeight: '100px' }}
style={{ top: '150px' }} style={{ top: '150px' }}
width="700px" width="700px"
......
...@@ -41,9 +41,6 @@ const AddModal = props => { ...@@ -41,9 +41,6 @@ const AddModal = props => {
setLoading(true); setLoading(true);
let obj = form.getFieldsValue(); let obj = form.getFieldsValue();
let params = { tableName: obj.tableName, alias: obj.tableAlias || '', fieldNames: checkedList }
console.log(checkedList,'checkedList');
addTables({ tableName: obj.tableName, alias: obj.tableAlias || '', fieldNames: checkedList.join(',')}).then(res => { addTables({ tableName: obj.tableName, alias: obj.tableAlias || '', fieldNames: checkedList.join(',')}).then(res => {
setLoading(false); setLoading(false);
if (res.msg === "Ok") { if (res.msg === "Ok") {
...@@ -121,7 +118,7 @@ const AddModal = props => { ...@@ -121,7 +118,7 @@ const AddModal = props => {
return ( return (
<Modal <Modal
title={`${type === 'add' ? '元数据发布' : '编辑'}`} title='附加'
bodyStyle={{ width: '100%', minHeight: '100px' }} bodyStyle={{ width: '100%', minHeight: '100px' }}
style={{ top: '150px' }} style={{ top: '150px' }}
width="700px" width="700px"
......
...@@ -47,7 +47,7 @@ const AddModal = props => { ...@@ -47,7 +47,7 @@ const AddModal = props => {
return ( return (
<Modal <Modal
title={`${type === 'add' ? '元数据发布' : '编辑'}`} title='修改'
bodyStyle={{ width: '100%', minHeight: '100px' }} bodyStyle={{ width: '100%', minHeight: '100px' }}
style={{ top: '150px' }} style={{ top: '150px' }}
width="700px" width="700px"
...@@ -85,7 +85,7 @@ const AddModal = props => { ...@@ -85,7 +85,7 @@ const AddModal = props => {
<Radio.Group> <Radio.Group>
<Radio value='大'>大(3)</Radio> <Radio value='大'>大(3)</Radio>
<Radio value='中'>中(4)</Radio> <Radio value='中'>中(4)</Radio>
<Radio value='小'>小(4)</Radio> <Radio value='小'>小(5)</Radio>
<Radio value='较小'>较小(6)</Radio> <Radio value='较小'>较小(6)</Radio>
</Radio.Group> </Radio.Group>
</Item> </Item>
......
...@@ -204,23 +204,10 @@ export default { ...@@ -204,23 +204,10 @@ export default {
// name: '业务平台', // name: '业务平台',
// component: JumpContainer, // component: JumpContainer,
// }, // },
{
path: '/platformCenter/notify',
name: '消息平台',
component: MessageManager,
},
{
path: '/platformCenter/emq',
name: '宿主管理',
url:
'/web4/?widget=product/oms/MqttConfig/MqttConfig.js|hideMap=true',
component: HostManager,
},
{ {
path: '/platformCenter/artificial', path: '/platformCenter/artificial',
component: BlankLayout, component: BlankLayout,
name: '人工智能', name: '智能平台',
icon: <CopyOutlined style={iconStyle} />, icon: <CopyOutlined style={iconStyle} />,
routes: [ routes: [
...@@ -236,6 +223,20 @@ export default { ...@@ -236,6 +223,20 @@ export default {
} }
], ],
}, },
{
path: '/platformCenter/notify',
name: '消息平台',
component: MessageManager,
},
{
path: '/platformCenter/emq',
name: '宿主管理',
url:
'/web4/?widget=product/oms/MqttConfig/MqttConfig.js|hideMap=true',
component: HostManager,
},
{ {
path: '/platformCenter/bsmanger', path: '/platformCenter/bsmanger',
component: BlankLayout, component: BlankLayout,
......
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