diff --git a/src/api/MonitorAssetsOnMap.js b/src/api/MonitorAssetsOnMap.js index 25081b6..109d251 100644 --- a/src/api/MonitorAssetsOnMap.js +++ b/src/api/MonitorAssetsOnMap.js @@ -299,3 +299,18 @@ params: query, }); } +export function getByPipeLineCode(query) { + return request({ + url: `/business/pipelineInfo/getByPipeLineCode`, + method: 'get', + params: query, + }); +} + +export function selectByPointNumber(query) { + return request({ + url: `/business/pipelinePoint/selectByPointNumber`, + method: 'get', + params: query, + }); +} \ No newline at end of file diff --git a/src/api/MonitorAssetsOnMap.js b/src/api/MonitorAssetsOnMap.js index 25081b6..109d251 100644 --- a/src/api/MonitorAssetsOnMap.js +++ b/src/api/MonitorAssetsOnMap.js @@ -299,3 +299,18 @@ params: query, }); } +export function getByPipeLineCode(query) { + return request({ + url: `/business/pipelineInfo/getByPipeLineCode`, + method: 'get', + params: query, + }); +} + +export function selectByPointNumber(query) { + return request({ + url: `/business/pipelinePoint/selectByPointNumber`, + method: 'get', + params: query, + }); +} \ No newline at end of file diff --git a/src/views/pictureOnMap/page/components/DialogTabs/component/PointAndLine.vue b/src/views/pictureOnMap/page/components/DialogTabs/component/PointAndLine.vue index 0ca20f8..c5bb777 100644 --- a/src/views/pictureOnMap/page/components/DialogTabs/component/PointAndLine.vue +++ b/src/views/pictureOnMap/page/components/DialogTabs/component/PointAndLine.vue @@ -1,7 +1,13 @@ @@ -554,6 +666,7 @@ height: 100%; color: #ccefff; } + .items-content { width: 100%; height: 100%; @@ -589,9 +702,12 @@ .gxvalue { width: calc(90% - 100px); - white-space: nowrap; /* 确保文本在一行内显示 */ - overflow: hidden; /* 隐藏超出容器宽度的文本 */ - text-overflow: ellipsis; /* 使用省略号表示被截断的文本 */ + white-space: nowrap; + /* 确保文本在一行内显示 */ + overflow: hidden; + /* 隐藏超出容器宽度的文本 */ + text-overflow: ellipsis; + /* 使用省略号表示被截断的文本 */ } } } diff --git a/src/api/MonitorAssetsOnMap.js b/src/api/MonitorAssetsOnMap.js index 25081b6..109d251 100644 --- a/src/api/MonitorAssetsOnMap.js +++ b/src/api/MonitorAssetsOnMap.js @@ -299,3 +299,18 @@ params: query, }); } +export function getByPipeLineCode(query) { + return request({ + url: `/business/pipelineInfo/getByPipeLineCode`, + method: 'get', + params: query, + }); +} + +export function selectByPointNumber(query) { + return request({ + url: `/business/pipelinePoint/selectByPointNumber`, + method: 'get', + params: query, + }); +} \ No newline at end of file diff --git a/src/views/pictureOnMap/page/components/DialogTabs/component/PointAndLine.vue b/src/views/pictureOnMap/page/components/DialogTabs/component/PointAndLine.vue index 0ca20f8..c5bb777 100644 --- a/src/views/pictureOnMap/page/components/DialogTabs/component/PointAndLine.vue +++ b/src/views/pictureOnMap/page/components/DialogTabs/component/PointAndLine.vue @@ -1,7 +1,13 @@ @@ -554,6 +666,7 @@ height: 100%; color: #ccefff; } + .items-content { width: 100%; height: 100%; @@ -589,9 +702,12 @@ .gxvalue { width: calc(90% - 100px); - white-space: nowrap; /* 确保文本在一行内显示 */ - overflow: hidden; /* 隐藏超出容器宽度的文本 */ - text-overflow: ellipsis; /* 使用省略号表示被截断的文本 */ + white-space: nowrap; + /* 确保文本在一行内显示 */ + overflow: hidden; + /* 隐藏超出容器宽度的文本 */ + text-overflow: ellipsis; + /* 使用省略号表示被截断的文本 */ } } } diff --git a/src/views/pictureOnMap/page/components/DialogTabs/component/guanwangpoumian.vue b/src/views/pictureOnMap/page/components/DialogTabs/component/guanwangpoumian.vue index b82b179..56819d2 100644 --- a/src/views/pictureOnMap/page/components/DialogTabs/component/guanwangpoumian.vue +++ b/src/views/pictureOnMap/page/components/DialogTabs/component/guanwangpoumian.vue @@ -30,13 +30,10 @@ time:moment(props.Getproperties.daterange[0]).format("YYYY-MM-DD") } getSectionByWellCodeDetail(params).then(res => { - loading.value=false if (res && res.code == 200) { console.log('res.data', res.data); GetpoumianList.value = res.data; } - },(error)=>{ - loading.value=false }); }else{ getSectionByWellCode(wellcode).then(res => {