import { getAction, postAction } from './manage' // 国内法规标准-获取查询条件 const getDomesticStandardSearchForm = (params) => getAction('/laws/standard/domestic/getQueryCondition', params) // 国内法规标准-获取表单模型 const getDomesticStandardFormModal = (params) => getAction('/laws/standard/domestic/getFormModel', params) // 国内法规标准-获取信息 const getDomesticStandardDocumentInfo = (params) => getAction('/laws/standard/domestic/getByIdAndModule', params) // 国内法规标准-获取表头信息 const getDomesticStandardTableHeader = (params) => getAction('/laws/standard/domestic/getCommonHeader', params) // 国内标准法规-收藏 const collectionDomesticStandard = (params) => postAction('/personal/lawsStandardCollection/domestic/add', params) // 国内标准法规-取消收藏 const cancelCollectionDomesticStandard = (params) => postAction('/personal/lawsStandardCollection/domestic/delete', params) // 国内标准法规-分享 const shareDomesticStandard = (params) => postAction('/personal/lawsStandardSharing/domestic/add', params) // 国内标准-体系新增 const addDomesticSystemTree = (params) => postAction('/laws/standard/lawsTreeNode/domestic/add', params) // 国内标准-体系编辑 const editDomesticSystemTree = (params) => postAction('/laws/standard/lawsTreeNode/domestic/edit', params) // 国内标准-体系删除 const deleteDomesticSystemTree = (params) => postAction('/laws/standard/lawsTreeNode/domestic/delete', params) // 国内标准-配置标准 const configDomesticStandard = (params) => getAction('/laws/standard/domestic/relatedStandard', params) // 国内标准-移出标准 const removeDomesticStandard = (params) => getAction('/laws/standard/domestic/removeStandard', params) // 国内标准-获取体系树 const getDomesticStandardTree = (params) => getAction('/laws/standard/lawsTreeNode/domestic', params) // 国内标准-新增标准 const addDomesticStandard = (params) => postAction('/laws/standard/domestic/commonAdd', params) // 国内标准-编辑标准 const editDomesticStandard = (params) => postAction('/laws/standard/domestic/commonEdit', params) // 国内标准-配置标准-过滤没有选中体系的数据 const getDomesticStandardNoSystem = (params) => getAction('/laws/standard/common/getStandardRightBox', params) // 国内标准-获取详情信息 const getDomesticStandardDetail = (params) => getAction('/laws/standard/domestic/getByIdAndModule', params) // 国内标准-获取更新记录 const getDomesticStandardUpdateRecord = (params) => getAction('/laws/standard/domestic/getUpdateRecordList', params) // 国内标准-提交问题 const submitDomesticQuestion = (params) => postAction('/laws/library/lawsProblemLibrary/addProblem/GB', params) // 海外标准-获取查询条件 const getOverseasStandardSearchForm = (params) => getAction('/laws/standard/overseas/getQueryCondition', params) // 海外标准-获取表单 const getOverseasStandardForm = (params) => getAction('/laws/standard/overseas/getFormModel', params) // 海外标准-获取信息 const getOverseasStandardDocumentInfo = (params) => getAction('/laws/standard/overseas/getByIdAndModule', params) // 海外标准-获取表头信息 const getOverseasStandardTableHeader = (params) => getAction('/laws/standard/overseas/getCommonHeader', params) // 海外标准-获取体系数据 const getOverseasStandardSystem = (params) => getAction('/laws/standard/lawsTreeNode/overseas', params) // 海外标准-收藏 const collectionOverseasStandard = (params) => postAction('/personal/lawsStandardCollection/overseas/add', params) // 海外标准-取消收藏 const cancelCollectionOverseasStandard = (params) => postAction('/personal/lawsStandardCollection/overseas/delete', params) // 海外标准-分享 const shareOverseasStandard = (params) => postAction('/personal/lawsStandardSharing/overseas/add', params) // 海外标准-体系删除 const deleteOverseasStandardSystem = (params) => postAction('/laws/standard/lawsTreeNode/overseas/delete', params) // 海外标准-体系新增 const addOverseasStandardSystem = (params) => postAction('/laws/standard/lawsTreeNode/overseas/add', params) // 海外标准-体系编辑 const editOverseasStandardSystem = (params) => postAction('/laws/standard/lawsTreeNode/overseas/edit', params) // 海外标准-配置标准 const configOverseasStandard = (params) => getAction('/laws/standard/overseas/relatedStandard', params) // 海外标准-移除标准 const removeOverseasStandard = (params) => getAction('/laws/standard/overseas/removeStandard', params) // 海外标准-添加标准 const addOverseasStandard = (params) => postAction('/laws/standard/overseas/commonAdd', params) // 海外标准-编辑标准 const editOverseasStandard = (params) => postAction('/laws/standard/overseas/commonEdit', params) // 海外标准-提出问题 const submitOverseasQuestion = (params) => postAction('/laws/library/lawsProblemLibrary/addProblem/FB', params) // 动态消息-保存 const saveDynamicMessage = (params) => postAction('/laws/standard/lawsNewsFeed/save', params) // 动态消息-发布 const releaseDynamicMessage = (params) => postAction('/laws/standard/lawsNewsFeed/release', params) // 动态消息-通过id查询 const getDynamicMessageById = (params) => getAction('/laws/standard/lawsNewsFeed/queryById', params) // 动态消息-分享 const shareDynamicMessageById = (params) => postAction('/personal/lawsStandardSharing/dynamicMessages/add', params) // 资料中心-新增 const addProfileCenter = (params) => postAction('/laws/dataCenter/lawsDataCenterFile/add', params) // 资料中心-编辑 const editProfileCenter = (params) => postAction('/laws/dataCenter/lawsDataCenterFile/edit', params) // 资料中心-新增同级 const addProfileCenterTree = (params) => postAction('/laws/dataCenter/lawsDataCenterFolder/addBrother', params) // 资料中心-新增子文件夹 const addChildrenFolder = (params) => postAction('/laws/dataCenter/lawsDataCenterFolder/addChild', params) // 资料中心-编辑树节点 const editProfileCenterTree = (params) => postAction('/laws/dataCenter/lawsDataCenterFolder/edit', params) // 资料中心-删除树节点 const deleteProfileCenterTree = (params) => postAction('/laws/dataCenter/lawsDataCenterFolder/delete', params) // 资料中心-获取树节点树 const getProfileCenterTree = (params) => getAction('/laws/dataCenter/lawsDataCenterFolder/getTreeList', params) // 国标、海外、企标通用接口 // 通过标准号获取信息 const getStandardInfoByStandardNumber = (params) => getAction('/laws/standard/common/getInfoByStandardNo', params) export { // 国内标准 getDomesticStandardSearchForm, getDomesticStandardFormModal, getDomesticStandardDocumentInfo, getDomesticStandardTableHeader, collectionDomesticStandard, cancelCollectionDomesticStandard, shareDomesticStandard, addDomesticSystemTree, editDomesticSystemTree, deleteDomesticSystemTree, configDomesticStandard, removeDomesticStandard, getDomesticStandardTree, addDomesticStandard, editDomesticStandard, getDomesticStandardNoSystem, getDomesticStandardDetail, getDomesticStandardUpdateRecord, submitDomesticQuestion, // 海外标准 getOverseasStandardSearchForm, getOverseasStandardForm, getOverseasStandardDocumentInfo, getOverseasStandardTableHeader, getOverseasStandardSystem, collectionOverseasStandard, cancelCollectionOverseasStandard, shareOverseasStandard, deleteOverseasStandardSystem, editOverseasStandardSystem, addOverseasStandardSystem, configOverseasStandard, removeOverseasStandard, addOverseasStandard, editOverseasStandard, submitOverseasQuestion, // 动态消息 saveDynamicMessage, releaseDynamicMessage, getDynamicMessageById, shareDynamicMessageById, // 资料中心 addProfileCenter, editProfileCenter, addProfileCenterTree, addChildrenFolder, editProfileCenterTree, deleteProfileCenterTree, getProfileCenterTree, getStandardInfoByStandardNumber }