Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
xiangyang-PDA
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
xujian
xiangyang-PDA
Commits
0ae7f5e7
Commit
0ae7f5e7
authored
Apr 02, 2026
by
wangwenjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
颜色
parent
afe3457d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
11 deletions
+19
-11
index.vue
src/views/ManualOperation/SearchResults/index.vue
+19
-11
No files found.
src/views/ManualOperation/SearchResults/index.vue
View file @
0ae7f5e7
...
...
@@ -60,7 +60,7 @@
</p>
<p
class=
"info-item"
>
<span
class=
"total-count"
>
关联状态:
</span>
<span
:style=
"
{ color: getStatusColor(item.status) }
"
>
<span
:style=
"
statusStyle(item.status)
"
>
{{ getStatusText(item.status) }}
</span>
</p>
...
...
@@ -82,11 +82,19 @@ export default {
[
Icon
.
name
]:
Icon
,
},
mounted
()
{
this
.
$nativeQRCode
.
setCallBackFun
((
res
)
=>
{
let
qrCode
=
getStringByTwo
(
res
)
this
.
gousearch
(
qrCode
);
});
ScanOverlay
.
show
(
'请扫描二维码'
)
// this.$nativeQRCode.setCallBackFun((res) => {
// let qrCode = getStringByTwo(res)
// this.gousearch(qrCode);
// });
// ScanOverlay.show('请扫描二维码')
this
.
gousearch
(
"HTTPS://Y2WM.CN/99.1000.1/AC1018057002RQ1PI5SHGVW4MBBZFGELJ"
);
},
computed
:
{
statusStyle
()
{
return
(
status
)
=>
({
color
:
this
.
getStatusColor
(
status
)
});
}
},
data
()
{
return
{
...
...
@@ -153,15 +161,15 @@ export default {
getStatusColor
(
status
)
{
switch
(
status
)
{
case
10
:
return
"#ffba00"
;
// 正常-绿色
return
"#ffba00"
;
case
20
:
return
"#ff4949"
;
// 异常-红色
return
"#ff4949"
;
case
30
:
return
"#
13ce66"
;
// 未知-黄色
return
"#
909399"
;
case
40
:
return
"#
909399"
;
// 未知-黄色
return
"#
13ce66"
;
default
:
return
"#333"
;
// 默认黑色
return
"#333"
;
}
},
gousearch
(
qrCode
){
...
...
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