Merge branch 'main' of https://dd3skj.picp.vip/JyuHsin/zhgh_jshvc
This commit is contained in:
@@ -186,7 +186,7 @@ const ACTIVITY_CULTURE_APPLY_ACTIVITY = {
|
||||
placeholder="请选择主办单位"
|
||||
style="width: 100%">
|
||||
<el-option
|
||||
v-for="item in unitOptions"
|
||||
v-for="item in hostUnitOptions"
|
||||
:key="item.id"
|
||||
:label="item.name"
|
||||
:value="item.id">
|
||||
@@ -618,6 +618,7 @@ const ACTIVITY_CULTURE_APPLY_ACTIVITY = {
|
||||
{prop: "unionName", label: "所属工会"}
|
||||
],
|
||||
|
||||
hostUnitOptions: [],
|
||||
unitOptions: [],
|
||||
clubOptions: [],
|
||||
}
|
||||
@@ -980,6 +981,9 @@ const ACTIVITY_CULTURE_APPLY_ACTIVITY = {
|
||||
})
|
||||
const unions = await this.$businessTool.listUnion()
|
||||
this.unitOptions = this.clubOptions.concat(unions)
|
||||
|
||||
const units = await this.$businessTool.listUnit()
|
||||
this.hostUnitOptions = this.clubOptions.concat(units)
|
||||
},
|
||||
async queryUserByIds(ids) {
|
||||
const {data} = await this.$axios.post("/platform/activity/culture/applyActivity/queryUserByIds", {ids: JSON.stringify(ids)})
|
||||
|
||||
Reference in New Issue
Block a user