123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129 |
- import http from "@/api/http.js"
- //智能研报模块
- const apiSmartReport={
- //报告列表
- reportList:params=>{
- return http.get('/smart_report/list',params)
- },
- //分类数据
- classifyList:params=>{
- return http.get('/classify/list',params)
- },
- //删除报告
- delReport:params=>{
- return http.post('/smart_report/remove',params)
- },
- //报告推送
- reportMsgSend:params=>{
- return http.post('/smart_report/send_msg',params)
- },
- // 作者
- reportAuthor:params=>{
- return http.get('/report/author',params)
- },
- //新增报告
- reportAdd:params=>{
- return http.post('/smart_report/add',params)
- },
- //编辑报告
- reportEdit:params=>{
- return http.post('/smart_report/edit',params)
- },
- //报告详情
- reportDetail:params=>{
- return http.get('/smart_report/detail',params)
- },
- //保存报告内容
- saveReportContent:params=>{
- return http.post('/smart_report/save_content',params)
- },
- //定时发布报告
- prePublishReport:params=>{
- return http.post('/smart_report/pre_publish',params)
- },
- //发布/取消发布报告
- publishReport:params=>{
- return http.post('/smart_report/publish',params)
- },
- //编辑状态
- markReport:params=>{
- return http.post('/smart_report/mark_edit',params)
- },
- //音频上传
- voiceupload:params=>{
- return http.post('/smart_report/voice_upload',params)
- },
- //报告导出图片
- getReportImg:params=>{
- return http.get('/smart_report/detail_img',params)
- },
- //获取上期已发布报告
- getLastReport:params=>{
- return http.get('/smart_report/last_published_report',params)
- },
- // 资源库列表
- imgReourceList:params=>{
- return http.get('/smart_report/resource/list',params)
- },
-
- //新增资源库图片
- imgReourceAdd:params=>{
- return http.post('/smart_report/resource/add',params)
- },
- //根据条件查询ppt图片素材
- pptMaterialList:params=>{
- return http.get('/image_conf/get/image/material',params)
- },
- //新增图片素材
- pptAddMaterial:params=>{
- return http.post('/image_conf/add/image/material',params)
- },
- //删除图片素材
- pptDeleteMaterial:params=>{
- return http.post('/image_conf/delete/image/material',params)
- },
- //修改图片素材
- pptEditMaterial:params=>{
- return http.post('/image_conf/edit/image/material',params)
- },
- // //资源库图片重命名
- // imgReourceRename:params=>{
- // return http.post('/smart_report/resource/rename',params)
- // },
- //资源库图片编辑
- imgReourceEdit:params=>{
- return http.post('/smart_report/resource/edit',params)
- },
- //资源库图片删除
- imgReourceDel:params=>{
- return http.post('/smart_report/resource/remove',params)
- }
- }
- export {
- apiSmartReport
- }
|