Bladeren bron

修复bug 4510 4509

傅行帆 6 jaren geleden
bovenliggende
commit
95484762fc

+ 3
- 3
VUECODE/smart-property-manage/src/router/index.js Bestand weergeven

@@ -129,21 +129,21 @@ export const constantRouterMap = [
129 129
         component: () => import('@/views/social/transaction/transactionAdd'),
130 130
         name: 'transaction-add',
131 131
         hidden: true,
132
-        meta: { title: '添加二手求购', icon: 'table' }
132
+        meta: { title: '添加话题', icon: 'table' }
133 133
       },
134 134
       {
135 135
         path: '/transaction/transaction',
136 136
         component: () => import('@/views/social/transaction/transactionEdit'),
137 137
         name: 'transaction-edit',
138 138
         hidden: true,
139
-        meta: { title: '修改二手求购', icon: 'table' }
139
+        meta: { title: '修改话题', icon: 'table' }
140 140
       },
141 141
       {
142 142
         path: '/transaction/info',
143 143
         component: () => import('@/views/social/transaction/transactionDetails'),
144 144
         name: 'transaction-info',
145 145
         hidden: true,
146
-        meta: { title: '二手求购租赁详情', icon: 'table' }
146
+        meta: { title: '话题详情', icon: 'table' }
147 147
       },
148 148
       {
149 149
         path: '/transaction/reply',

+ 6
- 1
VUECODE/smart-property-manage/src/views/social/transaction/index.vue Bestand weergeven

@@ -268,7 +268,12 @@ export default {
268 268
       var year = value.getFullYear()
269 269
       var month = value.getMonth() + 1
270 270
       var day = value.getDate()
271
-      return year + '-' + month + '-' + day
271
+      var hour = this.padDate(value.getHours())
272
+      var minutes = this.padDate(value.getMinutes())
273
+      var seconds = this.padDate(value.getSeconds())
274
+      return year + '-' + month + '-' + day + ' ' + hour + ':' + minutes + ':' + seconds
275
+      // return year + '-' + month + '-' + day
276
+      // return year + '-' + month + '-' + day
272 277
     },
273 278
     // 举报数量
274 279
     report(sum,id){

+ 4
- 1
VUECODE/smart-property-manage/src/views/social/transaction/reply/transactionreply.vue Bestand weergeven

@@ -230,7 +230,10 @@ export default {
230 230
       var year = value.getFullYear()
231 231
       var month = value.getMonth() + 1
232 232
       var day = value.getDate()
233
-      return year + '-' + month + '-' + day
233
+      var hour = this.padDate(value.getHours())
234
+      var minutes = this.padDate(value.getMinutes())
235
+      var seconds = this.padDate(value.getSeconds())
236
+      return year + '-' + month + '-' + day + ' ' + hour + ':' + minutes + ':' + seconds
234 237
     },
235 238
     // 弹出层
236 239
     TransactionReplyOpen(id){

+ 4
- 1
VUECODE/smart-property-manage/src/views/social/transaction/transactionReport/report.vue Bestand weergeven

@@ -127,7 +127,10 @@ export default {
127 127
       var year = value.getFullYear()
128 128
       var month = value.getMonth() + 1
129 129
       var day = value.getDate()
130
-      return year + '-' + month + '-' + day
130
+      var hour = this.padDate(value.getHours())
131
+      var minutes = this.padDate(value.getMinutes())
132
+      var seconds = this.padDate(value.getSeconds())
133
+      return year + '-' + month + '-' + day + ' ' + hour + ':' + minutes + ':' + seconds
131 134
     }
132 135
   }
133 136
 }