Commit 20ee88eb authored by 沈翠玲's avatar 沈翠玲

修改bug

parent 531917e2
......@@ -47,7 +47,7 @@ export default {
'异常数': 'ค่าคงที่แตกต่างกัน',
'待处理': 'เพื่อดำเนินการ',
'全厂': 'โรงงานทั้งหมด',
'当日设备生产综合看板': 'การผลิตอุปกรณ์ที่ครอบคลุมของวัน Kanban',
'设备综合看板': 'อุปกรณ์ Kanban ที่ครอบคลุม',
'设备号': 'หมายเลขอุปกรณ์',
'处理中':'ในการประมวลผล',
'原因': 'เหตุผล',
......
......@@ -11,7 +11,7 @@ export default {
'menu.kanban.jiejingProduction': 'กระดานความคืบหน้าการผลิตที่สะอาด',
'menu.kanban.productionProgressKanban': 'แผนการผลิต Kanban',
'menu.kanban.productionComprehensKanban': 'กระดานการผลิตรวม',
'menu.kanban.deviceStatusKanban': 'การผลิตอุปกรณ์ที่ครอบคลุมของวัน Kanban',
'menu.kanban.deviceStatusKanban': 'อุปกรณ์ Kanban ที่ครอบคลุม',
'menu.kanban.materialSynthesisKanban': 'กระดานสังเคราะห์วัสดุ',
'menu.kanban.productProgressKanban': 'กระดานความคืบหน้าผลิตภัณฑ์',
'menu.kanban.weldingProcessKanban': 'กระดานกระบวนการเชื่อม',
......
......@@ -47,7 +47,7 @@ export default {
'异常数': '异常数',
'待处理': '待处理',
'全厂': '全厂',
'当日设备生产综合看板': '当日设备生产综合看板',
'设备综合看板': '设备综合看板',
'设备号': '设备号',
'处理中':'处理中',
'原因': '原因',
......
......@@ -11,7 +11,7 @@ export default {
'menu.kanban.jiejingProduction': '洁净生产进度看板',
'menu.kanban.productionProgressKanban': '生产计划看板',
'menu.kanban.productionComprehensKanban': '生产综合看板',
'menu.kanban.deviceStatusKanban': '当日设备生产综合看板',
'menu.kanban.deviceStatusKanban': '设备综合看板',
'menu.kanban.materialSynthesisKanban': '物料综合看板',
'menu.kanban.productProgressKanban': '产品进度看板',
// 'menu.kanban.procedureKanban': '工序看板',
......
src/pages/img/2.png

323 KB | W: | H:

src/pages/img/2.png

333 KB | W: | H:

src/pages/img/2.png
src/pages/img/2.png
src/pages/img/2.png
src/pages/img/2.png
  • 2-up
  • Swipe
  • Onion skin
src/pages/img/3.png

110 KB | W: | H:

src/pages/img/3.png

135 KB | W: | H:

src/pages/img/3.png
src/pages/img/3.png
src/pages/img/3.png
src/pages/img/3.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -52,8 +52,9 @@ const ProgressTable: React.FC<ProgressTableProps> = ({
}
const startLoop = () => {
stopLoop();
if (leftScroll && leftScroll.current) {
if (leftScroll && leftScroll.current && (leftScroll.current.scrollTop || leftScroll.current.scrollTop === 0)) {
timer = setInterval(() => {
if(!leftScroll || !leftScroll.current) return
let scrollTop = leftScroll.current.scrollTop
console.log(scrollTop, leftScroll.current.offsetHeight, leftScroll.current.scrollHeight)
if (scrollTop + leftScroll.current.offsetHeight + 5 >= leftScroll.current.scrollHeight) {
......
......@@ -60,7 +60,6 @@ const Main: React.FC = () => {
<KanbanStyle
headerText={intl.formatMessage({id:'生产计划看板'})}
subTitle={setting?.lineName}
headerStyle={{fontSize: '30px'}}
autoResize={setting.autoResize}
onHeaderClick={() => {
setSettingFormVisible(true);
......
......@@ -41,7 +41,6 @@
padding: 20px 300px 0 300px;
font-weight: 500;
font-size: 70px;
letter-spacing: 10px;
text-align: center;
text-shadow: 0 0 8px #9fc4f5, 0 0 8px #9fc4f5;
}
......
......@@ -42,17 +42,16 @@
padding: 10px 0 0 0;
font-weight: 550;
font-size: 60px;
letter-spacing: 10px;
text-align: center;
text-shadow: 0 0 6px #9fc4f5, 0 0 6px #9fc4f5;
}
.subTitle {
position: absolute;
bottom: 10px;
right: 0;
bottom: -12px;
right: -34px;
font-weight: 400;
font-size: 36px;
font-size: 30px;
text-shadow: 0 0 4px #9fc4f5, 0 0 4px #9fc4f5;
}
......
......@@ -41,7 +41,6 @@
padding: 40px 600px 0 600px;
font-weight: 1000;
font-size: 140px;
letter-spacing: 20px;
text-align: center;
text-shadow: 0 0 16px #9fc4f5, 0 0 16px #9fc4f5;
}
......
......@@ -47,8 +47,9 @@ const Main: React.FC<{ data: PartScheduleIndexDataDto[]; rowMovingTime: any }> =
}
const startLoop = () => {
stopLoop();
if (leftScroll && leftScroll.current) {
if (leftScroll && leftScroll.current && (leftScroll.current.scrollTop || leftScroll.current.scrollTop === 0)) {
timer = setInterval(() => {
if(!leftScroll || !leftScroll.current) return
let scrollTop = leftScroll.current.scrollTop
console.log(scrollTop, leftScroll.current.offsetHeight, leftScroll.current.scrollHeight)
if (scrollTop + leftScroll.current.offsetHeight + 5 >= leftScroll.current.scrollHeight) {
......
......@@ -45,8 +45,9 @@ const Main: React.FC<{ data: PartScheduleIndexDataDto1[]; rowMovingTime: any }>
}
const startLoop = () => {
stopLoop();
if (leftScroll && leftScroll.current) {
if (leftScroll && leftScroll.current && (leftScroll.current.scrollTop || leftScroll.current.scrollTop === 0)) {
timer = setInterval(() => {
if(!leftScroll || !leftScroll.current) return
let scrollTop = leftScroll.current.scrollTop
console.log(scrollTop, leftScroll.current.offsetHeight, leftScroll.current.scrollHeight)
if (scrollTop + leftScroll.current.offsetHeight + 5 >= leftScroll.current.scrollHeight) {
......
......@@ -20,8 +20,9 @@ const Abnormal: React.FC<{
};
const startLoop = () => {
stopLoop();
if (leftScroll && leftScroll.current) {
if (leftScroll && leftScroll.current && (leftScroll.current.scrollTop || leftScroll.current.scrollTop === 0)) {
timer = setInterval(() => {
if(!leftScroll || !leftScroll.current) return
let scrollTop = leftScroll.current.scrollTop
if (scrollTop + 60 + leftScroll.current.offsetHeight >= leftScroll.current.scrollHeight) {
leftScroll.current.scrollTo({
......
......@@ -141,10 +141,9 @@ const Main: React.FC = () => {
<>
<KanbanStyle
headerText={intl.formatMessage({
id: '当日设备生产综合看板'
id: '设备综合看板'
})}
style={{backgroundColor: '#00094f'}}
headerStyle={{fontSize: '30px'}}
subTitle={setting?.lineName}
autoResize={setting.autoResize}
onHeaderClick={() => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment