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