wyf 7 місяців тому
батько
коміт
eb88ec2d59

+ 3 - 3
src/views/traffic/regulation/configs/tables.ts

@@ -45,7 +45,7 @@ export const REGULATION_TABLE_COLUMNS: TableColumnProps[] = [
     prop: 'action',
     slot: 'action',
     fixed: 'right',
-    width: '200px',
+    width: '180px',
     align: 'left',
   },
 ];
@@ -118,7 +118,7 @@ export const NOTICE_TABLE_COLUMNS: TableColumnProps[] = [
     prop: 'action',
     slot: 'action',
     fixed: 'right',
-    width: '260px',
+    width: '230px',
     align: 'left',
   },
 ];
@@ -156,7 +156,7 @@ export const NOTICE_TABLE_COLUMNS_CHECKONLY: TableColumnProps[] = [
     prop: 'action',
     slot: 'action',
     fixed: 'right',
-    width: '200px',
+    width: '160px',
     align: 'center',
   },
 ];

+ 19 - 17
src/views/traffic/violation/act/Act.vue

@@ -127,23 +127,25 @@
               </div>
             </template>
             <template #action="scope">
-              <ActionButton
-                v-if="scope.row.isNotice === ACT_NOTICE_STATE.INACTIVE"
-                text="编辑"
-                @click="handleEditAct(scope.row.id)"
-              />
-              <ActionButton
-                v-if="scope.row.isNotice === ACT_NOTICE_STATE.INACTIVE"
-                text="通知"
-                @click="handleNoticeAct(scope.row.id)"
-              />
-              <ActionButton
-                text="删除"
-                :popconfirm="{
-                  title: '确定要删除?',
-                }"
-                @confirm="handleDeleteAct(scope.row.id)"
-              />
+              <div class="action-container--div" style="justify-content: left">
+                <ActionButton
+                  v-if="scope.row.isNotice === ACT_NOTICE_STATE.INACTIVE"
+                  text="编辑"
+                  @click="handleEditAct(scope.row.id)"
+                />
+                <ActionButton
+                  v-if="scope.row.isNotice === ACT_NOTICE_STATE.INACTIVE"
+                  text="通知"
+                  @click="handleNoticeAct(scope.row.id)"
+                />
+                <ActionButton
+                  text="删除"
+                  :popconfirm="{
+                    title: '确定要删除?',
+                  }"
+                  @confirm="handleDeleteAct(scope.row.id)"
+                />
+              </div>
             </template>
           </BasicTable>
         </div>

+ 1 - 1
src/views/traffic/violation/act/configs/tables.ts

@@ -95,7 +95,7 @@ export const VIOLATION_ACT_TABLE_COLUMNS: TableColumnProps[] = [
     prop: 'action',
     slot: 'action',
     fixed: 'right',
-    width: '200px',
+    width: '180px',
     align: 'left',
   },
 ];