合并问题

GST002_admin
Ly 2 months ago
parent 890f2c3757
commit 8e4503f8fb
  1. 34
      src/views/registrationGroup/index.vue

@ -194,23 +194,23 @@ if (route.query.edit) {
getNdbswxqList(route.query.bcId as string).then((res: any) => {
if (res.result) ndbs.value = res.result
})
const getTopicListApi = async () => {
const res: any = await getTopicList({ annualCompid: route.query.id })
console.log(res)
nextTick(() => {
if (res.result.length != 0) {
ruleForm.topicid = res.result[0].id
}
})
options.value = res.result.map((item) => {
return {
value: item.id,
label: item.name,
}
})
}
getTopicListApi()
// const getTopicListApi = async () => {
// const res: any = await getTopicList({ annualCompid: route.query.id })
// console.log(res)
// nextTick(() => {
// if (res.result.length != 0) {
// ruleForm.topicid = res.result[0].id
// }
// })
// options.value = res.result.map((item) => {
// return {
// value: item.id,
// label: item.name,
// }
// })
// }
// getTopicListApi()
}
// members: adviser:

Loading…
Cancel
Save