mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-10 11:26:45 +08:00
讲师管理bug
This commit is contained in:
@@ -176,7 +176,7 @@ const columns = [
|
||||
dataIndex: 'name',
|
||||
key: 'name',
|
||||
align: 'center',
|
||||
width:100,
|
||||
width:120,
|
||||
},
|
||||
{
|
||||
title: '讲师工号',
|
||||
@@ -227,6 +227,7 @@ const columns = [
|
||||
key: 'payrollPlace',
|
||||
align: 'center',
|
||||
width:120,
|
||||
customCell :() => {return {style: {maxWidth: '160px',overflow: 'hidden',whiteSpace: 'nowrap',textOverflow:'ellipsis',cursor:'pointer'}}},
|
||||
customRender: ({ text })=>{
|
||||
return text||'-'
|
||||
}
|
||||
@@ -237,7 +238,7 @@ const columns = [
|
||||
dataIndex: 'courseType',
|
||||
key: 'courseType',
|
||||
align: 'center',
|
||||
width:120,
|
||||
width:140,
|
||||
customRender: ({ text,record })=>{
|
||||
switch (text) {
|
||||
case 0:
|
||||
@@ -301,7 +302,7 @@ const columns = [
|
||||
dataIndex: 'levelPay',
|
||||
key: 'levelPay',
|
||||
align: 'center',
|
||||
width:100,
|
||||
width:120,
|
||||
customRender: ({ text })=>{
|
||||
return text||text==0?text+'元':'-'
|
||||
}
|
||||
@@ -311,7 +312,8 @@ const columns = [
|
||||
dataIndex: 'expense',
|
||||
key: 'expense',
|
||||
align: 'center',
|
||||
width:100,
|
||||
width:120,
|
||||
customCell :() => {return {style: {maxWidth: '160px',overflow: 'hidden',whiteSpace: 'nowrap',textOverflow:'ellipsis',cursor:'pointer'}}},
|
||||
customRender: ({ text })=>{
|
||||
return text?text+'元':'-'
|
||||
}
|
||||
|
||||
@@ -286,7 +286,7 @@ const columns = [
|
||||
dataIndex: 'name',
|
||||
key: 'name',
|
||||
align: 'center',
|
||||
width:100,
|
||||
width:120,
|
||||
},
|
||||
{
|
||||
title: '讲师工号',
|
||||
@@ -337,6 +337,7 @@ const columns = [
|
||||
key: 'payrollPlace',
|
||||
align: 'center',
|
||||
width:120,
|
||||
customCell :() => {return {style: {maxWidth: '160px',overflow: 'hidden',whiteSpace: 'nowrap',textOverflow:'ellipsis',cursor:'pointer'}}},
|
||||
customRender: ({ text })=>{
|
||||
return text||'-'
|
||||
}
|
||||
@@ -347,7 +348,7 @@ const columns = [
|
||||
dataIndex: 'courseType',
|
||||
key: 'courseType',
|
||||
align: 'center',
|
||||
width:120,
|
||||
width:140,
|
||||
customRender: ({ text,record })=>{
|
||||
switch (text) {
|
||||
case 0:
|
||||
@@ -411,7 +412,7 @@ const columns = [
|
||||
dataIndex: 'levelPay',
|
||||
key: 'levelPay',
|
||||
align: 'center',
|
||||
width:100,
|
||||
width:120,
|
||||
customRender: ({text})=>{
|
||||
return text||text==0 ? text+'元' : '-'
|
||||
}
|
||||
@@ -421,7 +422,8 @@ const columns = [
|
||||
dataIndex: 'expense',
|
||||
key: 'expense',
|
||||
align: 'center',
|
||||
width:100,
|
||||
width:120,
|
||||
customCell :() => {return {style: {maxWidth: '160px',overflow: 'hidden',whiteSpace: 'nowrap',textOverflow:'ellipsis',cursor:'pointer'}}},
|
||||
customRender: ({text})=>{
|
||||
return text ? text+'元' : '-'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user