调用宝宝食谱接口
parent
e38043999c
commit
7c87f8d229
|
@ -102,7 +102,7 @@
|
|||
babyAlbum,
|
||||
yiqingmanagement
|
||||
},
|
||||
name: 'header',
|
||||
name: 'v-header',
|
||||
data() {
|
||||
return {
|
||||
titleArr: ['首页', '幼儿园介绍', '宝宝活动', '出勤详情', '宝宝相册', '疫情管理'],
|
||||
|
|
|
@ -235,12 +235,15 @@
|
|||
chooseMeal(e) {
|
||||
this.threeMealIndex = e;
|
||||
},
|
||||
// 班级详情
|
||||
calssDetailEv(){
|
||||
// 宝宝食谱
|
||||
babyRecipeEv(){
|
||||
this.$axios({
|
||||
// 调用 serviceAPI
|
||||
url:this.$https.classDetail,
|
||||
url:this.$https.babyRecipe,
|
||||
methods:'get',
|
||||
params:{
|
||||
EquipmentID:'yaohaotest001'
|
||||
}
|
||||
}).then(res =>{
|
||||
console.log(res.data);
|
||||
}).catch(err => {
|
||||
|
@ -249,7 +252,7 @@
|
|||
}
|
||||
},
|
||||
mounted() {
|
||||
|
||||
this.babyRecipeEv();
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
const host = 'https://easy-mock.com/mock/5bcd8e154994296c2af093ea/SmileVue/'
|
||||
const host = 'http://47.109.29.153:50012'
|
||||
const url = {
|
||||
classDetail: host + 'index',
|
||||
babyRecipe: host + '/api/admin/electronicclasscard/babyfood',
|
||||
}
|
||||
|
||||
module.exports = url
|
||||
|
|
Loading…
Reference in New Issue