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
8a15b9a3
Commit
8a15b9a3
authored
Nov 11, 2024
by
沈翠玲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
问题清单
parent
43f07f84
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
35 additions
and
36 deletions
+35
-36
pages.ts
src/locales/zh-CN/pages.ts
+0
-1
pages.ts
src/locales/zh-TW/pages.ts
+0
-1
index.tsx
...ban/productionComprehens/components/PassingRate/index.tsx
+32
-31
index.tsx
...ban/productionComprehens/components/ProcessFail/index.tsx
+3
-0
index.tsx
src/pages/user/Login/index.tsx
+0
-3
No files found.
src/locales/zh-CN/pages.ts
View file @
8a15b9a3
export
default
{
'pages.layouts.userLayout.main'
:
'看板系统'
,
'pages.layouts.userLayout.title'
:
'中国知名的能源气体装备制造商、成套技术集成商领军企业'
,
'pages.layouts.userLayout.subtitle'
:
"China's well-known energy and gas equipment manufacturer, complete technology integrator and leading enterprise"
,
...
...
src/locales/zh-TW/pages.ts
View file @
8a15b9a3
export
default
{
'pages.layouts.userLayout.main'
:
'看板系统'
,
'pages.layouts.userLayout.title'
:
'讓艾特成為受人尊敬的航空發動機零部件生產企業'
,
'pages.welcome.speech'
:
'歡迎登陸看板系统'
,
...
...
src/pages/kanban/productionComprehens/components/PassingRate/index.tsx
View file @
8a15b9a3
...
...
@@ -13,10 +13,10 @@ const formatOptions = (data: any) => {
color
:
[
{
type
:
'linear'
,
x
:
0
,
x
:
1
,
y
:
0
,
x2
:
0
,
y2
:
1
,
y2
:
0
,
colorStops
:
[
{
offset
:
1
,
...
...
@@ -31,10 +31,10 @@ const formatOptions = (data: any) => {
},
{
type
:
'linear'
,
x
:
0
,
x
:
1
,
y
:
0
,
x2
:
0
,
y2
:
1
,
y2
:
0
,
colorStops
:
[
{
offset
:
1
,
...
...
@@ -49,10 +49,10 @@ const formatOptions = (data: any) => {
},
{
type
:
'linear'
,
x
:
0
,
x
:
1
,
y
:
0
,
x2
:
0
,
y2
:
1
,
y2
:
0
,
colorStops
:
[
{
offset
:
1
,
...
...
@@ -66,44 +66,45 @@ const formatOptions = (data: any) => {
global
:
false
,
// 缺省为 false
},
],
tooltip
:
{},
xAxis
:
{
// type: 'category',
data
:
[],
nameTextStyle
:
{
color
:
'#fff'
,
fontSize
:
14
,
},
axisLabel
:
{
interval
:
0
,
color
:
'#fff'
,
fontSize
:
14
,
},
axisTick
:
{
show
:
false
,
},
axisLine
:
{
show
:
false
,
},
type
:
'value'
,
show
:
false
,
},
dataZoom
:
[
{
type
:
'slider'
,
orient
:
'vertical'
,
show
:
false
,
startValue
:
0
,
endValue
:
3
,
},
],
grid
:
{
left
:
5
,
// right: 60,
left
:
82
,
bottom
:
30
,
right
:
40
,
},
legend
:
{
show
:
false
},
yAxis
:
{
show
:
false
,
type
:
'value'
,
type
:
'category'
,
triggerEvent
:
true
,
data
:
[],
axisLabel
:
{
color
:
'#fff'
,
fontSize
:
14
,
formatter
:
function
(
value
:
string
)
{
return
(
value
.
length
>
4
?
(
value
.
slice
(
0
,
4
)
+
"..."
)
:
value
)
}
},
axisTick
:
{
show
:
false
,
},
axisLine
:
{
show
:
false
,
},
},
series
:
[],
};
...
...
@@ -114,12 +115,12 @@ const formatOptions = (data: any) => {
barGap
:
0
,
label
:
{
show
:
true
,
position
:
'
top
'
,
position
:
'
right
'
,
color
:
'#fff'
,
},
data
:
data
.
map
((
item
:
any
)
=>
item
.
ct
),
}];
option
.
x
Axis
.
data
=
xAxisData
;
option
.
y
Axis
.
data
=
xAxisData
;
option
.
series
=
series
;
}
console
.
log
(
'option'
,
option
)
...
...
@@ -182,10 +183,10 @@ const Main: React.FC<ProcessOutProps> = ({ data, setting }) => {
}
});
// 如果数据工序大于5那么需要自动轮训播放
if
(
option
.
x
Axis
.
data
.
length
>
4
&&
setting
.
rowMovingTime
>
0
)
{
if
(
option
.
y
Axis
.
data
.
length
>
4
&&
setting
.
rowMovingTime
>
0
)
{
timer
=
setInterval
(()
=>
{
option
.
dataZoom
[
0
].
startValue
++
;
if
(
option
.
dataZoom
[
0
].
endValue
++
>=
option
.
x
Axis
.
data
.
length
-
1
)
{
if
(
option
.
dataZoom
[
0
].
endValue
++
>=
option
.
y
Axis
.
data
.
length
-
1
)
{
option
.
dataZoom
[
0
].
startValue
=
0
;
option
.
dataZoom
[
0
].
endValue
=
3
;
}
...
...
src/pages/kanban/productionComprehens/components/ProcessFail/index.tsx
View file @
8a15b9a3
...
...
@@ -94,6 +94,9 @@ const formatOptions = (data: any) => {
axisLabel
:
{
color
:
'#fff'
,
fontSize
:
14
,
formatter
:
function
(
value
:
string
)
{
return
(
value
.
length
>
4
?
(
value
.
slice
(
0
,
4
)
+
"..."
)
:
value
)
}
},
axisTick
:
{
show
:
false
,
...
...
src/pages/user/Login/index.tsx
View file @
8a15b9a3
...
...
@@ -89,9 +89,6 @@ const Login: React.FC = () => {
</
span
>
</
Link
>
</
div
>
<
div
className=
{
styles
.
desc
}
>
<
FormattedMessage
id=
"pages.layouts.userLayout.title"
defaultMessage=
"中国知名企业"
/>
</
div
>
</
div
>
<
div
className=
{
styles
.
main
}
>
<
ProForm
...
...
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