傅行帆 5 年之前
父節點
當前提交
37a75eb03c

+ 1
- 1
src/pages/building/list/index.jsx 查看文件

@@ -135,7 +135,7 @@ function CartBody(props) {
135 135
       </p>
136 136
       <p className={Styles.cardItem}>
137 137
         <span className={Styles.title}>录入时间</span>
138
-        <span >:{data.createDate}</span>
138
+        <span >:{moment(data.createDate).format('YYYY-MM-DD HH:mm:ss')}</span>
139 139
       </p>
140 140
       <p style={{ margin: '15px 0', position: 'relative', fontSize: '0.106rem' }}>
141 141
       <AuthButton name="admin.building.update.status.put" noRight={null}>

+ 1
- 0
src/pages/channel/recommendClients.jsx 查看文件

@@ -84,6 +84,7 @@ const columns = [
84 84
     dataIndex: 'createDate',
85 85
     key: 'createDate',
86 86
     align: 'center',
87
+    render: (_, record) => <><span>{ record.createDate && moment(record.createDate).format('YYYY-MM-DD') }</span></>,
87 88
   },
88 89
   {
89 90
     title: '状态',

+ 1
- 0
src/pages/customer/independentList/index.jsx 查看文件

@@ -106,6 +106,7 @@ class ModalTable extends React.Component {
106 106
         title: '推荐时间',
107 107
         dataIndex: 'createDate',
108 108
         key: 'createDate',
109
+        render: (_, record) => <><span>{ record.createDate && moment(record.createDate).format('YYYY-MM-DD') }</span></>,
109 110
       },
110 111
       {
111 112
         title: '状态',

+ 1
- 1
src/pages/news/list/NewsList.jsx 查看文件

@@ -210,7 +210,7 @@ function body(props) {
210 210
             <span>收藏数量:{data.saveNum}</span>
211 211
           </p>
212 212
 
213
-          <p style={{ fontSize: ' 0.106rem', color: '#999', marginBottom: '8px' }}>发布时间:{data.createDate}</p>
213
+          <p style={{ fontSize: ' 0.106rem', color: '#999', marginBottom: '8px' }}>发布时间:{moment(data.createDate).format('YYYY-MM-DD HH:mm:ss')}</p>
214 214
         </div>
215 215
       </Card>
216 216
     )