소스 검색

解决在线查看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)
+  },
 }