zhouwx
2026-03-12 c74fb6e3cfc1c25c7ef1415c5ae96f57d007850b
src/views/safetyReview/projectManage/components/riskAnalysis.vue
@@ -355,10 +355,21 @@
  }
}
const getArea = async ()=>{
  const type = 1
  const type = 0
  const res = await getRegionTree({name: '',parentId: null,regionType: type})
  if(res.code == 200){
    state.addressList = res.data
    const data = res.data.map(item => {
      return {
        ...item,
        children: null
      }
    })
    const area = {
      id: 469,
      name: "新疆维吾尔自治区",
      children: data
    }
    state.addressList = [area]
  }else{
    ElMessage.warning(res.message)
  }