zhouwx
2025-03-24 3f6bf89b1985b6668f02ffcc9af577b412e92e45
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)
  }