去掉excel表里id

dev^2
itcast 1 year ago
parent 0958c3ea37
commit 60863b0d75
  1. 2
      ant-design-vue-jeecg/src/mixins/JeecgListMixin.js
  2. 4
      jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/requirementtype/entity/RequirementType.java

@ -349,7 +349,7 @@ export const JeecgListMixin = {
this.$refs.modalForm.edit(record); this.$refs.modalForm.edit(record);
this.$refs.modalForm.title = "复制"; this.$refs.modalForm.title = "复制";
this.$refs.modalForm.disableSubmit = false; this.$refs.modalForm.disableSubmit = false;
// 新增/修改 成功时,重载列表 // 重载列表
this.loadData(); this.loadData();
}, },
// 任务管理-任务-分解 // 任务管理-任务-分解

@ -57,12 +57,12 @@ public class RequirementType implements Serializable {
@ApiModelProperty(value = "所属部门") @ApiModelProperty(value = "所属部门")
private java.lang.String sysOrgCode; private java.lang.String sysOrgCode;
/**项目id*/ /**项目id*/
@Excel(name = "项目id", width = 15, dictTable = "projectx", dicText = "project_name", dicCode = "id") @Excel(name = "项目", width = 15, dictTable = "projectx", dicText = "project_name", dicCode = "id")
@Dict(dictTable = "projectx", dicText = "project_name", dicCode = "id") @Dict(dictTable = "projectx", dicText = "project_name", dicCode = "id")
@ApiModelProperty(value = "项目id") @ApiModelProperty(value = "项目id")
private java.lang.String projectId; private java.lang.String projectId;
/**上级类型id*/ /**上级类型id*/
@Excel(name = "上级类型id", width = 15, dictTable = "requirement_type", dicText = "type_name", dicCode = "id") @Excel(name = "上级类型", width = 15, dictTable = "requirement_type", dicText = "type_name", dicCode = "id")
@Dict(dictTable = "requirement_type", dicText = "type_name", dicCode = "id") @Dict(dictTable = "requirement_type", dicText = "type_name", dicCode = "id")
@ApiModelProperty(value = "上级类型id") @ApiModelProperty(value = "上级类型id")
private java.lang.String upperId; private java.lang.String upperId;

Loading…
Cancel
Save