#
luxiaotao1123
2024-02-15 c1d70adb486cd0835f61fd8b96e525b5b76ccece
#
2个文件已修改
10 ■■■■ 已修改文件
zy-asrs-flow/src/components/TableSearch/index.jsx 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-asrs-flow/src/pages/system/role/index.jsx 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-asrs-flow/src/components/TableSearch/index.jsx
@@ -1,7 +1,7 @@
import React from 'react';
import { Input, Button, Space } from 'antd';
const Filter = (props) => {
const TextFilter = (props) => {
    return (
        <div style={{ padding: 8 }}>
            <Input
@@ -39,4 +39,4 @@
    );
}
export default Filter;
export { TextFilter };
zy-asrs-flow/src/pages/system/role/index.jsx
@@ -11,7 +11,7 @@
import { PlusOutlined, ExportOutlined } from '@ant-design/icons';
import Http from '@/utils/http';
import Edit from './components/edit'
import Filter from '@/components/TableSearch'
import { TextFilter } from '@/components/TableSearch'
const handleSave = async (val) => {
    const hide = message.loading('正在添加');
@@ -112,13 +112,13 @@
            dataIndex: 'name',
            valueType: 'text',
            copyable: true,
            filterDropdown: (props) => <Filter name='name' {...props} actionRef={actionRef} setSearchParam={setSearchParam} />,
            filterDropdown: (props) => <TextFilter name='name' {...props} actionRef={actionRef} setSearchParam={setSearchParam} />,
        },
        {
            title: '标识',
            dataIndex: 'code',
            valueType: 'text',
            filterDropdown: (props) => <Filter name='code' {...props} actionRef={actionRef} setSearchParam={setSearchParam} />,
            filterDropdown: (props) => <TextFilter name='code' {...props} actionRef={actionRef} setSearchParam={setSearchParam} />,
        },
        {
            title: '公司',