| | |
| | | // 查询【请填写功能名称】列表 |
| | | export function listAllPlaceName() { |
| | | return request({ |
| | | url: '/system/placeName/listAll', |
| | | // url: '/system/placeName/listAll', |
| | | url: '/system/placeName/list', |
| | | method: 'get', |
| | | |
| | | }) |
| | |
| | | // 查询【请填写功能名称】列表 |
| | | export function listAllProjectName() { |
| | | return request({ |
| | | url: '/system/projectName/listAll', |
| | | method: 'get', |
| | | // url: '/system/projectName/listAll', |
| | | url: '/system/projectName/list', |
| | | method: 'get' |
| | | |
| | | |
| | | }) |
| | | } |
| | |
| | | { |
| | | try { |
| | | const response = await listAllPlaceName() |
| | | console.log(response.data) |
| | | this.zoneTypeOptions = response.data.map(item => ({ |
| | | console.log("1111111333333",response.data) |
| | | this.zoneTypeOptions = response.data.data.map(item => ({ |
| | | value: item.nnumber, |
| | | label: item.name |
| | | })) |
| | |
| | | async fetchProjectOptions() { |
| | | try { |
| | | const response = await listAllProjectName() |
| | | console.log(response) |
| | | this.projectOptions = response.data.map(item => ({ |
| | | console.log("1111111",response) |
| | | this.projectOptions = response.data.data.map(item => ({ |
| | | value: item.name, |
| | | label: item.name |
| | | })) |