讲师费页面调整

This commit is contained in:
wangxuemei
2024-07-29 22:11:54 +08:00
parent 7ad55026d4
commit bc9ab4fa7d
11 changed files with 3668 additions and 2133 deletions

View File

@@ -1,6 +1,6 @@
<!-- 外部讲师页面 -->
<template>
<div class="ExternalLecturer">
<div>
<!-- 搜索框及按钮 -->
<div class="filter" style="min-width: 1380px;">
<a-form layout="inline">
@@ -37,7 +37,7 @@
:data-source="tableData" :loading="tableLoading" @expand="expandTable" :pagination="false">
<template #bodyCell="{ record, column }">
<template v-if="column.key === 'operation'">
<a-space style="display:flex ;justify-content: space-around; ">
<a-space >
<a-button type="link" @click="() => handleLook(record, String(record.courseform))">查看</a-button>
<a-button type="link" @click="() => handleModify(record, String(record.courseform))">编辑</a-button>
<a-button v-if="record.status == '1'" type="link"
@@ -54,8 +54,17 @@
</div>
<div class="tableBox ">
<div style="float: right;">
<a-pagination v-if="tableDataTotal > 10" :showSizeChanger="true" :hideOnSinglePage="true" :pageSize="pageSize"
v-model:current="searchParam.pageNo" :total="tableDataTotal" class="pagination" @change="changePagination" />
<a-pagination
v-if="tableDataTotal > 10"
:showSizeChanger="false"
:showQuickJumper="true"
:hideOnSinglePage="true"
:pageSize="searchParam.pageSize"
:current="searchParam.pageNo"
:total="tableDataTotal"
class="pagination"
@change="changePagination"
/>
</div>
</div>
<!-- 弹窗组件 -->
@@ -330,7 +339,7 @@ export default {
title: '操作 ',
dataIndex: 'operation',
key: 'operation',
elipsis: true, align: "center",
elipsis: true, align: "right",
width: 300,
scopedSlots: { customRender: "action" },
},
@@ -649,7 +658,7 @@ export default {
box-shadow: 0px 1px 35px 0px rgba(118, 136, 166, 0.21);
border-radius: 4px;
position: absolute;
left: 50%;
left: 30%;
top: 10%;
// transform: translate(-50%, -50%);