Browse Source

Merge branch '2.0.0' of http://git.ycjcjy.com/fuxingfan/smartCommunity into 2.0.0

魏熙美 6 years ago
parent
commit
29fc4ba441

+ 4
- 4
VUECODE/smart-property-manage/src/router/index.js View File

129
         component: () => import('@/views/social/transaction/transactionAdd'),
129
         component: () => import('@/views/social/transaction/transactionAdd'),
130
         name: 'transaction-add',
130
         name: 'transaction-add',
131
         hidden: true,
131
         hidden: true,
132
-        meta: { title: '添加二手求购', icon: 'table' }
132
+        meta: { title: '添加话题', icon: 'table' }
133
       },
133
       },
134
       {
134
       {
135
         path: '/transaction/transaction',
135
         path: '/transaction/transaction',
136
         component: () => import('@/views/social/transaction/transactionEdit'),
136
         component: () => import('@/views/social/transaction/transactionEdit'),
137
         name: 'transaction-edit',
137
         name: 'transaction-edit',
138
         hidden: true,
138
         hidden: true,
139
-        meta: { title: '修改二手求购', icon: 'table' }
139
+        meta: { title: '修改话题', icon: 'table' }
140
       },
140
       },
141
       {
141
       {
142
         path: '/transaction/info',
142
         path: '/transaction/info',
143
         component: () => import('@/views/social/transaction/transactionDetails'),
143
         component: () => import('@/views/social/transaction/transactionDetails'),
144
         name: 'transaction-info',
144
         name: 'transaction-info',
145
         hidden: true,
145
         hidden: true,
146
-        meta: { title: '二手求购租赁详情', icon: 'table' }
146
+        meta: { title: '话题详情', icon: 'table' }
147
       },
147
       },
148
       {
148
       {
149
         path: '/transaction/reply',
149
         path: '/transaction/reply',
150
         component: () => import('@/views/social/transaction/reply/transactionreply'),
150
         component: () => import('@/views/social/transaction/reply/transactionreply'),
151
         name: 'transactionreply-index',
151
         name: 'transactionreply-index',
152
         hidden: true,
152
         hidden: true,
153
-        meta: { title: '二手帖子回复列表', icon: 'table' }
153
+        meta: { title: '话题回复列表', icon: 'table' }
154
       },
154
       },
155
       {
155
       {
156
         path: '/transaction/transactionReport',
156
         path: '/transaction/transactionReport',

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

268
       var year = value.getFullYear()
268
       var year = value.getFullYear()
269
       var month = value.getMonth() + 1
269
       var month = value.getMonth() + 1
270
       var day = value.getDate()
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
     report(sum,id){
279
     report(sum,id){

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

230
       var year = value.getFullYear()
230
       var year = value.getFullYear()
231
       var month = value.getMonth() + 1
231
       var month = value.getMonth() + 1
232
       var day = value.getDate()
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
     TransactionReplyOpen(id){
239
     TransactionReplyOpen(id){

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

127
       var year = value.getFullYear()
127
       var year = value.getFullYear()
128
       var month = value.getMonth() + 1
128
       var month = value.getMonth() + 1
129
       var day = value.getDate()
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
 }