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
2e7e86e1
Commit
2e7e86e1
authored
May 10, 2024
by
jingnan
👀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
站位计划维护每个站位计划下发增加转移工作包联调
parent
fdbe82eb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
5 deletions
+32
-5
stationPlanList.vue
...PlanManagement/stationPlanMaintenance/stationPlanList.vue
+32
-5
No files found.
applications/dee-mes/src/views/assemblyPlanManagement/stationPlanMaintenance/stationPlanList.vue
View file @
2e7e86e1
...
@@ -67,7 +67,7 @@
...
@@ -67,7 +67,7 @@
<dee-as-com
<dee-as-com
ref=
"detailCom"
ref=
"detailCom"
:key=
"layConfig.typeName"
:key=
"layConfig.typeName"
:basic-data=
"
{activeNodeData}"
:basic-data=
"
{activeNodeData
,requestParams
}"
:lay-config="layConfig"
:lay-config="layConfig"
table-height="calc(100vh - 200px)"
table-height="calc(100vh - 200px)"
@row-click="rowClick"
@row-click="rowClick"
...
@@ -77,7 +77,7 @@
...
@@ -77,7 +77,7 @@
<dee-as-com
<dee-as-com
ref=
"detailCom2"
ref=
"detailCom2"
:key=
"layConfig.typeName"
:key=
"layConfig.typeName"
:basic-data=
"
{activeNodeData}"
:basic-data=
"
{activeNodeData
,requestParams
}"
:lay-config="layConfig1"
:lay-config="layConfig1"
table-height="calc(100vh - 200px)"
table-height="calc(100vh - 200px)"
@row-click="rowClick"
@row-click="rowClick"
...
@@ -190,7 +190,8 @@ export default {
...
@@ -190,7 +190,8 @@ export default {
activeTab
:
'0'
,
activeTab
:
'0'
,
activeNodeData
:
{},
activeNodeData
:
{},
currentNodekey
:
''
,
currentNodekey
:
''
,
areaUpdatingLists
:
{}
areaUpdatingLists
:
{},
requestParams
:
[]
}
}
},
},
watch
:
{
watch
:
{
...
@@ -575,12 +576,12 @@ export default {
...
@@ -575,12 +576,12 @@ export default {
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
if
(
this
.
activeTab
===
'0'
)
{
if
(
this
.
activeTab
===
'0'
)
{
if
(
this
.
$refs
.
detailCom
.
$refs
.
asCom
&&
this
.
$refs
.
detailCom
.
$refs
.
asCom
.
getData
)
{
if
(
this
.
$refs
.
detailCom
.
$refs
.
asCom
&&
this
.
$refs
.
detailCom
.
$refs
.
asCom
.
getData
)
{
this
.
$refs
.
detailCom
.
$refs
.
asCom
.
getData
(
this
.
activeNodeData
)
this
.
$refs
.
detailCom
.
$refs
.
asCom
.
getData
(
this
.
activeNodeData
.
level
!==
4
?
this
.
activeNodeData
:
null
)
this
.
$emit
(
'getMissData'
,
null
)
this
.
$emit
(
'getMissData'
,
null
)
}
}
}
else
if
(
this
.
activeTab
===
'1'
)
{
}
else
if
(
this
.
activeTab
===
'1'
)
{
if
(
this
.
$refs
.
detailCom2
.
$refs
.
asCom
&&
this
.
$refs
.
detailCom2
.
$refs
.
asCom
.
getData
)
{
if
(
this
.
$refs
.
detailCom2
.
$refs
.
asCom
&&
this
.
$refs
.
detailCom2
.
$refs
.
asCom
.
getData
)
{
this
.
$refs
.
detailCom2
.
$refs
.
asCom
.
getData
(
this
.
activeNodeData
)
this
.
$refs
.
detailCom2
.
$refs
.
asCom
.
getData
(
this
.
activeNodeData
.
level
!==
4
?
this
.
activeNodeData
:
null
)
this
.
$emit
(
'getMissData'
,
null
)
this
.
$emit
(
'getMissData'
,
null
)
}
}
}
else
if
(
this
.
activeTab
===
'2'
)
{
}
else
if
(
this
.
activeTab
===
'2'
)
{
...
@@ -592,6 +593,7 @@ export default {
...
@@ -592,6 +593,7 @@ export default {
})
})
},
},
handleNodeClick
(
data
,
node
)
{
handleNodeClick
(
data
,
node
)
{
this
.
requestParams
=
[]
if
(
data
.
name
===
'转移工作包'
)
{
if
(
data
.
name
===
'转移工作包'
)
{
this
.
getQueryRetention
(
data
,
node
)
this
.
getQueryRetention
(
data
,
node
)
}
else
{
}
else
{
...
@@ -619,6 +621,30 @@ export default {
...
@@ -619,6 +621,30 @@ export default {
}
}
})
})
}
}
if
(
node
.
level
===
4
)
{
this
.
requestParams
=
[
`sorties=
${
this
.
form
.
sortiesName
}
`
,
`position=
${
data
.
parentPosition
}
`
,
`assemblyUnit=
${
data
.
serialNumber
}
`
]
this
.
$nextTick
(()
=>
{
let
tableRefName
=
''
switch
(
this
.
activeTab
)
{
case
'0'
:
tableRefName
=
'detailCom'
break
case
'1'
:
tableRefName
=
'detailCom2'
break
default
:
break
}
if
(
this
.
$refs
[
tableRefName
]
&&
this
.
$refs
[
tableRefName
].
$refs
.
asCom
&&
this
.
$refs
[
tableRefName
].
$refs
.
asCom
.
getData
)
{
this
.
$refs
[
tableRefName
].
$refs
.
asCom
.
getData
()
this
.
$emit
(
'getMissData'
,
null
)
}
})
}
}
}
},
},
getQueryRetention
(
data
,
node
)
{
getQueryRetention
(
data
,
node
)
{
...
@@ -665,6 +691,7 @@ export default {
...
@@ -665,6 +691,7 @@ export default {
.
then
((
res
)
=>
{
.
then
((
res
)
=>
{
const
newChildren
=
res
.
items
&&
res
.
items
.
map
(
item
=>
{
const
newChildren
=
res
.
items
&&
res
.
items
.
map
(
item
=>
{
item
.
leaf
=
true
item
.
leaf
=
true
item
.
parentPosition
=
node
.
parent
.
data
&&
node
.
parent
.
data
.
serialNumber
||
''
return
item
return
item
})
})
if
(
newChildren
)
{
if
(
newChildren
)
{
...
...
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