web
2025-03-17 56d13900e2d74eeb9e22a9d86dc929640a676f6f
src/views/facility/valveDevice/index.vue
@@ -14,7 +14,7 @@
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();
@@ -103,7 +103,7 @@
//查询监控点
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
    })
}
@@ -111,7 +111,7 @@
//查询供应商
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
    })