wangting
2024-05-27 a9bbbe822377536e6f3374b05e2b64b12b2f188c
Source/ProjectWeb/src/components/dynamic-components/index.vue
@@ -4,12 +4,15 @@
                 :uiContext="uiContext"
                 :key="areasName+'table-'+componentVO.oid"
                 :inDialog="inDialog"
                 :canEdit="canEdit"
                 :actionType="actionType"
                 :componentVO="componentVO"
                 :sourceData="sourceData"
                 :sourceBtmType="sourceBtmType"
                 :dataStore="dataStore"
                 :areasName="areasName"
                 :paramVOS="paramVOS"
                 @setData="setData"
                 @setDataStore="setDataStore"
                 :isShow="isShow">
@@ -19,12 +22,15 @@
                :uiContext="uiContext"
                :key="areasName+'form-'+componentVO.oid"
                :inDialog="inDialog"
                :canEdit="canEdit"
                :actionType="actionType"
                :componentVO="componentVO"
                :sourceData="sourceData"
                :sourceBtmType="sourceBtmType"
                :dataStore="dataStore"
                :areasName="areasName"
                :paramVOS="paramVOS"
                @setData="setData"
                @setDataStore="setDataStore"
                :isShow="isShow">
@@ -34,12 +40,15 @@
                :uiContext="uiContext"
                :key="areasName+'tree-'+componentVO.oid"
                :inDialog="inDialog"
                :canEdit="canEdit"
                :actionType="actionType"
                :componentVO="componentVO"
                :sourceData="sourceData"
                :sourceBtmType="sourceBtmType"
                :dataStore="dataStore"
                :areasName="areasName"
                :paramVOS="paramVOS"
                @setData="setData"
                @setDataStore="setDataStore"
                :isShow="isShow">
  </dynamic-tree>
@@ -47,6 +56,8 @@
                  :uiBtmType="uiBtmType"
                  :uiContext="uiContext"
                  :inDialog="inDialog"
                  :canEdit="canEdit"
                  :actionType="actionType"
                  :key="areasName+'custom-'+componentVO.oid"
                  :componentVO="componentVO"
                  :sourceData="sourceData"
@@ -54,6 +65,7 @@
                  :dataStore="dataStore"
                  :areasName="areasName"
                  :paramVOS="paramVOS"
                  @setData="setData"
                  @setDataStore="setDataStore"
                  :isShow="isShow">
@@ -85,6 +97,15 @@
    inDialog: {
      type: Boolean,
      default: false
    },
    canEdit:{
      //内容是否可编辑
      type:Boolean,
      default:false
    },
    actionType:{
      //按钮操作类型
      default:""
    },
    areasName:{
      type:String,
@@ -120,6 +141,9 @@
    setDataStore(value) {
      this.$emit("setDataStore", value);
      this.dataStore = value.dataStore;
    },
    setData(value) {
      this.$emit("setData", value);
    }
  }
}