wangting
2024-12-04 8655012ffbd51a6550ffcc1882f6f5044cceac2e
Merge remote-tracking branch 'origin/master'
已修改3个文件
176 ■■■■■ 文件已修改
Source/plt-web/plt-web-parent/plt-web-base/src/main/java/com/vci/starter/web/model/BaseModel.java 149 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/plt-web/plt-web-ui/src/views/modelingMenu/ui/formDefine/components/formDialog.vue 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/plt-web/plt-web-ui/src/views/modelingMenu/ui/uiDefine/rightRegion/bottomTable/index.vue 24 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/plt-web/plt-web-parent/plt-web-base/src/main/java/com/vci/starter/web/model/BaseModel.java
@@ -18,30 +18,11 @@
 */
public class BaseModel implements java.io.Serializable{
    /**
     * 主键,如果自己的对象,不是oid作为主键的话,需要用id这个注解
     */
    @Column(nullable = false)
    private String oid;
    /**
     * 代号;可以设置属性的映射,name表示在平台的业务类型中的属性名称,必须为小写;
     */
    @Column()
    private String id;
    /**
     * 名称;也可以不设置属性映射,默认是字段名的小写
     */
    @Column()
    private String name;
    /**
     * 描述
     */
    @Column()
    private String description;
    
    /**
     * 版本的主键
@@ -62,28 +43,28 @@
    private String btmName;
    
    /**
     * 是否最后版本
     * 是否最后版本。1:是,0:否
     */
    @Column(length=1)
    private String lastR;
    
    
    /**
     * 是否最初版本
     * 是否最初版本。1:是,0:否
     */
    @Column(length=1)
    private String firstR;
    
    
    /**
     * 是否最新版次
     * 是否最新版次。1:是,0:否
     */
    @Column(length=1)
    private String lastV;
    
    
    /**
     * 是否最早版次
     * 是否最早版次。1:是,0:否
     */
    @Column(length=1)
    private String firstV;
@@ -119,6 +100,11 @@
    @Column()
    private String revisionRule;
    /**
     * 版次规则
     */
    @Column()
    private String versionRule;
    /**
     * 版本序号
@@ -131,13 +117,6 @@
     */
    @Column()
    private String revisionValue;
    /**
     * 版次规则
     */
    @Column()
    private String versionRule;
    /**
     * 版次排序
@@ -164,16 +143,28 @@
    private String lcStatus;
    
    /**
     * 生命周期显示文本
     */
    @Transient(referColumn="lcStatus_text")
    private String lcStatusText;
    /**
     * 时间戳,格式是yyyy-MM-dd HH:mm:ss.SSS
     */
    @JsonFormat(pattern = VciDateUtil.DateTimeMillFormat)
    private Date ts;
    /**
     * 代号;可以设置属性的映射,name表示在平台的业务类型中的属性名称,必须为小写;
     */
    @Column()
    private String id;
    /**
     * 名称;也可以不设置属性映射,默认是字段名的小写
     */
    @Column()
    private String name;
    /**
     * 描述
     */
    @Column()
    private String description;
    
    /**
     * 拥有者,与创建者有区别,常用于控制数据权限
@@ -212,6 +203,12 @@
    private String copyFromVersion;
    /**
     * 生命周期显示文本
     */
    @Transient(referColumn="lcStatus_text")
    private String lcStatusText;
    /**
     * 密级
     */
    @VciUseEnum(value = "Enumsecretgrade",showTextField = "secretGradeText" )
@@ -235,30 +232,6 @@
    public void setOid(String oid) {
        this.oid = oid;
    }
    public String getId() {
        return id;
    }
    public void setId(String id) {
        this.id = id;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getDescription() {
        return description;
    }
    public void setDescription(String description) {
        this.description = description;
    }
    public String getRevisionOid() {
@@ -357,6 +330,14 @@
        this.revisionRule = revisionRule;
    }
    public String getVersionRule() {
        return versionRule;
    }
    public void setVersionRule(String versionRule) {
        this.versionRule = versionRule;
    }
    public int getRevisionSeq() {
        return revisionSeq;
    }
@@ -371,14 +352,6 @@
    public void setRevisionValue(String revisionValue) {
        this.revisionValue = revisionValue;
    }
    public String getVersionRule() {
        return versionRule;
    }
    public void setVersionRule(String versionRule) {
        this.versionRule = versionRule;
    }
    public int getVersionSeq() {
@@ -413,20 +386,36 @@
        this.lcStatus = lcStatus;
    }
    public String getLcStatusText() {
        return lcStatusText;
    }
    public void setLcStatusText(String lcStatusText) {
        this.lcStatusText = lcStatusText;
    }
    public Date getTs() {
        return ts;
    }
    public void setTs(Date ts) {
        this.ts = ts;
    }
    public String getId() {
        return id;
    }
    public void setId(String id) {
        this.id = id;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getDescription() {
        return description;
    }
    public void setDescription(String description) {
        this.description = description;
    }
    public String getOwner() {
@@ -477,6 +466,14 @@
        this.copyFromVersion = copyFromVersion;
    }
    public String getLcStatusText() {
        return lcStatusText;
    }
    public void setLcStatusText(String lcStatusText) {
        this.lcStatusText = lcStatusText;
    }
    public Integer getSecretGrade() {
        return secretGrade;
    }
Source/plt-web/plt-web-ui/src/views/modelingMenu/ui/formDefine/components/formDialog.vue
@@ -1065,7 +1065,6 @@
      const types = ['radio', 'checkbox', 'select'];
      return types.includes(this.form.itemType); // 展示
    },
    itemStyleTypeStatus() {
      const types = ['hidden', 'webeditor', 'radio', 'checkbox'];
      return !types.includes(this.form.itemType); // 不展示
@@ -1315,7 +1314,7 @@
      this.formList = this.formList.map(item => {
        return {
          ...item,
          itemField: item.text // 将itemField赋值为text,因为忘记父组件为什么在编辑回填时把itemField赋值为text了
          itemField: item.text // 将itemField重新赋值为text,因为忘记当时在父组件编辑回填方法里为什么把itemField赋值为text了
        };
      });
      const params = {
Source/plt-web/plt-web-ui/src/views/modelingMenu/ui/uiDefine/rightRegion/bottomTable/index.vue
@@ -291,6 +291,8 @@
      queryTemplateNameList:[],
      templateIdList: [],
      searchTargerChangeFlag: false,
      showTypeChangeFlag: false,
      linkTypeChangeFlag: false,
      formBtnOid: '',
      sourceBtnOid: '',
      sourceOId: '',
@@ -603,6 +605,20 @@
                      this.queryTemplateNameList = res.data.data;
                    })
                  }
                  if (this.showTypeChangeFlag) {
                    if (val.value) {
                      if (this.form.searchTarger === '1') {
                        this.form.templateId = "";
                        this.form.queryTemplateName = "";
                      } else {
                        this.form.linkType = "";
                        this.form.templateId = "";
                        this.form.queryTemplateName = "";
                      }
                    }
                  } else {
                    this.showTypeChangeFlag = true;
                  }
                },
                props: {
                  label: 'name',
@@ -641,6 +657,14 @@
                      this.queryTemplateNameList = res.data.data;
                    })
                  }
                  if (this.linkTypeChangeFlag) {
                    if (val.value) {
                      this.form.templateId = "";
                      this.form.queryTemplateName = "";
                    }
                  } else {
                    this.linkTypeChangeFlag = true;
                  }
                }
              },
              {