Commit d0d77258 authored by 田翔's avatar 田翔

fix: 增加SQL语句过滤

parent bf92d0a1
Pipeline #85415 waiting for manual action with stages
......@@ -127,7 +127,7 @@
"js-calendar-converter": "0.0.4",
"lodash": "4.17.11",
"minimist": "1.2.0",
"panda-xform": "5.9.17",
"panda-xform": "5.9.18",
"parseForm": "^2.3.8",
"prop-types": "15.7.2",
"qrcode.react": "^3.1.0",
......
......@@ -811,7 +811,7 @@ const BookConfigNew = props => {
label="分页默认数量"
name="PageSize"
>
<Select style={{ width: 150 }} options={pagingOptions} />
<Select style={{ width: 100 }} options={pagingOptions} />
</Form.Item>
</Col>
<Col span={3}>
......@@ -870,6 +870,16 @@ const BookConfigNew = props => {
</Form.Item>
</Col> */}
</Row>
<Row>
<Col span={8}>
<Form.Item
label="SQL过滤"
name="SqlFilter"
>
<Input.TextArea placeholder='示例:部门 = "XX部门"' />
</Form.Item>
</Col>
</Row>
</Form>
<ChangeAdd
visible={isVisible}
......
.top {
height: 22%;
height: 32%;
overflow: auto;
}
.bottom {
height: 78%;
height: 68%;
overflow: hidden;
}
:global {
.ant-modal-body {
.ant-form {
......@@ -32,7 +34,6 @@
display: flex;
align-items: center;
justify-content: space-between;
>div:last-child {
margin-right: 40px;
}
......
......@@ -885,7 +885,7 @@ const TableView = forwardRef((props, ref) => {
bordered
dataSource={dataSource}
columns={columns}
scroll={{ y: '540px' }}
scroll={{ y: '460px' }}
pagination={false}
id="box"
/>
......
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