From 48475a9a22d90f8db867543ac364c645fe8b763f Mon Sep 17 00:00:00 2001 From: vayne Date: Sat, 27 Jan 2024 16:00:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=9A=E5=8A=A1=E7=BA=BF=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mapper/scm/BusinessLineMapper.xml | 3 + .../main/java/jnpf/mapper/BaseUserMapper.java | 16 + .../jnpf/mapper/BusinessLineConfigMapper.java | 16 + .../java/jnpf/mapper/BusinessLineMapper.java | 3 + .../jnpf/mapper/BusinessLineSonMapper.java | 16 + .../java/jnpf/service/BaseUserService.java | 18 + .../service/BusinessLineConfigService.java | 39 + .../jnpf/service/BusinessLineService.java | 2 + .../jnpf/service/BusinessLineSonService.java | 18 + .../service/impl/BaseUserServiceImpl.java | 61 + .../impl/BusinessLineConfigServiceImpl.java | 454 +++ .../service/impl/BusinessLineServiceImpl.java | 10 + .../impl/BusinessLineSonServiceImpl.java | 61 + .../BusinessLineConfigController.java | 463 ++++ .../controller/BusinessLineController.java | 41 +- .../main/java/jnpf/entity/BaseUserEntity.java | 141 + .../jnpf/entity/BusinessLineConfigEntity.java | 45 + .../java/jnpf/entity/BusinessLineEntity.java | 2 +- .../jnpf/entity/BusinessLineSonEntity.java | 105 + .../model/businessline/BusinessLineForm.java | 7 + .../businesslineconfig/BaseUserModel.java | 43 + .../BusinessLineConfigConstant.java | 41 + .../BusinessLineConfigForm.java | 47 + .../BusinessLineConfigPagination.java | 39 + .../businesslineconfig/BusinessLineModel.java | 20 + .../BusinessLineSonModel.java | 24 + .../BusinessLineSonTree.java | 28 + .../jnpf-web/src/api/permission/organize.js | 9 + .../permission/organize/enterpriseIndex.vue | 228 ++ .../src/views/permission/user/index.vue | 1 + .../src/views/scm/businessLine/Detail.vue | 206 -- .../src/views/scm/businessLine/columnList.js | 2 +- .../src/views/scm/businessLine/form.vue | 1363 +++++---- .../src/views/scm/businessLine/index.vue | 1160 ++++---- .../scm/businessLineConfig/columnList.js | 2 + .../src/views/scm/businessLineConfig/form.vue | 368 +++ .../views/scm/businessLineConfig/index.vue | 628 +++++ .../scm/businessLineConfig/superQueryJson.js | 2 + .../src/views/scm/businessOrganize/form.vue | 2441 +++++++++-------- 39 files changed, 5504 insertions(+), 2669 deletions(-) create mode 100644 jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/mapper/BaseUserMapper.java create mode 100644 jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/mapper/BusinessLineConfigMapper.java create mode 100644 jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/mapper/BusinessLineSonMapper.java create mode 100644 jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/BaseUserService.java create mode 100644 jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/BusinessLineConfigService.java create mode 100644 jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/BusinessLineSonService.java create mode 100644 jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/impl/BaseUserServiceImpl.java create mode 100644 jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/impl/BusinessLineConfigServiceImpl.java create mode 100644 jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/impl/BusinessLineSonServiceImpl.java create mode 100644 jnpf-java-boot/jnpf-scm/jnpf-scm-controller/src/main/java/jnpf/controller/BusinessLineConfigController.java create mode 100644 jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/entity/BaseUserEntity.java create mode 100644 jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/entity/BusinessLineConfigEntity.java create mode 100644 jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/entity/BusinessLineSonEntity.java create mode 100644 jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/businesslineconfig/BaseUserModel.java create mode 100644 jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/businesslineconfig/BusinessLineConfigConstant.java create mode 100644 jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/businesslineconfig/BusinessLineConfigForm.java create mode 100644 jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/businesslineconfig/BusinessLineConfigPagination.java create mode 100644 jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/businesslineconfig/BusinessLineModel.java create mode 100644 jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/businesslineconfig/BusinessLineSonModel.java create mode 100644 jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/businesslineconfig/BusinessLineSonTree.java create mode 100644 jnpf-java-boot/jnpf-web/src/views/permission/organize/enterpriseIndex.vue delete mode 100644 jnpf-java-boot/jnpf-web/src/views/scm/businessLine/Detail.vue create mode 100644 jnpf-java-boot/jnpf-web/src/views/scm/businessLineConfig/columnList.js create mode 100644 jnpf-java-boot/jnpf-web/src/views/scm/businessLineConfig/form.vue create mode 100644 jnpf-java-boot/jnpf-web/src/views/scm/businessLineConfig/index.vue create mode 100644 jnpf-java-boot/jnpf-web/src/views/scm/businessLineConfig/superQueryJson.js diff --git a/jnpf-java-boot/jnpf-admin/src/main/resources/mapper/scm/BusinessLineMapper.xml b/jnpf-java-boot/jnpf-admin/src/main/resources/mapper/scm/BusinessLineMapper.xml index 1a4aad59..95eb5c29 100644 --- a/jnpf-java-boot/jnpf-admin/src/main/resources/mapper/scm/BusinessLineMapper.xml +++ b/jnpf-java-boot/jnpf-admin/src/main/resources/mapper/scm/BusinessLineMapper.xml @@ -2,6 +2,9 @@ + diff --git a/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/mapper/BaseUserMapper.java b/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/mapper/BaseUserMapper.java new file mode 100644 index 00000000..021cc3e0 --- /dev/null +++ b/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/mapper/BaseUserMapper.java @@ -0,0 +1,16 @@ +package jnpf.mapper; + + +import jnpf.entity.BaseUserEntity; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; + +/** + * businessLineConfig + * 版本: V3.5 + * 版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * 作者: JNPF开发平台组 + * 日期: 2024-01-27 + */ +public interface BaseUserMapper extends BaseMapper { + +} diff --git a/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/mapper/BusinessLineConfigMapper.java b/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/mapper/BusinessLineConfigMapper.java new file mode 100644 index 00000000..152d6315 --- /dev/null +++ b/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/mapper/BusinessLineConfigMapper.java @@ -0,0 +1,16 @@ +package jnpf.mapper; + + +import jnpf.entity.BusinessLineConfigEntity; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; + +/** + * businessLineConfig + * 版本: V3.5 + * 版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * 作者: JNPF开发平台组 + * 日期: 2024-01-27 + */ +public interface BusinessLineConfigMapper extends BaseMapper { + +} diff --git a/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/mapper/BusinessLineMapper.java b/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/mapper/BusinessLineMapper.java index ed520ce2..6aeb2144 100644 --- a/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/mapper/BusinessLineMapper.java +++ b/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/mapper/BusinessLineMapper.java @@ -4,6 +4,8 @@ package jnpf.mapper; import jnpf.entity.BusinessLineEntity; import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import java.util.List; + /** * businessLine * 版本: V3.5 @@ -13,4 +15,5 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper; */ public interface BusinessLineMapper extends BaseMapper { + List queryBusinessLineList(); } diff --git a/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/mapper/BusinessLineSonMapper.java b/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/mapper/BusinessLineSonMapper.java new file mode 100644 index 00000000..4fb66041 --- /dev/null +++ b/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/mapper/BusinessLineSonMapper.java @@ -0,0 +1,16 @@ +package jnpf.mapper; + + +import jnpf.entity.BusinessLineSonEntity; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; + +/** + * businessLineConfig + * 版本: V3.5 + * 版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * 作者: JNPF开发平台组 + * 日期: 2024-01-27 + */ +public interface BusinessLineSonMapper extends BaseMapper { + +} diff --git a/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/BaseUserService.java b/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/BaseUserService.java new file mode 100644 index 00000000..db29841f --- /dev/null +++ b/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/BaseUserService.java @@ -0,0 +1,18 @@ +package jnpf.service; + +import jnpf.model.businesslineconfig.*; +import jnpf.entity.*; +import java.util.*; +import com.baomidou.mybatisplus.extension.service.IService; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; + +/** + * businessLineConfig + * 版本: V3.5 + * 版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * 作者: JNPF开发平台组 + * 日期: 2024-01-27 + */ +public interface BaseUserService extends IService { + QueryWrapper getChild(BusinessLineConfigPagination pagination,QueryWrapper baseUserQueryWrapper); +} diff --git a/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/BusinessLineConfigService.java b/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/BusinessLineConfigService.java new file mode 100644 index 00000000..c9004086 --- /dev/null +++ b/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/BusinessLineConfigService.java @@ -0,0 +1,39 @@ +package jnpf.service; + +import jnpf.model.businesslineconfig.*; +import jnpf.entity.*; +import java.util.*; +import com.baomidou.mybatisplus.extension.service.IService; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; + +/** + * businessLineConfig + * 版本: V3.5 + * 版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * 作者: JNPF开发平台组 + * 日期: 2024-01-27 + */ +public interface BusinessLineConfigService extends IService { + List getList(BusinessLineConfigPagination businessLineConfigPagination); + + List getTypeList(BusinessLineConfigPagination businessLineConfigPagination,String dataType); + + BusinessLineConfigEntity getInfo(String id); + + void delete(BusinessLineConfigEntity entity); + + void create(BusinessLineConfigEntity entity); + + boolean update(String id, BusinessLineConfigEntity entity); + + //子表方法 + //副表数据方法 + BusinessLineSonEntity getBusinessLineSon(String id); + + BaseUserEntity getBaseUser(String id); + + String checkForm(BusinessLineConfigForm form,int i); + + void saveOrUpdate(BusinessLineConfigForm businessLineConfigForm,String id, boolean isSave) throws Exception; + +} diff --git a/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/BusinessLineService.java b/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/BusinessLineService.java index 873c523d..729ae5ee 100644 --- a/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/BusinessLineService.java +++ b/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/BusinessLineService.java @@ -44,4 +44,6 @@ public interface BusinessLineService extends IService { void saveOrUpdate(BusinessLineForm businessLineForm,String id, boolean isSave) throws Exception; + List queryBusinessLineListInfo(); + } diff --git a/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/BusinessLineSonService.java b/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/BusinessLineSonService.java new file mode 100644 index 00000000..4710ffae --- /dev/null +++ b/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/BusinessLineSonService.java @@ -0,0 +1,18 @@ +package jnpf.service; + +import jnpf.model.businesslineconfig.*; +import jnpf.entity.*; +import java.util.*; +import com.baomidou.mybatisplus.extension.service.IService; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; + +/** + * businessLineConfig + * 版本: V3.5 + * 版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * 作者: JNPF开发平台组 + * 日期: 2024-01-27 + */ +public interface BusinessLineSonService extends IService { + QueryWrapper getChild(BusinessLineConfigPagination pagination,QueryWrapper businessLineSonQueryWrapper); +} diff --git a/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/impl/BaseUserServiceImpl.java b/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/impl/BaseUserServiceImpl.java new file mode 100644 index 00000000..3970f4be --- /dev/null +++ b/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/impl/BaseUserServiceImpl.java @@ -0,0 +1,61 @@ +package jnpf.service.impl; + +import jnpf.entity.*; +import jnpf.mapper.BaseUserMapper; +import jnpf.service.*; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import jnpf.model.businesslineconfig.*; +import java.math.BigDecimal; +import cn.hutool.core.util.ObjectUtil; +import jnpf.permission.model.authorize.AuthorizeConditionModel; +import jnpf.util.GeneraterSwapUtil; +import jnpf.database.model.superQuery.SuperQueryJsonModel; +import jnpf.database.model.superQuery.ConditionJsonModel; +import jnpf.database.model.superQuery.SuperQueryConditionModel; +import jnpf.model.QueryModel; +import java.util.stream.Collectors; +import jnpf.base.model.ColumnDataModel; +import org.springframework.stereotype.Service; +import com.baomidou.mybatisplus.core.metadata.IPage; +import jnpf.database.model.superQuery.SuperJsonModel; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.transaction.annotation.Transactional; +import com.baomidou.mybatisplus.extension.plugins.pagination.Page; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import java.text.SimpleDateFormat; +import jnpf.util.*; +import java.util.*; +import jnpf.base.UserInfo; +import jnpf.permission.entity.UserEntity; +/** + * + * businessLineConfig + * 版本: V3.5 + * 版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * 作者: JNPF开发平台组 + * 日期: 2024-01-27 + */ +@Service +public class BaseUserServiceImpl extends ServiceImpl implements BaseUserService{ + @Autowired + private GeneraterSwapUtil generaterSwapUtil; + + @Autowired + private UserProvider userProvider; + + //子表过滤方法 + @Override + public QueryWrapper getChild(BusinessLineConfigPagination pagination, QueryWrapper baseUserQueryWrapper){ + boolean pcPermission = false; + boolean appPermission = false; + boolean isPc = ServletUtil.getHeader("jnpf-origin").equals("pc"); + String ruleQueryJson = isPc?BusinessLineConfigConstant.getColumnData():BusinessLineConfigConstant.getAppColumnData(); + ColumnDataModel dataModel = JsonUtil.getJsonToBean(ruleQueryJson,ColumnDataModel.class); + String ruleJson = isPc?JsonUtil.getObjectToString(dataModel.getRuleList()):JsonUtil.getObjectToString(dataModel.getRuleListApp()); + if(isPc){ + } + if(!isPc){ + } + return baseUserQueryWrapper; + } +} diff --git a/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/impl/BusinessLineConfigServiceImpl.java b/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/impl/BusinessLineConfigServiceImpl.java new file mode 100644 index 00000000..b6741103 --- /dev/null +++ b/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/impl/BusinessLineConfigServiceImpl.java @@ -0,0 +1,454 @@ +package jnpf.service.impl; + +import jnpf.entity.*; +import jnpf.mapper.BusinessLineConfigMapper; +import jnpf.service.*; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import jnpf.model.businesslineconfig.*; +import java.math.BigDecimal; +import cn.hutool.core.util.ObjectUtil; +import jnpf.permission.model.authorize.AuthorizeConditionModel; +import jnpf.util.GeneraterSwapUtil; +import jnpf.database.model.superQuery.SuperQueryJsonModel; +import jnpf.database.model.superQuery.ConditionJsonModel; +import jnpf.database.model.superQuery.SuperQueryConditionModel; +import java.lang.reflect.Field; +import com.baomidou.mybatisplus.annotation.TableField; +import java.util.regex.Pattern; +import jnpf.model.QueryModel; +import java.util.stream.Collectors; +import jnpf.base.model.ColumnDataModel; +import org.springframework.stereotype.Service; +import com.baomidou.mybatisplus.core.metadata.IPage; +import jnpf.database.model.superQuery.SuperJsonModel; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.transaction.annotation.Transactional; +import com.baomidou.mybatisplus.extension.plugins.pagination.Page; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import java.text.SimpleDateFormat; +import jnpf.util.*; +import java.util.*; +import jnpf.base.UserInfo; +import jnpf.permission.entity.UserEntity; +/** + * + * businessLineConfig + * 版本: V3.5 + * 版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * 作者: JNPF开发平台组 + * 日期: 2024-01-27 + */ +@Service +public class BusinessLineConfigServiceImpl extends ServiceImpl implements BusinessLineConfigService{ + @Autowired + private GeneraterSwapUtil generaterSwapUtil; + + @Autowired + private UserProvider userProvider; + + @Autowired + private BusinessLineSonService businessLineSonService; + @Autowired + private BaseUserService baseUserService; + @Override + public List getList(BusinessLineConfigPagination businessLineConfigPagination){ + return getTypeList(businessLineConfigPagination,businessLineConfigPagination.getDataType()); + } + /** 列表查询 */ + @Override + public List getTypeList(BusinessLineConfigPagination businessLineConfigPagination,String dataType){ + String userId=userProvider.get().getUserId(); + List AllIdList =new ArrayList(); + List> intersectionList =new ArrayList<>(); + boolean isPc = ServletUtil.getHeader("jnpf-origin").equals("pc"); + String columnData = !isPc ? BusinessLineConfigConstant.getAppColumnData() : BusinessLineConfigConstant.getColumnData(); + ColumnDataModel columnDataModel = JsonUtil.getJsonToBean(columnData, ColumnDataModel.class); + String ruleJson = !isPc ? JsonUtil.getObjectToString(columnDataModel.getRuleListApp()) : JsonUtil.getObjectToString(columnDataModel.getRuleList()); + + int total=0; + int businessLineConfigNum =0; + QueryWrapper businessLineConfigQueryWrapper=new QueryWrapper<>(); + int businessLineSonNum =0; + QueryWrapper businessLineSonQueryWrapper=new QueryWrapper<>(); + int baseUserNum =0; + QueryWrapper baseUserQueryWrapper=new QueryWrapper<>(); + long businessLineSoncount = businessLineSonService.count(); + long baseUsercount = baseUserService.count(); + List allSuperIDlist = new ArrayList<>(); + String superOp =""; + if (ObjectUtil.isNotEmpty(businessLineConfigPagination.getSuperQueryJson())){ + List allSuperList = new ArrayList<>(); + List> intersectionSuperList = new ArrayList<>(); + String queryJson = businessLineConfigPagination.getSuperQueryJson(); + SuperJsonModel superJsonModel = JsonUtil.getJsonToBean(queryJson, SuperJsonModel.class); + int superNum = 0; + QueryWrapper businessLineConfigSuperWrapper = new QueryWrapper<>(); + businessLineConfigSuperWrapper = generaterSwapUtil.getCondition(new QueryModel(businessLineConfigSuperWrapper,BusinessLineConfigEntity.class,queryJson,"0")); + int businessLineConfigNum1 = businessLineConfigSuperWrapper.getExpression().getNormal().size(); + if (businessLineConfigNum1>0){ + List businessLineConfigList =this.list(businessLineConfigSuperWrapper).stream().map(BusinessLineConfigEntity::getId).collect(Collectors.toList()); + allSuperList.addAll(businessLineConfigList); + intersectionSuperList.add(businessLineConfigList); + superNum++; + } + String businessLineSonTable = "jg_business_line"; + boolean businessLineSonHasSql = queryJson.contains(businessLineSonTable); + List businessLineSonList = generaterSwapUtil.selectIdsByChildCondition(BusinessLineConfigConstant.getTableList(), businessLineSonTable , queryJson, null); + if (businessLineSonHasSql){ + allSuperList.addAll(businessLineSonList); + intersectionSuperList.add(businessLineSonList); + superNum++; + } + String baseUserTable = "base_user"; + boolean baseUserHasSql = queryJson.contains(baseUserTable); + List baseUserList = generaterSwapUtil.selectIdsByChildCondition(BusinessLineConfigConstant.getTableList(), baseUserTable , queryJson, null); + if (baseUserHasSql){ + allSuperList.addAll(baseUserList); + intersectionSuperList.add(baseUserList); + superNum++; + } + superOp = superNum > 0 ? superJsonModel.getMatchLogic() : ""; + //and or + if(superOp.equalsIgnoreCase("and")){ + allSuperIDlist = generaterSwapUtil.getIntersection(intersectionSuperList); + }else{ + allSuperIDlist = allSuperList; + } + } + List allRuleIDlist = new ArrayList<>(); + String ruleOp =""; + if (ObjectUtil.isNotEmpty(ruleJson)){ + List allRuleList = new ArrayList<>(); + List> intersectionRuleList = new ArrayList<>(); + SuperJsonModel ruleJsonModel = JsonUtil.getJsonToBean(ruleJson, SuperJsonModel.class); + int ruleNum = 0; + QueryWrapper businessLineConfigSuperWrapper = new QueryWrapper<>(); + businessLineConfigSuperWrapper = generaterSwapUtil.getCondition(new QueryModel(businessLineConfigSuperWrapper,BusinessLineConfigEntity.class,ruleJson,"0")); + int businessLineConfigNum1 = businessLineConfigSuperWrapper.getExpression().getNormal().size(); + if (businessLineConfigNum1>0){ + List businessLineConfigList =this.list(businessLineConfigSuperWrapper).stream().map(BusinessLineConfigEntity::getId).collect(Collectors.toList()); + allRuleList.addAll(businessLineConfigList); + intersectionRuleList.add(businessLineConfigList); + ruleNum++; + } + String businessLineSonTable = "jg_business_line"; + boolean businessLineSonHasSql = ruleJson.contains(businessLineSonTable); + List businessLineSonList = generaterSwapUtil.selectIdsByChildCondition(BusinessLineConfigConstant.getTableList(), businessLineSonTable , ruleJson, null); + if (businessLineSonHasSql){ + allRuleList.addAll(businessLineSonList); + intersectionRuleList.add(businessLineSonList); + ruleNum++; + } + String baseUserTable = "base_user"; + boolean baseUserHasSql = ruleJson.contains(baseUserTable); + List baseUserList = generaterSwapUtil.selectIdsByChildCondition(BusinessLineConfigConstant.getTableList(), baseUserTable , ruleJson, null); + if (baseUserHasSql){ + allRuleList.addAll(baseUserList); + intersectionRuleList.add(baseUserList); + ruleNum++; + } + ruleOp = ruleNum > 0 ? ruleJsonModel.getMatchLogic() : ""; + //and or + if(ruleOp.equalsIgnoreCase("and")){ + allRuleIDlist = generaterSwapUtil.getIntersection(intersectionRuleList); + }else{ + allRuleIDlist = allRuleList; + } + } + boolean pcPermission = false; + boolean appPermission = false; + if(isPc && pcPermission){ + if (!userProvider.get().getIsAdministrator()){ + Object businessLineConfigObj=generaterSwapUtil.getAuthorizeCondition(new QueryModel(businessLineConfigQueryWrapper,BusinessLineConfigEntity.class,businessLineConfigPagination.getMenuId(),"0")); + if (ObjectUtil.isEmpty(businessLineConfigObj)){ + return new ArrayList<>(); + } else { + businessLineConfigQueryWrapper = (QueryWrapper)businessLineConfigObj; + if( businessLineConfigQueryWrapper.getExpression().getNormal().size()>0){ + businessLineConfigNum++; + } + } + Object businessLineSonObj=generaterSwapUtil.getAuthorizeCondition(new QueryModel(businessLineSonQueryWrapper,BusinessLineSonEntity.class,businessLineConfigPagination.getMenuId(),"0")); + if (ObjectUtil.isEmpty(businessLineSonObj)){ + return new ArrayList<>(); + } else { + businessLineSonQueryWrapper = (QueryWrapper)businessLineSonObj; + if( businessLineSonQueryWrapper.getExpression().getNormal().size()>0){ + businessLineSonNum++; + } + } + Object baseUserObj=generaterSwapUtil.getAuthorizeCondition(new QueryModel(baseUserQueryWrapper,BaseUserEntity.class,businessLineConfigPagination.getMenuId(),"0")); + if (ObjectUtil.isEmpty(baseUserObj)){ + return new ArrayList<>(); + } else { + baseUserQueryWrapper = (QueryWrapper)baseUserObj; + if( baseUserQueryWrapper.getExpression().getNormal().size()>0){ + baseUserNum++; + } + } + } + } + if(!isPc && appPermission){ + if (!userProvider.get().getIsAdministrator()){ + Object businessLineConfigObj=generaterSwapUtil.getAuthorizeCondition(new QueryModel(businessLineConfigQueryWrapper,BusinessLineConfigEntity.class,businessLineConfigPagination.getMenuId(),"0")); + if (ObjectUtil.isEmpty(businessLineConfigObj)){ + return new ArrayList<>(); + } else { + businessLineConfigQueryWrapper = (QueryWrapper)businessLineConfigObj; + if( businessLineConfigQueryWrapper.getExpression().getNormal().size()>0){ + businessLineConfigNum++; + } + } + + + Object businessLineSonObj=generaterSwapUtil.getAuthorizeCondition(new QueryModel(businessLineSonQueryWrapper,BusinessLineSonEntity.class,businessLineConfigPagination.getMenuId(),"0")); + if (ObjectUtil.isEmpty(businessLineSonObj)){ + return new ArrayList<>(); + } else { + businessLineSonQueryWrapper = (QueryWrapper)businessLineSonObj; + if( businessLineSonQueryWrapper.getExpression().getNormal().size()>0){ + businessLineSonNum++; + } + } + + + Object baseUserObj=generaterSwapUtil.getAuthorizeCondition(new QueryModel(baseUserQueryWrapper,BaseUserEntity.class,businessLineConfigPagination.getMenuId(),"0")); + if (ObjectUtil.isEmpty(baseUserObj)){ + return new ArrayList<>(); + } else { + baseUserQueryWrapper = (QueryWrapper)baseUserObj; + if( baseUserQueryWrapper.getExpression().getNormal().size()>0){ + baseUserNum++; + } + } + + + } + } + if(isPc){ + if(ObjectUtil.isNotEmpty(businessLineConfigPagination.getJnpf_jg_business_line_jnpf_name())){ + businessLineSonNum++; + + String value = businessLineConfigPagination.getJnpf_jg_business_line_jnpf_name() instanceof List ? + JsonUtil.getObjectToString(businessLineConfigPagination.getJnpf_jg_business_line_jnpf_name()) : + String.valueOf(businessLineConfigPagination.getJnpf_jg_business_line_jnpf_name()); + businessLineSonQueryWrapper.lambda().like(BusinessLineSonEntity::getName,value); + + } + + if(ObjectUtil.isNotEmpty(businessLineConfigPagination.getJnpf_base_user_jnpf_realName())){ + baseUserNum++; + + String value = businessLineConfigPagination.getJnpf_base_user_jnpf_realName() instanceof List ? + JsonUtil.getObjectToString(businessLineConfigPagination.getJnpf_base_user_jnpf_realName()) : + String.valueOf(businessLineConfigPagination.getJnpf_base_user_jnpf_realName()); + baseUserQueryWrapper.lambda().like(BaseUserEntity::getRealName,value); + + } + + if(ObjectUtil.isNotEmpty(businessLineConfigPagination.getJnpf_base_user_jnpf_lastLogTime())){ + baseUserNum++; + + List LastLogTimeList = JsonUtil.getJsonToList(businessLineConfigPagination.getJnpf_base_user_jnpf_lastLogTime(),String.class); + Long fir = Long.valueOf(String.valueOf(LastLogTimeList.get(0))); + Long sec = Long.valueOf(String.valueOf(LastLogTimeList.get(1))); + + baseUserQueryWrapper.lambda().ge(BaseUserEntity::getLastLogTime, new Date(fir)) + .le(BaseUserEntity::getLastLogTime, DateUtil.stringToDate(DateUtil.daFormatYmd(sec) + " 23:59:59")); + + + } + + } + if(!isPc){ + if(ObjectUtil.isNotEmpty(businessLineConfigPagination.getJnpf_jg_business_line_jnpf_name())){ + businessLineSonNum++; + + String value = businessLineConfigPagination.getJnpf_jg_business_line_jnpf_name() instanceof List ? + JsonUtil.getObjectToString(businessLineConfigPagination.getJnpf_jg_business_line_jnpf_name()) : + String.valueOf(businessLineConfigPagination.getJnpf_jg_business_line_jnpf_name()); + businessLineSonQueryWrapper.lambda().like(BusinessLineSonEntity::getName,value); + + } + + } + if(businessLineSonNum>0){ + List businessLineSonIdList = businessLineSonService.list(businessLineSonQueryWrapper).stream().filter(t->StringUtil.isNotEmpty(t.getId())).map(t->t.getId()).collect(Collectors.toList()); + long count = businessLineSonService.count(); + if (count>0){ + intersectionList.add(businessLineSonIdList); + } + AllIdList.addAll(businessLineSonIdList); + } + total+=businessLineSonNum; + if(baseUserNum>0){ + List baseUserIdList = baseUserService.list(baseUserQueryWrapper).stream().filter(t->StringUtil.isNotEmpty(t.getId())).map(t->t.getId()).collect(Collectors.toList()); + long count = baseUserService.count(); + if (count>0){ + intersectionList.add(baseUserIdList); + } + AllIdList.addAll(baseUserIdList); + } + total+=baseUserNum; + List intersection = generaterSwapUtil.getIntersection(intersectionList); + if (total>0){ + if (intersection.size()==0){ + intersection.add("jnpfNullList"); + } + businessLineConfigQueryWrapper.lambda().in(BusinessLineConfigEntity::getId, intersection); + } + //是否有高级查询 + if (StringUtil.isNotEmpty(superOp)){ + if (allSuperIDlist.size()==0){ + allSuperIDlist.add("jnpfNullList"); + } + List finalAllSuperIDlist = allSuperIDlist; + businessLineConfigQueryWrapper.lambda().and(t->t.in(BusinessLineConfigEntity::getId, finalAllSuperIDlist)); + } + //是否有数据过滤查询 + if (StringUtil.isNotEmpty(ruleOp)){ + if (allRuleIDlist.size()==0){ + allRuleIDlist.add("jnpfNullList"); + } + List finalAllRuleIDlist = allRuleIDlist; + businessLineConfigQueryWrapper.lambda().and(t->t.in(BusinessLineConfigEntity::getId, finalAllRuleIDlist)); + } + //假删除标志 + businessLineConfigQueryWrapper.lambda().isNull(BusinessLineConfigEntity::getDeleteMark); + + //排序 + if(StringUtil.isEmpty(businessLineConfigPagination.getSidx())){ + businessLineConfigQueryWrapper.lambda().orderByDesc(BusinessLineConfigEntity::getId); + }else{ + try { + String sidx = businessLineConfigPagination.getSidx(); + String[] strs= sidx.split("_name"); + BusinessLineConfigEntity businessLineConfigEntity = new BusinessLineConfigEntity(); + Field declaredField = businessLineConfigEntity.getClass().getDeclaredField(strs[0]); + declaredField.setAccessible(true); + String value = declaredField.getAnnotation(TableField.class).value(); + businessLineConfigQueryWrapper="asc".equals(businessLineConfigPagination.getSort().toLowerCase())?businessLineConfigQueryWrapper.orderByAsc(value):businessLineConfigQueryWrapper.orderByDesc(value); + } catch (NoSuchFieldException e) { + e.printStackTrace(); + } + } + + if("0".equals(dataType)){ + if((total>0 && AllIdList.size()>0) || total==0){ + Page page=new Page<>(businessLineConfigPagination.getCurrentPage(), businessLineConfigPagination.getPageSize()); + IPage userIPage=this.page(page, businessLineConfigQueryWrapper); + return businessLineConfigPagination.setData(userIPage.getRecords(),userIPage.getTotal()); + }else{ + List list = new ArrayList(); + return businessLineConfigPagination.setData(list, list.size()); + } + }else{ + return this.list(businessLineConfigQueryWrapper); + } + } + @Override + public BusinessLineConfigEntity getInfo(String id){ + QueryWrapper queryWrapper=new QueryWrapper<>(); + queryWrapper.lambda().eq(BusinessLineConfigEntity::getId,id); + return this.getOne(queryWrapper); + } + @Override + public void create(BusinessLineConfigEntity entity){ + this.save(entity); + } + @Override + public boolean update(String id, BusinessLineConfigEntity entity){ + return this.updateById(entity); + } + @Override + public void delete(BusinessLineConfigEntity entity){ + if(entity!=null){ + this.removeById(entity.getId()); + } + } + /** BusinessLineSon副表方法 */ + @Override + public BusinessLineSonEntity getBusinessLineSon(String id){ + QueryWrapper queryWrapper = new QueryWrapper<>(); + queryWrapper.lambda().eq(BusinessLineSonEntity::getId, id); + return businessLineSonService.getOne(queryWrapper); + } + /** BaseUser副表方法 */ + @Override + public BaseUserEntity getBaseUser(String id){ + QueryWrapper queryWrapper = new QueryWrapper<>(); + queryWrapper.lambda().eq(BaseUserEntity::getId, id); + return baseUserService.getOne(queryWrapper); + } + /** 验证表单唯一字段,正则,非空 i-0新增-1修改*/ + @Override + public String checkForm(BusinessLineConfigForm form,int i) { + boolean isUp =StringUtil.isNotEmpty(form.getId()) && !form.getId().equals("0"); + String id=""; + String countRecover = ""; + if (isUp){ + id = form.getId(); + } + //主表字段验证 + //副表字段验证 + return countRecover; + } + /** + * 新增修改数据(事务回滚) + * @param id + * @param businessLineConfigForm + * @return + */ + @Override + @Transactional + public void saveOrUpdate(BusinessLineConfigForm businessLineConfigForm,String id, boolean isSave) throws Exception{ + UserInfo userInfo=userProvider.get(); + UserEntity userEntity = generaterSwapUtil.getUser(userInfo.getUserId()); + businessLineConfigForm = JsonUtil.getJsonToBean( + generaterSwapUtil.swapDatetime(BusinessLineConfigConstant.getFormData(),businessLineConfigForm),BusinessLineConfigForm.class); + BusinessLineConfigEntity entity = JsonUtil.getJsonToBean(businessLineConfigForm, BusinessLineConfigEntity.class); + + if(isSave){ + String mainId = id ; + entity.setId(mainId); + entity.setFlowId(businessLineConfigForm.getFlowId()); + entity.setVersion(0); + }else{ + entity.setFlowId(businessLineConfigForm.getFlowId()); + } + this.saveOrUpdate(entity); + + //jg_business_line副表数据新增修改 + Map BusinessLineSonMap = generaterSwapUtil.getMastTabelData(businessLineConfigForm,"jg_business_line"); + BusinessLineSonEntity jg_business_lineentity = JsonUtil.getJsonToBean(BusinessLineSonMap,BusinessLineSonEntity.class); + //自动生成的字段 + if(isSave){ + jg_business_lineentity.setId(entity.getBusinessLineId()); + jg_business_lineentity.setId(RandomUtil.uuId()); + }else{ + QueryWrapper queryWrapperBusinessLineSon =new QueryWrapper<>(); + queryWrapperBusinessLineSon.lambda().eq(BusinessLineSonEntity::getId,entity.getBusinessLineId()); + BusinessLineSonEntity jg_business_lineOneEntity= businessLineSonService.getOne(queryWrapperBusinessLineSon); + jg_business_lineentity.setId(jg_business_lineOneEntity.getId()); + jg_business_lineentity.setId(entity.getBusinessLineId()); + } + + businessLineSonService.saveOrUpdate(jg_business_lineentity); + //base_user副表数据新增修改 + Map BaseUserMap = generaterSwapUtil.getMastTabelData(businessLineConfigForm,"base_user"); + BaseUserEntity base_userentity = JsonUtil.getJsonToBean(BaseUserMap,BaseUserEntity.class); + //自动生成的字段 + if(isSave){ + base_userentity.setId(entity.getUserId()); + base_userentity.setId(RandomUtil.uuId()); + }else{ + QueryWrapper queryWrapperBaseUser =new QueryWrapper<>(); + queryWrapperBaseUser.lambda().eq(BaseUserEntity::getId,entity.getUserId()); + BaseUserEntity base_userOneEntity= baseUserService.getOne(queryWrapperBaseUser); + base_userentity.setId(base_userOneEntity.getId()); + base_userentity.setId(entity.getUserId()); + } + + baseUserService.saveOrUpdate(base_userentity); + } +} diff --git a/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/impl/BusinessLineServiceImpl.java b/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/impl/BusinessLineServiceImpl.java index ce47ab5e..6d9be42c 100644 --- a/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/impl/BusinessLineServiceImpl.java +++ b/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/impl/BusinessLineServiceImpl.java @@ -30,6 +30,9 @@ import jnpf.util.*; import java.util.*; import jnpf.base.UserInfo; import jnpf.permission.entity.UserEntity; + +import javax.annotation.Resource; + /** * * businessLine @@ -52,6 +55,8 @@ public class BusinessLineServiceImpl extends ServiceImpl getList(BusinessLinePagination businessLinePagination){ return getTypeList(businessLinePagination,businessLinePagination.getDataType()); @@ -645,4 +650,9 @@ public class BusinessLineServiceImpl extends ServiceImpl queryBusinessLineListInfo() { + return businessLineMapper.queryBusinessLineList(); + } } diff --git a/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/impl/BusinessLineSonServiceImpl.java b/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/impl/BusinessLineSonServiceImpl.java new file mode 100644 index 00000000..c6a692f2 --- /dev/null +++ b/jnpf-java-boot/jnpf-scm/jnpf-scm-biz/src/main/java/jnpf/service/impl/BusinessLineSonServiceImpl.java @@ -0,0 +1,61 @@ +package jnpf.service.impl; + +import jnpf.entity.*; +import jnpf.mapper.BusinessLineSonMapper; +import jnpf.service.*; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import jnpf.model.businesslineconfig.*; +import java.math.BigDecimal; +import cn.hutool.core.util.ObjectUtil; +import jnpf.permission.model.authorize.AuthorizeConditionModel; +import jnpf.util.GeneraterSwapUtil; +import jnpf.database.model.superQuery.SuperQueryJsonModel; +import jnpf.database.model.superQuery.ConditionJsonModel; +import jnpf.database.model.superQuery.SuperQueryConditionModel; +import jnpf.model.QueryModel; +import java.util.stream.Collectors; +import jnpf.base.model.ColumnDataModel; +import org.springframework.stereotype.Service; +import com.baomidou.mybatisplus.core.metadata.IPage; +import jnpf.database.model.superQuery.SuperJsonModel; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.transaction.annotation.Transactional; +import com.baomidou.mybatisplus.extension.plugins.pagination.Page; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import java.text.SimpleDateFormat; +import jnpf.util.*; +import java.util.*; +import jnpf.base.UserInfo; +import jnpf.permission.entity.UserEntity; +/** + * + * businessLineConfig + * 版本: V3.5 + * 版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * 作者: JNPF开发平台组 + * 日期: 2024-01-27 + */ +@Service +public class BusinessLineSonServiceImpl extends ServiceImpl implements BusinessLineSonService{ + @Autowired + private GeneraterSwapUtil generaterSwapUtil; + + @Autowired + private UserProvider userProvider; + + //子表过滤方法 + @Override + public QueryWrapper getChild(BusinessLineConfigPagination pagination, QueryWrapper businessLineSonQueryWrapper){ + boolean pcPermission = false; + boolean appPermission = false; + boolean isPc = ServletUtil.getHeader("jnpf-origin").equals("pc"); + String ruleQueryJson = isPc?BusinessLineConfigConstant.getColumnData():BusinessLineConfigConstant.getAppColumnData(); + ColumnDataModel dataModel = JsonUtil.getJsonToBean(ruleQueryJson,ColumnDataModel.class); + String ruleJson = isPc?JsonUtil.getObjectToString(dataModel.getRuleList()):JsonUtil.getObjectToString(dataModel.getRuleListApp()); + if(isPc){ + } + if(!isPc){ + } + return businessLineSonQueryWrapper; + } +} diff --git a/jnpf-java-boot/jnpf-scm/jnpf-scm-controller/src/main/java/jnpf/controller/BusinessLineConfigController.java b/jnpf-java-boot/jnpf-scm/jnpf-scm-controller/src/main/java/jnpf/controller/BusinessLineConfigController.java new file mode 100644 index 00000000..2cb8fd76 --- /dev/null +++ b/jnpf-java-boot/jnpf-scm/jnpf-scm-controller/src/main/java/jnpf/controller/BusinessLineConfigController.java @@ -0,0 +1,463 @@ +package jnpf.controller; + +import cn.hutool.core.util.ObjectUtil; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import io.swagger.v3.oas.annotations.Operation; +import io.swagger.v3.oas.annotations.tags.Tag; +import jnpf.base.ActionResult; +import jnpf.base.UserInfo; +import jnpf.exception.DataException; +import jnpf.permission.entity.UserEntity; +import jnpf.service.*; +import jnpf.entity.*; +import jnpf.util.*; +import jnpf.model.businesslineconfig.*; +import lombok.extern.slf4j.Slf4j; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.*; +import javax.validation.Valid; +import java.util.*; +import jnpf.annotation.JnpfField; +import jnpf.base.vo.PageListVO; +import jnpf.base.vo.PaginationVO; +import jnpf.base.vo.DownloadVO; +import jnpf.config.ConfigValueUtil; +import jnpf.base.entity.ProvinceEntity; +import java.io.IOException; +import java.util.stream.Collectors; +import jnpf.engine.entity.FlowTaskEntity; +import jnpf.exception.WorkFlowException; +import org.springframework.web.multipart.MultipartFile; +import cn.afterturn.easypoi.excel.ExcelExportUtil; +import cn.afterturn.easypoi.excel.ExcelImportUtil; +import cn.afterturn.easypoi.excel.entity.ExportParams; +import cn.afterturn.easypoi.excel.entity.ImportParams; +import cn.afterturn.easypoi.excel.entity.params.ExcelExportEntity; +import cn.afterturn.easypoi.excel.entity.enmus.ExcelType; +import org.apache.poi.hssf.usermodel.HSSFWorkbook; +import org.apache.poi.ss.usermodel.Workbook; +import java.io.File; +import jnpf.onlinedev.model.ExcelImFieldModel; +import jnpf.onlinedev.model.OnlineImport.ImportDataModel; +import jnpf.onlinedev.model.OnlineImport.ImportFormCheckUniqueModel; +import jnpf.onlinedev.model.OnlineImport.ExcelImportModel; +import jnpf.onlinedev.model.OnlineImport.VisualImportModel; +import cn.xuyanwu.spring.file.storage.FileInfo; +import lombok.Cleanup; +import jnpf.model.visualJson.config.HeaderModel; +import jnpf.base.model.ColumnDataModel; +import jnpf.base.util.VisualUtils; +import org.springframework.transaction.annotation.Transactional; + +/** + * businessLineConfig + * @版本: V3.5 + * @版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * @作者: JNPF开发平台组 + * @日期: 2024-01-27 + */ +@Slf4j +@RestController +@Tag(name = "businessLineConfig" , description = "scm") +@RequestMapping("/api/scm/BusinessLineConfig") +public class BusinessLineConfigController { + + @Autowired + private GeneraterSwapUtil generaterSwapUtil; + + @Autowired + private UserProvider userProvider; + + @Autowired + private BusinessLineConfigService businessLineConfigService; + + + @Autowired + private BusinessLineSonService businessLineSonService; + @Autowired + private BaseUserService baseUserService; + + @Autowired + private ConfigValueUtil configValueUtil; + + /** + * 列表 + * + * @param businessLineConfigPagination + * @return + */ + @Operation(summary = "获取列表") + @PostMapping("/getList") + public ActionResult list(@RequestBody BusinessLineConfigPagination businessLineConfigPagination)throws IOException{ + List list= businessLineConfigService.getList(businessLineConfigPagination); + List> realList=new ArrayList<>(); + for (BusinessLineConfigEntity entity : list) { + Map businessLineConfigMap=JsonUtil.entityToMap(entity); + businessLineConfigMap.put("id", businessLineConfigMap.get("id")); + //副表数据 + BusinessLineSonEntity businessLineSonEntity = businessLineConfigService.getBusinessLineSon(entity.getId()); + if(ObjectUtil.isNotEmpty(businessLineSonEntity)){ + Map businessLineSonMap=JsonUtil.entityToMap(businessLineSonEntity); + for(String key:businessLineSonMap.keySet()){ + businessLineConfigMap.put("jnpf_jg_business_line_jnpf_"+key,businessLineSonMap.get(key)); + } + } + BaseUserEntity baseUserEntity = businessLineConfigService.getBaseUser(entity.getId()); + if(ObjectUtil.isNotEmpty(baseUserEntity)){ + Map baseUserMap=JsonUtil.entityToMap(baseUserEntity); + for(String key:baseUserMap.keySet()){ + businessLineConfigMap.put("jnpf_base_user_jnpf_"+key,baseUserMap.get(key)); + } + } + //子表数据 + realList.add(businessLineConfigMap); + } + //数据转换 + realList = generaterSwapUtil.swapDataList(realList, BusinessLineConfigConstant.getFormData(), BusinessLineConfigConstant.getColumnData(), businessLineConfigPagination.getModuleId(),false); + + //流程状态添加 + for(Map vo:realList){ + FlowTaskEntity flowTaskEntity = generaterSwapUtil.getInfoSubmit(String.valueOf(vo.get("id")), FlowTaskEntity::getStatus); + if (flowTaskEntity!=null){ + vo.put("flowState",flowTaskEntity.getStatus()); + }else{ + vo.put("flowState",null); + } + //添加流程id + String flowId=""; + if(vo.get("flowid")!=null){ + flowId = String.valueOf(vo.get("flowid")); + } + if(vo.get("flowid".toUpperCase())!=null){ + flowId = String.valueOf(vo.get("flowid".toUpperCase())); + } + if(StringUtil.isNotEmpty(flowId)){ + vo.put("flowId" ,flowId); + } + } + //返回对象 + PageListVO vo = new PageListVO(); + vo.setList(realList); + PaginationVO page = JsonUtil.getJsonToBean(businessLineConfigPagination, PaginationVO.class); + vo.setPagination(page); + return ActionResult.success(vo); + } + /** + * 创建 + * + * @param businessLineConfigForm + * @return + */ + @PostMapping("/{id}") + @Operation(summary = "创建") + public ActionResult create(@PathVariable("id") String id, @RequestBody @Valid BusinessLineConfigForm businessLineConfigForm) { + String b = businessLineConfigService.checkForm(businessLineConfigForm,0); + if (StringUtil.isNotEmpty(b)){ + return ActionResult.fail(b ); + } + try{ + businessLineConfigService.saveOrUpdate(businessLineConfigForm, id ,true); + }catch(Exception e){ + return ActionResult.fail("新增数据失败"); + } + return ActionResult.success("创建成功"); + } + /** + * 导出Excel + * + * @return + */ + @Operation(summary = "导出Excel") + @PostMapping("/Actions/Export") + public ActionResult Export(@RequestBody BusinessLineConfigPagination businessLineConfigPagination) throws IOException { + if (StringUtil.isEmpty(businessLineConfigPagination.getSelectKey())){ + return ActionResult.fail("请选择导出字段"); + } + List list= businessLineConfigService.getList(businessLineConfigPagination); + List> realList=new ArrayList<>(); + for (BusinessLineConfigEntity entity : list) { + Map businessLineConfigMap=JsonUtil.entityToMap(entity); + businessLineConfigMap.put("id", businessLineConfigMap.get("id")); + //副表数据 + BusinessLineSonEntity businessLineSonEntity = businessLineConfigService.getBusinessLineSon(entity.getId()); + if(ObjectUtil.isNotEmpty(businessLineSonEntity)){ + Map businessLineSonMap=JsonUtil.entityToMap(businessLineSonEntity); + for(String key:businessLineSonMap.keySet()){ + businessLineConfigMap.put("jnpf_jg_business_line_jnpf_"+key,businessLineSonMap.get(key)); + } + } + BaseUserEntity baseUserEntity = businessLineConfigService.getBaseUser(entity.getId()); + if(ObjectUtil.isNotEmpty(baseUserEntity)){ + Map baseUserMap=JsonUtil.entityToMap(baseUserEntity); + for(String key:baseUserMap.keySet()){ + businessLineConfigMap.put("jnpf_base_user_jnpf_"+key,baseUserMap.get(key)); + } + } + //子表数据 + realList.add(businessLineConfigMap); + } + //数据转换 + realList = generaterSwapUtil.swapDataList(realList, BusinessLineConfigConstant.getFormData(), BusinessLineConfigConstant.getColumnData(), businessLineConfigPagination.getModuleId(),false); + String[]keys=!StringUtil.isEmpty(businessLineConfigPagination.getSelectKey())?businessLineConfigPagination.getSelectKey():new String[0]; + UserInfo userInfo=userProvider.get(); + DownloadVO vo=this.creatModelExcel(configValueUtil.getTemporaryFilePath(),realList,keys,userInfo); + return ActionResult.success(vo); + } + + /** + * 导出表格方法 + */ + public DownloadVO creatModelExcel(String path,List>list,String[]keys,UserInfo userInfo){ + DownloadVO vo=DownloadVO.builder().build(); + List entitys=new ArrayList<>(); + if(keys.length>0){ + for(String key:keys){ + switch(key){ + case "jnpf_jg_business_line_jnpf_name" : + entitys.add(new ExcelExportEntity("业务线名称" ,"jnpf_jg_business_line_jnpf_name")); + break; + case "jnpf_base_user_jnpf_realName" : + entitys.add(new ExcelExportEntity("姓名" ,"jnpf_base_user_jnpf_realName")); + break; + case "jnpf_base_user_jnpf_enabledMark" : + entitys.add(new ExcelExportEntity("帐号状态" ,"jnpf_base_user_jnpf_enabledMark")); + break; + case "jnpf_base_user_jnpf_mobilePhone" : + entitys.add(new ExcelExportEntity("手机" ,"jnpf_base_user_jnpf_mobilePhone")); + break; + case "jnpf_base_user_jnpf_lastLogTime" : + entitys.add(new ExcelExportEntity("最后登录" ,"jnpf_base_user_jnpf_lastLogTime")); + break; + case "jnpf_base_user_jnpf_creatorTime" : + entitys.add(new ExcelExportEntity("创建时间" ,"jnpf_base_user_jnpf_creatorTime")); + break; + case "jnpf_base_user_jnpf_lastModifyTime" : + entitys.add(new ExcelExportEntity("修改时间" ,"jnpf_base_user_jnpf_lastModifyTime")); + break; + default: + break; + } + } + } + + ExportParams exportParams = new ExportParams(null, "表单信息"); + exportParams.setType(ExcelType.XSSF); + try{ + @Cleanup Workbook workbook = new HSSFWorkbook(); + if (entitys.size()>0){ + if (list.size()==0){ + list.add(new HashMap<>()); + } + //去除空数据 + List> dataList = new ArrayList<>(); + for (Map map : list) { + int i = 0; + for (String key : keys) { + //子表 + if (key.toLowerCase().startsWith("tablefield")) { + String tableField = key.substring(0, key.indexOf("-" )); + String field = key.substring(key.indexOf("-" ) + 1); + Object o = map.get(tableField); + if (o != null) { + List> childList = (List>) o; + for (Map childMap : childList) { + if (childMap.get(field) != null) { + i++; + } + } + } + } else { + Object o = map.get(key); + if (o != null) { + i++; + } + } + } + if (i > 0) { + dataList.add(map); + } + } + //复杂表头-表头和数据处理 + ColumnDataModel columnDataModel = JsonUtil.getJsonToBean(BusinessLineConfigConstant.getColumnData(), ColumnDataModel.class); + List complexHeaderList = columnDataModel.getComplexHeaderList(); + if (!Objects.equals(columnDataModel.getType(), 3) && !Objects.equals(columnDataModel.getType(), 5)) { + entitys = VisualUtils.complexHeaderHandel(entitys, complexHeaderList); + dataList = VisualUtils.complexHeaderDataHandel(dataList, complexHeaderList); + } + + workbook = ExcelExportUtil.exportExcel(exportParams, entitys, dataList); + } + String fileName = "表单信息" + DateUtil.dateNow("yyyyMMdd") + "_" + RandomUtil.uuId() + ".xlsx"; + MultipartFile multipartFile = ExcelUtil.workbookToCommonsMultipartFile(workbook, fileName); + String temporaryFilePath = configValueUtil.getTemporaryFilePath(); + FileInfo fileInfo = FileUploadUtils.uploadFile(multipartFile, temporaryFilePath, fileName); + vo.setName(fileInfo.getFilename()); + vo.setUrl(UploaderUtil.uploaderFile(fileInfo.getFilename() + "#" + "Temporary") + "&name=" + fileName); + } catch (Exception e) { + log.error("信息导出Excel错误:{}", e.getMessage()); + e.printStackTrace(); + } + return vo; + } + /** + * 批量删除 + * @param ids + * @return + */ + @DeleteMapping("/batchRemove") + @Transactional + @Operation(summary = "批量删除") + public ActionResult batchRemove(@RequestBody String ids){ + List idList = JsonUtil.getJsonToList(ids, String.class); + List columnIdList = new ArrayList<>(20); + int i =0; + String errInfo = ""; + for (String allId : idList){ + FlowTaskEntity taskEntity = generaterSwapUtil.getInfoSubmit(allId, FlowTaskEntity::getId, FlowTaskEntity::getStatus); + if (taskEntity==null){ + columnIdList.add(allId); + this.delete(allId); + }else if (taskEntity.getStatus().equals(0) || taskEntity.getStatus().equals(4)){ + try { + generaterSwapUtil.deleteFlowTask(taskEntity); + columnIdList.add(allId); + this.delete(allId); + i++; + } catch (WorkFlowException e) { + errInfo = e.getMessage(); + e.printStackTrace(); + } + } + } + if (i == 0 && columnIdList.size()==0){ + return ActionResult.fail("流程已发起,无法删除"); + } + if (StringUtil.isNotEmpty(errInfo)){ + return ActionResult.fail(errInfo); + } + return ActionResult.success("删除成功"); + } + /** + * 编辑 + * @param id + * @param businessLineConfigForm + * @return + */ + @PutMapping("/{id}") + @Operation(summary = "更新") + public ActionResult update(@PathVariable("id") String id,@RequestBody @Valid BusinessLineConfigForm businessLineConfigForm, + @RequestParam(value = "isImport", required = false) boolean isImport){ + businessLineConfigForm.setId(id); + if (!isImport) { + String b = businessLineConfigService.checkForm(businessLineConfigForm,1); + if (StringUtil.isNotEmpty(b)){ + return ActionResult.fail(b ); + } + } + BusinessLineConfigEntity entity= businessLineConfigService.getInfo(id); + if(entity!=null){ + try{ + businessLineConfigService.saveOrUpdate(businessLineConfigForm,id,false); + }catch(Exception e){ + return ActionResult.fail("修改数据失败"); + } + return ActionResult.success("更新成功"); + }else{ + return ActionResult.fail("更新失败,数据不存在"); + } + } + /** + * 删除 + * @param id + * @return + */ + @Operation(summary = "删除") + @DeleteMapping("/{id}") + @Transactional + public ActionResult delete(@PathVariable("id") String id){ + BusinessLineConfigEntity entity= businessLineConfigService.getInfo(id); + if(entity!=null){ + FlowTaskEntity taskEntity = generaterSwapUtil.getInfoSubmit(id, FlowTaskEntity::getId, FlowTaskEntity::getStatus); + if (taskEntity != null) { + try { + generaterSwapUtil.deleteFlowTask(taskEntity); + } catch (WorkFlowException e) { + e.printStackTrace(); + } + } + //假删除 + entity.setDeleteMark(1); + businessLineConfigService.update(id,entity); + } + return ActionResult.success("删除成功"); + } + /** + * 表单信息(详情页) + * 详情页面使用-转换数据 + * @param id + * @return + */ + @Operation(summary = "表单信息(详情页)") + @GetMapping("/detail/{id}") + public ActionResult detailInfo(@PathVariable("id") String id){ + BusinessLineConfigEntity entity= businessLineConfigService.getInfo(id); + if(entity==null){ + return ActionResult.fail("表单数据不存在!"); + } + Map businessLineConfigMap=JsonUtil.entityToMap(entity); + businessLineConfigMap.put("id", businessLineConfigMap.get("id")); + //副表数据 + BusinessLineSonEntity businessLineSonEntity = businessLineConfigService.getBusinessLineSon(entity.getId()); + if(ObjectUtil.isNotEmpty(businessLineSonEntity)){ + Map businessLineSonMap=JsonUtil.entityToMap(businessLineSonEntity); + for(String key:businessLineSonMap.keySet()){ + businessLineConfigMap.put("jnpf_jg_business_line_jnpf_"+key,businessLineSonMap.get(key)); + } + } + BaseUserEntity baseUserEntity = businessLineConfigService.getBaseUser(entity.getId()); + if(ObjectUtil.isNotEmpty(baseUserEntity)){ + Map baseUserMap=JsonUtil.entityToMap(baseUserEntity); + for(String key:baseUserMap.keySet()){ + businessLineConfigMap.put("jnpf_base_user_jnpf_"+key,baseUserMap.get(key)); + } + } + //子表数据 + businessLineConfigMap = generaterSwapUtil.swapDataDetail(businessLineConfigMap,BusinessLineConfigConstant.getFormData(),"520890418406097989",false); + return ActionResult.success(businessLineConfigMap); + } + /** + * 获取详情(编辑页) + * 编辑页面使用-不转换数据 + * @param id + * @return + */ + @Operation(summary = "信息") + @GetMapping("/{id}") + public ActionResult info(@PathVariable("id") String id){ + BusinessLineConfigEntity entity= businessLineConfigService.getInfo(id); + if(entity==null){ + return ActionResult.fail("表单数据不存在!"); + } + Map businessLineConfigMap=JsonUtil.entityToMap(entity); + businessLineConfigMap.put("id", businessLineConfigMap.get("id")); + //副表数据 + BusinessLineSonEntity businessLineSonEntity = businessLineConfigService.getBusinessLineSon(entity.getId()); + if(ObjectUtil.isNotEmpty(businessLineSonEntity)){ + Map businessLineSonMap=JsonUtil.entityToMap(businessLineSonEntity); + for(String key:businessLineSonMap.keySet()){ + businessLineConfigMap.put("jnpf_jg_business_line_jnpf_"+key,businessLineSonMap.get(key)); + } + } + BaseUserEntity baseUserEntity = businessLineConfigService.getBaseUser(entity.getId()); + if(ObjectUtil.isNotEmpty(baseUserEntity)){ + Map baseUserMap=JsonUtil.entityToMap(baseUserEntity); + for(String key:baseUserMap.keySet()){ + businessLineConfigMap.put("jnpf_base_user_jnpf_"+key,baseUserMap.get(key)); + } + } + //子表数据 + businessLineConfigMap = generaterSwapUtil.swapDataForm(businessLineConfigMap,BusinessLineConfigConstant.getFormData(),BusinessLineConfigConstant.TABLEFIELDKEY,BusinessLineConfigConstant.TABLERENAMES); + return ActionResult.success(businessLineConfigMap); + } + +} diff --git a/jnpf-java-boot/jnpf-scm/jnpf-scm-controller/src/main/java/jnpf/controller/BusinessLineController.java b/jnpf-java-boot/jnpf-scm/jnpf-scm-controller/src/main/java/jnpf/controller/BusinessLineController.java index 7de90c56..0dfecc4c 100644 --- a/jnpf-java-boot/jnpf-scm/jnpf-scm-controller/src/main/java/jnpf/controller/BusinessLineController.java +++ b/jnpf-java-boot/jnpf-scm/jnpf-scm-controller/src/main/java/jnpf/controller/BusinessLineController.java @@ -1,17 +1,26 @@ package jnpf.controller; import cn.hutool.core.util.ObjectUtil; +import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import io.swagger.v3.oas.annotations.Operation; import io.swagger.v3.oas.annotations.tags.Tag; import jnpf.base.ActionResult; import jnpf.base.UserInfo; +import jnpf.base.vo.ListVO; import jnpf.exception.DataException; +import jnpf.model.businesslineconfig.BusinessLineModel; +import jnpf.model.businesslineconfig.BusinessLineSonTree; +import jnpf.permission.entity.OrganizeEntity; import jnpf.permission.entity.UserEntity; +import jnpf.permission.model.organize.OrganizeModel; +import jnpf.permission.model.organize.OrganizeTreeVO; import jnpf.service.*; import jnpf.entity.*; import jnpf.util.*; import jnpf.model.businessline.*; +import jnpf.util.treeutil.SumTree; +import jnpf.util.treeutil.newtreeutil.TreeDotUtils; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.*; @@ -59,6 +68,32 @@ public class BusinessLineController { private BusinessCargoService businessCargoService; + /** + * 业务线树形 + * + * @return + */ + @Operation(summary = "获取业务线树形") + @GetMapping("/Tree") + public ActionResult> tree() { + List list = businessLineService.queryBusinessLineListInfo(); + List models = JsonUtil.getJsonToList(list, BusinessLineModel.class); + List> trees = TreeDotUtils.convertListToTreeDot(models); + List listVO = JsonUtil.getJsonToList(trees, BusinessLineSonTree.class); + //将子节点全部删除 + Iterator iterator = listVO.iterator(); + while (iterator.hasNext()) { + BusinessLineSonTree businessLineSonTree = iterator.next(); + if (!"-1".equals(businessLineSonTree.getParentId())) { + iterator.remove(); + } + } + ListVO vo = new ListVO(); + vo.setList(listVO); + return ActionResult.success(vo); + } + + /** * 列表 * @@ -236,11 +271,11 @@ public class BusinessLineController { //副表数据 //子表数据 List businessContactList = businessLineService.getBusinessContactList(entity.getId()); - businessLineMap.put("businessContactList",JsonUtil.getJsonToList(JsonUtil.getListToJsonArray(businessContactList))); + businessLineMap.put("businesscontactList",JsonUtil.getJsonToList(JsonUtil.getListToJsonArray(businessContactList))); List businessAddressList = businessLineService.getBusinessAddressList(entity.getId()); - businessLineMap.put("businessAddressList",JsonUtil.getJsonToList(JsonUtil.getListToJsonArray(businessAddressList))); + businessLineMap.put("businessaddressList",JsonUtil.getJsonToList(JsonUtil.getListToJsonArray(businessAddressList))); List businessCargoList = businessLineService.getBusinessCargoList(entity.getId()); - businessLineMap.put("businessCargoList",JsonUtil.getJsonToList(JsonUtil.getListToJsonArray(businessCargoList))); + businessLineMap.put("businesscargoList",JsonUtil.getJsonToList(JsonUtil.getListToJsonArray(businessCargoList))); businessLineMap = generaterSwapUtil.swapDataForm(businessLineMap,BusinessLineConstant.getFormData(),BusinessLineConstant.TABLEFIELDKEY,BusinessLineConstant.TABLERENAMES); return ActionResult.success(businessLineMap); } diff --git a/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/entity/BaseUserEntity.java b/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/entity/BaseUserEntity.java new file mode 100644 index 00000000..1f49e9d2 --- /dev/null +++ b/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/entity/BaseUserEntity.java @@ -0,0 +1,141 @@ +package jnpf.entity; + +import com.baomidou.mybatisplus.annotation.*; +import lombok.Data; +import java.util.Date; +/** + * 用户信息 + * + * @版本: V3.5 + * @版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * @作者: JNPF开发平台组 + * @日期: 2024-01-27 + */ +@Data +@TableName("base_user") +public class BaseUserEntity { + @TableId(value ="F_ID" ) + private String id; + @TableField("F_ACCOUNT") + private String account; + @TableField(value = "F_REAL_NAME" , updateStrategy = FieldStrategy.IGNORED) + private String realName; + @TableField("F_QUICK_QUERY") + private String quickQuery; + @TableField("F_NICK_NAME") + private String nickName; + @TableField("F_HEAD_ICON") + private String headIcon; + @TableField("F_GENDER") + private Integer gender; + @TableField("F_BIRTHDAY") + private Date birthday; + @TableField(value = "F_MOBILE_PHONE" , updateStrategy = FieldStrategy.IGNORED) + private String mobilePhone; + @TableField("F_TELE_PHONE") + private String telePhone; + @TableField("F_LANDLINE") + private String landline; + @TableField("F_EMAIL") + private String email; + @TableField("F_NATION") + private String nation; + @TableField("F_NATIVE_PLACE") + private String nativePlace; + @TableField("F_ENTRY_DATE") + private Date entryDate; + @TableField("F_CERTIFICATES_TYPE") + private String certificatesType; + @TableField("F_CERTIFICATES_NUMBER") + private String certificatesNumber; + @TableField("F_EDUCATION") + private String education; + @TableField("F_URGENT_CONTACTS") + private String urgentContacts; + @TableField("F_URGENT_TELE_PHONE") + private String urgentTelePhone; + @TableField("F_POSTAL_ADDRESS") + private String postalAddress; + @TableField("F_SIGNATURE") + private String signature; + @TableField("F_PASSWORD") + private String password; + @TableField("F_SECRETKEY") + private String secretkey; + @TableField("F_FIRST_LOG_TIME") + private Date firstLogTime; + @TableField("F_FIRST_LOG_IP") + private String firstLogIp; + @TableField("F_PREV_LOG_TIME") + private Date prevLogTime; + @TableField("F_PREV_LOG_IP") + private String prevLogIp; + @TableField(value = "F_LAST_LOG_TIME" , updateStrategy = FieldStrategy.IGNORED) + private Date lastLogTime; + @TableField("F_LAST_LOG_IP") + private String lastLogIp; + @TableField("F_LOG_SUCCESS_COUNT") + private Integer logSuccessCount; + @TableField("F_LOG_ERROR_COUNT") + private Integer logErrorCount; + @TableField("F_CHANGE_PASSWORD_DATE") + private Date changePasswordDate; + @TableField("F_LANGUAGE") + private String language; + @TableField("F_THEME") + private String theme; + @TableField("F_COMMON_MENU") + private String commonMenu; + @TableField("F_IS_ADMINISTRATOR") + private Integer isAdministrator; + @TableField("F_PROPERTY_JSON") + private String propertyJson; + @TableField("F_MANAGER_ID") + private String managerId; + @TableField("F_ORGANIZE_ID") + private String organizeId; + @TableField("F_POSITION_ID") + private String positionId; + @TableField("F_ROLE_ID") + private String roleId; + @TableField("F_PORTAL_ID") + private String portalId; + @TableField("F_LOCK_MARK") + private Integer lockMark; + @TableField("F_UNLOCK_TIME") + private Date unlockTime; + @TableField("F_GROUP_ID") + private String groupId; + @TableField("F_SYSTEM_ID") + private String systemId; + @TableField("F_HANDOVER_MARK") + private Integer handoverMark; + @TableField("F_APP_SYSTEM_ID") + private String appSystemId; + @TableField("F_DING_JOB_NUMBER") + private String dingJobNumber; + @TableField("F_DESCRIPTION") + private String description; + @TableField(value = "F_ENABLED_MARK" , updateStrategy = FieldStrategy.IGNORED) + private Integer enabledMark; + @TableField("F_SORT_CODE") + private Long sortCode; + @TableField(value = "F_CREATOR_TIME" , updateStrategy = FieldStrategy.IGNORED) + private Date creatorTime; + @TableField("F_CREATOR_USER_ID") + private String creatorUserId; + @TableField(value = "F_LAST_MODIFY_TIME" , updateStrategy = FieldStrategy.IGNORED) + private Date lastModifyTime; + @TableField("F_LAST_MODIFY_USER_ID") + private String lastModifyUserId; + @TableField("F_DELETE_TIME") + private Date deleteTime; + @TableField("F_DELETE_USER_ID") + private String deleteUserId; + @TableField("F_DELETE_MARK") + private Integer deleteMark; + @TableField("F_TENANT_ID") + private String tenantId; + @TableField("F_HANDOVER_USERID") + private String handoverUserid; +} diff --git a/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/entity/BusinessLineConfigEntity.java b/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/entity/BusinessLineConfigEntity.java new file mode 100644 index 00000000..a733c389 --- /dev/null +++ b/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/entity/BusinessLineConfigEntity.java @@ -0,0 +1,45 @@ +package jnpf.entity; + +import com.baomidou.mybatisplus.annotation.*; +import lombok.Data; +import java.util.Date; +/** + * 业务线和用户关联表 + * + * @版本: V3.5 + * @版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * @作者: JNPF开发平台组 + * @日期: 2024-01-27 + */ +@Data +@TableName("jg_business_user_relational") +public class BusinessLineConfigEntity { + @TableId(value ="ID" ) + private String id; + @TableField("BUSINESS_LINE_ID") + private String businessLineId; + @TableField("USER_ID") + private String userId; + @TableField("F_CREATOR_TIME") + private Date creatorTime; + @TableField("F_CREATOR_USER_ID") + private String creatorUserId; + @TableField("F_LAST_MODIFY_TIME") + private Date lastModifyTime; + @TableField("F_LAST_MODIFY_USER_ID") + private String lastModifyUserId; + @TableField("F_DELETE_TIME") + private Date deleteTime; + @TableField("F_DELETE_USER_ID") + private String deleteUserId; + @TableField("F_DELETE_MARK") + private Integer deleteMark; + @TableField("F_TENANT_ID") + private String tenantId; + @TableField("F_VERSION") + private Integer version; + @TableField("F_FLOW_TASK_ID") + private String flowTaskId; + @TableField("F_FLOW_ID") + private String flowId; +} diff --git a/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/entity/BusinessLineEntity.java b/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/entity/BusinessLineEntity.java index 542e3844..104f1700 100644 --- a/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/entity/BusinessLineEntity.java +++ b/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/entity/BusinessLineEntity.java @@ -47,7 +47,7 @@ public class BusinessLineEntity { @TableField("PHONE") private Integer phone; @TableField("DIFF_FLAG") - private String difflag; + private String diffFlag; @TableField("FAX") private String fax; @TableField("URL") diff --git a/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/entity/BusinessLineSonEntity.java b/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/entity/BusinessLineSonEntity.java new file mode 100644 index 00000000..9d3bbd56 --- /dev/null +++ b/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/entity/BusinessLineSonEntity.java @@ -0,0 +1,105 @@ +package jnpf.entity; + +import com.baomidou.mybatisplus.annotation.*; +import lombok.Data; +import java.util.Date; +/** + * 业务线表 + * + * @版本: V3.5 + * @版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * @作者: JNPF开发平台组 + * @日期: 2024-01-27 + */ +@Data +@TableName("jg_business_line") +public class BusinessLineSonEntity { + @TableId(value ="ID" ) + private String id; + @TableField("CODE") + private String code; + @TableField(value = "NAME" , updateStrategy = FieldStrategy.IGNORED) + private String name; + @TableField("SIMPLE_NAME") + private String simpleName; + @TableField("LOGO") + private String logo; + @TableField("PARENT_ID") + private String parentId; + @TableField("TYPE") + private String type; + @TableField("STATUS") + private String status; + @TableField("RELATION_INSTITUTION_NUM") + private Integer relationInstitutionNum; + @TableField("EMPLOYEE_NUM") + private Integer employeeNum; + @TableField("INDUSTRY") + private String industry; + @TableField("CITY") + private String city; + @TableField("ESTABLISH_DATE") + private Date establishDate; + @TableField("BELONG_USER_ID") + private String belongUserId; + @TableField("BRAND_NAME") + private String brandName; + @TableField("PHONE") + private Integer phone; + @TableField("DIFF_FLAG") + private String difflag; + @TableField("FAX") + private String fax; + @TableField("URL") + private String url; + @TableField("DESCRIPTION") + private String description; + @TableField("BUSINESS_TYPE") + private String businessType; + @TableField("BUSINESS_HOURS") + private String businessHours; + @TableField("BUSINESS_START") + private Date businessStart; + @TableField("BUSINESS_END") + private Date businessEnd; + @TableField("ALLOW_UNLOADING_START") + private Date allowUnloadingStart; + @TableField("ALLOW_UNLOADING_END") + private Date allowUnloadingEnd; + @TableField("UNLOADING_DURATION") + private String unloadingDuration; + @TableField("UNLOADING_EFFICIENCY") + private String unloadingEfficiency; + @TableField("ALLOW_LOADING_START") + private Date allowLoadingStart; + @TableField("ALLOW_LOADING_END") + private Date allowLoadingEnd; + @TableField("LOADING_DURATION") + private String loadingDuration; + @TableField("LOADING_EFFCIENCY") + private String loadingEffciency; + @TableField("EMAIL") + private String email; + @TableField("ERP_TYPE") + private String erpType; + @TableField("F_CREATOR_TIME") + private Date creatorTime; + @TableField("F_CREATOR_USER_ID") + private String creatorUserId; + @TableField("F_LAST_MODIFY_TIME") + private Date lastModifyTime; + @TableField("F_LAST_MODIFY_USER_ID") + private String lastModifyUserId; + @TableField("F_DELETE_TIME") + private Date deleteTime; + @TableField("F_DELETE_USER_ID") + private String deleteUserId; + @TableField("F_DELETE_MARK") + private Integer deleteMark; + @TableField("F_TENANT_ID") + private String tenantId; + @TableField("F_VERSION") + private Integer version; + @TableField("F_FLOW_ID") + private String flowId; +} diff --git a/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/businessline/BusinessLineForm.java b/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/businessline/BusinessLineForm.java index 31d5a939..371f73c1 100644 --- a/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/businessline/BusinessLineForm.java +++ b/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/businessline/BusinessLineForm.java @@ -89,4 +89,11 @@ public class BusinessLineForm { /** 卸货效率 **/ @JsonProperty("unloadingEfficiency") private String unloadingEfficiency; + /** 所属分类 **/ + @JsonProperty("industry") + private String industry; + + /** 业务线/仓库区分 **/ + @JsonProperty("diffFlag") + private String diffFlag; } diff --git a/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/businesslineconfig/BaseUserModel.java b/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/businesslineconfig/BaseUserModel.java new file mode 100644 index 00000000..2cb69ecb --- /dev/null +++ b/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/businesslineconfig/BaseUserModel.java @@ -0,0 +1,43 @@ +package jnpf.model.businesslineconfig; + +import lombok.Data; +import java.util.List; +import java.util.Date; +import java.math.BigDecimal; +import com.alibaba.fastjson.annotation.JSONField; +import cn.afterturn.easypoi.excel.annotation.Excel; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * + * businessLineConfig + * 版本: V3.5 + * 版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * 作者: JNPF开发平台组 + * 日期: 2024-01-27 + */ +@Data +public class BaseUserModel { + /** 姓名 **/ + @JSONField(name = "realName") + private String realName; + /** 帐号状态 **/ + @JSONField(name = "enabledMark") + private Object enabledMark; + + /** 手机 **/ + @JSONField(name = "mobilePhone") + private String mobilePhone; + /** 最后登录 **/ + @JSONField(name = "lastLogTime") + private Long lastLogTime; + + /** 创建时间 **/ + @JSONField(name = "creatorTime") + private Long creatorTime; + + /** 修改时间 **/ + @JSONField(name = "lastModifyTime") + private Long lastModifyTime; + +} diff --git a/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/businesslineconfig/BusinessLineConfigConstant.java b/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/businesslineconfig/BusinessLineConfigConstant.java new file mode 100644 index 00000000..ebf85a94 --- /dev/null +++ b/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/businesslineconfig/BusinessLineConfigConstant.java @@ -0,0 +1,41 @@ +package jnpf.model.businesslineconfig; + +import jnpf.util.JsonUtil; +import java.util.Map; + +/** + * businessLineConfig配置json + * + * @版本: V3.5 + * @版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * @作者: JNPF开发平台组 + * @日期: 2024-01-27 + */ +public class BusinessLineConfigConstant{ + /** 数据库链接 */ + public static final String DBLINKID = "0"; + /** 表别名 map */ + public static final Map TABLERENAMES = JsonUtil.getJsonToBean("{\"jg_business_user_relational\":\"businessLineConfig\",\"jg_business_line\":\"businessLineSon\",\"base_user\":\"baseUser\"}",Map.class); + /** 子表model map */ + public static final Map TABLEFIELDKEY = JsonUtil.getJsonToBean("{}",Map.class); + /** 整个表单配置json */ + public static final String getFormData(){ + StringBuilder sb = new StringBuilder(); +sb.append("{\"popupType\":\"general\",\"idGlobal\":111,\"formBtns\":false,\"labelWidth\":100,\"classNames\":[],\"className\":[],\"fullScreenWidth\":\"100%\",\"hasConfirmAndAddBtn\":true,\"labelPosition\":\"right\",\"printId\":\"\",\"disabled\":false,\"formModel\":\"dataForm\",\"cancelButtonText\":\"取 消\",\"confirmButtonText\":\"确 定\",\"hasCancelBtn\":true,\"primaryKeyPolicy\":1,\"confirmAndAddText\":\"确定并继续操作\",\"hasPrintBtn\":false,\"concurrencyLock\":true,\"classJson\":\"\",\"drawerWidth\":\"600px\",\"printButtonText\":\"打 印\",\"formRef\":\"formRef\",\"gutter\":15,\"logicalDelete\":true,\"size\":\"small\",\"formRules\":\"rules\",\"generalWidth\":\"600px\",\"hasConfirmBtn\":true,\"formStyle\":\"\",\"fields\":[{\"clearable\":true,\"suffixIcon\":\"\",\"addonAfter\":\"\",\"__config__\":{\"formId\":101,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"姓名\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"base_user\",\"renderKey\":1706325424775,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"jnpf_base_user_jnpf_realName\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"filterable\":false,\"clearable\":true,\"__config__\":{\"formId\":105,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"帐号状态\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"base_user\",\"renderKey\":1706326053257,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":8},\"options\":[{\"fullName\":\"选项一\",\"id\":\"1\"},{\"fullName\":\"选项二\",\"id\":\"2\"}],\"multiple\":false,\"__vModel__\":\"jnpf_base_user_jnpf_enabledMark\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"placeholder\":\"请选择\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"}},{\"clearable\":true,\"suffixIcon\":\"\",\"addonAfter\":\"\",\"__config__\":{\"formId\":106,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"手机\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"base_user\",\"renderKey\":1706326083130,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"jnpf_base_user_jnpf_mobilePhone\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"__config__\":{\"endRelationField\":\"\",\"dragDisabled\":false,\"className\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"base_user\",\"renderKey\":1706326153975,\"tagIcon\":\"icon-ym icon-ym-generator-date\",\"startRelationField\":\"\",\"defaultCurrent\":false,\"tag\":\"JnpfDatePicker\",\"formId\":108,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"datePicker\",\"noShow\":false,\"endTimeTarget\":1,\"tipLabel\":\"\",\"startTimeType\":1,\"endTimeRule\":false,\"label\":\"最后登录\",\"startTimeRule\":false,\"startTimeValue\":\"\",\"trigger\":\"change\",\"endTimeValue\":\"\",\"endTimeType\":1,\"layout\":\"colFormItem\",\"startTimeTarget\":1,\"regList\":[],\"span\":8},\"readonly\":false,\"format\":\"yyyy-MM-dd\",\"__vModel__\":\"jnpf_base_user_jnpf_lastLogTime\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请选择\",\"type\":\"date\"},{\"clearable\":true,\"__config__\":{\"endRelationField\":\"\",\"dragDisabled\":false,\"className\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"base_user\",\"renderKey\":1706326189520,\"tagIcon\":\"icon-ym icon-ym-generator-date\",\"startRelationField\":\"\",\"defaultCurrent\":false,\"tag\":\"JnpfDatePicker\",\"formId\":109,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"datePicker\",\"noShow\":false,\"endTimeTarget\":1,\"tipLabel\":\"\",\"startTimeType\":1,\"endTimeRule\":false,\"label\":\"创建时间\",\"startTimeRule\":false,\"startTimeValue\":\"\",\"trigger\":\"change\",\"endTimeValue\":\"\",\"endTimeType\":1,\"layout\":\"colFormItem\",\"startTimeTarget\":1,\"regList\":[],\"span\":8},\"readonly\":false,\"format\":\"yyyy-MM-dd\",\"__vModel__\":\"jnpf_base_user_jnpf_creatorTime\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请选择\",\"type\":\"date\"},{\"clearable\":true,\"__config__\":{\"endRelationField\":\"\",\"dragDisabled\":false,\"className\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"base_user\",\"renderKey\":1706326190676,\"tagIcon\":\"icon-ym icon-ym-generator-date\",\"startRelationField\":\"\",\"defaultCurrent\":false,\"tag\":\"JnpfDatePicker\",\"formId\":110,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"datePicker\",\"noShow\":false,\"endTimeTarget\":1,\"tipLabel\":\"\",\"startTimeType\":1,\"endTimeRule\":false,\"label\":\"修改时间\",\"startTimeRule\":false,\"startTimeValue\":\"\",\"trigger\":\"change\",\"endTimeValue\":\"\",\"endTimeType\":1,\"layout\":\"colFormItem\",\"startTimeTarget\":1,\"regList\":[],\"span\":8},\"readonly\":false,\"format\":\"yyyy-MM-dd\",\"__vModel__\":\"jnpf_base_user_jnpf_lastModifyTime\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请选择\",\"type\":\"date\"},{\"clearable\":true,\"suffixIcon\":\"\",\"addonAfter\":\"\",\"__config__\":{\"formId\":111,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"业务线名称\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_business_line\",\"renderKey\":1706326218897,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"jnpf_jg_business_line_jnpf_name\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"}],\"span\":24}"); return sb.toString(); + } + /** 列表字段配置json */ + public static final String getColumnData(){ + StringBuilder sb = new StringBuilder(); +sb.append("{\"showSummary\":false,\"hasPage\":true,\"searchList\":[{\"clearable\":true,\"searchType\":2,\"jnpfKey\":\"input\",\"suffixIcon\":\"\",\"fullName\":\"姓名\",\"label\":\"姓名\",\"addonAfter\":\"\",\"__config__\":{\"formId\":101,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"姓名\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"base_user\",\"renderKey\":1706325424775,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"jnpf_base_user_jnpf_realName\",\"showWordLimit\":false,\"__vModel__\":\"jnpf_base_user_jnpf_realName\",\"searchMultiple\":false,\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"jnpf_base_user_jnpf_realName\",\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"searchType\":3,\"jnpfKey\":\"datePicker\",\"format\":\"yyyy-MM-dd\",\"fullName\":\"最后登录\",\"label\":\"最后登录\",\"type\":\"date\",\"__config__\":{\"endRelationField\":\"\",\"dragDisabled\":false,\"className\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"base_user\",\"renderKey\":1706326153975,\"tagIcon\":\"icon-ym icon-ym-generator-date\",\"startRelationField\":\"\",\"defaultCurrent\":false,\"tag\":\"JnpfDatePicker\",\"formId\":108,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"datePicker\",\"noShow\":false,\"endTimeTarget\":1,\"tipLabel\":\"\",\"startTimeType\":1,\"endTimeRule\":false,\"label\":\"最后登录\",\"startTimeRule\":false,\"startTimeValue\":\"\",\"trigger\":\"change\",\"endTimeValue\":\"\",\"endTimeType\":1,\"layout\":\"colFormItem\",\"startTimeTarget\":1,\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"jnpf_base_user_jnpf_lastLogTime\",\"__vModel__\":\"jnpf_base_user_jnpf_lastLogTime\",\"searchMultiple\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"jnpf_base_user_jnpf_lastLogTime\",\"placeholder\":\"请选择\",\"value\":[]}],\"treeInterfaceId\":\"\",\"treePropsValue\":\"id\",\"ruleList\":{\"conditionList\":[],\"matchLogic\":\"and\"},\"childTableStyle\":1,\"columnOptions\":[{\"clearable\":true,\"suffixIcon\":\"\",\"fullName\":\"姓名\",\"addonAfter\":\"\",\"__config__\":{\"formId\":101,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"姓名\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"base_user\",\"renderKey\":1706325424775,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"jnpf_base_user_jnpf_realName\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"jnpf_base_user_jnpf_realName\",\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"filterable\":false,\"clearable\":true,\"multiple\":false,\"fullName\":\"帐号状态\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"},\"__config__\":{\"formId\":105,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"帐号状态\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"base_user\",\"renderKey\":1706326053257,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":8},\"options\":[{\"fullName\":\"选项一\",\"id\":\"1\"},{\"fullName\":\"选项二\",\"id\":\"2\"}],\"__vModel__\":\"jnpf_base_user_jnpf_enabledMark\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"id\":\"jnpf_base_user_jnpf_enabledMark\",\"placeholder\":\"请选择\"},{\"clearable\":true,\"suffixIcon\":\"\",\"fullName\":\"手机\",\"addonAfter\":\"\",\"__config__\":{\"formId\":106,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"手机\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"base_user\",\"renderKey\":1706326083130,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"jnpf_base_user_jnpf_mobilePhone\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"jnpf_base_user_jnpf_mobilePhone\",\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"format\":\"yyyy-MM-dd\",\"fullName\":\"最后登录\",\"type\":\"date\",\"__config__\":{\"endRelationField\":\"\",\"dragDisabled\":false,\"className\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"base_user\",\"renderKey\":1706326153975,\"tagIcon\":\"icon-ym icon-ym-generator-date\",\"startRelationField\":\"\",\"defaultCurrent\":false,\"tag\":\"JnpfDatePicker\",\"formId\":108,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"datePicker\",\"noShow\":false,\"endTimeTarget\":1,\"tipLabel\":\"\",\"startTimeType\":1,\"endTimeRule\":false,\"label\":\"最后登录\",\"startTimeRule\":false,\"startTimeValue\":\"\",\"trigger\":\"change\",\"endTimeValue\":\"\",\"endTimeType\":1,\"layout\":\"colFormItem\",\"startTimeTarget\":1,\"regList\":[],\"span\":8},\"readonly\":false,\"__vModel__\":\"jnpf_base_user_jnpf_lastLogTime\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"jnpf_base_user_jnpf_lastLogTime\",\"placeholder\":\"请选择\"},{\"clearable\":true,\"format\":\"yyyy-MM-dd\",\"fullName\":\"创建时间\",\"type\":\"date\",\"__config__\":{\"endRelationField\":\"\",\"dragDisabled\":false,\"className\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"base_user\",\"renderKey\":1706326189520,\"tagIcon\":\"icon-ym icon-ym-generator-date\",\"startRelationField\":\"\",\"defaultCurrent\":false,\"tag\":\"JnpfDatePicker\",\"formId\":109,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"datePicker\",\"noShow\":false,\"endTimeTarget\":1,\"tipLabel\":\"\",\"startTimeType\":1,\"endTimeRule\":false,\"label\":\"创建时间\",\"startTimeRule\":false,\"startTimeValue\":\"\",\"trigger\":\"change\",\"endTimeValue\":\"\",\"endTimeType\":1,\"layout\":\"colFormItem\",\"startTimeTarget\":1,\"regList\":[],\"span\":8},\"readonly\":false,\"__vModel__\":\"jnpf_base_user_jnpf_creatorTime\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"jnpf_base_user_jnpf_creatorTime\",\"placeholder\":\"请选择\"},{\"clearable\":true,\"format\":\"yyyy-MM-dd\",\"fullName\":\"修改时间\",\"type\":\"date\",\"__config__\":{\"endRelationField\":\"\",\"dragDisabled\":false,\"className\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"base_user\",\"renderKey\":1706326190676,\"tagIcon\":\"icon-ym icon-ym-generator-date\",\"startRelationField\":\"\",\"defaultCurrent\":false,\"tag\":\"JnpfDatePicker\",\"formId\":110,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"datePicker\",\"noShow\":false,\"endTimeTarget\":1,\"tipLabel\":\"\",\"startTimeType\":1,\"endTimeRule\":false,\"label\":\"修改时间\",\"startTimeRule\":false,\"startTimeValue\":\"\",\"trigger\":\"change\",\"endTimeValue\":\"\",\"endTimeType\":1,\"layout\":\"colFormItem\",\"startTimeTarget\":1,\"regList\":[],\"span\":8},\"readonly\":false,\"__vModel__\":\"jnpf_base_user_jnpf_lastModifyTime\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"jnpf_base_user_jnpf_lastModifyTime\",\"placeholder\":\"请选择\"},{\"clearable\":true,\"suffixIcon\":\"\",\"fullName\":\"业务线名称\",\"addonAfter\":\"\",\"__config__\":{\"formId\":111,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"业务线名称\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_business_line\",\"renderKey\":1706326218897,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"jnpf_jg_business_line_jnpf_name\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"jnpf_jg_business_line_jnpf_name\",\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"}],\"pageSize\":20,\"treePropsChildren\":\"children\",\"type\":2,\"columnBtnsList\":[{\"icon\":\"icon-ym icon-ym-btn-edit\",\"label\":\"编辑\",\"value\":\"edit\"},{\"icon\":\"icon-ym icon-ym-btn-clearn\",\"label\":\"删除\",\"value\":\"remove\"},{\"icon\":\"icon-ym icon-ym-generator-menu\",\"label\":\"详情\",\"value\":\"detail\"}],\"thousandsField\":[],\"treeTitle\":\"左侧标题\",\"defaultColumnList\":[{\"suffixIcon\":\"\",\"align\":\"left\",\"__config__\":{\"formId\":101,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"姓名\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"base_user\",\"renderKey\":1706325424775,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"jnpf_base_user_jnpf_realName\",\"showWordLimit\":false,\"__vModel__\":\"jnpf_base_user_jnpf_realName\",\"checked\":true,\"disabled\":false,\"id\":\"jnpf_base_user_jnpf_realName\",\"placeholder\":\"请输入\",\"addonBefore\":\"\",\"clearable\":true,\"jnpfKey\":\"input\",\"fullName\":\"姓名\",\"label\":\"姓名\",\"sortable\":false,\"addonAfter\":\"\",\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"prefixIcon\":\"\"},{\"filterable\":false,\"clearable\":true,\"jnpfKey\":\"select\",\"multiple\":false,\"fullName\":\"帐号状态\",\"label\":\"帐号状态\",\"sortable\":false,\"align\":\"left\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"},\"__config__\":{\"formId\":105,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"帐号状态\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"base_user\",\"renderKey\":1706326053257,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":8},\"prop\":\"jnpf_base_user_jnpf_enabledMark\",\"options\":[{\"fullName\":\"选项一\",\"id\":\"1\"},{\"fullName\":\"选项二\",\"id\":\"2\"}],\"__vModel__\":\"jnpf_base_user_jnpf_enabledMark\",\"checked\":true,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"id\":\"jnpf_base_user_jnpf_enabledMark\",\"placeholder\":\"请选择\"},{\"suffixIcon\":\"\",\"align\":\"left\",\"__config__\":{\"formId\":106,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"手机\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"base_user\",\"renderKey\":1706326083130,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"jnpf_base_user_jnpf_mobilePhone\",\"showWordLimit\":false,\"__vModel__\":\"jnpf_base_user_jnpf_mobilePhone\",\"checked\":true,\"disabled\":false,\"id\":\"jnpf_base_user_jnpf_mobilePhone\",\"placeholder\":\"请输入\",\"addonBefore\":\"\",\"clearable\":true,\"jnpfKey\":\"input\",\"fullName\":\"手机\",\"label\":\"手机\",\"sortable\":false,\"addonAfter\":\"\",\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"prefixIcon\":\"\"},{\"clearable\":true,\"jnpfKey\":\"datePicker\",\"format\":\"yyyy-MM-dd\",\"fullName\":\"最后登录\",\"label\":\"最后登录\",\"sortable\":false,\"align\":\"left\",\"type\":\"date\",\"__config__\":{\"endRelationField\":\"\",\"dragDisabled\":false,\"className\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"base_user\",\"renderKey\":1706326153975,\"tagIcon\":\"icon-ym icon-ym-generator-date\",\"startRelationField\":\"\",\"defaultCurrent\":false,\"tag\":\"JnpfDatePicker\",\"formId\":108,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"datePicker\",\"noShow\":false,\"endTimeTarget\":1,\"tipLabel\":\"\",\"startTimeType\":1,\"endTimeRule\":false,\"label\":\"最后登录\",\"startTimeRule\":false,\"startTimeValue\":\"\",\"trigger\":\"change\",\"endTimeValue\":\"\",\"endTimeType\":1,\"layout\":\"colFormItem\",\"startTimeTarget\":1,\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"jnpf_base_user_jnpf_lastLogTime\",\"__vModel__\":\"jnpf_base_user_jnpf_lastLogTime\",\"checked\":true,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"jnpf_base_user_jnpf_lastLogTime\",\"placeholder\":\"请选择\"},{\"clearable\":true,\"jnpfKey\":\"datePicker\",\"format\":\"yyyy-MM-dd\",\"fullName\":\"创建时间\",\"label\":\"创建时间\",\"sortable\":false,\"align\":\"left\",\"type\":\"date\",\"__config__\":{\"endRelationField\":\"\",\"dragDisabled\":false,\"className\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"base_user\",\"renderKey\":1706326189520,\"tagIcon\":\"icon-ym icon-ym-generator-date\",\"startRelationField\":\"\",\"defaultCurrent\":false,\"tag\":\"JnpfDatePicker\",\"formId\":109,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"datePicker\",\"noShow\":false,\"endTimeTarget\":1,\"tipLabel\":\"\",\"startTimeType\":1,\"endTimeRule\":false,\"label\":\"创建时间\",\"startTimeRule\":false,\"startTimeValue\":\"\",\"trigger\":\"change\",\"endTimeValue\":\"\",\"endTimeType\":1,\"layout\":\"colFormItem\",\"startTimeTarget\":1,\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"jnpf_base_user_jnpf_creatorTime\",\"__vModel__\":\"jnpf_base_user_jnpf_creatorTime\",\"checked\":true,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"jnpf_base_user_jnpf_creatorTime\",\"placeholder\":\"请选择\"},{\"clearable\":true,\"jnpfKey\":\"datePicker\",\"format\":\"yyyy-MM-dd\",\"fullName\":\"修改时间\",\"label\":\"修改时间\",\"sortable\":false,\"align\":\"left\",\"type\":\"date\",\"__config__\":{\"endRelationField\":\"\",\"dragDisabled\":false,\"className\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"base_user\",\"renderKey\":1706326190676,\"tagIcon\":\"icon-ym icon-ym-generator-date\",\"startRelationField\":\"\",\"defaultCurrent\":false,\"tag\":\"JnpfDatePicker\",\"formId\":110,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"datePicker\",\"noShow\":false,\"endTimeTarget\":1,\"tipLabel\":\"\",\"startTimeType\":1,\"endTimeRule\":false,\"label\":\"修改时间\",\"startTimeRule\":false,\"startTimeValue\":\"\",\"trigger\":\"change\",\"endTimeValue\":\"\",\"endTimeType\":1,\"layout\":\"colFormItem\",\"startTimeTarget\":1,\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"jnpf_base_user_jnpf_lastModifyTime\",\"__vModel__\":\"jnpf_base_user_jnpf_lastModifyTime\",\"checked\":true,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"jnpf_base_user_jnpf_lastModifyTime\",\"placeholder\":\"请选择\"},{\"suffixIcon\":\"\",\"align\":\"left\",\"__config__\":{\"formId\":111,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"业务线名称\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_business_line\",\"renderKey\":1706326218897,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"jnpf_jg_business_line_jnpf_name\",\"showWordLimit\":false,\"__vModel__\":\"jnpf_jg_business_line_jnpf_name\",\"checked\":false,\"disabled\":false,\"id\":\"jnpf_jg_business_line_jnpf_name\",\"placeholder\":\"请输入\",\"addonBefore\":\"\",\"clearable\":true,\"jnpfKey\":\"input\",\"fullName\":\"业务线名称\",\"label\":\"业务线名称\",\"sortable\":false,\"addonAfter\":\"\",\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"prefixIcon\":\"\"}],\"treeTemplateJson\":[],\"treePropsName\":\"业务线树形控件\",\"useColumnPermission\":false,\"treePropsUrl\":\"519521191191380165\",\"treeRelation\":\"jnpf_jg_business_line_jnpf_name\",\"treeSynType\":0,\"btnsList\":[{\"icon\":\"icon-ym icon-ym-btn-add\",\"label\":\"新增\",\"value\":\"add\"},{\"icon\":\"icon-ym icon-ym-btn-download\",\"label\":\"导出\",\"value\":\"download\"},{\"icon\":\"icon-ym icon-ym-btn-clearn\",\"label\":\"批量删除\",\"value\":\"batchRemove\"}],\"useDataPermission\":false,\"columnList\":[{\"clearable\":true,\"jnpfKey\":\"input\",\"suffixIcon\":\"\",\"fullName\":\"姓名\",\"label\":\"姓名\",\"sortable\":false,\"align\":\"left\",\"addonAfter\":\"\",\"__config__\":{\"formId\":101,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"姓名\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"base_user\",\"renderKey\":1706325424775,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"jnpf_base_user_jnpf_realName\",\"showWordLimit\":false,\"width\":0,\"__vModel__\":\"jnpf_base_user_jnpf_realName\",\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"jnpf_base_user_jnpf_realName\",\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"filterable\":false,\"clearable\":true,\"jnpfKey\":\"select\",\"multiple\":false,\"fullName\":\"帐号状态\",\"label\":\"帐号状态\",\"sortable\":false,\"align\":\"left\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"},\"__config__\":{\"formId\":105,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"帐号状态\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"base_user\",\"renderKey\":1706326053257,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":8},\"prop\":\"jnpf_base_user_jnpf_enabledMark\",\"width\":0,\"options\":[{\"fullName\":\"选项一\",\"id\":\"1\"},{\"fullName\":\"选项二\",\"id\":\"2\"}],\"__vModel__\":\"jnpf_base_user_jnpf_enabledMark\",\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"id\":\"jnpf_base_user_jnpf_enabledMark\",\"placeholder\":\"请选择\"},{\"clearable\":true,\"jnpfKey\":\"input\",\"suffixIcon\":\"\",\"fullName\":\"手机\",\"label\":\"手机\",\"sortable\":false,\"align\":\"left\",\"addonAfter\":\"\",\"__config__\":{\"formId\":106,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"手机\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"base_user\",\"renderKey\":1706326083130,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"jnpf_base_user_jnpf_mobilePhone\",\"showWordLimit\":false,\"width\":0,\"__vModel__\":\"jnpf_base_user_jnpf_mobilePhone\",\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"jnpf_base_user_jnpf_mobilePhone\",\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"jnpfKey\":\"datePicker\",\"format\":\"yyyy-MM-dd\",\"fullName\":\"最后登录\",\"label\":\"最后登录\",\"sortable\":false,\"align\":\"left\",\"type\":\"date\",\"__config__\":{\"endRelationField\":\"\",\"dragDisabled\":false,\"className\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"base_user\",\"renderKey\":1706326153975,\"tagIcon\":\"icon-ym icon-ym-generator-date\",\"startRelationField\":\"\",\"defaultCurrent\":false,\"tag\":\"JnpfDatePicker\",\"formId\":108,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"datePicker\",\"noShow\":false,\"endTimeTarget\":1,\"tipLabel\":\"\",\"startTimeType\":1,\"endTimeRule\":false,\"label\":\"最后登录\",\"startTimeRule\":false,\"startTimeValue\":\"\",\"trigger\":\"change\",\"endTimeValue\":\"\",\"endTimeType\":1,\"layout\":\"colFormItem\",\"startTimeTarget\":1,\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"jnpf_base_user_jnpf_lastLogTime\",\"width\":0,\"__vModel__\":\"jnpf_base_user_jnpf_lastLogTime\",\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"jnpf_base_user_jnpf_lastLogTime\",\"placeholder\":\"请选择\"},{\"clearable\":true,\"jnpfKey\":\"datePicker\",\"format\":\"yyyy-MM-dd\",\"fullName\":\"创建时间\",\"label\":\"创建时间\",\"sortable\":false,\"align\":\"left\",\"type\":\"date\",\"__config__\":{\"endRelationField\":\"\",\"dragDisabled\":false,\"className\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"base_user\",\"renderKey\":1706326189520,\"tagIcon\":\"icon-ym icon-ym-generator-date\",\"startRelationField\":\"\",\"defaultCurrent\":false,\"tag\":\"JnpfDatePicker\",\"formId\":109,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"datePicker\",\"noShow\":false,\"endTimeTarget\":1,\"tipLabel\":\"\",\"startTimeType\":1,\"endTimeRule\":false,\"label\":\"创建时间\",\"startTimeRule\":false,\"startTimeValue\":\"\",\"trigger\":\"change\",\"endTimeValue\":\"\",\"endTimeType\":1,\"layout\":\"colFormItem\",\"startTimeTarget\":1,\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"jnpf_base_user_jnpf_creatorTime\",\"width\":0,\"__vModel__\":\"jnpf_base_user_jnpf_creatorTime\",\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"jnpf_base_user_jnpf_creatorTime\",\"placeholder\":\"请选择\"},{\"clearable\":true,\"jnpfKey\":\"datePicker\",\"format\":\"yyyy-MM-dd\",\"fullName\":\"修改时间\",\"label\":\"修改时间\",\"sortable\":false,\"align\":\"left\",\"type\":\"date\",\"__config__\":{\"endRelationField\":\"\",\"dragDisabled\":false,\"className\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"base_user\",\"renderKey\":1706326190676,\"tagIcon\":\"icon-ym icon-ym-generator-date\",\"startRelationField\":\"\",\"defaultCurrent\":false,\"tag\":\"JnpfDatePicker\",\"formId\":110,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"datePicker\",\"noShow\":false,\"endTimeTarget\":1,\"tipLabel\":\"\",\"startTimeType\":1,\"endTimeRule\":false,\"label\":\"修改时间\",\"startTimeRule\":false,\"startTimeValue\":\"\",\"trigger\":\"change\",\"endTimeValue\":\"\",\"endTimeType\":1,\"layout\":\"colFormItem\",\"startTimeTarget\":1,\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"jnpf_base_user_jnpf_lastModifyTime\",\"width\":0,\"__vModel__\":\"jnpf_base_user_jnpf_lastModifyTime\",\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"jnpf_base_user_jnpf_lastModifyTime\",\"placeholder\":\"请选择\"}],\"sort\":\"desc\",\"thousands\":false,\"hasSuperQuery\":true,\"summaryField\":[],\"parentField\":\"\",\"treePropsLabel\":\"name\",\"treeDataSource\":\"api\",\"groupField\":\"\",\"printIds\":[],\"uploaderTemplateJson\":{},\"treeDictionary\":\"\",\"hasTreeQuery\":true,\"useFormPermission\":false,\"customBtnsList\":[],\"complexHeaderList\":[],\"useBtnPermission\":true,\"treeInterfaceName\":\"\",\"defaultSidx\":\"\"}"); return sb.toString(); + } + /** app列表字段配置json */ + public static final String getAppColumnData(){ + StringBuilder sb = new StringBuilder(); +sb.append("{\"hasPage\":true,\"useColumnPermission\":false,\"searchList\":[],\"btnsList\":[{\"icon\":\"icon-ym icon-ym-btn-add\",\"label\":\"新增\",\"value\":\"add\"}],\"useDataPermission\":false,\"ruleListApp\":{\"conditionList\":[],\"matchLogic\":\"and\"},\"columnList\":[{\"clearable\":true,\"jnpfKey\":\"input\",\"suffixIcon\":\"\",\"fullName\":\"姓名\",\"label\":\"姓名\",\"sortable\":false,\"align\":\"left\",\"addonAfter\":\"\",\"__config__\":{\"formId\":101,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"姓名\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"base_user\",\"renderKey\":1706325424775,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"jnpf_base_user_jnpf_realName\",\"showWordLimit\":false,\"width\":0,\"__vModel__\":\"jnpf_base_user_jnpf_realName\",\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"jnpf_base_user_jnpf_realName\",\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"filterable\":false,\"clearable\":true,\"jnpfKey\":\"select\",\"multiple\":false,\"fullName\":\"帐号状态\",\"label\":\"帐号状态\",\"sortable\":false,\"align\":\"left\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"},\"__config__\":{\"formId\":105,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"帐号状态\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"base_user\",\"renderKey\":1706326053257,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":8},\"prop\":\"jnpf_base_user_jnpf_enabledMark\",\"width\":0,\"options\":[{\"fullName\":\"选项一\",\"id\":\"1\"},{\"fullName\":\"选项二\",\"id\":\"2\"}],\"__vModel__\":\"jnpf_base_user_jnpf_enabledMark\",\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"id\":\"jnpf_base_user_jnpf_enabledMark\",\"placeholder\":\"请选择\"},{\"clearable\":true,\"jnpfKey\":\"input\",\"suffixIcon\":\"\",\"fullName\":\"手机\",\"label\":\"手机\",\"sortable\":false,\"align\":\"left\",\"addonAfter\":\"\",\"__config__\":{\"formId\":106,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"手机\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"base_user\",\"renderKey\":1706326083130,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"jnpf_base_user_jnpf_mobilePhone\",\"showWordLimit\":false,\"width\":0,\"__vModel__\":\"jnpf_base_user_jnpf_mobilePhone\",\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"jnpf_base_user_jnpf_mobilePhone\",\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"jnpfKey\":\"datePicker\",\"format\":\"yyyy-MM-dd\",\"fullName\":\"最后登录\",\"label\":\"最后登录\",\"sortable\":false,\"align\":\"left\",\"type\":\"date\",\"__config__\":{\"endRelationField\":\"\",\"dragDisabled\":false,\"className\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"base_user\",\"renderKey\":1706326153975,\"tagIcon\":\"icon-ym icon-ym-generator-date\",\"startRelationField\":\"\",\"defaultCurrent\":false,\"tag\":\"JnpfDatePicker\",\"formId\":108,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"datePicker\",\"noShow\":false,\"endTimeTarget\":1,\"tipLabel\":\"\",\"startTimeType\":1,\"endTimeRule\":false,\"label\":\"最后登录\",\"startTimeRule\":false,\"startTimeValue\":\"\",\"trigger\":\"change\",\"endTimeValue\":\"\",\"endTimeType\":1,\"layout\":\"colFormItem\",\"startTimeTarget\":1,\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"jnpf_base_user_jnpf_lastLogTime\",\"width\":0,\"__vModel__\":\"jnpf_base_user_jnpf_lastLogTime\",\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"jnpf_base_user_jnpf_lastLogTime\",\"placeholder\":\"请选择\"},{\"clearable\":true,\"jnpfKey\":\"datePicker\",\"format\":\"yyyy-MM-dd\",\"fullName\":\"创建时间\",\"label\":\"创建时间\",\"sortable\":false,\"align\":\"left\",\"type\":\"date\",\"__config__\":{\"endRelationField\":\"\",\"dragDisabled\":false,\"className\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"base_user\",\"renderKey\":1706326189520,\"tagIcon\":\"icon-ym icon-ym-generator-date\",\"startRelationField\":\"\",\"defaultCurrent\":false,\"tag\":\"JnpfDatePicker\",\"formId\":109,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"datePicker\",\"noShow\":false,\"endTimeTarget\":1,\"tipLabel\":\"\",\"startTimeType\":1,\"endTimeRule\":false,\"label\":\"创建时间\",\"startTimeRule\":false,\"startTimeValue\":\"\",\"trigger\":\"change\",\"endTimeValue\":\"\",\"endTimeType\":1,\"layout\":\"colFormItem\",\"startTimeTarget\":1,\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"jnpf_base_user_jnpf_creatorTime\",\"width\":0,\"__vModel__\":\"jnpf_base_user_jnpf_creatorTime\",\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"jnpf_base_user_jnpf_creatorTime\",\"placeholder\":\"请选择\"},{\"clearable\":true,\"jnpfKey\":\"datePicker\",\"format\":\"yyyy-MM-dd\",\"fullName\":\"修改时间\",\"label\":\"修改时间\",\"sortable\":false,\"align\":\"left\",\"type\":\"date\",\"__config__\":{\"endRelationField\":\"\",\"dragDisabled\":false,\"className\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"base_user\",\"renderKey\":1706326190676,\"tagIcon\":\"icon-ym icon-ym-generator-date\",\"startRelationField\":\"\",\"defaultCurrent\":false,\"tag\":\"JnpfDatePicker\",\"formId\":110,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"datePicker\",\"noShow\":false,\"endTimeTarget\":1,\"tipLabel\":\"\",\"startTimeType\":1,\"endTimeRule\":false,\"label\":\"修改时间\",\"startTimeRule\":false,\"startTimeValue\":\"\",\"trigger\":\"change\",\"endTimeValue\":\"\",\"endTimeType\":1,\"layout\":\"colFormItem\",\"startTimeTarget\":1,\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"jnpf_base_user_jnpf_lastModifyTime\",\"width\":0,\"__vModel__\":\"jnpf_base_user_jnpf_lastModifyTime\",\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"jnpf_base_user_jnpf_lastModifyTime\",\"placeholder\":\"请选择\"}],\"columnOptions\":[{\"clearable\":true,\"suffixIcon\":\"\",\"fullName\":\"姓名\",\"addonAfter\":\"\",\"__config__\":{\"formId\":101,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"姓名\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"base_user\",\"renderKey\":1706325424775,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"jnpf_base_user_jnpf_realName\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"id\":\"jnpf_base_user_jnpf_realName\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"filterable\":false,\"clearable\":true,\"multiple\":false,\"fullName\":\"帐号状态\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"},\"__config__\":{\"formId\":105,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"帐号状态\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"base_user\",\"renderKey\":1706326053257,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":8},\"options\":[{\"fullName\":\"选项一\",\"id\":\"1\"},{\"fullName\":\"选项二\",\"id\":\"2\"}],\"__vModel__\":\"jnpf_base_user_jnpf_enabledMark\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"placeholder\":\"请选择\",\"id\":\"jnpf_base_user_jnpf_enabledMark\"},{\"clearable\":true,\"suffixIcon\":\"\",\"fullName\":\"手机\",\"addonAfter\":\"\",\"__config__\":{\"formId\":106,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"手机\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"base_user\",\"renderKey\":1706326083130,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"jnpf_base_user_jnpf_mobilePhone\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"id\":\"jnpf_base_user_jnpf_mobilePhone\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"format\":\"yyyy-MM-dd\",\"fullName\":\"最后登录\",\"type\":\"date\",\"__config__\":{\"endRelationField\":\"\",\"dragDisabled\":false,\"className\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"base_user\",\"renderKey\":1706326153975,\"tagIcon\":\"icon-ym icon-ym-generator-date\",\"startRelationField\":\"\",\"defaultCurrent\":false,\"tag\":\"JnpfDatePicker\",\"formId\":108,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"datePicker\",\"noShow\":false,\"endTimeTarget\":1,\"tipLabel\":\"\",\"startTimeType\":1,\"endTimeRule\":false,\"label\":\"最后登录\",\"startTimeRule\":false,\"startTimeValue\":\"\",\"trigger\":\"change\",\"endTimeValue\":\"\",\"endTimeType\":1,\"layout\":\"colFormItem\",\"startTimeTarget\":1,\"regList\":[],\"span\":8},\"readonly\":false,\"__vModel__\":\"jnpf_base_user_jnpf_lastLogTime\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请选择\",\"id\":\"jnpf_base_user_jnpf_lastLogTime\"},{\"clearable\":true,\"format\":\"yyyy-MM-dd\",\"fullName\":\"创建时间\",\"type\":\"date\",\"__config__\":{\"endRelationField\":\"\",\"dragDisabled\":false,\"className\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"base_user\",\"renderKey\":1706326189520,\"tagIcon\":\"icon-ym icon-ym-generator-date\",\"startRelationField\":\"\",\"defaultCurrent\":false,\"tag\":\"JnpfDatePicker\",\"formId\":109,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"datePicker\",\"noShow\":false,\"endTimeTarget\":1,\"tipLabel\":\"\",\"startTimeType\":1,\"endTimeRule\":false,\"label\":\"创建时间\",\"startTimeRule\":false,\"startTimeValue\":\"\",\"trigger\":\"change\",\"endTimeValue\":\"\",\"endTimeType\":1,\"layout\":\"colFormItem\",\"startTimeTarget\":1,\"regList\":[],\"span\":8},\"readonly\":false,\"__vModel__\":\"jnpf_base_user_jnpf_creatorTime\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请选择\",\"id\":\"jnpf_base_user_jnpf_creatorTime\"},{\"clearable\":true,\"format\":\"yyyy-MM-dd\",\"fullName\":\"修改时间\",\"type\":\"date\",\"__config__\":{\"endRelationField\":\"\",\"dragDisabled\":false,\"className\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"base_user\",\"renderKey\":1706326190676,\"tagIcon\":\"icon-ym icon-ym-generator-date\",\"startRelationField\":\"\",\"defaultCurrent\":false,\"tag\":\"JnpfDatePicker\",\"formId\":110,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"datePicker\",\"noShow\":false,\"endTimeTarget\":1,\"tipLabel\":\"\",\"startTimeType\":1,\"endTimeRule\":false,\"label\":\"修改时间\",\"startTimeRule\":false,\"startTimeValue\":\"\",\"trigger\":\"change\",\"endTimeValue\":\"\",\"endTimeType\":1,\"layout\":\"colFormItem\",\"startTimeTarget\":1,\"regList\":[],\"span\":8},\"readonly\":false,\"__vModel__\":\"jnpf_base_user_jnpf_lastModifyTime\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请选择\",\"id\":\"jnpf_base_user_jnpf_lastModifyTime\"},{\"clearable\":true,\"suffixIcon\":\"\",\"fullName\":\"业务线名称\",\"addonAfter\":\"\",\"__config__\":{\"formId\":111,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"业务线名称\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_business_line\",\"renderKey\":1706326218897,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"jnpf_jg_business_line_jnpf_name\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"id\":\"jnpf_jg_business_line_jnpf_name\",\"prefixIcon\":\"\",\"addonBefore\":\"\"}],\"pageSize\":20,\"sort\":\"desc\",\"thousands\":false,\"columnBtnsList\":[{\"icon\":\"icon-ym icon-ym-btn-edit\",\"label\":\"编辑\",\"value\":\"edit\"},{\"icon\":\"icon-ym icon-ym-btn-clearn\",\"label\":\"删除\",\"value\":\"remove\"},{\"icon\":\"icon-ym icon-ym-generator-menu\",\"label\":\"详情\",\"value\":\"detail\"}],\"loading\":false,\"hasSuperQuery\":false,\"thousandsField\":[],\"defaultColumnList\":[{\"clearable\":true,\"jnpfKey\":\"input\",\"suffixIcon\":\"\",\"fullName\":\"姓名\",\"label\":\"姓名\",\"sortable\":false,\"align\":\"left\",\"addonAfter\":\"\",\"__config__\":{\"formId\":101,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"姓名\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"base_user\",\"renderKey\":1706325424775,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"jnpf_base_user_jnpf_realName\",\"showWordLimit\":false,\"__vModel__\":\"jnpf_base_user_jnpf_realName\",\"showPassword\":false,\"checked\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"id\":\"jnpf_base_user_jnpf_realName\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"filterable\":false,\"clearable\":true,\"jnpfKey\":\"select\",\"multiple\":false,\"fullName\":\"帐号状态\",\"label\":\"帐号状态\",\"sortable\":false,\"align\":\"left\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"},\"__config__\":{\"formId\":105,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"帐号状态\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"base_user\",\"renderKey\":1706326053257,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":8},\"prop\":\"jnpf_base_user_jnpf_enabledMark\",\"options\":[{\"fullName\":\"选项一\",\"id\":\"1\"},{\"fullName\":\"选项二\",\"id\":\"2\"}],\"__vModel__\":\"jnpf_base_user_jnpf_enabledMark\",\"checked\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"placeholder\":\"请选择\",\"id\":\"jnpf_base_user_jnpf_enabledMark\"},{\"clearable\":true,\"jnpfKey\":\"input\",\"suffixIcon\":\"\",\"fullName\":\"手机\",\"label\":\"手机\",\"sortable\":false,\"align\":\"left\",\"addonAfter\":\"\",\"__config__\":{\"formId\":106,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"手机\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"base_user\",\"renderKey\":1706326083130,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"jnpf_base_user_jnpf_mobilePhone\",\"showWordLimit\":false,\"__vModel__\":\"jnpf_base_user_jnpf_mobilePhone\",\"showPassword\":false,\"checked\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"id\":\"jnpf_base_user_jnpf_mobilePhone\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"jnpfKey\":\"datePicker\",\"format\":\"yyyy-MM-dd\",\"fullName\":\"最后登录\",\"label\":\"最后登录\",\"sortable\":false,\"align\":\"left\",\"type\":\"date\",\"__config__\":{\"endRelationField\":\"\",\"dragDisabled\":false,\"className\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"base_user\",\"renderKey\":1706326153975,\"tagIcon\":\"icon-ym icon-ym-generator-date\",\"startRelationField\":\"\",\"defaultCurrent\":false,\"tag\":\"JnpfDatePicker\",\"formId\":108,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"datePicker\",\"noShow\":false,\"endTimeTarget\":1,\"tipLabel\":\"\",\"startTimeType\":1,\"endTimeRule\":false,\"label\":\"最后登录\",\"startTimeRule\":false,\"startTimeValue\":\"\",\"trigger\":\"change\",\"endTimeValue\":\"\",\"endTimeType\":1,\"layout\":\"colFormItem\",\"startTimeTarget\":1,\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"jnpf_base_user_jnpf_lastLogTime\",\"__vModel__\":\"jnpf_base_user_jnpf_lastLogTime\",\"checked\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请选择\",\"id\":\"jnpf_base_user_jnpf_lastLogTime\"},{\"clearable\":true,\"jnpfKey\":\"datePicker\",\"format\":\"yyyy-MM-dd\",\"fullName\":\"创建时间\",\"label\":\"创建时间\",\"sortable\":false,\"align\":\"left\",\"type\":\"date\",\"__config__\":{\"endRelationField\":\"\",\"dragDisabled\":false,\"className\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"base_user\",\"renderKey\":1706326189520,\"tagIcon\":\"icon-ym icon-ym-generator-date\",\"startRelationField\":\"\",\"defaultCurrent\":false,\"tag\":\"JnpfDatePicker\",\"formId\":109,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"datePicker\",\"noShow\":false,\"endTimeTarget\":1,\"tipLabel\":\"\",\"startTimeType\":1,\"endTimeRule\":false,\"label\":\"创建时间\",\"startTimeRule\":false,\"startTimeValue\":\"\",\"trigger\":\"change\",\"endTimeValue\":\"\",\"endTimeType\":1,\"layout\":\"colFormItem\",\"startTimeTarget\":1,\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"jnpf_base_user_jnpf_creatorTime\",\"__vModel__\":\"jnpf_base_user_jnpf_creatorTime\",\"checked\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请选择\",\"id\":\"jnpf_base_user_jnpf_creatorTime\"},{\"clearable\":true,\"jnpfKey\":\"datePicker\",\"format\":\"yyyy-MM-dd\",\"fullName\":\"修改时间\",\"label\":\"修改时间\",\"sortable\":false,\"align\":\"left\",\"type\":\"date\",\"__config__\":{\"endRelationField\":\"\",\"dragDisabled\":false,\"className\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"base_user\",\"renderKey\":1706326190676,\"tagIcon\":\"icon-ym icon-ym-generator-date\",\"startRelationField\":\"\",\"defaultCurrent\":false,\"tag\":\"JnpfDatePicker\",\"formId\":110,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"datePicker\",\"noShow\":false,\"endTimeTarget\":1,\"tipLabel\":\"\",\"startTimeType\":1,\"endTimeRule\":false,\"label\":\"修改时间\",\"startTimeRule\":false,\"startTimeValue\":\"\",\"trigger\":\"change\",\"endTimeValue\":\"\",\"endTimeType\":1,\"layout\":\"colFormItem\",\"startTimeTarget\":1,\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"jnpf_base_user_jnpf_lastModifyTime\",\"__vModel__\":\"jnpf_base_user_jnpf_lastModifyTime\",\"checked\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请选择\",\"id\":\"jnpf_base_user_jnpf_lastModifyTime\"},{\"clearable\":true,\"jnpfKey\":\"input\",\"suffixIcon\":\"\",\"fullName\":\"业务线名称\",\"label\":\"业务线名称\",\"sortable\":false,\"align\":\"left\",\"addonAfter\":\"\",\"__config__\":{\"formId\":111,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"业务线名称\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"jg_business_line\",\"renderKey\":1706326218897,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"jnpf_jg_business_line_jnpf_name\",\"showWordLimit\":false,\"__vModel__\":\"jnpf_jg_business_line_jnpf_name\",\"showPassword\":false,\"checked\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"id\":\"jnpf_jg_business_line_jnpf_name\",\"prefixIcon\":\"\",\"addonBefore\":\"\"}],\"sortList\":[],\"useFormPermission\":false,\"customBtnsList\":[],\"useBtnPermission\":false,\"defaultSidx\":\"\"}"); return sb.toString(); + } + /** 表列表 */ + public static final String getTableList(){ + StringBuilder sb = new StringBuilder(); +sb.append("[{\"relationField\":\"\",\"relationTable\":\"\",\"table\":\"jg_business_user_relational\",\"tableName\":\"业务线和用户关联表\",\"tableField\":\"\",\"typeId\":\"1\",\"fields\":[{\"columnName\":\"id\",\"field\":\"id\",\"fieldName\":\"自然主键\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":1,\"allowNull\":0,\"autoIncrement\":0},{\"columnName\":\"business_line_id\",\"field\":\"businessLineId\",\"fieldName\":\"业务线/仓库id\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":0,\"autoIncrement\":0},{\"columnName\":\"user_id\",\"field\":\"userId\",\"fieldName\":\"用户id\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":0,\"autoIncrement\":0},{\"columnName\":\"f_creator_time\",\"field\":\"creatorTime\",\"fieldName\":\"创建时间\",\"dataType\":\"datetime\",\"dataLength\":\"默认\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_creator_user_id\",\"field\":\"creatorUserId\",\"fieldName\":\"创建用户\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_last_modify_time\",\"field\":\"lastModifyTime\",\"fieldName\":\"修改时间\",\"dataType\":\"datetime\",\"dataLength\":\"默认\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_last_modify_user_id\",\"field\":\"lastModifyUserId\",\"fieldName\":\"修改用户\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_delete_time\",\"field\":\"deleteTime\",\"fieldName\":\"删除时间\",\"dataType\":\"datetime\",\"dataLength\":\"默认\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_delete_user_id\",\"field\":\"deleteUserId\",\"fieldName\":\"删除用户\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_delete_mark\",\"field\":\"deleteMark\",\"fieldName\":\"删除标志\",\"dataType\":\"int\",\"dataLength\":\"默认\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_tenant_id\",\"field\":\"tenantId\",\"fieldName\":\"租户id\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_version\",\"field\":\"version\",\"fieldName\":\"乐观锁\",\"dataType\":\"int\",\"dataLength\":\"默认\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_flow_task_id\",\"field\":\"flowTaskId\",\"fieldName\":\"流程任务主键\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_flow_id\",\"field\":\"flowId\",\"fieldName\":\"流程id\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0}]},{\"relationField\":\"businessLineId\",\"relationTable\":\"jg_business_user_relational\",\"table\":\"jg_business_line\",\"tableName\":\"业务线表\",\"tableField\":\"id\",\"typeId\":\"0\",\"fields\":[{\"columnName\":\"id\",\"field\":\"id\",\"fieldName\":\"自然主键\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":1,\"allowNull\":0,\"autoIncrement\":0},{\"columnName\":\"code\",\"field\":\"code\",\"fieldName\":\"业务线编号\",\"dataType\":\"varchar\",\"dataLength\":\"64\",\"primaryKey\":0,\"allowNull\":0,\"autoIncrement\":0},{\"columnName\":\"name\",\"field\":\"name\",\"fieldName\":\"业务线名称\",\"dataType\":\"varchar\",\"dataLength\":\"64\",\"primaryKey\":0,\"allowNull\":0,\"autoIncrement\":0},{\"columnName\":\"simple_name\",\"field\":\"simpleName\",\"fieldName\":\"业务线简称\",\"dataType\":\"varchar\",\"dataLength\":\"32\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"logo\",\"field\":\"logo\",\"fieldName\":\"业务线LOGO\",\"dataType\":\"varchar\",\"dataLength\":\"255\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"parent_id\",\"field\":\"parentId\",\"fieldName\":\"父id\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"type\",\"field\":\"type\",\"fieldName\":\"类型\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"status\",\"field\":\"status\",\"fieldName\":\"状态(0:启用 1:禁用)\",\"dataType\":\"char\",\"dataLength\":\"1\",\"primaryKey\":0,\"allowNull\":0,\"autoIncrement\":0},{\"columnName\":\"relation_institution_num\",\"field\":\"relationInstitutionNum\",\"fieldName\":\"关联机构数量\",\"dataType\":\"int\",\"dataLength\":\"默认\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"employee_num\",\"field\":\"employeeNum\",\"fieldName\":\"成员数量\",\"dataType\":\"int\",\"dataLength\":\"默认\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"industry\",\"field\":\"industry\",\"fieldName\":\"所属分类\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"city\",\"field\":\"city\",\"fieldName\":\"所在城市\",\"dataType\":\"varchar\",\"dataLength\":\"64\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"establish_date\",\"field\":\"establishDate\",\"fieldName\":\"成立时间\",\"dataType\":\"datetime\",\"dataLength\":\"默认\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"belong_user_id\",\"field\":\"belongUserId\",\"fieldName\":\"归属人员\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"brand_name\",\"field\":\"brandName\",\"fieldName\":\"品牌/业务线/事业群名称\",\"dataType\":\"varchar\",\"dataLength\":\"32\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"phone\",\"field\":\"phone\",\"fieldName\":\"电话\",\"dataType\":\"int\",\"dataLength\":\"默认\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"diff_flag\",\"field\":\"difflag\",\"fieldName\":\"业务线仓库区分(1:业务线, 2:仓库 业务线子集)\",\"dataType\":\"char\",\"dataLength\":\"1\",\"primaryKey\":0,\"allowNull\":0,\"autoIncrement\":0},{\"columnName\":\"fax\",\"field\":\"fax\",\"fieldName\":\"传真\",\"dataType\":\"varchar\",\"dataLength\":\"32\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"url\",\"field\":\"url\",\"fieldName\":\"网址\",\"dataType\":\"varchar\",\"dataLength\":\"32\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"description\",\"field\":\"description\",\"fieldName\":\"介绍\",\"dataType\":\"varchar\",\"dataLength\":\"255\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"business_type\",\"field\":\"businessType\",\"fieldName\":\"营运类型(1每日 2每周)\",\"dataType\":\"char\",\"dataLength\":\"1\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"business_hours\",\"field\":\"businessHours\",\"fieldName\":\"营业时间\",\"dataType\":\"varchar\",\"dataLength\":\"255\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"business_start\",\"field\":\"businessStart\",\"fieldName\":\"营业时间开始\",\"dataType\":\"datetime\",\"dataLength\":\"默认\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"business_end\",\"field\":\"businessEnd\",\"fieldName\":\"营业时间结束\",\"dataType\":\"datetime\",\"dataLength\":\"默认\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"allow_unloading_start\",\"field\":\"allowUnloadingStart\",\"fieldName\":\"允许卸货时间开始\",\"dataType\":\"datetime\",\"dataLength\":\"默认\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"allow_unloading_end\",\"field\":\"allowUnloadingEnd\",\"fieldName\":\"允许卸货时间结束\",\"dataType\":\"datetime\",\"dataLength\":\"默认\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"unloading_duration\",\"field\":\"unloadingDuration\",\"fieldName\":\"卸货时长\",\"dataType\":\"varchar\",\"dataLength\":\"255\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"unloading_efficiency\",\"field\":\"unloadingEfficiency\",\"fieldName\":\"卸货效率\",\"dataType\":\"varchar\",\"dataLength\":\"255\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"allow_loading_start\",\"field\":\"allowLoadingStart\",\"fieldName\":\"允许装货时间开始\",\"dataType\":\"datetime\",\"dataLength\":\"默认\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"allow_loading_end\",\"field\":\"allowLoadingEnd\",\"fieldName\":\"允许装货时间结束\",\"dataType\":\"datetime\",\"dataLength\":\"默认\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"loading_duration\",\"field\":\"loadingDuration\",\"fieldName\":\"装货时长\",\"dataType\":\"varchar\",\"dataLength\":\"255\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"loading_effciency\",\"field\":\"loadingEffciency\",\"fieldName\":\"装货效率\",\"dataType\":\"varchar\",\"dataLength\":\"255\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"email\",\"field\":\"email\",\"fieldName\":\"邮箱\",\"dataType\":\"varchar\",\"dataLength\":\"64\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"erp_type\",\"field\":\"erpType\",\"fieldName\":\"ERP子库\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_creator_time\",\"field\":\"creatorTime\",\"fieldName\":\"创建时间\",\"dataType\":\"datetime\",\"dataLength\":\"默认\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_creator_user_id\",\"field\":\"creatorUserId\",\"fieldName\":\"创建用户\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_last_modify_time\",\"field\":\"lastModifyTime\",\"fieldName\":\"修改时间\",\"dataType\":\"datetime\",\"dataLength\":\"默认\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_last_modify_user_id\",\"field\":\"lastModifyUserId\",\"fieldName\":\"修改用户\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_delete_time\",\"field\":\"deleteTime\",\"fieldName\":\"删除时间\",\"dataType\":\"datetime\",\"dataLength\":\"默认\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_delete_user_id\",\"field\":\"deleteUserId\",\"fieldName\":\"删除用户\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_delete_mark\",\"field\":\"deleteMark\",\"fieldName\":\"删除标志\",\"dataType\":\"int\",\"dataLength\":\"默认\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_tenant_id\",\"field\":\"tenantId\",\"fieldName\":\"租户id\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_version\",\"field\":\"version\",\"fieldName\":\"乐观锁\",\"dataType\":\"int\",\"dataLength\":\"默认\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_flow_id\",\"field\":\"flowId\",\"fieldName\":\"流程id\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0}]},{\"relationField\":\"userId\",\"relationTable\":\"jg_business_user_relational\",\"table\":\"base_user\",\"tableName\":\"用户信息\",\"tableField\":\"id\",\"typeId\":\"0\",\"fields\":[{\"columnName\":\"f_id\",\"field\":\"id\",\"fieldName\":\"自然主键\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":1,\"allowNull\":0,\"autoIncrement\":0},{\"columnName\":\"f_account\",\"field\":\"account\",\"fieldName\":\"账户\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_real_name\",\"field\":\"realName\",\"fieldName\":\"姓名\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_quick_query\",\"field\":\"quickQuery\",\"fieldName\":\"快速查询\",\"dataType\":\"varchar\",\"dataLength\":\"100\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_nick_name\",\"field\":\"nickName\",\"fieldName\":\"呢称\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_head_icon\",\"field\":\"headIcon\",\"fieldName\":\"头像\",\"dataType\":\"longtext\",\"dataLength\":\"默认\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_gender\",\"field\":\"gender\",\"fieldName\":\"性别\",\"dataType\":\"int\",\"dataLength\":\"默认\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_birthday\",\"field\":\"birthday\",\"fieldName\":\"生日\",\"dataType\":\"datetime\",\"dataLength\":\"默认\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_mobile_phone\",\"field\":\"mobilePhone\",\"fieldName\":\"手机\",\"dataType\":\"varchar\",\"dataLength\":\"20\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_tele_phone\",\"field\":\"telePhone\",\"fieldName\":\"电话\",\"dataType\":\"varchar\",\"dataLength\":\"20\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_landline\",\"field\":\"landline\",\"fieldName\":\"F_Landline\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_email\",\"field\":\"email\",\"fieldName\":\"邮箱\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_nation\",\"field\":\"nation\",\"fieldName\":\"民族\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_native_place\",\"field\":\"nativePlace\",\"fieldName\":\"籍贯\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_entry_date\",\"field\":\"entryDate\",\"fieldName\":\"入职日期\",\"dataType\":\"datetime\",\"dataLength\":\"默认\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_certificates_type\",\"field\":\"certificatesType\",\"fieldName\":\"证件类型\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_certificates_number\",\"field\":\"certificatesNumber\",\"fieldName\":\"证件号码\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_education\",\"field\":\"education\",\"fieldName\":\"文化程度\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_urgent_contacts\",\"field\":\"urgentContacts\",\"fieldName\":\"F_UrgentContacts\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_urgent_tele_phone\",\"field\":\"urgentTelePhone\",\"fieldName\":\"紧急电话\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_postal_address\",\"field\":\"postalAddress\",\"fieldName\":\"通讯地址\",\"dataType\":\"varchar\",\"dataLength\":\"500\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_signature\",\"field\":\"signature\",\"fieldName\":\"自我介绍\",\"dataType\":\"varchar\",\"dataLength\":\"500\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_password\",\"field\":\"password\",\"fieldName\":\"密码\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_secretkey\",\"field\":\"secretkey\",\"fieldName\":\"秘钥\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_first_log_time\",\"field\":\"firstLogTime\",\"fieldName\":\"首次登录时间\",\"dataType\":\"datetime\",\"dataLength\":\"默认\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_first_log_ip\",\"field\":\"firstLogIp\",\"fieldName\":\"首次登录IP\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_prev_log_time\",\"field\":\"prevLogTime\",\"fieldName\":\"前次登录时间\",\"dataType\":\"datetime\",\"dataLength\":\"默认\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_prev_log_ip\",\"field\":\"prevLogIp\",\"fieldName\":\"前次登录IP\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_last_log_time\",\"field\":\"lastLogTime\",\"fieldName\":\"最后登录时间\",\"dataType\":\"datetime\",\"dataLength\":\"默认\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_last_log_ip\",\"field\":\"lastLogIp\",\"fieldName\":\"最后登录IP\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_log_success_count\",\"field\":\"logSuccessCount\",\"fieldName\":\"登录成功次数\",\"dataType\":\"int\",\"dataLength\":\"默认\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_log_error_count\",\"field\":\"logErrorCount\",\"fieldName\":\"登录错误次数\",\"dataType\":\"int\",\"dataLength\":\"默认\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_change_password_date\",\"field\":\"changePasswordDate\",\"fieldName\":\"最后修改密码时间\",\"dataType\":\"datetime\",\"dataLength\":\"默认\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_language\",\"field\":\"language\",\"fieldName\":\"系统语言\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_theme\",\"field\":\"theme\",\"fieldName\":\"系统样式\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_common_menu\",\"field\":\"commonMenu\",\"fieldName\":\"常用菜单\",\"dataType\":\"longtext\",\"dataLength\":\"默认\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_is_administrator\",\"field\":\"isAdministrator\",\"fieldName\":\"是否管理员\",\"dataType\":\"int\",\"dataLength\":\"默认\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_property_json\",\"field\":\"propertyJson\",\"fieldName\":\"扩展属性\",\"dataType\":\"longtext\",\"dataLength\":\"默认\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_manager_id\",\"field\":\"managerId\",\"fieldName\":\"主管主键\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_organize_id\",\"field\":\"organizeId\",\"fieldName\":\"组织主键\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_position_id\",\"field\":\"positionId\",\"fieldName\":\"岗位主键\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_role_id\",\"field\":\"roleId\",\"fieldName\":\"角色主键\",\"dataType\":\"longtext\",\"dataLength\":\"默认\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_portal_id\",\"field\":\"portalId\",\"fieldName\":\"门户主键\",\"dataType\":\"longtext\",\"dataLength\":\"默认\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_lock_mark\",\"field\":\"lockMark\",\"fieldName\":\"是否锁定\",\"dataType\":\"int\",\"dataLength\":\"默认\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_unlock_time\",\"field\":\"unlockTime\",\"fieldName\":\"解锁时间\",\"dataType\":\"datetime\",\"dataLength\":\"默认\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_group_id\",\"field\":\"groupId\",\"fieldName\":\"分组id\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_system_id\",\"field\":\"systemId\",\"fieldName\":\"系统id\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_handover_mark\",\"field\":\"handoverMark\",\"fieldName\":\"交接状态\",\"dataType\":\"int\",\"dataLength\":\"默认\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_app_system_id\",\"field\":\"appSystemId\",\"fieldName\":\"App系统id\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_ding_job_number\",\"field\":\"dingJobNumber\",\"fieldName\":\"钉钉工号\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_description\",\"field\":\"description\",\"fieldName\":\"描述或说明\",\"dataType\":\"varchar\",\"dataLength\":\"500\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_enabled_mark\",\"field\":\"enabledMark\",\"fieldName\":\"有效标志(0-禁用,1-启用)\",\"dataType\":\"int\",\"dataLength\":\"默认\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_sort_code\",\"field\":\"sortCode\",\"fieldName\":\"排序\",\"dataType\":\"bigint\",\"dataLength\":\"默认\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_creator_time\",\"field\":\"creatorTime\",\"fieldName\":\"创建时间\",\"dataType\":\"datetime\",\"dataLength\":\"默认\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_creator_user_id\",\"field\":\"creatorUserId\",\"fieldName\":\"创建用户\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_last_modify_time\",\"field\":\"lastModifyTime\",\"fieldName\":\"修改时间\",\"dataType\":\"datetime\",\"dataLength\":\"默认\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_last_modify_user_id\",\"field\":\"lastModifyUserId\",\"fieldName\":\"修改用户\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_delete_time\",\"field\":\"deleteTime\",\"fieldName\":\"删除时间\",\"dataType\":\"datetime\",\"dataLength\":\"默认\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_delete_user_id\",\"field\":\"deleteUserId\",\"fieldName\":\"删除用户\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_delete_mark\",\"field\":\"deleteMark\",\"fieldName\":\"删除标志\",\"dataType\":\"int\",\"dataLength\":\"默认\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_tenant_id\",\"field\":\"tenantId\",\"fieldName\":\"租户id\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"f_handover_userid\",\"field\":\"handoverUserid\",\"fieldName\":\"离职工作被交接的UserId\",\"dataType\":\"varchar\",\"dataLength\":\"100\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0}]}]"); return sb.toString(); + } +} diff --git a/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/businesslineconfig/BusinessLineConfigForm.java b/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/businesslineconfig/BusinessLineConfigForm.java new file mode 100644 index 00000000..8e1a5408 --- /dev/null +++ b/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/businesslineconfig/BusinessLineConfigForm.java @@ -0,0 +1,47 @@ +package jnpf.model.businesslineconfig; + +import lombok.Data; +import java.util.List; +import java.math.BigDecimal; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * businessLineConfig + * @版本: V3.5 + * @版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * @作者: JNPF开发平台组 + * @日期: 2024-01-27 + */ +@Data +public class BusinessLineConfigForm { + /** 主键 */ + private String id; + /** 乐观锁 **/ + @JsonProperty("version") + private Integer version; + /** 流程id **/ + @JsonProperty("flowId") + private String flowId; + + /** 姓名 **/ + @JsonProperty("jnpf_base_user_jnpf_realName") + private String jnpf_base_user_jnpf_realName; + /** 帐号状态 **/ + @JsonProperty("jnpf_base_user_jnpf_enabledMark") + private Object jnpf_base_user_jnpf_enabledMark; + /** 手机 **/ + @JsonProperty("jnpf_base_user_jnpf_mobilePhone") + private String jnpf_base_user_jnpf_mobilePhone; + /** 最后登录 **/ + @JsonProperty("jnpf_base_user_jnpf_lastLogTime") + private String jnpf_base_user_jnpf_lastLogTime; + /** 创建时间 **/ + @JsonProperty("jnpf_base_user_jnpf_creatorTime") + private String jnpf_base_user_jnpf_creatorTime; + /** 修改时间 **/ + @JsonProperty("jnpf_base_user_jnpf_lastModifyTime") + private String jnpf_base_user_jnpf_lastModifyTime; + /** 业务线名称 **/ + @JsonProperty("jnpf_jg_business_line_jnpf_name") + private String jnpf_jg_business_line_jnpf_name; +} diff --git a/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/businesslineconfig/BusinessLineConfigPagination.java b/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/businesslineconfig/BusinessLineConfigPagination.java new file mode 100644 index 00000000..90c6782d --- /dev/null +++ b/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/businesslineconfig/BusinessLineConfigPagination.java @@ -0,0 +1,39 @@ +package jnpf.model.businesslineconfig; + +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.Data; +import jnpf.base.Pagination; +import java.util.List; + +/** + * + * businessLineConfig + * @版本: V3.5 + * @版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * @作者: JNPF开发平台组 + * @日期: 2024-01-27 + */ +@Data +public class BusinessLineConfigPagination extends Pagination { + /** 查询key */ + private String[] selectKey; + /** json */ + private String json; + /** 数据类型 0-当前页,1-全部数据 */ + private String dataType; + /** 高级查询 */ + private String superQueryJson; + /** 功能id */ + private String moduleId; + /** 菜单id */ + private String menuId; + /** 姓名 */ + @JsonProperty("jnpf_base_user_jnpf_realName") + private Object jnpf_base_user_jnpf_realName; + /** 最后登录 */ + @JsonProperty("jnpf_base_user_jnpf_lastLogTime") + private Object jnpf_base_user_jnpf_lastLogTime; + /** tree */ + @JsonProperty("jnpf_jg_business_line_jnpf_name") + private Object jnpf_jg_business_line_jnpf_name; +} diff --git a/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/businesslineconfig/BusinessLineModel.java b/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/businesslineconfig/BusinessLineModel.java new file mode 100644 index 00000000..e6ceef71 --- /dev/null +++ b/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/businesslineconfig/BusinessLineModel.java @@ -0,0 +1,20 @@ +package jnpf.model.businesslineconfig; + +import com.alibaba.fastjson.annotation.JSONField; +import io.swagger.v3.oas.annotations.media.Schema; +import jnpf.util.treeutil.SumTree; +import lombok.Data; + +import java.util.List; + + +@Data +public class BusinessLineModel extends SumTree { + private String name; + private String code; + private Long creatorTime; + @Schema(description = "组织id树") + private List businessLineIds; + private String parentId; + +} diff --git a/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/businesslineconfig/BusinessLineSonModel.java b/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/businesslineconfig/BusinessLineSonModel.java new file mode 100644 index 00000000..2a1614a8 --- /dev/null +++ b/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/businesslineconfig/BusinessLineSonModel.java @@ -0,0 +1,24 @@ +package jnpf.model.businesslineconfig; + +import lombok.Data; +import java.util.List; +import java.util.Date; +import java.math.BigDecimal; +import com.alibaba.fastjson.annotation.JSONField; +import cn.afterturn.easypoi.excel.annotation.Excel; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * + * businessLineConfig + * 版本: V3.5 + * 版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * 作者: JNPF开发平台组 + * 日期: 2024-01-27 + */ +@Data +public class BusinessLineSonModel { + /** 业务线名称 **/ + @JSONField(name = "name") + private String name; +} diff --git a/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/businesslineconfig/BusinessLineSonTree.java b/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/businesslineconfig/BusinessLineSonTree.java new file mode 100644 index 00000000..51110f0d --- /dev/null +++ b/jnpf-java-boot/jnpf-scm/jnpf-scm-entity/src/main/java/jnpf/model/businesslineconfig/BusinessLineSonTree.java @@ -0,0 +1,28 @@ +package jnpf.model.businesslineconfig; + + +import io.swagger.v3.oas.annotations.media.Schema; +import lombok.Data; + +import java.util.List; + +/** + * + * @author JNPF开发平台组 + * @version V3.1.0 + * @copyright 引迈信息技术有限公司 + * @date 2021/3/12 15:31 + */ +@Data +public class BusinessLineSonTree { + @Schema(description = "主键") + private String id; + @Schema(description = "父主键") + private String parentId; + @Schema(description = "名称") + private String name; + @Schema(description = "是否有下级菜单") + private Boolean hasChildren; + @Schema(description = "下级菜单列表") + private List children; +} diff --git a/jnpf-java-boot/jnpf-web/src/api/permission/organize.js b/jnpf-java-boot/jnpf-web/src/api/permission/organize.js index f858de1f..c0eab570 100644 --- a/jnpf-java-boot/jnpf-web/src/api/permission/organize.js +++ b/jnpf-java-boot/jnpf-web/src/api/permission/organize.js @@ -9,6 +9,15 @@ export const getOrganizeList = (data) => { }) } +// 获取组织/公司列表 +export const getEnterpriseList = (data) => { + return request({ + url: '/api/permission/Organize/Enterprise', + method: 'GET', + data + }) +} + // 获取组织/公司下拉框列表 export const getOrganizeSelector = (id) => { return request({ diff --git a/jnpf-java-boot/jnpf-web/src/views/permission/organize/enterpriseIndex.vue b/jnpf-java-boot/jnpf-web/src/views/permission/organize/enterpriseIndex.vue new file mode 100644 index 00000000..ba6d4309 --- /dev/null +++ b/jnpf-java-boot/jnpf-web/src/views/permission/organize/enterpriseIndex.vue @@ -0,0 +1,228 @@ + + + + \ No newline at end of file diff --git a/jnpf-java-boot/jnpf-web/src/views/permission/user/index.vue b/jnpf-java-boot/jnpf-web/src/views/permission/user/index.vue index 9ffc77e3..3a5b2073 100644 --- a/jnpf-java-boot/jnpf-web/src/views/permission/user/index.vue +++ b/jnpf-java-boot/jnpf-web/src/views/permission/user/index.vue @@ -239,6 +239,7 @@ export default { this.filterText = '' this.treeLoading = true getDepartmentSelectorByAuth().then(res => { + debugger this.treeData = res.data.list this.treeLoading = false if (isInit) this.initData() diff --git a/jnpf-java-boot/jnpf-web/src/views/scm/businessLine/Detail.vue b/jnpf-java-boot/jnpf-web/src/views/scm/businessLine/Detail.vue deleted file mode 100644 index 592a12ca..00000000 --- a/jnpf-java-boot/jnpf-web/src/views/scm/businessLine/Detail.vue +++ /dev/null @@ -1,206 +0,0 @@ - - diff --git a/jnpf-java-boot/jnpf-web/src/views/scm/businessLine/columnList.js b/jnpf-java-boot/jnpf-web/src/views/scm/businessLine/columnList.js index 4d9586bd..603c4a62 100644 --- a/jnpf-java-boot/jnpf-web/src/views/scm/businessLine/columnList.js +++ b/jnpf-java-boot/jnpf-web/src/views/scm/businessLine/columnList.js @@ -1,2 +1,2 @@ -const columnList = [{"jnpfKey":"billRule","fullName":"业务线编号","label":"业务线编号","sortable":false,"align":"left","__config__":{"formId":101,"visibility":["pc","app"],"jnpfKey":"billRule","defaultValue":null,"noShow":false,"tipLabel":"","dragDisabled":false,"rule":"rukudanhao","className":[],"label":"业务线编号","trigger":"change","showLabel":true,"required":false,"tableName":"jg_business_line","renderKey":1705561324245,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-documents","ruleName":"入库单号","tag":"JnpfInput","span":8},"readonly":true,"prop":"code","width":null,"__vModel__":"code","fixed":"none","style":{"width":"100%"},"id":"code","placeholder":"系统自动生成"},{"clearable":true,"maxlength":null,"jnpfKey":"input","suffixIcon":"","fullName":"业务线名称","label":"业务线名称","sortable":false,"align":"left","addonAfter":"","__config__":{"formId":102,"visibility":["pc","app"],"jnpfKey":"input","noShow":false,"tipLabel":"","dragDisabled":false,"className":[],"label":"业务线名称","trigger":"blur","showLabel":true,"required":true,"tableName":"jg_business_line","renderKey":1705561361587,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-input","unique":true,"tag":"JnpfInput","regList":[],"span":8},"readonly":false,"prop":"name","width":null,"__vModel__":"name","showPassword":false,"fixed":"none","style":{"width":"100%"},"disabled":false,"id":"name","placeholder":"请输入","prefixIcon":"","addonBefore":"","on":{"change":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}","blur":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}"}},{"clearable":true,"maxlength":null,"jnpfKey":"input","suffixIcon":"","fullName":"业务线简称","label":"业务线简称","sortable":false,"align":"left","addonAfter":"","__config__":{"formId":103,"visibility":["pc","app"],"jnpfKey":"input","noShow":false,"tipLabel":"","dragDisabled":false,"className":[],"label":"业务线简称","trigger":"blur","showLabel":true,"required":false,"tableName":"jg_business_line","renderKey":1705561373234,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-input","tag":"JnpfInput","regList":[],"span":8},"readonly":false,"prop":"simpleName","width":null,"__vModel__":"simpleName","showPassword":false,"fixed":"none","style":{"width":"100%"},"disabled":false,"id":"simpleName","placeholder":"请输入","prefixIcon":"","addonBefore":"","on":{"change":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}","blur":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}"}},{"filterable":false,"clearable":true,"jnpfKey":"select","multiple":false,"fullName":"类型","label":"类型","sortable":false,"align":"left","props":{"label":"fullName","value":"id"},"__config__":{"formId":104,"visibility":["pc","app"],"jnpfKey":"select","defaultValue":"","noShow":false,"dataType":"dictionary","dictionaryType":"517662753159119813","tipLabel":"","dragDisabled":false,"className":[],"label":"类型","trigger":"change","propsUrl":"","templateJson":[],"showLabel":true,"required":true,"tableName":"jg_business_line","renderKey":1705561384493,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-select","propsName":"","tag":"JnpfSelect","regList":[],"span":8},"prop":"type","width":null,"options":[{"enCode":"1","children":null,"hasChildren":false,"fullName":"业务线","id":"517662857341436869","parentId":"0"},{"enCode":"2","children":null,"hasChildren":false,"fullName":"业务组","id":"517662885212586949","parentId":"0"},{"enCode":"3","children":null,"hasChildren":false,"fullName":"事业群","id":"517662927826715589","parentId":"0"},{"enCode":"4","children":null,"hasChildren":false,"fullName":"品牌","id":"517662957383975877","parentId":"0"}],"__vModel__":"type","fixed":"none","style":{"width":"100%"},"disabled":false,"id":"type","placeholder":"请选择","on":{"change":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}"}},{"filterable":false,"clearable":true,"jnpfKey":"select","multiple":false,"fullName":"所属分类","label":"所属分类","sortable":false,"align":"left","props":{"label":"fullName","value":"id"},"__config__":{"formId":105,"visibility":["pc","app"],"jnpfKey":"select","defaultValue":"","noShow":false,"dataType":"dictionary","dictionaryType":"517664069117805509","tipLabel":"","dragDisabled":false,"className":[],"label":"所属分类","trigger":"change","propsUrl":"","templateJson":[],"showLabel":true,"required":true,"tableName":"jg_business_line","renderKey":1705561409060,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-select","propsName":"","tag":"JnpfSelect","regList":[],"span":8},"prop":"industry","width":null,"options":[{"enCode":"1","children":null,"hasChildren":false,"fullName":"贸易","id":"517664146741789637","parentId":"0"},{"enCode":"2","children":null,"hasChildren":false,"fullName":"加工","id":"517664192858162117","parentId":"0"},{"enCode":"3","children":null,"hasChildren":false,"fullName":"服务","id":"517664222537057221","parentId":"0"},{"enCode":"4","children":null,"hasChildren":false,"fullName":"其他","id":"517664257400112069","parentId":"0"}],"__vModel__":"industry","fixed":"none","style":{"width":"100%"},"disabled":false,"id":"industry","placeholder":"请选择","on":{"change":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}"}},{"filterable":false,"clearable":true,"level":2,"jnpfKey":"areaSelect","multiple":false,"fullName":"所在城市","label":"所在城市","sortable":false,"align":"left","__config__":{"formId":106,"visibility":["pc","app"],"jnpfKey":"areaSelect","defaultValue":[],"noShow":false,"tipLabel":"","dragDisabled":false,"className":[],"label":"所在城市","trigger":"change","showLabel":true,"required":true,"tableName":"jg_business_line","renderKey":1705561449107,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-Provinces","tag":"JnpfAreaSelect","regList":[],"span":8},"prop":"city","width":null,"__vModel__":"city","fixed":"none","style":{"width":"100%"},"disabled":false,"id":"city","placeholder":"请选择","on":{"change":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}"}},{"clearable":true,"jnpfKey":"datePicker","format":"yyyy-MM-dd","fullName":"成立时间","label":"成立时间","sortable":false,"align":"left","__config__":{"endRelationField":"","defaultValue":null,"dragDisabled":false,"className":[],"showLabel":true,"required":true,"tableName":"jg_business_line","renderKey":1705561482275,"tagIcon":"icon-ym icon-ym-generator-date","startRelationField":"","defaultCurrent":false,"tag":"JnpfDatePicker","formId":107,"visibility":["pc","app"],"jnpfKey":"datePicker","noShow":false,"endTimeTarget":1,"tipLabel":"","startTimeType":1,"endTimeRule":false,"label":"成立时间","trigger":"change","startTimeRule":false,"startTimeValue":null,"endTimeValue":null,"endTimeType":1,"layout":"colFormItem","startTimeTarget":1,"regList":[],"span":8},"prop":"establishDate","width":null,"__vModel__":"establishDate","fixed":"none","style":{"width":"100%"},"startTime":null,"disabled":false,"id":"establishDate","placeholder":"请选择","endTime":null,"on":{"change":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}","blur":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}"}},{"clearable":true,"maxlength":null,"jnpfKey":"textarea","fullName":"描述","label":"描述","sortable":false,"align":"left","autoSize":{"minRows":4,"maxRows":4},"__config__":{"formId":110,"visibility":["pc","app"],"jnpfKey":"textarea","noShow":false,"tipLabel":"","dragDisabled":false,"className":[],"label":"描述","trigger":"blur","showLabel":true,"required":false,"tableName":"jg_business_line","renderKey":1705561564509,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-textarea","tag":"JnpfTextarea","regList":[],"span":24},"readonly":false,"prop":"description","width":null,"__vModel__":"description","fixed":"none","style":{"width":"100%"},"disabled":false,"id":"description","placeholder":"请输入","on":{"change":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}","blur":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}"}}] +const columnList = [{ "jnpfKey": "billRule", "fullName": "业务线编号", "label": "业务线编号", "sortable": false, "align": "left", "__config__": { "formId": 101, "visibility": ["pc", "app"], "jnpfKey": "billRule", "defaultValue": null, "noShow": false, "tipLabel": "", "dragDisabled": false, "rule": "rukudanhao", "className": [], "label": "业务线编号", "trigger": "change", "showLabel": true, "required": false, "tableName": "jg_business_line", "renderKey": 1705561324245, "layout": "colFormItem", "tagIcon": "icon-ym icon-ym-generator-documents", "ruleName": "入库单号", "tag": "JnpfInput", "span": 8 }, "readonly": true, "prop": "code", "width": 0, "__vModel__": "code", "fixed": "none", "style": { "width": "100%" }, "id": "code", "placeholder": "系统自动生成" }, { "clearable": true, "maxlength": null, "jnpfKey": "input", "suffixIcon": "", "fullName": "业务线名称", "label": "业务线名称", "sortable": false, "align": "left", "addonAfter": "", "__config__": { "formId": 102, "visibility": ["pc", "app"], "jnpfKey": "input", "noShow": false, "tipLabel": "", "dragDisabled": false, "className": [], "label": "业务线名称", "trigger": "blur", "showLabel": true, "required": true, "tableName": "jg_business_line", "renderKey": 1705561361587, "layout": "colFormItem", "tagIcon": "icon-ym icon-ym-generator-input", "unique": true, "tag": "JnpfInput", "regList": [], "span": 8 }, "readonly": false, "prop": "name", "width": 0, "__vModel__": "name", "showPassword": false, "fixed": "none", "style": { "width": "100%" }, "disabled": false, "id": "name", "placeholder": "请输入", "prefixIcon": "", "addonBefore": "", "on": { "change": "({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}", "blur": "({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}" } }, { "clearable": true, "maxlength": null, "jnpfKey": "input", "suffixIcon": "", "fullName": "业务线简称", "label": "业务线简称", "sortable": false, "align": "left", "addonAfter": "", "__config__": { "formId": 103, "visibility": ["pc", "app"], "jnpfKey": "input", "noShow": false, "tipLabel": "", "dragDisabled": false, "className": [], "label": "业务线简称", "trigger": "blur", "showLabel": true, "required": false, "tableName": "jg_business_line", "renderKey": 1705561373234, "layout": "colFormItem", "tagIcon": "icon-ym icon-ym-generator-input", "tag": "JnpfInput", "regList": [], "span": 8 }, "readonly": false, "prop": "simpleName", "width": 0, "__vModel__": "simpleName", "showPassword": false, "fixed": "none", "style": { "width": "100%" }, "disabled": false, "id": "simpleName", "placeholder": "请输入", "prefixIcon": "", "addonBefore": "", "on": { "change": "({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}", "blur": "({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}" } }, { "filterable": false, "clearable": true, "jnpfKey": "select", "multiple": false, "fullName": "类型", "label": "类型", "sortable": false, "align": "left", "props": { "label": "fullName", "value": "id" }, "__config__": { "formId": 104, "visibility": ["pc", "app"], "jnpfKey": "select", "defaultValue": "", "noShow": false, "dataType": "dictionary", "dictionaryType": "517662753159119813", "tipLabel": "", "dragDisabled": false, "className": [], "label": "类型", "trigger": "change", "propsUrl": "", "templateJson": [], "showLabel": true, "required": true, "tableName": "jg_business_line", "renderKey": 1705561384493, "layout": "colFormItem", "tagIcon": "icon-ym icon-ym-generator-select", "propsName": "", "tag": "JnpfSelect", "regList": [], "span": 8 }, "prop": "type", "width": 0, "options": [{ "enCode": "1", "children": null, "hasChildren": false, "fullName": "业务线", "id": "517662857341436869", "parentId": "0" }, { "enCode": "2", "children": null, "hasChildren": false, "fullName": "业务组", "id": "517662885212586949", "parentId": "0" }, { "enCode": "3", "children": null, "hasChildren": false, "fullName": "事业群", "id": "517662927826715589", "parentId": "0" }, { "enCode": "4", "children": null, "hasChildren": false, "fullName": "品牌", "id": "517662957383975877", "parentId": "0" }], "__vModel__": "type", "fixed": "none", "style": { "width": "100%" }, "disabled": false, "id": "type", "placeholder": "请选择", "on": { "change": "({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}" } }, { "filterable": false, "clearable": true, "jnpfKey": "select", "multiple": false, "fullName": "所属分类", "label": "所属分类", "sortable": false, "align": "left", "props": { "label": "fullName", "value": "id" }, "__config__": { "formId": 105, "visibility": ["pc", "app"], "jnpfKey": "select", "defaultValue": "", "noShow": false, "dataType": "dictionary", "dictionaryType": "517664069117805509", "tipLabel": "", "dragDisabled": false, "className": [], "label": "所属分类", "trigger": "change", "propsUrl": "", "templateJson": [], "showLabel": true, "required": true, "tableName": "jg_business_line", "renderKey": 1705561409060, "layout": "colFormItem", "tagIcon": "icon-ym icon-ym-generator-select", "propsName": "", "tag": "JnpfSelect", "regList": [], "span": 8 }, "prop": "industry", "width": 0, "options": [{ "enCode": "1", "children": null, "hasChildren": false, "fullName": "贸易", "id": "517664146741789637", "parentId": "0" }, { "enCode": "2", "children": null, "hasChildren": false, "fullName": "加工", "id": "517664192858162117", "parentId": "0" }, { "enCode": "3", "children": null, "hasChildren": false, "fullName": "服务", "id": "517664222537057221", "parentId": "0" }, { "enCode": "4", "children": null, "hasChildren": false, "fullName": "其他", "id": "517664257400112069", "parentId": "0" }], "__vModel__": "industry", "fixed": "none", "style": { "width": "100%" }, "disabled": false, "id": "industry", "placeholder": "请选择", "on": { "change": "({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}" } }, { "filterable": false, "clearable": true, "level": 2, "jnpfKey": "areaSelect", "multiple": false, "fullName": "所在城市", "label": "所在城市", "sortable": false, "align": "left", "__config__": { "formId": 106, "visibility": ["pc", "app"], "jnpfKey": "areaSelect", "defaultValue": [], "noShow": false, "tipLabel": "", "dragDisabled": false, "className": [], "label": "所在城市", "trigger": "change", "showLabel": true, "required": true, "tableName": "jg_business_line", "renderKey": 1705561449107, "layout": "colFormItem", "tagIcon": "icon-ym icon-ym-generator-Provinces", "tag": "JnpfAreaSelect", "regList": [], "span": 8 }, "prop": "city", "width": 0, "__vModel__": "city", "fixed": "none", "style": { "width": "100%" }, "disabled": false, "id": "city", "placeholder": "请选择", "on": { "change": "({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}" } }, { "clearable": true, "jnpfKey": "datePicker", "format": "yyyy-MM-dd", "fullName": "成立时间", "label": "成立时间", "sortable": false, "align": "left", "__config__": { "endRelationField": "", "defaultValue": null, "dragDisabled": false, "className": [], "showLabel": true, "required": true, "tableName": "jg_business_line", "renderKey": 1705561482275, "tagIcon": "icon-ym icon-ym-generator-date", "startRelationField": "", "defaultCurrent": false, "tag": "JnpfDatePicker", "formId": 107, "visibility": ["pc", "app"], "jnpfKey": "datePicker", "noShow": false, "endTimeTarget": 1, "tipLabel": "", "startTimeType": 1, "endTimeRule": false, "label": "成立时间", "trigger": "change", "startTimeRule": false, "startTimeValue": null, "endTimeValue": null, "endTimeType": 1, "layout": "colFormItem", "startTimeTarget": 1, "regList": [], "span": 8 }, "prop": "establishDate", "width": 0, "__vModel__": "establishDate", "fixed": "none", "style": { "width": "100%" }, "startTime": null, "disabled": false, "id": "establishDate", "placeholder": "请选择", "endTime": null, "on": { "change": "({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}", "blur": "({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}" } }, { "clearable": true, "maxlength": null, "jnpfKey": "textarea", "fullName": "描述", "label": "描述", "sortable": false, "align": "left", "autoSize": { "minRows": 4, "maxRows": 4 }, "__config__": { "formId": 110, "visibility": ["pc", "app"], "jnpfKey": "textarea", "noShow": false, "tipLabel": "", "dragDisabled": false, "className": [], "label": "描述", "trigger": "blur", "showLabel": true, "required": false, "tableName": "jg_business_line", "renderKey": 1705561564509, "layout": "colFormItem", "tagIcon": "icon-ym icon-ym-generator-textarea", "tag": "JnpfTextarea", "regList": [], "span": 24 }, "readonly": false, "prop": "description", "width": 0, "__vModel__": "description", "fixed": "none", "style": { "width": "100%" }, "disabled": false, "id": "description", "placeholder": "请输入", "on": { "change": "({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}", "blur": "({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}" } }] export default columnList \ No newline at end of file diff --git a/jnpf-java-boot/jnpf-web/src/views/scm/businessLine/form.vue b/jnpf-java-boot/jnpf-web/src/views/scm/businessLine/form.vue index 6b2fa5fb..53319ef5 100644 --- a/jnpf-java-boot/jnpf-web/src/views/scm/businessLine/form.vue +++ b/jnpf-java-boot/jnpf-web/src/views/scm/businessLine/form.vue @@ -1,741 +1,652 @@ + diff --git a/jnpf-java-boot/jnpf-web/src/views/scm/businessLine/index.vue b/jnpf-java-boot/jnpf-web/src/views/scm/businessLine/index.vue index e2aaa444..0f28668b 100644 --- a/jnpf-java-boot/jnpf-web/src/views/scm/businessLine/index.vue +++ b/jnpf-java-boot/jnpf-web/src/views/scm/businessLine/index.vue @@ -1,572 +1,618 @@ - - - - - - - diff --git a/jnpf-java-boot/jnpf-web/src/views/scm/businessLineConfig/columnList.js b/jnpf-java-boot/jnpf-web/src/views/scm/businessLineConfig/columnList.js new file mode 100644 index 00000000..5bb600eb --- /dev/null +++ b/jnpf-java-boot/jnpf-web/src/views/scm/businessLineConfig/columnList.js @@ -0,0 +1,2 @@ +const columnList = [{"clearable":true,"maxlength":null,"jnpfKey":"input","suffixIcon":"","fullName":"姓名","label":"姓名","sortable":false,"align":"left","addonAfter":"","__config__":{"formId":101,"visibility":["pc","app"],"jnpfKey":"input","noShow":false,"tipLabel":"","dragDisabled":false,"className":[],"label":"姓名","trigger":"blur","showLabel":true,"required":false,"tableName":"base_user","renderKey":1706325424775,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-input","unique":false,"tag":"JnpfInput","regList":[],"span":8},"readonly":false,"prop":"jnpf_base_user_jnpf_realName","showWordLimit":false,"width":0,"__vModel__":"jnpf_base_user_jnpf_realName","showPassword":false,"fixed":"none","style":{"width":"100%"},"disabled":false,"id":"jnpf_base_user_jnpf_realName","placeholder":"请输入","prefixIcon":"","addonBefore":"","on":{"change":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}","blur":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}"}},{"filterable":false,"clearable":true,"jnpfKey":"select","multiple":false,"fullName":"帐号状态","label":"帐号状态","sortable":false,"align":"left","props":{"label":"fullName","value":"id"},"__config__":{"formId":105,"visibility":["pc","app"],"jnpfKey":"select","defaultValue":"","noShow":false,"dataType":"static","dictionaryType":"","tipLabel":"","dragDisabled":false,"className":[],"label":"帐号状态","trigger":"change","propsUrl":"","templateJson":[],"showLabel":true,"required":false,"tableName":"base_user","renderKey":1706326053257,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-select","propsName":"","tag":"JnpfSelect","regList":[],"span":8},"prop":"jnpf_base_user_jnpf_enabledMark","width":0,"options":[{"fullName":"选项一","id":"1"},{"fullName":"选项二","id":"2"}],"__vModel__":"jnpf_base_user_jnpf_enabledMark","fixed":"none","style":{"width":"100%"},"disabled":false,"interfaceHasPage":false,"id":"jnpf_base_user_jnpf_enabledMark","placeholder":"请选择","on":{"change":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}"}},{"clearable":true,"maxlength":null,"jnpfKey":"input","suffixIcon":"","fullName":"手机","label":"手机","sortable":false,"align":"left","addonAfter":"","__config__":{"formId":106,"visibility":["pc","app"],"jnpfKey":"input","noShow":false,"tipLabel":"","dragDisabled":false,"className":[],"label":"手机","trigger":"blur","showLabel":true,"required":false,"tableName":"base_user","renderKey":1706326083130,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-input","unique":false,"tag":"JnpfInput","regList":[],"span":8},"readonly":false,"prop":"jnpf_base_user_jnpf_mobilePhone","showWordLimit":false,"width":0,"__vModel__":"jnpf_base_user_jnpf_mobilePhone","showPassword":false,"fixed":"none","style":{"width":"100%"},"disabled":false,"id":"jnpf_base_user_jnpf_mobilePhone","placeholder":"请输入","prefixIcon":"","addonBefore":"","on":{"change":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}","blur":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}"}},{"clearable":true,"jnpfKey":"datePicker","format":"yyyy-MM-dd","fullName":"最后登录","label":"最后登录","sortable":false,"align":"left","type":"date","__config__":{"endRelationField":"","defaultValue":null,"dragDisabled":false,"className":[],"showLabel":true,"required":false,"tableName":"base_user","renderKey":1706326153975,"tagIcon":"icon-ym icon-ym-generator-date","startRelationField":"","defaultCurrent":false,"tag":"JnpfDatePicker","formId":108,"visibility":["pc","app"],"jnpfKey":"datePicker","noShow":false,"endTimeTarget":1,"tipLabel":"","startTimeType":1,"endTimeRule":false,"label":"最后登录","startTimeRule":false,"startTimeValue":"","trigger":"change","endTimeValue":"","endTimeType":1,"layout":"colFormItem","startTimeTarget":1,"regList":[],"span":8},"readonly":false,"prop":"jnpf_base_user_jnpf_lastLogTime","width":0,"__vModel__":"jnpf_base_user_jnpf_lastLogTime","fixed":"none","style":{"width":"100%"},"disabled":false,"startTime":null,"id":"jnpf_base_user_jnpf_lastLogTime","placeholder":"请选择","endTime":null,"on":{"change":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}","blur":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}"}},{"clearable":true,"jnpfKey":"datePicker","format":"yyyy-MM-dd","fullName":"创建时间","label":"创建时间","sortable":false,"align":"left","type":"date","__config__":{"endRelationField":"","defaultValue":null,"dragDisabled":false,"className":[],"showLabel":true,"required":false,"tableName":"base_user","renderKey":1706326189520,"tagIcon":"icon-ym icon-ym-generator-date","startRelationField":"","defaultCurrent":false,"tag":"JnpfDatePicker","formId":109,"visibility":["pc","app"],"jnpfKey":"datePicker","noShow":false,"endTimeTarget":1,"tipLabel":"","startTimeType":1,"endTimeRule":false,"label":"创建时间","startTimeRule":false,"startTimeValue":"","trigger":"change","endTimeValue":"","endTimeType":1,"layout":"colFormItem","startTimeTarget":1,"regList":[],"span":8},"readonly":false,"prop":"jnpf_base_user_jnpf_creatorTime","width":0,"__vModel__":"jnpf_base_user_jnpf_creatorTime","fixed":"none","style":{"width":"100%"},"disabled":false,"startTime":null,"id":"jnpf_base_user_jnpf_creatorTime","placeholder":"请选择","endTime":null,"on":{"change":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}","blur":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}"}},{"clearable":true,"jnpfKey":"datePicker","format":"yyyy-MM-dd","fullName":"修改时间","label":"修改时间","sortable":false,"align":"left","type":"date","__config__":{"endRelationField":"","defaultValue":null,"dragDisabled":false,"className":[],"showLabel":true,"required":false,"tableName":"base_user","renderKey":1706326190676,"tagIcon":"icon-ym icon-ym-generator-date","startRelationField":"","defaultCurrent":false,"tag":"JnpfDatePicker","formId":110,"visibility":["pc","app"],"jnpfKey":"datePicker","noShow":false,"endTimeTarget":1,"tipLabel":"","startTimeType":1,"endTimeRule":false,"label":"修改时间","startTimeRule":false,"startTimeValue":"","trigger":"change","endTimeValue":"","endTimeType":1,"layout":"colFormItem","startTimeTarget":1,"regList":[],"span":8},"readonly":false,"prop":"jnpf_base_user_jnpf_lastModifyTime","width":0,"__vModel__":"jnpf_base_user_jnpf_lastModifyTime","fixed":"none","style":{"width":"100%"},"disabled":false,"startTime":null,"id":"jnpf_base_user_jnpf_lastModifyTime","placeholder":"请选择","endTime":null,"on":{"change":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}","blur":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}"}}] +export default columnList \ No newline at end of file diff --git a/jnpf-java-boot/jnpf-web/src/views/scm/businessLineConfig/form.vue b/jnpf-java-boot/jnpf-web/src/views/scm/businessLineConfig/form.vue new file mode 100644 index 00000000..891fbecf --- /dev/null +++ b/jnpf-java-boot/jnpf-web/src/views/scm/businessLineConfig/form.vue @@ -0,0 +1,368 @@ + + + + + + + diff --git a/jnpf-java-boot/jnpf-web/src/views/scm/businessLineConfig/index.vue b/jnpf-java-boot/jnpf-web/src/views/scm/businessLineConfig/index.vue new file mode 100644 index 00000000..aac0b63a --- /dev/null +++ b/jnpf-java-boot/jnpf-web/src/views/scm/businessLineConfig/index.vue @@ -0,0 +1,628 @@ + + + diff --git a/jnpf-java-boot/jnpf-web/src/views/scm/businessLineConfig/superQueryJson.js b/jnpf-java-boot/jnpf-web/src/views/scm/businessLineConfig/superQueryJson.js new file mode 100644 index 00000000..dfb02130 --- /dev/null +++ b/jnpf-java-boot/jnpf-web/src/views/scm/businessLineConfig/superQueryJson.js @@ -0,0 +1,2 @@ +const superQueryJson = [{"clearable":true,"maxlength":null,"suffixIcon":"","fullName":"姓名","addonAfter":"","__config__":{"formId":101,"visibility":["pc","app"],"jnpfKey":"input","noShow":false,"tipLabel":"","dragDisabled":false,"className":[],"label":"姓名","trigger":"blur","showLabel":true,"required":false,"tableName":"base_user","renderKey":1706325424775,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-input","unique":false,"tag":"JnpfInput","regList":[],"span":8},"readonly":false,"showWordLimit":false,"__vModel__":"jnpf_base_user_jnpf_realName","showPassword":false,"style":{"width":"100%"},"disabled":false,"id":"jnpf_base_user_jnpf_realName","placeholder":"请输入","prefixIcon":"","addonBefore":"","on":{"change":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}","blur":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}"}},{"filterable":false,"clearable":true,"multiple":false,"fullName":"帐号状态","props":{"label":"fullName","value":"id"},"__config__":{"formId":105,"visibility":["pc","app"],"jnpfKey":"select","defaultValue":"","noShow":false,"dataType":"static","dictionaryType":"","tipLabel":"","dragDisabled":false,"className":[],"label":"帐号状态","trigger":"change","propsUrl":"","templateJson":[],"showLabel":true,"required":false,"tableName":"base_user","renderKey":1706326053257,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-select","propsName":"","tag":"JnpfSelect","regList":[],"span":8},"options":[{"fullName":"选项一","id":"1"},{"fullName":"选项二","id":"2"}],"__vModel__":"jnpf_base_user_jnpf_enabledMark","style":{"width":"100%"},"disabled":false,"interfaceHasPage":false,"id":"jnpf_base_user_jnpf_enabledMark","placeholder":"请选择","on":{"change":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}"}},{"clearable":true,"maxlength":null,"suffixIcon":"","fullName":"手机","addonAfter":"","__config__":{"formId":106,"visibility":["pc","app"],"jnpfKey":"input","noShow":false,"tipLabel":"","dragDisabled":false,"className":[],"label":"手机","trigger":"blur","showLabel":true,"required":false,"tableName":"base_user","renderKey":1706326083130,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-input","unique":false,"tag":"JnpfInput","regList":[],"span":8},"readonly":false,"showWordLimit":false,"__vModel__":"jnpf_base_user_jnpf_mobilePhone","showPassword":false,"style":{"width":"100%"},"disabled":false,"id":"jnpf_base_user_jnpf_mobilePhone","placeholder":"请输入","prefixIcon":"","addonBefore":"","on":{"change":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}","blur":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}"}},{"clearable":true,"format":"yyyy-MM-dd","fullName":"最后登录","type":"date","__config__":{"endRelationField":"","defaultValue":null,"dragDisabled":false,"className":[],"showLabel":true,"required":false,"tableName":"base_user","renderKey":1706326153975,"tagIcon":"icon-ym icon-ym-generator-date","startRelationField":"","defaultCurrent":false,"tag":"JnpfDatePicker","formId":108,"visibility":["pc","app"],"jnpfKey":"datePicker","noShow":false,"endTimeTarget":1,"tipLabel":"","startTimeType":1,"endTimeRule":false,"label":"最后登录","startTimeRule":false,"startTimeValue":"","trigger":"change","endTimeValue":"","endTimeType":1,"layout":"colFormItem","startTimeTarget":1,"regList":[],"span":8},"readonly":false,"__vModel__":"jnpf_base_user_jnpf_lastLogTime","style":{"width":"100%"},"disabled":false,"startTime":null,"id":"jnpf_base_user_jnpf_lastLogTime","placeholder":"请选择","endTime":null,"on":{"change":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}","blur":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}"}},{"clearable":true,"format":"yyyy-MM-dd","fullName":"创建时间","type":"date","__config__":{"endRelationField":"","defaultValue":null,"dragDisabled":false,"className":[],"showLabel":true,"required":false,"tableName":"base_user","renderKey":1706326189520,"tagIcon":"icon-ym icon-ym-generator-date","startRelationField":"","defaultCurrent":false,"tag":"JnpfDatePicker","formId":109,"visibility":["pc","app"],"jnpfKey":"datePicker","noShow":false,"endTimeTarget":1,"tipLabel":"","startTimeType":1,"endTimeRule":false,"label":"创建时间","startTimeRule":false,"startTimeValue":"","trigger":"change","endTimeValue":"","endTimeType":1,"layout":"colFormItem","startTimeTarget":1,"regList":[],"span":8},"readonly":false,"__vModel__":"jnpf_base_user_jnpf_creatorTime","style":{"width":"100%"},"disabled":false,"startTime":null,"id":"jnpf_base_user_jnpf_creatorTime","placeholder":"请选择","endTime":null,"on":{"change":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}","blur":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}"}},{"clearable":true,"format":"yyyy-MM-dd","fullName":"修改时间","type":"date","__config__":{"endRelationField":"","defaultValue":null,"dragDisabled":false,"className":[],"showLabel":true,"required":false,"tableName":"base_user","renderKey":1706326190676,"tagIcon":"icon-ym icon-ym-generator-date","startRelationField":"","defaultCurrent":false,"tag":"JnpfDatePicker","formId":110,"visibility":["pc","app"],"jnpfKey":"datePicker","noShow":false,"endTimeTarget":1,"tipLabel":"","startTimeType":1,"endTimeRule":false,"label":"修改时间","startTimeRule":false,"startTimeValue":"","trigger":"change","endTimeValue":"","endTimeType":1,"layout":"colFormItem","startTimeTarget":1,"regList":[],"span":8},"readonly":false,"__vModel__":"jnpf_base_user_jnpf_lastModifyTime","style":{"width":"100%"},"disabled":false,"startTime":null,"id":"jnpf_base_user_jnpf_lastModifyTime","placeholder":"请选择","endTime":null,"on":{"change":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}","blur":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}"}},{"clearable":true,"maxlength":null,"suffixIcon":"","fullName":"业务线名称","addonAfter":"","__config__":{"formId":111,"visibility":["pc","app"],"jnpfKey":"input","noShow":false,"tipLabel":"","dragDisabled":false,"className":[],"label":"业务线名称","trigger":"blur","showLabel":true,"required":false,"tableName":"jg_business_line","renderKey":1706326218897,"layout":"colFormItem","tagIcon":"icon-ym icon-ym-generator-input","unique":false,"tag":"JnpfInput","regList":[],"span":8},"readonly":false,"showWordLimit":false,"__vModel__":"jnpf_jg_business_line_jnpf_name","showPassword":false,"style":{"width":"100%"},"disabled":false,"id":"jnpf_jg_business_line_jnpf_name","placeholder":"请输入","prefixIcon":"","addonBefore":"","on":{"change":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}","blur":"({ data, formData, setFormData, setShowOrHide, setRequired, setDisabled, onlineUtils }) => {\n // 在此编写代码\n \n}"}}] +export default superQueryJson \ No newline at end of file diff --git a/jnpf-java-boot/jnpf-web/src/views/scm/businessOrganize/form.vue b/jnpf-java-boot/jnpf-web/src/views/scm/businessOrganize/form.vue index 0d47d096..f198179b 100644 --- a/jnpf-java-boot/jnpf-web/src/views/scm/businessOrganize/form.vue +++ b/jnpf-java-boot/jnpf-web/src/views/scm/businessOrganize/form.vue @@ -1,1200 +1,1291 @@ - - - - -