Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
T
TF-MOM-WEB
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
TFMOM
TF-MOM-WEB
Commits
846a4944
Commit
846a4944
authored
Jun 20, 2024
by
jingnan
👀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
看板开发代码暂存
parent
7483bf91
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
18 deletions
+27
-18
kanban.js
applications/dee-mes/src/api/kanban.js
+9
-9
ExperimentKanban.vue
...eComponents/components/Visualization/ExperimentKanban.vue
+18
-9
No files found.
applications/dee-mes/src/api/kanban.js
View file @
846a4944
...
...
@@ -84,11 +84,11 @@ export function stationPlan(params) {
}
/**
* 现场问题督办echart
* @param {*} p
lanId
* @param {*} p
arams
* @returns
*/
export
function
stationSpotProblemEchart
(
p
lanId
)
{
return
post
(
`/SpotProblem/
look/plan/spotProblem?planId=
${
planId
}
`
)
export
function
stationSpotProblemEchart
(
p
arams
)
{
return
post
(
`/SpotProblem/
board/plan/spotProblem/matrix?positionNo=
${
params
.
positionNo
}
&sorties=
${
params
.
sorties
}
`
)
}
/**
* 现场问题督办table
...
...
@@ -100,19 +100,19 @@ export function stationSpotProblemTable(params) {
}
/**
* 物料配套及缺件情况 echart
* @param {*} p
lanId
* @param {*} p
arams
* @returns
*/
export
function
stationFitRates
(
p
lanId
)
{
return
post
(
`/
StorageRequestItem/look/plan/fitRates?planId=
${
planId
}
`
)
export
function
stationFitRates
(
p
arams
)
{
return
post
(
`/
ExtSupportingItem/board/plan/fitRates?positionNo=
${
params
.
positionNo
}
&sorties=
${
params
.
sorties
}
`
)
}
/**
* 物料配套及缺件情况 table
* @param {*} p
lanId
* @param {*} p
arams
* @returns
*/
export
function
stationMaterialLacke
(
p
lanId
)
{
return
post
(
`/WrMaterialLack/
look/plan/materialLack?planId=
${
planId
}
`
)
export
function
stationMaterialLacke
(
p
arams
)
{
return
post
(
`/WrMaterialLack/
board/plan/materialLack?positionNo=
${
params
.
positionNo
}
&sorties=
${
params
.
sorties
}
`
)
}
/**
*站位缺件汇总 获取站位
...
...
applications/dee-mes/src/privateComponents/components/Visualization/ExperimentKanban.vue
View file @
846a4944
...
...
@@ -2601,7 +2601,11 @@ export default {
*/
initParts
()
{
const
optionParts
=
this
.
optionParts
stationFitRates
(
this
.
planId
)
const
params
=
{
positionNo
:
this
.
info
.
serialNumber
,
sorties
:
this
.
$route
.
query
.
sorties
}
stationFitRates
(
params
)
.
then
((
res
)
=>
{
if
(
res
.
message
.
includes
(
'成功'
))
{
console
.
log
(
'物料配套及缺件情况echart'
,
res
)
...
...
@@ -2627,14 +2631,16 @@ export default {
*/
initSupervise
()
{
const
superviseOption
=
this
.
superviseOption
stationSpotProblemEchart
(
this
.
planId
)
const
params
=
{
positionNo
:
this
.
info
.
serialNumber
,
sorties
:
this
.
$route
.
query
.
sorties
}
stationSpotProblemEchart
(
params
)
.
then
((
res
)
=>
{
if
(
res
.
message
.
includes
(
'成功'
))
{
console
.
log
(
'现场问题督办echart'
,
res
)
superviseOption
.
legend
.
data
=
res
.
items
.
map
((
p
)
=>
p
.
name
)
res
.
items
.
forEach
((
p
,
index
)
=>
{
superviseOption
.
series
[
0
].
data
[
index
].
name
=
p
.
name
superviseOption
.
series
[
0
].
data
[
index
].
value
=
p
.
count
Object
.
entries
(
res
.
items
).
forEach
(([
key
,
value
])
=>
{
const
targetIndex
=
superviseOption
.
series
[
0
].
data
.
findIndex
(
el
=>
(
el
.
name
===
key
))
superviseOption
.
series
[
0
].
data
[
targetIndex
].
value
=
value
})
}
})
...
...
@@ -2644,7 +2650,6 @@ export default {
const
chartDom
=
document
.
getElementById
(
'superviseEchart'
)
const
myChart
=
echarts
.
init
(
chartDom
)
myChart
.
on
(
'click'
,
function
(
params
)
{
console
.
log
(
2625
,
params
)
that
.
routerSiteProblemManagementSummary
(
params
.
name
)
})
myChart
.
setOption
(
superviseOption
)
...
...
@@ -2712,7 +2717,11 @@ export default {
* 物料配套及缺件情况table
*/
initMissparts
()
{
stationMaterialLacke
(
this
.
planId
)
const
params
=
{
positionNo
:
this
.
info
.
serialNumber
,
sorties
:
this
.
$route
.
query
.
sorties
}
stationMaterialLacke
(
params
)
.
then
((
res
)
=>
{
if
(
res
.
message
.
includes
(
'成功'
))
{
console
.
log
(
'物料配套及缺件情况table'
,
res
)
...
...
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