forked from Gitlink/forgeplus-react
修改创客管理员发布的问题
This commit is contained in:
parent
c0cfe12db4
commit
162fd200a5
|
@ -55,7 +55,7 @@ export default Form.create()(props => {
|
|||
<div className="task-popup-content">
|
||||
{/* paperAuditing */}
|
||||
{checkedItem.paperAuditing && <p className=" mb10 color-orange task_tip">审核意见:{checkedItem.paperAuditing.message}</p>}
|
||||
<a href="http://117.50.100.12:8000/attachments/download/523/%E5%88%9B%E5%AE%A2%E4%BB%BB%E5%8A%A1%E5%88%97%E8%A1%A8_2019-07-26_20-53.xlsx" className="icon icon-attachment font-13 color-blue" length="32">协议样板.word</a>
|
||||
<a href="https://task.osredm.com/busiAttachments/download/121" className="icon icon-attachment font-13 color-blue" length="32">协议样板.word</a>
|
||||
<Form.Item className="upload-form" label="附件上传" required={true}>
|
||||
<Upload
|
||||
load={uploadFunc}
|
||||
|
|
|
@ -197,8 +197,10 @@ export default Form.create()(forwardRef(({ current_user, form, showNotification,
|
|||
if (res && res.data) {
|
||||
showNotification("任务保存成功!");
|
||||
if (!status) {
|
||||
history.push("/task/myTask?published=false")
|
||||
} else {
|
||||
history.push("/task/myTask?published=false");
|
||||
} else if (current_user.admin) {
|
||||
history.push("/task");
|
||||
} else {
|
||||
info({
|
||||
title: '提示',
|
||||
content: <div>
|
||||
|
@ -305,9 +307,9 @@ export default Form.create()(forwardRef(({ current_user, form, showNotification,
|
|||
|
||||
<div className="padding30 bor-bottom-greyE">
|
||||
<p className="partTitle">任务内容<span className="color-red font-14">(*必填)</span>
|
||||
<span>
|
||||
<a href="http://117.50.100.12:8000/attachments/download/523/%E5%88%9B%E5%AE%A2%E4%BB%BB%E5%8A%A1%E5%88%97%E8%A1%A8_2019-07-26_20-53.xlsx" className="icon icon-attachment font-13 color-blue" length="32" target="_blank">创客任务列表_2019-07-26_20-53.xlsx</a>
|
||||
</span><span className="color-grey-9 ml5 font-12 ">点击下载示例模版</span>
|
||||
{/* <span>
|
||||
<a href="https://task.osredm.com/busiAttachments/download/121" className="icon icon-attachment font-13 color-blue" length="32" target="_blank">创客任务模版.xlsx</a>
|
||||
</span><span className="color-grey-9 ml5 font-12 ">点击下载示例模版</span> */}
|
||||
</p>
|
||||
|
||||
<div className="pl15 task-edit-content">
|
||||
|
|
Loading…
Reference in New Issue