gaoluyang
2 天以前 de8f8ef6e87ebf0d207011b35a7f43e41200011d
src/components/Table/lims-table.vue
@@ -302,8 +302,8 @@
          count += a.name.length;
        }
      });
      this.btnWidth = count * 18 + 60 + "px";
      return count * 18 + 60 + "px";
      this.btnWidth = count * 15 + 60 + "px";
      return count * 15 + 60 + "px";
    },
    getTitleWidth(row) {
      if (row.label.includes('时间') || row.label.includes('编号') || row.label.includes('样品名称') || row.label.includes('零件')) {
@@ -323,8 +323,6 @@
    iconFn(row) {
      if (row.name === "编辑" || row.name === "修改") {
        return "el-icon-edit";
      } else if (row.name === "删除") {
        return "el-icon-delete";
      } else if (row.name === "查看") {
        return "el-icon-view";
      } else {
@@ -507,4 +505,7 @@
.lims-table .highlight-danger-row-border td:last-child {
  border-right: 4px solid #f56c6c;
}
>>>.red-row td {
  background: #FFCCCC !important;
}
</style>