|
@@ -52,7 +52,8 @@
|
|
</view>
|
|
</view>
|
|
<view>
|
|
<view>
|
|
<text class="text-normal">最后下单时间 </text>
|
|
<text class="text-normal">最后下单时间 </text>
|
|
- <text class="text-gray text-sm">2018/09/24 10:44</text>
|
|
|
|
|
|
+ <text class="text-gray text-sm">{{user.create_time}}</text>
|
|
|
|
+
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
|
|
@@ -88,6 +89,7 @@
|
|
|
|
|
|
import {agentUserList} from "../../../requests/agent";
|
|
import {agentUserList} from "../../../requests/agent";
|
|
import Toast from '../../../../static/vant/toast/toast'
|
|
import Toast from '../../../../static/vant/toast/toast'
|
|
|
|
+import {formatTimeForSeconds} from "../../../utils";
|
|
|
|
|
|
var $this
|
|
var $this
|
|
export default {
|
|
export default {
|
|
@@ -212,6 +214,9 @@ export default {
|
|
Toast.clear()
|
|
Toast.clear()
|
|
let $data = res.data;
|
|
let $data = res.data;
|
|
$this.user_list = $data.data
|
|
$this.user_list = $data.data
|
|
|
|
+ $this.user_list.forEach(($val, $index) => {
|
|
|
|
+ $val['create_time'] = formatTimeForSeconds($val['create_time'])
|
|
|
|
+ })
|
|
$this.customer_count = $this.user_list.length
|
|
$this.customer_count = $this.user_list.length
|
|
})
|
|
})
|
|
}
|
|
}
|