Commit bca95f52 authored by chenfenglei's avatar chenfenglei

云集订单展示老师班级人数情况

parent 0177877a
......@@ -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: "确定",
......
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