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
62f333a7
Commit
62f333a7
authored
Sep 19, 2024
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
a665e38f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
50 additions
and
49 deletions
+50
-49
index.vue
src/views/yhlywsytst/yhlywsytst/index.vue
+50
-49
No files found.
src/views/yhlywsytst/yhlywsytst/index.vue
View file @
62f333a7
...
@@ -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-09-1
8 09:42:40
* @LastEditTime: 2024-09-1
9 14:40:49
* @FilePath: /zghywpc-vue/src/views/yhlywsytst/yhlywsytst/index.vue
* @FilePath: /zghywpc-vue/src/views/yhlywsytst/yhlywsytst/index.vue
-->
-->
<
template
>
<
template
>
...
@@ -290,13 +290,13 @@
...
@@ -290,13 +290,13 @@
<el-col
:span=
"8"
class=
"search-col"
>
<el-col
:span=
"8"
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.
sbxxCode
"
></el-input>
<el-input
v-model=
"sypcQueryParams.
gnwz
"
></el-input>
</div>
</div>
</el-col>
</el-col>
<el-col
:span=
"8"
class=
"search-col"
>
<el-col
:span=
"8"
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.
zd
gj"
></el-input>
<el-input
v-model=
"sypcQueryParams.gj"
></el-input>
</div>
</div>
</el-col>
</el-col>
<el-col
:span=
"8"
class=
"search-col flex-center"
>
<el-col
:span=
"8"
class=
"search-col flex-center"
>
...
@@ -305,7 +305,8 @@
...
@@ -305,7 +305,8 @@
<RelSelect
placeholder=
''
style=
"width: 100%;"
:optionsData=
"[
<RelSelect
placeholder=
''
style=
"width: 100%;"
:optionsData=
"[
{id:'Y',name:'是'},
{id:'Y',name:'是'},
{id:'N',name:'否'}
{id:'N',name:'否'}
]" filterable clearable :match="{value:'id',label:'name'}" v-model='sypcQueryParams.jqyr'>
</RelSelect>
]" filterable clearable :match="{value:'id',label:'name'}" v-model='sypcQueryParams.isrRecentImport'>
</RelSelect>
</div>
</div>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -314,7 +315,7 @@
...
@@ -314,7 +315,7 @@
<div
class=
"search-item"
>
<div
class=
"search-item"
>
<span
class=
"search-span"
>
规格:
</span>
<span
class=
"search-span"
>
规格:
</span>
<RelSelect
placeholder=
''
style=
"width: 100%;"
src=
'sbgl/usbxx/init/ggxh '
filterable
clearable
<RelSelect
placeholder=
''
style=
"width: 100%;"
src=
'sbgl/usbxx/init/ggxh '
filterable
clearable
:match=
"
{value:'id',label:'name'}" v-model='sypcQueryParams.gg
xh
'>
</RelSelect>
:match=
"
{value:'id',label:'name'}" v-model='sypcQueryParams.gg'>
</RelSelect>
</div>
</div>
</el-col>
</el-col>
<el-col
:span=
"8"
class=
"search-col"
>
<el-col
:span=
"8"
class=
"search-col"
>
...
@@ -541,11 +542,11 @@
...
@@ -541,11 +542,11 @@
kshZt
:
''
kshZt
:
''
},
},
sypcQueryParams
:
{
sypcQueryParams
:
{
sbxxCode
:
''
,
gnwz
:
''
,
jqyr
:
''
,
isrRecentImport
:
false
,
zd
gj
:
''
,
gj
:
''
,
ldtx
:
''
,
ldtx
:
''
,
gg
xh
:
''
,
gg
:
''
,
cz
:
''
,
cz
:
''
,
// ywName: '异物1RIS0218',
// ywName: '异物1RIS0218',
// jzbm: '1',
// jzbm: '1',
...
@@ -621,7 +622,7 @@
...
@@ -621,7 +622,7 @@
},
},
/* 点击按钮弹出异物,然后选中*/
/* 点击按钮弹出异物,然后选中*/
sypc
()
{
sypc
()
{
if
(
!
this
.
sypcQueryParams
.
sbxxCode
)
{
if
(
!
this
.
sypcQueryParams
.
gnwz
)
{
this
.
$warning
(
'请输入功能位置后进行查询!'
)
this
.
$warning
(
'请输入功能位置后进行查询!'
)
return
return
}
}
...
@@ -644,7 +645,7 @@
...
@@ -644,7 +645,7 @@
this
.
$success
(
`已标记
${
sbxxList
.
length
}
个设备`
)
this
.
$success
(
`已标记
${
sbxxList
.
length
}
个设备`
)
const
sbxxCodeList
=
sbxxList
.
map
(
item
=>
item
.
sbxxCode
)
const
sbxxCodeList
=
sbxxList
.
map
(
item
=>
item
.
sbxxCode
)
/* 匹配设备信息length==0 */
/* 匹配设备信息length==0 */
if
(
sbxxCodeList
.
length
==
0
)
{
if
(
sbxxCodeList
.
length
==
0
)
{
return
return
}
}
/* 解决 先缓存选中色,后渲染黄色,默认选中时颜色不对
/* 解决 先缓存选中色,后渲染黄色,默认选中时颜色不对
...
...
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