Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hg-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
hg-smart
Commits
674b9381
Commit
674b9381
authored
Nov 19, 2024
by
宋祥
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://129.211.46.84:8800/platform/hg-smart
parents
a58484da
fa9173ee
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
55 additions
and
28 deletions
+55
-28
HGSB010.xml
src/main/java/com/baosight/hggp/hg/sb/sql/HGSB010.xml
+16
-16
HGWD001.xml
src/main/java/com/baosight/hggp/hg/wd/sql/HGWD001.xml
+1
-1
HGBI003.jsp
src/main/webapp/HG/BI/HGBI003.jsp
+35
-8
HGCW004.jsp
src/main/webapp/HG/CW/HGCW004.jsp
+1
-1
HGCW005.jsp
src/main/webapp/HG/CW/HGCW005.jsp
+1
-1
HGCW010F.jsp
src/main/webapp/HG/CW/HGCW010F.jsp
+1
-1
device_01.jpg
src/main/webapp/common/img/device_01.jpg
+0
-0
No files found.
src/main/java/com/baosight/hggp/hg/sb/sql/HGSB010.xml
View file @
674b9381
...
...
@@ -183,7 +183,7 @@
<isNotEmpty
prepend=
" AND "
property=
"factoryCode"
>
B.FACTORY_CODE = #factoryCode#
</isNotEmpty>
INNER
join (
left
join (
select EQUIPMENT_CODE, LOG_VALUE
from ${hggpSchema}.HGSB010 where EQUIPMENT_TYPE = 'STARUS_TYPE'
and CREATED_TIME =(
...
...
@@ -200,7 +200,7 @@
ACCOUNT_CODE = #accountCode#
</isNotEmpty>
) c on a.DEVICE_CODE = c.EQUIPMENT_CODE
where a.DELETE_FLAG = 0 and a.DEVICE_STATUS = 1
where a.DELETE_FLAG = 0 and a.DEVICE_STATUS = 1
and a.REVEAL = 1
<isNotEmpty
prepend=
" AND "
property=
"accountCode"
>
a.ACCOUNT_CODE = #accountCode#
</isNotEmpty>
...
...
@@ -230,7 +230,7 @@
<isNotEmpty
prepend=
" AND "
property=
"factoryCode"
>
B.FACTORY_CODE = #factoryCode#
</isNotEmpty>
join (
left
join (
select
EQUIPMENT_CODE, count(1) as NUM
from ${hggpSchema}.HGSB010
...
...
@@ -247,7 +247,7 @@
group by EQUIPMENT_CODE
) c on a.DEVICE_CODE = c.EQUIPMENT_CODE
where
a.DELETE_FLAG = 0 and DEVICE_STATUS = 1
a.DELETE_FLAG = 0 and DEVICE_STATUS = 1
and REVEAL = 1
<isNotEmpty
prepend=
" AND "
property=
"accountCode"
>
a.ACCOUNT_CODE = #accountCode#
</isNotEmpty>
...
...
@@ -268,7 +268,7 @@
<isNotEmpty
prepend=
" AND "
property=
"factoryCode"
>
B.FACTORY_CODE = #factoryCode#
</isNotEmpty>
join (
left
join (
select
EQUIPMENT_CODE, count(1) as NUM
from ${hggpSchema}.HGSB010
...
...
@@ -284,7 +284,7 @@
</isNotEmpty>
group by EQUIPMENT_CODE
) c on a.DEVICE_CODE = c.EQUIPMENT_CODE
where a.DELETE_FLAG = 0 and DEVICE_STATUS = 1
where a.DELETE_FLAG = 0 and DEVICE_STATUS = 1
and REVEAL = 1
<isNotEmpty
prepend=
" AND "
property=
"accountCode"
>
a.ACCOUNT_CODE = #accountCode#
</isNotEmpty>
...
...
@@ -305,7 +305,7 @@
<isNotEmpty
prepend=
" AND "
property=
"factoryCode"
>
B.FACTORY_CODE = #factoryCode#
</isNotEmpty>
join (
left
join (
select
EQUIPMENT_CODE, count(1) as NUM
from ${hggpSchema}.HGSB010
...
...
@@ -322,7 +322,7 @@
group by EQUIPMENT_CODE
) c on a.DEVICE_CODE = c.EQUIPMENT_CODE
where
a.DELETE_FLAG = 0 and DEVICE_STATUS = 1
a.DELETE_FLAG = 0 and DEVICE_STATUS = 1
and REVEAL = 1
<isNotEmpty
prepend=
" AND "
property=
"accountCode"
>
a.ACCOUNT_CODE = #accountCode#
</isNotEmpty>
...
...
@@ -343,7 +343,7 @@
<isNotEmpty
prepend=
" AND "
property=
"factoryCode"
>
B.FACTORY_CODE = #factoryCode#
</isNotEmpty>
join (
left
join (
select
EQUIPMENT_CODE, count(1) as NUM
from ${hggpSchema}.HGSB010
...
...
@@ -359,7 +359,7 @@
</isNotEmpty>
group by EQUIPMENT_CODE
) c on a.DEVICE_CODE = c.EQUIPMENT_CODE
where a.DELETE_FLAG = 0 and DEVICE_STATUS = 1
where a.DELETE_FLAG = 0 and DEVICE_STATUS = 1
and REVEAL = 1
<isNotEmpty
prepend=
" AND "
property=
"accountCode"
>
a.ACCOUNT_CODE = #accountCode#
</isNotEmpty>
...
...
@@ -380,7 +380,7 @@
<isNotEmpty
prepend=
" AND "
property=
"factoryCode"
>
B.FACTORY_CODE = #factoryCode#
</isNotEmpty>
join (
left
join (
select
EQUIPMENT_CODE, count(1) as NUM
from ${hggpSchema}.HGSB010
...
...
@@ -396,7 +396,7 @@
</isNotEmpty>
group by EQUIPMENT_CODE
) c on a.DEVICE_CODE = c.EQUIPMENT_CODE
where a.DELETE_FLAG = 0 and DEVICE_STATUS = 1
where a.DELETE_FLAG = 0 and DEVICE_STATUS = 1
and REVEAL = 1
<isNotEmpty
prepend=
" AND "
property=
"accountCode"
>
a.ACCOUNT_CODE = #accountCode#
</isNotEmpty>
...
...
@@ -417,7 +417,7 @@
<isNotEmpty
prepend=
" AND "
property=
"factoryCode"
>
B.FACTORY_CODE = #factoryCode#
</isNotEmpty>
join (
left
join (
select
EQUIPMENT_CODE, count(1) as NUM
from ${hggpSchema}.HGSB010
...
...
@@ -433,7 +433,7 @@
</isNotEmpty>
group by EQUIPMENT_CODE
) c on a.DEVICE_CODE = c.EQUIPMENT_CODE
where a.DELETE_FLAG = 0 and DEVICE_STATUS = 1
where a.DELETE_FLAG = 0 and DEVICE_STATUS = 1
and REVEAL = 1
<isNotEmpty
prepend=
" AND "
property=
"accountCode"
>
a.ACCOUNT_CODE = #accountCode#
</isNotEmpty>
...
...
@@ -454,7 +454,7 @@
<isNotEmpty
prepend=
" AND "
property=
"factoryCode"
>
B.FACTORY_CODE = #factoryCode#
</isNotEmpty>
join (
left
join (
select
EQUIPMENT_CODE, count(1) as NUM
from ${hggpSchema}.HGSB010
...
...
@@ -470,7 +470,7 @@
</isNotEmpty>
group by EQUIPMENT_CODE
) c on a.DEVICE_CODE = c.EQUIPMENT_CODE
where a.DELETE_FLAG = 0 and DEVICE_STATUS = 1
where a.DELETE_FLAG = 0 and DEVICE_STATUS = 1
and REVEAL = 1
<isNotEmpty
prepend=
" AND "
property=
"accountCode"
>
a.ACCOUNT_CODE = #accountCode#
</isNotEmpty>
...
...
src/main/java/com/baosight/hggp/hg/wd/sql/HGWD001.xml
View file @
674b9381
...
...
@@ -420,7 +420,7 @@
'' as "FILE_TYPE",
<!-- 文件类型 -->
'' as "FILE_NAME",
<!-- 文件名称 -->
PROJECT_SOURCE as "FILE_PATH",
PROJ_CODE as "
fileIdPath
"
PROJ_CODE as "
FILE_ID_PATH
"
FROM ${hggpSchema}.HGSC001 T WHERE 1=1
<isNotEmpty
prepend=
" AND "
property=
"accountCode"
>
ACCOUNT_CODE = #accountCode#
...
...
src/main/webapp/HG/BI/HGBI003.jsp
View file @
674b9381
...
...
@@ -123,6 +123,20 @@
font-size
:
16px
;
font-weight
:
bold
;
}
.device-img
{
position
:
relative
;
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
width
:
84%
;
height
:
100%
;
}
.device-img
img
{
display
:
block
;
height
:
100%
;
width
:
100%
;
border-radius
:
4px
;
}
</style>
</head>
<body>
...
...
@@ -158,6 +172,7 @@
placeholder=
"选择日期"
@
change=
"handledataPicker"
value-format=
"yyyyMMdd"
:picker-options=
'pickerOptions'
style=
"width: 11vw"
>
</el-date-picker>
...
...
@@ -200,7 +215,11 @@
<div
style=
"color: #01A9FF;font-size: 1vw;"
>
{{ item.deviceModel }}
</div>
</div>
<div
style=
"height: 15.5vh;width: 100%;display: flex;justify-content: center;align-items: center;"
>
<img
src=
"${ctx}/common/img/avi.png"
style=
"width: 3vw;height: 6vh;"
alt
/>
<div
v-if=
"item.imgUrl"
class=
"device-img"
>
<img
:src=
"item.imgUrl"
style=
"height: 100%;"
alt=
""
>
</div>
<img
v-else
src=
"${ctx}/common/img/avi.png"
style=
"width: 3vw;height: 6vh;"
alt
/>
</div>
</div>
</div>
...
...
@@ -239,7 +258,8 @@
<div
style=
"color: #01A9FF;font-size: 1vw;"
>
{{ item.deviceModel }}
</div>
</div>
<div
style=
"height: 15.5vh;width: 100%;display: flex;justify-content: center;align-items: center;"
>
<img
src=
"${ctx}/common/img/avi.png"
style=
"width: 3vw;height: 6vh;"
alt
/>
<img
v-if=
"item.imgUrl"
:src=
"item.imgUrl"
style=
"height: 100%;"
alt=
""
>
<img
v-else
src=
"${ctx}/common/img/avi.png"
style=
"width: 3vw;height: 6vh;"
alt
/>
</div>
</div>
</div>
...
...
@@ -292,7 +312,13 @@
querySbYesDate
:[],
querySbNoList
:[],
querySbNODate
:[],
currentTime
:
dayjs
().
format
(
"YYYY-MM-DD HH:mm:ss"
)
currentTime
:
dayjs
().
format
(
"YYYY-MM-DD HH:mm:ss"
),
maxDate
:
dayjs
().
format
(
"YYYY-MM-DD"
),
pickerOptions
:{
disabledDate
(
time
)
{
return
time
.
getTime
()
>
Date
.
now
();
}
}
};
},
mounted
()
{
...
...
@@ -356,6 +382,7 @@
deviceName
:
'数控龙门加工中心'
,
status
:
'3'
,
deviceModel
:
'NSP42014C'
,
imgUrl
:
`
${
ctx
}
/common/img/device_01.jpg`
},
{
deviceName
:
'数控平面钻床1号'
,
...
...
@@ -385,7 +412,7 @@
_this
.
queryBySbStatusList
=
res
.
extAttr
.
result
;
}
let
newArr
=
deviceList
.
slice
(
_this
.
queryBySbStatusList
.
length
,
5
-
_this
.
queryBySbStatus
List
.
length
);
let
newArr
=
deviceList
.
slice
(
_this
.
queryBySbStatusList
.
length
,
device
List
.
length
);
_this
.
queryBySbStatusList
.
push
(...
newArr
)
_this
.
querySbYes
();
_this
.
querySbNo
();
...
...
@@ -486,7 +513,7 @@
str
=
dayjs
().
format
(
'YYYY'
)
+
_this
.
querySbYesDate
[
_this
.
querySbYesDate
.
length
-
1
];
dateArr
.
unshift
(
_this
.
querySbYesDate
[
_this
.
querySbYesDate
.
length
-
1
])
for
(
let
i
=
0
;
i
<
6
;
i
++
){
dateArr
.
unshift
(
dayjs
(
str
).
subtract
(
i
,
'day'
).
format
(
'MMDD'
));
dateArr
.
unshift
(
dayjs
(
str
).
subtract
(
i
+
1
,
'day'
).
format
(
'MMDD'
));
}
}
else
{
for
(
let
i
=
0
;
i
<
7
;
i
++
){
...
...
@@ -548,7 +575,7 @@
})
}
let
newArr
=
list
.
slice
(
_this
.
querySbYesList
.
length
,
5
-
_this
.
querySbYesL
ist
.
length
);
let
newArr
=
list
.
slice
(
_this
.
querySbYesList
.
length
,
l
ist
.
length
);
_this
.
querySbYesList
.
push
(...
newArr
)
console
.
log
(
_this
.
querySbYesList
,
999998888
)
},
...
...
@@ -638,7 +665,7 @@
str
=
dayjs
().
format
(
'YYYY'
)
+
_this
.
querySbNODate
[
_this
.
querySbNODate
.
length
-
1
];
dateArr
.
unshift
(
_this
.
querySbNODate
[
_this
.
querySbNODate
.
length
-
1
])
for
(
let
i
=
0
;
i
<
6
;
i
++
){
dateArr
.
unshift
(
dayjs
(
str
).
subtract
(
i
,
'day'
).
format
(
'MMDD'
));
dateArr
.
unshift
(
dayjs
(
str
).
subtract
(
i
+
1
,
'day'
).
format
(
'MMDD'
));
}
}
else
{
for
(
let
i
=
0
;
i
<
7
;
i
++
){
...
...
@@ -700,7 +727,7 @@
})
}
let
newArr
=
list
.
slice
(
_this
.
querySbNoList
.
length
,
5
-
_this
.
querySbNoL
ist
.
length
);
let
newArr
=
list
.
slice
(
_this
.
querySbNoList
.
length
,
l
ist
.
length
);
_this
.
querySbNoList
.
push
(...
newArr
)
console
.
log
(
_this
.
querySbNoList
,
77776666
)
...
...
src/main/webapp/HG/CW/HGCW004.jsp
View file @
674b9381
...
...
@@ -57,7 +57,7 @@
<EF:EFColumn
ename=
"contractContent"
cname=
"签证事由及内容"
width=
"120"
enable=
"true"
align=
"center"
required=
"true"
/>
<EF:EFColumn
ename=
"totalContractPriceIncluding"
cname=
"含税金额"
width=
"120"
enable=
"true"
format=
"{0:N2}"
align=
"right"
required=
"true"
/>
<EF:EFColumn
ename=
"signingDate"
cname=
"签订日期"
width=
"120"
enable=
"true"
align=
"center"
editType=
"date"
dateFormat=
"yyyy-MM-dd"
parseFormats=
"['yyyy
-MM-dd', 'yyyy
MMdd']"
required=
"true"
/>
dateFormat=
"yyyy-MM-dd"
parseFormats=
"['yyyyMMdd']"
required=
"true"
/>
<EF:EFComboColumn
ename=
"reviewStatus"
cname=
"审批状态"
width=
"100"
align=
"center"
required=
"true"
columnTemplate=
"#=textField#"
itemTemplate=
"#=textField#"
enable=
"false"
>
<EF:EFCodeOption
codeName=
"hggp.cw.reviewStatus"
/>
...
...
src/main/webapp/HG/CW/HGCW005.jsp
View file @
674b9381
...
...
@@ -53,7 +53,7 @@
<EF:EFColumn
ename=
"contractContent"
cname=
"扣款事由"
width=
"120"
enable=
"true"
align=
"center"
required=
"true"
/>
<EF:EFColumn
ename=
"totalContractPriceIncluding"
cname=
"扣款金额"
width=
"120"
enable=
"true"
format=
"{0:N2}"
align=
"right"
required=
"true"
/>
<EF:EFColumn
ename=
"signingDate"
cname=
"扣款日期"
width=
"120"
enable=
"true"
align=
"center"
editType=
"date"
dateFormat=
"yyyy-MM-dd"
parseFormats=
"['yyyy
-MM-dd', 'yyyyMM
dd']"
required=
"true"
/>
dateFormat=
"yyyy-MM-dd"
parseFormats=
"['yyyy
MMdd', 'yyyy-MM-
dd']"
required=
"true"
/>
<EF:EFColumn
ename=
"deliveryCode"
cname=
"发货单号"
enable=
"false"
width=
"130"
align=
"center"
/>
<EF:EFComboColumn
ename=
"reviewStatus"
cname=
"审批状态"
width=
"100"
align=
"center"
columnTemplate=
"#=textField#"
itemTemplate=
"#=textField#"
enable=
"false"
>
...
...
src/main/webapp/HG/CW/HGCW010F.jsp
View file @
674b9381
...
...
@@ -29,7 +29,7 @@
</EF:EFRegion>
<EF:EFRegion id="result" title="记录集">
<EF:EFGrid blockId="result" autoDraw="no" isFloat="true" autoBind="false"
sort="all"
>
<EF:EFGrid blockId="result" autoDraw="no" isFloat="true" autoBind="false">
<EF:EFColumn ename="id" cname="主键" hidden="true"/>
<%--<EF:EFComboColumn ename="companyCode" cname="公司名称"
columnTemplate="#=textField#" itemTemplate="#=textField#"
...
...
src/main/webapp/common/img/device_01.jpg
0 → 100644
View file @
674b9381
203 KB
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