Commit b80bb356 authored by 黄奎's avatar 黄奎

页面修改

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