diff --git a/jnpf-java-boot/jnpf-example/jnpf-example-biz/src/main/java/jnpf/mapper/EquipmentMaintenanceRecordsMapper.java b/jnpf-java-boot/jnpf-example/jnpf-example-biz/src/main/java/jnpf/mapper/EquipmentMaintenanceRecordsMapper.java new file mode 100644 index 0000000..53c68ce --- /dev/null +++ b/jnpf-java-boot/jnpf-example/jnpf-example-biz/src/main/java/jnpf/mapper/EquipmentMaintenanceRecordsMapper.java @@ -0,0 +1,16 @@ +package jnpf.mapper; + + +import jnpf.entity.EquipmentMaintenanceRecordsEntity; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; + +/** + * EquipmentMaintenanceRecords + * 版本: V3.5 + * 版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * 作者: JNPF开发平台组 + * 日期: 2024-07-17 + */ +public interface EquipmentMaintenanceRecordsMapper extends BaseMapper { + +} diff --git a/jnpf-java-boot/jnpf-example/jnpf-example-biz/src/main/java/jnpf/mapper/EquipmentinspectionrecordsMapper.java b/jnpf-java-boot/jnpf-example/jnpf-example-biz/src/main/java/jnpf/mapper/EquipmentinspectionrecordsMapper.java new file mode 100644 index 0000000..30ec613 --- /dev/null +++ b/jnpf-java-boot/jnpf-example/jnpf-example-biz/src/main/java/jnpf/mapper/EquipmentinspectionrecordsMapper.java @@ -0,0 +1,16 @@ +package jnpf.mapper; + + +import jnpf.entity.EquipmentinspectionrecordsEntity; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; + +/** + * equipmentinspectionrecords + * 版本: V3.5 + * 版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * 作者: JNPF开发平台组 + * 日期: 2024-07-18 + */ +public interface EquipmentinspectionrecordsMapper extends BaseMapper { + +} diff --git a/jnpf-java-boot/jnpf-example/jnpf-example-biz/src/main/java/jnpf/service/EquipmentMaintenanceRecordsService.java b/jnpf-java-boot/jnpf-example/jnpf-example-biz/src/main/java/jnpf/service/EquipmentMaintenanceRecordsService.java new file mode 100644 index 0000000..936fd75 --- /dev/null +++ b/jnpf-java-boot/jnpf-example/jnpf-example-biz/src/main/java/jnpf/service/EquipmentMaintenanceRecordsService.java @@ -0,0 +1,35 @@ +package jnpf.service; + +import jnpf.model.equipmentmaintenancerecords.*; +import jnpf.entity.*; +import java.util.*; +import com.baomidou.mybatisplus.extension.service.IService; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; + +/** + * EquipmentMaintenanceRecords + * 版本: V3.5 + * 版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * 作者: JNPF开发平台组 + * 日期: 2024-07-17 + */ +public interface EquipmentMaintenanceRecordsService extends IService { + List getList(EquipmentMaintenanceRecordsPagination equipmentMaintenanceRecordsPagination); + + List getTypeList(EquipmentMaintenanceRecordsPagination equipmentMaintenanceRecordsPagination,String dataType); + + EquipmentMaintenanceRecordsEntity getInfo(String id); + + void delete(EquipmentMaintenanceRecordsEntity entity); + + void create(EquipmentMaintenanceRecordsEntity entity); + + boolean update(String id, EquipmentMaintenanceRecordsEntity entity); + + //子表方法 + //副表数据方法 + String checkForm(EquipmentMaintenanceRecordsForm form,int i); + + void saveOrUpdate(EquipmentMaintenanceRecordsForm equipmentMaintenanceRecordsForm,String id, boolean isSave) throws Exception; + +} diff --git a/jnpf-java-boot/jnpf-example/jnpf-example-biz/src/main/java/jnpf/service/EquipmentinspectionrecordsService.java b/jnpf-java-boot/jnpf-example/jnpf-example-biz/src/main/java/jnpf/service/EquipmentinspectionrecordsService.java new file mode 100644 index 0000000..7712f75 --- /dev/null +++ b/jnpf-java-boot/jnpf-example/jnpf-example-biz/src/main/java/jnpf/service/EquipmentinspectionrecordsService.java @@ -0,0 +1,35 @@ +package jnpf.service; + +import jnpf.model.equipmentinspectionrecords.*; +import jnpf.entity.*; +import java.util.*; +import com.baomidou.mybatisplus.extension.service.IService; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; + +/** + * equipmentinspectionrecords + * 版本: V3.5 + * 版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * 作者: JNPF开发平台组 + * 日期: 2024-07-18 + */ +public interface EquipmentinspectionrecordsService extends IService { + List getList(EquipmentinspectionrecordsPagination equipmentinspectionrecordsPagination); + + List getTypeList(EquipmentinspectionrecordsPagination equipmentinspectionrecordsPagination,String dataType); + + EquipmentinspectionrecordsEntity getInfo(String id); + + void delete(EquipmentinspectionrecordsEntity entity); + + void create(EquipmentinspectionrecordsEntity entity); + + boolean update(String id, EquipmentinspectionrecordsEntity entity); + + //子表方法 + //副表数据方法 + String checkForm(EquipmentinspectionrecordsForm form,int i); + + void saveOrUpdate(EquipmentinspectionrecordsForm equipmentinspectionrecordsForm,String id, boolean isSave) throws Exception; + +} diff --git a/jnpf-java-boot/jnpf-example/jnpf-example-biz/src/main/java/jnpf/service/impl/EquipmentMaintenanceRecordsServiceImpl.java b/jnpf-java-boot/jnpf-example/jnpf-example-biz/src/main/java/jnpf/service/impl/EquipmentMaintenanceRecordsServiceImpl.java new file mode 100644 index 0000000..c468a82 --- /dev/null +++ b/jnpf-java-boot/jnpf-example/jnpf-example-biz/src/main/java/jnpf/service/impl/EquipmentMaintenanceRecordsServiceImpl.java @@ -0,0 +1,335 @@ +package jnpf.service.impl; + +import jnpf.entity.*; +import jnpf.mapper.EquipmentMaintenanceRecordsMapper; +import jnpf.service.*; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import jnpf.model.equipmentmaintenancerecords.*; +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; +/** + * + * EquipmentMaintenanceRecords + * 版本: V3.5 + * 版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * 作者: JNPF开发平台组 + * 日期: 2024-07-17 + */ +@Service +public class EquipmentMaintenanceRecordsServiceImpl extends ServiceImpl implements EquipmentMaintenanceRecordsService{ + @Autowired + private GeneraterSwapUtil generaterSwapUtil; + + @Autowired + private UserProvider userProvider; + + @Override + public List getList(EquipmentMaintenanceRecordsPagination equipmentMaintenanceRecordsPagination){ + return getTypeList(equipmentMaintenanceRecordsPagination,equipmentMaintenanceRecordsPagination.getDataType()); + } + /** 列表查询 */ + @Override + public List getTypeList(EquipmentMaintenanceRecordsPagination equipmentMaintenanceRecordsPagination,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 ? EquipmentMaintenanceRecordsConstant.getAppColumnData() : EquipmentMaintenanceRecordsConstant.getColumnData(); + ColumnDataModel columnDataModel = JsonUtil.getJsonToBean(columnData, ColumnDataModel.class); + String ruleJson = !isPc ? JsonUtil.getObjectToString(columnDataModel.getRuleListApp()) : JsonUtil.getObjectToString(columnDataModel.getRuleList()); + + int total=0; + int equipmentMaintenanceRecordsNum =0; + QueryWrapper equipmentMaintenanceRecordsQueryWrapper=new QueryWrapper<>(); + List allSuperIDlist = new ArrayList<>(); + String superOp =""; + if (ObjectUtil.isNotEmpty(equipmentMaintenanceRecordsPagination.getSuperQueryJson())){ + List allSuperList = new ArrayList<>(); + List> intersectionSuperList = new ArrayList<>(); + String queryJson = equipmentMaintenanceRecordsPagination.getSuperQueryJson(); + SuperJsonModel superJsonModel = JsonUtil.getJsonToBean(queryJson, SuperJsonModel.class); + int superNum = 0; + QueryWrapper equipmentMaintenanceRecordsSuperWrapper = new QueryWrapper<>(); + equipmentMaintenanceRecordsSuperWrapper = generaterSwapUtil.getCondition(new QueryModel(equipmentMaintenanceRecordsSuperWrapper,EquipmentMaintenanceRecordsEntity.class,queryJson,"0")); + int equipmentMaintenanceRecordsNum1 = equipmentMaintenanceRecordsSuperWrapper.getExpression().getNormal().size(); + if (equipmentMaintenanceRecordsNum1>0){ + List equipmentMaintenanceRecordsList =this.list(equipmentMaintenanceRecordsSuperWrapper).stream().map(EquipmentMaintenanceRecordsEntity::getId).collect(Collectors.toList()); + allSuperList.addAll(equipmentMaintenanceRecordsList); + intersectionSuperList.add(equipmentMaintenanceRecordsList); + 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 equipmentMaintenanceRecordsSuperWrapper = new QueryWrapper<>(); + equipmentMaintenanceRecordsSuperWrapper = generaterSwapUtil.getCondition(new QueryModel(equipmentMaintenanceRecordsSuperWrapper,EquipmentMaintenanceRecordsEntity.class,ruleJson,"0")); + int equipmentMaintenanceRecordsNum1 = equipmentMaintenanceRecordsSuperWrapper.getExpression().getNormal().size(); + if (equipmentMaintenanceRecordsNum1>0){ + List equipmentMaintenanceRecordsList =this.list(equipmentMaintenanceRecordsSuperWrapper).stream().map(EquipmentMaintenanceRecordsEntity::getId).collect(Collectors.toList()); + allRuleList.addAll(equipmentMaintenanceRecordsList); + intersectionRuleList.add(equipmentMaintenanceRecordsList); + 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 equipmentMaintenanceRecordsObj=generaterSwapUtil.getAuthorizeCondition(new QueryModel(equipmentMaintenanceRecordsQueryWrapper,EquipmentMaintenanceRecordsEntity.class,equipmentMaintenanceRecordsPagination.getMenuId(),"0")); + if (ObjectUtil.isEmpty(equipmentMaintenanceRecordsObj)){ + return new ArrayList<>(); + } else { + equipmentMaintenanceRecordsQueryWrapper = (QueryWrapper)equipmentMaintenanceRecordsObj; + if( equipmentMaintenanceRecordsQueryWrapper.getExpression().getNormal().size()>0){ + equipmentMaintenanceRecordsNum++; + } + } + } + } + if(!isPc && appPermission){ + if (!userProvider.get().getIsAdministrator()){ + Object equipmentMaintenanceRecordsObj=generaterSwapUtil.getAuthorizeCondition(new QueryModel(equipmentMaintenanceRecordsQueryWrapper,EquipmentMaintenanceRecordsEntity.class,equipmentMaintenanceRecordsPagination.getMenuId(),"0")); + if (ObjectUtil.isEmpty(equipmentMaintenanceRecordsObj)){ + return new ArrayList<>(); + } else { + equipmentMaintenanceRecordsQueryWrapper = (QueryWrapper)equipmentMaintenanceRecordsObj; + if( equipmentMaintenanceRecordsQueryWrapper.getExpression().getNormal().size()>0){ + equipmentMaintenanceRecordsNum++; + } + } + + + } + } + if(isPc){ + if(ObjectUtil.isNotEmpty(equipmentMaintenanceRecordsPagination.getMaintenanceDate())){ + equipmentMaintenanceRecordsNum++; + + List MaintenanceDateList = JsonUtil.getJsonToList(equipmentMaintenanceRecordsPagination.getMaintenanceDate(),String.class); + Long fir = Long.valueOf(String.valueOf(MaintenanceDateList.get(0))); + Long sec = Long.valueOf(String.valueOf(MaintenanceDateList.get(1))); + + equipmentMaintenanceRecordsQueryWrapper.lambda().ge(EquipmentMaintenanceRecordsEntity::getMaintenanceDate, new Date(fir)) + .le(EquipmentMaintenanceRecordsEntity::getMaintenanceDate, DateUtil.stringToDate(DateUtil.daFormatYmd(sec) + " 23:59:59")); + + + } + + if(ObjectUtil.isNotEmpty(equipmentMaintenanceRecordsPagination.getNumber())){ + equipmentMaintenanceRecordsNum++; + + String value = equipmentMaintenanceRecordsPagination.getNumber() instanceof List ? + JsonUtil.getObjectToString(equipmentMaintenanceRecordsPagination.getNumber()) : + String.valueOf(equipmentMaintenanceRecordsPagination.getNumber()); + equipmentMaintenanceRecordsQueryWrapper.lambda().like(EquipmentMaintenanceRecordsEntity::getNumber,value); + + } + + if(ObjectUtil.isNotEmpty(equipmentMaintenanceRecordsPagination.getName())){ + equipmentMaintenanceRecordsNum++; + + String value = equipmentMaintenanceRecordsPagination.getName() instanceof List ? + JsonUtil.getObjectToString(equipmentMaintenanceRecordsPagination.getName()) : + String.valueOf(equipmentMaintenanceRecordsPagination.getName()); + equipmentMaintenanceRecordsQueryWrapper.lambda().like(EquipmentMaintenanceRecordsEntity::getName,value); + + } + + if(ObjectUtil.isNotEmpty(equipmentMaintenanceRecordsPagination.getMaintenancePlan())){ + equipmentMaintenanceRecordsNum++; + + List idList = new ArrayList<>(); + try { + String[][] maintenancePlan = JsonUtil.getJsonToBean(equipmentMaintenanceRecordsPagination.getMaintenancePlan(),String[][].class); + for(int i=0;i0){ + idList.add(JsonUtil.getObjectToString(Arrays.asList(maintenancePlan[i]))); + } + } + }catch (Exception e1){ + try { + List maintenancePlan = JsonUtil.getJsonToList(equipmentMaintenanceRecordsPagination.getMaintenancePlan(),String.class); + if(maintenancePlan.size()>0){ + idList.addAll(maintenancePlan); + } + }catch (Exception e2){ + idList.add(String.valueOf(equipmentMaintenanceRecordsPagination.getMaintenancePlan())); + } + } + equipmentMaintenanceRecordsQueryWrapper.lambda().and(t->{ + idList.forEach(tt->{ + t.like(EquipmentMaintenanceRecordsEntity::getMaintenancePlan, tt).or(); + }); + }); + + } + + } + List intersection = generaterSwapUtil.getIntersection(intersectionList); + if (total>0){ + if (intersection.size()==0){ + intersection.add("jnpfNullList"); + } + equipmentMaintenanceRecordsQueryWrapper.lambda().in(EquipmentMaintenanceRecordsEntity::getId, intersection); + } + //是否有高级查询 + if (StringUtil.isNotEmpty(superOp)){ + if (allSuperIDlist.size()==0){ + allSuperIDlist.add("jnpfNullList"); + } + List finalAllSuperIDlist = allSuperIDlist; + equipmentMaintenanceRecordsQueryWrapper.lambda().and(t->t.in(EquipmentMaintenanceRecordsEntity::getId, finalAllSuperIDlist)); + } + //是否有数据过滤查询 + if (StringUtil.isNotEmpty(ruleOp)){ + if (allRuleIDlist.size()==0){ + allRuleIDlist.add("jnpfNullList"); + } + List finalAllRuleIDlist = allRuleIDlist; + equipmentMaintenanceRecordsQueryWrapper.lambda().and(t->t.in(EquipmentMaintenanceRecordsEntity::getId, finalAllRuleIDlist)); + } + //假删除标志 + equipmentMaintenanceRecordsQueryWrapper.lambda().isNull(EquipmentMaintenanceRecordsEntity::getDeleteMark); + + //排序 + if(StringUtil.isEmpty(equipmentMaintenanceRecordsPagination.getSidx())){ + equipmentMaintenanceRecordsQueryWrapper.lambda().orderByDesc(EquipmentMaintenanceRecordsEntity::getId); + }else{ + try { + String sidx = equipmentMaintenanceRecordsPagination.getSidx(); + String[] strs= sidx.split("_name"); + EquipmentMaintenanceRecordsEntity equipmentMaintenanceRecordsEntity = new EquipmentMaintenanceRecordsEntity(); + Field declaredField = equipmentMaintenanceRecordsEntity.getClass().getDeclaredField(strs[0]); + declaredField.setAccessible(true); + String value = declaredField.getAnnotation(TableField.class).value(); + equipmentMaintenanceRecordsQueryWrapper="asc".equals(equipmentMaintenanceRecordsPagination.getSort().toLowerCase())?equipmentMaintenanceRecordsQueryWrapper.orderByAsc(value):equipmentMaintenanceRecordsQueryWrapper.orderByDesc(value); + } catch (NoSuchFieldException e) { + e.printStackTrace(); + } + } + + if("0".equals(dataType)){ + if((total>0 && AllIdList.size()>0) || total==0){ + Page page=new Page<>(equipmentMaintenanceRecordsPagination.getCurrentPage(), equipmentMaintenanceRecordsPagination.getPageSize()); + IPage userIPage=this.page(page, equipmentMaintenanceRecordsQueryWrapper); + return equipmentMaintenanceRecordsPagination.setData(userIPage.getRecords(),userIPage.getTotal()); + }else{ + List list = new ArrayList(); + return equipmentMaintenanceRecordsPagination.setData(list, list.size()); + } + }else{ + return this.list(equipmentMaintenanceRecordsQueryWrapper); + } + } + @Override + public EquipmentMaintenanceRecordsEntity getInfo(String id){ + QueryWrapper queryWrapper=new QueryWrapper<>(); + queryWrapper.lambda().eq(EquipmentMaintenanceRecordsEntity::getId,id); + return this.getOne(queryWrapper); + } + @Override + public void create(EquipmentMaintenanceRecordsEntity entity){ + this.save(entity); + } + @Override + public boolean update(String id, EquipmentMaintenanceRecordsEntity entity){ + return this.updateById(entity); + } + @Override + public void delete(EquipmentMaintenanceRecordsEntity entity){ + if(entity!=null){ + this.removeById(entity.getId()); + } + } + /** 验证表单唯一字段,正则,非空 i-0新增-1修改*/ + @Override + public String checkForm(EquipmentMaintenanceRecordsForm form,int i) { + boolean isUp =StringUtil.isNotEmpty(form.getId()) && !form.getId().equals("0"); + String id=""; + String countRecover = ""; + if (isUp){ + id = form.getId(); + } + //主表字段验证 + if(StringUtil.isEmpty(form.getName())){ + return "设备名称不能为空"; + } + if(StringUtil.isEmpty(form.getMaintenancePersonnel())){ + return "维修人不能为空"; + } + if(StringUtil.isNotEmpty(form.getCostAmount())){ + if(!Pattern.compile("^\\d+$").matcher(String.valueOf(form.getCostAmount())).matches()){ + return "请输入正确的数字"; + } + } + return countRecover; + } + /** + * 新增修改数据(事务回滚) + * @param id + * @param equipmentMaintenanceRecordsForm + * @return + */ + @Override + @Transactional + public void saveOrUpdate(EquipmentMaintenanceRecordsForm equipmentMaintenanceRecordsForm,String id, boolean isSave) throws Exception{ + UserInfo userInfo=userProvider.get(); + UserEntity userEntity = generaterSwapUtil.getUser(userInfo.getUserId()); + equipmentMaintenanceRecordsForm = JsonUtil.getJsonToBean( + generaterSwapUtil.swapDatetime(EquipmentMaintenanceRecordsConstant.getFormData(),equipmentMaintenanceRecordsForm),EquipmentMaintenanceRecordsForm.class); + EquipmentMaintenanceRecordsEntity entity = JsonUtil.getJsonToBean(equipmentMaintenanceRecordsForm, EquipmentMaintenanceRecordsEntity.class); + + if(isSave){ + String mainId = RandomUtil.uuId() ; + entity.setRepairOrderNumber(generaterSwapUtil.getBillNumber("baoxiudanhao", false)); + entity.setId(mainId); + entity.setVersion(0); + }else{ + entity.setRepairOrderNumber(generaterSwapUtil.getBillNumber("baoxiudanhao", false)); + } + this.saveOrUpdate(entity); + + } +} diff --git a/jnpf-java-boot/jnpf-example/jnpf-example-biz/src/main/java/jnpf/service/impl/EquipmentinspectionrecordsServiceImpl.java b/jnpf-java-boot/jnpf-example/jnpf-example-biz/src/main/java/jnpf/service/impl/EquipmentinspectionrecordsServiceImpl.java new file mode 100644 index 0000000..8139dcf --- /dev/null +++ b/jnpf-java-boot/jnpf-example/jnpf-example-biz/src/main/java/jnpf/service/impl/EquipmentinspectionrecordsServiceImpl.java @@ -0,0 +1,347 @@ +package jnpf.service.impl; + +import jnpf.entity.*; +import jnpf.mapper.EquipmentinspectionrecordsMapper; +import jnpf.service.*; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import jnpf.model.equipmentinspectionrecords.*; +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; +/** + * + * equipmentinspectionrecords + * 版本: V3.5 + * 版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * 作者: JNPF开发平台组 + * 日期: 2024-07-18 + */ +@Service +public class EquipmentinspectionrecordsServiceImpl extends ServiceImpl implements EquipmentinspectionrecordsService{ + @Autowired + private GeneraterSwapUtil generaterSwapUtil; + + @Autowired + private UserProvider userProvider; + + @Override + public List getList(EquipmentinspectionrecordsPagination equipmentinspectionrecordsPagination){ + return getTypeList(equipmentinspectionrecordsPagination,equipmentinspectionrecordsPagination.getDataType()); + } + /** 列表查询 */ + @Override + public List getTypeList(EquipmentinspectionrecordsPagination equipmentinspectionrecordsPagination,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 ? EquipmentinspectionrecordsConstant.getAppColumnData() : EquipmentinspectionrecordsConstant.getColumnData(); + ColumnDataModel columnDataModel = JsonUtil.getJsonToBean(columnData, ColumnDataModel.class); + String ruleJson = !isPc ? JsonUtil.getObjectToString(columnDataModel.getRuleListApp()) : JsonUtil.getObjectToString(columnDataModel.getRuleList()); + + int total=0; + int equipmentinspectionrecordsNum =0; + QueryWrapper equipmentinspectionrecordsQueryWrapper=new QueryWrapper<>(); + List allSuperIDlist = new ArrayList<>(); + String superOp =""; + if (ObjectUtil.isNotEmpty(equipmentinspectionrecordsPagination.getSuperQueryJson())){ + List allSuperList = new ArrayList<>(); + List> intersectionSuperList = new ArrayList<>(); + String queryJson = equipmentinspectionrecordsPagination.getSuperQueryJson(); + SuperJsonModel superJsonModel = JsonUtil.getJsonToBean(queryJson, SuperJsonModel.class); + int superNum = 0; + QueryWrapper equipmentinspectionrecordsSuperWrapper = new QueryWrapper<>(); + equipmentinspectionrecordsSuperWrapper = generaterSwapUtil.getCondition(new QueryModel(equipmentinspectionrecordsSuperWrapper,EquipmentinspectionrecordsEntity.class,queryJson,"0")); + int equipmentinspectionrecordsNum1 = equipmentinspectionrecordsSuperWrapper.getExpression().getNormal().size(); + if (equipmentinspectionrecordsNum1>0){ + List equipmentinspectionrecordsList =this.list(equipmentinspectionrecordsSuperWrapper).stream().map(EquipmentinspectionrecordsEntity::getId).collect(Collectors.toList()); + allSuperList.addAll(equipmentinspectionrecordsList); + intersectionSuperList.add(equipmentinspectionrecordsList); + 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 equipmentinspectionrecordsSuperWrapper = new QueryWrapper<>(); + equipmentinspectionrecordsSuperWrapper = generaterSwapUtil.getCondition(new QueryModel(equipmentinspectionrecordsSuperWrapper,EquipmentinspectionrecordsEntity.class,ruleJson,"0")); + int equipmentinspectionrecordsNum1 = equipmentinspectionrecordsSuperWrapper.getExpression().getNormal().size(); + if (equipmentinspectionrecordsNum1>0){ + List equipmentinspectionrecordsList =this.list(equipmentinspectionrecordsSuperWrapper).stream().map(EquipmentinspectionrecordsEntity::getId).collect(Collectors.toList()); + allRuleList.addAll(equipmentinspectionrecordsList); + intersectionRuleList.add(equipmentinspectionrecordsList); + 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 equipmentinspectionrecordsObj=generaterSwapUtil.getAuthorizeCondition(new QueryModel(equipmentinspectionrecordsQueryWrapper,EquipmentinspectionrecordsEntity.class,equipmentinspectionrecordsPagination.getMenuId(),"0")); + if (ObjectUtil.isEmpty(equipmentinspectionrecordsObj)){ + return new ArrayList<>(); + } else { + equipmentinspectionrecordsQueryWrapper = (QueryWrapper)equipmentinspectionrecordsObj; + if( equipmentinspectionrecordsQueryWrapper.getExpression().getNormal().size()>0){ + equipmentinspectionrecordsNum++; + } + } + } + } + if(!isPc && appPermission){ + if (!userProvider.get().getIsAdministrator()){ + Object equipmentinspectionrecordsObj=generaterSwapUtil.getAuthorizeCondition(new QueryModel(equipmentinspectionrecordsQueryWrapper,EquipmentinspectionrecordsEntity.class,equipmentinspectionrecordsPagination.getMenuId(),"0")); + if (ObjectUtil.isEmpty(equipmentinspectionrecordsObj)){ + return new ArrayList<>(); + } else { + equipmentinspectionrecordsQueryWrapper = (QueryWrapper)equipmentinspectionrecordsObj; + if( equipmentinspectionrecordsQueryWrapper.getExpression().getNormal().size()>0){ + equipmentinspectionrecordsNum++; + } + } + + + } + } + if(isPc){ + if(ObjectUtil.isNotEmpty(equipmentinspectionrecordsPagination.getInspectionTicketNumber())){ + equipmentinspectionrecordsNum++; + + String value = equipmentinspectionrecordsPagination.getInspectionTicketNumber() instanceof List ? + JsonUtil.getObjectToString(equipmentinspectionrecordsPagination.getInspectionTicketNumber()) : + String.valueOf(equipmentinspectionrecordsPagination.getInspectionTicketNumber()); + equipmentinspectionrecordsQueryWrapper.lambda().like(EquipmentinspectionrecordsEntity::getInspectionTicketNumber,value); + + } + + if(ObjectUtil.isNotEmpty(equipmentinspectionrecordsPagination.getSpaceId())){ + equipmentinspectionrecordsNum++; + + String value = equipmentinspectionrecordsPagination.getSpaceId() instanceof List ? + JsonUtil.getObjectToString(equipmentinspectionrecordsPagination.getSpaceId()) : + String.valueOf(equipmentinspectionrecordsPagination.getSpaceId()); + equipmentinspectionrecordsQueryWrapper.lambda().like(EquipmentinspectionrecordsEntity::getSpaceId,value); + + } + + if(ObjectUtil.isNotEmpty(equipmentinspectionrecordsPagination.getSpaceName())){ + equipmentinspectionrecordsNum++; + + String value = equipmentinspectionrecordsPagination.getSpaceName() instanceof List ? + JsonUtil.getObjectToString(equipmentinspectionrecordsPagination.getSpaceName()) : + String.valueOf(equipmentinspectionrecordsPagination.getSpaceName()); + equipmentinspectionrecordsQueryWrapper.lambda().like(EquipmentinspectionrecordsEntity::getSpaceName,value); + + } + + if(ObjectUtil.isNotEmpty(equipmentinspectionrecordsPagination.getEquipmentId())){ + equipmentinspectionrecordsNum++; + + String value = equipmentinspectionrecordsPagination.getEquipmentId() instanceof List ? + JsonUtil.getObjectToString(equipmentinspectionrecordsPagination.getEquipmentId()) : + String.valueOf(equipmentinspectionrecordsPagination.getEquipmentId()); + equipmentinspectionrecordsQueryWrapper.lambda().like(EquipmentinspectionrecordsEntity::getEquipmentId,value); + + } + + if(ObjectUtil.isNotEmpty(equipmentinspectionrecordsPagination.getEquipmentNumber())){ + equipmentinspectionrecordsNum++; + + String value = equipmentinspectionrecordsPagination.getEquipmentNumber() instanceof List ? + JsonUtil.getObjectToString(equipmentinspectionrecordsPagination.getEquipmentNumber()) : + String.valueOf(equipmentinspectionrecordsPagination.getEquipmentNumber()); + equipmentinspectionrecordsQueryWrapper.lambda().like(EquipmentinspectionrecordsEntity::getEquipmentNumber,value); + + } + + if(ObjectUtil.isNotEmpty(equipmentinspectionrecordsPagination.getEquipmentName())){ + equipmentinspectionrecordsNum++; + + String value = equipmentinspectionrecordsPagination.getEquipmentName() instanceof List ? + JsonUtil.getObjectToString(equipmentinspectionrecordsPagination.getEquipmentName()) : + String.valueOf(equipmentinspectionrecordsPagination.getEquipmentName()); + equipmentinspectionrecordsQueryWrapper.lambda().like(EquipmentinspectionrecordsEntity::getEquipmentName,value); + + } + + } + List intersection = generaterSwapUtil.getIntersection(intersectionList); + if (total>0){ + if (intersection.size()==0){ + intersection.add("jnpfNullList"); + } + equipmentinspectionrecordsQueryWrapper.lambda().in(EquipmentinspectionrecordsEntity::getId, intersection); + } + //是否有高级查询 + if (StringUtil.isNotEmpty(superOp)){ + if (allSuperIDlist.size()==0){ + allSuperIDlist.add("jnpfNullList"); + } + List finalAllSuperIDlist = allSuperIDlist; + equipmentinspectionrecordsQueryWrapper.lambda().and(t->t.in(EquipmentinspectionrecordsEntity::getId, finalAllSuperIDlist)); + } + //是否有数据过滤查询 + if (StringUtil.isNotEmpty(ruleOp)){ + if (allRuleIDlist.size()==0){ + allRuleIDlist.add("jnpfNullList"); + } + List finalAllRuleIDlist = allRuleIDlist; + equipmentinspectionrecordsQueryWrapper.lambda().and(t->t.in(EquipmentinspectionrecordsEntity::getId, finalAllRuleIDlist)); + } + //假删除标志 + equipmentinspectionrecordsQueryWrapper.lambda().isNull(EquipmentinspectionrecordsEntity::getDeleteMark); + + //排序 + if(StringUtil.isEmpty(equipmentinspectionrecordsPagination.getSidx())){ + equipmentinspectionrecordsQueryWrapper.lambda().orderByDesc(EquipmentinspectionrecordsEntity::getId); + }else{ + try { + String sidx = equipmentinspectionrecordsPagination.getSidx(); + String[] strs= sidx.split("_name"); + EquipmentinspectionrecordsEntity equipmentinspectionrecordsEntity = new EquipmentinspectionrecordsEntity(); + Field declaredField = equipmentinspectionrecordsEntity.getClass().getDeclaredField(strs[0]); + declaredField.setAccessible(true); + String value = declaredField.getAnnotation(TableField.class).value(); + equipmentinspectionrecordsQueryWrapper="asc".equals(equipmentinspectionrecordsPagination.getSort().toLowerCase())?equipmentinspectionrecordsQueryWrapper.orderByAsc(value):equipmentinspectionrecordsQueryWrapper.orderByDesc(value); + } catch (NoSuchFieldException e) { + e.printStackTrace(); + } + } + + if("0".equals(dataType)){ + if((total>0 && AllIdList.size()>0) || total==0){ + Page page=new Page<>(equipmentinspectionrecordsPagination.getCurrentPage(), equipmentinspectionrecordsPagination.getPageSize()); + IPage userIPage=this.page(page, equipmentinspectionrecordsQueryWrapper); + return equipmentinspectionrecordsPagination.setData(userIPage.getRecords(),userIPage.getTotal()); + }else{ + List list = new ArrayList(); + return equipmentinspectionrecordsPagination.setData(list, list.size()); + } + }else{ + return this.list(equipmentinspectionrecordsQueryWrapper); + } + } + @Override + public EquipmentinspectionrecordsEntity getInfo(String id){ + QueryWrapper queryWrapper=new QueryWrapper<>(); + queryWrapper.lambda().eq(EquipmentinspectionrecordsEntity::getId,id); + return this.getOne(queryWrapper); + } + @Override + public void create(EquipmentinspectionrecordsEntity entity){ + this.save(entity); + } + @Override + public boolean update(String id, EquipmentinspectionrecordsEntity entity){ + return this.updateById(entity); + } + @Override + public void delete(EquipmentinspectionrecordsEntity entity){ + if(entity!=null){ + this.removeById(entity.getId()); + } + } + /** 验证表单唯一字段,正则,非空 i-0新增-1修改*/ + @Override + public String checkForm(EquipmentinspectionrecordsForm form,int i) { + boolean isUp =StringUtil.isNotEmpty(form.getId()) && !form.getId().equals("0"); + String id=""; + String countRecover = ""; + if (isUp){ + id = form.getId(); + } + //主表字段验证 + if(StringUtil.isEmpty(form.getSpaceId())){ + return "空间id不能为空"; + } + if(StringUtil.isNotEmpty(form.getSpaceId())){ + if(!Pattern.compile("^\\d+$").matcher(String.valueOf(form.getSpaceId())).matches()){ + return "请输入正确的数字"; + } + } + if(StringUtil.isEmpty(form.getSpaceName())){ + return "空间名称不能为空"; + } + if(StringUtil.isEmpty(form.getEquipmentId())){ + return "设备id不能为空"; + } + if(StringUtil.isNotEmpty(form.getEquipmentId())){ + if(!Pattern.compile("^\\d+$").matcher(String.valueOf(form.getEquipmentId())).matches()){ + return "请输入正确的数字"; + } + } + if(StringUtil.isEmpty(form.getEquipmentNumber())){ + return "设备编码不能为空"; + } + if(StringUtil.isEmpty(form.getEquipmentName())){ + return "设备名称不能为空"; + } + return countRecover; + } + /** + * 新增修改数据(事务回滚) + * @param id + * @param equipmentinspectionrecordsForm + * @return + */ + @Override + @Transactional + public void saveOrUpdate(EquipmentinspectionrecordsForm equipmentinspectionrecordsForm,String id, boolean isSave) throws Exception{ + UserInfo userInfo=userProvider.get(); + UserEntity userEntity = generaterSwapUtil.getUser(userInfo.getUserId()); + equipmentinspectionrecordsForm = JsonUtil.getJsonToBean( + generaterSwapUtil.swapDatetime(EquipmentinspectionrecordsConstant.getFormData(),equipmentinspectionrecordsForm),EquipmentinspectionrecordsForm.class); + EquipmentinspectionrecordsEntity entity = JsonUtil.getJsonToBean(equipmentinspectionrecordsForm, EquipmentinspectionrecordsEntity.class); + + if(isSave){ + String mainId = RandomUtil.uuId() ; + entity.setInspectionTicketNumber(generaterSwapUtil.getBillNumber("baoxiudanhao", false)); + entity.setId(mainId); + entity.setVersion(0); + }else{ + entity.setInspectionTicketNumber(generaterSwapUtil.getBillNumber("baoxiudanhao", false)); + } + this.saveOrUpdate(entity); + + } +} diff --git a/jnpf-java-boot/jnpf-example/jnpf-example-controller/src/main/java/jnpf/controller/EquipmentMaintenanceRecordsController.java b/jnpf-java-boot/jnpf-example/jnpf-example-controller/src/main/java/jnpf/controller/EquipmentMaintenanceRecordsController.java new file mode 100644 index 0000000..2732731 --- /dev/null +++ b/jnpf-java-boot/jnpf-example/jnpf-example-controller/src/main/java/jnpf/controller/EquipmentMaintenanceRecordsController.java @@ -0,0 +1,191 @@ +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.equipmentmaintenancerecords.*; +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.transaction.annotation.Transactional; + +/** + * EquipmentMaintenanceRecords + * @版本: V3.5 + * @版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * @作者: JNPF开发平台组 + * @日期: 2024-07-17 + */ +@Slf4j +@RestController +@Tag(name = "EquipmentMaintenanceRecords" , description = "example") +@RequestMapping("/api/example/EquipmentMaintenanceRecords") +public class EquipmentMaintenanceRecordsController { + + @Autowired + private GeneraterSwapUtil generaterSwapUtil; + + @Autowired + private UserProvider userProvider; + + @Autowired + private EquipmentMaintenanceRecordsService equipmentMaintenanceRecordsService; + + + + /** + * 列表 + * + * @param equipmentMaintenanceRecordsPagination + * @return + */ + @Operation(summary = "获取列表") + @PostMapping("/getList") + public ActionResult list(@RequestBody EquipmentMaintenanceRecordsPagination equipmentMaintenanceRecordsPagination)throws IOException{ + List list= equipmentMaintenanceRecordsService.getList(equipmentMaintenanceRecordsPagination); + List> realList=new ArrayList<>(); + for (EquipmentMaintenanceRecordsEntity entity : list) { + Map equipmentMaintenanceRecordsMap=JsonUtil.entityToMap(entity); + equipmentMaintenanceRecordsMap.put("id", equipmentMaintenanceRecordsMap.get("id")); + //副表数据 + //子表数据 + realList.add(equipmentMaintenanceRecordsMap); + } + //数据转换 + realList = generaterSwapUtil.swapDataList(realList, EquipmentMaintenanceRecordsConstant.getFormData(), EquipmentMaintenanceRecordsConstant.getColumnData(), equipmentMaintenanceRecordsPagination.getModuleId(),false); + + //返回对象 + PageListVO vo = new PageListVO(); + vo.setList(realList); + PaginationVO page = JsonUtil.getJsonToBean(equipmentMaintenanceRecordsPagination, PaginationVO.class); + vo.setPagination(page); + return ActionResult.success(vo); + } + /** + * 创建 + * + * @param equipmentMaintenanceRecordsForm + * @return + */ + @PostMapping() + @Operation(summary = "创建") + public ActionResult create(@RequestBody @Valid EquipmentMaintenanceRecordsForm equipmentMaintenanceRecordsForm) { + String b = equipmentMaintenanceRecordsService.checkForm(equipmentMaintenanceRecordsForm,0); + if (StringUtil.isNotEmpty(b)){ + return ActionResult.fail(b ); + } + try{ + equipmentMaintenanceRecordsService.saveOrUpdate(equipmentMaintenanceRecordsForm, null ,true); + }catch(Exception e){ + return ActionResult.fail("新增数据失败"); + } + return ActionResult.success("创建成功"); + } + /** + * 编辑 + * @param id + * @param equipmentMaintenanceRecordsForm + * @return + */ + @PutMapping("/{id}") + @Operation(summary = "更新") + public ActionResult update(@PathVariable("id") String id,@RequestBody @Valid EquipmentMaintenanceRecordsForm equipmentMaintenanceRecordsForm, + @RequestParam(value = "isImport", required = false) boolean isImport){ + equipmentMaintenanceRecordsForm.setId(id); + if (!isImport) { + String b = equipmentMaintenanceRecordsService.checkForm(equipmentMaintenanceRecordsForm,1); + if (StringUtil.isNotEmpty(b)){ + return ActionResult.fail(b ); + } + } + EquipmentMaintenanceRecordsEntity entity= equipmentMaintenanceRecordsService.getInfo(id); + if(entity!=null){ + try{ + equipmentMaintenanceRecordsService.saveOrUpdate(equipmentMaintenanceRecordsForm,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){ + EquipmentMaintenanceRecordsEntity entity= equipmentMaintenanceRecordsService.getInfo(id); + if(entity!=null){ + //假删除 + entity.setDeleteMark(1); + equipmentMaintenanceRecordsService.update(id,entity); + } + return ActionResult.success("删除成功"); + } + /** + * 表单信息(详情页) + * 详情页面使用-转换数据 + * @param id + * @return + */ + @Operation(summary = "表单信息(详情页)") + @GetMapping("/detail/{id}") + public ActionResult detailInfo(@PathVariable("id") String id){ + EquipmentMaintenanceRecordsEntity entity= equipmentMaintenanceRecordsService.getInfo(id); + if(entity==null){ + return ActionResult.fail("表单数据不存在!"); + } + Map equipmentMaintenanceRecordsMap=JsonUtil.entityToMap(entity); + equipmentMaintenanceRecordsMap.put("id", equipmentMaintenanceRecordsMap.get("id")); + //副表数据 + //子表数据 + equipmentMaintenanceRecordsMap = generaterSwapUtil.swapDataDetail(equipmentMaintenanceRecordsMap,EquipmentMaintenanceRecordsConstant.getFormData(),"583194294618161349",false); + return ActionResult.success(equipmentMaintenanceRecordsMap); + } + /** + * 获取详情(编辑页) + * 编辑页面使用-不转换数据 + * @param id + * @return + */ + @Operation(summary = "信息") + @GetMapping("/{id}") + public ActionResult info(@PathVariable("id") String id){ + EquipmentMaintenanceRecordsEntity entity= equipmentMaintenanceRecordsService.getInfo(id); + if(entity==null){ + return ActionResult.fail("表单数据不存在!"); + } + Map equipmentMaintenanceRecordsMap=JsonUtil.entityToMap(entity); + equipmentMaintenanceRecordsMap.put("id", equipmentMaintenanceRecordsMap.get("id")); + //副表数据 + //子表数据 + equipmentMaintenanceRecordsMap = generaterSwapUtil.swapDataForm(equipmentMaintenanceRecordsMap,EquipmentMaintenanceRecordsConstant.getFormData(),EquipmentMaintenanceRecordsConstant.TABLEFIELDKEY,EquipmentMaintenanceRecordsConstant.TABLERENAMES); + return ActionResult.success(equipmentMaintenanceRecordsMap); + } + +} diff --git a/jnpf-java-boot/jnpf-example/jnpf-example-controller/src/main/java/jnpf/controller/EquipmentinspectionrecordsController.java b/jnpf-java-boot/jnpf-example/jnpf-example-controller/src/main/java/jnpf/controller/EquipmentinspectionrecordsController.java new file mode 100644 index 0000000..33f1013 --- /dev/null +++ b/jnpf-java-boot/jnpf-example/jnpf-example-controller/src/main/java/jnpf/controller/EquipmentinspectionrecordsController.java @@ -0,0 +1,191 @@ +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.equipmentinspectionrecords.*; +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.transaction.annotation.Transactional; + +/** + * equipmentinspectionrecords + * @版本: V3.5 + * @版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * @作者: JNPF开发平台组 + * @日期: 2024-07-18 + */ +@Slf4j +@RestController +@Tag(name = "equipmentinspectionrecords" , description = "example") +@RequestMapping("/api/example/Equipmentinspectionrecords") +public class EquipmentinspectionrecordsController { + + @Autowired + private GeneraterSwapUtil generaterSwapUtil; + + @Autowired + private UserProvider userProvider; + + @Autowired + private EquipmentinspectionrecordsService equipmentinspectionrecordsService; + + + + /** + * 列表 + * + * @param equipmentinspectionrecordsPagination + * @return + */ + @Operation(summary = "获取列表") + @PostMapping("/getList") + public ActionResult list(@RequestBody EquipmentinspectionrecordsPagination equipmentinspectionrecordsPagination)throws IOException{ + List list= equipmentinspectionrecordsService.getList(equipmentinspectionrecordsPagination); + List> realList=new ArrayList<>(); + for (EquipmentinspectionrecordsEntity entity : list) { + Map equipmentinspectionrecordsMap=JsonUtil.entityToMap(entity); + equipmentinspectionrecordsMap.put("id", equipmentinspectionrecordsMap.get("id")); + //副表数据 + //子表数据 + realList.add(equipmentinspectionrecordsMap); + } + //数据转换 + realList = generaterSwapUtil.swapDataList(realList, EquipmentinspectionrecordsConstant.getFormData(), EquipmentinspectionrecordsConstant.getColumnData(), equipmentinspectionrecordsPagination.getModuleId(),false); + + //返回对象 + PageListVO vo = new PageListVO(); + vo.setList(realList); + PaginationVO page = JsonUtil.getJsonToBean(equipmentinspectionrecordsPagination, PaginationVO.class); + vo.setPagination(page); + return ActionResult.success(vo); + } + /** + * 创建 + * + * @param equipmentinspectionrecordsForm + * @return + */ + @PostMapping() + @Operation(summary = "创建") + public ActionResult create(@RequestBody @Valid EquipmentinspectionrecordsForm equipmentinspectionrecordsForm) { + String b = equipmentinspectionrecordsService.checkForm(equipmentinspectionrecordsForm,0); + if (StringUtil.isNotEmpty(b)){ + return ActionResult.fail(b ); + } + try{ + equipmentinspectionrecordsService.saveOrUpdate(equipmentinspectionrecordsForm, null ,true); + }catch(Exception e){ + return ActionResult.fail("新增数据失败"); + } + return ActionResult.success("创建成功"); + } + /** + * 编辑 + * @param id + * @param equipmentinspectionrecordsForm + * @return + */ + @PutMapping("/{id}") + @Operation(summary = "更新") + public ActionResult update(@PathVariable("id") String id,@RequestBody @Valid EquipmentinspectionrecordsForm equipmentinspectionrecordsForm, + @RequestParam(value = "isImport", required = false) boolean isImport){ + equipmentinspectionrecordsForm.setId(id); + if (!isImport) { + String b = equipmentinspectionrecordsService.checkForm(equipmentinspectionrecordsForm,1); + if (StringUtil.isNotEmpty(b)){ + return ActionResult.fail(b ); + } + } + EquipmentinspectionrecordsEntity entity= equipmentinspectionrecordsService.getInfo(id); + if(entity!=null){ + try{ + equipmentinspectionrecordsService.saveOrUpdate(equipmentinspectionrecordsForm,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){ + EquipmentinspectionrecordsEntity entity= equipmentinspectionrecordsService.getInfo(id); + if(entity!=null){ + //假删除 + entity.setDeleteMark(1); + equipmentinspectionrecordsService.update(id,entity); + } + return ActionResult.success("删除成功"); + } + /** + * 表单信息(详情页) + * 详情页面使用-转换数据 + * @param id + * @return + */ + @Operation(summary = "表单信息(详情页)") + @GetMapping("/detail/{id}") + public ActionResult detailInfo(@PathVariable("id") String id){ + EquipmentinspectionrecordsEntity entity= equipmentinspectionrecordsService.getInfo(id); + if(entity==null){ + return ActionResult.fail("表单数据不存在!"); + } + Map equipmentinspectionrecordsMap=JsonUtil.entityToMap(entity); + equipmentinspectionrecordsMap.put("id", equipmentinspectionrecordsMap.get("id")); + //副表数据 + //子表数据 + equipmentinspectionrecordsMap = generaterSwapUtil.swapDataDetail(equipmentinspectionrecordsMap,EquipmentinspectionrecordsConstant.getFormData(),"583294095649145157",false); + return ActionResult.success(equipmentinspectionrecordsMap); + } + /** + * 获取详情(编辑页) + * 编辑页面使用-不转换数据 + * @param id + * @return + */ + @Operation(summary = "信息") + @GetMapping("/{id}") + public ActionResult info(@PathVariable("id") String id){ + EquipmentinspectionrecordsEntity entity= equipmentinspectionrecordsService.getInfo(id); + if(entity==null){ + return ActionResult.fail("表单数据不存在!"); + } + Map equipmentinspectionrecordsMap=JsonUtil.entityToMap(entity); + equipmentinspectionrecordsMap.put("id", equipmentinspectionrecordsMap.get("id")); + //副表数据 + //子表数据 + equipmentinspectionrecordsMap = generaterSwapUtil.swapDataForm(equipmentinspectionrecordsMap,EquipmentinspectionrecordsConstant.getFormData(),EquipmentinspectionrecordsConstant.TABLEFIELDKEY,EquipmentinspectionrecordsConstant.TABLERENAMES); + return ActionResult.success(equipmentinspectionrecordsMap); + } + +} diff --git a/jnpf-java-boot/jnpf-example/jnpf-example-entity/src/main/java/jnpf/entity/EquipmentMaintenanceRecordsEntity.java b/jnpf-java-boot/jnpf-example/jnpf-example-entity/src/main/java/jnpf/entity/EquipmentMaintenanceRecordsEntity.java new file mode 100644 index 0000000..5145634 --- /dev/null +++ b/jnpf-java-boot/jnpf-example/jnpf-example-entity/src/main/java/jnpf/entity/EquipmentMaintenanceRecordsEntity.java @@ -0,0 +1,82 @@ +package jnpf.entity; + +import com.baomidou.mybatisplus.annotation.*; +import lombok.Data; +import java.util.Date; +import java.math.BigDecimal; +/** + * 设备维修记录 + * + * @版本: V3.5 + * @版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * @作者: JNPF开发平台组 + * @日期: 2024-07-17 + */ +@Data +@TableName("yq_equipment_maintenance_records") +public class EquipmentMaintenanceRecordsEntity { + @TableId(value ="ID" ) + private String id; + @TableField("EQUIPMENT_ID") + private String equipmentId; + @TableField(value = "NUMBER" , updateStrategy = FieldStrategy.IGNORED) + private String number; + @TableField(value = "NAME" , updateStrategy = FieldStrategy.IGNORED) + private String name; + @TableField("REPAIR_ORDER_ID") + private String repairOrderId; + @TableField(value = "REPAIR_ORDER_NUMBER" , updateStrategy = FieldStrategy.IGNORED) + private String repairOrderNumber; + @TableField(value = "EXPENSES_INCURRED" , updateStrategy = FieldStrategy.IGNORED) + private String expensesIncurred; + @TableField(value = "COST_AMOUNT" , updateStrategy = FieldStrategy.IGNORED) + private BigDecimal costAmount; + @TableField(value = "COST_DETAIL" , updateStrategy = FieldStrategy.IGNORED) + private String costDetail; + @TableField(value = "TENANT_BILL" , updateStrategy = FieldStrategy.IGNORED) + private String tenantBill; + @TableField(value = "REPAIR_PHOTO" , updateStrategy = FieldStrategy.IGNORED) + private String repairPhoto; + @TableField(value = "MAINTENANCE_PERSONNEL" , updateStrategy = FieldStrategy.IGNORED) + private String maintenancePersonnel; + @TableField(value = "MAINTENANCE_DATE" , updateStrategy = FieldStrategy.IGNORED) + private Date maintenanceDate; + @TableField(value = "MAINTENANCE_METHODS" , updateStrategy = FieldStrategy.IGNORED) + private String maintenanceMethods; + @TableField(value = "MAINTENANCE_DESCRIBE" , updateStrategy = FieldStrategy.IGNORED) + private String maintenanceDescribe; + @TableField(value = "MAINTENANCE_PLAN" , updateStrategy = FieldStrategy.IGNORED) + private String maintenancePlan; + @TableField("SPACE_ID") + private String spaceId; + @TableField("SPACE_NAME") + private String spaceName; + @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_TENANT_ID") + private String tenantId; + @TableField("COMPANY_ID") + private String companyId; + @TableField("DEPARTMENT_ID") + private String departmentId; + @TableField("ORGANIZE_JSON_ID") + private String organizeJsonId; + @TableField("F_VERSION") + private Integer version; + @TableField(value = "REPAIR_ID" , updateStrategy = FieldStrategy.IGNORED) + private String repairId; + @TableField("F_DELETE_MARK") + private Integer deleteMark; + @TableField("F_FLOW_ID") + private String flowId; +} diff --git a/jnpf-java-boot/jnpf-example/jnpf-example-entity/src/main/java/jnpf/entity/EquipmentinspectionrecordsEntity.java b/jnpf-java-boot/jnpf-example/jnpf-example-entity/src/main/java/jnpf/entity/EquipmentinspectionrecordsEntity.java new file mode 100644 index 0000000..9cb265a --- /dev/null +++ b/jnpf-java-boot/jnpf-example/jnpf-example-entity/src/main/java/jnpf/entity/EquipmentinspectionrecordsEntity.java @@ -0,0 +1,65 @@ +package jnpf.entity; + +import com.baomidou.mybatisplus.annotation.*; +import lombok.Data; +import java.util.Date; +/** + * 设备巡检记录 + * + * @版本: V3.5 + * @版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * @作者: JNPF开发平台组 + * @日期: 2024-07-18 + */ +@Data +@TableName("yq_equipment_inspection_records") +public class EquipmentinspectionrecordsEntity { + @TableId(value ="ID" ) + private String id; + @TableField(value = "EQUIPMENT_ID" , updateStrategy = FieldStrategy.IGNORED) + private String equipmentId; + @TableField(value = "EQUIPMENT_NUMBER" , updateStrategy = FieldStrategy.IGNORED) + private String equipmentNumber; + @TableField(value = "EQUIPMENT_NAME" , updateStrategy = FieldStrategy.IGNORED) + private String equipmentName; + @TableField(value = "INSPECTION_TICKET_NUMBER" , updateStrategy = FieldStrategy.IGNORED) + private String inspectionTicketNumber; + @TableField(value = "EQUIPMENT_STATUS" , updateStrategy = FieldStrategy.IGNORED) + private String equipmentStatus; + @TableField("INSPECTION_TIME") + private Date inspectionTime; + @TableField("INSPECTION_PERSONNEL") + private String inspectionPersonnel; + @TableField(value = "INSPECTION_PHOTOS" , updateStrategy = FieldStrategy.IGNORED) + private String inspectionPhotos; + @TableField(value = "SPACE_ID" , updateStrategy = FieldStrategy.IGNORED) + private String spaceId; + @TableField(value = "SPACE_NAME" , updateStrategy = FieldStrategy.IGNORED) + private String spaceName; + @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_TENANT_ID") + private String tenantId; + @TableField("COMPANY_ID") + private String companyId; + @TableField("DEPARTMENT_ID") + private String departmentId; + @TableField("ORGANIZE_JSON_ID") + private String organizeJsonId; + @TableField("F_VERSION") + private Integer version; + @TableField("F_DELETE_MARK") + private Integer deleteMark; + @TableField("F_FLOW_ID") + private String flowId; +} diff --git a/jnpf-java-boot/jnpf-example/jnpf-example-entity/src/main/java/jnpf/model/equipmentinspectionrecords/EquipmentinspectionrecordsConstant.java b/jnpf-java-boot/jnpf-example/jnpf-example-entity/src/main/java/jnpf/model/equipmentinspectionrecords/EquipmentinspectionrecordsConstant.java new file mode 100644 index 0000000..76dbf80 --- /dev/null +++ b/jnpf-java-boot/jnpf-example/jnpf-example-entity/src/main/java/jnpf/model/equipmentinspectionrecords/EquipmentinspectionrecordsConstant.java @@ -0,0 +1,41 @@ +package jnpf.model.equipmentinspectionrecords; + +import jnpf.util.JsonUtil; +import java.util.Map; + +/** + * equipmentinspectionrecords配置json + * + * @版本: V3.5 + * @版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * @作者: JNPF开发平台组 + * @日期: 2024-07-18 + */ +public class EquipmentinspectionrecordsConstant{ + /** 数据库链接 */ + public static final String DBLINKID = "0"; + /** 表别名 map */ + public static final Map TABLERENAMES = JsonUtil.getJsonToBean("{\"yq_equipment_inspection_records\":\"equipmentinspectionrecords\"}",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\":119,\"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\":\"1000px\",\"hasConfirmBtn\":true,\"formStyle\":\"\",\"fields\":[{\"__config__\":{\"formId\":101,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"billRule\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"rule\":\"baoxiudanhao\",\"className\":[],\"label\":\"巡检单号\",\"trigger\":\"change\",\"showLabel\":true,\"required\":false,\"tableName\":\"yq_equipment_inspection_records\",\"renderKey\":1721107672151,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-documents\",\"ruleName\":\"报修单号\",\"tag\":\"JnpfInput\",\"span\":8},\"readonly\":true,\"__vModel__\":\"inspectionTicketNumber\",\"style\":{\"width\":\"100%\"},\"placeholder\":\"系统自动生成\"},{\"clearable\":true,\"suffixIcon\":\"\",\"addonAfter\":\"\",\"__config__\":{\"formId\":103,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"空间id\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"yq_equipment_inspection_records\",\"renderKey\":1721107977851,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[{\"pattern\":\"/^\\\\d+$/\",\"message\":\"请输入正确的数字\"}],\"span\":8},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"spaceId\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"suffixIcon\":\"\",\"addonAfter\":\"\",\"__config__\":{\"formId\":104,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"空间名称\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"yq_equipment_inspection_records\",\"renderKey\":1721108022610,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"spaceName\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"suffixIcon\":\"\",\"addonAfter\":\"\",\"__config__\":{\"formId\":105,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"设备id\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"yq_equipment_inspection_records\",\"renderKey\":1721108046625,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[{\"pattern\":\"/^\\\\d+$/\",\"message\":\"请输入正确的数字\"}],\"span\":8},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"equipmentId\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"suffixIcon\":\"\",\"addonAfter\":\"\",\"__config__\":{\"formId\":119,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"设备编码\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"yq_equipment_inspection_records\",\"renderKey\":1721266306426,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"equipmentNumber\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"suffixIcon\":\"\",\"addonAfter\":\"\",\"__config__\":{\"formId\":106,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"设备名称\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"yq_equipment_inspection_records\",\"renderKey\":1721108063437,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"equipmentName\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"filterable\":false,\"clearable\":true,\"__config__\":{\"formId\":117,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"1\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"设备状态\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":true,\"tableName\":\"yq_equipment_inspection_records\",\"renderKey\":1721195902729,\"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__\":\"equipmentStatus\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"placeholder\":\"请选择\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"}},{\"showTip\":false,\"isAccount\":0,\"pathType\":\"defaultPath\",\"accept\":\"\",\"__config__\":{\"formId\":113,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"uploadImg\",\"defaultValue\":[],\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"巡检照片\",\"trigger\":\"change\",\"showLabel\":true,\"required\":false,\"tableName\":\"yq_equipment_inspection_records\",\"renderKey\":1721108295948,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-upload\",\"tag\":\"JnpfUploadImg\",\"regList\":[],\"span\":8},\"folder\":\"\",\"fileSize\":10,\"limit\":9,\"__vModel__\":\"inspectionPhotos\",\"sizeUnit\":\"MB\",\"tipText\":\"\",\"disabled\":false}],\"span\":24}"); return sb.toString(); + } + /** 列表字段配置json */ + public static final String getColumnData(){ + StringBuilder sb = new StringBuilder(); +sb.append("{\"showSummary\":false,\"hasPage\":true,\"searchList\":[{\"__config__\":{\"formId\":101,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"billRule\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"rule\":\"baoxiudanhao\",\"className\":[],\"label\":\"巡检单号\",\"trigger\":\"change\",\"showLabel\":true,\"required\":false,\"tableName\":\"yq_equipment_inspection_records\",\"renderKey\":1721107672151,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-documents\",\"ruleName\":\"报修单号\",\"tag\":\"JnpfInput\",\"span\":8},\"readonly\":true,\"searchType\":2,\"jnpfKey\":\"billRule\",\"prop\":\"inspectionTicketNumber\",\"__vModel__\":\"inspectionTicketNumber\",\"searchMultiple\":false,\"fullName\":\"巡检单号\",\"style\":{\"width\":\"100%\"},\"label\":\"巡检单号\",\"id\":\"inspectionTicketNumber\",\"placeholder\":\"系统自动生成\"},{\"clearable\":true,\"searchType\":2,\"jnpfKey\":\"input\",\"suffixIcon\":\"\",\"fullName\":\"空间id\",\"label\":\"空间id\",\"addonAfter\":\"\",\"__config__\":{\"formId\":103,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"空间id\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"yq_equipment_inspection_records\",\"renderKey\":1721107977851,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[{\"pattern\":\"/^\\\\d+$/\",\"message\":\"请输入正确的数字\"}],\"span\":8},\"readonly\":false,\"prop\":\"spaceId\",\"showWordLimit\":false,\"__vModel__\":\"spaceId\",\"searchMultiple\":false,\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"spaceId\",\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"searchType\":2,\"jnpfKey\":\"input\",\"suffixIcon\":\"\",\"fullName\":\"空间名称\",\"label\":\"空间名称\",\"addonAfter\":\"\",\"__config__\":{\"formId\":104,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"空间名称\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"yq_equipment_inspection_records\",\"renderKey\":1721108022610,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"spaceName\",\"showWordLimit\":false,\"__vModel__\":\"spaceName\",\"searchMultiple\":false,\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"spaceName\",\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"searchType\":2,\"jnpfKey\":\"input\",\"suffixIcon\":\"\",\"fullName\":\"设备id\",\"label\":\"设备id\",\"addonAfter\":\"\",\"__config__\":{\"formId\":105,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"设备id\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"yq_equipment_inspection_records\",\"renderKey\":1721108046625,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[{\"pattern\":\"/^\\\\d+$/\",\"message\":\"请输入正确的数字\"}],\"span\":8},\"readonly\":false,\"prop\":\"equipmentId\",\"showWordLimit\":false,\"__vModel__\":\"equipmentId\",\"searchMultiple\":false,\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"equipmentId\",\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"searchType\":2,\"jnpfKey\":\"input\",\"suffixIcon\":\"\",\"fullName\":\"设备编码\",\"label\":\"设备编码\",\"addonAfter\":\"\",\"__config__\":{\"formId\":119,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"设备编码\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"yq_equipment_inspection_records\",\"renderKey\":1721266306426,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"equipmentNumber\",\"showWordLimit\":false,\"__vModel__\":\"equipmentNumber\",\"searchMultiple\":false,\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"equipmentNumber\",\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"searchType\":2,\"jnpfKey\":\"input\",\"suffixIcon\":\"\",\"fullName\":\"设备名称\",\"label\":\"设备名称\",\"addonAfter\":\"\",\"__config__\":{\"formId\":106,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"设备名称\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"yq_equipment_inspection_records\",\"renderKey\":1721108063437,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"equipmentName\",\"showWordLimit\":false,\"__vModel__\":\"equipmentName\",\"searchMultiple\":false,\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"equipmentName\",\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"}],\"treeInterfaceId\":\"\",\"treePropsValue\":\"id\",\"ruleList\":{\"conditionList\":[],\"matchLogic\":\"and\"},\"childTableStyle\":1,\"columnOptions\":[{\"__config__\":{\"formId\":101,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"billRule\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"rule\":\"baoxiudanhao\",\"className\":[],\"label\":\"巡检单号\",\"trigger\":\"change\",\"showLabel\":true,\"required\":false,\"tableName\":\"yq_equipment_inspection_records\",\"renderKey\":1721107672151,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-documents\",\"ruleName\":\"报修单号\",\"tag\":\"JnpfInput\",\"span\":8},\"readonly\":true,\"__vModel__\":\"inspectionTicketNumber\",\"fullName\":\"巡检单号\",\"style\":{\"width\":\"100%\"},\"id\":\"inspectionTicketNumber\",\"placeholder\":\"系统自动生成\"},{\"clearable\":true,\"suffixIcon\":\"\",\"fullName\":\"空间id\",\"addonAfter\":\"\",\"__config__\":{\"formId\":103,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"空间id\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"yq_equipment_inspection_records\",\"renderKey\":1721107977851,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[{\"pattern\":\"/^\\\\d+$/\",\"message\":\"请输入正确的数字\"}],\"span\":8},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"spaceId\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"spaceId\",\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"suffixIcon\":\"\",\"fullName\":\"空间名称\",\"addonAfter\":\"\",\"__config__\":{\"formId\":104,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"空间名称\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"yq_equipment_inspection_records\",\"renderKey\":1721108022610,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"spaceName\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"spaceName\",\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"suffixIcon\":\"\",\"fullName\":\"设备id\",\"addonAfter\":\"\",\"__config__\":{\"formId\":105,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"设备id\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"yq_equipment_inspection_records\",\"renderKey\":1721108046625,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[{\"pattern\":\"/^\\\\d+$/\",\"message\":\"请输入正确的数字\"}],\"span\":8},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"equipmentId\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"equipmentId\",\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"suffixIcon\":\"\",\"fullName\":\"设备编码\",\"addonAfter\":\"\",\"__config__\":{\"formId\":119,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"设备编码\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"yq_equipment_inspection_records\",\"renderKey\":1721266306426,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"equipmentNumber\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"equipmentNumber\",\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"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\":true,\"tableName\":\"yq_equipment_inspection_records\",\"renderKey\":1721108063437,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"equipmentName\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"equipmentName\",\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"filterable\":false,\"clearable\":true,\"multiple\":false,\"fullName\":\"设备状态\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"},\"__config__\":{\"formId\":117,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"1\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"设备状态\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":true,\"tableName\":\"yq_equipment_inspection_records\",\"renderKey\":1721195902729,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":8},\"options\":[{\"fullName\":\"正常\",\"id\":\"1\"},{\"fullName\":\"异常\",\"id\":\"2\"}],\"__vModel__\":\"equipmentStatus\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"id\":\"equipmentStatus\",\"placeholder\":\"请选择\"}],\"pageSize\":20,\"treePropsChildren\":\"children\",\"type\":1,\"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\":[{\"jnpfKey\":\"billRule\",\"fullName\":\"巡检单号\",\"label\":\"巡检单号\",\"sortable\":false,\"align\":\"left\",\"__config__\":{\"formId\":101,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"billRule\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"rule\":\"baoxiudanhao\",\"className\":[],\"label\":\"巡检单号\",\"trigger\":\"change\",\"showLabel\":true,\"required\":false,\"tableName\":\"yq_equipment_inspection_records\",\"renderKey\":1721107672151,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-documents\",\"ruleName\":\"报修单号\",\"tag\":\"JnpfInput\",\"span\":8},\"readonly\":true,\"prop\":\"inspectionTicketNumber\",\"__vModel__\":\"inspectionTicketNumber\",\"checked\":true,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"id\":\"inspectionTicketNumber\",\"placeholder\":\"系统自动生成\"},{\"suffixIcon\":\"\",\"align\":\"left\",\"__config__\":{\"formId\":103,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"空间id\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"yq_equipment_inspection_records\",\"renderKey\":1721107977851,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[{\"pattern\":\"/^\\\\d+$/\",\"message\":\"请输入正确的数字\"}],\"span\":8},\"readonly\":false,\"prop\":\"spaceId\",\"showWordLimit\":false,\"__vModel__\":\"spaceId\",\"checked\":true,\"disabled\":false,\"id\":\"spaceId\",\"placeholder\":\"请输入\",\"addonBefore\":\"\",\"clearable\":true,\"jnpfKey\":\"input\",\"fullName\":\"空间id\",\"label\":\"空间id\",\"sortable\":false,\"addonAfter\":\"\",\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"prefixIcon\":\"\"},{\"suffixIcon\":\"\",\"align\":\"left\",\"__config__\":{\"formId\":104,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"空间名称\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"yq_equipment_inspection_records\",\"renderKey\":1721108022610,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"spaceName\",\"showWordLimit\":false,\"__vModel__\":\"spaceName\",\"checked\":true,\"disabled\":false,\"id\":\"spaceName\",\"placeholder\":\"请输入\",\"addonBefore\":\"\",\"clearable\":true,\"jnpfKey\":\"input\",\"fullName\":\"空间名称\",\"label\":\"空间名称\",\"sortable\":false,\"addonAfter\":\"\",\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"prefixIcon\":\"\"},{\"suffixIcon\":\"\",\"align\":\"left\",\"__config__\":{\"formId\":105,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"设备id\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"yq_equipment_inspection_records\",\"renderKey\":1721108046625,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[{\"pattern\":\"/^\\\\d+$/\",\"message\":\"请输入正确的数字\"}],\"span\":8},\"readonly\":false,\"prop\":\"equipmentId\",\"showWordLimit\":false,\"__vModel__\":\"equipmentId\",\"checked\":true,\"disabled\":false,\"id\":\"equipmentId\",\"placeholder\":\"请输入\",\"addonBefore\":\"\",\"clearable\":true,\"jnpfKey\":\"input\",\"fullName\":\"设备id\",\"label\":\"设备id\",\"sortable\":false,\"addonAfter\":\"\",\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"prefixIcon\":\"\"},{\"suffixIcon\":\"\",\"align\":\"left\",\"__config__\":{\"formId\":119,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"设备编码\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"yq_equipment_inspection_records\",\"renderKey\":1721266306426,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"equipmentNumber\",\"showWordLimit\":false,\"__vModel__\":\"equipmentNumber\",\"checked\":true,\"disabled\":false,\"id\":\"equipmentNumber\",\"placeholder\":\"请输入\",\"addonBefore\":\"\",\"clearable\":true,\"jnpfKey\":\"input\",\"fullName\":\"设备编码\",\"label\":\"设备编码\",\"sortable\":false,\"addonAfter\":\"\",\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"prefixIcon\":\"\"},{\"suffixIcon\":\"\",\"align\":\"left\",\"__config__\":{\"formId\":106,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"设备名称\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"yq_equipment_inspection_records\",\"renderKey\":1721108063437,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"equipmentName\",\"showWordLimit\":false,\"__vModel__\":\"equipmentName\",\"checked\":true,\"disabled\":false,\"id\":\"equipmentName\",\"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\":117,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"1\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"设备状态\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":true,\"tableName\":\"yq_equipment_inspection_records\",\"renderKey\":1721195902729,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":8},\"prop\":\"equipmentStatus\",\"options\":[{\"fullName\":\"正常\",\"id\":\"1\"},{\"fullName\":\"异常\",\"id\":\"2\"}],\"__vModel__\":\"equipmentStatus\",\"checked\":true,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"id\":\"equipmentStatus\",\"placeholder\":\"请选择\"}],\"treeTemplateJson\":[],\"treePropsName\":\"\",\"useColumnPermission\":false,\"treePropsUrl\":\"\",\"treeRelation\":\"\",\"treeSynType\":0,\"btnsList\":[{\"icon\":\"icon-ym icon-ym-btn-add\",\"label\":\"新增\",\"value\":\"add\"}],\"useDataPermission\":false,\"columnList\":[{\"jnpfKey\":\"billRule\",\"fullName\":\"巡检单号\",\"label\":\"巡检单号\",\"sortable\":false,\"align\":\"left\",\"__config__\":{\"formId\":101,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"billRule\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"rule\":\"baoxiudanhao\",\"className\":[],\"label\":\"巡检单号\",\"trigger\":\"change\",\"showLabel\":true,\"required\":false,\"tableName\":\"yq_equipment_inspection_records\",\"renderKey\":1721107672151,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-documents\",\"ruleName\":\"报修单号\",\"tag\":\"JnpfInput\",\"span\":8},\"readonly\":true,\"prop\":\"inspectionTicketNumber\",\"width\":0,\"__vModel__\":\"inspectionTicketNumber\",\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"id\":\"inspectionTicketNumber\",\"placeholder\":\"系统自动生成\"},{\"clearable\":true,\"jnpfKey\":\"input\",\"suffixIcon\":\"\",\"fullName\":\"空间id\",\"label\":\"空间id\",\"sortable\":false,\"align\":\"left\",\"addonAfter\":\"\",\"__config__\":{\"formId\":103,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"空间id\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"yq_equipment_inspection_records\",\"renderKey\":1721107977851,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[{\"pattern\":\"/^\\\\d+$/\",\"message\":\"请输入正确的数字\"}],\"span\":8},\"readonly\":false,\"prop\":\"spaceId\",\"showWordLimit\":false,\"width\":0,\"__vModel__\":\"spaceId\",\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"spaceId\",\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"jnpfKey\":\"input\",\"suffixIcon\":\"\",\"fullName\":\"空间名称\",\"label\":\"空间名称\",\"sortable\":false,\"align\":\"left\",\"addonAfter\":\"\",\"__config__\":{\"formId\":104,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"空间名称\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"yq_equipment_inspection_records\",\"renderKey\":1721108022610,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"spaceName\",\"showWordLimit\":false,\"width\":0,\"__vModel__\":\"spaceName\",\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"spaceName\",\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"jnpfKey\":\"input\",\"suffixIcon\":\"\",\"fullName\":\"设备id\",\"label\":\"设备id\",\"sortable\":false,\"align\":\"left\",\"addonAfter\":\"\",\"__config__\":{\"formId\":105,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"设备id\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"yq_equipment_inspection_records\",\"renderKey\":1721108046625,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[{\"pattern\":\"/^\\\\d+$/\",\"message\":\"请输入正确的数字\"}],\"span\":8},\"readonly\":false,\"prop\":\"equipmentId\",\"showWordLimit\":false,\"width\":0,\"__vModel__\":\"equipmentId\",\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"equipmentId\",\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"jnpfKey\":\"input\",\"suffixIcon\":\"\",\"fullName\":\"设备编码\",\"label\":\"设备编码\",\"sortable\":false,\"align\":\"left\",\"addonAfter\":\"\",\"__config__\":{\"formId\":119,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"设备编码\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"yq_equipment_inspection_records\",\"renderKey\":1721266306426,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"equipmentNumber\",\"showWordLimit\":false,\"width\":0,\"__vModel__\":\"equipmentNumber\",\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"equipmentNumber\",\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"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\":true,\"tableName\":\"yq_equipment_inspection_records\",\"renderKey\":1721108063437,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"equipmentName\",\"showWordLimit\":false,\"width\":0,\"__vModel__\":\"equipmentName\",\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"equipmentName\",\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"filterable\":false,\"clearable\":true,\"jnpfKey\":\"select\",\"multiple\":false,\"fullName\":\"设备状态\",\"label\":\"设备状态\",\"sortable\":false,\"align\":\"left\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"},\"__config__\":{\"formId\":117,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"1\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"设备状态\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":true,\"tableName\":\"yq_equipment_inspection_records\",\"renderKey\":1721195902729,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":8},\"prop\":\"equipmentStatus\",\"width\":0,\"options\":[{\"fullName\":\"正常\",\"id\":\"1\"},{\"fullName\":\"异常\",\"id\":\"2\"}],\"__vModel__\":\"equipmentStatus\",\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"id\":\"equipmentStatus\",\"placeholder\":\"请选择\"}],\"sort\":\"desc\",\"thousands\":false,\"hasSuperQuery\":true,\"summaryField\":[],\"parentField\":\"\",\"treePropsLabel\":\"fullName\",\"treeDataSource\":\"dictionary\",\"groupField\":\"\",\"printIds\":[],\"uploaderTemplateJson\":{},\"treeDictionary\":\"\",\"hasTreeQuery\":false,\"useFormPermission\":false,\"customBtnsList\":[],\"complexHeaderList\":[],\"useBtnPermission\":false,\"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\":[{\"jnpfKey\":\"billRule\",\"fullName\":\"巡检单号\",\"label\":\"巡检单号\",\"sortable\":false,\"align\":\"left\",\"__config__\":{\"formId\":101,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"billRule\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"rule\":\"baoxiudanhao\",\"className\":[],\"label\":\"巡检单号\",\"trigger\":\"change\",\"showLabel\":true,\"required\":false,\"tableName\":\"yq_equipment_inspection_records\",\"renderKey\":1721107672151,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-documents\",\"ruleName\":\"报修单号\",\"tag\":\"JnpfInput\",\"span\":8},\"readonly\":true,\"prop\":\"inspectionTicketNumber\",\"width\":0,\"__vModel__\":\"inspectionTicketNumber\",\"style\":{\"width\":\"100%\"},\"fixed\":\"none\",\"placeholder\":\"系统自动生成\",\"id\":\"inspectionTicketNumber\"},{\"clearable\":true,\"jnpfKey\":\"input\",\"suffixIcon\":\"\",\"fullName\":\"空间id\",\"label\":\"空间id\",\"sortable\":false,\"align\":\"left\",\"addonAfter\":\"\",\"__config__\":{\"formId\":103,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"空间id\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"yq_equipment_inspection_records\",\"renderKey\":1721107977851,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[{\"pattern\":\"/^\\\\d+$/\",\"message\":\"请输入正确的数字\"}],\"span\":8},\"readonly\":false,\"prop\":\"spaceId\",\"showWordLimit\":false,\"width\":0,\"__vModel__\":\"spaceId\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"fixed\":\"none\",\"placeholder\":\"请输入\",\"id\":\"spaceId\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"jnpfKey\":\"input\",\"suffixIcon\":\"\",\"fullName\":\"空间名称\",\"label\":\"空间名称\",\"sortable\":false,\"align\":\"left\",\"addonAfter\":\"\",\"__config__\":{\"formId\":104,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"空间名称\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"yq_equipment_inspection_records\",\"renderKey\":1721108022610,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"spaceName\",\"showWordLimit\":false,\"width\":0,\"__vModel__\":\"spaceName\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"fixed\":\"none\",\"placeholder\":\"请输入\",\"id\":\"spaceName\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"jnpfKey\":\"input\",\"suffixIcon\":\"\",\"fullName\":\"设备id\",\"label\":\"设备id\",\"sortable\":false,\"align\":\"left\",\"addonAfter\":\"\",\"__config__\":{\"formId\":105,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"设备id\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"yq_equipment_inspection_records\",\"renderKey\":1721108046625,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[{\"pattern\":\"/^\\\\d+$/\",\"message\":\"请输入正确的数字\"}],\"span\":8},\"readonly\":false,\"prop\":\"equipmentId\",\"showWordLimit\":false,\"width\":0,\"__vModel__\":\"equipmentId\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"fixed\":\"none\",\"placeholder\":\"请输入\",\"id\":\"equipmentId\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"jnpfKey\":\"input\",\"suffixIcon\":\"\",\"fullName\":\"设备编码\",\"label\":\"设备编码\",\"sortable\":false,\"align\":\"left\",\"addonAfter\":\"\",\"__config__\":{\"formId\":119,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"设备编码\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"yq_equipment_inspection_records\",\"renderKey\":1721266306426,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"equipmentNumber\",\"showWordLimit\":false,\"width\":0,\"__vModel__\":\"equipmentNumber\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"fixed\":\"none\",\"placeholder\":\"请输入\",\"id\":\"equipmentNumber\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"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\":true,\"tableName\":\"yq_equipment_inspection_records\",\"renderKey\":1721108063437,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"equipmentName\",\"showWordLimit\":false,\"width\":0,\"__vModel__\":\"equipmentName\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"fixed\":\"none\",\"placeholder\":\"请输入\",\"id\":\"equipmentName\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"filterable\":false,\"clearable\":true,\"jnpfKey\":\"select\",\"multiple\":false,\"fullName\":\"设备状态\",\"label\":\"设备状态\",\"sortable\":false,\"align\":\"left\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"},\"__config__\":{\"formId\":117,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"1\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"设备状态\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":true,\"tableName\":\"yq_equipment_inspection_records\",\"renderKey\":1721195902729,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":8},\"prop\":\"equipmentStatus\",\"width\":0,\"options\":[{\"fullName\":\"正常\",\"id\":\"1\"},{\"fullName\":\"异常\",\"id\":\"2\"}],\"__vModel__\":\"equipmentStatus\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"fixed\":\"none\",\"placeholder\":\"请选择\",\"id\":\"equipmentStatus\"}],\"columnOptions\":[{\"__config__\":{\"formId\":101,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"billRule\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"rule\":\"baoxiudanhao\",\"className\":[],\"label\":\"巡检单号\",\"trigger\":\"change\",\"showLabel\":true,\"required\":false,\"tableName\":\"yq_equipment_inspection_records\",\"renderKey\":1721107672151,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-documents\",\"ruleName\":\"报修单号\",\"tag\":\"JnpfInput\",\"span\":8},\"readonly\":true,\"__vModel__\":\"inspectionTicketNumber\",\"fullName\":\"巡检单号\",\"style\":{\"width\":\"100%\"},\"placeholder\":\"系统自动生成\",\"id\":\"inspectionTicketNumber\"},{\"clearable\":true,\"suffixIcon\":\"\",\"fullName\":\"空间id\",\"addonAfter\":\"\",\"__config__\":{\"formId\":103,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"空间id\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"yq_equipment_inspection_records\",\"renderKey\":1721107977851,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[{\"pattern\":\"/^\\\\d+$/\",\"message\":\"请输入正确的数字\"}],\"span\":8},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"spaceId\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"id\":\"spaceId\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"suffixIcon\":\"\",\"fullName\":\"空间名称\",\"addonAfter\":\"\",\"__config__\":{\"formId\":104,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"空间名称\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"yq_equipment_inspection_records\",\"renderKey\":1721108022610,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"spaceName\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"id\":\"spaceName\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"suffixIcon\":\"\",\"fullName\":\"设备id\",\"addonAfter\":\"\",\"__config__\":{\"formId\":105,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"设备id\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"yq_equipment_inspection_records\",\"renderKey\":1721108046625,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[{\"pattern\":\"/^\\\\d+$/\",\"message\":\"请输入正确的数字\"}],\"span\":8},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"equipmentId\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"id\":\"equipmentId\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"suffixIcon\":\"\",\"fullName\":\"设备编码\",\"addonAfter\":\"\",\"__config__\":{\"formId\":119,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"设备编码\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"yq_equipment_inspection_records\",\"renderKey\":1721266306426,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"equipmentNumber\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"id\":\"equipmentNumber\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"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\":true,\"tableName\":\"yq_equipment_inspection_records\",\"renderKey\":1721108063437,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"equipmentName\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"id\":\"equipmentName\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"filterable\":false,\"clearable\":true,\"multiple\":false,\"fullName\":\"设备状态\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"},\"__config__\":{\"formId\":117,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"1\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"设备状态\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":true,\"tableName\":\"yq_equipment_inspection_records\",\"renderKey\":1721195902729,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":8},\"options\":[{\"fullName\":\"正常\",\"id\":\"1\"},{\"fullName\":\"异常\",\"id\":\"2\"}],\"__vModel__\":\"equipmentStatus\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"placeholder\":\"请选择\",\"id\":\"equipmentStatus\"}],\"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\":[{\"jnpfKey\":\"billRule\",\"fullName\":\"巡检单号\",\"label\":\"巡检单号\",\"sortable\":false,\"align\":\"left\",\"__config__\":{\"formId\":101,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"billRule\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"rule\":\"baoxiudanhao\",\"className\":[],\"label\":\"巡检单号\",\"trigger\":\"change\",\"showLabel\":true,\"required\":false,\"tableName\":\"yq_equipment_inspection_records\",\"renderKey\":1721107672151,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-documents\",\"ruleName\":\"报修单号\",\"tag\":\"JnpfInput\",\"span\":8},\"readonly\":true,\"prop\":\"inspectionTicketNumber\",\"__vModel__\":\"inspectionTicketNumber\",\"checked\":true,\"style\":{\"width\":\"100%\"},\"placeholder\":\"系统自动生成\",\"id\":\"inspectionTicketNumber\"},{\"clearable\":true,\"jnpfKey\":\"input\",\"suffixIcon\":\"\",\"fullName\":\"空间id\",\"label\":\"空间id\",\"sortable\":false,\"align\":\"left\",\"addonAfter\":\"\",\"__config__\":{\"formId\":103,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"空间id\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"yq_equipment_inspection_records\",\"renderKey\":1721107977851,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[{\"pattern\":\"/^\\\\d+$/\",\"message\":\"请输入正确的数字\"}],\"span\":8},\"readonly\":false,\"prop\":\"spaceId\",\"showWordLimit\":false,\"__vModel__\":\"spaceId\",\"showPassword\":false,\"checked\":true,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"id\":\"spaceId\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"jnpfKey\":\"input\",\"suffixIcon\":\"\",\"fullName\":\"空间名称\",\"label\":\"空间名称\",\"sortable\":false,\"align\":\"left\",\"addonAfter\":\"\",\"__config__\":{\"formId\":104,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"空间名称\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"yq_equipment_inspection_records\",\"renderKey\":1721108022610,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"spaceName\",\"showWordLimit\":false,\"__vModel__\":\"spaceName\",\"showPassword\":false,\"checked\":true,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"id\":\"spaceName\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"jnpfKey\":\"input\",\"suffixIcon\":\"\",\"fullName\":\"设备id\",\"label\":\"设备id\",\"sortable\":false,\"align\":\"left\",\"addonAfter\":\"\",\"__config__\":{\"formId\":105,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"设备id\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"yq_equipment_inspection_records\",\"renderKey\":1721108046625,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[{\"pattern\":\"/^\\\\d+$/\",\"message\":\"请输入正确的数字\"}],\"span\":8},\"readonly\":false,\"prop\":\"equipmentId\",\"showWordLimit\":false,\"__vModel__\":\"equipmentId\",\"showPassword\":false,\"checked\":true,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"id\":\"equipmentId\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"jnpfKey\":\"input\",\"suffixIcon\":\"\",\"fullName\":\"设备编码\",\"label\":\"设备编码\",\"sortable\":false,\"align\":\"left\",\"addonAfter\":\"\",\"__config__\":{\"formId\":119,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"设备编码\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"yq_equipment_inspection_records\",\"renderKey\":1721266306426,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"equipmentNumber\",\"showWordLimit\":false,\"__vModel__\":\"equipmentNumber\",\"showPassword\":false,\"checked\":true,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"id\":\"equipmentNumber\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"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\":true,\"tableName\":\"yq_equipment_inspection_records\",\"renderKey\":1721108063437,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"equipmentName\",\"showWordLimit\":false,\"__vModel__\":\"equipmentName\",\"showPassword\":false,\"checked\":true,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"id\":\"equipmentName\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"filterable\":false,\"clearable\":true,\"jnpfKey\":\"select\",\"multiple\":false,\"fullName\":\"设备状态\",\"label\":\"设备状态\",\"sortable\":false,\"align\":\"left\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"},\"__config__\":{\"formId\":117,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"1\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"设备状态\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":true,\"tableName\":\"yq_equipment_inspection_records\",\"renderKey\":1721195902729,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":8},\"prop\":\"equipmentStatus\",\"options\":[{\"fullName\":\"正常\",\"id\":\"1\"},{\"fullName\":\"异常\",\"id\":\"2\"}],\"__vModel__\":\"equipmentStatus\",\"checked\":true,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"placeholder\":\"请选择\",\"id\":\"equipmentStatus\"}],\"sortList\":[],\"useFormPermission\":false,\"customBtnsList\":[],\"useBtnPermission\":false,\"defaultSidx\":\"\"}"); return sb.toString(); + } + /** 表列表 */ + public static final String getTableList(){ + StringBuilder sb = new StringBuilder(); +sb.append("[{\"relationField\":\"\",\"relationTable\":\"\",\"table\":\"yq_equipment_inspection_records\",\"tableName\":\"设备巡检记录\\t\\t\\t\\t\\t\\t\\t\\t\\t\\r\\n\",\"tableField\":\"\",\"typeId\":\"1\",\"fields\":[{\"columnName\":\"id\",\"field\":\"id\",\"fieldName\":\"主键ID\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":1,\"allowNull\":0,\"autoIncrement\":0},{\"columnName\":\"equipment_id\",\"field\":\"equipmentId\",\"fieldName\":\"设备id\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"equipment_number\",\"field\":\"equipmentNumber\",\"fieldName\":\"设备编码\",\"dataType\":\"varchar\",\"dataLength\":\"20\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"equipment_name\",\"field\":\"equipmentName\",\"fieldName\":\"设备名称\",\"dataType\":\"varchar\",\"dataLength\":\"100\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"Inspection_ticket_number\",\"field\":\"inspectionTicketNumber\",\"fieldName\":\"巡检单号\",\"dataType\":\"varchar\",\"dataLength\":\"20\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"equipment_status\",\"field\":\"equipmentStatus\",\"fieldName\":\"设备状态(1、正常、 2、异常)\",\"dataType\":\"varchar\",\"dataLength\":\"1\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"inspection_time\",\"field\":\"inspectionTime\",\"fieldName\":\"巡检时间\",\"dataType\":\"datetime\",\"dataLength\":\"默认\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"inspection_personnel\",\"field\":\"inspectionPersonnel\",\"fieldName\":\"巡检人员\",\"dataType\":\"varchar\",\"dataLength\":\"20\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"inspection_photos\",\"field\":\"inspectionPhotos\",\"fieldName\":\"巡检照片\",\"dataType\":\"varchar\",\"dataLength\":\"512\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"space_id\",\"field\":\"spaceId\",\"fieldName\":\"空间id\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"space_name\",\"field\":\"spaceName\",\"fieldName\":\"空间名称\",\"dataType\":\"varchar\",\"dataLength\":\"512\",\"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_tenant_id\",\"field\":\"tenantId\",\"fieldName\":\"租户id\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"company_id\",\"field\":\"companyId\",\"fieldName\":\"公司id\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"department_id\",\"field\":\"departmentId\",\"fieldName\":\"部门id\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"organize_json_id\",\"field\":\"organizeJsonId\",\"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_delete_mark\",\"field\":\"deleteMark\",\"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}]}]"); return sb.toString(); + } +} diff --git a/jnpf-java-boot/jnpf-example/jnpf-example-entity/src/main/java/jnpf/model/equipmentinspectionrecords/EquipmentinspectionrecordsForm.java b/jnpf-java-boot/jnpf-example/jnpf-example-entity/src/main/java/jnpf/model/equipmentinspectionrecords/EquipmentinspectionrecordsForm.java new file mode 100644 index 0000000..a545ce0 --- /dev/null +++ b/jnpf-java-boot/jnpf-example/jnpf-example-entity/src/main/java/jnpf/model/equipmentinspectionrecords/EquipmentinspectionrecordsForm.java @@ -0,0 +1,47 @@ +package jnpf.model.equipmentinspectionrecords; + +import lombok.Data; +import java.util.List; +import java.math.BigDecimal; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * equipmentinspectionrecords + * @版本: V3.5 + * @版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * @作者: JNPF开发平台组 + * @日期: 2024-07-18 + */ +@Data +public class EquipmentinspectionrecordsForm { + /** 主键 */ + private String id; + /** 乐观锁 **/ + @JsonProperty("version") + private Integer version; + + /** 巡检单号 **/ + @JsonProperty("inspectionTicketNumber") + private String inspectionTicketNumber; + /** 空间id **/ + @JsonProperty("spaceId") + private String spaceId; + /** 空间名称 **/ + @JsonProperty("spaceName") + private String spaceName; + /** 设备id **/ + @JsonProperty("equipmentId") + private String equipmentId; + /** 设备编码 **/ + @JsonProperty("equipmentNumber") + private String equipmentNumber; + /** 设备名称 **/ + @JsonProperty("equipmentName") + private String equipmentName; + /** 设备状态 **/ + @JsonProperty("equipmentStatus") + private Object equipmentStatus; + /** 巡检照片 **/ + @JsonProperty("inspectionPhotos") + private Object inspectionPhotos; +} diff --git a/jnpf-java-boot/jnpf-example/jnpf-example-entity/src/main/java/jnpf/model/equipmentinspectionrecords/EquipmentinspectionrecordsPagination.java b/jnpf-java-boot/jnpf-example/jnpf-example-entity/src/main/java/jnpf/model/equipmentinspectionrecords/EquipmentinspectionrecordsPagination.java new file mode 100644 index 0000000..84c3e6f --- /dev/null +++ b/jnpf-java-boot/jnpf-example/jnpf-example-entity/src/main/java/jnpf/model/equipmentinspectionrecords/EquipmentinspectionrecordsPagination.java @@ -0,0 +1,48 @@ +package jnpf.model.equipmentinspectionrecords; + +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.Data; +import jnpf.base.Pagination; +import java.util.List; + +/** + * + * equipmentinspectionrecords + * @版本: V3.5 + * @版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * @作者: JNPF开发平台组 + * @日期: 2024-07-18 + */ +@Data +public class EquipmentinspectionrecordsPagination 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("inspectionTicketNumber") + private Object inspectionTicketNumber; + /** 空间id */ + @JsonProperty("spaceId") + private Object spaceId; + /** 空间名称 */ + @JsonProperty("spaceName") + private Object spaceName; + /** 设备id */ + @JsonProperty("equipmentId") + private Object equipmentId; + /** 设备编码 */ + @JsonProperty("equipmentNumber") + private Object equipmentNumber; + /** 设备名称 */ + @JsonProperty("equipmentName") + private Object equipmentName; +} diff --git a/jnpf-java-boot/jnpf-example/jnpf-example-entity/src/main/java/jnpf/model/equipmentmaintenancerecords/EquipmentMaintenanceRecordsConstant.java b/jnpf-java-boot/jnpf-example/jnpf-example-entity/src/main/java/jnpf/model/equipmentmaintenancerecords/EquipmentMaintenanceRecordsConstant.java new file mode 100644 index 0000000..3cad86d --- /dev/null +++ b/jnpf-java-boot/jnpf-example/jnpf-example-entity/src/main/java/jnpf/model/equipmentmaintenancerecords/EquipmentMaintenanceRecordsConstant.java @@ -0,0 +1,41 @@ +package jnpf.model.equipmentmaintenancerecords; + +import jnpf.util.JsonUtil; +import java.util.Map; + +/** + * EquipmentMaintenanceRecords配置json + * + * @版本: V3.5 + * @版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * @作者: JNPF开发平台组 + * @日期: 2024-07-17 + */ +public class EquipmentMaintenanceRecordsConstant{ + /** 数据库链接 */ + public static final String DBLINKID = "0"; + /** 表别名 map */ + public static final Map TABLERENAMES = JsonUtil.getJsonToBean("{\"yq_equipment_maintenance_records\":\"EquipmentMaintenanceRecords\"}",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\":118,\"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\":\"1000px\",\"hasConfirmBtn\":true,\"formStyle\":\"\",\"fields\":[{\"__config__\":{\"formId\":101,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"billRule\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"rule\":\"baoxiudanhao\",\"className\":[],\"label\":\"维修单号\",\"trigger\":\"change\",\"showLabel\":true,\"required\":false,\"tableName\":\"yq_equipment_maintenance_records\",\"renderKey\":1721107672151,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-documents\",\"ruleName\":\"报修单号\",\"tag\":\"JnpfInput\",\"span\":8},\"readonly\":true,\"__vModel__\":\"repairOrderNumber\",\"style\":{\"width\":\"100%\"},\"placeholder\":\"系统自动生成\"},{\"filterable\":false,\"clearable\":true,\"__config__\":{\"formId\":114,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"582899869732044933\",\"noShow\":false,\"dataType\":\"dynamic\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"报修单id\",\"trigger\":\"change\",\"propsUrl\":\"583200623768371397\",\"templateJson\":[],\"showLabel\":true,\"required\":true,\"tableName\":\"yq_equipment_maintenance_records\",\"renderKey\":1721195485898,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"查询全部报修记录\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":8},\"multiple\":false,\"__vModel__\":\"repairId\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"placeholder\":\"请选择\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"}},{\"clearable\":true,\"suffixIcon\":\"\",\"addonAfter\":\"\",\"__config__\":{\"formId\":103,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"设备编码\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"yq_equipment_maintenance_records\",\"renderKey\":1721107977851,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"number\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"suffixIcon\":\"\",\"addonAfter\":\"\",\"__config__\":{\"formId\":104,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"设备名称\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"yq_equipment_maintenance_records\",\"renderKey\":1721108022610,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"name\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"filterable\":false,\"clearable\":true,\"__config__\":{\"formId\":115,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"1\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"维修方式\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":true,\"tableName\":\"yq_equipment_maintenance_records\",\"renderKey\":1721195689512,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":8},\"options\":[{\"fullName\":\"保修期内\",\"id\":\"1\"},{\"fullName\":\"更换配件\",\"id\":\"2\"},{\"fullName\":\"更换设备\",\"id\":\"3\"}],\"multiple\":false,\"__vModel__\":\"maintenanceMethods\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"placeholder\":\"请选择\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"}},{\"filterable\":false,\"clearable\":true,\"__config__\":{\"formId\":116,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"2\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"维修进度\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":true,\"tableName\":\"yq_equipment_maintenance_records\",\"renderKey\":1721195690182,\"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__\":\"maintenancePlan\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"placeholder\":\"请选择\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"}},{\"clearable\":true,\"suffixIcon\":\"\",\"addonAfter\":\"\",\"__config__\":{\"formId\":105,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"维修人\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"yq_equipment_maintenance_records\",\"renderKey\":1721108046625,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"maintenancePersonnel\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"__config__\":{\"endRelationField\":\"\",\"dragDisabled\":false,\"className\":[],\"showLabel\":true,\"required\":true,\"tableName\":\"yq_equipment_maintenance_records\",\"renderKey\":1721108145152,\"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__\":\"maintenanceDate\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请选择\",\"type\":\"date\"},{\"filterable\":false,\"clearable\":true,\"__config__\":{\"formId\":109,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"2\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"是否产生费用\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"yq_equipment_maintenance_records\",\"renderKey\":1721108168860,\"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__\":\"expensesIncurred\",\"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\":\"yq_equipment_maintenance_records\",\"renderKey\":1721108063437,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[{\"pattern\":\"/^\\\\d+$/\",\"message\":\"请输入正确的数字\"}],\"span\":8},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"costAmount\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"filterable\":false,\"clearable\":true,\"__config__\":{\"formId\":117,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"2\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"是否计入租户账单\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"yq_equipment_maintenance_records\",\"renderKey\":1721195902729,\"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__\":\"tenantBill\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"placeholder\":\"请选择\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"}},{\"clearable\":true,\"suffixIcon\":\"\",\"addonAfter\":\"\",\"__config__\":{\"formId\":118,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"费用说明\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"yq_equipment_maintenance_records\",\"renderKey\":1721195931802,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"costDetail\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"autoSize\":{\"minRows\":4,\"maxRows\":4},\"__config__\":{\"formId\":111,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"textarea\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"维修描述\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"yq_equipment_maintenance_records\",\"renderKey\":1721108216980,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-textarea\",\"tag\":\"JnpfTextarea\",\"regList\":[],\"span\":24},\"readonly\":false,\"showWordLimit\":true,\"__vModel__\":\"maintenanceDescribe\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"type\":\"textarea\"},{\"showTip\":false,\"isAccount\":0,\"pathType\":\"defaultPath\",\"accept\":\"\",\"__config__\":{\"formId\":113,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"uploadImg\",\"defaultValue\":[],\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"维修照片\",\"trigger\":\"change\",\"showLabel\":true,\"required\":false,\"tableName\":\"yq_equipment_maintenance_records\",\"renderKey\":1721108295948,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-upload\",\"tag\":\"JnpfUploadImg\",\"regList\":[],\"span\":8},\"folder\":\"\",\"fileSize\":10,\"limit\":9,\"__vModel__\":\"repairPhoto\",\"sizeUnit\":\"MB\",\"tipText\":\"\",\"disabled\":false}],\"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\":3,\"jnpfKey\":\"datePicker\",\"format\":\"yyyy-MM-dd\",\"fullName\":\"维修时间\",\"label\":\"维修时间\",\"type\":\"date\",\"__config__\":{\"endRelationField\":\"\",\"dragDisabled\":false,\"className\":[],\"showLabel\":true,\"required\":true,\"tableName\":\"yq_equipment_maintenance_records\",\"renderKey\":1721108145152,\"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\":\"maintenanceDate\",\"__vModel__\":\"maintenanceDate\",\"searchMultiple\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"maintenanceDate\",\"placeholder\":\"请选择\",\"value\":[]},{\"clearable\":true,\"searchType\":2,\"jnpfKey\":\"input\",\"suffixIcon\":\"\",\"fullName\":\"设备编码\",\"label\":\"设备编码\",\"addonAfter\":\"\",\"__config__\":{\"formId\":103,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"设备编码\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"yq_equipment_maintenance_records\",\"renderKey\":1721107977851,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"number\",\"showWordLimit\":false,\"__vModel__\":\"number\",\"searchMultiple\":false,\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"number\",\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"searchType\":2,\"jnpfKey\":\"input\",\"suffixIcon\":\"\",\"fullName\":\"设备名称\",\"label\":\"设备名称\",\"addonAfter\":\"\",\"__config__\":{\"formId\":104,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"设备名称\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"yq_equipment_maintenance_records\",\"renderKey\":1721108022610,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"name\",\"showWordLimit\":false,\"__vModel__\":\"name\",\"searchMultiple\":false,\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"name\",\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"filterable\":false,\"clearable\":true,\"searchType\":1,\"jnpfKey\":\"select\",\"multiple\":false,\"fullName\":\"维修进度\",\"label\":\"维修进度\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"},\"__config__\":{\"formId\":116,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"2\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"维修进度\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":true,\"tableName\":\"yq_equipment_maintenance_records\",\"renderKey\":1721195690182,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":8},\"prop\":\"maintenancePlan\",\"options\":[{\"fullName\":\"维修中\",\"id\":\"1\"},{\"fullName\":\"已维修\",\"id\":\"2\"}],\"__vModel__\":\"maintenancePlan\",\"searchMultiple\":true,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"id\":\"maintenancePlan\",\"placeholder\":\"请选择\",\"value\":[]}],\"treeInterfaceId\":\"\",\"treePropsValue\":\"id\",\"ruleList\":{\"conditionList\":[],\"matchLogic\":\"and\"},\"childTableStyle\":1,\"columnOptions\":[{\"__config__\":{\"formId\":101,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"billRule\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"rule\":\"baoxiudanhao\",\"className\":[],\"label\":\"维修单号\",\"trigger\":\"change\",\"showLabel\":true,\"required\":false,\"tableName\":\"yq_equipment_maintenance_records\",\"renderKey\":1721107672151,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-documents\",\"ruleName\":\"报修单号\",\"tag\":\"JnpfInput\",\"span\":8},\"readonly\":true,\"__vModel__\":\"repairOrderNumber\",\"fullName\":\"维修单号\",\"style\":{\"width\":\"100%\"},\"id\":\"repairOrderNumber\",\"placeholder\":\"系统自动生成\"},{\"filterable\":false,\"clearable\":true,\"multiple\":false,\"fullName\":\"报修单id\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"},\"__config__\":{\"formId\":114,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"582899869732044933\",\"noShow\":false,\"dataType\":\"dynamic\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"报修单id\",\"trigger\":\"change\",\"propsUrl\":\"583200623768371397\",\"templateJson\":[],\"showLabel\":true,\"required\":true,\"tableName\":\"yq_equipment_maintenance_records\",\"renderKey\":1721195485898,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"查询全部报修记录\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":8},\"__vModel__\":\"repairId\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"id\":\"repairId\",\"placeholder\":\"请选择\"},{\"clearable\":true,\"suffixIcon\":\"\",\"fullName\":\"设备编码\",\"addonAfter\":\"\",\"__config__\":{\"formId\":103,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"设备编码\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"yq_equipment_maintenance_records\",\"renderKey\":1721107977851,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"number\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"number\",\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"suffixIcon\":\"\",\"fullName\":\"设备名称\",\"addonAfter\":\"\",\"__config__\":{\"formId\":104,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"设备名称\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"yq_equipment_maintenance_records\",\"renderKey\":1721108022610,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"name\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"name\",\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"filterable\":false,\"clearable\":true,\"multiple\":false,\"fullName\":\"维修方式\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"},\"__config__\":{\"formId\":115,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"1\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"维修方式\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":true,\"tableName\":\"yq_equipment_maintenance_records\",\"renderKey\":1721195689512,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":8},\"options\":[{\"fullName\":\"保修期内\",\"id\":\"1\"},{\"fullName\":\"更换配件\",\"id\":\"2\"},{\"fullName\":\"更换设备\",\"id\":\"3\"}],\"__vModel__\":\"maintenanceMethods\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"id\":\"maintenanceMethods\",\"placeholder\":\"请选择\"},{\"filterable\":false,\"clearable\":true,\"multiple\":false,\"fullName\":\"维修进度\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"},\"__config__\":{\"formId\":116,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"2\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"维修进度\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":true,\"tableName\":\"yq_equipment_maintenance_records\",\"renderKey\":1721195690182,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":8},\"options\":[{\"fullName\":\"维修中\",\"id\":\"1\"},{\"fullName\":\"已维修\",\"id\":\"2\"}],\"__vModel__\":\"maintenancePlan\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"id\":\"maintenancePlan\",\"placeholder\":\"请选择\"},{\"clearable\":true,\"suffixIcon\":\"\",\"fullName\":\"维修人\",\"addonAfter\":\"\",\"__config__\":{\"formId\":105,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"维修人\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"yq_equipment_maintenance_records\",\"renderKey\":1721108046625,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"maintenancePersonnel\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"maintenancePersonnel\",\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"format\":\"yyyy-MM-dd\",\"fullName\":\"维修时间\",\"type\":\"date\",\"__config__\":{\"endRelationField\":\"\",\"dragDisabled\":false,\"className\":[],\"showLabel\":true,\"required\":true,\"tableName\":\"yq_equipment_maintenance_records\",\"renderKey\":1721108145152,\"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__\":\"maintenanceDate\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"maintenanceDate\",\"placeholder\":\"请选择\"},{\"filterable\":false,\"clearable\":true,\"multiple\":false,\"fullName\":\"是否产生费用\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"},\"__config__\":{\"formId\":109,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"2\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"是否产生费用\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"yq_equipment_maintenance_records\",\"renderKey\":1721108168860,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":8},\"options\":[{\"fullName\":\"是\",\"id\":\"1\"},{\"fullName\":\"否\",\"id\":\"2\"}],\"__vModel__\":\"expensesIncurred\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"id\":\"expensesIncurred\",\"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\":\"yq_equipment_maintenance_records\",\"renderKey\":1721108063437,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[{\"pattern\":\"/^\\\\d+$/\",\"message\":\"请输入正确的数字\"}],\"span\":8},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"costAmount\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"costAmount\",\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"filterable\":false,\"clearable\":true,\"multiple\":false,\"fullName\":\"是否计入租户账单\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"},\"__config__\":{\"formId\":117,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"2\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"是否计入租户账单\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"yq_equipment_maintenance_records\",\"renderKey\":1721195902729,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":8},\"options\":[{\"fullName\":\"是 \",\"id\":\"1\"},{\"fullName\":\"否\",\"id\":\"2\"}],\"__vModel__\":\"tenantBill\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"id\":\"tenantBill\",\"placeholder\":\"请选择\"},{\"clearable\":true,\"suffixIcon\":\"\",\"fullName\":\"费用说明\",\"addonAfter\":\"\",\"__config__\":{\"formId\":118,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"费用说明\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"yq_equipment_maintenance_records\",\"renderKey\":1721195931802,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"costDetail\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"costDetail\",\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"fullName\":\"维修描述\",\"type\":\"textarea\",\"autoSize\":{\"minRows\":4,\"maxRows\":4},\"__config__\":{\"formId\":111,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"textarea\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"维修描述\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"yq_equipment_maintenance_records\",\"renderKey\":1721108216980,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-textarea\",\"tag\":\"JnpfTextarea\",\"regList\":[],\"span\":24},\"readonly\":false,\"showWordLimit\":true,\"__vModel__\":\"maintenanceDescribe\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"maintenanceDescribe\",\"placeholder\":\"请输入\"}],\"pageSize\":20,\"treePropsChildren\":\"children\",\"type\":1,\"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\":[{\"jnpfKey\":\"billRule\",\"fullName\":\"维修单号\",\"label\":\"维修单号\",\"sortable\":false,\"align\":\"left\",\"__config__\":{\"formId\":101,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"billRule\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"rule\":\"baoxiudanhao\",\"className\":[],\"label\":\"维修单号\",\"trigger\":\"change\",\"showLabel\":true,\"required\":false,\"tableName\":\"yq_equipment_maintenance_records\",\"renderKey\":1721107672151,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-documents\",\"ruleName\":\"报修单号\",\"tag\":\"JnpfInput\",\"span\":8},\"readonly\":true,\"prop\":\"repairOrderNumber\",\"__vModel__\":\"repairOrderNumber\",\"checked\":true,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"id\":\"repairOrderNumber\",\"placeholder\":\"系统自动生成\"},{\"filterable\":false,\"clearable\":true,\"jnpfKey\":\"select\",\"multiple\":false,\"fullName\":\"报修单id\",\"label\":\"报修单id\",\"sortable\":false,\"align\":\"left\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"},\"__config__\":{\"formId\":114,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"582899869732044933\",\"noShow\":false,\"dataType\":\"dynamic\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"报修单id\",\"trigger\":\"change\",\"propsUrl\":\"583200623768371397\",\"templateJson\":[],\"showLabel\":true,\"required\":true,\"tableName\":\"yq_equipment_maintenance_records\",\"renderKey\":1721195485898,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"查询全部报修记录\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":8},\"prop\":\"repairId\",\"__vModel__\":\"repairId\",\"checked\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"id\":\"repairId\",\"placeholder\":\"请选择\"},{\"suffixIcon\":\"\",\"align\":\"left\",\"__config__\":{\"formId\":103,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"设备编码\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"yq_equipment_maintenance_records\",\"renderKey\":1721107977851,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"number\",\"showWordLimit\":false,\"__vModel__\":\"number\",\"checked\":true,\"disabled\":false,\"id\":\"number\",\"placeholder\":\"请输入\",\"addonBefore\":\"\",\"clearable\":true,\"jnpfKey\":\"input\",\"fullName\":\"设备编码\",\"label\":\"设备编码\",\"sortable\":false,\"addonAfter\":\"\",\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"prefixIcon\":\"\"},{\"suffixIcon\":\"\",\"align\":\"left\",\"__config__\":{\"formId\":104,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"设备名称\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"yq_equipment_maintenance_records\",\"renderKey\":1721108022610,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"name\",\"showWordLimit\":false,\"__vModel__\":\"name\",\"checked\":true,\"disabled\":false,\"id\":\"name\",\"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\":115,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"1\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"维修方式\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":true,\"tableName\":\"yq_equipment_maintenance_records\",\"renderKey\":1721195689512,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":8},\"prop\":\"maintenanceMethods\",\"options\":[{\"fullName\":\"保修期内\",\"id\":\"1\"},{\"fullName\":\"更换配件\",\"id\":\"2\"},{\"fullName\":\"更换设备\",\"id\":\"3\"}],\"__vModel__\":\"maintenanceMethods\",\"checked\":true,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"id\":\"maintenanceMethods\",\"placeholder\":\"请选择\"},{\"filterable\":false,\"clearable\":true,\"jnpfKey\":\"select\",\"multiple\":false,\"fullName\":\"维修进度\",\"label\":\"维修进度\",\"sortable\":false,\"align\":\"left\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"},\"__config__\":{\"formId\":116,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"2\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"维修进度\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":true,\"tableName\":\"yq_equipment_maintenance_records\",\"renderKey\":1721195690182,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":8},\"prop\":\"maintenancePlan\",\"options\":[{\"fullName\":\"维修中\",\"id\":\"1\"},{\"fullName\":\"已维修\",\"id\":\"2\"}],\"__vModel__\":\"maintenancePlan\",\"checked\":true,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"id\":\"maintenancePlan\",\"placeholder\":\"请选择\"},{\"suffixIcon\":\"\",\"align\":\"left\",\"__config__\":{\"formId\":105,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"维修人\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"yq_equipment_maintenance_records\",\"renderKey\":1721108046625,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"maintenancePersonnel\",\"showWordLimit\":false,\"__vModel__\":\"maintenancePersonnel\",\"checked\":true,\"disabled\":false,\"id\":\"maintenancePersonnel\",\"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\":true,\"tableName\":\"yq_equipment_maintenance_records\",\"renderKey\":1721108145152,\"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\":\"maintenanceDate\",\"__vModel__\":\"maintenanceDate\",\"checked\":true,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"maintenanceDate\",\"placeholder\":\"请选择\"},{\"filterable\":false,\"clearable\":true,\"jnpfKey\":\"select\",\"multiple\":false,\"fullName\":\"是否产生费用\",\"label\":\"是否产生费用\",\"sortable\":false,\"align\":\"left\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"},\"__config__\":{\"formId\":109,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"2\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"是否产生费用\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"yq_equipment_maintenance_records\",\"renderKey\":1721108168860,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":8},\"prop\":\"expensesIncurred\",\"options\":[{\"fullName\":\"是\",\"id\":\"1\"},{\"fullName\":\"否\",\"id\":\"2\"}],\"__vModel__\":\"expensesIncurred\",\"checked\":true,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"id\":\"expensesIncurred\",\"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\":\"yq_equipment_maintenance_records\",\"renderKey\":1721108063437,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[{\"pattern\":\"/^\\\\d+$/\",\"message\":\"请输入正确的数字\"}],\"span\":8},\"readonly\":false,\"prop\":\"costAmount\",\"showWordLimit\":false,\"__vModel__\":\"costAmount\",\"checked\":true,\"disabled\":false,\"id\":\"costAmount\",\"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\":117,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"2\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"是否计入租户账单\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"yq_equipment_maintenance_records\",\"renderKey\":1721195902729,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":8},\"prop\":\"tenantBill\",\"options\":[{\"fullName\":\"是 \",\"id\":\"1\"},{\"fullName\":\"否\",\"id\":\"2\"}],\"__vModel__\":\"tenantBill\",\"checked\":true,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"id\":\"tenantBill\",\"placeholder\":\"请选择\"},{\"suffixIcon\":\"\",\"align\":\"left\",\"__config__\":{\"formId\":118,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"费用说明\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"yq_equipment_maintenance_records\",\"renderKey\":1721195931802,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"costDetail\",\"showWordLimit\":false,\"__vModel__\":\"costDetail\",\"checked\":true,\"disabled\":false,\"id\":\"costDetail\",\"placeholder\":\"请输入\",\"addonBefore\":\"\",\"clearable\":true,\"jnpfKey\":\"input\",\"fullName\":\"费用说明\",\"label\":\"费用说明\",\"sortable\":false,\"addonAfter\":\"\",\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"prefixIcon\":\"\"},{\"jnpfKey\":\"textarea\",\"fullName\":\"维修描述\",\"label\":\"维修描述\",\"sortable\":false,\"align\":\"left\",\"type\":\"textarea\",\"autoSize\":{\"minRows\":4,\"maxRows\":4},\"__config__\":{\"formId\":111,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"textarea\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"维修描述\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"yq_equipment_maintenance_records\",\"renderKey\":1721108216980,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-textarea\",\"tag\":\"JnpfTextarea\",\"regList\":[],\"span\":24},\"readonly\":false,\"prop\":\"maintenanceDescribe\",\"showWordLimit\":true,\"__vModel__\":\"maintenanceDescribe\",\"checked\":true,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"maintenanceDescribe\",\"placeholder\":\"请输入\"}],\"treeTemplateJson\":[],\"treePropsName\":\"\",\"useColumnPermission\":false,\"treePropsUrl\":\"\",\"treeRelation\":\"\",\"treeSynType\":0,\"btnsList\":[{\"icon\":\"icon-ym icon-ym-btn-add\",\"label\":\"新增\",\"value\":\"add\"}],\"useDataPermission\":false,\"columnList\":[{\"jnpfKey\":\"billRule\",\"fullName\":\"维修单号\",\"label\":\"维修单号\",\"sortable\":false,\"align\":\"left\",\"__config__\":{\"formId\":101,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"billRule\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"rule\":\"baoxiudanhao\",\"className\":[],\"label\":\"维修单号\",\"trigger\":\"change\",\"showLabel\":true,\"required\":false,\"tableName\":\"yq_equipment_maintenance_records\",\"renderKey\":1721107672151,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-documents\",\"ruleName\":\"报修单号\",\"tag\":\"JnpfInput\",\"span\":8},\"readonly\":true,\"prop\":\"repairOrderNumber\",\"width\":0,\"__vModel__\":\"repairOrderNumber\",\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"id\":\"repairOrderNumber\",\"placeholder\":\"系统自动生成\"},{\"clearable\":true,\"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\":\"yq_equipment_maintenance_records\",\"renderKey\":1721107977851,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"number\",\"showWordLimit\":false,\"width\":0,\"__vModel__\":\"number\",\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"number\",\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"jnpfKey\":\"input\",\"suffixIcon\":\"\",\"fullName\":\"设备名称\",\"label\":\"设备名称\",\"sortable\":false,\"align\":\"left\",\"addonAfter\":\"\",\"__config__\":{\"formId\":104,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"设备名称\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"yq_equipment_maintenance_records\",\"renderKey\":1721108022610,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"name\",\"showWordLimit\":false,\"width\":0,\"__vModel__\":\"name\",\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"name\",\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"jnpfKey\":\"input\",\"suffixIcon\":\"\",\"fullName\":\"维修人\",\"label\":\"维修人\",\"sortable\":false,\"align\":\"left\",\"addonAfter\":\"\",\"__config__\":{\"formId\":105,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"维修人\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"yq_equipment_maintenance_records\",\"renderKey\":1721108046625,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"maintenancePersonnel\",\"showWordLimit\":false,\"width\":0,\"__vModel__\":\"maintenancePersonnel\",\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"maintenancePersonnel\",\"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\":true,\"tableName\":\"yq_equipment_maintenance_records\",\"renderKey\":1721108145152,\"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\":\"maintenanceDate\",\"width\":0,\"__vModel__\":\"maintenanceDate\",\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"maintenanceDate\",\"placeholder\":\"请选择\"},{\"filterable\":false,\"clearable\":true,\"jnpfKey\":\"select\",\"multiple\":false,\"fullName\":\"维修方式\",\"label\":\"维修方式\",\"sortable\":false,\"align\":\"left\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"},\"__config__\":{\"formId\":115,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"1\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"维修方式\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":true,\"tableName\":\"yq_equipment_maintenance_records\",\"renderKey\":1721195689512,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":8},\"prop\":\"maintenanceMethods\",\"width\":0,\"options\":[{\"fullName\":\"保修期内\",\"id\":\"1\"},{\"fullName\":\"更换配件\",\"id\":\"2\"},{\"fullName\":\"更换设备\",\"id\":\"3\"}],\"__vModel__\":\"maintenanceMethods\",\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"id\":\"maintenanceMethods\",\"placeholder\":\"请选择\"},{\"jnpfKey\":\"textarea\",\"fullName\":\"维修描述\",\"label\":\"维修描述\",\"sortable\":false,\"align\":\"left\",\"type\":\"textarea\",\"autoSize\":{\"minRows\":4,\"maxRows\":4},\"__config__\":{\"formId\":111,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"textarea\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"维修描述\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"yq_equipment_maintenance_records\",\"renderKey\":1721108216980,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-textarea\",\"tag\":\"JnpfTextarea\",\"regList\":[],\"span\":24},\"readonly\":false,\"prop\":\"maintenanceDescribe\",\"showWordLimit\":true,\"width\":0,\"__vModel__\":\"maintenanceDescribe\",\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"maintenanceDescribe\",\"placeholder\":\"请输入\"},{\"filterable\":false,\"clearable\":true,\"jnpfKey\":\"select\",\"multiple\":false,\"fullName\":\"维修进度\",\"label\":\"维修进度\",\"sortable\":false,\"align\":\"left\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"},\"__config__\":{\"formId\":116,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"2\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"维修进度\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":true,\"tableName\":\"yq_equipment_maintenance_records\",\"renderKey\":1721195690182,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":8},\"prop\":\"maintenancePlan\",\"width\":0,\"options\":[{\"fullName\":\"维修中\",\"id\":\"1\"},{\"fullName\":\"已维修\",\"id\":\"2\"}],\"__vModel__\":\"maintenancePlan\",\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"id\":\"maintenancePlan\",\"placeholder\":\"请选择\"},{\"filterable\":false,\"clearable\":true,\"jnpfKey\":\"select\",\"multiple\":false,\"fullName\":\"是否产生费用\",\"label\":\"是否产生费用\",\"sortable\":false,\"align\":\"left\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"},\"__config__\":{\"formId\":109,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"2\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"是否产生费用\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"yq_equipment_maintenance_records\",\"renderKey\":1721108168860,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":8},\"prop\":\"expensesIncurred\",\"width\":0,\"options\":[{\"fullName\":\"是\",\"id\":\"1\"},{\"fullName\":\"否\",\"id\":\"2\"}],\"__vModel__\":\"expensesIncurred\",\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"id\":\"expensesIncurred\",\"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\":\"yq_equipment_maintenance_records\",\"renderKey\":1721108063437,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[{\"pattern\":\"/^\\\\d+$/\",\"message\":\"请输入正确的数字\"}],\"span\":8},\"readonly\":false,\"prop\":\"costAmount\",\"showWordLimit\":false,\"width\":0,\"__vModel__\":\"costAmount\",\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"costAmount\",\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"jnpfKey\":\"input\",\"suffixIcon\":\"\",\"fullName\":\"费用说明\",\"label\":\"费用说明\",\"sortable\":false,\"align\":\"left\",\"addonAfter\":\"\",\"__config__\":{\"formId\":118,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"费用说明\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"yq_equipment_maintenance_records\",\"renderKey\":1721195931802,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"costDetail\",\"showWordLimit\":false,\"width\":0,\"__vModel__\":\"costDetail\",\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"costDetail\",\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"filterable\":false,\"clearable\":true,\"jnpfKey\":\"select\",\"multiple\":false,\"fullName\":\"是否计入租户账单\",\"label\":\"是否计入租户账单\",\"sortable\":false,\"align\":\"left\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"},\"__config__\":{\"formId\":117,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"2\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"是否计入租户账单\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"yq_equipment_maintenance_records\",\"renderKey\":1721195902729,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":8},\"prop\":\"tenantBill\",\"width\":0,\"options\":[{\"fullName\":\"是 \",\"id\":\"1\"},{\"fullName\":\"否\",\"id\":\"2\"}],\"__vModel__\":\"tenantBill\",\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"id\":\"tenantBill\",\"placeholder\":\"请选择\"}],\"sort\":\"desc\",\"thousands\":false,\"hasSuperQuery\":true,\"summaryField\":[],\"parentField\":\"\",\"treePropsLabel\":\"fullName\",\"treeDataSource\":\"dictionary\",\"groupField\":\"\",\"printIds\":[],\"uploaderTemplateJson\":{},\"treeDictionary\":\"\",\"hasTreeQuery\":false,\"useFormPermission\":false,\"customBtnsList\":[],\"complexHeaderList\":[],\"useBtnPermission\":false,\"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\":[{\"jnpfKey\":\"billRule\",\"fullName\":\"维修单号\",\"label\":\"维修单号\",\"sortable\":false,\"align\":\"left\",\"__config__\":{\"formId\":101,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"billRule\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"rule\":\"baoxiudanhao\",\"className\":[],\"label\":\"维修单号\",\"trigger\":\"change\",\"showLabel\":true,\"required\":false,\"tableName\":\"yq_equipment_maintenance_records\",\"renderKey\":1721107672151,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-documents\",\"ruleName\":\"报修单号\",\"tag\":\"JnpfInput\",\"span\":8},\"readonly\":true,\"prop\":\"repairOrderNumber\",\"width\":0,\"__vModel__\":\"repairOrderNumber\",\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"id\":\"repairOrderNumber\",\"placeholder\":\"系统自动生成\"},{\"clearable\":true,\"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\":\"yq_equipment_maintenance_records\",\"renderKey\":1721107977851,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"number\",\"showWordLimit\":false,\"width\":0,\"__vModel__\":\"number\",\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"number\",\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"jnpfKey\":\"input\",\"suffixIcon\":\"\",\"fullName\":\"设备名称\",\"label\":\"设备名称\",\"sortable\":false,\"align\":\"left\",\"addonAfter\":\"\",\"__config__\":{\"formId\":104,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"设备名称\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"yq_equipment_maintenance_records\",\"renderKey\":1721108022610,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"name\",\"showWordLimit\":false,\"width\":0,\"__vModel__\":\"name\",\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"name\",\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"jnpfKey\":\"input\",\"suffixIcon\":\"\",\"fullName\":\"维修人\",\"label\":\"维修人\",\"sortable\":false,\"align\":\"left\",\"addonAfter\":\"\",\"__config__\":{\"formId\":105,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"维修人\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"yq_equipment_maintenance_records\",\"renderKey\":1721108046625,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"maintenancePersonnel\",\"showWordLimit\":false,\"width\":0,\"__vModel__\":\"maintenancePersonnel\",\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"maintenancePersonnel\",\"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\":true,\"tableName\":\"yq_equipment_maintenance_records\",\"renderKey\":1721108145152,\"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\":\"maintenanceDate\",\"width\":0,\"__vModel__\":\"maintenanceDate\",\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"maintenanceDate\",\"placeholder\":\"请选择\"},{\"filterable\":false,\"clearable\":true,\"jnpfKey\":\"select\",\"multiple\":false,\"fullName\":\"维修方式\",\"label\":\"维修方式\",\"sortable\":false,\"align\":\"left\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"},\"__config__\":{\"formId\":115,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"1\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"维修方式\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":true,\"tableName\":\"yq_equipment_maintenance_records\",\"renderKey\":1721195689512,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":8},\"prop\":\"maintenanceMethods\",\"width\":0,\"options\":[{\"fullName\":\"保修期内\",\"id\":\"1\"},{\"fullName\":\"更换配件\",\"id\":\"2\"},{\"fullName\":\"更换设备\",\"id\":\"3\"}],\"__vModel__\":\"maintenanceMethods\",\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"id\":\"maintenanceMethods\",\"placeholder\":\"请选择\"},{\"jnpfKey\":\"textarea\",\"fullName\":\"维修描述\",\"label\":\"维修描述\",\"sortable\":false,\"align\":\"left\",\"type\":\"textarea\",\"autoSize\":{\"minRows\":4,\"maxRows\":4},\"__config__\":{\"formId\":111,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"textarea\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"维修描述\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"yq_equipment_maintenance_records\",\"renderKey\":1721108216980,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-textarea\",\"tag\":\"JnpfTextarea\",\"regList\":[],\"span\":24},\"readonly\":false,\"prop\":\"maintenanceDescribe\",\"showWordLimit\":true,\"width\":0,\"__vModel__\":\"maintenanceDescribe\",\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"maintenanceDescribe\",\"placeholder\":\"请输入\"},{\"filterable\":false,\"clearable\":true,\"jnpfKey\":\"select\",\"multiple\":false,\"fullName\":\"维修进度\",\"label\":\"维修进度\",\"sortable\":false,\"align\":\"left\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"},\"__config__\":{\"formId\":116,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"2\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"维修进度\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":true,\"tableName\":\"yq_equipment_maintenance_records\",\"renderKey\":1721195690182,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":8},\"prop\":\"maintenancePlan\",\"width\":0,\"options\":[{\"fullName\":\"维修中\",\"id\":\"1\"},{\"fullName\":\"已维修\",\"id\":\"2\"}],\"__vModel__\":\"maintenancePlan\",\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"id\":\"maintenancePlan\",\"placeholder\":\"请选择\"},{\"filterable\":false,\"clearable\":true,\"jnpfKey\":\"select\",\"multiple\":false,\"fullName\":\"是否产生费用\",\"label\":\"是否产生费用\",\"sortable\":false,\"align\":\"left\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"},\"__config__\":{\"formId\":109,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"2\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"是否产生费用\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"yq_equipment_maintenance_records\",\"renderKey\":1721108168860,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":8},\"prop\":\"expensesIncurred\",\"width\":0,\"options\":[{\"fullName\":\"是\",\"id\":\"1\"},{\"fullName\":\"否\",\"id\":\"2\"}],\"__vModel__\":\"expensesIncurred\",\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"id\":\"expensesIncurred\",\"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\":\"yq_equipment_maintenance_records\",\"renderKey\":1721108063437,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[{\"pattern\":\"/^\\\\d+$/\",\"message\":\"请输入正确的数字\"}],\"span\":8},\"readonly\":false,\"prop\":\"costAmount\",\"showWordLimit\":false,\"width\":0,\"__vModel__\":\"costAmount\",\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"costAmount\",\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"jnpfKey\":\"input\",\"suffixIcon\":\"\",\"fullName\":\"费用说明\",\"label\":\"费用说明\",\"sortable\":false,\"align\":\"left\",\"addonAfter\":\"\",\"__config__\":{\"formId\":118,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"费用说明\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"yq_equipment_maintenance_records\",\"renderKey\":1721195931802,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"costDetail\",\"showWordLimit\":false,\"width\":0,\"__vModel__\":\"costDetail\",\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"costDetail\",\"placeholder\":\"请输入\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"filterable\":false,\"clearable\":true,\"jnpfKey\":\"select\",\"multiple\":false,\"fullName\":\"是否计入租户账单\",\"label\":\"是否计入租户账单\",\"sortable\":false,\"align\":\"left\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"},\"__config__\":{\"formId\":117,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"2\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"是否计入租户账单\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"yq_equipment_maintenance_records\",\"renderKey\":1721195902729,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":8},\"prop\":\"tenantBill\",\"width\":0,\"options\":[{\"fullName\":\"是 \",\"id\":\"1\"},{\"fullName\":\"否\",\"id\":\"2\"}],\"__vModel__\":\"tenantBill\",\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"id\":\"tenantBill\",\"placeholder\":\"请选择\"}],\"columnOptions\":[{\"__config__\":{\"formId\":101,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"billRule\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"rule\":\"baoxiudanhao\",\"className\":[],\"label\":\"维修单号\",\"trigger\":\"change\",\"showLabel\":true,\"required\":false,\"tableName\":\"yq_equipment_maintenance_records\",\"renderKey\":1721107672151,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-documents\",\"ruleName\":\"报修单号\",\"tag\":\"JnpfInput\",\"span\":8},\"readonly\":true,\"__vModel__\":\"repairOrderNumber\",\"fullName\":\"维修单号\",\"style\":{\"width\":\"100%\"},\"placeholder\":\"系统自动生成\",\"id\":\"repairOrderNumber\"},{\"filterable\":false,\"clearable\":true,\"multiple\":false,\"fullName\":\"报修单id\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"},\"__config__\":{\"formId\":114,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"582899869732044933\",\"noShow\":false,\"dataType\":\"dynamic\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"报修单id\",\"trigger\":\"change\",\"propsUrl\":\"583200623768371397\",\"templateJson\":[],\"showLabel\":true,\"required\":true,\"tableName\":\"yq_equipment_maintenance_records\",\"renderKey\":1721195485898,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"查询全部报修记录\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":8},\"__vModel__\":\"repairId\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"placeholder\":\"请选择\",\"id\":\"repairId\"},{\"clearable\":true,\"suffixIcon\":\"\",\"fullName\":\"设备编码\",\"addonAfter\":\"\",\"__config__\":{\"formId\":103,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"设备编码\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"yq_equipment_maintenance_records\",\"renderKey\":1721107977851,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"number\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"id\":\"number\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"suffixIcon\":\"\",\"fullName\":\"设备名称\",\"addonAfter\":\"\",\"__config__\":{\"formId\":104,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"设备名称\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"yq_equipment_maintenance_records\",\"renderKey\":1721108022610,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"name\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"id\":\"name\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"filterable\":false,\"clearable\":true,\"multiple\":false,\"fullName\":\"维修方式\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"},\"__config__\":{\"formId\":115,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"1\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"维修方式\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":true,\"tableName\":\"yq_equipment_maintenance_records\",\"renderKey\":1721195689512,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":8},\"options\":[{\"fullName\":\"保修期内\",\"id\":\"1\"},{\"fullName\":\"更换配件\",\"id\":\"2\"},{\"fullName\":\"更换设备\",\"id\":\"3\"}],\"__vModel__\":\"maintenanceMethods\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"placeholder\":\"请选择\",\"id\":\"maintenanceMethods\"},{\"filterable\":false,\"clearable\":true,\"multiple\":false,\"fullName\":\"维修进度\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"},\"__config__\":{\"formId\":116,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"2\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"维修进度\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":true,\"tableName\":\"yq_equipment_maintenance_records\",\"renderKey\":1721195690182,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":8},\"options\":[{\"fullName\":\"维修中\",\"id\":\"1\"},{\"fullName\":\"已维修\",\"id\":\"2\"}],\"__vModel__\":\"maintenancePlan\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"placeholder\":\"请选择\",\"id\":\"maintenancePlan\"},{\"clearable\":true,\"suffixIcon\":\"\",\"fullName\":\"维修人\",\"addonAfter\":\"\",\"__config__\":{\"formId\":105,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"维修人\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"yq_equipment_maintenance_records\",\"renderKey\":1721108046625,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"maintenancePersonnel\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"id\":\"maintenancePersonnel\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"format\":\"yyyy-MM-dd\",\"fullName\":\"维修时间\",\"type\":\"date\",\"__config__\":{\"endRelationField\":\"\",\"dragDisabled\":false,\"className\":[],\"showLabel\":true,\"required\":true,\"tableName\":\"yq_equipment_maintenance_records\",\"renderKey\":1721108145152,\"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__\":\"maintenanceDate\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请选择\",\"id\":\"maintenanceDate\"},{\"filterable\":false,\"clearable\":true,\"multiple\":false,\"fullName\":\"是否产生费用\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"},\"__config__\":{\"formId\":109,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"2\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"是否产生费用\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"yq_equipment_maintenance_records\",\"renderKey\":1721108168860,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":8},\"options\":[{\"fullName\":\"是\",\"id\":\"1\"},{\"fullName\":\"否\",\"id\":\"2\"}],\"__vModel__\":\"expensesIncurred\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"placeholder\":\"请选择\",\"id\":\"expensesIncurred\"},{\"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\":\"yq_equipment_maintenance_records\",\"renderKey\":1721108063437,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[{\"pattern\":\"/^\\\\d+$/\",\"message\":\"请输入正确的数字\"}],\"span\":8},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"costAmount\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"id\":\"costAmount\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"filterable\":false,\"clearable\":true,\"multiple\":false,\"fullName\":\"是否计入租户账单\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"},\"__config__\":{\"formId\":117,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"2\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"是否计入租户账单\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"yq_equipment_maintenance_records\",\"renderKey\":1721195902729,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":8},\"options\":[{\"fullName\":\"是 \",\"id\":\"1\"},{\"fullName\":\"否\",\"id\":\"2\"}],\"__vModel__\":\"tenantBill\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"placeholder\":\"请选择\",\"id\":\"tenantBill\"},{\"clearable\":true,\"suffixIcon\":\"\",\"fullName\":\"费用说明\",\"addonAfter\":\"\",\"__config__\":{\"formId\":118,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"费用说明\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"yq_equipment_maintenance_records\",\"renderKey\":1721195931802,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"showWordLimit\":false,\"__vModel__\":\"costDetail\",\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"id\":\"costDetail\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"fullName\":\"维修描述\",\"type\":\"textarea\",\"autoSize\":{\"minRows\":4,\"maxRows\":4},\"__config__\":{\"formId\":111,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"textarea\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"维修描述\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"yq_equipment_maintenance_records\",\"renderKey\":1721108216980,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-textarea\",\"tag\":\"JnpfTextarea\",\"regList\":[],\"span\":24},\"readonly\":false,\"showWordLimit\":true,\"__vModel__\":\"maintenanceDescribe\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"id\":\"maintenanceDescribe\"}],\"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\":[{\"jnpfKey\":\"billRule\",\"fullName\":\"维修单号\",\"label\":\"维修单号\",\"sortable\":false,\"align\":\"left\",\"__config__\":{\"formId\":101,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"billRule\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"rule\":\"baoxiudanhao\",\"className\":[],\"label\":\"维修单号\",\"trigger\":\"change\",\"showLabel\":true,\"required\":false,\"tableName\":\"yq_equipment_maintenance_records\",\"renderKey\":1721107672151,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-documents\",\"ruleName\":\"报修单号\",\"tag\":\"JnpfInput\",\"span\":8},\"readonly\":true,\"prop\":\"repairOrderNumber\",\"__vModel__\":\"repairOrderNumber\",\"checked\":false,\"style\":{\"width\":\"100%\"},\"placeholder\":\"系统自动生成\",\"id\":\"repairOrderNumber\"},{\"filterable\":false,\"clearable\":true,\"jnpfKey\":\"select\",\"multiple\":false,\"fullName\":\"报修单id\",\"label\":\"报修单id\",\"sortable\":false,\"align\":\"left\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"},\"__config__\":{\"formId\":114,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"582899869732044933\",\"noShow\":false,\"dataType\":\"dynamic\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"报修单id\",\"trigger\":\"change\",\"propsUrl\":\"583200623768371397\",\"templateJson\":[],\"showLabel\":true,\"required\":true,\"tableName\":\"yq_equipment_maintenance_records\",\"renderKey\":1721195485898,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"查询全部报修记录\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":8},\"prop\":\"repairId\",\"__vModel__\":\"repairId\",\"checked\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"placeholder\":\"请选择\",\"id\":\"repairId\"},{\"clearable\":true,\"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\":\"yq_equipment_maintenance_records\",\"renderKey\":1721107977851,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"number\",\"showWordLimit\":false,\"__vModel__\":\"number\",\"showPassword\":false,\"checked\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"id\":\"number\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"jnpfKey\":\"input\",\"suffixIcon\":\"\",\"fullName\":\"设备名称\",\"label\":\"设备名称\",\"sortable\":false,\"align\":\"left\",\"addonAfter\":\"\",\"__config__\":{\"formId\":104,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"设备名称\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"yq_equipment_maintenance_records\",\"renderKey\":1721108022610,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"name\",\"showWordLimit\":false,\"__vModel__\":\"name\",\"showPassword\":false,\"checked\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"id\":\"name\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"filterable\":false,\"clearable\":true,\"jnpfKey\":\"select\",\"multiple\":false,\"fullName\":\"维修方式\",\"label\":\"维修方式\",\"sortable\":false,\"align\":\"left\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"},\"__config__\":{\"formId\":115,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"1\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"维修方式\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":true,\"tableName\":\"yq_equipment_maintenance_records\",\"renderKey\":1721195689512,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":8},\"prop\":\"maintenanceMethods\",\"options\":[{\"fullName\":\"保修期内\",\"id\":\"1\"},{\"fullName\":\"更换配件\",\"id\":\"2\"},{\"fullName\":\"更换设备\",\"id\":\"3\"}],\"__vModel__\":\"maintenanceMethods\",\"checked\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"placeholder\":\"请选择\",\"id\":\"maintenanceMethods\"},{\"filterable\":false,\"clearable\":true,\"jnpfKey\":\"select\",\"multiple\":false,\"fullName\":\"维修进度\",\"label\":\"维修进度\",\"sortable\":false,\"align\":\"left\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"},\"__config__\":{\"formId\":116,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"2\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"维修进度\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":true,\"tableName\":\"yq_equipment_maintenance_records\",\"renderKey\":1721195690182,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":8},\"prop\":\"maintenancePlan\",\"options\":[{\"fullName\":\"维修中\",\"id\":\"1\"},{\"fullName\":\"已维修\",\"id\":\"2\"}],\"__vModel__\":\"maintenancePlan\",\"checked\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"placeholder\":\"请选择\",\"id\":\"maintenancePlan\"},{\"clearable\":true,\"jnpfKey\":\"input\",\"suffixIcon\":\"\",\"fullName\":\"维修人\",\"label\":\"维修人\",\"sortable\":false,\"align\":\"left\",\"addonAfter\":\"\",\"__config__\":{\"formId\":105,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"维修人\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"yq_equipment_maintenance_records\",\"renderKey\":1721108046625,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"maintenancePersonnel\",\"showWordLimit\":false,\"__vModel__\":\"maintenancePersonnel\",\"showPassword\":false,\"checked\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"id\":\"maintenancePersonnel\",\"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\":true,\"tableName\":\"yq_equipment_maintenance_records\",\"renderKey\":1721108145152,\"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\":\"maintenanceDate\",\"__vModel__\":\"maintenanceDate\",\"checked\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请选择\",\"id\":\"maintenanceDate\"},{\"filterable\":false,\"clearable\":true,\"jnpfKey\":\"select\",\"multiple\":false,\"fullName\":\"是否产生费用\",\"label\":\"是否产生费用\",\"sortable\":false,\"align\":\"left\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"},\"__config__\":{\"formId\":109,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"2\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"是否产生费用\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"yq_equipment_maintenance_records\",\"renderKey\":1721108168860,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":8},\"prop\":\"expensesIncurred\",\"options\":[{\"fullName\":\"是\",\"id\":\"1\"},{\"fullName\":\"否\",\"id\":\"2\"}],\"__vModel__\":\"expensesIncurred\",\"checked\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"placeholder\":\"请选择\",\"id\":\"expensesIncurred\"},{\"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\":\"yq_equipment_maintenance_records\",\"renderKey\":1721108063437,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[{\"pattern\":\"/^\\\\d+$/\",\"message\":\"请输入正确的数字\"}],\"span\":8},\"readonly\":false,\"prop\":\"costAmount\",\"showWordLimit\":false,\"__vModel__\":\"costAmount\",\"showPassword\":false,\"checked\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"id\":\"costAmount\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"filterable\":false,\"clearable\":true,\"jnpfKey\":\"select\",\"multiple\":false,\"fullName\":\"是否计入租户账单\",\"label\":\"是否计入租户账单\",\"sortable\":false,\"align\":\"left\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"},\"__config__\":{\"formId\":117,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"select\",\"defaultValue\":\"2\",\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"是否计入租户账单\",\"trigger\":\"change\",\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"yq_equipment_maintenance_records\",\"renderKey\":1721195902729,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"propsName\":\"\",\"tag\":\"JnpfSelect\",\"regList\":[],\"span\":8},\"prop\":\"tenantBill\",\"options\":[{\"fullName\":\"是 \",\"id\":\"1\"},{\"fullName\":\"否\",\"id\":\"2\"}],\"__vModel__\":\"tenantBill\",\"checked\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"interfaceHasPage\":false,\"placeholder\":\"请选择\",\"id\":\"tenantBill\"},{\"clearable\":true,\"jnpfKey\":\"input\",\"suffixIcon\":\"\",\"fullName\":\"费用说明\",\"label\":\"费用说明\",\"sortable\":false,\"align\":\"left\",\"addonAfter\":\"\",\"__config__\":{\"formId\":118,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"input\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"费用说明\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"yq_equipment_maintenance_records\",\"renderKey\":1721195931802,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":false,\"tag\":\"JnpfInput\",\"regList\":[],\"span\":8},\"readonly\":false,\"prop\":\"costDetail\",\"showWordLimit\":false,\"__vModel__\":\"costDetail\",\"showPassword\":false,\"checked\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"id\":\"costDetail\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"jnpfKey\":\"textarea\",\"fullName\":\"维修描述\",\"label\":\"维修描述\",\"sortable\":false,\"align\":\"left\",\"type\":\"textarea\",\"autoSize\":{\"minRows\":4,\"maxRows\":4},\"__config__\":{\"formId\":111,\"visibility\":[\"pc\",\"app\"],\"jnpfKey\":\"textarea\",\"noShow\":false,\"tipLabel\":\"\",\"dragDisabled\":false,\"className\":[],\"label\":\"维修描述\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"yq_equipment_maintenance_records\",\"renderKey\":1721108216980,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-textarea\",\"tag\":\"JnpfTextarea\",\"regList\":[],\"span\":24},\"readonly\":false,\"prop\":\"maintenanceDescribe\",\"showWordLimit\":true,\"__vModel__\":\"maintenanceDescribe\",\"checked\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入\",\"id\":\"maintenanceDescribe\"}],\"sortList\":[],\"useFormPermission\":false,\"customBtnsList\":[],\"useBtnPermission\":false,\"defaultSidx\":\"\"}"); return sb.toString(); + } + /** 表列表 */ + public static final String getTableList(){ + StringBuilder sb = new StringBuilder(); +sb.append("[{\"relationField\":\"\",\"relationTable\":\"\",\"table\":\"yq_equipment_maintenance_records\",\"tableName\":\"设备维修记录\\t\\t\\t\\t\\t\\t\\t\\t\\t\\r\\n\",\"tableField\":\"\",\"typeId\":\"1\",\"fields\":[{\"columnName\":\"id\",\"field\":\"id\",\"fieldName\":\"主键ID\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":1,\"allowNull\":0,\"autoIncrement\":0},{\"columnName\":\"equipment_id\",\"field\":\"equipmentId\",\"fieldName\":\"设备id\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"number\",\"field\":\"number\",\"fieldName\":\"设备编码\",\"dataType\":\"varchar\",\"dataLength\":\"20\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"name\",\"field\":\"name\",\"fieldName\":\"设备名称\",\"dataType\":\"varchar\",\"dataLength\":\"100\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"repair_order_id\",\"field\":\"repairOrderId\",\"fieldName\":\"维修单id\",\"dataType\":\"varchar\",\"dataLength\":\"32\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"repair_order_number\",\"field\":\"repairOrderNumber\",\"fieldName\":\"维修单号\",\"dataType\":\"varchar\",\"dataLength\":\"20\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"expenses_incurred\",\"field\":\"expensesIncurred\",\"fieldName\":\"是否产生费用(1 是 2 否)\",\"dataType\":\"varchar\",\"dataLength\":\"1\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"cost_amount\",\"field\":\"costAmount\",\"fieldName\":\"费用金额\",\"dataType\":\"decimal\",\"dataLength\":\"20,3\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"cost_detail\",\"field\":\"costDetail\",\"fieldName\":\"费用说明\",\"dataType\":\"varchar\",\"dataLength\":\"512\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"tenant_bill\",\"field\":\"tenantBill\",\"fieldName\":\"是否计入租户账单(1 是 2 否)\",\"dataType\":\"varchar\",\"dataLength\":\"1\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"repair_photo\",\"field\":\"repairPhoto\",\"fieldName\":\"维修照片\",\"dataType\":\"varchar\",\"dataLength\":\"512\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"maintenance_personnel\",\"field\":\"maintenancePersonnel\",\"fieldName\":\"维修人\",\"dataType\":\"varchar\",\"dataLength\":\"20\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"maintenance_date\",\"field\":\"maintenanceDate\",\"fieldName\":\"维修时间\",\"dataType\":\"date\",\"dataLength\":\"默认\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"maintenance_methods\",\"field\":\"maintenanceMethods\",\"fieldName\":\"维修方式(1 保修期内、2 更换配件、3 更换设备)\",\"dataType\":\"varchar\",\"dataLength\":\"1\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"maintenance_describe\",\"field\":\"maintenanceDescribe\",\"fieldName\":\"维修描述\",\"dataType\":\"varchar\",\"dataLength\":\"512\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"maintenance_plan\",\"field\":\"maintenancePlan\",\"fieldName\":\"维修进度(1 维修中、2 已维修)\",\"dataType\":\"varchar\",\"dataLength\":\"1\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"space_id\",\"field\":\"spaceId\",\"fieldName\":\"空间id\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"space_name\",\"field\":\"spaceName\",\"fieldName\":\"空间名称\",\"dataType\":\"varchar\",\"dataLength\":\"512\",\"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_tenant_id\",\"field\":\"tenantId\",\"fieldName\":\"租户id\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"company_id\",\"field\":\"companyId\",\"fieldName\":\"公司id\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"department_id\",\"field\":\"departmentId\",\"fieldName\":\"部门id\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0},{\"columnName\":\"organize_json_id\",\"field\":\"organizeJsonId\",\"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\":\"repair_id\",\"field\":\"repairId\",\"fieldName\":\"报修单id\",\"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_flow_id\",\"field\":\"flowId\",\"fieldName\":\"流程id\",\"dataType\":\"varchar\",\"dataLength\":\"50\",\"primaryKey\":0,\"allowNull\":1,\"autoIncrement\":0}]}]"); return sb.toString(); + } +} diff --git a/jnpf-java-boot/jnpf-example/jnpf-example-entity/src/main/java/jnpf/model/equipmentmaintenancerecords/EquipmentMaintenanceRecordsForm.java b/jnpf-java-boot/jnpf-example/jnpf-example-entity/src/main/java/jnpf/model/equipmentmaintenancerecords/EquipmentMaintenanceRecordsForm.java new file mode 100644 index 0000000..3b9178d --- /dev/null +++ b/jnpf-java-boot/jnpf-example/jnpf-example-entity/src/main/java/jnpf/model/equipmentmaintenancerecords/EquipmentMaintenanceRecordsForm.java @@ -0,0 +1,65 @@ +package jnpf.model.equipmentmaintenancerecords; + +import lombok.Data; +import java.util.List; +import java.math.BigDecimal; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * EquipmentMaintenanceRecords + * @版本: V3.5 + * @版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * @作者: JNPF开发平台组 + * @日期: 2024-07-17 + */ +@Data +public class EquipmentMaintenanceRecordsForm { + /** 主键 */ + private String id; + /** 乐观锁 **/ + @JsonProperty("version") + private Integer version; + + /** 维修单号 **/ + @JsonProperty("repairOrderNumber") + private String repairOrderNumber; + /** 报修单id **/ + @JsonProperty("repairId") + private Object repairId; + /** 设备编码 **/ + @JsonProperty("number") + private String number; + /** 设备名称 **/ + @JsonProperty("name") + private String name; + /** 维修方式 **/ + @JsonProperty("maintenanceMethods") + private Object maintenanceMethods; + /** 维修进度 **/ + @JsonProperty("maintenancePlan") + private Object maintenancePlan; + /** 维修人 **/ + @JsonProperty("maintenancePersonnel") + private String maintenancePersonnel; + /** 维修时间 **/ + @JsonProperty("maintenanceDate") + private String maintenanceDate; + /** 是否产生费用 **/ + @JsonProperty("expensesIncurred") + private Object expensesIncurred; + /** 费用金额 **/ + @JsonProperty("costAmount") + private String costAmount; + /** 是否计入租户账单 **/ + @JsonProperty("tenantBill") + private Object tenantBill; + /** 费用说明 **/ + @JsonProperty("costDetail") + private String costDetail; + /** 维修描述 **/ + @JsonProperty("maintenanceDescribe") + private String maintenanceDescribe; + /** 维修照片 **/ + @JsonProperty("repairPhoto") + private Object repairPhoto; +} diff --git a/jnpf-java-boot/jnpf-example/jnpf-example-entity/src/main/java/jnpf/model/equipmentmaintenancerecords/EquipmentMaintenanceRecordsPagination.java b/jnpf-java-boot/jnpf-example/jnpf-example-entity/src/main/java/jnpf/model/equipmentmaintenancerecords/EquipmentMaintenanceRecordsPagination.java new file mode 100644 index 0000000..6e2ad1e --- /dev/null +++ b/jnpf-java-boot/jnpf-example/jnpf-example-entity/src/main/java/jnpf/model/equipmentmaintenancerecords/EquipmentMaintenanceRecordsPagination.java @@ -0,0 +1,42 @@ +package jnpf.model.equipmentmaintenancerecords; + +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.Data; +import jnpf.base.Pagination; +import java.util.List; + +/** + * + * EquipmentMaintenanceRecords + * @版本: V3.5 + * @版权: 引迈信息技术有限公司(https://www.jnpfsoft.com) + * @作者: JNPF开发平台组 + * @日期: 2024-07-17 + */ +@Data +public class EquipmentMaintenanceRecordsPagination 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("maintenanceDate") + private Object maintenanceDate; + /** 设备编码 */ + @JsonProperty("number") + private Object number; + /** 设备名称 */ + @JsonProperty("name") + private Object name; + /** 维修进度 */ + @JsonProperty("maintenancePlan") + private Object maintenancePlan; +}