Commit 2fce0bec authored by sujie@126.com's avatar sujie@126.com

dd

parent f251c16f
......@@ -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();
......
......@@ -36,6 +36,7 @@ Page({
},()=>{
studentDetailGet({
id: this.data.studentId,
school_id:this.data.sid
}).then((res) => {
const { code, data } = res;
if (code != 200) { // 失败的处理
......
......@@ -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){
......
......@@ -279,6 +279,7 @@ function matchTime(time,type){
}
function monthIsShow(month){
console.log(month,months)
if(months.indexOf(month)>-1){
return false;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment