dev #16
|
|
@ -79,49 +79,59 @@ const tableData: TableConfig = intTableData({
|
||||||
label: "数学",
|
label: "数学",
|
||||||
width: "100px",
|
width: "100px",
|
||||||
custom: (row) => row.subjectDic.数学,
|
custom: (row) => row.subjectDic.数学,
|
||||||
|
search: { sort: true },
|
||||||
},
|
},
|
||||||
英语: {
|
英语: {
|
||||||
label: "英语",
|
label: "英语",
|
||||||
width: "100px",
|
width: "100px",
|
||||||
custom: (row) => row.subjectDic.英语,
|
custom: (row) => row.subjectDic.英语,
|
||||||
|
search: { sort: true },
|
||||||
},
|
},
|
||||||
物理: {
|
物理: {
|
||||||
label: "物理",
|
label: "物理",
|
||||||
width: "100px",
|
width: "100px",
|
||||||
custom: (row) => row.subjectDic.物理,
|
custom: (row) => row.subjectDic.物理,
|
||||||
|
search: { sort: true },
|
||||||
},
|
},
|
||||||
化学: {
|
化学: {
|
||||||
label: "化学",
|
label: "化学",
|
||||||
width: "100px",
|
width: "100px",
|
||||||
custom: (row) => row.subjectDic.化学,
|
custom: (row) => row.subjectDic.化学,
|
||||||
|
search: { sort: true },
|
||||||
},
|
},
|
||||||
生物: {
|
生物: {
|
||||||
label: "生物",
|
label: "生物",
|
||||||
width: "100px",
|
width: "100px",
|
||||||
custom: (row) => row.subjectDic.生物,
|
custom: (row) => row.subjectDic.生物,
|
||||||
|
search: { sort: true },
|
||||||
},
|
},
|
||||||
政治: {
|
政治: {
|
||||||
label: "政治",
|
label: "政治",
|
||||||
width: "100px",
|
width: "100px",
|
||||||
custom: (row) => row.subjectDic.政治,
|
custom: (row) => row.subjectDic.政治,
|
||||||
|
search: { sort: true },
|
||||||
},
|
},
|
||||||
历史: {
|
历史: {
|
||||||
label: "历史",
|
label: "历史",
|
||||||
width: "100px",
|
width: "100px",
|
||||||
custom: (row) => row.subjectDic.历史,
|
custom: (row) => row.subjectDic.历史,
|
||||||
|
search: { sort: true },
|
||||||
},
|
},
|
||||||
地理: {
|
地理: {
|
||||||
label: "地理",
|
label: "地理",
|
||||||
width: "100px",
|
width: "100px",
|
||||||
custom: (row) => row.subjectDic.地理 ?? "--",
|
custom: (row) => row.subjectDic.地理 ?? "--",
|
||||||
|
search: { sort: true },
|
||||||
},
|
},
|
||||||
assignScore: {
|
assignScore: {
|
||||||
label: "赋分总分",
|
label: "赋分总分",
|
||||||
width: "180px",
|
width: "180px",
|
||||||
|
search: { sort: true },
|
||||||
},
|
},
|
||||||
assignRanking: {
|
assignRanking: {
|
||||||
label: "赋分后的排名",
|
label: "赋分后的排名",
|
||||||
width: "200px",
|
width: "200px",
|
||||||
|
search: { sort: true },
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
data: [],
|
data: [],
|
||||||
|
|
|
||||||
|
|
@ -82,49 +82,59 @@ const tableData: TableConfig = intTableData({
|
||||||
label: "数学",
|
label: "数学",
|
||||||
width: "80px",
|
width: "80px",
|
||||||
custom: (row) => row.subjectDic.数学 ?? "--",
|
custom: (row) => row.subjectDic.数学 ?? "--",
|
||||||
|
search: { sort: true },
|
||||||
},
|
},
|
||||||
英语: {
|
英语: {
|
||||||
label: "英语",
|
label: "英语",
|
||||||
width: "80px",
|
width: "80px",
|
||||||
custom: (row) => row.subjectDic.英语 ?? "--",
|
custom: (row) => row.subjectDic.英语 ?? "--",
|
||||||
|
search: { sort: true },
|
||||||
},
|
},
|
||||||
物理: {
|
物理: {
|
||||||
label: "物理",
|
label: "物理",
|
||||||
width: "80px",
|
width: "80px",
|
||||||
custom: (row) => row.subjectDic.物理 ?? "--",
|
custom: (row) => row.subjectDic.物理 ?? "--",
|
||||||
|
search: { sort: true },
|
||||||
},
|
},
|
||||||
化学: {
|
化学: {
|
||||||
label: "化学",
|
label: "化学",
|
||||||
width: "80px",
|
width: "80px",
|
||||||
custom: (row) => row.subjectDic.化学 ?? "--",
|
custom: (row) => row.subjectDic.化学 ?? "--",
|
||||||
|
search: { sort: true },
|
||||||
},
|
},
|
||||||
生物: {
|
生物: {
|
||||||
label: "生物",
|
label: "生物",
|
||||||
width: "80px",
|
width: "80px",
|
||||||
custom: (row) => row.subjectDic.生物 ?? "--",
|
custom: (row) => row.subjectDic.生物 ?? "--",
|
||||||
|
search: { sort: true },
|
||||||
},
|
},
|
||||||
政治: {
|
政治: {
|
||||||
label: "政治",
|
label: "政治",
|
||||||
width: "80px",
|
width: "80px",
|
||||||
custom: (row) => row.subjectDic.政治 ?? "--",
|
custom: (row) => row.subjectDic.政治 ?? "--",
|
||||||
|
search: { sort: true },
|
||||||
},
|
},
|
||||||
历史: {
|
历史: {
|
||||||
label: "历史",
|
label: "历史",
|
||||||
width: "80px",
|
width: "80px",
|
||||||
custom: (row) => row.subjectDic.历史 ?? "--",
|
custom: (row) => row.subjectDic.历史 ?? "--",
|
||||||
|
search: { sort: true },
|
||||||
},
|
},
|
||||||
地理: {
|
地理: {
|
||||||
label: "地理",
|
label: "地理",
|
||||||
width: "80px",
|
width: "80px",
|
||||||
custom: (row) => row.subjectDic.地理 ?? "--",
|
custom: (row) => row.subjectDic.地理 ?? "--",
|
||||||
|
search: { sort: true },
|
||||||
},
|
},
|
||||||
assignScore: {
|
assignScore: {
|
||||||
label: "赋分总分",
|
label: "赋分总分",
|
||||||
width: "80px",
|
width: "80px",
|
||||||
|
search: { sort: true },
|
||||||
},
|
},
|
||||||
assignRanking: {
|
assignRanking: {
|
||||||
label: "赋分后的排名",
|
label: "赋分后的排名",
|
||||||
width: "120px",
|
width: "120px",
|
||||||
|
search: { sort: true },
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
data: [],
|
data: [],
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue