Commit 5a81b099 authored by chenfenglei's avatar chenfenglei

二维码管理bug

parent fea2f530
......@@ -70,12 +70,18 @@
this.classListOption();
},
classListOption(){
if(this.dialogObj.timeValue[0] == undefined){
this.dialogObj.timeValue[0]=""
}
if(this.dialogObj.timeValue[1] == undefined){
this.dialogObj.timeValue[1]=""
}
let json ={
page:this.nowPage,
limit:this.limit,
start_at:this.dialogObj.timeValue[0],
end_at:this.dialogObj.timeValue[1],
}
}
getTeacherClassApi(json,this.dialogObj.teacher_id).then(res=>{
this.classList=res.list
this.total=res.total;
......
......@@ -26,7 +26,7 @@
:data="firstList"
style="width: 100%">
<el-table-column
label="班主任名字"
label="班主任姓名"
>
<template slot-scope="scope">
<el-button type="text" @click="nameClick(scope.row,searchFirstFrom.dateValue)">
......@@ -85,7 +85,7 @@
>
</el-table-column>
<el-table-column
label="班主任名字"
label="班主任姓名"
>
<template slot-scope="scope">
<el-button type="text" @click="nameClick(scope.row)">
......
......@@ -213,9 +213,9 @@
placement="top"
width="400">
<div style="text-align: center">
<el-button type="warning" size="mini" plain @click="editPrivilege(scope.row)">编辑</el-button>
<el-button type="primary" size="mini" plain @click="onGetUserDescList(scope.row)">备注</el-button>
<el-button type="primary" size="mini" plain @click="userLook(scope.row)" v-if="!$store.state.readonly">看课情况</el-button>
<el-button type="warning" size="mini" plain @click="editPrivilege(scope.row)" >编辑</el-button>
<el-button type="primary" size="mini" plain @click="onGetUserDescList(scope.row)" >备注</el-button>
<el-button type="primary" size="mini" plain @click="userLook(scope.row)">看课情况</el-button>
<el-button type="danger" size="mini" plain @click="onDel(scope.row)" v-if="$store.state.deletePermission && !$store.state.readonly">删除</el-button>
</div>
<el-button slot="reference" size="mini" type="text" >操作</el-button>
......
......@@ -338,8 +338,9 @@
this.dialogObj = {
show: true,
index: index,
desc: this.list[index]
desc: this.list[index],
}
},
addNew(){
this.dialogObj = {
......
......@@ -20,7 +20,7 @@
<div class="inner-bottom">
<div class="img-action" v-if="type === 'image'">
<template v-if="imageContent ">
<img style="max-width: 80%;" v-if="imageContent.content" :src="imageContent.content"/>
<img style="max-width: 60%;margin-bottom:20px;" v-if="imageContent.content" :src="imageContent.content"/>
</template>
<div class="display-b">
<div class="img-create-access" v-if="!showMedia">
......@@ -330,9 +330,9 @@
page4,
emotion
},
// mounted(){
// this.initDialog();
// },
mounted(){
this.initDialog();
},
watch:{
'dialogObj.show'(value){
if(value){
......
......@@ -121,7 +121,7 @@
label="创建时间">
</el-table-column>
<el-table-column
label="操作">
label="操作" width="280">
<template slot-scope="scope">
<el-button @click="showUser(scope.row)" size="mini" plain type="primary">
班级成员
......@@ -130,6 +130,7 @@
</el-table-column>
</el-table>
<page :total="total" :limit="limit" @pageChange="onPageChange" @sizeChange="onSizeChange"/>
<div class="b-title">月课订单列表</div>
<el-form ref="form" :model="form" label-width="100px" inline>
......
......@@ -153,9 +153,9 @@
label="操作" width="400px">
<template slot-scope="scope">
<el-button @click="showUser(scope.row)" size="mini" type="primary"> 班级成员</el-button>
<el-button size="mini" type="warning" @click="editPrivilege(scope.row)">编辑</el-button>
<el-button size="mini" type="primary" @click="onGetUserDescList(scope.row)">备注</el-button>
<el-button size="mini" type="primary" @click="userLook(scope.row)" v-if="!$store.state.readonly">看课情况 </el-button>
<el-button size="mini" type="warning" @click="editPrivilege(scope.row)" >编辑</el-button>
<el-button size="mini" type="primary" @click="onGetUserDescList(scope.row)" >备注</el-button>
<el-button size="mini" type="primary" @click="userLook(scope.row)">看课情况 </el-button>
</template>
</el-table-column>
</el-table>
......@@ -629,7 +629,6 @@
},
onGetUserDescList(val){
this.descDialog.show = true;
this.descDialog.userInfo = {
user_id: val.user_id,
avatar: this.detail.avatar,
......
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