diff --git a/src/views/Statistics/Insightintothedetails.vue b/src/views/Statistics/Insightintothedetails.vue index f5d2014..69a85ca 100644 --- a/src/views/Statistics/Insightintothedetails.vue +++ b/src/views/Statistics/Insightintothedetails.vue @@ -164,11 +164,14 @@ export default { this.sta_idx_download = this.permissions["sta_idx_download"]; var isnull=this.$route.query.flag; if (isnull.TimetoAhoose) this.TimetoAhoose=isnull.TimetoAhoose; - this.customtime=isnull.customtime; + if (isnull.customtime) this.customtime=isnull.customtime; this.fromobj.starttime=isnull.starttime; this.fromobj.endoftime=isnull.endoftime; this.fromobj.projectId=isnull.houseId; this.fromobj.keywords=isnull.keywordsId; + if (!isnull.TimetoAhoose && isnull.starttime && isnull.endoftime) { + this.TimetoAhoose = 6 + } this.Accesstolevel() }, computed: {