Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation
This project
Loading...
Sign in
李宁
/
Activity
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit cf3e8375
authored
Apr 02, 2026
by
李宁
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
1
1 parent
36594141
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
7 deletions
haMgr/web-admin/src/views/stats/QualityStats.vue
haMgr/web-admin/src/views/stats/SerialStats.vue
huaian/demo.html
huaian/js/demo.js
haMgr/web-admin/src/views/stats/QualityStats.vue
View file @
cf3e837
...
...
@@ -419,7 +419,7 @@ const renderProcessTotalCountChart = () => {
const
limit
=
processLimit
.
value
const
currentData
=
processStats
.
value
.
slice
(
0
,
limit
)
const
names
=
currentData
.
map
(
item
=>
item
.
processName
)
const
totalCounts
=
currentData
.
map
(
item
=>
item
.
total
Count
||
0
)
const
totalCounts
=
currentData
.
map
(
item
=>
item
.
total
TryNum
||
0
)
chart
.
setOption
({
tooltip
:
{
trigger
:
'axis'
},
...
...
@@ -662,7 +662,7 @@ onMounted(() => {
<el-table
v-show=
"showProcessTable"
:data=
"processStats"
border
stripe
height=
"250"
class=
"mb-4"
>
<el-table-column
prop=
"processName"
label=
"环节名称"
/>
<el-table-column
prop=
"averageInspectionTimes"
label=
"平均识别数"
sortable
/>
<el-table-column
prop=
"total
Count
"
label=
"识别总数"
sortable
/>
<el-table-column
prop=
"total
TryNum
"
label=
"识别总数"
sortable
/>
<el-table-column
prop=
"averageDuration"
label=
"平均耗时(s)"
sortable
/>
</el-table>
...
...
haMgr/web-admin/src/views/stats/SerialStats.vue
View file @
cf3e837
...
...
@@ -204,6 +204,7 @@ const initMultiDayCharts = () => {
const
dates
=
datesList
.
value
.
map
(
item
=>
item
.
date
)
const
pass1Data
=
datesList
.
value
.
map
(
item
=>
item
.
passRate1
||
0
)
const
pass2Data
=
datesList
.
value
.
map
(
item
=>
item
.
passRate2
||
0
)
const
pass3Data
=
datesList
.
value
.
map
(
item
=>
item
.
passRate3
||
0
)
overallPassRateChart
.
setOption
({
...
...
@@ -212,12 +213,13 @@ const initMultiDayCharts = () => {
trigger
:
'axis'
,
valueFormatter
:
(
value
:
any
)
=>
value
+
'%'
},
legend
:
{
data
:
[
'1次通过率'
,
'3次通过率'
],
bottom
:
0
},
legend
:
{
data
:
[
'1次通过率'
,
'
2次通过率'
,
'
3次通过率'
],
bottom
:
0
},
xAxis
:
{
type
:
'category'
,
data
:
dates
},
yAxis
:
{
type
:
'value'
,
name
:
'%'
},
grid
:
{
left
:
'3%'
,
right
:
'4%'
,
bottom
:
'15%'
,
containLabel
:
true
},
series
:
[
{
name
:
'1次通过率'
,
type
:
'line'
,
data
:
pass1Data
,
smooth
:
true
},
{
name
:
'2次通过率'
,
type
:
'line'
,
data
:
pass2Data
,
smooth
:
true
},
{
name
:
'3次通过率'
,
type
:
'line'
,
data
:
pass3Data
,
smooth
:
true
}
]
},
true
)
...
...
huaian/demo.html
View file @
cf3e837
...
...
@@ -374,7 +374,7 @@
<script
src=
"js/vue.min.js"
></script>
<script
src=
"js/vant.min.js"
></script>
<script
src=
"js/demo.js?
121222
"
></script>
<script
src=
"js/demo.js?
333334
"
></script>
</body>
</html>
\ No newline at end of file
huaian/js/demo.js
View file @
cf3e837
...
...
@@ -203,8 +203,9 @@ function getProcess() {
if
(
cheatTimeStr
)
{
clearTimeout
(
cheatTimeStr
)
}
cheatShowMethod
()
$
(
'#warningTsAlert'
).
show
()
cheatShowMethod
()
}
//主光猫是否在箱子的弹窗显示逻辑
...
...
@@ -302,8 +303,9 @@ function getProcess() {
if
(
snTimeStr
)
{
clearTimeout
(
snTimeStr
)
}
snShowMethod
()
$
(
"#snErrorAlert"
).
show
()
snShowMethod
()
}
}
}
...
...
@@ -1207,7 +1209,7 @@ async function init() {
url
:
'/createRoom'
,
data
:
{
applyId
:
applyId
,
rtcType
:
isHuaweiPhone
()
?
'1'
:
''
rtcType
:
isHuaweiPhone
()
?
'1'
:
'
1
'
}
})
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment