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
dd28df7b
Commit
dd28df7b
authored
Jun 20, 2024
by
jingnan
👀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
看板开发代码暂存
parent
0f75a9f3
Show 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 @
dd28df7b
...
@@ -84,11 +84,11 @@ export function stationPlan(params) {
...
@@ -84,11 +84,11 @@ export function stationPlan(params) {
}
}
/**
/**
* 现场问题督办echart
* 现场问题督办echart
* @param {*} p
lanId
* @param {*} p
arams
* @returns
* @returns
*/
*/
export
function
stationSpotProblemEchart
(
p
lanId
)
{
export
function
stationSpotProblemEchart
(
p
arams
)
{
return
post
(
`/SpotProblem/
look/plan/spotProblem?planId=
${
planId
}
`
)
return
post
(
`/SpotProblem/
board/plan/spotProblem/matrix?positionNo=
${
params
.
positionNo
}
&sorties=
${
params
.
sorties
}
`
)
}
}
/**
/**
* 现场问题督办table
* 现场问题督办table
...
@@ -100,19 +100,19 @@ export function stationSpotProblemTable(params) {
...
@@ -100,19 +100,19 @@ export function stationSpotProblemTable(params) {
}
}
/**
/**
* 物料配套及缺件情况 echart
* 物料配套及缺件情况 echart
* @param {*} p
lanId
* @param {*} p
arams
* @returns
* @returns
*/
*/
export
function
stationFitRates
(
p
lanId
)
{
export
function
stationFitRates
(
p
arams
)
{
return
post
(
`/
StorageRequestItem/look/plan/fitRates?planId=
${
planId
}
`
)
return
post
(
`/
ExtSupportingItem/board/plan/fitRates?positionNo=
${
params
.
positionNo
}
&sorties=
${
params
.
sorties
}
`
)
}
}
/**
/**
* 物料配套及缺件情况 table
* 物料配套及缺件情况 table
* @param {*} p
lanId
* @param {*} p
arams
* @returns
* @returns
*/
*/
export
function
stationMaterialLacke
(
p
lanId
)
{
export
function
stationMaterialLacke
(
p
arams
)
{
return
post
(
`/WrMaterialLack/
look/plan/materialLack?planId=
${
planId
}
`
)
return
post
(
`/WrMaterialLack/
board/plan/materialLack?positionNo=
${
params
.
positionNo
}
&sorties=
${
params
.
sorties
}
`
)
}
}
/**
/**
*站位缺件汇总 获取站位
*站位缺件汇总 获取站位
...
...
applications/dee-mes/src/privateComponents/components/Visualization/ExperimentKanban.vue
View file @
dd28df7b
...
@@ -2601,7 +2601,11 @@ export default {
...
@@ -2601,7 +2601,11 @@ export default {
*/
*/
initParts
()
{
initParts
()
{
const
optionParts
=
this
.
optionParts
const
optionParts
=
this
.
optionParts
stationFitRates
(
this
.
planId
)
const
params
=
{
positionNo
:
this
.
info
.
serialNumber
,
sorties
:
this
.
$route
.
query
.
sorties
}
stationFitRates
(
params
)
.
then
((
res
)
=>
{
.
then
((
res
)
=>
{
if
(
res
.
message
.
includes
(
'成功'
))
{
if
(
res
.
message
.
includes
(
'成功'
))
{
console
.
log
(
'物料配套及缺件情况echart'
,
res
)
console
.
log
(
'物料配套及缺件情况echart'
,
res
)
...
@@ -2627,14 +2631,16 @@ export default {
...
@@ -2627,14 +2631,16 @@ export default {
*/
*/
initSupervise
()
{
initSupervise
()
{
const
superviseOption
=
this
.
superviseOption
const
superviseOption
=
this
.
superviseOption
stationSpotProblemEchart
(
this
.
planId
)
const
params
=
{
positionNo
:
this
.
info
.
serialNumber
,
sorties
:
this
.
$route
.
query
.
sorties
}
stationSpotProblemEchart
(
params
)
.
then
((
res
)
=>
{
.
then
((
res
)
=>
{
if
(
res
.
message
.
includes
(
'成功'
))
{
if
(
res
.
message
.
includes
(
'成功'
))
{
console
.
log
(
'现场问题督办echart'
,
res
)
Object
.
entries
(
res
.
items
).
forEach
(([
key
,
value
])
=>
{
superviseOption
.
legend
.
data
=
res
.
items
.
map
((
p
)
=>
p
.
name
)
const
targetIndex
=
superviseOption
.
series
[
0
].
data
.
findIndex
(
el
=>
(
el
.
name
===
key
))
res
.
items
.
forEach
((
p
,
index
)
=>
{
superviseOption
.
series
[
0
].
data
[
targetIndex
].
value
=
value
superviseOption
.
series
[
0
].
data
[
index
].
name
=
p
.
name
superviseOption
.
series
[
0
].
data
[
index
].
value
=
p
.
count
})
})
}
}
})
})
...
@@ -2644,7 +2650,6 @@ export default {
...
@@ -2644,7 +2650,6 @@ export default {
const
chartDom
=
document
.
getElementById
(
'superviseEchart'
)
const
chartDom
=
document
.
getElementById
(
'superviseEchart'
)
const
myChart
=
echarts
.
init
(
chartDom
)
const
myChart
=
echarts
.
init
(
chartDom
)
myChart
.
on
(
'click'
,
function
(
params
)
{
myChart
.
on
(
'click'
,
function
(
params
)
{
console
.
log
(
2625
,
params
)
that
.
routerSiteProblemManagementSummary
(
params
.
name
)
that
.
routerSiteProblemManagementSummary
(
params
.
name
)
})
})
myChart
.
setOption
(
superviseOption
)
myChart
.
setOption
(
superviseOption
)
...
@@ -2712,7 +2717,11 @@ export default {
...
@@ -2712,7 +2717,11 @@ export default {
* 物料配套及缺件情况table
* 物料配套及缺件情况table
*/
*/
initMissparts
()
{
initMissparts
()
{
stationMaterialLacke
(
this
.
planId
)
const
params
=
{
positionNo
:
this
.
info
.
serialNumber
,
sorties
:
this
.
$route
.
query
.
sorties
}
stationMaterialLacke
(
params
)
.
then
((
res
)
=>
{
.
then
((
res
)
=>
{
if
(
res
.
message
.
includes
(
'成功'
))
{
if
(
res
.
message
.
includes
(
'成功'
))
{
console
.
log
(
'物料配套及缺件情况table'
,
res
)
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