Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
杨炀
/
ztx_wx_gzt
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
8d9389d9
authored
2026-06-02 10:34:47 +0800
by
lttnew
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
申请考点提示
1 parent
4eb1ea9e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
4 deletions
login/register.vue
pages/index/daoGuanPerson.vue
login/register.vue
View file @
8d9389d
...
...
@@ -203,6 +203,10 @@ function register() {
goLogin
()
}
})
}).
catch
((
err
)
=>
{
if
(
isServer500
(
err
))
{
getCode
()
}
})
}
...
...
@@ -285,6 +289,14 @@ function getCode() {
})
}
function
isServer500
(
err
)
{
const
message
=
String
(
err
?.
message
||
err
?.
errMsg
||
''
)
return
err
?.
statusCode
===
500
||
err
?.
code
===
500
||
err
?.
data
?.
code
===
500
||
message
.
includes
(
'HTTP 500'
)
}
// 发送短信验证码
function
getCaptchaSms
()
{
if
(
!
registerForm
.
value
.
telNo
)
{
...
...
pages/index/daoGuanPerson.vue
View file @
8d9389d
...
...
@@ -405,11 +405,14 @@ function checkDialogs() {
async
function
checkExamPointDialog
()
{
console
.
log
(
'checkExamPointDialog'
,
app
.
globalData
.
userInfo
.
hintFlag
)
// const [err, res] = await to(api.getMyRecentExam())
// if (err || !res?.data) return
// const status = res.data?.auditStatus
const
[
err
,
res
]
=
await
to
(
api
.
getMyRecentExam
())
if
(
err
)
return
const
examData
=
res
?.
data
const
status
=
examData
?.
auditStatus
const
canShowByExamStatus
=
examData
==
null
||
status
==
0
||
status
==
3
// (status == 0 || status == 3) &&
if
(
console
.
log
(
'122'
,
app
.
globalData
.
memberInfo
?.
activeStatus
,
app
.
globalData
.
authenticationStatus
,
app
.
globalData
.
deptType
,
app
.
globalData
.
userInfo
.
hintFlag
,
app
.
globalData
.
memberInfo
?.
isPoints
)
if
(
canShowByExamStatus
&&
app
.
globalData
.
memberInfo
?.
activeStatus
==
1
&&
app
.
globalData
.
authenticationStatus
==
2
&&
app
.
globalData
.
deptType
==
6
&&
...
...
Write
Preview
Styling with
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