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