fangmingyue 2 년 전
부모
커밋
0cd721a24a
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2
    1
      src/pages/issue/detail/components/BasicProfile.jsx

+ 2
- 1
src/pages/issue/detail/components/BasicProfile.jsx 파일 보기

@@ -9,6 +9,7 @@ import AttachList from './AttachList';
9 9
 
10 10
 const today = (new Date()).toJSON().substring(0, 10);
11 11
 const fmDate = dt => !dt ? '-' : dayjs(dt).format('YYYY-MM-DD');
12
+const fmDateTime = dt => !dt ? '-' : dayjs(dt).format('YYYY-MM-DD HH:mm:ss');
12 13
 const getStatusLabel = val => (processStatus.filter(x => x.value == val)[0])?.label;
13 14
 
14 15
 export default (props) => {
@@ -73,7 +74,7 @@ export default (props) => {
73 74
         </Descriptions.Item>
74 75
         <Descriptions.Item label="截止日期">{fmDate(detail?.expireDate)}</Descriptions.Item>
75 76
         <Descriptions.Item label="责任单位" span={2}>{detail?.orgName}</Descriptions.Item>
76
-        <Descriptions.Item label="办结时间">{fmDate(detail?.endDate)}</Descriptions.Item>
77
+        <Descriptions.Item label="办结时间">{fmDateTime(detail?.endDate)}</Descriptions.Item>
77 78
         <Descriptions.Item label="交办次数" span={2}>{detail?.processNum}</Descriptions.Item>
78 79
         <Descriptions.Item label="问题描述" span={3}>
79 80
           <div dangerouslySetInnerHTML={{ __html: detail?.content }}></div>