竞赛评审列表表结构更改,导入专家模板变更

This commit is contained in:
unknown 2022-03-02 16:02:25 +08:00
parent 6fc87e2ae3
commit b5fbde51af
2 changed files with 6 additions and 9 deletions

View File

@ -95,16 +95,13 @@ function Competition(props){
}
},
{
title: "开始时间",
title: "比赛时间",
dataIndex: "start_time",
key: "startTime",
align: "center",
},
{
title: "截止时间",
dataIndex: "end_time",
key: "endTime",
key: "time",
align: "center",
render:(text, record)=>{
return text +' ~ '+ record.end_time;
}
},
{
title: "报名人数",

View File

@ -393,7 +393,7 @@ function RegisterList({ showNotification }) {
>
<button className="but41_fill">导入</button>
</Upload>
<p className="link" onClick={() => { window.open(httpUrl + '/busiAttachments/download/134') }}>专家注册表模板.xlsx</p>
<p className="link" onClick={() => { window.open(`${httpUrl}/busiAttachments/download/${window.location.host.indexOf('osredm') === -1 ? '171' : '137'}`) }}>专家注册表模板.xlsx</p>
<p className='hint'>提示只能在导入模版上增减数据才能导入成功</p>
</Modal>
</div>)