文档库--输入框(链接)
This commit is contained in:
+6
-5
@@ -405,6 +405,9 @@ public class BussDocumentLibraryEOServiceImpl extends ServiceImpl<BussDocumentLi
|
|||||||
List<Map<String, Object>> list = new ArrayList<>();
|
List<Map<String, Object>> list = new ArrayList<>();
|
||||||
for (OnlCgformField onlCgformField : fieldList) {
|
for (OnlCgformField onlCgformField : fieldList) {
|
||||||
Map<String, Object> map = new HashMap<>();
|
Map<String, Object> map = new HashMap<>();
|
||||||
|
if(FieldTypeEnum.TEXT_LINK.getValue().equals(onlCgformField.getFieldShowType())){
|
||||||
|
map.put("urlClick","true");
|
||||||
|
}
|
||||||
//字段
|
//字段
|
||||||
String dbFieldName = onlCgformField.getDbFieldName();
|
String dbFieldName = onlCgformField.getDbFieldName();
|
||||||
if ("serial_number".equals(dbFieldName) || "title".equals(dbFieldName)) {
|
if ("serial_number".equals(dbFieldName) || "title".equals(dbFieldName)) {
|
||||||
@@ -845,11 +848,6 @@ public class BussDocumentLibraryEOServiceImpl extends ServiceImpl<BussDocumentLi
|
|||||||
List<OnlCgformField> treeFieldList = fieldList.stream()
|
List<OnlCgformField> treeFieldList = fieldList.stream()
|
||||||
.filter(e -> FieldTypeEnum.TREE.getValue().equals(e.getFieldShowType()))
|
.filter(e -> FieldTypeEnum.TREE.getValue().equals(e.getFieldShowType()))
|
||||||
.collect(Collectors.toList());
|
.collect(Collectors.toList());
|
||||||
//过滤出输入框链接
|
|
||||||
List<OnlCgformField> OnlCgformFieldLinkList = fieldList.stream()
|
|
||||||
.filter(e -> FieldTypeEnum.TREE.getValue().equals(e.getFieldShowType()))
|
|
||||||
.collect(Collectors.toList());
|
|
||||||
List<String> linkList = OnlCgformFieldLinkList.stream().map(OnlCgformField::getDbFieldName).collect(Collectors.toList());
|
|
||||||
|
|
||||||
//下拉选字段
|
//下拉选字段
|
||||||
List<String> fieldPullList = onlCgformFieldList.stream().map(OnlCgformField::getDbFieldName).collect(Collectors.toList());
|
List<String> fieldPullList = onlCgformFieldList.stream().map(OnlCgformField::getDbFieldName).collect(Collectors.toList());
|
||||||
@@ -997,6 +995,9 @@ public class BussDocumentLibraryEOServiceImpl extends ServiceImpl<BussDocumentLi
|
|||||||
String db_field_name, String dbFieldName2, String db_field_txt,
|
String db_field_name, String dbFieldName2, String db_field_txt,
|
||||||
String dbFieldTxt, String db_field_en_name, String dbFieldEnName,
|
String dbFieldTxt, String db_field_en_name, String dbFieldEnName,
|
||||||
String area, String showArea, List<SysCategoryTreeVO> sysCategoryTreeVOS) {
|
String area, String showArea, List<SysCategoryTreeVO> sysCategoryTreeVOS) {
|
||||||
|
if(FieldTypeEnum.TEXT_LINK.getValue().equals(fieldShowType2)){
|
||||||
|
map.put("urlClick", "true");
|
||||||
|
}
|
||||||
map.put(field_show_type, fieldShowType2);//类型(判断是下拉还是输入框,等等)
|
map.put(field_show_type, fieldShowType2);//类型(判断是下拉还是输入框,等等)
|
||||||
map.put(dict_field, dictField);
|
map.put(dict_field, dictField);
|
||||||
map.put(db_field_name, dbFieldName2);//字段
|
map.put(db_field_name, dbFieldName2);//字段
|
||||||
|
|||||||
Reference in New Issue
Block a user