소스 검색

修复onlyoffice保存文件失败bug

cfort 3 년 전
부모
커밋
7742cd330f
2개의 변경된 파일3개의 추가작업 그리고 6개의 파일을 삭제
  1. 1 1
      src/business/platform/file/attachment/editFile/editor.vue
  2. 2 5
      src/views/system/dashboard/components/new-home.vue

+ 1 - 1
src/business/platform/file/attachment/editFile/editor.vue

@@ -89,7 +89,7 @@ export default {
         },
         documentType: this.doctype,
         editorConfig: {
-          callbackUrl: option.editUrl,
+          callbackUrl: option.editUrl + '&access_token=' + getToken(),
           lang: 'zh',
           canHistoryRestore:true,
           canUseHistory:true,

+ 2 - 5
src/views/system/dashboard/components/new-home.vue

@@ -57,15 +57,12 @@
                             <el-table-column
                                 prop="subject"
                                 label="事务名称"
+                                width="300"
                                 show-overflow-tooltip
                             >
                                 <template slot-scope="scope">{{ scope.row.subject | getWorkInfo('name') }}</template>
                             </el-table-column>
-                            <el-table-column
-                                label="事务说明"
-                                width="200"
-                                show-overflow-tooltip
-                            >
+                            <el-table-column label="事务说明" show-overflow-tooltip>
                                 <template slot-scope="scope">{{ scope.row.subject | getWorkInfo('desc') }}</template>
                             </el-table-column>
                             <template v-if="['wait'].includes(activeTab)">