Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
thinkApp
Project
Project
Details
Activity
Releases
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
游洁
thinkApp
Commits
2e995243
Commit
2e995243
authored
Jun 16, 2022
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
2ffabe70
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
35 additions
and
26 deletions
+35
-26
examList.vue
src/components/index/workSituation/examList.vue
+1
-1
signOut.vue
src/components/signOut.vue
+2
-1
workSituation.vue
src/pages/index/workSituation.vue
+31
-23
login.vue
src/pages/login/login.vue
+1
-1
No files found.
src/components/index/workSituation/examList.vue
View file @
2e995243
...
...
@@ -359,7 +359,7 @@
position
:
absolute
;
top
:
0
;
height
:
100%
;
right
:
-
96
rpx
;
right
:
-
111
rpx
;
width
:
232px
;
-webkit-transform
:
translate3d
(
100%
,
0
,
0
);
transform
:
translate3d
(
100%
,
0
,
0
);
...
...
src/components/signOut.vue
View file @
2e995243
...
...
@@ -37,10 +37,11 @@
content
:
'将退出登录,是否继续'
,
success
:
function
(
res
)
{
if
(
res
.
confirm
)
{
uni
.
removeStorageSync
(
'userInfo'
)
uni
.
reLaunch
({
url
:
'/pages/login/accountLogin'
});
uni
.
removeStorageSync
(
'userInfo'
)
}
else
if
(
res
.
cancel
)
{
}
...
...
src/pages/index/workSituation.vue
View file @
2e995243
...
...
@@ -130,6 +130,11 @@
CourseName
:
''
});
data
.
userData
=
uni
.
getStorageSync
(
"userInfo"
)
if
(
data
.
userData
&&
data
.
userData
.
AccountType
==
2
){
uni
.
redirectTo
({
url
:
'/pages/index/index'
})
}
let
methods
=
{
changePopStatusHandler
(
status
){
data
.
showPopu
=
status
==
1
...
...
@@ -153,7 +158,8 @@
})
},
changeCourseHandler
(
id
,
name
){
data
.
Msg
.
courseId
=
id
data
.
Msg
.
CourseId
=
id
data
.
Msg
.
ExamName
=
name
data
.
OperationMsg
.
courseId
=
id
data
.
currentCourseId
=
id
data
.
CourseName
=
name
...
...
@@ -203,6 +209,7 @@
},
//获取考试信息列表
getExamPageList
(){
if
(
data
.
Msg
.
CourseId
){
data
.
pageState
=
"loading"
;
uni
.
showLoading
()
proxy
.
$request
(
"/Exam/GetExamPageList"
,
data
.
Msg
).
then
(
res
=>
{
...
...
@@ -227,6 +234,7 @@
}
}
})
}
},
lower
(
e
)
{
if
(
data
.
Msg
.
PageIndex
<
data
.
pageCount
)
{
...
...
src/pages/login/login.vue
View file @
2e995243
...
...
@@ -35,7 +35,7 @@
let
methods
=
{
login
()
{
uni
.
reLaunch
({
uni
.
navigateTo
({
url
:
'/pages/login/accountLogin'
});
},
...
...
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