| | |
| | | } |
| | | |
| | | // 小区树形数据 |
| | | export const getPoliceStationLazyTree = (type, id) => { |
| | | // export const getPoliceStationLazyTree = (type, id) => { |
| | | // return request({ |
| | | // url: `/api/policeStationInfo/policeStationInfo/getPoliceStationLazyTree`, |
| | | // method: 'get', |
| | | // params: { |
| | | // type, |
| | | // id |
| | | // } |
| | | // }) |
| | | // } |
| | | |
| | | // 小区树形数据 |
| | | export const getPoliceStationTrees = (name) => { |
| | | return request({ |
| | | url: `/api/policeStationInfo/policeStationInfo/getPoliceStationLazyTree`, |
| | | url: `/api/policeStationInfo/policeStationInfo/getPoliceStationTrees`, |
| | | method: 'get', |
| | | params: { |
| | | type, |
| | | id |
| | | name |
| | | } |
| | | }) |
| | | } |