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 14446d43
authored
Apr 17, 2026
by
yancanhua
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: 文件标题优化
1 parent
8114ca5a
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
6 deletions
src/store/modules/app.js
src/views/evection/company.vue
src/views/evection/department.vue
src/views/evection/personage.vue
src/store/modules/app.js
View file @
14446d4
...
...
@@ -64,7 +64,7 @@ const actions = {
// document.title = pathTitleMap[matchedPath];
// }
const
pushId
=
util
.
getQuery
(
'pushId'
);
if
(
isTargetPath
&&
(
pushId
&&
(
pushId
*
1
)
>
500
))
{
if
(
isTargetPath
&&
(
pushId
&&
(
pushId
*
1
)
>
744
))
{
try
{
let
{
corpId
,
agentId
}
=
util
.
getQuery
();
const
wwCode
=
util
.
getQuery
(
'code'
);
...
...
@@ -108,8 +108,13 @@ const actions = {
})
}
else
{
commit
(
'SET_AUTHORIZE_PAGE'
,
false
);
// document.title = '登录中...';
window
.
location
.
href
=
`
${
loginUrl
}
?redirect_uri=
${
encodeURIComponent
(
window
.
location
.
href
)}
&corpId=
${
corpId
}
&agentId=
${
agentId
}
&backLoginCode=BACKCODE`
//是否企微环境
const
ua
=
navigator
.
userAgent
.
toLowerCase
()
if
(
Boolean
(
ua
.
match
(
/MicroMessenger/i
))
&&
Boolean
(
ua
.
match
(
/wxwork/i
)))
{
window
.
location
.
href
=
`
${
loginUrl
}
?redirect_uri=
${
encodeURIComponent
(
window
.
location
.
href
)}
&corpId=
${
corpId
}
&agentId=
${
agentId
}
&backLoginCode=BACKCODE`
}
else
{
Notify
({
message
:
'请使用企业微信打开'
,
duration
:
72000000
})
}
}
}
catch
(
error
)
{
if
(
!
error
)
error
=
'登录失败或无权限'
...
...
src/views/evection/company.vue
View file @
14446d4
...
...
@@ -133,7 +133,7 @@
</div>
</div>
</div>
<div
v-show=
"!$store.state.app.authorizePage"
class=
"loadingBox"
>
正在授权中...
</div>
<div
v-show=
"!$store.state.app.authorizePage"
class=
"loadingBox"
></div>
</div>
</template>
...
...
src/views/evection/department.vue
View file @
14446d4
...
...
@@ -116,7 +116,7 @@
</div>
</div>
</div>
<div
v-show=
"!$store.state.app.authorizePage"
class=
"loadingBox"
>
正在授权中...
</div>
<div
v-show=
"!$store.state.app.authorizePage"
class=
"loadingBox"
></div>
</div>
</template>
...
...
src/views/evection/personage.vue
View file @
14446d4
...
...
@@ -70,7 +70,7 @@
<div
class=
"tip"
style=
"color: #ff8d1a"
v-if=
"infoData.reportDetail.exceedCount > 0"
>
温馨提示:您本月已超标1次,当月超标3次将有可能暂停招待权!
</div>
</div>
</div>
<div
v-show=
"!$store.state.app.authorizePage"
class=
"loadingBox"
>
正在授权中...
</div>
<div
v-show=
"!$store.state.app.authorizePage"
class=
"loadingBox"
></div>
</div>
</template>
...
...
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