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
Jan 16, 2019
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({
...
@@ -462,7 +462,13 @@ Page({
"value"
:
value
,
"value"
:
value
,
"signSummaryId"
:
item
.
signSummaryId
"signSummaryId"
:
item
.
signSummaryId
}
}
// 如果是饮食分类没有选中选项的时候,不保存明细
if
(
this
.
data
.
controlIndex
==
0
&&
(
recordItem
.
optionIndex
==
null
||
recordItem
.
optionIndex
==
-
1
))
{
continue
}
arrRecordList
.
push
(
addRecord
)
arrRecordList
.
push
(
addRecord
)
}
}
}
}
...
...
pages/home/parents/index.json
View file @
4ee9204e
{
{
"navigationBarTitleText"
:
"
首页
"
"navigationBarTitleText"
:
"
比来童园
"
}
}
\ No newline at end of file
pages/home/reviewer/index.json
View file @
4ee9204e
{
{
"navigationBarTitleText"
:
"
首页
"
"navigationBarTitleText"
:
"
比来童园
"
}
}
\ No newline at end of file
pages/home/sign/index.js
View file @
4ee9204e
...
@@ -64,10 +64,21 @@ Page({
...
@@ -64,10 +64,21 @@ Page({
"signState"
:
this
.
data
.
selectTags
[
i
]
?
0
:
1
//签到状态:0:签到 1:取消签到
"signState"
:
this
.
data
.
selectTags
[
i
]
?
0
:
1
//签到状态:0:签到 1:取消签到
}
}
if
(
student
.
signState
==
0
&&
student
.
signSummaryId
!=
null
)
{
continue
}
studentIds
.
push
(
student
)
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
=>
{
req
.
signIn
(
app
.
globalData
.
login
.
user
.
id
,
this
.
data
.
classId
,
studentIds
).
then
(
res
=>
{
wx
.
showToast
({
wx
.
showToast
({
...
...
pages/home/teacher/index.json
View file @
4ee9204e
{
{
"navigationBarTitleText"
:
"
首页
"
"navigationBarTitleText"
:
"
比来童园
"
}
}
\ No newline at end of file
pages/home/teacher/index.wxml
View file @
4ee9204e
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
<view class='kg-flex-row' style='margin-right:30rpx;'>
<view class='kg-flex-row' style='margin-right:30rpx;'>
<view class='home-student-name'>
<view class='home-student-name'>
<view class='kg-text-normal-dark'>{{item.signStudentName}}</view>
<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>
<view></view>
</view>
</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