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
7908326c
Commit
7908326c
authored
Nov 20, 2020
by
石盼盼
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'shipanpan' into 'master'
运动评价保存判断条件bug修改 See merge request
!32
parents
14cb9b7e
d6e4965d
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 @
7908326c
...
@@ -90,12 +90,16 @@ Page({
...
@@ -90,12 +90,16 @@ Page({
},
},
// 保存
// 保存
save
:
function
()
{
save
:
function
()
{
let
Score
=
true
this
.
data
.
scoreArr
.
map
((
e
)
=>
{
this
.
data
.
scoreArr
.
map
((
e
)
=>
{
if
(
e
.
score
==
0
){
if
(
e
.
score
==
0
){
base
.
toast
(
'
运动表现分值不能为0
'
)
base
.
toast
(
'
运动表现分值不能为0
'
)
Score
=
false
;
return
return
}
}
});
});
if
(
!
Score
)
return
if
(
this
.
data
.
value
==
''
)
{
if
(
this
.
data
.
value
==
''
)
{
base
.
toast
(
'
教练评语不能为空
'
)
base
.
toast
(
'
教练评语不能为空
'
)
return
return
...
...
pages/team/teamDetail/teamDetail.wxml
View file @
7908326c
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
</view>
</view>
<view class="item" wx:for="{{lessonList}}" wx:key="index" data-id="{{item.id}}" wx:for-index="idx" >
<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/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="line" wx:if="{{idx != lessonList.length - 1}}"></view>
<view class="{{item.lesson_status == 1 ? 'lesson' : 'unlesson'}}">第{{item.class_index}}节课</view>
<view class="{{item.lesson_status == 1 ? 'lesson' : 'unlesson'}}">第{{item.class_index}}节课</view>
<view class="date">日期:{{item.class_date}}</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