|
@ -142,12 +142,13 @@ export default { |
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|
async created () { |
|
|
async created () { |
|
|
this.getOrgList() |
|
|
await this.getOrgList() |
|
|
|
|
|
await this.handleSearch() |
|
|
}, |
|
|
}, |
|
|
async mounted () { |
|
|
async mounted () { |
|
|
const { user } = this.$store.state |
|
|
const { user } = this.$store.state |
|
|
this.agencyId = user.agencyId |
|
|
this.agencyId = user.agencyId |
|
|
await this.handleSearch() |
|
|
|
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
methods: { |
|
|
methods: { |
|
@ -193,9 +194,12 @@ export default { |
|
|
this.form.startTime = ''; |
|
|
this.form.startTime = ''; |
|
|
this.form.endTime = ''; |
|
|
this.form.endTime = ''; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
if (this.form.joinOrgId === '' || this.form.joinOrgId === null || this.form.joinOrgId === undefined){ |
|
|
if (this.form.joinOrgId === '' || this.form.joinOrgId === null || this.form.joinOrgId === undefined){ |
|
|
|
|
|
console.log(this.orgList) |
|
|
let a = this.orgList[0] |
|
|
let a = this.orgList[0] |
|
|
this.form.joinOrgId = a.id; |
|
|
this.form.joinOrgId = a.id; |
|
|
|
|
|
this.joinOrgIds = this.form.joinOrgId |
|
|
}else { |
|
|
}else { |
|
|
this.form.joinOrgId = this.joinOrgIds[this.joinOrgIds.length - 1]; |
|
|
this.form.joinOrgId = this.joinOrgIds[this.joinOrgIds.length - 1]; |
|
|
} |
|
|
} |
|
|