Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
A
admin-base
Project
Project
Details
Activity
Releases
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
new-sing
admin-base
Commits
bca95f52
Commit
bca95f52
authored
Dec 25, 2018
by
chenfenglei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
云集订单展示老师班级人数情况
parent
0177877a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
20 deletions
+2
-20
index.vue
src/components/yunji/index.vue
+2
-20
No files found.
src/components/yunji/index.vue
View file @
bca95f52
...
...
@@ -52,7 +52,7 @@
<el-form-item>
<el-button
type=
"primary"
@
click=
"getList"
>
搜索
</el-button>
<el-button
type=
"primary"
plain
@
click=
"exportTable(list)"
>
导出
</el-button>
<el-button
type=
"success"
plain
@
click=
"classListOption()"
>
班级
分布
</el-button>
<el-button
type=
"success"
plain
@
click=
"classListOption()"
>
班级
统计
</el-button>
</el-form-item>
</el-form>
<el-table
:data=
"list"
style=
"width: 100%"
>
...
...
@@ -90,7 +90,6 @@
</el-table-column>
<el-table-column
label=
"操作"
v-if=
"!$store.state.readonly"
width=
"220"
>
<
template
slot-scope=
"scope"
>
<!--
<el-button
@
click=
"bindTeacher(scope.row)"
size=
"mini"
plain
type=
"success"
>
绑定老师
</el-button>
-->
<el-button
@
click=
"editNote(scope.row.id, scope.row.desc)"
size=
"mini"
plain
type=
"primary"
>
编辑备注
</el-button>
</
template
>
</el-table-column>
...
...
@@ -110,13 +109,11 @@
<span
slot=
"footer"
class=
"dialog-footer"
>
</span>
</el-dialog>
<teacher-dialog
:dialogObj=
"dialogObj"
></teacher-dialog>
</div>
</template>
<
script
>
import
page
from
"../framework/page"
;
import
teacherDialog
from
"./dialog"
;
import
{
getyunjiApi
,
getGoodsListApi
,
...
...
@@ -129,7 +126,6 @@ export default {
name
:
"smsRecord"
,
components
:
{
page
,
teacherDialog
},
data
()
{
return
{
...
...
@@ -157,15 +153,9 @@ export default {
list
:
[],
teacherList
:
[],
goodList
:
[],
dialogObj
:
{
show
:
false
,
title
:
"绑定老师"
,
order_id
:
0
,
teacher_id
:
0
},
classObj
:{
show
:
false
,
title
:
"班级
分布
"
,
title
:
"班级
统计
"
,
order_id
:
0
,
teacher_id
:
0
},
...
...
@@ -270,14 +260,6 @@ export default {
this
.
goodList
=
res
.
list
;
});
},
bindTeacher
(
data
)
{
this
.
dialogObj
=
{
show
:
true
,
title
:
"绑定老师"
,
id
:
data
.
id
,
teacher_id
:
data
.
teacher_id
};
},
editNote
(
id
,
desc
)
{
this
.
$prompt
(
""
,
"编辑备注"
,
{
confirmButtonText
:
"确定"
,
...
...
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