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
40d62760
Commit
40d62760
authored
Sep 29, 2022
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
f601e3b7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
15 deletions
+14
-15
bottom.vue
src/components/bottom.vue
+1
-1
signOut.vue
src/components/signOut.vue
+1
-1
timeTable.vue
src/pages/timetable/timeTable.vue
+12
-13
No files found.
src/components/bottom.vue
View file @
40d62760
...
...
@@ -21,7 +21,7 @@
content
:
'将退出登录,是否继续'
,
success
:
function
(
res
)
{
if
(
res
.
confirm
)
{
uni
.
removeStorageSync
(
'userWxInfo'
)
//
uni.removeStorageSync('userWxInfo')
uni
.
removeStorageSync
(
'wxUserAuthInfo'
)
uni
.
removeStorageSync
(
'ErpStus'
)
uni
.
removeStorageSync
(
'erpUserInfo'
)
...
...
src/components/signOut.vue
View file @
40d62760
...
...
@@ -37,7 +37,7 @@
content
:
'将退出登录,是否继续'
,
success
:
function
(
res
)
{
if
(
res
.
confirm
)
{
uni
.
removeStorageSync
(
'userWxInfo'
)
//
uni.removeStorageSync('userWxInfo')
uni
.
removeStorageSync
(
'wxUserAuthInfo'
)
uni
.
removeStorageSync
(
'ErpStus'
)
uni
.
removeStorageSync
(
'erpUserInfo'
)
...
...
src/pages/timetable/timeTable.vue
View file @
40d62760
...
...
@@ -84,7 +84,7 @@
</view>
</view>
<view
class=
"right-info"
>
<view
class=
"class-name"
>
{{
item
.
ClassName
}}
{{
item
.
ClassName
}}{{
item
.
ClassName
}}{{
item
.
ClassName
}}{{
item
.
ClassName
}}
</view>
<view
class=
"class-name"
>
{{
item
.
ClassName
}}
</view>
<view
class=
"teacher-box"
>
<van-icon
name=
"manager"
/>
<text
style=
"margin:0 10rpx;"
>
老师:
</text>
...
...
@@ -97,21 +97,17 @@
<text
style=
"margin:0 10rpx;"
>
教室:
</text>
<text>
{{
item
.
RoomName
}}
</text>
</view>
<view
class=
"teacher-box"
>
<van-icon
name=
"clock"
/>
<text
style=
"margin:0 10rpx;"
>
状态:
</text>
<text
:style=
"
{background:item.Finished==1?'#ddd':'#FFD694'}" style="display: inline-block;width: 20rpx;height: 20rpx;border-radius: 50%;margin-right: 10rpx;">
</text>
<text
:style=
"
{color:item.Finished==1?'#ddd':'#282828'}">
{{
item
.
Finished
==
1
?
'已上课'
:
'未上课'
}}
</text>
</view>
<view
class=
"teacher-box"
style=
"margin-bottom: 0;"
>
<view
class=
"teacher-box"
style=
"margin-top: 30rpx;margin-bottom: 0;"
>
<van-icon
name=
"underway"
/>
<text
style=
"margin:0 10rpx;"
>
出勤:
</text>
<text
v-if=
"x.IsCheck==0 && item.Finished==1"
style=
"color:#282828"
>
出勤
</text>
<text
v-else-if=
"x.IsCheck==2 && item.Finished==1"
style=
"color:orange"
>
请假
</text>
<text
v-else-if=
"item.Finished==1"
style=
"color:red"
>
缺勤
</text>
<view
style=
"width:1px;flex:1;text-align: right;display: flex;align-items: center;justify-content: flex-end;"
>
<text
:style=
"
{background:item.Finished==1?'#ddd':'#FFD694'}" style="display: inline-block;width: 26rpx;height: 26rpx;border-radius: 50%;margin-right: 10rpx;">
</text>
<text
:style=
"
{color:item.Finished==1?'#ddd':'#282828'}">
{{
item
.
Finished
==
1
?
'已上课'
:
'未上课'
}}
</text>
</view>
</view>
</view>
</view>
</view>
...
...
@@ -526,7 +522,9 @@
onShow
()
{
this
.
msg
.
StartTime
=
getToday
(
'y'
,
'm'
)
+
'-01'
;
this
.
msg
.
EndTime
=
getToday
(
'y'
,
'm'
)
+
'-'
+
getMonthMaxDay
();
this
.
getAllData
()
if
(
this
.
$isLogin
())
{
this
.
getAllData
()
}
},
onLoad
(
options
)
{
this
.
initSwiper
()
...
...
@@ -719,10 +717,11 @@
.plan-box
.right-info
.class-name
{
font-size
:
32
rpx
;
color
:
#000
;
width
:
100%
;
white-space
:
nowrap
;
text-overflow
:
-o-ellipsis-lastline
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
display
:
-webkit-box
;
line-clamp
:
2
;
}
.plan-box
.right-info
.teacher-box
{
margin
:
20
rpx
0
;
...
...
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