Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mes-kanban
Project
Project
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
ximai
mes-kanban
Commits
9d25e6f0
Commit
9d25e6f0
authored
Nov 08, 2024
by
沈翠玲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改图标和名称,重新对接口
parent
2d57d0db
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
15 additions
and
28 deletions
+15
-28
defaultSettings.ts
config/defaultSettings.ts
+2
-2
logo.png
public/logo.png
+0
-0
logo.svg
public/logo.svg
+0
-14
pages.ts
src/locales/zh-TW/pages.ts
+2
-2
Welcome.tsx
src/pages/Welcome.tsx
+1
-1
document.ejs
src/pages/document.ejs
+4
-4
index.tsx
src/pages/kanban/productionComprehens/index.tsx
+4
-3
index.tsx
src/pages/user/Login/index.tsx
+2
-2
No files found.
config/defaultSettings.ts
View file @
9d25e6f0
...
@@ -12,9 +12,9 @@ const Settings: LayoutSettings & {
...
@@ -12,9 +12,9 @@ const Settings: LayoutSettings & {
fixedHeader
:
false
,
fixedHeader
:
false
,
fixSiderbar
:
true
,
fixSiderbar
:
true
,
colorWeak
:
false
,
colorWeak
:
false
,
title
:
'
ENRIC
看板'
,
title
:
'
希迈
看板'
,
pwa
:
false
,
pwa
:
false
,
logo
:
'/logo.
sv
g'
,
logo
:
'/logo.
pn
g'
,
iconfontUrl
:
''
,
iconfontUrl
:
''
,
};
};
...
...
public/logo.png
0 → 100644
View file @
9d25e6f0
50 KB
public/logo.svg
deleted
100644 → 0
View file @
2d57d0db
<svg
width=
"186"
height=
"62"
xmlns=
"http://www.w3.org/2000/svg"
>
<g>
<title>
background
</title>
<rect
fill=
"none"
id=
"canvas_background"
height=
"64"
width=
"188"
y=
"-1"
x=
"-1"
/>
</g>
<g>
<title>
Layer 1
</title>
<text
stroke=
"#0b50a3"
transform=
"matrix(0.9715561685304763,0,0,0.9638915261959784,-0.07736367227020224,0.2781163429653493) "
fill=
"#35b0f8"
stroke-width=
"0"
x=
"0"
y=
"32.92508"
id=
"svg_1"
font-size=
"40"
font-family=
"Helvetica, Arial, sans-serif"
text-anchor=
"start"
xml:space=
"preserve"
font-weight=
"bold"
>
Enric
</text>
<text
stroke=
"#0b50a3"
transform=
"matrix(0.9996767393159373,0,0,0.9307807378009278,-4.951984760691261,-1.8258802291084146) "
fill=
"#f8505e"
stroke-width=
"0"
x=
"111"
y=
"32"
id=
"svg_2"
font-size=
"24"
font-family=
"Helvetica, Arial, sans-serif"
text-anchor=
"start"
xml:space=
"preserve"
font-weight=
"bold"
>
安瑞科
</text>
<rect
stroke=
"#0b50a3"
id=
"svg_3"
height=
"21"
width=
"180"
ry=
"3"
rx=
"3"
y=
"38"
x=
"3"
stroke-width=
"1.5"
fill=
"#0e6af3"
/>
<text
stroke=
"#000"
transform=
"matrix(1.1377474843238815,0,0,1.26778244972229,-24.37044560960436,-15.09205150231719) "
fill=
"#ffffff"
stroke-width=
"0"
stroke-opacity=
"null"
fill-opacity=
"null"
x=
"115.37893"
y=
"54.25"
id=
"svg_5"
font-size=
"10"
font-family=
"Helvetica, Arial, sans-serif"
text-anchor=
"start"
xml:space=
"preserve"
>
CIMC ENRIC
</text>
</g>
</svg>
\ No newline at end of file
src/locales/zh-TW/pages.ts
View file @
9d25e6f0
export
default
{
export
default
{
'pages.layouts.userLayout.main'
:
'
ENRIC
看板'
,
'pages.layouts.userLayout.main'
:
'
希迈
看板'
,
'pages.layouts.userLayout.title'
:
'讓艾特成為受人尊敬的航空發動機零部件生產企業'
,
'pages.layouts.userLayout.title'
:
'讓艾特成為受人尊敬的航空發動機零部件生產企業'
,
'pages.welcome.speech'
:
'歡迎登陸
ENRIC
看板'
,
'pages.welcome.speech'
:
'歡迎登陸
希迈
看板'
,
'pages.login.success'
:
'登錄成功!'
,
'pages.login.success'
:
'登錄成功!'
,
'pages.login.failure'
:
'登錄失敗,請重試!'
,
'pages.login.failure'
:
'登錄失敗,請重試!'
,
...
...
src/pages/Welcome.tsx
View file @
9d25e6f0
...
@@ -11,7 +11,7 @@ const Welcome: React.FC = () => {
...
@@ -11,7 +11,7 @@ const Welcome: React.FC = () => {
<
Alert
<
Alert
message=
{
intl
.
formatMessage
({
message=
{
intl
.
formatMessage
({
id
:
'pages.welcome.speech'
,
id
:
'pages.welcome.speech'
,
defaultMessage
:
'欢迎登陆
ENRIC
看板系统'
,
defaultMessage
:
'欢迎登陆
希迈
看板系统'
,
})
}
})
}
type=
"success"
type=
"success"
showIcon
showIcon
...
...
src/pages/document.ejs
View file @
9d25e6f0
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
name=
"viewport"
name=
"viewport"
content=
"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"
content=
"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"
/>
/>
<title>
ENRIC
看板
</title>
<title>
希迈
看板
</title>
<link
rel=
"icon"
href=
"<%= context.config.publicPath +'favicon.ico'%>"
type=
"image/x-icon"
/>
<link
rel=
"icon"
href=
"<%= context.config.publicPath +'favicon.ico'%>"
type=
"image/x-icon"
/>
<meta
http-equiv=
"Cache-Control"
content=
"no-cache, no-store, must-revalidate"
/>
<meta
http-equiv=
"Cache-Control"
content=
"no-cache, no-store, must-revalidate"
/>
<meta
http-equiv=
"Pragma"
content=
"no-cache"
/>
<meta
http-equiv=
"Pragma"
content=
"no-cache"
/>
...
@@ -216,7 +216,7 @@
...
@@ -216,7 +216,7 @@
min-height: 420px;
min-height: 420px;
"
"
>
>
<img
src=
"<%= context.config.publicPath +'
pro_icon.sv
g'%>"
alt=
"logo"
width=
"256"
/>
<img
src=
"<%= context.config.publicPath +'
logo.pn
g'%>"
alt=
"logo"
width=
"256"
/>
<div
class=
"page-loading-warp"
>
<div
class=
"page-loading-warp"
>
<div
class=
"ant-spin ant-spin-lg ant-spin-spinning"
>
<div
class=
"ant-spin ant-spin-lg ant-spin-spinning"
>
<span
class=
"ant-spin-dot ant-spin-dot-spin"
<span
class=
"ant-spin-dot ant-spin-dot-spin"
...
@@ -227,11 +227,11 @@
...
@@ -227,11 +227,11 @@
</div>
</div>
<div
style=
"display: flex; align-items: center; justify-content: center"
>
<div
style=
"display: flex; align-items: center; justify-content: center"
>
<img
<img
src=
"<%= context.config.publicPath +'
favicon.sv
g'%>"
src=
"<%= context.config.publicPath +'
logo.pn
g'%>"
width=
"32"
width=
"32"
style=
"margin-right: 8px"
style=
"margin-right: 8px"
/>
/>
ENRIC
看板
希迈
看板
</div>
</div>
</div>
</div>
</div>
</div>
...
...
src/pages/kanban/productionComprehens/index.tsx
View file @
9d25e6f0
...
@@ -126,9 +126,10 @@ const Main: React.FC = () => {
...
@@ -126,9 +126,10 @@ const Main: React.FC = () => {
dataRange
:
dataRange
,
dataRange
:
dataRange
,
planSource
:
planSource
,
planSource
:
planSource
,
};
};
const
{
data
:
{
outputList
,
processMonthlyIndexDto
,
qualifiedRateList
}
}
=
await
queryProductionComprehensProcessOutputData
(
body
);
const
{
data
:
{
outputList
,
processMonthlyIndexDto
,
qualifiedRateList
,
abnormalCauseData
}
}
=
await
queryProductionComprehensProcessOutputData
(
body
);
setProcessYieldData
(
outputList
);
setProcessYieldData
(
outputList
);
setProcessDefectRatioData
(
qualifiedRateList
);
setProcessDefectRatioData
(
qualifiedRateList
);
setCountWeldingPassRate
(
abnormalCauseData
);
//相关准时率留整数
//相关准时率留整数
processMonthlyIndexDto
.
endOnTimeRatio
=
Math
.
round
(
processMonthlyIndexDto
.
endOnTimeRatio
);
processMonthlyIndexDto
.
endOnTimeRatio
=
Math
.
round
(
processMonthlyIndexDto
.
endOnTimeRatio
);
processMonthlyIndexDto
.
monthPlanConcludeRatio
=
Math
.
round
(
processMonthlyIndexDto
.
monthPlanConcludeRatio
);
processMonthlyIndexDto
.
monthPlanConcludeRatio
=
Math
.
round
(
processMonthlyIndexDto
.
monthPlanConcludeRatio
);
...
@@ -162,7 +163,7 @@ const Main: React.FC = () => {
...
@@ -162,7 +163,7 @@ const Main: React.FC = () => {
setAbnormalOverdueSetting
(
tt
);
setAbnormalOverdueSetting
(
tt
);
// 当月异常分布数据
// 当月异常分布数据
const
{
data
:
{
equipAbnormal
,
productAbnormal
,
equipErrorArr
,
equipCt
,
equipErrorCt
,
abnormalCauseData
}
}
=
await
currentMonthStat
({
settingId
});
const
{
data
:
{
equipAbnormal
,
productAbnormal
,
equipErrorArr
,
equipCt
,
equipErrorCt
}
}
=
await
currentMonthStat
({
settingId
});
setAbnormalDeviceData
({
setAbnormalDeviceData
({
equipCt
,
equipCt
,
equipErrorCt
,
equipErrorCt
,
...
@@ -170,7 +171,7 @@ const Main: React.FC = () => {
...
@@ -170,7 +171,7 @@ const Main: React.FC = () => {
});
});
setAbnormalProdData
(
productAbnormal
);
setAbnormalProdData
(
productAbnormal
);
setAbnormalQualityData
(
equipErrorArr
);
setAbnormalQualityData
(
equipErrorArr
);
setCountWeldingPassRate
(
abnormalCauseData
);
};
};
...
...
src/pages/user/Login/index.tsx
View file @
9d25e6f0
...
@@ -83,9 +83,9 @@ const Login: React.FC = () => {
...
@@ -83,9 +83,9 @@ const Login: React.FC = () => {
<
div
className=
{
styles
.
top
}
>
<
div
className=
{
styles
.
top
}
>
<
div
className=
{
styles
.
header
}
>
<
div
className=
{
styles
.
header
}
>
<
Link
to=
"/"
>
<
Link
to=
"/"
>
<
img
alt=
"logo"
className=
{
styles
.
logo
}
src=
"/logo.
sv
g"
/>
<
img
alt=
"logo"
className=
{
styles
.
logo
}
src=
"/logo.
pn
g"
/>
<
span
className=
{
styles
.
title
}
>
<
span
className=
{
styles
.
title
}
>
<
FormattedMessage
id=
"pages.layouts.userLayout.main"
defaultMessage=
"
ENRIC
看板"
/>
<
FormattedMessage
id=
"pages.layouts.userLayout.main"
defaultMessage=
"
希迈
看板"
/>
</
span
>
</
span
>
</
Link
>
</
Link
>
</
div
>
</
div
>
...
...
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