Commit d0d77258 authored by 田翔's avatar 田翔

fix: 增加SQL语句过滤

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