Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
F
FTT_Board
Project
Project
Details
Activity
Releases
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
Administrator
FTT_Board
Commits
92c5fda2
Commit
92c5fda2
authored
Nov 11, 2024
by
崔婷婷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【编号:16719】成型看板优化
parent
f70996c1
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
525 additions
and
0 deletions
+525
-0
ViewSC2.vue
FTT.Board.VueUI/src/views/board/workShopList/ViewSC2.vue
+65
-0
ViewSCCom.vue
FTT.Board.VueUI/src/views/board/workShopList/ViewSCCom.vue
+391
-0
index.vue
FTT.Board.VueUI/src/views/board/workShopList/index.vue
+69
-0
No files found.
FTT.Board.VueUI/src/views/board/workShopList/ViewSC2.vue
0 → 100644
View file @
92c5fda2
<
template
>
<div
class=
"con"
>
<div
class=
"left"
>
<ViewSCCom
:ID=
"FactoryWorkShopTeamID1"
style=
"margin-right: -1px;"
></ViewSCCom>
</div>
<div
class=
"right"
>
<ViewSCCom
:ID=
"FactoryWorkShopTeamID2"
></ViewSCCom>
</div>
</div>
</
template
>
<
script
>
import
qs
from
"qs"
;
import
Axios
from
"@/function/axios.js"
;
import
ViewSCCom
from
"./ViewSCCom.vue"
;
export
default
{
components
:{
ViewSCCom
},
data
()
{
return
{
FactoryWorkShopTeamID1
:
""
,
FactoryWorkShopTeamID2
:
""
,
};
},
created
()
{
// var arr = window.location.href.split("?");
// var ss = arr[1].split("&");
// this.FactoryWorkShopTeamID1 = ss[0].split("=")[1];
// this.FactoryWorkShopTeamID2 = ss[1].split("=")[1];
const
queryString
=
window
.
location
.
href
.
split
(
'?'
)[
1
];
const
paramsArray
=
queryString
.
split
(
'&'
);
const
params
=
paramsArray
.
reduce
((
acc
,
param
)
=>
{
const
[
key
,
value
]
=
param
.
split
(
'='
);
acc
[
key
]
=
value
;
return
acc
;
},
{});
this
.
FactoryWorkShopTeamID1
=
params
.
FactoryWorkShopTeamID1
;
this
.
FactoryWorkShopTeamID2
=
params
.
FactoryWorkShopTeamID2
;
},
methods
:
{
},
};
</
script
>
<
style
lang=
"scss"
scoped
>
.con
{
width
:
100%
;
display
:
flex
;
justify-content
:
space-between
;
color
:
black
;
}
.left
,
.right
{
// width: 49%;
flex
:
1
;
}
</
style
>
\ No newline at end of file
FTT.Board.VueUI/src/views/board/workShopList/ViewSCCom.vue
0 → 100644
View file @
92c5fda2
This diff is collapsed.
Click to expand it.
FTT.Board.VueUI/src/views/board/workShopList/index.vue
View file @
92c5fda2
...
@@ -22,6 +22,15 @@
...
@@ -22,6 +22,15 @@
></el-input>
></el-input>
</div>
</div>
</div>
</div>
<div
style=
"width:400px;margin-bottom:20px"
>
<label
for=
""
style=
"display:inline-block"
>
车间ID2(生产数据2):
</label>
<div
style=
"display:inline-block;width:150px"
>
<el-input
v-model=
"FactoryWorkShopTeamID2"
placeholder=
"请输入车间ID"
></el-input>
</div>
</div>
<div
style=
"width:400px;margin-bottom:20px"
>
<div
style=
"width:400px;margin-bottom:20px"
>
<label
for=
""
style=
"display:inline-block"
>
切换时间:
</label>
<label
for=
""
style=
"display:inline-block"
>
切换时间:
</label>
<div
style=
"display:inline-block;width:150px"
>
<div
style=
"display:inline-block;width:150px"
>
...
@@ -35,6 +44,9 @@
...
@@ -35,6 +44,9 @@
<el-button
type=
"primary"
@
click=
"goNextDE()"
>
动态效率
</el-button>
<el-button
type=
"primary"
@
click=
"goNextDE()"
>
动态效率
</el-button>
<el-button
type=
"primary"
@
click=
"goNextSJ()"
>
数据展示
</el-button>
<el-button
type=
"primary"
@
click=
"goNextSJ()"
>
数据展示
</el-button>
<el-button
type=
"primary"
@
click=
"goNextSOP()"
>
查询SOP
</el-button>
<el-button
type=
"primary"
@
click=
"goNextSOP()"
>
查询SOP
</el-button>
<el-button
type=
"primary"
@
click=
"goNextSC()"
>
生产数据
</el-button>
<el-button
type=
"primary"
@
click=
"goNextSC2()"
>
生产数据2
</el-button>
<el-button
type=
"primary"
@
click=
"goNextSC3()"
>
生产数据3
</el-button>
</el-main>
</el-main>
</div>
</div>
</
template
>
</
template
>
...
@@ -54,6 +66,7 @@ export default {
...
@@ -54,6 +66,7 @@ export default {
],
],
value
:
""
,
value
:
""
,
FactoryWorkShopTeamID
:
""
,
FactoryWorkShopTeamID
:
""
,
FactoryWorkShopTeamID2
:
""
,
time
:
0
time
:
0
};
};
},
},
...
@@ -150,6 +163,62 @@ export default {
...
@@ -150,6 +163,62 @@ export default {
time
:
this
.
time
,
time
:
this
.
time
,
}
}
})
})
},
goNextSC
(){
this
.
$router
.
push
({
name
:
"ViewSC"
,
query
:
{
time
:
this
.
time
,
}
})
},
goNextSC2
(){
if
(
!
this
.
FactoryWorkShopTeamID
)
{
this
.
$message
({
message
:
"请输入车间ID"
,
type
:
"warning"
});
return
;
}
if
(
!
this
.
FactoryWorkShopTeamID2
)
{
this
.
$message
({
message
:
"请输入车间ID2"
,
type
:
"warning"
});
return
;
}
this
.
$router
.
push
({
name
:
"ViewSC2"
,
query
:
{
FactoryWorkShopTeamID1
:
this
.
FactoryWorkShopTeamID
,
FactoryWorkShopTeamID2
:
this
.
FactoryWorkShopTeamID2
,
time
:
this
.
time
}
})
},
goNextSC3
(){
if
(
!
this
.
FactoryWorkShopTeamID
)
{
this
.
$message
({
message
:
"请输入车间ID"
,
type
:
"warning"
});
return
;
}
if
(
!
this
.
FactoryWorkShopTeamID2
)
{
this
.
$message
({
message
:
"请输入车间ID2"
,
type
:
"warning"
});
return
;
}
this
.
$router
.
push
({
name
:
"ViewSC3"
,
query
:
{
FactoryWorkShopTeamID1
:
this
.
FactoryWorkShopTeamID
,
FactoryWorkShopTeamID2
:
this
.
FactoryWorkShopTeamID2
,
time
:
this
.
time
}
})
}
}
}
}
};
};
...
...
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