wangting
2024-05-27 a9bbbe822377536e6f3374b05e2b64b12b2f188c
Source/ProjectWeb/src/components/dynamic-components/index.vue
@@ -5,12 +5,14 @@
                 :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">
@@ -21,12 +23,14 @@
                :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">
@@ -37,12 +41,14 @@
                :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>
@@ -51,6 +57,7 @@
                  :uiContext="uiContext"
                  :inDialog="inDialog"
                  :canEdit="canEdit"
                  :actionType="actionType"
                  :key="areasName+'custom-'+componentVO.oid"
                  :componentVO="componentVO"
                  :sourceData="sourceData"
@@ -58,6 +65,7 @@
                  :dataStore="dataStore"
                  :areasName="areasName"
                  :paramVOS="paramVOS"
                  @setData="setData"
                  @setDataStore="setDataStore"
                  :isShow="isShow">
@@ -95,6 +103,10 @@
      type:Boolean,
      default:false
    },
    actionType:{
      //按钮操作类型
      default:""
    },
    areasName:{
      type:String,
      default:''
@@ -129,6 +141,9 @@
    setDataStore(value) {
      this.$emit("setDataStore", value);
      this.dataStore = value.dataStore;
    },
    setData(value) {
      this.$emit("setData", value);
    }
  }
}