Commit cb0b6f9b authored by zhengke's avatar zhengke

修改

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