|
|
@ -134,7 +134,7 @@ export default { |
|
|
|
mounted () { |
|
|
|
this.projectKey = this.$route.query.key |
|
|
|
let url = window.location.protocol + '//' + window.location.host |
|
|
|
this.writeLink = `${url}/s/${this.projectKey}` |
|
|
|
this.writeLink = `${url}/questionnaire/s/${this.projectKey}` |
|
|
|
|
|
|
|
this.getProjectStatus() |
|
|
|
}, |
|
|
@ -152,7 +152,7 @@ export default { |
|
|
|
agencyId: customerId |
|
|
|
} |
|
|
|
this.$api.post(`/data/aggregator/org/agencytree`, params).then((res) => { |
|
|
|
this.data = res.data |
|
|
|
this.data = res.data ||[] |
|
|
|
}) |
|
|
|
}, |
|
|
|
|
|
|
@ -207,7 +207,7 @@ export default { |
|
|
|
}, |
|
|
|
publishProject () { |
|
|
|
this.resolveAgency() |
|
|
|
if (this.selAgencyList.length === 0) { |
|
|
|
if (this.data.length >0 && this.selAgencyList.length === 0) { |
|
|
|
this.$message( |
|
|
|
{ |
|
|
|
message: "请选择发布范围", |
|
|
|