|
|
@@ -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: { |
|
|
|