wangting
2025-01-07 49cdf259bfdb99b0c6b3b4430df8b7a715989795
Source/plt-web/plt-web-ui/src/views/modelingMenu/ui/Aciton/index.vue
@@ -71,13 +71,13 @@
            @refresh-change="handleRefresh"
            @selection-change="selectChangeHandler"
            @row-click="rowClickHandler">
            <template slot="plCSClass" slot-scope="{row}">
            <template slot="plImage" slot-scope="{row}">
              <span class="avue-icon">
                <icon-show :name="row.plCSClass"></icon-show>
                <icon-show :name="row.plImage"></icon-show>
              </span>
            </template>
            <template slot-scope="{type,disabled}" slot="plCSClassForm">
              <input-icon :disabled="disabled" v-model="form.plCSClass"></input-icon>
            <template slot-scope="{type,disabled}" slot="plImageForm">
              <input-icon :disabled="disabled" v-model="form.plImage"></input-icon>
            </template>
            <template slot="plTypeType" slot-scope="{row}">
              <el-tag :type="row.plTypeType === 'business' ? '' : 'success'">
@@ -298,7 +298,7 @@
          },
          {
            label: '图标',
            prop: 'plCSClass',
            prop: 'plImage',
            width: 80,
            rules: [
              {
@@ -312,7 +312,6 @@
            label: '分类',
            prop: 'plActionCls',
            type: 'tree',
            hide: true,
            props: {
              label: 'name',
              value: 'id',
@@ -424,8 +423,9 @@
        this.treeData = this.treeDataFormAtter([data],'Action分类');
        const selectTreeData = this.option.column.find(item => item.prop === 'plActionCls'); // 找到action添加分类树
        const dicData=this.treeData;
        dicData[0].disabled=true;//根节点不能选
        dicData[0].disabled=true;//分类根节点不能选
        selectTreeData.dicData = dicData;
        selectTreeData.hide=true;//隐藏分类列。不能直接在option设置,会导出dicData加载不出
      })
    },