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

字段调整

parent 000fbfcd
......@@ -2,7 +2,7 @@
* @Description:
* @Author: 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
-->
<template>
......@@ -290,7 +290,7 @@
</el-col>
<el-col :span="3" class="search-col">
<div class="search-item">
<span class="search-span">管径:</span>
<span class="search-span">管径:</span>
<el-input v-model="sypcQueryParams.gj"></el-input>
</div>
</el-col>
......@@ -913,6 +913,7 @@
return str;
},
apiGetLbjxx() {
this.lbjlistData=[]
this.$post('sbgl/usbxx/query', {
kshSbxxCode: this.getFirstPartOfString(this.selectedModel.name),
}).then(res => {
......@@ -920,6 +921,7 @@
})
},
apiGetYwxx() {
this.ywlistData =[]
this.$post('ywxxgl/uywxx/query', {
sbxxCode: this.getFirstPartOfString(this.selectedModel.name),
}).then(res => {
......@@ -927,6 +929,7 @@
})
},
apiGetJxxx() {
this.jxlistData=[]
this.$post('jxgl/usbjx/query', {
sbxxCode: this.getFirstPartOfString(this.selectedModel.name),
}).then(res => {
......@@ -934,6 +937,7 @@
})
},
apiGetBgxx() {
this.bglistData =[]
this.$post('sbgl/usbbg/query', {
sbxxCode: this.getFirstPartOfString(this.selectedModel.name),
}).then(res => {
......@@ -1494,8 +1498,9 @@
// } else {
// 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){
rconsole.log(`当前选中${modelIndex}`)
model=intersects[modelIndex].object
}else{
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