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
d5b00a90
Commit
d5b00a90
authored
Aug 07, 2019
by
lvtz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
61bf0df3
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
7 deletions
+7
-7
index.js
business/pages/circleeditor/index.js
+1
-1
index.js
business/pages/circleindex/index.js
+3
-3
index.wxml
business/pages/circleindex/index.wxml
+1
-1
index.js
business/pages/classmgt/index.js
+1
-1
index.wxml
business/pages/classmgt/index.wxml
+1
-1
No files found.
business/pages/circleeditor/index.js
View file @
d5b00a90
...
...
@@ -135,7 +135,7 @@ Page({
capacity
:
data
.
capacity
,
},
needPsd
:
needPsd
,
selectedTeachers
:
data
.
school_teacher
_classe
s
||
[],
selectedTeachers
:
data
.
school_teachers
||
[],
courseSelect
:
data
.
course
,
total
:
data
.
total
},()
=>
{
...
...
business/pages/circleindex/index.js
View file @
d5b00a90
...
...
@@ -290,15 +290,15 @@ Page({
}).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
let
teacherArr
=
[]
if
(
res
.
data
.
school_teacher
_classe
s
){
res
.
data
.
school_teacher
_classe
s
.
forEach
(
item
=>
{
if
(
res
.
data
.
school_teachers
){
res
.
data
.
school_teachers
.
forEach
(
item
=>
{
teacherArr
.
push
(
item
.
nickname
)
})
teacherArr
=
teacherArr
.
join
(
'、'
);
}
else
{
teacherArr
=
[]
}
res
.
data
.
school_teacher
_classe
s
=
teacherArr
res
.
data
.
school_teachers
=
teacherArr
if
(
res
.
data
&&
res
.
data
.
deleted_at
)
{
wx
.
showModal
({
title
:
'提示'
,
...
...
business/pages/circleindex/index.wxml
View file @
d5b00a90
...
...
@@ -28,7 +28,7 @@
</view>
</view>
<view class="teacher-classroom">
{{circleInfo.school_teacher
_classes.length>0?circleInfo.school_teacher_classe
s:'暂无'}}/{{circleInfo.class_room?circleInfo.class_room.title:'暂无'}}
{{circleInfo.school_teacher
s.length>0?circleInfo.school_teacher
s:'暂无'}}/{{circleInfo.class_room?circleInfo.class_room.title:'暂无'}}
</view>
</view>
<!-- <view class="operate-btn-box">
...
...
business/pages/classmgt/index.js
View file @
d5b00a90
...
...
@@ -110,7 +110,7 @@ Page({
}
else
{
if
(
data
.
total
)
{
data
.
list
.
forEach
(
item
=>
{
let
itemT
=
item
.
school_teacher
_classe
s
;
let
itemT
=
item
.
school_teachers
;
let
teacherArr
=
[]
if
(
itemT
){
itemT
.
forEach
((
ele
)
=>
{
...
...
business/pages/classmgt/index.wxml
View file @
d5b00a90
...
...
@@ -26,7 +26,7 @@
<view class="item-contentbox">
<view class="content-item">
<view class="item-label">老师:</view>
<view class="item-text">{{item.school_teacher
_classe
s.length>0?item.teacherArr:'暂无'}}</view>
<view class="item-text">{{item.school_teachers.length>0?item.teacherArr:'暂无'}}</view>
</view>
<view class="content-item">
<view class="item-label">学员:</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