Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-3
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
office
haoban-3
Commits
47cf6881
Commit
47cf6881
authored
May 26, 2022
by
caoyanzhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 错误页面
parent
2b35fa39
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
6 deletions
+13
-6
gic-error.vue
src/views/errorPage/gic-error.vue
+13
-6
No files found.
src/views/errorPage/gic-error.vue
View file @
47cf6881
...
@@ -30,20 +30,27 @@ export default {
...
@@ -30,20 +30,27 @@ export default {
data
()
{
data
()
{
return
{
return
{
img_404
,
img_404
,
gicHost
:
''
gicHost
:
''
,
message
:
''
};
};
},
},
computed
:
{
message
()
{
return
'登录遇到错误啦!请确认您是否是好办小程序管理员。如不是,请联系管理员在<企业微信-我的企业-权限管理>添加好办管理员。'
;
}
},
destroyed
()
{
destroyed
()
{
this
.
layoutVm
.
$emit
(
'command'
,
'showAside'
);
this
.
layoutVm
.
$emit
(
'command'
,
'showAside'
);
},
},
/* eslint-disable */
/* eslint-disable */
mounted
()
{
mounted
()
{
this
.
layoutVm
.
$emit
(
'command'
,
'hideAside'
);
this
.
layoutVm
.
$emit
(
'command'
,
'hideAside'
);
const
errorCode
=
this
.
$route
.
query
.
errorCode
;
const
message
=
{
'1000'
:
'系统异常'
,
//传入的导购id错误、传入的企业微信id错误
'1001'
:
'您还不是好办的管理员,请在 GIC 后台绑定好办企业后再登录'
,
'1003'
:
'系统异常,通过手机号查询失败'
,
'1004'
:
'企微应用未授权'
,
'1005'
:
'登录超时,请重新登录'
}
this
.
message
=
message
[
errorCode
]
||
'系统异常,请联系达摩管理员'
;
const
userInfos
=
JSON
.
parse
(
sessionStorage
.
getItem
(
'userInfos'
)
||
'{}'
);
const
userInfos
=
JSON
.
parse
(
sessionStorage
.
getItem
(
'userInfos'
)
||
'{}'
);
this
.
gicHost
=
typeof
userInfos
.
gicHost
==
'string'
?
userInfos
.
gicHost
.
replace
(
/
\/
$/
,
''
)
:
''
;
this
.
gicHost
=
typeof
userInfos
.
gicHost
==
'string'
?
userInfos
.
gicHost
.
replace
(
/
\/
$/
,
''
)
:
''
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment