讲师管理修改

This commit is contained in:
zhangsir
2025-01-13 16:25:18 +08:00
parent 2e1b057f62
commit 7f0d9613b4
12 changed files with 32 additions and 28 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.6 KiB

After

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.9 KiB

After

Width:  |  Height:  |  Size: 9.6 KiB

View File

@@ -333,7 +333,7 @@ const columns = [
customRender: (value) => {
return (
<div>
{value.record.score?Number(value.record.score).toFixed(0)==0?'-':Number(value.record.score).toFixed(0)+'分' : '-'}
{value.record.score?Number(value.record.score).toFixed(0)==0?'-':Number(value.record.score).toFixed(2)+'分' : '-'}
</div>
)
}

View File

@@ -421,7 +421,7 @@ const columns = [
customRender: (value) => {
return (
<div>
{value.record.score?Number(value.record.score).toFixed(0)==0?'-':Number(value.record.score).toFixed(0)+'分' : '-'}
{value.record.score?Number(value.record.score).toFixed(0)==0?'-':Number(value.record.score).toFixed(2)+'分' : '-'}
</div>
)
}
@@ -683,18 +683,19 @@ const config = () => {
.list{
display: flex;
align-items: center;
background-color: #f5f5f5;
min-width: 260px;
// background-color: #f5f5f5;
border: 1px solid #1e98d7;
min-width: 286px;
padding: 20px 10px;
color: #ffffff;
// color: #ffffff;
border-radius:6px;
margin-right: 20px;
margin-bottom: 20px;
position: relative;
.icon{
position: absolute;
right: -10px;
top: -10px;
right: 3px;
top: 3px;
width:24px;
height:24px;
cursor: pointer;
@@ -713,16 +714,17 @@ const config = () => {
width: 35%;
min-width: 86px;
text-align:right;
margin-right:30px;
color: rgba(116, 120, 141, 0.603921568627451);
margin-right:20px;
// color: rgba(116, 120, 141, 0.603921568627451);
color: #333333;
.text{
margin-top:20px;
}
}
.right{
color: #646C9A;
color: #333333;
.org{
max-width: 136px;
max-width: 144px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
@@ -733,12 +735,13 @@ const config = () => {
}
}
.active{
background-color: #4ea6ff;
// background-color: #4ea6ff;
background-color: rgba(174, 220, 246, 0.64);
.left{
color: #ffffff;
color: #333333;
}
.right{
color: #ffffff;
color: #333333;
}
}
}

View File

@@ -34,7 +34,7 @@
</div>
</div>
<!-- 表格 -->
<div style="padding: 10px 0">
<div>
<a-table :header-cell-style="{ 'text-align': 'center' }" :columns="columns"
:data-source="tableData" :loading="tableLoading" :scroll="{ x: '900' }" :pagination="false">
<template #action="{ record, column }">

View File

@@ -97,7 +97,7 @@
</a-button>
</div>
<!-- 表格 -->
<div style="padding: 10px 0">
<div>
<a-table :header-cell-style="{ 'text-align': 'center' }" style="border: 1px solid #f2f6fe" :columns="columns"
:scroll="{ x: 1500 }" :data-source="tableData" :loading="tableLoading" @expand="expandTable"
:pagination="false">
@@ -280,7 +280,7 @@
</template>
<!-- <a-input class="draitem" v-model:value="formParam.score" @blur="clearscoreNumber" placeholder="" allowClear showSearch>
</a-input> -->
<a-input-number @blur="blurScore" @focus="focusScore" v-model:value="formParam.score" :precision="0" :min="1" :max="100"
<a-input-number @blur="blurScore" @focus="focusScore" v-model:value="formParam.score" :precision="2" :min="1" :max="100"
style="width:100%; height: 40px; border-radius: 8px ; " placeholder="请输入评分" />
</a-form-item>
</a-col>

View File

@@ -71,7 +71,7 @@
</div>
</div>
<!-- 表格 -->
<div style="padding: 10px 0">
<div>
<a-table :columns="columns" :scroll="{ x: '1000' }" :data-source="tableData" :loading="tableLoading"
:pagination="false">
<template #bodyCell="{ record, column }">
@@ -1453,7 +1453,8 @@ export default {
// border-color: #40a9ff !important;
// }
.ant-form-item{
margin-bottom: 12px;
// margin-bottom: 12px;
// height: 40px;
}
.headers {
height: 56px;

View File

@@ -116,7 +116,7 @@
</a-button>
</div>
<!-- 表格 -->
<div style="padding: 10px 0">
<div>
<a-table :header-cell-style="{ 'text-align': 'center' }" style="border: 1px solid #f2f6fe" :columns="columns"
:scroll="{ x: 1500 }" :data-source="tableData" :loading="tableLoading" @expand="expandTable"
:pagination="false">
@@ -346,7 +346,7 @@
</template>
<!-- <a-input class="draitem" v-model:value="formParam.score" @blur="clearscoreNumber" placeholder="" allowClear showSearch>
</a-input> -->
<a-input-number @blur="blurScore" @focus="focusScore" v-model:value="formParam.score" :precision="0" :min="1" :max="100"
<a-input-number @blur="blurScore" @focus="focusScore" v-model:value="formParam.score" :precision="2" :min="1" :max="100"
style="width:100%; height: 40px; border-radius: 8px ; " placeholder="请输入评分" />
</a-form-item>
</a-col>

View File

@@ -319,7 +319,7 @@
/>
评分
</template>
<a-input-number class="draitem" v-model:value="formParam.score" :defaultValue="null" :max="100" :controls="false" :min="1" :precision="0" placeholder="请输入评分"
<a-input-number class="draitem" v-model:value="formParam.score" :defaultValue="null" :max="100" :controls="false" :min="1" :precision="2" placeholder="请输入评分"
allowClear >
</a-input-number>
</a-form-item>
@@ -992,7 +992,7 @@ export default {
customRender: (value) => {
return (
<div>
{value.record.score?Number(value.record.score).toFixed(0)==0?'-':Number(value.record.score).toFixed(0)+'分' : '-'}
{value.record.score?Number(value.record.score).toFixed(0)==0?'-':Number(value.record.score).toFixed(2)+'分' : '-'}
</div>
)
}

View File

@@ -84,7 +84,7 @@
<div v-if="moreid == 2" style="line-height: 40px;" >当前页面汇总金额:<span style="line-height: 40px; font-size: 24px; color: rgb(207, 34, 34) ;font-weight: 600;">1,230,490</span>元 当前总汇总金额:<span style="line-height: 40px; font-size: 24px; color: rgb(207, 34, 34) ;font-weight: 600;">9,230,490</span></div>
</div> -->
<!-- 表格 -->
<div style="padding: 10px 0">
<div>
<a-table :header-cell-style="{ 'text-align': 'center' }" style="border: 1px solid #f2f6fe" :columns="columns"
:data-source="tableData" :loading="tableLoading" @expand="expandTable" :pagination="false">
<template #bodyCell="{ record, column }">
@@ -1026,7 +1026,7 @@
customRender: (value) => {
return (
<div>
{value.record.score?Number(value.record.score).toFixed(0)==0?'-':Number(value.record.score).toFixed(0)+'分' : '-'}
{value.record.score?Number(value.record.score).toFixed(0)==0?'-':Number(value.record.score).toFixed(2)+'分' : '-'}
</div>
)
}

View File

@@ -117,7 +117,7 @@
<!-- <div style="line-height: 40px;" >当前页面汇总金额<span style="line-height: 40px; font-size: 24px; color: rgb(207, 34, 34) ;font-weight: 600;">1,230,490</span> 当前总汇总金额<span style="line-height: 40px; font-size: 24px; color: rgb(207, 34, 34) ;font-weight: 600;">9,230,490</span></div> -->
</div>
<!-- 表格 -->
<div style="padding: 10px 0">
<div>
<a-table :header-cell-style="{ 'text-align': 'center' }" style="border: 1px solid #f2f6fe" :columns="columns"
:data-source="tableData" :scroll="{ x: 1500 }" :loading="tableLoading" @expand="expandTable" :pagination="false">
<template #bodyCell="{ record, column }">
@@ -401,7 +401,7 @@
/>
评分
</template>
<a-input-number :disabled="formParam.createFrom==0" class="draitem" v-model:value="formParam.score" :defaultValue="null" :max="100" :controls="false" :min="1" :precision="0" placeholder="请输入评分"
<a-input-number :disabled="formParam.createFrom==0" class="draitem" v-model:value="formParam.score" :defaultValue="null" :max="100" :controls="false" :min="1" :precision="2" placeholder="请输入评分"
allowClear @change="scoreNumber">
</a-input-number>
</a-form-item>

View File

@@ -32,7 +32,7 @@
<!-- <div style="line-height: 40px; margin-left: 14px;" >当前页面汇总金额<span style="line-height: 40px; font-size: 24px; color: rgb(207, 34, 34) ;font-weight: 600;">1,230,490</span> 当前总汇总金额<span style="line-height: 40px; font-size: 24px; color: rgb(207, 34, 34) ;font-weight: 600;">9,230,490</span></div> -->
</div>
<!-- 表格 -->
<div style="padding: 10px 0">
<div>
<a-table :header-cell-style="{ 'text-align': 'center' }" style="border: 1px solid #f2f6fe" :columns="columns"
:data-source="tableData" :loading="tableLoading" @expand="expandTable" :pagination="false">
<template #bodyCell="{ record, column }">