添加周计划、月计划接口

master
chen 2022-02-16 13:50:47 +08:00
parent b8b5640fe8
commit 92590a3f38
2 changed files with 50 additions and 14 deletions

View File

@ -67,16 +67,9 @@
<div v-if="isDay" class="notice-k" @click="closeNotice">
<div @click.stop="isDay=true" class="notice-box notice-open-01 ">
<div class="notice-title-box notice-title-other">
<!-- <img src="../../static/img/home/flower.png"> -->
<div>第15周工作计划</div>
<!-- <img src="../../static/img/home/flower.png"> -->
</div>
<div style="padding: 0 20px;">
<!-- <div class="second-title">啥地方叫了</div>
<div class="line"></div>
<div class="three-content left-notice" style="height: auto;max-height: 600px;overflow: hidden;overflow-y: scroll;">
<div class="">阿萨德立方空间</div>
</div> -->
<div class="notice-table notice-table-01">
<table>
<tr>
@ -175,11 +168,6 @@
<div>(2022-2)月主题活动及工作要点</div>
</div>
<div style="padding: 0 20px;">
<!-- <div class="second-title">啥地方叫了</div>
<div class="line"></div>
<div class="three-content left-notice" style="height: auto;max-height: 600px;overflow: hidden;overflow-y: scroll;">
<div class="">阿萨德立方空间</div>
</div> -->
<div class="notice-table notice-table-02">
<table>
<tr>
@ -303,7 +291,8 @@
showDetail:false,
teacherInfo:{},
isDay:false,
isMonth:false
isMonth:false,
classguid:''//guid
}
},
methods: {
@ -431,6 +420,7 @@
},
});
if(data.data.data!=undefined){
this.getMonthEv(data.data.data.ClassGuid);
this.teatherArr = data.data.data.Teachers;
this.className = data.data.data.ClassName;
this.$storage.set('teatherArracti',this.teatherArr);
@ -441,7 +431,51 @@
this.className = this.$storage.get('classNameactu');
}
},
//
async getDayEv() {
if(this.$storage.get('network')){
let data = await this.$axios({
url: this.$https.getDay,
methods: "get",
params: {
EquipmentID: this.$storage.get('EquipmentID'),
},
});
if(data.data.data!=undefined){
console.log(data.data.data,443);
// this.teatherArr = data.data.data.Teachers;
// this.className = data.data.data.ClassName;
// this.$storage.set('teatherArracti',this.teatherArr);
// this.$storage.set('classNameactu',this.className);
}
} else {
// this.teatherArr = this.$storage.get('teatherArracti');
// this.className = this.$storage.get('classNameactu');
}
},
//
async getMonthEv(classguid) {
if(this.$storage.get('network')){
let data = await this.$axios({
url: this.$https.getMonth,
methods: "get",
params: {
orgguid:this.$storage.get('orgGuid'),
classguid
},
});
if(data.data.data!=undefined){
console.log(data.data.data,443);
// this.teatherArr = data.data.data.Teachers;
// this.className = data.data.data.ClassName;
// this.$storage.set('teatherArracti',this.teatherArr);
// this.$storage.set('classNameactu',this.className);
}
} else {
// this.teatherArr = this.$storage.get('teatherArracti');
// this.className = this.$storage.get('classNameactu');
}
},
},
mounted() {
//

View File

@ -28,6 +28,8 @@ const url = {
getdatalistbyorgguid:host + '/api/kindergarten/epidemicmanagementinfo/getdatalistbyorgguid',//疫情管理
updatemodelapi:host + '/api/admin/electronicclasscard/updatemodel_ele',//模式设置
classcardById:host + '/api/admin/electronicclasscard/Classcard_ById',//获取模式
getMonth:host + '/api/kindergarten/course_term_run/getdatalistbyorgguid',//月计划
getDay:host + '/api/kindergarten/course_term_run/getweektermist'//周计划
}