Commit 77d21a89 authored by 涂伟's avatar 涂伟

fix: '运维表升级逻辑优化'

parent 76b1eca8
Pipeline #69624 passed with stages
......@@ -434,11 +434,10 @@ const TableManager = props => {
if (res.code === 0) {
return Modal.confirm({
icon: <QuestionCircleTwoTone />,
content: '确定要升级表结构吗?',
content: <div>{res.data}</div>,
okText: '确认',
cancelText: '取消',
onOk: () => {
console.log('确认了666666');
UpgradeTable(params).then(ress => {
if (ress.code === 0) {
message.success('升级成功!');
......@@ -478,7 +477,11 @@ const TableManager = props => {
<img
className={styles.btnImg}
alt=""
title="升级表结构"
title={`升级到${
record.groupName === '事件表' || record.groupName === '工单表'
? '事件工单表'
: record.groupName
}`}
style={{ marginLeft: '6px' }}
src={update}
onClick={e => updateForm(record, e)}
......
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