Commit c8ebc4d2 by wangzhihui

打开注释代码

1 parent 7a3ada05
......@@ -174,7 +174,7 @@ export default {
created() {
// 先缓存链接业务参数,避免 OAuth 跳转后 orderCode 丢失
this.initPageParams()
// store.dispatch('login')
store.dispatch('login')
},
watch: {
'$store.state.app.authorizePage': {
......@@ -194,10 +194,10 @@ export default {
// 授权回调后 URL 可能只剩 code,从缓存读取
this.orderCode = this.getLocalStorage('ww_orderCode') || ''
this.phone = this.getLocalStorage('ww_params_phone') || '15814019200'
if (this.phone) {
this.loadStaffInfoByPhone(this.phone)
}
this.loadOrderDetail(this.orderCode)
// if (this.phone) {
// this.loadStaffInfoByPhone(this.phone)
// }
// this.loadOrderDetail(this.orderCode)
},
loadStaffInfoByPhone(phone) {
orderApprovalApi.getStaffInfoByPhone({ phone }).then(res => {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!