Commit e5bbe026 authored by 张锡奇's avatar 张锡奇

upload

parent 4272f930
......@@ -189,8 +189,6 @@ export default {
window.d = this;
this.readOnly=this.$route.query.readOnly
this.value.sCreateAppid=this.$route.params.openId
console.log(this.$route.params.openId)
console.log(this.readOnly)
if(this.readOnly){
await this.getHealthDate();
}else{
......@@ -205,7 +203,7 @@ export default {
let res = await this.request('getStatisticalDetails',{
data:[
{key:'url',value:'HealthLog'},
{key:'dDate',value: this.hdr.dDate},
{key:'dDate',value: this.$route.query.dDate},
{key:"openid",value:this.value.sCreateAppid}
],
params:{},
......
......@@ -521,7 +521,7 @@ export default {
this.$router.push({name:'healthCardStatisticsList',params:{type:type}});
},
routerToPunchClockDetail(item){
this.$router.push({name:'punchClockDetail',params:{id:'1',address:'1',openId:this.openId},query:{readOnly:true}})
this.$router.push({name:'punchClockDetail',params:{id:'1',address:'1',openId:this.openId},query:{readOnly:true,dDate:this.hdr.dDate}})
}
}
}
......
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