diff --git a/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/document/service/impl/BussDocumentLibraryEOServiceImpl.java b/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/document/service/impl/BussDocumentLibraryEOServiceImpl.java index 655d33f77..b7525f088 100644 --- a/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/document/service/impl/BussDocumentLibraryEOServiceImpl.java +++ b/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/document/service/impl/BussDocumentLibraryEOServiceImpl.java @@ -1187,10 +1187,12 @@ public class BussDocumentLibraryEOServiceImpl extends ServiceImpl stringMap = new HashMap<>(); for (OnlCgformField onlCgformField : searchFieldList) { String s = (String) map.get(onlCgformField.getDbFieldName()); - if (StringUtils.isBlank(s)) { - s = ""; +// if (StringUtils.isBlank(s)) { +// s = ""; +// } + if(StringUtils.isNotBlank(s)){ + stringMap.put(onlCgformField.getDbFieldName(), s); } - stringMap.put(onlCgformField.getDbFieldName(), s); } stringMap.put("id", idTemp); stringMap.put("module_type", "文档库"); @@ -1641,10 +1645,15 @@ public class BussDocumentLibraryEOServiceImpl extends ServiceImpl stringMap = new HashMap<>(); for (OnlCgformField onlCgformField : searchFieldList) { String s = (String) map.get(onlCgformField.getDbFieldName()); - if (StringUtils.isBlank(s)) { - s = ""; + if(FieldTypeEnum.DATE_SINGLE.getValue().equals(onlCgformField.getFieldShowType()) && StringUtils.isNotBlank(s)){ + s = s.split(" ")[0]; + } +// if (StringUtils.isBlank(s)) { +// s = ""; +// } + if(StringUtils.isNotBlank(s)){ + stringMap.put(onlCgformField.getDbFieldName(), s); } - stringMap.put(onlCgformField.getDbFieldName(), s); } stringMap.put("id", (String) map.get("id")); stringMap.put("module_type", "文档库"); diff --git a/jero-web/src/common/lang/en-us.js b/jero-web/src/common/lang/en-us.js index 8cc16f45f..e65f0e6c7 100644 --- a/jero-web/src/common/lang/en-us.js +++ b/jero-web/src/common/lang/en-us.js @@ -563,5 +563,6 @@ module.exports = { batSetting:'batch setting', selectDirectoryTerms:'please select the directory location to add terms', StandardBreakdown:"Standard breakdown", - + OnlyWord: 'only word files can be imported', + labelAreaDeleted:'If it is deleted, all label items under the display area will be deleted', } \ No newline at end of file diff --git a/jero-web/src/common/lang/zh-cn.js b/jero-web/src/common/lang/zh-cn.js index 390a9ae1a..2f910f4ef 100644 --- a/jero-web/src/common/lang/zh-cn.js +++ b/jero-web/src/common/lang/zh-cn.js @@ -566,5 +566,8 @@ module.exports = { documentSplitTemplate:'文档拆分模板', batSetting:'批量设置', selectDirectoryTerms:'请选择添加条款的目录位置', + OnlyWord:'只能导入word文件', + labelAreaDeleted:'若进行删除,则该展示区域下标签项都将被删除', + StandardBreakdown:'标准分解单', } \ No newline at end of file diff --git a/jero-web/src/components/libraryAddForm/index.vue b/jero-web/src/components/libraryAddForm/index.vue index 380c7f5dd..8aa995b6e 100644 --- a/jero-web/src/components/libraryAddForm/index.vue +++ b/jero-web/src/components/libraryAddForm/index.vue @@ -424,7 +424,7 @@ }) } } - if (res.field_show_type === '1' || res.field_show_type === '2' || + if (res.field_show_type === '1' || res.field_show_type === '8' || res.field_show_type === '9' || res.field_show_type === '10' || res.field_show_type === '11') { rule.push({ diff --git a/jero-web/src/views/documentManage/library/docDetail/index.vue b/jero-web/src/views/documentManage/library/docDetail/index.vue index 4e3cdc8a9..b224225d4 100644 --- a/jero-web/src/views/documentManage/library/docDetail/index.vue +++ b/jero-web/src/views/documentManage/library/docDetail/index.vue @@ -95,10 +95,10 @@ {{$t('StandardBreakdown')}} - - - {{$t('download')}} - + + + {{$t('download')}} + diff --git a/jero-web/src/views/documentManage/splitting/index.vue b/jero-web/src/views/documentManage/splitting/index.vue index 807693cb0..99b1ed544 100644 --- a/jero-web/src/views/documentManage/splitting/index.vue +++ b/jero-web/src/views/documentManage/splitting/index.vue @@ -3,26 +3,6 @@
- - - - - - - - - - - - - - - - - - - -
@@ -49,34 +29,6 @@ @deleteDetail="deleteDetail" @detailClick="detailClick" > - - - - - - - - - - - - - - - - - - - - - - - - - - - -
@@ -226,19 +178,16 @@ content: '', onOk: async () => { + // let formData = new FormData(); + // formData.append('params', params) + // console.log('formdata',formData) axios({ url: '/jero-boot/split/sarFileSplitInfo/deleteBatch', - method: 'post', + method: 'get', data: params, - transformRequest: [function (data) { - let ret = '' - for (let it in data) { - ret += encodeURIComponent(it) + '=' + encodeURIComponent(data[it]) + '&' - } - return ret - }], + params:params, headers: { - 'Content-Type': 'application/x-www-form-urlencoded', + // 'Content-Type': 'multipart/form-data', 'X-Access-Token':this.token } }).then(res => { diff --git a/jero-web/src/views/documentManage/splitting/modules/ImportResult.vue b/jero-web/src/views/documentManage/splitting/modules/ImportResult.vue index 7c57533fd..b1a707d89 100644 --- a/jero-web/src/views/documentManage/splitting/modules/ImportResult.vue +++ b/jero-web/src/views/documentManage/splitting/modules/ImportResult.vue @@ -91,7 +91,7 @@