Przeglądaj źródła

性能验证我的快速评价操作列右对齐

zhonghuizhen 4 miesięcy temu
rodzic
commit
4634a3d16f
1 zmienionych plików z 6 dodań i 4 usunięć
  1. 6 4
      src/views/business/performNew/myRecord.vue

+ 6 - 4
src/views/business/performNew/myRecord.vue

@@ -173,8 +173,8 @@
               minWidth: 125
             },
             
-            { prop: 'shiYanXiangMu', label: '实验项目', slotName: 'shiYanXiangMu', width: 120 },
-            { prop: 'shiYanFangFa', label: '实验方法', slotName: 'shiYanFangFa', width: 180 },
+            { prop: 'shiYanXiangMu', label: '实验项目', slotName: 'shiYanXiangMu', width: 130 },
+            { prop: 'shiYanFangFa', label: '实验方法', slotName: 'shiYanFangFa', width: 190 },
             { prop: 'yangBenLeiXing', label: '样本类型', width: 100 },
             { prop: 'shiYanYiQi', label: '实验仪器', width: 120 },
             {
@@ -201,7 +201,9 @@
           ],
           rowHandle: {
             effect: 'display',
-            width: 90,
+            width: 80,
+            align: 'right',  // 添加这一行
+            //fixed: 'right',  // 如果有需要,可以固定在右侧
             actions: [
               {
                 key: 'edit',
@@ -209,7 +211,7 @@
                 type: 'primary',
                 icon: 'ibps-icon-edit',
                 hidden: (row) => row.shiFouGuoShen !== '已暂存' 
-                //&& row.shiFouGuoShen !== '已退回'
+                && row.shiFouGuoShen !== '已退回'
               },
               {
                 key: 'detail',