wangting
2024-05-10 2ee312d3c399ddc62a06189367fa3879fca7daef
UI展示
已修改2个文件
31 ■■■■■ 文件已修改
Source/ProjectWeb/src/components/dynamic-components/dynamic-table.vue 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/ProjectWeb/src/views/base/UIContentArea.vue 28 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/ProjectWeb/src/components/dynamic-components/dynamic-table.vue
@@ -200,6 +200,7 @@
    },
    isShow: {
      handler(newval) {
        debugger;
        if (newval && this.$el.clientHeight > 50) {
          this.parentHeight = this.$el.clientHeight - this.$children[0].$children[1].$children[0].$el.clientHeight - this.$children[0].$children[2].$el.clientHeight - 5;
        }
@@ -252,7 +253,7 @@
  mounted() {
    if (this.$el.clientHeight > 50) {
      //父元素高度-按钮高度-分页高度
      this.parentHeight = this.$el.clientHeight - this.$children[0].$children[1].$children[0].$el.clientHeight - this.$children[0].$children[2].$el.clientHeight - 5;
      this.parentHeight = this.$el.clientHeight - this.$children[0].$children[1].$children[0].$el.clientHeight - 57 -5;
    }
  },
  methods: {
Source/ProjectWeb/src/views/base/UIContentArea.vue
@@ -9,18 +9,24 @@
            </template>
            <div class="componentVO">
              <compoent-index :key="areasName+'componentVO-'+componentVO.oid"
                              :uiBtmType="uiBtmType"
                              :uiContext="uiContext"
                              :inDialog="inDialog"
                              :canEdit="canEdit"
                              :actionType="actionType"
                              :componentVO="componentVO"
                              :sourceData="newSourceData"
                              :sourceBtmType="sourceBtmType"
                              :dataStore="dataStore"
                              :areasName="areasName"
                              :paramVOS="paramVOS"
                              @setData="setData"
                              @setDataStore="setDataStore"
                              :isShow="collapseActiveNames.indexOf(areasName+'-collapse-'+componentIndex)!=-1?true:false"></compoent-index>
            </div>
          </el-collapse-item>
        </el-collapse>
        <div v-else class="componentVO">
        <div v-else-if="areaItem.componentVOs.length==1" class="componentVO">
          <compoent-index :key="areasName+'componentVO-'+areaItem.componentVOs[0].oid"
                          :uiBtmType="uiBtmType"
                          :uiContext="uiContext"
@@ -36,6 +42,15 @@
                          @setData="setData"
                          @setDataStore="setDataStore"
                          :isShow="activeName==(areasName+'-Tab-'+index)?true:false"></compoent-index>
        </div>
        <div v-else>
          <el-alert
            class="alert"
            :closable="false"
            title=""
            type="info"
            description="没有可显示的内容,请联系管理人员检查配置。">
          </el-alert>
        </div>
      </el-tab-pane>
    </el-tabs>
@@ -64,7 +79,7 @@
          </div>
        </el-collapse-item>
      </el-collapse>
      <div v-else class="componentVO">
      <div v-else-if="newAreasData[0].componentVOs.length===1" class="componentVO">
        <compoent-index :key="areasName+'componentVO-'+newAreasData[0].componentVOs[0].oid"
                        :uiBtmType="uiBtmType"
                        :uiContext="uiContext"
@@ -81,6 +96,15 @@
                        @setDataStore="setDataStore"
                        :isShow="true"></compoent-index>
      </div>
      <div v-else>
        <el-alert
          class="alert"
          :closable="false"
          title=""
          type="info"
          description="没有可显示的内容,请联系管理人员检查配置。">
        </el-alert>
      </div>
    </div>
    <div v-else>
      <el-alert