yuxc
2025-01-06 4006805916d04a398243292316fbad8a05d2f67b
Source/plt-web/plt-web-ui/src/components/dynamic-components/dynamic-button.vue
@@ -7,6 +7,7 @@
        <el-button :key="item.oid"
                   :type="item.paramVOS && item.paramVOS.btnType ?  item.paramVOS.btnType : 'primary'" plain
                   size="small"
                   class="button-custom-icon"
                   @click="buttonClick(item)">
          <icon-show :name="item.iconPath"></icon-show>{{ item.name }}
        </el-button>
@@ -19,6 +20,7 @@
        <el-button :key="item.oid"
                   :type="item.paramVOS.btnType || 'text'" plain
                   size="small"
                   class="button-custom-icon"
                   @click="buttonClick(item,scope.row)">
          <icon-show v-if="item.iconPath" :name="item.iconPath"></icon-show>
          <i v-else :class="item.id === 'edit' ? 'el-icon-edit' : (item.id === 'delete'  ||item.id === 'del' ? 'el-icon-delete' : '')"></i>
@@ -36,6 +38,7 @@
                   :type="item.paramVOS && item.paramVOS.btnType ?  item.paramVOS.btnType : 'primary'" plain
                   plain
                   size="small"
                   class="button-custom-icon"
                   @click="buttonClick(item)">
          <icon-show :name="item.iconPath"></icon-show>{{ item.name }}
        </el-button>
@@ -47,6 +50,7 @@
                   :type="item.paramVOS && item.paramVOS.btnType ?  item.paramVOS.btnType : 'primary'" plain
                   plain
                   size="small"
                   class="button-custom-icon"
                   @click="buttonClick(item)">
          <icon-show :name="item.iconPath"></icon-show>{{ item.name }}
        </el-button>
@@ -54,6 +58,7 @@
      <el-button type="primary"
                 plain
                 size="small"
                 class="button-custom-icon"
                 @click="$emit('refresh')">刷新</el-button>
    </div>
  </div>