tuqin
2026-09-24 409a6c46741422f0d6dc00acc38b5f7dc1f35e9f
src/components/PIMTable/PIMTable.vue
@@ -19,6 +19,7 @@
            @current-change="currentChange"
            @selection-change="handleSelectionChange"
            @expand-change="expandChange"
            @sort-change="handleSortChange"
            class="lims-table">
    <el-table-column align="center"
                     type="selection"
@@ -41,7 +42,7 @@
                     :prop="item.prop"
                     :show-overflow-tooltip="item.dataType !== 'action' && item.dataType !== 'slot'"
                     :align="item.align"
                     :sortable="!!item.sortable"
                     :sortable="item.sortable || false"
                     :type="item.type"
                     :width="item.width"
                     :minWidth="item.minWidth">
@@ -215,6 +216,7 @@
    "expand-change",
    "selection-change",
    "row-click",
    "sort-change",
  ]);
  // Filters
@@ -500,6 +502,10 @@
  const handleSelectionChange = newSelection => {
    emit("selection-change", newSelection);
  };
  const handleSortChange = ({ column, prop, order }) => {
    emit("sort-change", { column, prop, order });
  };
</script>
<style scoped lang="scss">