From e56f08efa2d81289b23ee3d9a57d4b7ca15bc685 Mon Sep 17 00:00:00 2001 From: wenlele Date: Thu, 15 Jun 2023 17:52:29 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=A1=E6=89=B9=E7=8A=B6=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../dataQuality/containers/documentLibrary.js | 58 +++++++++---------- .../containers/myApplication.js | 2 +- 2 files changed, 28 insertions(+), 32 deletions(-) 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 ? "审批通过" : "审批不通过" : "--" }, {