Commit 772e05b7 authored by 张锡奇's avatar 张锡奇

upload

parent 788737d9
...@@ -187,7 +187,7 @@ export default { ...@@ -187,7 +187,7 @@ export default {
}, },
async activated(){ async activated(){
window.d = this; window.d = this;
this.readOnly=this.$route.query.readOnly this.readOnly=this.$route.query.readOnly == 'true' ? true : false;
this.value.sCreateAppid=this.$route.params.openId this.value.sCreateAppid=this.$route.params.openId
if(this.readOnly){ if(this.readOnly){
await this.getHealthDate(); await this.getHealthDate();
...@@ -203,7 +203,7 @@ export default { ...@@ -203,7 +203,7 @@ export default {
let res = await this.request('getStatisticalDetails',{ let res = await this.request('getStatisticalDetails',{
data:[ data:[
{key:'url',value:'HealthLog'}, {key:'url',value:'HealthLog'},
{key:'dDate',value: util.dateFormat(new Date(this.$route.query.dDate),"yyyy-MM-dd")}, {key:'dDate',value: util.dateFormat(new Date(Number(this.$route.query.dDate)),"yyyy-MM-dd")},
{key:"openid",value:this.value.sCreateAppid} {key:"openid",value:this.value.sCreateAppid}
], ],
params:{}, params:{},
......
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