diff --git a/src/api/MonitorAssetsOnMap.js b/src/api/MonitorAssetsOnMap.js index 4d288f5..e9eb3fc 100644 --- a/src/api/MonitorAssetsOnMap.js +++ b/src/api/MonitorAssetsOnMap.js @@ -229,9 +229,9 @@ }); } -export function getSectionByWellCode(code) { +export function getSectionByStCode(code) { return request({ - url: `/business/pipelineInfo/getSectionByWellCode/${code}`, + url: `/business/dataSiteRelation/getSectionByStCode/${code}`, method: 'get', }); } diff --git a/src/api/MonitorAssetsOnMap.js b/src/api/MonitorAssetsOnMap.js index 4d288f5..e9eb3fc 100644 --- a/src/api/MonitorAssetsOnMap.js +++ b/src/api/MonitorAssetsOnMap.js @@ -229,9 +229,9 @@ }); } -export function getSectionByWellCode(code) { +export function getSectionByStCode(code) { return request({ - url: `/business/pipelineInfo/getSectionByWellCode/${code}`, + url: `/business/dataSiteRelation/getSectionByStCode/${code}`, method: 'get', }); } diff --git a/src/views/pictureOnMap/page/components/DialogTabs/component/guanwangpoumian.vue b/src/views/pictureOnMap/page/components/DialogTabs/component/guanwangpoumian.vue index 366f1c6..7fdd2ca 100644 --- a/src/views/pictureOnMap/page/components/DialogTabs/component/guanwangpoumian.vue +++ b/src/views/pictureOnMap/page/components/DialogTabs/component/guanwangpoumian.vue @@ -10,7 +10,7 @@ import moment from 'moment'; import commonUnderGround from '@/views/pictureOnMap/page/components/DialogTabs/component/commonUnderGround.vue'; const { proxy } = getCurrentInstance(); -import { getSectionByWellCode, getSectionByWellCodeDetail } from '@/api/MonitorAssetsOnMap'; +import { getSectionByStCode, getSectionByWellCodeDetail } from '@/api/MonitorAssetsOnMap'; const props = defineProps({ Getproperties: { @@ -35,7 +35,7 @@ } }); } else { - getSectionByWellCode(wellcode).then(res => { + getSectionByStCode(props.Getproperties.stCode).then(res => { console.log('res.data', res.data); GetpoumianList.value = res.data; }); diff --git a/src/api/MonitorAssetsOnMap.js b/src/api/MonitorAssetsOnMap.js index 4d288f5..e9eb3fc 100644 --- a/src/api/MonitorAssetsOnMap.js +++ b/src/api/MonitorAssetsOnMap.js @@ -229,9 +229,9 @@ }); } -export function getSectionByWellCode(code) { +export function getSectionByStCode(code) { return request({ - url: `/business/pipelineInfo/getSectionByWellCode/${code}`, + url: `/business/dataSiteRelation/getSectionByStCode/${code}`, method: 'get', }); } diff --git a/src/views/pictureOnMap/page/components/DialogTabs/component/guanwangpoumian.vue b/src/views/pictureOnMap/page/components/DialogTabs/component/guanwangpoumian.vue index 366f1c6..7fdd2ca 100644 --- a/src/views/pictureOnMap/page/components/DialogTabs/component/guanwangpoumian.vue +++ b/src/views/pictureOnMap/page/components/DialogTabs/component/guanwangpoumian.vue @@ -10,7 +10,7 @@ import moment from 'moment'; import commonUnderGround from '@/views/pictureOnMap/page/components/DialogTabs/component/commonUnderGround.vue'; const { proxy } = getCurrentInstance(); -import { getSectionByWellCode, getSectionByWellCodeDetail } from '@/api/MonitorAssetsOnMap'; +import { getSectionByStCode, getSectionByWellCodeDetail } from '@/api/MonitorAssetsOnMap'; const props = defineProps({ Getproperties: { @@ -35,7 +35,7 @@ } }); } else { - getSectionByWellCode(wellcode).then(res => { + getSectionByStCode(props.Getproperties.stCode).then(res => { console.log('res.data', res.data); GetpoumianList.value = res.data; }); diff --git a/vite.config.js b/vite.config.js index e1d3dcf..57eb248 100644 --- a/vite.config.js +++ b/vite.config.js @@ -8,8 +8,8 @@ // let ipLink = 'https://server1.wh-nf.cn:8201/prod-api'; // let ipLink = 'http://192.168.16.135:9100'; // let ipLink = 'https://dhgx.wh-nf.cn:8201/prod-api'; -let ipLink = 'http://192.168.16.124:9100'; -// let ipLink = 'http://192.168.20.43:9100'; // 刘总 +// let ipLink = 'http://192.168.16.124:9100'; +let ipLink = 'http://192.168.20.43:9100'; // 刘总 // let ipLink = 'http://192.168.16.43:9100'; /* */