Commit 5f0c9a9c authored by 皮倩雯's avatar 皮倩雯

fix: '台账选择器映射字段'

parent 385cda55
Pipeline #65454 passed with stages
......@@ -15,6 +15,7 @@ import {
Empty,
Checkbox,
Switch,
Tag,
} from 'antd';
import {
EditOutlined,
......@@ -112,7 +113,7 @@ const AddModal = props => {
title: '字段名',
dataIndex: 'name',
key: 'name',
align: 'left',
align: 'center',
width: 300,
onCell: () => ({
style: {
......@@ -132,7 +133,7 @@ const AddModal = props => {
</div>
);
let bb = (
<Tooltip placement="topLeft" title={text}>
<Tooltip title={text}>
<div style={{ color: styleConfig(record) }}>{text}</div>
</Tooltip>
);
......@@ -239,7 +240,11 @@ const AddModal = props => {
width: 100,
render: (text, record) => {
const obj = {
children: <span style={{ color: styleConfig(record) }}>{text} </span>,
children: (
<span style={{ color: styleConfig(record) }}>
<Tag color={text === 1 ? 'success' : 'processing'}>{text === 1 ? '是' : '否'}</Tag>
</span>
),
props: {},
};
obj.props.colSpan = record.children ? 0 : 1;
......
......@@ -513,7 +513,7 @@ const AddModal = props => {
<TreeSelect
showSearch
dropdownStyle={{ maxHeight: 400, overflow: 'auto' }}
placeholder="请选择表名 "
placeholder="请选择执行周期"
allowClear
treeDefaultExpandAll
showCheckedStrategy
......
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