Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
zghywpc-vue
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李苏
zghywpc-vue
Commits
40a1beda
Commit
40a1beda
authored
Oct 08, 2024
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
字段调整
parent
000fbfcd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
index.vue
src/views/yhlywsytst/yhlywsytst/index.vue
+8
-3
No files found.
src/views/yhlywsytst/yhlywsytst/index.vue
View file @
40a1beda
...
@@ -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 1
5:33:35
* @LastEditTime: 2024-10-08 1
6: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的节点'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment