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
57e4478d
Commit
57e4478d
authored
Nov 24, 2023
by
旭艳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
开工状态修改
parent
c109aec8
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 @
57e4478d
...
@@ -313,15 +313,15 @@ export default {
...
@@ -313,15 +313,15 @@ export default {
return
{
return
{
value
:
row
.
defCode
,
value
:
row
.
defCode
,
label
:
row
.
defName
,
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
:
''
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
,
'sorties'
,
this
.
sortiesData
[
0
].
value
)
this
.
$set
(
this
.
searchFormData
,
'sortiesName'
,
this
.
sortiesData
[
0
].
label
)
this
.
$set
(
this
.
searchFormData
,
'sortiesName'
,
this
.
sortiesData
[
0
].
label
)
this
.
$set
(
this
.
searchFormData
,
'workId'
,
this
.
sortiesData
[
0
].
postionId
)
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.status = res.items.content[0].extPosition[0].extPositionPlans[0].planState
this
.
getWorkStatus
()
this
.
getTableData
()
this
.
getTableData
()
}
}
})
})
...
@@ -396,9 +396,45 @@ export default {
...
@@ -396,9 +396,45 @@ export default {
const
sorties
=
this
.
sortiesData
.
find
(
r
=>
r
.
value
===
this
.
searchFormData
.
sorties
)
const
sorties
=
this
.
sortiesData
.
find
(
r
=>
r
.
value
===
this
.
searchFormData
.
sorties
)
this
.
$set
(
this
.
searchFormData
,
'sortiesName'
,
sorties
&&
sorties
.
label
||
''
)
this
.
$set
(
this
.
searchFormData
,
'sortiesName'
,
sorties
&&
sorties
.
label
||
''
)
this
.
$set
(
this
.
searchFormData
,
'workId'
,
sorties
&&
sorties
.
postionId
||
''
)
this
.
$set
(
this
.
searchFormData
,
'workId'
,
sorties
&&
sorties
.
postionId
||
''
)
this
.
status
=
sorties
.
status
this
.
getWorkStatus
()
// this.status = sorties.status
this
.
getTableData
()
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
)
{
tabClick
(
tab
)
{
this
.
activeName
=
tab
.
index
this
.
activeName
=
tab
.
index
if
(
this
.
activeName
===
'1'
)
{
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