diff --git a/web/client/src/sections/dataQuality/containers/documentLibrary.js b/web/client/src/sections/dataQuality/containers/documentLibrary.js index 77918de..c4f6869 100644 --- a/web/client/src/sections/dataQuality/containers/documentLibrary.js +++ b/web/client/src/sections/dataQuality/containers/documentLibrary.js @@ -4,14 +4,15 @@ import moment from 'moment'; import ApproveModal from '../components/approveModal'; -import { Tabs, Form, Input, DatePicker, Button, Table } from 'antd'; +import { Tabs, Form, Input, Space, Button, Table } from 'antd'; +const { Search } = Input; import { v1 } from 'uuid'; function Approve ({ loading, clientHeight, actions, dispatch, }) { const { resourceConsumption } = actions - const [tabsKey, setTabsKey] = useState("stay") + const [checkAll, setCheckAll] = useState(false) const [query, setQuery] = useState({ page: 0, limit: 10 }); const [proTableList, setProTableList] = useState({ rows: [], count: 0 }); const [formData, setFormData] = useState({}) @@ -34,40 +35,35 @@ function Approve ({ loading, clientHeight, actions, dispatch, }) { } - + useEffect(() => { - + }, []) return <> - - {/*
{ - - setFormData({ ...v, applyAt: v.applyAt ? moment(v.applyAt).format('YYYY-MM-DD HH:mm:ss') : "" }) - resourceData({ limit: 10, page: 0, ...v, applyAt: v.applyAt ? moment(v.applyAt).format('YYYY-MM-DD HH:mm:ss') : "" }) - setQuery({ limit: 10, page: 0 }); - console.log(v); - }} - autoComplete="off" - > - - - - - - - - - - - - -
*/} - - + +
+ + + + + + + + + { + console.log(value, event); + }} + style={{ + width: 266, + }} + /> +
+ + { approveModal ? record?.approveState == '审批中' ? record?.approveState : record?.approveState == '已审批' ? record?.token ? "审批通过" : "审批不通过" : "--" }, {