update 文档拆分参数
This commit is contained in:
@@ -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