Commit 1993ab59 authored by 邓超's avatar 邓超

fix: 修改工作流编辑器样式

parent 8a815c51
Pipeline #64545 passed with stages
...@@ -13,7 +13,7 @@ import ConfigTimeLimit from './nodeModalComponents/ConfigTimeLimit'; ...@@ -13,7 +13,7 @@ import ConfigTimeLimit from './nodeModalComponents/ConfigTimeLimit';
import CongfigHeightMsg from './nodeModalComponents/CongfigHeightMsg'; import CongfigHeightMsg from './nodeModalComponents/CongfigHeightMsg';
import styles from './NodeModal.less'; import styles from './NodeModal.less';
const tabList = ['常用配置', '高级配置', '移交配置']; const tabList = ['常用配置', '权限配置', '高级配置'];
const NodeModal = props => { const NodeModal = props => {
const { flowData, onSubumit, editMsg, flowID, nodeChage, currentNode, afterNodes } = props; const { flowData, onSubumit, editMsg, flowID, nodeChage, currentNode, afterNodes } = props;
const [activeConfig, setActiveConfig] = useState('常用配置'); const [activeConfig, setActiveConfig] = useState('常用配置');
...@@ -182,7 +182,7 @@ const NodeModal = props => { ...@@ -182,7 +182,7 @@ const NodeModal = props => {
editMsg.NodeType === '21' || editMsg.NodeType === '21' ||
editMsg.NodeType === '22' || editMsg.NodeType === '22' ||
editMsg.NodeType === '30' || editMsg.NodeType === '30' ||
activeConfig !== '移交配置' activeConfig !== '权限配置'
? 'none' ? 'none'
: 'block', : 'block',
}} }}
......
...@@ -108,9 +108,10 @@ const ConfigTimeLimit = (props, ref) => { ...@@ -108,9 +108,10 @@ const ConfigTimeLimit = (props, ref) => {
setViewModal(true); setViewModal(true);
setModalType('add'); setModalType('add');
}} }}
style={{ display: 'flex', alignItems: 'center' }}
icon={<PlusOutlined />} icon={<PlusOutlined />}
> >
新增时限配置 时限配置
</Button> </Button>
</div> </div>
<Table <Table
......
...@@ -115,9 +115,10 @@ const ConfigView = (props, ref) => { ...@@ -115,9 +115,10 @@ const ConfigView = (props, ref) => {
setViewModal(true); setViewModal(true);
setModalType('add'); setModalType('add');
}} }}
style={{ display: 'flex', alignItems: 'center' }}
icon={<PlusOutlined />} icon={<PlusOutlined />}
> >
新增辅助视图 辅助视图
</Button> </Button>
</div> </div>
<Table <Table
......
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