Browse Source

脚本

master
wenlele 2 years ago
parent
commit
cd731ba7a2
  1. 0
      scripts/0.0.7/07_alter_t_standard_doc_folder copy.sql
  2. 8
      web/client/src/sections/safetySpecification/containers/specificationLibrary.js

0
scripts/0.0.7/03_alter_t_standard_doc_folder copy.sql → scripts/0.0.7/07_alter_t_standard_doc_folder copy.sql

8
web/client/src/sections/safetySpecification/containers/specificationLibrary.js

@ -17,9 +17,7 @@ function SpecificationLibrary ({ loading, clientHeight, actions, dispatch, }) {
const { resourceRetrieval } = actions
const [checkAll, setCheckAll] = useState(false)
const [query, setQuery] = useState({ page: 0, limit: 20 });
const [folderData, setFolderData] = useState([]);
const [fileData, setFileData] = useState({ data: [], count: 0 })
const [groupModal, setGroupModal] = useState(false)
const [fileModal, setFileModal] = useState(false)
const [keyword, setKeywords] = useState()
@ -74,7 +72,7 @@ function SpecificationLibrary ({ loading, clientHeight, actions, dispatch, }) {
url.map(d => {
RouteRequest.delete(RouteTable.cleanUpUploadTrash, { url: d });
})
resourceData({ page: 0, limit: 10 })
resourceData({ page: 0, limit: 20 })
fileId.current = []
setFileIds([])
setFileIds(false)
@ -98,7 +96,7 @@ function SpecificationLibrary ({ loading, clientHeight, actions, dispatch, }) {
}}
onSearch={(value, event) => {
setKeywords(value)
resourceData({ page: 0, limit: 10, keyword: value })
resourceData({ page: 0, limit: 20, keyword: value })
}}
style={{
@ -167,7 +165,7 @@ function SpecificationLibrary ({ loading, clientHeight, actions, dispatch, }) {
setFileModal(false);
}}
success={() => {
resourceData({ page: 0, limit: 10, keyword: keyword })
resourceData({ page: 0, limit: 20, keyword: keyword })
}}
remove={url => {
RouteRequest.delete(RouteTable.cleanUpUploadTrash, { url: url });

Loading…
Cancel
Save