diff --git a/src/military/task/components/itemListMyTask/index.jsx b/src/military/task/components/itemListMyTask/index.jsx index a36c42d47..194a41a6e 100644 --- a/src/military/task/components/itemListMyTask/index.jsx +++ b/src/military/task/components/itemListMyTask/index.jsx @@ -133,7 +133,7 @@ export default Form.create()((props) => { (!item.isProofBoolean) && (item.taskResultProof && item.taskResultProof.status === 0) && { proofAdvice(item.advice) }} className="line_1 color-blue">佐证被拒原因} - {(item.status === 9) && { repairAdvice(item.advice) }} className="line_1 color-blue">审核意见} + {(item.status === 9) && { repairAdvice(item.repairAdvice) }} className="line_1 color-blue">审核意见} {item.status === 6 && { signMethodModal(item) }}>选择协议签订方式} {/* 支付登记 */} diff --git a/src/military/task/components/itemListPaper/index.jsx b/src/military/task/components/itemListPaper/index.jsx index 42c87d6d9..c63c9bb17 100644 --- a/src/military/task/components/itemListPaper/index.jsx +++ b/src/military/task/components/itemListPaper/index.jsx @@ -7,7 +7,7 @@ import Loading from "src/Loading"; import { editorConfig } from 'military/components/config'; import Upload from 'military/components/Upload'; import { reportPaper, thumbUpPaper, commentAdd, complainPaper, publicityComplain } from '../../api'; -import {paperCheckStatusArr} from '../../static'; +import { paperCheckStatusArr } from '../../static'; import { httpUrl } from '../../../fetch'; import winpng from '../../image/winner.png'; import headpng from '../../image/head.png'; @@ -15,9 +15,9 @@ import './index.scss'; const { TextArea } = Input; -const paperCheckStatus=[]; -for (const item of paperCheckStatusArr){ - paperCheckStatus[item.dicItemCode]=item.dicItemName; +const paperCheckStatus = []; +for (const item of paperCheckStatusArr) { + paperCheckStatus[item.dicItemCode] = item.dicItemName; } export default Form.create()((props) => { @@ -215,7 +215,7 @@ export default Form.create()((props) => { {commentsItem.user.nickname || commentsItem.user.login} {timeAgo(commentsItem.createdAt)} -