Commit b80f5dc4 authored by 罗林杰's avatar 罗林杰

修改出湖

parent 998f28f5
...@@ -34,6 +34,12 @@ export const sourceSideConfigurationFormSchema: FormSchema[] = [ ...@@ -34,6 +34,12 @@ export const sourceSideConfigurationFormSchema: FormSchema[] = [
], ],
}), }),
}, },
{
field: 'fileUpload',
label: '文件上传',
component: 'Upload',
ifShow: ({ model }) => model.metadataAcquisitionMode === '导入元数据文件',
},
{ {
field: 'dataSource', field: 'dataSource',
label: '数据源', label: '数据源',
...@@ -101,14 +107,11 @@ export const LoadingStrategyFormSchema: FormSchema[] = [ ...@@ -101,14 +107,11 @@ export const LoadingStrategyFormSchema: FormSchema[] = [
componentProps: { componentProps: {
mode: 'multiple', mode: 'multiple',
}, },
ifShow: false,
required: true, required: true,
}, },
{ {
field: 'notCustomSQLTable', field: 'notCustomSQLTable',
component: 'Slot',
slot: 'notCustomSQLTable', slot: 'notCustomSQLTable',
// ifShow: false,
}, },
]; ];
......
...@@ -178,7 +178,11 @@ ...@@ -178,7 +178,11 @@
// }, // },
{ {
icon: 'ic:outline-delete-outline', icon: 'ic:outline-delete-outline',
onClick: handleDeleteRule.bind(null, record), popConfirm: {
title: '是否确认删除',
placement: 'left',
confirm: handleDeleteRule.bind(null, record),
},
}, },
]" ]"
/> />
...@@ -778,13 +782,20 @@ ...@@ -778,13 +782,20 @@
// createMessage.success('编辑:' + record); // createMessage.success('编辑:' + record);
// } // }
/**映射规则配置-列表 "删除"*/ /**映射规则配置-列表 "删除"*/
function handleDeleteRule(record) { function handleDeleteRule() {
createMessage.success('删除规则成功' + record); createMessage.success('删除规则成功');
} }
/**映射规则配置-删除规则按钮*/ /**映射规则配置-删除规则按钮*/
function handleDeleteRules() { function handleDeleteRules() {
createMessage.success('批量删除数据转换规则成功' + getRowSelection().selectedRowKeys); createConfirm({
iconType: 'warning',
title: '删除规则',
content: '是否确认删除选中规则?',
onOk() {
createMessage.success('删除成功!');
},
});
} }
function handleOperation() { function handleOperation() {
......
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