Przeglądaj źródła

预览接口修改

duy 1 tydzień temu
rodzic
commit
dadf93e716
2 zmienionych plików z 9 dodań i 2 usunięć
  1. 7 0
      src/api/exctab/exceltab.js
  2. 2 2
      src/components/PdfView.vue

+ 7 - 0
src/api/exctab/exceltab.js

@@ -89,4 +89,11 @@ export const getExcelPdf= (form) => {
     method: 'post',
     data:form
   })
+}
+export const getTempExcelFileUrl= (form) => {
+  return request({
+    url: '/api/blade-user/excel-table/getTempExcelFileUrl',
+    method: 'post',
+    data:form
+  })
 }

+ 2 - 2
src/components/PdfView.vue

@@ -5,11 +5,11 @@
     append-to-body
     title="查看pdf文件"
     :visible="drawerVisible"
-     :with-header="false"
+  
     :before-close="handleClose">
      <div style="height: 100%;">
       <!-- 保存按钮 -->
-      <div style="position: absolute; top: 20px; right: 20px; z-index: 100;">
+      <div style="position: absolute; top: 20px; right: 60px; z-index: 100;">
         <el-button 
         v-if="isSave"
         :loading="saveExcelJsonLoadPdf"