From 0a84ffb3e4f0a3166fd5437ca3e74ad3e3f011d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E9=9C=84?= Date: Tue, 26 Sep 2023 09:16:54 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E6=96=87=E6=A1=A3=E6=8B=86=E5=88=86?= =?UTF-8?q?=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/request.js | 2 +- src/views/documentTool/documentSplit/modules/SplitText.vue | 3 +-- .../commonPage/StandardDetailPage.vue | 2 +- .../dynamicMessage/DynamicMessageList.vue | 1 + 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/utils/request.js b/src/utils/request.js index f2242817..ad78e94d 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -18,7 +18,7 @@ const apiBaseUrl = window._CONFIG.domianURL || '/laws-sinotruk' const service = axios.create({ // baseURL: '/laws-sinotruk', baseURL: apiBaseUrl, // api base_url - timeout: 10000 // 请求超时时间 + timeout: 30 * 60 * 1000 // 请求超时时间 }) const err = (error) => { diff --git a/src/views/documentTool/documentSplit/modules/SplitText.vue b/src/views/documentTool/documentSplit/modules/SplitText.vue index 0008d4d3..042a39a4 100644 --- a/src/views/documentTool/documentSplit/modules/SplitText.vue +++ b/src/views/documentTool/documentSplit/modules/SplitText.vue @@ -164,8 +164,7 @@ export default { const nameSuffix = name[name.length - 1] if (nameSuffix.toLowerCase() === 'doc' || nameSuffix.toLowerCase() === 'docx') { const params = { - fileId: file.id, - id: '2' + fileId: file.id } this.loading = true addDocSplit(params).then(res => { diff --git a/src/views/standardRegulationLibrary/commonPage/StandardDetailPage.vue b/src/views/standardRegulationLibrary/commonPage/StandardDetailPage.vue index ac3e8682..523023f5 100644 --- a/src/views/standardRegulationLibrary/commonPage/StandardDetailPage.vue +++ b/src/views/standardRegulationLibrary/commonPage/StandardDetailPage.vue @@ -170,7 +170,7 @@ export default { // 页面数据 detailData: {}, // 文件的字段 - fileField: ['associated_file', 'publish_of_original', 'publish_of_translation', 'modification_list', 'draft_for_review', 'draft_for_approval', 'draft_for_comment', 'draft'], + fileField: [], // 需要数据字段翻译的属性类型 needDictFieldList: [FieldType.USER_SINGLE.value, FieldType.ORGAN_SINGLE.value, FieldType.STANDARD_MORE.value, FieldType.ORGAN_MORE.value, FieldType.OPTION_SINGLE.value, FieldType.OPTION_MORE.value, FieldType.TREE.value], image: false, diff --git a/src/views/standardRegulationLibrary/dynamicMessage/DynamicMessageList.vue b/src/views/standardRegulationLibrary/dynamicMessage/DynamicMessageList.vue index decc664b..ca012746 100644 --- a/src/views/standardRegulationLibrary/dynamicMessage/DynamicMessageList.vue +++ b/src/views/standardRegulationLibrary/dynamicMessage/DynamicMessageList.vue @@ -122,5 +122,6 @@ export default {