| | |
| | | import user from "@/api/system/user.js"; |
| | | import waterMeterApi from "@/api/waterMeterApi/index.js"; |
| | | import {sysDictData} from "@/api/system/dict.js"; |
| | | import setPostParams from "../../../utils/searchParams.js"; |
| | | import setPostParams from "@/utils/searchParams.js"; |
| | | import{ useRoute } from 'vue-router' |
| | | |
| | | const {proxy} = getCurrentInstance(); |
| | |
| | | |
| | | |
| | | const getFacilityList = async () => { |
| | | await facilityApi().search({limit: 10000, page: 1}).then((res) => { |
| | | await facilityApi().search({limit: 100, page: 1}).then((res) => { |
| | | console.log("设备列表" + res.data.list); |
| | | facilityList.value = res.data.list |
| | | }) |
| | | } |
| | | const getInformUserList = async () => { |
| | | await user().search({limit: 10000, page: 1}).then((res) => { |
| | | await user().search({limit: 100, page: 1}).then((res) => { |
| | | console.log("通知人员列表" + res.data.list); |
| | | informUserList.value = res.data.list |
| | | }) |