Commit cb0b6f9b authored by zhengke's avatar zhengke

修改

parent 626e3eee
......@@ -190,7 +190,7 @@
<q-item clickable v-close-popup>
<q-item-section>
<q-item-label>
<span @click.stop="getClassItem(props.row)">
<span @click.stop="getClassItem(props.row),getClassStatus(props.row.ClassStatus)">
<!-- {{props.row.ClassStatusStr}} -->
状态变更
<q-popup-proxy>
......@@ -364,7 +364,7 @@
if (this.$route.query && this.$route.query.ClassName) {
this.msg.ClassName = decodeURI(this.$route.query.ClassName)
}
this.getClassStatus();
// this.getClassStatus();
this.getSchool();
this.GetTeacherList();
},
......@@ -491,11 +491,16 @@
})
},
//获取班级状态列表
getClassStatus() {
getClassStatus(status) {
queryClassStatusList({}).then(res => {
if (res.Code == 1) {
this.classStatusList = res.Data;
console.log(res,'数据');
this.classStatusList=[];
let TempData = res.Data;
TempData.forEach(x=>{
if(x.Id>=status){
this.classStatusList.push(x)
}
})
}
}).catch(() => {})
},
......
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