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
41fbca55
Commit
41fbca55
authored
Aug 29, 2024
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
后端测试
parent
da66445f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
6 deletions
+31
-6
index.vue
src/views/yhlywsytst/yhlywsytst/index.vue
+31
-6
No files found.
src/views/yhlywsytst/yhlywsytst/index.vue
View file @
41fbca55
...
@@ -58,7 +58,7 @@
...
@@ -58,7 +58,7 @@
</div>
</div>
</div>
-->
</div>
-->
<!-- 右侧操作边框-->
<!-- 右侧操作边框-->
<div
v-show=
'selectedModel.name'
class=
"rightOpt"
ref=
"rightOpt"
>
<div
class=
"rightOpt"
ref=
"rightOpt"
>
<div
class=
"full padding5"
style=
"height: 100%;"
>
<div
class=
"full padding5"
style=
"height: 100%;"
>
<div
class=
"optTitle"
>
<div
class=
"optTitle"
>
{{
selectedModel
.
name
?
selectedModel
.
name
+
'的'
:
''
}}
设备信息
{{
selectedModel
.
name
?
selectedModel
.
name
+
'的'
:
''
}}
设备信息
...
@@ -68,7 +68,27 @@
...
@@ -68,7 +68,27 @@
<i
class=
"topR"
></i>
<i
class=
"topR"
></i>
<i
class=
"bottomL"
></i>
<i
class=
"bottomL"
></i>
<i
class=
"bottomR"
></i>
<i
class=
"bottomR"
></i>
<div
class=
"full"
>
<div
class=
"full"
style=
"margin-top: 50px;"
>
<el-row
:gutter=
"20"
class=
"search-row-1"
>
<el-col
:span=
"24"
class=
"search-col"
>
<div
class=
"search-item"
>
<span
class=
"search-span"
>
机组编码:
</span>
<el-input
v-model=
"queryParams.jzbm"
></el-input>
</div>
</el-col>
<el-col
:span=
"24"
class=
"search-col"
>
<div
class=
"search-item"
>
<span
class=
"search-span"
>
状态:
</span>
<RelSelect
style=
"width: 100%;"
src=
'sbgl/usbxx/init/zt '
filterable
clearable
:match=
"
{value:'id',label:'name'}" v-model='queryParams.kshZt'>
</RelSelect>
</div>
</el-col>
<el-col
:span=
"24"
class=
"search-col flex-center"
>
<el-button
type=
"primary"
@
click=
"apiJzbm()"
>
查 看
</el-button>
</el-col>
</el-row>
...
@@ -158,6 +178,11 @@
...
@@ -158,6 +178,11 @@
},
},
data
()
{
data
()
{
return
{
return
{
/* 测试代码*/
queryParams
:{
jzbm
:
''
,
kshZt
:
''
},
xzjj
:
true
,
xzjj
:
true
,
flowDirection
:
true
,
flowDirection
:
true
,
flowPieData
:
''
,
flowPieData
:
''
,
...
@@ -195,9 +220,9 @@
...
@@ -195,9 +220,9 @@
this
.
jzReMaterialQue
.
forEach
(
item
=>
{
this
.
jzReMaterialQue
.
forEach
(
item
=>
{
item
.
revert
()
item
.
revert
()
})
})
this
.
$post
(
'ksh/query'
,
{
this
.
$post
(
'ksh/query'
,
jzbm
:
1
this
.
queryParams
}
).
then
(
res
=>
{
).
then
(
res
=>
{
if
(
res
.
success
){
if
(
res
.
success
){
let
sbxxList
=
res
.
data
.
records
||
[]
let
sbxxList
=
res
.
data
.
records
||
[]
const
sbxxCodeList
=
sbxxList
.
map
(
item
=>
item
.
sbxxCode
)
const
sbxxCodeList
=
sbxxList
.
map
(
item
=>
item
.
sbxxCode
)
...
@@ -231,7 +256,7 @@
...
@@ -231,7 +256,7 @@
/* 解决com和 相机控制器事件冲突的问题*/
/* 解决com和 相机控制器事件冲突的问题*/
canNotMousedown
(
domList
)
{
canNotMousedown
(
domList
)
{
domList
.
forEach
(
vdom
=>
{
domList
.
forEach
(
vdom
=>
{
vdom
.
addEventListener
(
'mouse
down
'
,
function
(
event
)
{
vdom
.
addEventListener
(
'mouse
over
'
,
function
(
event
)
{
event
.
preventDefault
();
event
.
preventDefault
();
});
});
})
})
...
...
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