Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hp-smart
Overview
Overview
Details
Activity
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
platform
hp-smart
Commits
0d379a0c
Commit
0d379a0c
authored
Nov 20, 2024
by
liuyang
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://git.pseer.com:8800/platform/hp-smart
into dev-ly
parents
f82fb03e
848ac32e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
19 deletions
+18
-19
HPZL002.xml
src/main/java/com/baosight/hpjx/hp/zl/sql/HPZL002.xml
+1
-1
HPBI004.jsp
src/main/webapp/HP/BI/HPBI004.jsp
+17
-18
No files found.
src/main/java/com/baosight/hpjx/hp/zl/sql/HPZL002.xml
View file @
0d379a0c
...
@@ -126,7 +126,7 @@
...
@@ -126,7 +126,7 @@
$orderBy$
$orderBy$
</isNotEmpty>
</isNotEmpty>
<isEmpty
property=
"orderBy"
>
<isEmpty
property=
"orderBy"
>
ID
DESC
RECEIPT_DATE
DESC
</isEmpty>
</isEmpty>
</dynamic>
</dynamic>
</sql>
</sql>
...
...
src/main/webapp/HP/BI/HPBI004.jsp
View file @
0d379a0c
...
@@ -151,6 +151,7 @@
...
@@ -151,6 +151,7 @@
placeholder=
"选择日期"
placeholder=
"选择日期"
@
change=
"handledataPicker"
@
change=
"handledataPicker"
value-format=
"yyyyMMdd"
value-format=
"yyyyMMdd"
:picker-options=
'pickerOptions'
style=
"width: 11vw"
style=
"width: 11vw"
>
>
</el-date-picker>
</el-date-picker>
...
@@ -202,9 +203,9 @@
...
@@ -202,9 +203,9 @@
<div
class=
"device-echarts-background"
>
<div
class=
"device-echarts-background"
>
<manage-echarts
:option=
"lineOption1"
:width=
"17"
:height=
"24"
></manage-echarts>
<manage-echarts
:option=
"lineOption1"
:width=
"17"
:height=
"24"
></manage-echarts>
</div>
</div>
<div
class=
"device-echarts-background"
>
<
%
--
<
div
class=
"device-echarts-background"
>
--%
>
<manage-echarts
:option=
"lineOption1"
:width=
"17"
:height=
"24"
></manage-echarts
>
<
%
--
<
manage-echarts
:option=
"lineOption1"
:width=
"17"
:height=
"24"
></manage-echarts>
--%
>
</div
>
<
%
--
</
div
>
--%
>
</div>
</div>
<div
class=
"left-device device"
style=
"margin-left: 2vw;"
>
<div
class=
"left-device device"
style=
"margin-left: 2vw;"
>
<div
v-for=
"(item,index) in querySbNoList"
<div
v-for=
"(item,index) in querySbNoList"
...
@@ -214,9 +215,9 @@
...
@@ -214,9 +215,9 @@
<div
class=
"device-echarts-background"
>
<div
class=
"device-echarts-background"
>
<manage-echarts
:option=
"lineOption2"
:width=
"17"
:height=
"24"
></manage-echarts>
<manage-echarts
:option=
"lineOption2"
:width=
"17"
:height=
"24"
></manage-echarts>
</div>
</div>
<div
class=
"device-echarts-background"
>
<
%
--
<
div
class=
"device-echarts-background"
>
--%
>
<manage-echarts
:option=
"lineOption2"
:width=
"17"
:height=
"24"
></manage-echarts
>
<
%
--
<
manage-echarts
:option=
"lineOption2"
:width=
"17"
:height=
"24"
></manage-echarts>
--%
>
</div
>
<
%
--
</
div
>
--%
>
</div>
</div>
</div>
</div>
</el-main>
</el-main>
...
@@ -257,7 +258,12 @@
...
@@ -257,7 +258,12 @@
currentTime
:
dayjs
().
format
(
"YYYY-MM-DD HH:mm:ss"
),
currentTime
:
dayjs
().
format
(
"YYYY-MM-DD HH:mm:ss"
),
lineOption1
:
''
,
lineOption1
:
''
,
lineOption2
:
''
,
lineOption2
:
''
,
timer
:
''
timer
:
''
,
pickerOptions
:{
disabledDate
(
time
)
{
return
time
.
getTime
()
>
Date
.
now
();
}
}
};
};
},
},
mounted
()
{
mounted
()
{
...
@@ -266,9 +272,6 @@
...
@@ -266,9 +272,6 @@
this
.
currentTime
=
dayjs
().
format
(
"YYYY-MM-DD HH:mm:ss"
)
this
.
currentTime
=
dayjs
().
format
(
"YYYY-MM-DD HH:mm:ss"
)
},
1000
);
},
1000
);
this
.
queryCompanyInfo
();
this
.
queryCompanyInfo
();
this
.
setOption
();
this
.
setOption2
();
this
.
getYesterdayDateFormatted
();
this
.
getYesterdayDateFormatted
();
this
.
initPage
();
this
.
initPage
();
this
.
onSetInterval
();
this
.
onSetInterval
();
...
@@ -327,11 +330,6 @@
...
@@ -327,11 +330,6 @@
_this
.
queryBySbStatusList
=
res
.
extAttr
.
result
;
_this
.
queryBySbStatusList
=
res
.
extAttr
.
result
;
}
}
_this
.
queryBySbStatusList
.
push
({
_this
.
queryBySbStatusList
.
push
({
deviceName
:
'切割机'
,
status
:
'3'
,
deviceModel
:
'MZ-1250'
,
})
_this
.
queryBySbStatusList
.
push
({
deviceName
:
'焊接机'
,
deviceName
:
'焊接机'
,
status
:
'3'
,
status
:
'3'
,
deviceModel
:
'H8760'
,
deviceModel
:
'H8760'
,
...
@@ -351,10 +349,10 @@
...
@@ -351,10 +349,10 @@
inInfo
.
set
(
'inqu_status-0-date'
,
this
.
dataPicker
)
inInfo
.
set
(
'inqu_status-0-date'
,
this
.
dataPicker
)
IPLAT
.
EiCommunicator
.
send
(
'HPBI003'
,
'querySbYes'
,
inInfo
,
{
IPLAT
.
EiCommunicator
.
send
(
'HPBI003'
,
'querySbYes'
,
inInfo
,
{
onSuccess
:
function
(
res
)
{
onSuccess
:
function
(
res
)
{
if
(
undefined
!=
res
.
extAttr
.
result
[
0
]
){
if
(
res
.
extAttr
.
result
.
length
){
const
dataList
=
res
.
extAttr
.
result
;
const
dataList
=
res
.
extAttr
.
result
;
_this
.
querySbYesDate
=
res
.
extAttr
.
date
;
_this
.
querySbYesDate
=
res
.
extAttr
.
date
;
_this
.
setOption
()
_this
.
querySbYesList
=
dataList
.
map
((
item
,
index
)
=>
{
_this
.
querySbYesList
=
dataList
.
map
((
item
,
index
)
=>
{
const
getChartOptionByIndex
=
(
index
)
=>
{
const
getChartOptionByIndex
=
(
index
)
=>
{
return
{
return
{
...
@@ -441,6 +439,7 @@
...
@@ -441,6 +439,7 @@
if
(
undefined
!=
res
.
extAttr
.
result
[
0
]){
if
(
undefined
!=
res
.
extAttr
.
result
[
0
]){
const
dataList
=
res
.
extAttr
.
result
;
const
dataList
=
res
.
extAttr
.
result
;
_this
.
querySbNODate
=
res
.
extAttr
.
date
;
_this
.
querySbNODate
=
res
.
extAttr
.
date
;
_this
.
setOption2
()
_this
.
querySbNoList
=
dataList
.
map
((
item
,
index
)
=>
{
_this
.
querySbNoList
=
dataList
.
map
((
item
,
index
)
=>
{
const
getChartOptionByIndex
=
(
index
)
=>
{
const
getChartOptionByIndex
=
(
index
)
=>
{
return
{
return
{
...
@@ -582,7 +581,7 @@
...
@@ -582,7 +581,7 @@
},
},
xAxis
:
{
xAxis
:
{
type
:
'category'
,
type
:
'category'
,
data
:
this
.
querySb
Yes
Date
,
data
:
this
.
querySb
NO
Date
,
axisLabel
:
{
axisLabel
:
{
textStyle
:
{
textStyle
:
{
color
:
'#ffffff'
// 设置y轴标签字体颜色为白色
color
:
'#ffffff'
// 设置y轴标签字体颜色为白色
...
...
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