master
tangyi 2021-12-27 17:42:49 +08:00
commit 64b9f0e16c
3 changed files with 35 additions and 32 deletions

20
package-lock.json generated
View File

@ -7047,7 +7047,7 @@
},
"node_modules/object-copy/node_modules/is-descriptor/node_modules/kind-of": {
"version": "5.1.0",
"resolved": "https://registry.nlark.com/kind-of/download/kind-of-5.1.0.tgz",
"resolved": "https://registry.npm.taobao.org/kind-of/download/kind-of-5.1.0.tgz",
"integrity": "sha1-cpyR4thXt6QZofmqZWhcTDP1hF0=",
"engines": {
"node": ">=0.10.0"
@ -7055,7 +7055,7 @@
},
"node_modules/object-copy/node_modules/kind-of": {
"version": "3.2.2",
"resolved": "https://registry.nlark.com/kind-of/download/kind-of-3.2.2.tgz",
"resolved": "https://registry.npm.taobao.org/kind-of/download/kind-of-3.2.2.tgz",
"integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=",
"dependencies": {
"is-buffer": "^1.1.5"
@ -11696,7 +11696,7 @@
},
"node_modules/static-extend/node_modules/is-accessor-descriptor/node_modules/kind-of": {
"version": "3.2.2",
"resolved": "https://registry.nlark.com/kind-of/download/kind-of-3.2.2.tgz",
"resolved": "https://registry.npm.taobao.org/kind-of/download/kind-of-3.2.2.tgz",
"integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=",
"dependencies": {
"is-buffer": "^1.1.5"
@ -11718,7 +11718,7 @@
},
"node_modules/static-extend/node_modules/is-data-descriptor/node_modules/kind-of": {
"version": "3.2.2",
"resolved": "https://registry.nlark.com/kind-of/download/kind-of-3.2.2.tgz",
"resolved": "https://registry.npm.taobao.org/kind-of/download/kind-of-3.2.2.tgz",
"integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=",
"dependencies": {
"is-buffer": "^1.1.5"
@ -11742,7 +11742,7 @@
},
"node_modules/static-extend/node_modules/kind-of": {
"version": "5.1.0",
"resolved": "https://registry.nlark.com/kind-of/download/kind-of-5.1.0.tgz",
"resolved": "https://registry.npm.taobao.org/kind-of/download/kind-of-5.1.0.tgz",
"integrity": "sha1-cpyR4thXt6QZofmqZWhcTDP1hF0=",
"engines": {
"node": ">=0.10.0"
@ -19968,14 +19968,14 @@
"dependencies": {
"kind-of": {
"version": "5.1.0",
"resolved": "https://registry.nlark.com/kind-of/download/kind-of-5.1.0.tgz",
"resolved": "https://registry.npm.taobao.org/kind-of/download/kind-of-5.1.0.tgz",
"integrity": "sha1-cpyR4thXt6QZofmqZWhcTDP1hF0="
}
}
},
"kind-of": {
"version": "3.2.2",
"resolved": "https://registry.nlark.com/kind-of/download/kind-of-3.2.2.tgz",
"resolved": "https://registry.npm.taobao.org/kind-of/download/kind-of-3.2.2.tgz",
"integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=",
"requires": {
"is-buffer": "^1.1.5"
@ -23836,7 +23836,7 @@
"dependencies": {
"kind-of": {
"version": "3.2.2",
"resolved": "https://registry.nlark.com/kind-of/download/kind-of-3.2.2.tgz",
"resolved": "https://registry.npm.taobao.org/kind-of/download/kind-of-3.2.2.tgz",
"integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=",
"requires": {
"is-buffer": "^1.1.5"
@ -23854,7 +23854,7 @@
"dependencies": {
"kind-of": {
"version": "3.2.2",
"resolved": "https://registry.nlark.com/kind-of/download/kind-of-3.2.2.tgz",
"resolved": "https://registry.npm.taobao.org/kind-of/download/kind-of-3.2.2.tgz",
"integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=",
"requires": {
"is-buffer": "^1.1.5"
@ -23874,7 +23874,7 @@
},
"kind-of": {
"version": "5.1.0",
"resolved": "https://registry.nlark.com/kind-of/download/kind-of-5.1.0.tgz",
"resolved": "https://registry.npm.taobao.org/kind-of/download/kind-of-5.1.0.tgz",
"integrity": "sha1-cpyR4thXt6QZofmqZWhcTDP1hF0="
}
}

View File

@ -52,6 +52,8 @@
goDetail(e){
localStorage.Id=e
this.showDetail = true;
//
this.queryattendancebyidEv(this.babyArr[e].StuGuid);
},
//
backNews(e){
@ -87,13 +89,26 @@
this.cunArr = leftInfo.list;
},
//
async queryattendancebyidEv(){
async queryattendancebyidEv(UserGuid){
let data = await this.$axios({
// serviceAPI
url: this.$https.queryattendancebyid,
methods: "get",
params: {
EquipmentGuid: "yaohaotest001"
UserGuid
},
});
console.log(data.data.data);
},
//
async getuserattendanceinfoEv(){
let data = await this.$axios({
// serviceAPI
url: this.$https.getuserattendanceinfo,
methods: "get",
params: {
UserGuid:'1ec20f7e-85c7-a982-b506-67f71d64d1f6'
},
});
console.log(data.data.data);
@ -103,8 +118,7 @@
mounted() {
//
this.checkAttendanceNum();
//
this.queryattendancebyidEv();
this.getuserattendanceinfoEv();
}
}
</script>

View File

@ -87,8 +87,8 @@
<div>1</div>
</div>
<div class="msg-box">
<div>生日提</div>
<div>1</div>
<div v-if="babyBirthdayData!=0"></div>
<div>{{babyBirthdayData}}</div>
</div>
</div>
</div>
@ -122,7 +122,7 @@
threeMeals: ["早餐", "午餐", "晚餐"],
threeMealIndex: 0,
noticeData: 0,
babyBirthdayData: "",
babyBirthdayData: 0,
dynamicPictureData: "",
noonArr: [],
moId:"",
@ -151,7 +151,7 @@
});
this.threeMeals = data.data.data;
},
//
async notice() {
let data = await this.$axios({
// serviceAPI
@ -173,18 +173,18 @@
},
});
this.noonArr = data.data.data[0].WeekData;
},
//
async babyBirthday() {
let data = await this.$axios({
// serviceAPI
url: this.$https.babyBirthday,
methods: "get",
params: {
EquipmentID: "yaohaotest001",
EquipmentGuid: "yaohaotest001",
},
});
this.babyBirthdayData = data.data;
this.babyBirthdayData = data.data.count;
},
async dynamicPicture() {
@ -198,17 +198,6 @@
});
this.classImgArr = data.data.data.PictureUrls;
},
//
async babyBirthdayEv() {
let data = await this.$axios({
// serviceAPI
url: this.$https.babyBirthday,
methods: "post",
params: {
EquipmentGuid: "yaohaotest001",
},
});
},
//
async classStatusEv() {
let data = await this.$axios({