讲师管理bug

This commit is contained in:
zhangsir
2024-11-18 19:13:04 +08:00
parent 8fe4882156
commit 7e2d5a6d0e
8 changed files with 325 additions and 217 deletions

View File

@@ -1,12 +1,12 @@
<template>
<a-drawer
:visible="visible"
class="drawerStyle RouterFaceStu"
class="drawerStyle RouterFaceStus"
placement="right"
width="80%"
>
<div class="drawerMain">
<div class="header">
<div class="drawerMains">
<div class="headers">
<div class="headerTitle">{{ name }}</div>
<img
style="width: 29px; height: 29px; cursor: pointer"
@@ -220,15 +220,15 @@ const queryDrawer = () => {
<style lang="scss" scoped>
.RouterFaceStu {
.drawerMain {
.RouterFaceStus {
.drawerMains {
min-width: 600px;
margin: 0px 32px 0px 32px;
overflow-x: auto;
display: flex;
flex-direction: column;
.header {
.headers {
height: 73px;
border-bottom: 1px solid #e8e8e8;
display: flex;
@@ -299,6 +299,7 @@ const queryDrawer = () => {
position: absolute;
bottom: 0;
left: 0;
z-index: 9;
display: flex;
align-items: center;
justify-content: end;

View File

@@ -1,12 +1,12 @@
<template>
<a-drawer
:visible="visible"
class="drawerStyle RouterFaceStu"
class="drawerStyle RouterFaceStus"
placement="right"
width="60%"
>
<div class="drawerMain">
<div class="header">
<div class="drawerMains">
<div class="headers">
<div class="headerTitle">{{ name }}</div>
<img
style="width: 29px; height: 29px; cursor: pointer"
@@ -22,7 +22,7 @@
<div class="text">汇总金额</div>
</div>
<div class="right">
<div>{{item?.trainOrgName}}</div>
<div class="org" :title="item?.trainOrgName">{{item?.trainOrgName}}</div>
<div class="text">{{item?.summaryTotal}}</div>
</div>
</div>
@@ -485,15 +485,15 @@ const config = () => {
}
}
.RouterFaceStu {
.drawerMain {
.RouterFaceStus {
.drawerMains {
min-width: 600px;
margin: 0px 32px 0px 32px;
overflow-x: auto;
display: flex;
flex-direction: column;
.header {
.headers {
height: 73px;
border-bottom: 1px solid #e8e8e8;
display: flex;
@@ -537,6 +537,12 @@ const config = () => {
}
.right{
color: #646C9A;
.org{
max-width: 180px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.text{
margin-top:20px;
}

View File

@@ -106,9 +106,23 @@ const columns = [
},
{
title: '类型',
dataIndex: 'age',
key: 'age',
dataIndex: 'updateStatus',
key: 'updateStatus',
align: 'center',
customRender: ({text})=>{
switch (text) {
case 0:
return <span>未更改</span>;
case 1:
return <span>新增</span>;
case 2:
return <span>移除</span>;
case 3:
return <span>编辑</span>;
default:
return <span>-</span>;
}
},
},
{
title: '状态',