update 文档拆分参数
This commit is contained in:
@@ -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) => {
|
||||
|
||||
@@ -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 => {
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -122,5 +122,6 @@ export default {
|
||||
</script>
|
||||
|
||||
<style scoped lang="less">
|
||||
@import '~@assets/less/common.less';
|
||||
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user