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
921cfb25
Commit
921cfb25
authored
Nov 24, 2023
by
jingnan
👀
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://94.191.100.41/tfmom/tf-mom-web
into dev
parents
79bda612
57e4478d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
39 additions
and
3 deletions
+39
-3
index.vue
...views/assemblyPlanManagement/instructionsIssued/index.vue
+39
-3
No files found.
applications/dee-mes/src/views/assemblyPlanManagement/instructionsIssued/index.vue
View file @
921cfb25
...
...
@@ -313,15 +313,15 @@ export default {
return
{
value
:
row
.
defCode
,
label
:
row
.
defName
,
status
:
row
.
extPosition
&&
row
.
extPosition
.
length
&&
row
.
extPosition
[
0
].
extPositionPlans
&&
row
.
extPosition
[
0
].
extPositionPlans
[
0
]
?
row
.
extPosition
[
0
].
extPositionPlans
[
0
].
planState
:
''
,
postionId
:
row
.
extPosition
&&
row
.
extPosition
.
length
&&
row
.
extPosition
[
0
].
extPositionPlans
&&
row
.
extPosition
[
0
].
extPositionPlans
[
0
]
?
row
.
extPosition
[
0
].
extPositionPlans
[
0
].
id
:
''
}
})
this
.
$set
(
this
.
searchFormData
,
'sorties'
,
this
.
sortiesData
[
0
].
value
)
this
.
$set
(
this
.
searchFormData
,
'sortiesName'
,
this
.
sortiesData
[
0
].
label
)
this
.
$set
(
this
.
searchFormData
,
'workId'
,
this
.
sortiesData
[
0
].
postionId
)
this
.
$set
(
this
,
'status'
,
this
.
sortiesData
[
0
].
status
)
//
this.$set(this, 'status', this.sortiesData[0].status)
// this.status = res.items.content[0].extPosition[0].extPositionPlans[0].planState
this
.
getWorkStatus
()
this
.
getTableData
()
}
})
...
...
@@ -396,9 +396,45 @@ export default {
const
sorties
=
this
.
sortiesData
.
find
(
r
=>
r
.
value
===
this
.
searchFormData
.
sorties
)
this
.
$set
(
this
.
searchFormData
,
'sortiesName'
,
sorties
&&
sorties
.
label
||
''
)
this
.
$set
(
this
.
searchFormData
,
'workId'
,
sorties
&&
sorties
.
postionId
||
''
)
this
.
status
=
sorties
.
status
this
.
getWorkStatus
()
// this.status = sorties.status
this
.
getTableData
()
},
getWorkStatus
()
{
const
params
=
{
'searchItems'
:
{
'children'
:
[
{
'items'
:
[
{
'fieldName'
:
'aircraftSorties.defCode'
,
'operator'
:
'EQ'
,
'value'
:
this
.
searchFormData
.
sortiesName
},
{
'fieldName'
:
'extPosition.serialNumber'
,
'operator'
:
'EQ'
,
'value'
:
this
.
searchFormData
.
postionName
}
],
'operator'
:
'AND'
}
],
'items'
:
[],
'operator'
:
'AND'
},
'openProps'
:
[]
}
this
.
$api
.
searchApi
(
'ExtPositionPlan'
,
params
).
then
(
res
=>
{
if
(
res
.
items
.
content
)
{
if
(
res
.
items
.
content
.
length
>
0
)
{
this
.
status
=
res
.
items
.
content
[
0
].
planState
}
else
{
this
.
status
=
''
}
}
})
},
tabClick
(
tab
)
{
this
.
activeName
=
tab
.
index
if
(
this
.
activeName
===
'1'
)
{
...
...
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