Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
K
Kindergarten
Project
Project
Details
Activity
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
张杰
Kindergarten
Commits
4ee9204e
Commit
4ee9204e
authored
6 years ago
by
张杰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
e39b4613
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
22 additions
and
5 deletions
+22
-5
index.js
pages/add_record/index.js
+6
-0
index.json
pages/home/parents/index.json
+1
-1
index.json
pages/home/reviewer/index.json
+1
-1
index.js
pages/home/sign/index.js
+12
-1
index.json
pages/home/teacher/index.json
+1
-1
index.wxml
pages/home/teacher/index.wxml
+1
-1
No files found.
pages/add_record/index.js
View file @
4ee9204e
...
...
@@ -462,7 +462,13 @@ Page({
"value"
:
value
,
"signSummaryId"
:
item
.
signSummaryId
}
// 如果是饮食分类没有选中选项的时候,不保存明细
if
(
this
.
data
.
controlIndex
==
0
&&
(
recordItem
.
optionIndex
==
null
||
recordItem
.
optionIndex
==
-
1
))
{
continue
}
arrRecordList
.
push
(
addRecord
)
}
}
...
...
This diff is collapsed.
Click to expand it.
pages/home/parents/index.json
View file @
4ee9204e
{
"navigationBarTitleText"
:
"
首页
"
"navigationBarTitleText"
:
"
比来童园
"
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
pages/home/reviewer/index.json
View file @
4ee9204e
{
"navigationBarTitleText"
:
"
首页
"
"navigationBarTitleText"
:
"
比来童园
"
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
pages/home/sign/index.js
View file @
4ee9204e
...
...
@@ -64,10 +64,21 @@ Page({
"signState"
:
this
.
data
.
selectTags
[
i
]
?
0
:
1
//签到状态:0:签到 1:取消签到
}
if
(
student
.
signState
==
0
&&
student
.
signSummaryId
!=
null
)
{
continue
}
studentIds
.
push
(
student
)
}
console
.
log
(
studentIds
)
if
(
studentIds
.
length
==
0
)
{
wx
.
showToast
({
title
:
'未做操作,请检查'
,
icon
:
'none'
})
return
;
}
req
.
signIn
(
app
.
globalData
.
login
.
user
.
id
,
this
.
data
.
classId
,
studentIds
).
then
(
res
=>
{
wx
.
showToast
({
...
...
This diff is collapsed.
Click to expand it.
pages/home/teacher/index.json
View file @
4ee9204e
{
"navigationBarTitleText"
:
"
首页
"
"navigationBarTitleText"
:
"
比来童园
"
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
pages/home/teacher/index.wxml
View file @
4ee9204e
...
...
@@ -18,7 +18,7 @@
<view class='kg-flex-row' style='margin-right:30rpx;'>
<view class='home-student-name'>
<view class='kg-text-normal-dark'>{{item.signStudentName}}</view>
<template is="sex" data="{{sex:item.signStudentSex
== '0' ? 'male' : 'female'
}}"></template>
<template is="sex" data="{{sex:item.signStudentSex}}"></template>
</view>
<view></view>
</view>
...
...
This diff is collapsed.
Click to expand it.
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