zouyu
2025-03-17 0600ab29100da647a5cd34c935c16f59b3e772e5
src/components/Table/lims-table.vue
@@ -321,7 +321,7 @@
  props: {
    isSelection: {
      type: Boolean,
      default: false,
      default: undefined,
    },
    height: {
      type: String,
@@ -389,7 +389,7 @@
    },
    rowKey: {
      type: String,
      default: undefined,
      default: "id",
    },
    page: {
      type: Object,
@@ -410,14 +410,24 @@
    };
  },
  watch: {
    column(val) {
      this.doLayout();
    },
    // column(val) {
    //   this.doLayout();
    // },
  },
  updated() {
    this.$nextTick(() => {
      this.$refs.multipleTable.doLayout();
    });
  },
  mounted() {
    this.calculateSpanInfo();
  },
  methods: {
    doLayout() {
      this.$nextTick(() => {
        this.$refs.multipleTable && this.$refs.multipleTable.doLayout();
      });
    },
    getWidth(row, row0) {
      let count = 0;
      row.forEach((a) => {
@@ -489,6 +499,7 @@
      if (!linkEvent) {
        return this.$message.warning("请配置lingk事件");
      }
      console.log(linkEvent);
      linkEvent.vueComponent[linkEvent.method](row);
    },
    // 合并单元格
@@ -600,7 +611,7 @@
}
>>> .el-table__body-wrapper::-webkit-scrollbar {
  height: 14px;
  height: 6px;
  /* 设置滚动条宽度 */
}
</style>