Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
wandouchengzhang_coach
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
石盼盼
wandouchengzhang_coach
Commits
d6e4965d
Commit
d6e4965d
authored
Nov 20, 2020
by
石盼盼
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
运动评价保存判断条件bug修改
parent
e52ad410
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
evaluation.js
pages/index/evaluation/evaluation.js
+4
-0
teamDetail.wxml
pages/team/teamDetail/teamDetail.wxml
+1
-1
No files found.
pages/index/evaluation/evaluation.js
View file @
d6e4965d
...
...
@@ -90,12 +90,16 @@ Page({
},
// 保存
save
:
function
()
{
let
Score
=
true
this
.
data
.
scoreArr
.
map
((
e
)
=>
{
if
(
e
.
score
==
0
){
base
.
toast
(
'
运动表现分值不能为0
'
)
Score
=
false
;
return
}
});
if
(
!
Score
)
return
if
(
this
.
data
.
value
==
''
)
{
base
.
toast
(
'
教练评语不能为空
'
)
return
...
...
pages/team/teamDetail/teamDetail.wxml
View file @
d6e4965d
...
...
@@ -33,7 +33,7 @@
</view>
<view class="item" wx:for="{{lessonList}}" wx:key="index" data-id="{{item.id}}" wx:for-index="idx" >
<image src="/images/select_circle.png" wx:if="{{item.lesson_status == 1}}"></image>
<image src="/images/
circle
.png" wx:else></image>
<image src="/images/
sex_unselect
.png" wx:else></image>
<view class="line" wx:if="{{idx != lessonList.length - 1}}"></view>
<view class="{{item.lesson_status == 1 ? 'lesson' : 'unlesson'}}">第{{item.class_index}}节课</view>
<view class="date">日期:{{item.class_date}}</view>
...
...
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