2023年3月30 修改表格

This commit is contained in:
bai 2023-03-30 22:15:22 +08:00
parent aba9345350
commit 704e05d32f
2 changed files with 11 additions and 2 deletions

View File

@ -174,7 +174,7 @@ public class KcKetangbiao implements Serializable {
/**开课单位id*/ /**开课单位id*/
@Excel(name = "开课单位id", width = 15) @Excel(name = "开课单位id", width = 15)
@ApiModelProperty(value = "开课单位id") @ApiModelProperty(value = "开课单位id")
private java.lang.Integer kkdwid; private java.lang.String kkdwid;
/**上课日期*/ /**上课日期*/
@Excel(name = "上课日期", width = 15) @Excel(name = "上课日期", width = 15)
@ApiModelProperty(value = "上课日期") @ApiModelProperty(value = "上课日期")
@ -182,7 +182,7 @@ public class KcKetangbiao implements Serializable {
/**课程表id*/ /**课程表id*/
@Excel(name = "课程表id", width = 15) @Excel(name = "课程表id", width = 15)
@ApiModelProperty(value = "课程表id") @ApiModelProperty(value = "课程表id")
private java.lang.Integer kechengbiaoid; private java.lang.String kechengbiaoid;
/**听课次数*/ /**听课次数*/
@Excel(name = "听课次数", width = 15) @Excel(name = "听课次数", width = 15)
@ApiModelProperty(value = "听课次数") @ApiModelProperty(value = "听课次数")

View File

@ -5,6 +5,15 @@ import { rules} from '/@/utils/helper/validator';
import { render } from '/@/utils/common/renderUtils'; import { render } from '/@/utils/common/renderUtils';
//列表数据 //列表数据
export const columns: BasicColumn[] = [ export const columns: BasicColumn[] = [
{
title: '行号',
align: "center",
dataIndex: '$no',
width: '50px',
customRender: (r) => {
return r.index+1;
}
},
<#list columns as po> <#list columns as po>
<#if po.isShowList =='Y' && po.fieldName !='id'> <#if po.isShowList =='Y' && po.fieldName !='id'>
{ {