diff --git a/scripts/0.0.7/04_alter_t_standard_doc.sql b/scripts/0.0.8/01_alter_t_standard_doc.sql similarity index 100% rename from scripts/0.0.7/04_alter_t_standard_doc.sql rename to scripts/0.0.8/01_alter_t_standard_doc.sql diff --git a/scripts/0.0.7/05_alter_ t_business_rule.sql b/scripts/0.0.8/02_alter_ t_business_rule.sql similarity index 100% rename from scripts/0.0.7/05_alter_ t_business_rule.sql rename to scripts/0.0.8/02_alter_ t_business_rule.sql diff --git a/scripts/0.0.7/06_alter_t_data_security_specification .sql b/scripts/0.0.8/03_alter_t_data_security_specification .sql similarity index 100% rename from scripts/0.0.7/06_alter_t_data_security_specification .sql rename to scripts/0.0.8/03_alter_t_data_security_specification .sql diff --git a/scripts/0.0.7/07_alter_t_standard_doc_folder copy.sql b/scripts/0.0.8/04_alter_t_standard_doc_folder copy.sql similarity index 100% rename from scripts/0.0.7/07_alter_t_standard_doc_folder copy.sql rename to scripts/0.0.8/04_alter_t_standard_doc_folder copy.sql diff --git a/web/client/src/sections/safetySpecification/containers/specificationLibrary.js b/web/client/src/sections/safetySpecification/containers/specificationLibrary.js deleted file mode 100644 index a6ad5f0..0000000 --- a/web/client/src/sections/safetySpecification/containers/specificationLibrary.js +++ /dev/null @@ -1,188 +0,0 @@ -import React, { useEffect, useState, useRef } from 'react' -import { connect } from 'react-redux'; -import moment from 'moment'; -import { RouteRequest } from '@peace/utils'; -import { RouteTable } from '$utils' -import SimpleBar from 'simplebar-react'; -import FileModal from '../components/fileModal'; -import { Tabs, Form, Input, Space, Button, Table, Checkbox, message, Pagination } from 'antd'; -const { Search } = Input; -import { CreditCardFilled, FilePdfOutlined } from '@ant-design/icons'; -import { agent } from 'superagent'; -const CheckboxGroup = Checkbox.Group; - - -function SpecificationLibrary ({ loading, clientHeight, actions, dispatch, }) { - - const { resourceRetrieval } = actions - const [checkAll, setCheckAll] = useState(false) - const [query, setQuery] = useState({ page: 0, limit: 20 }); - const [fileData, setFileData] = useState({ data: [], count: 0 }) - const [fileModal, setFileModal] = useState(false) - - const [keyword, setKeywords] = useState() - const [fileIds, setFileIds] = useState([]) - const fileId = useRef([]) - - - useEffect(() => { - resourceData() - }, []) - - - let resourceData = (data) => { - let params = data || query - dispatch(resourceRetrieval.getSpecifications({ keyword: keyword, ...params, })).then(res => { - if (res.success) { - setFileData({ data: res.payload.data?.rows, count: res.payload.data?.count }) - - } - }) - } - - return <> - -