mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-22 01:06:45 +08:00
讲师管理bug
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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: '状态',
|
||||
|
||||
Reference in New Issue
Block a user