fix:系统考试工号显示修改

This commit is contained in:
wyx
2023-02-19 00:26:30 +08:00
parent 454a9335ee
commit c7e5cf0488
2 changed files with 6 additions and 6 deletions

View File

@@ -187,15 +187,15 @@ export default {
tablecolumns: [ tablecolumns: [
{ {
title: "工号", title: "工号",
dataIndex: "studentUserNo", dataIndex: "studentCode",
key: "studentUserNo", key: "studentCode",
width: 60, width: 60,
align: "center", align: "center",
className: "h head", className: "h head",
customRender: (text) => { customRender: (text) => {
return ( return (
<div class="racona"> <div class="racona">
<span> {text.record.studentUserNo?text.record.studentUserNo:"-"}</span> <span> {text.record.studentCode?text.record.studentCode:"-"}</span>
</div> </div>
); );
}, },

View File

@@ -190,15 +190,15 @@ export default {
tablecolumns: [ tablecolumns: [
{ {
title: "工号", title: "工号",
dataIndex: "studentUserNo", dataIndex: "studentCode",
key: "studentUserNo", key: "studentCode",
width: 120, width: 120,
align: "center", align: "center",
className: "h head", className: "h head",
customRender: (text) => { customRender: (text) => {
return ( return (
<div class="racona"> <div class="racona">
<span> {text.record.studentUserNo?text.record.studentUserNo:"-"}</span> <span> {text.record.studentCode?text.record.studentCode:"-"}</span>
</div> </div>
); );
}, },