Browse Source

提交导出按钮

master
风继续吹 5 months ago
parent
commit
979e1ad8b6
1 changed files with 7 additions and 7 deletions
  1. +7
    -7
      src/views/Statistics/Insightintothedetails.vue

+ 7
- 7
src/views/Statistics/Insightintothedetails.vue View File

@@ -158,7 +158,7 @@ export default {
endoftime: "",
name: "",
agentName: "",
projectId: "",
projectId: localStorage.getItem("houseId"),
type: 0,
keywords: "",
keywordIds: [],
@@ -172,21 +172,21 @@ export default {
mounted() {
// 权限
this.sta_idx_download = this.permissions["sta_idx_download"];
var isnull = this.$route.query.flag;
console.log(isnull);
try {
console.log(this.$route.query)
console.log(Object.keys(this.$route.query))
if (Object.keys(this.$route.query).length > 0) {
var isnull = this.$route.query.flag;
if (isnull.TimetoAhoose) this.TimetoAhoose = isnull.TimetoAhoose;
if (isnull.customtime) this.customtime = isnull.customtime;
this.fromobj.starttime = isnull.starttime;
this.fromobj.endoftime = isnull.endoftime;
this.fromobj.projectId = isnull.houseId;
this.fromobj.projectId = isnull.houseId
this.fromobj.keywords = isnull.keywordsId;
if (!isnull.TimetoAhoose && isnull.starttime && isnull.endoftime) {
this.TimetoAhoose = 6;
}
} catch (e) {
console.log(e);
}

this.Accesstolevel();
},
computed: {


Loading…
Cancel
Save