|
@@ -666,37 +666,6 @@ export const EmergencyDrillCertApi = {
|
|
|
|
|
|
|
|
// 资料库
|
|
// 资料库
|
|
|
export const DataLibraryApi = {
|
|
export const DataLibraryApi = {
|
|
|
- // // 获得资料库分页
|
|
|
|
|
- // getDataLibraryList: async (params) => {
|
|
|
|
|
- // return await request.get({ url: `/rq/qhse-info/page`, params })
|
|
|
|
|
- // },
|
|
|
|
|
- // // 删除资料库
|
|
|
|
|
- // deleteDataLibrary: async (id) => {
|
|
|
|
|
- // return await request.delete({ url: `/rq/qhse-info/delete?id=` + id })
|
|
|
|
|
- // },
|
|
|
|
|
-
|
|
|
|
|
- // // 添加资料库
|
|
|
|
|
- // createDataLibrary: async (data) => {
|
|
|
|
|
- // return await request.post({ url: `/rq/qhse-info/create`, data })
|
|
|
|
|
- // },
|
|
|
|
|
- // // 获取详情
|
|
|
|
|
- // getDataLibrary: async (id) => {
|
|
|
|
|
- // return await request.get({ url: `/rq/qhse-info/get?id=` + id })
|
|
|
|
|
- // },
|
|
|
|
|
- // // 修改资料库
|
|
|
|
|
- // updateDataLibrary: async (data) => {
|
|
|
|
|
- // return await request.put({ url: `/rq/qhse-info/update`, data })
|
|
|
|
|
- // },
|
|
|
|
|
-
|
|
|
|
|
- // // 导出资料库 Excel
|
|
|
|
|
- // exportDataLibrary: async (params) => {
|
|
|
|
|
- // return await request.download({ url: `/rq/qhse-info/export-excel`, params })
|
|
|
|
|
- // },
|
|
|
|
|
-
|
|
|
|
|
- // getFileTree: async () => {
|
|
|
|
|
- // return await request.get({ url: '/rq/qhse-file-tree/page' })
|
|
|
|
|
- // }
|
|
|
|
|
-
|
|
|
|
|
// 查询资料分页
|
|
// 查询资料分页
|
|
|
getIotInfoPage: async (params: any) => {
|
|
getIotInfoPage: async (params: any) => {
|
|
|
return await request.get({ url: `/rq/qhse-info/page`, params })
|
|
return await request.get({ url: `/rq/qhse-info/page`, params })
|
|
@@ -736,8 +705,22 @@ export const DataLibraryApi = {
|
|
|
return await request.download({ url: `/rq/qhse-info/export-excel`, params })
|
|
return await request.download({ url: `/rq/qhse-info/export-excel`, params })
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
- // 左侧树
|
|
|
|
|
|
|
+ // 查询左侧树
|
|
|
getFileTree: async () => {
|
|
getFileTree: async () => {
|
|
|
return await request.get({ url: '/rq/qhse-file-tree/page' })
|
|
return await request.get({ url: '/rq/qhse-file-tree/page' })
|
|
|
|
|
+ },
|
|
|
|
|
+
|
|
|
|
|
+ // 新增目录
|
|
|
|
|
+ createFileTree: async (data) => {
|
|
|
|
|
+ return await request.post({ url: `/rq/qhse-file-tree/create`, data })
|
|
|
|
|
+ },
|
|
|
|
|
+
|
|
|
|
|
+ // 修改目录
|
|
|
|
|
+ updateFileTree: async (data) => {
|
|
|
|
|
+ return await request.put({ url: `/rq/qhse-file-tree/update`, data })
|
|
|
|
|
+ },
|
|
|
|
|
+ // 删除目录
|
|
|
|
|
+ deleteFileTree: async (id: number) => {
|
|
|
|
|
+ return await request.delete({ url: `/rq/qhse-file-tree/delete?id=` + id })
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|