Commit 40a1beda authored by 李苏's avatar 李苏 💬

字段调整

parent 000fbfcd
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Description: * @Description:
* @Author: lisu lisu@gavelinfo.com * @Author: lisu lisu@gavelinfo.com
* @LastEditors: lisu lisu@gavelinfo.com * @LastEditors: lisu lisu@gavelinfo.com
* @LastEditTime: 2024-10-08 15:33:35 * @LastEditTime: 2024-10-08 16:32:03
* @FilePath: /zghywpc-vue/src/views/yhlywsytst/yhlywsytst/index.vue * @FilePath: /zghywpc-vue/src/views/yhlywsytst/yhlywsytst/index.vue
--> -->
<template> <template>
...@@ -290,7 +290,7 @@ ...@@ -290,7 +290,7 @@
</el-col> </el-col>
<el-col :span="3" class="search-col"> <el-col :span="3" class="search-col">
<div class="search-item"> <div class="search-item">
<span class="search-span">管径:</span> <span class="search-span">管径:</span>
<el-input v-model="sypcQueryParams.gj"></el-input> <el-input v-model="sypcQueryParams.gj"></el-input>
</div> </div>
</el-col> </el-col>
...@@ -913,6 +913,7 @@ ...@@ -913,6 +913,7 @@
return str; return str;
}, },
apiGetLbjxx() { apiGetLbjxx() {
this.lbjlistData=[]
this.$post('sbgl/usbxx/query', { this.$post('sbgl/usbxx/query', {
kshSbxxCode: this.getFirstPartOfString(this.selectedModel.name), kshSbxxCode: this.getFirstPartOfString(this.selectedModel.name),
}).then(res => { }).then(res => {
...@@ -920,6 +921,7 @@ ...@@ -920,6 +921,7 @@
}) })
}, },
apiGetYwxx() { apiGetYwxx() {
this.ywlistData =[]
this.$post('ywxxgl/uywxx/query', { this.$post('ywxxgl/uywxx/query', {
sbxxCode: this.getFirstPartOfString(this.selectedModel.name), sbxxCode: this.getFirstPartOfString(this.selectedModel.name),
}).then(res => { }).then(res => {
...@@ -927,6 +929,7 @@ ...@@ -927,6 +929,7 @@
}) })
}, },
apiGetJxxx() { apiGetJxxx() {
this.jxlistData=[]
this.$post('jxgl/usbjx/query', { this.$post('jxgl/usbjx/query', {
sbxxCode: this.getFirstPartOfString(this.selectedModel.name), sbxxCode: this.getFirstPartOfString(this.selectedModel.name),
}).then(res => { }).then(res => {
...@@ -934,6 +937,7 @@ ...@@ -934,6 +937,7 @@
}) })
}, },
apiGetBgxx() { apiGetBgxx() {
this.bglistData =[]
this.$post('sbgl/usbbg/query', { this.$post('sbgl/usbbg/query', {
sbxxCode: this.getFirstPartOfString(this.selectedModel.name), sbxxCode: this.getFirstPartOfString(this.selectedModel.name),
}).then(res => { }).then(res => {
...@@ -1494,8 +1498,9 @@ ...@@ -1494,8 +1498,9 @@
// } else { // } else {
// model = intersects[0].object // model = intersects[0].object
// } // }
let modelIndex = intersects.findIndex(item=>item.object.name!=='') let modelIndex = intersects.findIndex(item=>item.object.name!==''&&item.object.visible==true)
if(modelIndex!=-1){ if(modelIndex!=-1){
rconsole.log(`当前选中${modelIndex}`)
model=intersects[modelIndex].object model=intersects[modelIndex].object
}else{ }else{
console.log('本次选中不存在name的节点') console.log('本次选中不存在name的节点')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment