Commit 9f8d44a3a188987de91a6719083fba4372d5fc64

Authored by vking
1 parent c2a09a70

fix 邀请函参与人详情

1 // pages/customer/detail_owner.js 1 // pages/customer/detail_owner.js
2 import util from '../../utils/util'; 2 import util from '../../utils/util';
3 import App from '../../utils/api'; 3 import App from '../../utils/api';
  4 +import RS from '../../utils/reserveStatus'
4 const {regeneratorRuntime} = global 5 const {regeneratorRuntime} = global
5 import TP from '../../utils/tpls'; 6 import TP from '../../utils/tpls';
6 Page({ 7 Page({
@@ -67,8 +68,9 @@ Page({ @@ -67,8 +68,9 @@ Page({
67 openid: getApp().openid, 68 openid: getApp().openid,
68 rid: this.id 69 rid: this.id
69 },fouce).then(res => { 70 },fouce).then(res => {
  71 + let reserev=RS.reserve(res.data)
70 this.setData({ 72 this.setData({
71 - detail:this.formatDatail(res.data) 73 + detail:this.formatDatail(reserev)
72 }) 74 })
73 }) 75 })
74 }, 76 },