Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
W
wechatapp.shangjiadao.com
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
wangxuelai
wechatapp.shangjiadao.com
Commits
2fce0bec
Commit
2fce0bec
authored
Aug 07, 2019
by
sujie@126.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dd
parent
f251c16f
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
3 deletions
+9
-3
editstudent.js
business/pages/studentcenter/editstudent.js
+4
-1
rewardstudent.js
business/pages/studentcenter/rewardstudent.js
+1
-0
studentdetail.js
business/pages/studentcenter/studentdetail.js
+3
-2
index.wxs
filter/index.wxs
+1
-0
No files found.
business/pages/studentcenter/editstudent.js
View file @
2fce0bec
...
...
@@ -72,6 +72,7 @@ Page({
studentDetailGet
()
{
studentDetailGet
({
id
:
this
.
data
.
studentId
,
school_id
:
this
.
data
.
sid
,
}).
then
((
res
)
=>
{
const
{
data
,
code
}
=
res
;
if
(
code
==
200
)
{
...
...
@@ -114,8 +115,10 @@ Page({
wx
.
showLoading
({
title
:
'信息保存中...'
})
this
.
data
.
params
.
school_id
=
this
.
data
.
sid
;
erpStudentEdit
(
this
.
data
.
params
this
.
data
.
params
,
).
then
((
res
)
=>
{
this
.
data
.
submiting
=
false
;
wx
.
hideLoading
();
...
...
business/pages/studentcenter/rewardstudent.js
View file @
2fce0bec
...
...
@@ -36,6 +36,7 @@ Page({
},()
=>
{
studentDetailGet
({
id
:
this
.
data
.
studentId
,
school_id
:
this
.
data
.
sid
}).
then
((
res
)
=>
{
const
{
code
,
data
}
=
res
;
if
(
code
!=
200
)
{
// 失败的处理
...
...
business/pages/studentcenter/studentdetail.js
View file @
2fce0bec
...
...
@@ -77,7 +77,7 @@ Page({
sid
:
sid
||
0
,
studentId
:
studentId
||
0
})
this
.
studentInfoGet
()
this
.
studentclassesGet
()
this
.
studentcallsGet
()
this
.
studentclasseslistGet
()
...
...
@@ -95,7 +95,7 @@ Page({
* 生命周期函数--监听页面显示
*/
onShow
:
function
()
{
this
.
studentInfoGet
()
},
...
...
@@ -602,6 +602,7 @@ Page({
studentremovePost
(
class_id
,
id
){
studentremovePost
({
student_ids
:
this
.
data
.
studentInfo
.
id
,
school_id
:
this
.
data
.
sid
,
class_id
:
class_id
}).
then
(
res
=>
{
if
(
res
.
code
==
200
){
...
...
filter/index.wxs
View file @
2fce0bec
...
...
@@ -279,6 +279,7 @@ function matchTime(time,type){
}
function monthIsShow(month){
console.log(month,months)
if(months.indexOf(month)>-1){
return false;
}
...
...
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