田源
2024-08-14 715b0f45cf00a6ae98594d8463298646ee4c0b07
Source/plt-web/plt-web-ui/src/views/modelingMenu/modeling/linkType/index.vue
@@ -41,7 +41,7 @@
    <el-main>
      <basic-container>
        <div>
        <div style="height: 380px">
          <el-descriptions :column="2" border class="margin-top" size="medium">
            <el-descriptions-item :contentStyle="descriptionOption.contentStyle"
                                  :labelStyle="descriptionOption.labelStyle">
@@ -94,11 +94,13 @@
                <i :class="icons.from"></i>
                From端类型
              </template>
              <span v-for="item in nodeRow.btmItemsFrom" style="margin-left:2px;">
              <el-tag effect="plain" style="margin-top: 2px;">
              <div style="height: 60px;overflow-y: auto;display: flex;flex-wrap: wrap">
                <span v-for="item in nodeRow.btmItemsFrom" style="margin-left:3px;">
              <el-tag effect="plain" style="margin-top: 3px;">
                  {{ item }}
              </el-tag>
            </span>
                </span>
              </div>
            </el-descriptions-item>
            <el-descriptions-item :contentStyle="descriptionOption.contentStyle"
                                  :labelStyle="descriptionOption.labelStyle">
@@ -128,11 +130,13 @@
                <i :class="icons.to"></i>
                To端类型
              </template>
              <span v-for="item in nodeRow.btmItemsTo" style="margin-left:2px;">
              <el-tag effect="plain" style="margin-top: 2px;">
              <div style="height: 60px;overflow-y: auto;display: flex;flex-wrap: wrap">
                <span v-for="item in nodeRow.btmItemsTo" style="margin-left:2px;">
                 <el-tag effect="plain" style="margin-top: 2px;">
                  {{ item }}
              </el-tag>
            </span>
                 </el-tag>
                </span>
              </div>
            </el-descriptions-item>
            <el-descriptions-item :contentStyle="descriptionOption.contentStyle"
                                  :labelStyle="descriptionOption.labelStyle">
@@ -155,7 +159,7 @@
          </el-descriptions>
        </div>
        <div style="margin-top: 20px">
        <div style="margin-top: 30px">
          <h3>属性池列表</h3>
          <avue-crud
            :data="tableData"
@@ -197,10 +201,6 @@
          <div class="centerForm">
            <el-form-item label="Form端类型:" label-width="110px">
              <!--              <el-button v-if="!form.btmItemsFrom" plain size="mini" type="success"-->
              <!--                         @click="FormItemReferChange('form')">添加-->
              <!--              </el-button>-->
              <!--              <el-input v-if="form.btmItemsFrom" v-model="form.btmItemsFrom"></el-input>-->
              <div style="display: flex; align-items: center">
                <div style="height: 200px; width: 280px; border: 1px solid #bdbbbb;overflow-y: auto">
                  <!-- 内容 -->
@@ -597,6 +597,7 @@
          {
            label: '说明',
            prop: 'description',
            overHidden: true
          }
        ]
      },
@@ -623,6 +624,7 @@
        // index:false,
        addBtn: false,
        menu: false,
        calcHeight: -40,
        column: [
          {
            label: '属性名',
@@ -642,6 +644,7 @@
          {
            label: '说明',
            prop: 'description',
            overHidden: true
          }
        ]
      },
@@ -661,7 +664,7 @@
        desc: 'el-icon-chat-line-square'
      },
      bizLastIndex: null,
      attrLastIndex:null
      attrLastIndex: null
    }
  },
  created() {
@@ -873,8 +876,12 @@
        row,
        this.$refs.dialogAttrCrud,
        this.attrLastIndex,
        (newIndex) => { this.attrLastIndex = newIndex; },
        () => { this.selectList = []; }
        (newIndex) => {
          this.attrLastIndex = newIndex;
        },
        () => {
          this.selectList = [];
        }
      );
    },
@@ -955,9 +962,13 @@
    //添加属性池 搜索
    attrHandleSearch(params, done) {
      this.searchAttrParams = {
        "conditionMap[id]": "*" + params.id + "*"
      };
      if (func.isEmptyObject(params)) {
        this.searchAttrParams = {};
      } else {
        this.searchAttrParams = {
          "conditionMap[id]": "*" + params.id + "*"
        };
      }
      this.getAttrDialogDta();
      done();
    },
@@ -1011,8 +1022,12 @@
        row,
        this.$refs.bizTypeCrud,
        this.bizLastIndex,
        (newIndex) => { this.bizLastIndex = newIndex; },
        () => { this.selectList = []; }
        (newIndex) => {
          this.bizLastIndex = newIndex;
        },
        () => {
          this.selectList = [];
        }
      );
    },