Showing
16 changed files
with
34 additions
and
34 deletions
| @@ -50,7 +50,7 @@ Component({ | @@ -50,7 +50,7 @@ Component({ | ||
| 50 | phoneNumber:this.data.seller.phone | 50 | phoneNumber:this.data.seller.phone |
| 51 | }) | 51 | }) |
| 52 | }else{ | 52 | }else{ |
| 53 | - util.toast('请打电话预定','none'); | 53 | + util.toast('请打电话预订','none'); |
| 54 | } | 54 | } |
| 55 | }, | 55 | }, |
| 56 | lookLocation:function(){ | 56 | lookLocation:function(){ |
| @@ -34,7 +34,7 @@ | @@ -34,7 +34,7 @@ | ||
| 34 | style="color:{{opt.cancelColor}};">在线预订</button> | 34 | style="color:{{opt.cancelColor}};">在线预订</button> |
| 35 | <button class="button-none oncall" | 35 | <button class="button-none oncall" |
| 36 | bindtap="tapButton" data-type="oncall" | 36 | bindtap="tapButton" data-type="oncall" |
| 37 | - style="color:{{opt.confirmColor}};">电话预定</button> | 37 | + style="color:{{opt.confirmColor}};">电话预订</button> |
| 38 | </cover-view> | 38 | </cover-view> |
| 39 | </cover-view> | 39 | </cover-view> |
| 40 | </cover-view> | 40 | </cover-view> |
| @@ -82,7 +82,7 @@ Component({ | @@ -82,7 +82,7 @@ Component({ | ||
| 82 | } | 82 | } |
| 83 | if(this.data.hasShowStatus){ | 83 | if(this.data.hasShowStatus){ |
| 84 | let ns=new Date()/1000 | 84 | let ns=new Date()/1000 |
| 85 | - obj.showStatusStr='已预定' | 85 | + obj.showStatusStr='已预订' |
| 86 | if(this.data.detail.status==4){ | 86 | if(this.data.detail.status==4){ |
| 87 | obj.showStatusStr='已取消' | 87 | obj.showStatusStr='已取消' |
| 88 | }else if(this.data.detail.status>=2 || ns>this.data.detail.ddate){ | 88 | }else if(this.data.detail.status>=2 || ns>this.data.detail.ddate){ |
| 1 | var util = require('../../../../utils/util.js') | 1 | var util = require('../../../../utils/util.js') |
| 2 | var uri=require('../../../../utils/uri.js'); | 2 | var uri=require('../../../../utils/uri.js'); |
| 3 | -const reserveStatus=['待确认','已预定','就餐中','已完成','已取消']; | 3 | +const reserveStatus=['待确认','已预订','就餐中','已完成','已取消']; |
| 4 | Component({ | 4 | Component({ |
| 5 | properties:{ | 5 | properties:{ |
| 6 | item:{ | 6 | item:{ |
| @@ -12,7 +12,7 @@ Page({ | @@ -12,7 +12,7 @@ Page({ | ||
| 12 | tpls:TP.tpls(), | 12 | tpls:TP.tpls(), |
| 13 | enter_params:{}, | 13 | enter_params:{}, |
| 14 | onLoad:async function (opt) { | 14 | onLoad:async function (opt) { |
| 15 | - util.setBarTitle('预定详情'); | 15 | + util.setBarTitle('预订详情'); |
| 16 | console.log(opt) | 16 | console.log(opt) |
| 17 | this.getDetail(opt.id); | 17 | this.getDetail(opt.id); |
| 18 | wx.showShareMenu({ | 18 | wx.showShareMenu({ |
| @@ -70,7 +70,7 @@ Page({ | @@ -70,7 +70,7 @@ Page({ | ||
| 70 | timePickerArray: timePickerArray, | 70 | timePickerArray: timePickerArray, |
| 71 | speciallist:speciallist, | 71 | speciallist:speciallist, |
| 72 | }) | 72 | }) |
| 73 | - //util.setBarTitle('预定本'); | 73 | + //util.setBarTitle('预订本'); |
| 74 | this.indexOpt=opt; | 74 | this.indexOpt=opt; |
| 75 | this.ReservesCountDay(util.unixtoTime(d,'YYYY-MM-DD')); | 75 | this.ReservesCountDay(util.unixtoTime(d,'YYYY-MM-DD')); |
| 76 | this.ReservesCountMonth(util.unixtoTime(d,'YYYY-MM')); | 76 | this.ReservesCountMonth(util.unixtoTime(d,'YYYY-MM')); |
| @@ -205,7 +205,7 @@ Page({ | @@ -205,7 +205,7 @@ Page({ | ||
| 205 | }, | 205 | }, |
| 206 | formsubmit:async function(){ | 206 | formsubmit:async function(){ |
| 207 | wx.showLoading({ | 207 | wx.showLoading({ |
| 208 | - title:'正在预定', | 208 | + title:'正在预订', |
| 209 | mask:true | 209 | mask:true |
| 210 | }); | 210 | }); |
| 211 | console.log(this.data.time) | 211 | console.log(this.data.time) |
| @@ -39,7 +39,7 @@ | @@ -39,7 +39,7 @@ | ||
| 39 | <view class="item flex-lr"> | 39 | <view class="item flex-lr"> |
| 40 | <view class="item-label">备注信息</view> | 40 | <view class="item-label">备注信息</view> |
| 41 | <view class="Medium"> | 41 | <view class="Medium"> |
| 42 | - <input class="cusdem input" placeholder="请填写预定需求" | 42 | + <input class="cusdem input" placeholder="请填写预订需求" |
| 43 | bindinput="changeInput" | 43 | bindinput="changeInput" |
| 44 | data-key="cusdem" | 44 | data-key="cusdem" |
| 45 | value="{{user.cusdem}}" | 45 | value="{{user.cusdem}}" |
| @@ -154,10 +154,10 @@ | @@ -154,10 +154,10 @@ | ||
| 154 | </view> | 154 | </view> |
| 155 | <view class="reserve"> | 155 | <view class="reserve"> |
| 156 | <formids class="flex-vc" bindclick="reserve" id="reserve-button"> | 156 | <formids class="flex-vc" bindclick="reserve" id="reserve-button"> |
| 157 | - <view class="text">电话预定</view> | 157 | + <view class="text">电话预订</view> |
| 158 | </formids> | 158 | </formids> |
| 159 | </view> | 159 | </view> |
| 160 | </view> | 160 | </view> |
| 161 | -<as id="as" items="{{seller.seller_tel}}" bindclick="reservePhone">拨打电话预定</as> | 161 | +<as id="as" items="{{seller.seller_tel}}" bindclick="reservePhone">拨打电话预订</as> |
| 162 | <getpos bindpos="onpos" id="getpos"></getpos> | 162 | <getpos bindpos="onpos" id="getpos"></getpos> |
| 163 | <discount id="discount" seller="{{seller}}" bindhide="discountHide" bindshow="discountShow"></discount> | 163 | <discount id="discount" seller="{{seller}}" bindhide="discountHide" bindshow="discountShow"></discount> |
| @@ -49,7 +49,7 @@ | @@ -49,7 +49,7 @@ | ||
| 49 | "list": [ | 49 | "list": [ |
| 50 | { | 50 | { |
| 51 | "id": 0, | 51 | "id": 0, |
| 52 | - "name": "预定本-商家1", | 52 | + "name": "预订本-商家1", |
| 53 | "pathName": "pack-book/pages/book/b_index", | 53 | "pathName": "pack-book/pages/book/b_index", |
| 54 | "query": "seller_id=1&seller_openid=o9pcQ0cbjRKnRWczcOJaaSRGP1lE&manager_id=500", | 54 | "query": "seller_id=1&seller_openid=o9pcQ0cbjRKnRWczcOJaaSRGP1lE&manager_id=500", |
| 55 | "scene": "1001" | 55 | "scene": "1001" |
| @@ -161,28 +161,28 @@ | @@ -161,28 +161,28 @@ | ||
| 161 | }, | 161 | }, |
| 162 | { | 162 | { |
| 163 | "id": -1, | 163 | "id": -1, |
| 164 | - "name": "预定本-添加预定", | 164 | + "name": "预订本-添加预订", |
| 165 | "pathName": "pack-book/pages/book/b_addnew", | 165 | "pathName": "pack-book/pages/book/b_addnew", |
| 166 | "query": "seller_id=1&seller_openid=o9pcQ0cbjRKnRWczcOJaaSRGP1lE&manager_id=500", | 166 | "query": "seller_id=1&seller_openid=o9pcQ0cbjRKnRWczcOJaaSRGP1lE&manager_id=500", |
| 167 | "scene": "1001" | 167 | "scene": "1001" |
| 168 | }, | 168 | }, |
| 169 | { | 169 | { |
| 170 | "id": 15, | 170 | "id": 15, |
| 171 | - "name": "预定本详情", | 171 | + "name": "预订本详情", |
| 172 | "pathName": "pack-book/pages/book/b_detail", | 172 | "pathName": "pack-book/pages/book/b_detail", |
| 173 | "query": "id=1762", | 173 | "query": "id=1762", |
| 174 | "scene": "1001" | 174 | "scene": "1001" |
| 175 | }, | 175 | }, |
| 176 | { | 176 | { |
| 177 | "id": 16, | 177 | "id": 16, |
| 178 | - "name": "预定本-发短信", | 178 | + "name": "预订本-发短信", |
| 179 | "pathName": "pack-book/pages/book/b_sms", | 179 | "pathName": "pack-book/pages/book/b_sms", |
| 180 | "query": "id=6541", | 180 | "query": "id=6541", |
| 181 | "scene": null | 181 | "scene": null |
| 182 | }, | 182 | }, |
| 183 | { | 183 | { |
| 184 | "id": 17, | 184 | "id": 17, |
| 185 | - "name": "预定本-编辑预定信息", | 185 | + "name": "预订本-编辑预订信息", |
| 186 | "pathName": "pack-book/pages/book/b_addnew", | 186 | "pathName": "pack-book/pages/book/b_addnew", |
| 187 | "query": "id=2745", | 187 | "query": "id=2745", |
| 188 | "scene": 1001 | 188 | "scene": 1001 |
| @@ -201,7 +201,7 @@ | @@ -201,7 +201,7 @@ | ||
| 201 | }, | 201 | }, |
| 202 | { | 202 | { |
| 203 | "id": -1, | 203 | "id": -1, |
| 204 | - "name": "预定本-选择桌子", | 204 | + "name": "预订本-选择桌子", |
| 205 | "pathName": "pack-book/pages/book/b_desk", | 205 | "pathName": "pack-book/pages/book/b_desk", |
| 206 | "query": "rdate=1540339200-1540346400&tid=0&pnum=6&checked_tids=&rid=", | 206 | "query": "rdate=1540339200-1540346400&tid=0&pnum=6&checked_tids=&rid=", |
| 207 | "scene": "1001" | 207 | "scene": "1001" |
| @@ -214,28 +214,28 @@ | @@ -214,28 +214,28 @@ | ||
| 214 | }, | 214 | }, |
| 215 | { | 215 | { |
| 216 | "id": 21, | 216 | "id": 21, |
| 217 | - "name": "预定本-80商家", | 217 | + "name": "预订本-80商家", |
| 218 | "pathName": "pack-book/pages/book/b_index", | 218 | "pathName": "pack-book/pages/book/b_index", |
| 219 | "query": "seller_id=80&seller_openid=oGefL4qKBWIh5xwyg3LVfkMbDumA&manager_id=762", | 219 | "query": "seller_id=80&seller_openid=oGefL4qKBWIh5xwyg3LVfkMbDumA&manager_id=762", |
| 220 | "scene": "1001" | 220 | "scene": "1001" |
| 221 | }, | 221 | }, |
| 222 | { | 222 | { |
| 223 | "id": -1, | 223 | "id": -1, |
| 224 | - "name": "预定本-设置", | 224 | + "name": "预订本-设置", |
| 225 | "pathName": "pack-book/pages/book/setting/index", | 225 | "pathName": "pack-book/pages/book/setting/index", |
| 226 | "query": "", | 226 | "query": "", |
| 227 | "scene": "1001" | 227 | "scene": "1001" |
| 228 | }, | 228 | }, |
| 229 | { | 229 | { |
| 230 | "id": -1, | 230 | "id": -1, |
| 231 | - "name": "预定本-设置-短信管理", | 231 | + "name": "预订本-设置-短信管理", |
| 232 | "pathName": "pack-book/pages/book/setting/sms", | 232 | "pathName": "pack-book/pages/book/setting/sms", |
| 233 | "query": "", | 233 | "query": "", |
| 234 | "scene": "1001" | 234 | "scene": "1001" |
| 235 | }, | 235 | }, |
| 236 | { | 236 | { |
| 237 | "id": -1, | 237 | "id": -1, |
| 238 | - "name": "预定本-设置-短信充值", | 238 | + "name": "预订本-设置-短信充值", |
| 239 | "pathName": "pack-book/pages/book/setting/sms_buy", | 239 | "pathName": "pack-book/pages/book/setting/sms_buy", |
| 240 | "query": "", | 240 | "query": "", |
| 241 | "scene": "1001" | 241 | "scene": "1001" |
| @@ -339,7 +339,7 @@ | @@ -339,7 +339,7 @@ | ||
| 339 | }, | 339 | }, |
| 340 | { | 340 | { |
| 341 | "id": 38, | 341 | "id": 38, |
| 342 | - "name": "预定商家2", | 342 | + "name": "预订商家2", |
| 343 | "pathName": "pack-book/pages/book/b_index", | 343 | "pathName": "pack-book/pages/book/b_index", |
| 344 | "query": "seller_id=1&manage_id=1902&seller_openid=oGefL4uTmdsQn214CFZTVlHAfhnQ", | 344 | "query": "seller_id=1&manage_id=1902&seller_openid=oGefL4uTmdsQn214CFZTVlHAfhnQ", |
| 345 | "scene": "1001" | 345 | "scene": "1001" |
| @@ -8,12 +8,12 @@ export default { | @@ -8,12 +8,12 @@ export default { | ||
| 8 | alias: 'App.TestManagement.TestReal', //真实接口名称,默认为空 | 8 | alias: 'App.TestManagement.TestReal', //真实接口名称,默认为空 |
| 9 | }, | 9 | }, |
| 10 | 10 | ||
| 11 | - //预定信息详情 | 11 | + //预订信息详情 |
| 12 | 'App.Reserve.Detail': { | 12 | 'App.Reserve.Detail': { |
| 13 | cachetime: 30, | 13 | cachetime: 30, |
| 14 | }, | 14 | }, |
| 15 | 15 | ||
| 16 | - //建立预定关系 | 16 | + //建立预订关系 |
| 17 | 'App.Reserve.SetRelaOpenid': { | 17 | 'App.Reserve.SetRelaOpenid': { |
| 18 | cachetime: -1, | 18 | cachetime: -1, |
| 19 | }, | 19 | }, |
| @@ -51,7 +51,7 @@ export default { | @@ -51,7 +51,7 @@ export default { | ||
| 51 | //手机号搜索 | 51 | //手机号搜索 |
| 52 | 'App.Reserve.GetReserveUser': null, | 52 | 'App.Reserve.GetReserveUser': null, |
| 53 | 53 | ||
| 54 | - //预定列表 | 54 | + //预订列表 |
| 55 | 'App.Reserve.GetReserveList': { | 55 | 'App.Reserve.GetReserveList': { |
| 56 | silence: false, | 56 | silence: false, |
| 57 | }, | 57 | }, |
| @@ -67,7 +67,7 @@ export default { | @@ -67,7 +67,7 @@ export default { | ||
| 67 | cachetime: 60, | 67 | cachetime: 60, |
| 68 | }, | 68 | }, |
| 69 | 69 | ||
| 70 | - // 修改当前预定状态 0:待确认,1:已定座,2:确认到店,3:用餐完成 | 70 | + // 修改当前预订状态 0:待确认,1:已定座,2:确认到店,3:用餐完成 |
| 71 | 'App.Reserve.SetReserveStatus': { | 71 | 'App.Reserve.SetReserveStatus': { |
| 72 | silence: false, | 72 | silence: false, |
| 73 | }, | 73 | }, |
| @@ -119,9 +119,9 @@ export default { | @@ -119,9 +119,9 @@ export default { | ||
| 119 | alias:'App.SendSMS.SmsBatchSend', | 119 | alias:'App.SendSMS.SmsBatchSend', |
| 120 | silence: false, | 120 | silence: false, |
| 121 | }, | 121 | }, |
| 122 | - //统计某个商家某天预定总数 | 122 | + //统计某个商家某天预订总数 |
| 123 | 'App.Reserve.ReservesCountDay':null, | 123 | 'App.Reserve.ReservesCountDay':null, |
| 124 | - //统计某个商家某月预定总数 | 124 | + //统计某个商家某月预订总数 |
| 125 | 'App.Reserve.ReservesCountMonth':{ | 125 | 'App.Reserve.ReservesCountMonth':{ |
| 126 | cachetime: 300, | 126 | cachetime: 300, |
| 127 | }, | 127 | }, |
| @@ -215,7 +215,7 @@ export default { | @@ -215,7 +215,7 @@ export default { | ||
| 215 | //邀请函详情 | 215 | //邀请函详情 |
| 216 | 'App.Invitation.Detail':null, | 216 | 'App.Invitation.Detail':null, |
| 217 | 217 | ||
| 218 | - //客户经理、预定人、受邀人信息建立 | 218 | + //客户经理、预订人、受邀人信息建立 |
| 219 | 'App.Invitation.SetInvitationRel':{ | 219 | 'App.Invitation.SetInvitationRel':{ |
| 220 | //cachetime: -1, | 220 | //cachetime: -1, |
| 221 | openid:'inviting', | 221 | openid:'inviting', |
| @@ -231,7 +231,7 @@ export default { | @@ -231,7 +231,7 @@ export default { | ||
| 231 | openid:'openid', | 231 | openid:'openid', |
| 232 | }, | 232 | }, |
| 233 | 233 | ||
| 234 | - //根据客户经理openid 获取当前用户预定列表 | 234 | + //根据客户经理openid 获取当前用户预订列表 |
| 235 | 'App.Invitation.InvitationList':{ | 235 | 'App.Invitation.InvitationList':{ |
| 236 | openid:'openid', | 236 | openid:'openid', |
| 237 | }, | 237 | }, |
-
Please register or login to post a comment