Browse Source

在线文档office

hujunwei@agilestar.cn 2 years ago
parent
commit
ce03694db8
1 changed files with 4 additions and 2 deletions
  1. 4 2
      src/pages/main/onlineOfficeExcel/index.vue

+ 4 - 2
src/pages/main/onlineOfficeExcel/index.vue

@@ -135,7 +135,7 @@
                                 </template>
                             </el-table-column>
                         </el-table>
-                        <el-pagination class="pageBox" @current-change="currchange" layout="prev, pager, next" background
+                        <el-pagination ref="pagination" class="pageBox" @current-change="currchange" layout="prev, pager, next" background
                             :total="total">
                         </el-pagination>
                     </div>
@@ -747,7 +747,7 @@ export default {
                     document: {
                         fileType: fileType,
                         key: id,
-                        title: fileName,
+                        title: _this.officetitle,
                         url: downloadUrl
                     },
                     editorConfig: {
@@ -954,6 +954,8 @@ export default {
             this.showExcel = false;
             this.nowFolder = a;
             this.tooltit = '在线文档-' + a.functionName;
+            this.pageSize = 1;
+            this.$refs.pagination.internalCurrentPage=1
             this.getList({}, 1);
         },
         // tree过滤方法