修改布局

This commit is contained in:
2026-03-10 17:10:32 +08:00
parent 4ead65751d
commit dd6ff89ec4

View File

@@ -53,44 +53,22 @@
<div class="left">
<el-button type="primary" @click="handleAdd" :icon="Plus">新增任务</el-button>
</div>
<TicketFilter
:operators="operatorsForFilter"
:staffs="staffList"
:filters="filters"
@filter-change="handleFilterChange"
@reset="handleFilterReset"
/>
<TicketFilter :operators="operatorsForFilter" :staffs="staffList" :filters="filters"
@filter-change="handleFilterChange" @reset="handleFilterReset" />
</div>
<TicketList
:tickets="tickets"
:loading="loading"
@edit="handleEdit"
@delete="handleDelete"
/>
<TicketList :tickets="tickets" :loading="loading" @edit="handleEdit" @delete="handleDelete" />
<div class="pagination-container">
<el-pagination
v-model:current-page="pagination.page"
v-model:page-size="pagination.limit"
:total="pagination.total"
:page-sizes="[15, 30, 50, 100]"
layout="total, sizes, prev, pager, next, jumper"
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
/>
<el-pagination v-model:current-page="pagination.page" v-model:page-size="pagination.limit"
:total="pagination.total" :page-sizes="[15, 30, 50, 100]" layout="total, sizes, prev, pager, next, jumper"
@size-change="handleSizeChange" @current-change="handleCurrentChange" />
</div>
</div>
<TicketForm
v-model="showAddDialog"
:form-data="currentTicket"
:customers="customerList"
:customer-employees="allCustomerEmployees"
:staffs="staffList"
:is-editing="isEditing"
@submit="handleFormSubmit"
/>
<TicketForm v-model="showAddDialog" :form-data="currentTicket" :customers="customerList"
:customer-employees="allCustomerEmployees" :staffs="staffList" :is-editing="isEditing"
@submit="handleFormSubmit" />
</div>
</template>
@@ -376,6 +354,12 @@ onMounted(() => {
align-items: center;
transition: all 0.3s ease;
border-bottom: 3px solid transparent;
/* 禁止用户选中文字 */
user-select: none;
-webkit-user-select: none;
/* 兼容 Safari */
-moz-user-select: none;
/* 兼容 Firefox */
}
.stat-card:hover {