Эх сурвалжийг харах

修复onlyoffice保存文件失败bug

cfort 3 жил өмнө
parent
commit
7742cd330f

+ 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)">