Commit b80bb356 authored by 黄奎's avatar 黄奎

页面修改

parent 2100b087
......@@ -39,11 +39,10 @@ export function queryClassStudent(data) {
/**
* 获取上课计划列表
*/
export function quertClassPlan(data)
{
return request({
url: '/Class/GetClassPlan',
method: 'post',
data
});
}
\ No newline at end of file
export function quertClassPlan(data) {
return request({
url: '/Class/GetClassPlan',
method: 'post',
data
});
}
......@@ -29,7 +29,7 @@
.calenderHeader {
display: flex;
justify-content: space-between;
padding:0 20px;
padding: 0 20px;
}
</style><template>
......@@ -69,7 +69,16 @@
</template>
<script>
import {
quertClassPlan,
} from '../../api/course/class';
export default {
props: {
setingObj: {
type: Object,
default: null
}
},
name: "calendar",
data() {
return {
......@@ -95,19 +104,26 @@
}
],
value: new Date(),
checkedDays:'月'
checkedDays: '月'
}
},
created() {
this.getClassStatus();
this.getSchool();
},
mounted() {
this.getList();
this.getClassPlan();
},
methods: {
//获取班级上课计划列表
getClassPlan() {
var msg = {
ClassId: this.setingObj.ClassId,
QMonth: "2020-12"
};
quertClassPlan(msg).then(res => {
console.log("res", res);
})
}
}
}
......
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