Commit 1cf42865 authored by 皮倩雯's avatar 皮倩雯

fix: '删除空文件'

parent 2e5407fb
Pipeline #71230 waiting for manual action with stages
/*font汉化*/
.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=SimSun]::before,
.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=SimSun]::before {
content: "宋体";
font-family: "SimSun";
}
.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=SimHei]::before,
.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=SimHei]::before {
content: "黑体";
font-family: "SimHei";
}
.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=Microsoft-YaHei]::before,
.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=Microsoft-YaHei]::before {
content: "微软雅黑";
font-family: "Microsoft YaHei";
}
.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=KaiTi]::before,
.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=KaiTi]::before {
content: "楷体";
font-family: "KaiTi";
}
.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=FangSong]::before,
.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=FangSong]::before {
content: "仿宋";
font-family: "FangSong";
}
.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=Arial]::before,
.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=Arial]::before {
content: "Arial";
font-family: "Arial";
}
.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=Times-New-Roman]::before,
.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=Times-New-Roman]::before {
content: "Times New Roman";
font-family: "Times New Roman";
}
.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=sans-serif]::before,
.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=sans-serif]::before {
content: "sans-serif";
font-family: "sans-serif";
}
.ql-font-SimSun {
font-family: "SimSun";
}
.ql-font-SimHei {
font-family: "SimHei";
}
.ql-font-Microsoft-YaHei {
font-family: "Microsoft YaHei";
}
.ql-font-KaiTi {
font-family: "KaiTi";
}
.ql-font-FangSong {
font-family: "FangSong";
}
.ql-font-Arial {
font-family: "Arial";
}
.ql-font-Times-New-Roman {
font-family: "Times New Roman";
}
.ql-font-sans-serif {
font-family: "sans-serif";
}
\ No newline at end of file
...@@ -16,6 +16,7 @@ import ChangeAdd from './changeAdd'; ...@@ -16,6 +16,7 @@ import ChangeAdd from './changeAdd';
const { Option } = Select; const { Option } = Select;
const { TextArea } = Input; const { TextArea } = Input;
const BookConfig = props => { const BookConfig = props => {
const { const {
callBackSubmit, callBackSubmit,
type, type,
...@@ -242,7 +243,7 @@ const BookConfig = props => { ...@@ -242,7 +243,7 @@ const BookConfig = props => {
return ( return (
<Drawer <Drawer
title={`${type === 'add' ? '台账配置' : '台账编辑'}`} title={`${type === 'add' ? '台账配置' : '台账编辑'}`}
width="570px" width="500px"
visible={visible} visible={visible}
onClose={onCancel} onClose={onCancel}
destroyOnClose destroyOnClose
...@@ -323,7 +324,6 @@ const BookConfig = props => { ...@@ -323,7 +324,6 @@ const BookConfig = props => {
</> </>
} }
name="Fields" name="Fields"
rules={[{ required: true, message: '请选择台账表' }]}
> >
<div style={{ display: 'flex' }}> <div style={{ display: 'flex' }}>
<Form.Item name="Fields" style={{ marginBottom: 0, width: '100%' }}> <Form.Item name="Fields" style={{ marginBottom: 0, width: '100%' }}>
...@@ -342,28 +342,28 @@ const BookConfig = props => { ...@@ -342,28 +342,28 @@ const BookConfig = props => {
<Item <Item
label={ label={
<> <>
{form.getFieldValue('outAddFields') > 0 ? ( {form.getFieldValue('outSearchFields') > 0 ? (
<Tooltip title={`外部字段${form.getFieldValue('outAddFields')}个`}> <Tooltip title={`外部字段${form.getFieldValue('outSearchFields')}个`}>
<InfoCircleOutlined style={{ color: 'red', margin: '2px 3px 0 3px' }} /> <InfoCircleOutlined style={{ color: 'red', margin: '2px 3px 0 3px' }} />
</Tooltip> </Tooltip>
) : ( ) : (
'' ''
)} )}
<span>添加字段</span> <span>检索字段</span>
</> </>
} }
name="AddFields" name="SearchFields"
> >
<div style={{ display: 'flex' }}> <div style={{ display: 'flex' }}>
<Form.Item name="AddFields" style={{ marginBottom: 0, width: '100%' }}> <Form.Item name="SearchFields" style={{ marginBottom: 0, width: '100%' }}>
<TextArea placeholder="前端数据添加字段" allowClear /> <TextArea placeholder="前端列表检索字段" allowClear />
</Form.Item> </Form.Item>
<Button <Button
type="dashed" type="dashed"
style={{ height: '54px', width: '50px', marginLeft: '10px' }} style={{ height: '54px', width: '50px', marginLeft: '10px' }}
icon={<PlusOutlined />} icon={<PlusOutlined />}
onClick={() => { onClick={() => {
pickFiled('AddFields'); pickFiled('SearchFields');
}} }}
/> />
</div> </div>
...@@ -371,28 +371,28 @@ const BookConfig = props => { ...@@ -371,28 +371,28 @@ const BookConfig = props => {
<Item <Item
label={ label={
<> <>
{form.getFieldValue('outEditFields') > 0 ? ( {form.getFieldValue('outAddFields') > 0 ? (
<Tooltip title={`外部字段${form.getFieldValue('outEditFields')}个`}> <Tooltip title={`外部字段${form.getFieldValue('outAddFields')}个`}>
<InfoCircleOutlined style={{ color: 'red', margin: '2px 3px 0 3px' }} /> <InfoCircleOutlined style={{ color: 'red', margin: '2px 3px 0 3px' }} />
</Tooltip> </Tooltip>
) : ( ) : (
'' ''
)} )}
<span>编辑字段</span> <span>添加字段</span>
</> </>
} }
name="EditFields" name="AddFields"
> >
<div style={{ display: 'flex' }}> <div style={{ display: 'flex' }}>
<Form.Item name="EditFields" style={{ marginBottom: 0, width: '100%' }}> <Form.Item name="AddFields" style={{ marginBottom: 0, width: '100%' }}>
<TextArea placeholder="前端可编辑字段" allowClear /> <TextArea placeholder="前端数据添加字段" allowClear />
</Form.Item> </Form.Item>
<Button <Button
type="dashed" type="dashed"
style={{ height: '54px', width: '50px', marginLeft: '10px' }} style={{ height: '54px', width: '50px', marginLeft: '10px' }}
icon={<PlusOutlined />} icon={<PlusOutlined />}
onClick={() => { onClick={() => {
pickFiled('EditFields'); pickFiled('AddFields');
}} }}
/> />
</div> </div>
...@@ -400,28 +400,28 @@ const BookConfig = props => { ...@@ -400,28 +400,28 @@ const BookConfig = props => {
<Item <Item
label={ label={
<> <>
{form.getFieldValue('outSearchFields') > 0 ? ( {form.getFieldValue('outEditFields') > 0 ? (
<Tooltip title={`外部字段${form.getFieldValue('outSearchFields')}个`}> <Tooltip title={`外部字段${form.getFieldValue('outEditFields')}个`}>
<InfoCircleOutlined style={{ color: 'red', margin: '2px 3px 0 3px' }} /> <InfoCircleOutlined style={{ color: 'red', margin: '2px 3px 0 3px' }} />
</Tooltip> </Tooltip>
) : ( ) : (
'' ''
)} )}
<span>检索字段</span> <span>编辑字段</span>
</> </>
} }
name="SearchFields" name="EditFields"
> >
<div style={{ display: 'flex' }}> <div style={{ display: 'flex' }}>
<Form.Item name="SearchFields" style={{ marginBottom: 0, width: '100%' }}> <Form.Item name="EditFields" style={{ marginBottom: 0, width: '100%' }}>
<TextArea placeholder="前端列表检索字段" allowClear /> <TextArea placeholder="前端可编辑字段" allowClear />
</Form.Item> </Form.Item>
<Button <Button
type="dashed" type="dashed"
style={{ height: '54px', width: '50px', marginLeft: '10px' }} style={{ height: '54px', width: '50px', marginLeft: '10px' }}
icon={<PlusOutlined />} icon={<PlusOutlined />}
onClick={() => { onClick={() => {
pickFiled('SearchFields'); pickFiled('EditFields');
}} }}
/> />
</div> </div>
...@@ -436,7 +436,7 @@ const BookConfig = props => { ...@@ -436,7 +436,7 @@ const BookConfig = props => {
) : ( ) : (
'' ''
)} )}
<span>显示列字段</span> <span>前端字段</span>
</> </>
} }
name="WebFields" name="WebFields"
...@@ -465,7 +465,7 @@ const BookConfig = props => { ...@@ -465,7 +465,7 @@ const BookConfig = props => {
) : ( ) : (
'' ''
)} )}
<span>手持显示列字段</span> <span>手持字段</span>
</> </>
} }
name="MobileFields" name="MobileFields"
......
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