Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
wx-notification
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 7a3ada05
authored
Jun 25, 2026
by
wangzhihui
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
企微授权
1 parent
9c330f2e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
src/views/accountApproval/index.vue
src/views/orderApproval/index.vue
src/views/accountApproval/index.vue
View file @
7a3ada0
...
...
@@ -74,7 +74,7 @@
<approval-popup
v-if=
"showPopup"
:show=
"showPopup"
:info-data=
"popupInfo"
:reject-remark-required=
"true"
@
confirm=
"handlePopupConfirm"
@
cancel=
"hidePopup"
/>
</div>
<div
v-show=
"!$store.state.app.authorizePage"
class=
"loading-box"
>
正在登录授权中...
</div>
<div
v-show=
"!$store.state.app.authorizePage"
class=
"loading-box"
></div>
</div>
</template>
...
...
src/views/orderApproval/index.vue
View file @
7a3ada0
...
...
@@ -99,7 +99,7 @@
<approval-popup
v-if=
"showPopup"
:show=
"showPopup"
:info-data=
"popupInfo"
:reject-remark-required=
"true"
@
confirm=
"handlePopupConfirm"
@
cancel=
"hidePopup"
/>
</div>
<div
v-show=
"
$store.state.app.authorizePage"
class=
"loading-box"
>
正在登录授权中...
</div>
<div
v-show=
"
!$store.state.app.authorizePage"
class=
"loading-box"
>
</div>
</div>
</template>
...
...
@@ -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
=>
{
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment