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
90a0a01d
Commit
90a0a01d
authored
Aug 26, 2019
by
lvtz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
b7d38626
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
16 additions
and
33 deletions
+16
-33
record.wxss
business/pages/classservice/record.wxss
+1
-0
edit.js
business/pages/coursemgt/edit.js
+1
-1
index.js
business/pages/studentcenter/index.js
+1
-1
signup.js
service/customer/signup.js
+1
-1
index.js
src/pages/signup/index.js
+12
-30
No files found.
business/pages/classservice/record.wxss
View file @
90a0a01d
...
...
@@ -2,6 +2,7 @@
@import '../../../style/commonlist.wxss';
.container{
background:#F3F4F6;
min-height: 100vh;
}
.commonlist-bigwrap-round{
...
...
business/pages/coursemgt/edit.js
View file @
90a0a01d
...
...
@@ -193,7 +193,7 @@ Page({
wx
.
showModal
({
title
:
'确定要删除这个课程吗?'
,
content
:
'课程删除后,与该课程有关班级(包括打卡小程序班级)也将同步删除,确定要这样做吗?'
,
confirmColor
:
'
red
'
,
confirmColor
:
'
#FF4C4C
'
,
success
(
res
)
{
if
(
res
.
confirm
)
{
courseDelete
(
{
...
...
business/pages/studentcenter/index.js
View file @
90a0a01d
...
...
@@ -503,7 +503,7 @@ Page({
mode_type
:
this
.
data
.
mode_type
,
}
let
totalParams
=
{};
if
(
!
that
.
data
.
course
_
id
){
if
(
!
that
.
data
.
course
Selected
.
id
){
wx
.
showModal
({
title
:
'提示'
,
content
:
'请选择课程'
,
...
...
service/customer/signup.js
View file @
90a0a01d
...
...
@@ -8,7 +8,7 @@ function studentSignup(data) {
url
:
apis
.
customer
.
sigup
.
erpstudentSignup
,
data
,
method
:
'POST'
,
errorresolve
:
2
,
errorresolve
:
1
,
needToken
:
true
,
})
}
...
...
src/pages/signup/index.js
View file @
90a0a01d
...
...
@@ -134,21 +134,12 @@ Page({
sending
:
false
})
if
(
code
!=
200
)
{
if
(
code
==
40000
){
wx
.
showModal
({
title
:
'提示'
,
content
:
"该微信已绑定此学校"
,
showCancel
:
false
,
confirmColor
:
'#65B8F4'
})
return
}
wx
.
showModal
({
title
:
'提示'
,
content
:
messages
[
code
],
showCancel
:
false
,
confirmColor
:
'#65B8F4'
})
// wx.showModal({
// title: '提示',
// content: messages[code],
// showCancel: false,
// confirmColor: '#65B8F4'
// })
return
;
}
that
.
setData
({
...
...
@@ -241,21 +232,12 @@ Page({
submitting
:
false
})
if
(
res
.
code
!=
200
)
{
if
(
res
.
code
==
40000
){
wx
.
showModal
({
title
:
'提示'
,
content
:
"该微信已绑定此学校"
,
showCancel
:
false
,
confirmColor
:
'#65B8F4'
})
return
}
wx
.
showModal
({
title
:
'提示'
,
content
:
`
${
messages
[
res
.
code
]}
`
,
showCancel
:
false
,
confirmColor
:
'#65B8F4'
})
// wx.showModal({
// title: '提示',
// content: `${messages[res.code]}`,
// showCancel: false,
// confirmColor: '#65B8F4'
// })
return
;
}
wx
.
showToast
({
...
...
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