shmily1213 1 месяц назад
Родитель
Сommit
cc9a8a9150

+ 1 - 1
back-ui/src/views/dz/cards/components/CardTable.vue

@@ -111,7 +111,7 @@
             <span>{{ scope.row.outDate ? parseTime(scope.row.outDate, '{y}-{m}-{d}') : '-' }}</span>
           </template>
         </el-table-column>
-        <el-table-column label="缴费时间" prop="payTime" align="center" min-width="120">
+        <el-table-column label="缴费时间" prop="payTime" align="center" min-width="120" :fixed="hideActions ? 'right' : undefined">
           <template #default="scope">
             <span>{{ scope.row.payTime ? parseTime(scope.row.payTime, '{y}-{m}-{d}') : '-' }}</span>
           </template>

+ 2 - 2
back-ui/src/views/dz/cards/index.vue

@@ -105,7 +105,7 @@
         直接开卡
       </CustomButton>
       <CustomButton icon="delete" color="#F56C6C" v-hasPermi="['dz:cards:remove']" :disabled="batchDisabled"
-        @click="handleDeleteBatch">
+        @click="handleDeleteBatch" v-if="false">
         删除
       </CustomButton>
       <CustomButton color="#FFC107" :disabled="batchDisabled" @click="handleSettle">
@@ -126,7 +126,7 @@
       </CustomButton>
       <right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar>
     </el-row>
-    <card-table :data="cardList" :loading="loading" @selectionChange="handleSelectionChange" @delete="handleDelete" />
+    <card-table :data="cardList" :loading="loading" :hide-actions="true" @selectionChange="handleSelectionChange" @delete="handleDelete" />
     <div class="flex justify-end">
       <Pagination :total="total" v-model:page="queryParams.pageNum" v-model:limit="queryParams.pageSize"
         @pagination="getList" />