浏览代码

解决在线查看PDF和上传PDF问题

zhuliu 2 年之前
父节点
当前提交
434fc1eb72
共有 1 个文件被更改,包括 17 次插入0 次删除
  1. 17 0
      RMS-FrontEnd/src/api/patent.js

+ 17 - 0
RMS-FrontEnd/src/api/patent.js

@@ -24,4 +24,21 @@ export default{
     getPatentKeywordsHighlight(params) {
       return axios.get('/v2/patent/keywords/highlight/list', { params })
     },
+  /**
+    * 获取说明书文件流
+   */
+  getPatentInstructionFile(params) {
+    return axios({
+      url: '/v2/patent/instruction/file',
+      method: 'post',
+      responseType: 'blob',
+      params: params
+    })
+  },
+  /**
+   * 编辑专利说明书
+   */
+   editPatentInstruction(data) {
+    return axios.post('/v2/patent/instruction/edit', data)
+  },
 }