| | |
| | | import commonParameters from "@/api/configuration/commonParameters/index.js"; |
| | | import waterFacilityParameter from "@/api/configuration/facilityParameter/index.js"; |
| | | import {PREURL} from '@/config/index' |
| | | import setPostParams from "../../../utils/searchParams.js"; |
| | | import setPostParams from "@/utils/searchParams.js"; |
| | | const route = useRoute(); |
| | | const preUrl = ref(PREURL); |
| | | const {proxy} = getCurrentInstance(); |
| | |
| | | //查询监控点 |
| | | const areaList = ref(); |
| | | const getArea = async () => { |
| | | await areaApi().search({limit: 10000, page: 1}).then((res) => { |
| | | await areaApi().search({limit: 100, page: 1}).then((res) => { |
| | | areaList.value = res.data.list |
| | | }) |
| | | } |
| | |
| | | //查询供应商 |
| | | const supplierList = ref(); |
| | | const getSupplier = async () => { |
| | | await supplierApi().search({limit: 10000, page: 1}).then((res) => { |
| | | await supplierApi().search({limit: 100, page: 1}).then((res) => { |
| | | console.log("供应商" + res.data.list); |
| | | supplierList.value = res.data.list |
| | | }) |