Procházet zdrojové kódy

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

魏熙美 před 6 roky
rodič
revize
29fc4ba441

+ 4
- 4
VUECODE/smart-property-manage/src/router/index.js Zobrazit soubor

@@ -129,28 +129,28 @@ 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',
150 150
         component: () => import('@/views/social/transaction/reply/transactionreply'),
151 151
         name: 'transactionreply-index',
152 152
         hidden: true,
153
-        meta: { title: '二手帖子回复列表', icon: 'table' }
153
+        meta: { title: '话题回复列表', icon: 'table' }
154 154
       },
155 155
       {
156 156
         path: '/transaction/transactionReport',

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

@@ -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 Zobrazit soubor

@@ -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 Zobrazit soubor

@@ -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
 }