合并问题

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

Loading…
Cancel
Save