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
b5407afa
Commit
b5407afa
authored
Aug 24, 2023
by
旭艳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
装配计划维护二期-甘特图
parent
fbc75a35
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
585 additions
and
63 deletions
+585
-63
content.vue
...ssemblyPlanManagement/assemblyPlanMaintenance/content.vue
+559
-52
search.vue
...assemblyPlanManagement/assemblyPlanMaintenance/search.vue
+25
-10
gantt.vue
...s/assemblyPlanManagement/stationPlanMaintenance/gantt.vue
+1
-1
No files found.
applications/dee-mes/src/views/assemblyPlanManagement/assemblyPlanMaintenance/content.vue
View file @
b5407afa
This diff is collapsed.
Click to expand it.
applications/dee-mes/src/views/assemblyPlanManagement/assemblyPlanMaintenance/search.vue
View file @
b5407afa
...
@@ -105,20 +105,20 @@
...
@@ -105,20 +105,20 @@
align=
"center"
align=
"center"
>
>
<el-table-column
<el-table-column
prop=
"
extPosition.
serialNumber"
prop=
"serialNumber"
label=
"站位"
label=
"站位"
width=
"60"
width=
"60"
align=
"center"
align=
"center"
/>
/>
<el-table-column
<el-table-column
prop=
"scheduledStart"
prop=
"
extPositionPlans[0].
scheduledStart"
label=
"计划开工"
label=
"计划开工"
min-width=
"50"
min-width=
"50"
align=
"center"
align=
"center"
:formatter=
"formatterDate"
:formatter=
"formatterDate"
/>
/>
<el-table-column
<el-table-column
prop=
"scheduledEnd"
prop=
"
extPositionPlans[0].
scheduledEnd"
label=
"计划完工"
label=
"计划完工"
min-width=
"50"
min-width=
"50"
align=
"center"
align=
"center"
...
@@ -167,7 +167,7 @@ export default {
...
@@ -167,7 +167,7 @@ export default {
* 格式化时间值
* 格式化时间值
*/
*/
formatterDate
(
row
,
column
,
cellValue
,
index
)
{
formatterDate
(
row
,
column
,
cellValue
,
index
)
{
return
new
Date
(
cellValue
).
toLocaleDateString
()
return
cellValue
?
new
Date
(
cellValue
).
toLocaleDateString
()
:
''
},
},
/**
/**
* 格式化状态值
* 格式化状态值
...
@@ -268,8 +268,6 @@ export default {
...
@@ -268,8 +268,6 @@ export default {
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
if
(
this
.
statusData
.
length
)
{
if
(
this
.
statusData
.
length
)
{
this
.
form
.
status
=
false
this
.
form
.
status
=
false
// this.statusData[0].dictKey
// this.getProjectPlan()
}
}
})
})
}
else
{
}
else
{
...
@@ -358,7 +356,7 @@ export default {
...
@@ -358,7 +356,7 @@ export default {
// }
// }
this
.
$refs
.
projectPlanTable
.
setCurrentRow
(
this
.
projectPlanData
[
0
])
this
.
$refs
.
projectPlanTable
.
setCurrentRow
(
this
.
projectPlanData
[
0
])
this
.
getStation
(
this
.
projectPlanData
[
0
]
)
this
.
getStation
()
}
else
{
}
else
{
this
.
$message
({
this
.
$message
({
showClose
:
true
,
showClose
:
true
,
...
@@ -373,10 +371,27 @@ export default {
...
@@ -373,10 +371,27 @@ export default {
/**
/**
* 获取站位
* 获取站位
*/
*/
getStation
(
val
)
{
getStation
()
{
if
(
val
)
{
const
sortiesId
=
this
.
form
.
sorties
.
split
(
':'
)[
0
]
this
.
standData
=
val
.
standData
const
sortiesTypeId
=
this
.
form
.
sorties
.
split
(
':'
).
slice
(
-
1
)[
0
]
const
params
=
{
'searchItems'
:
{
'items'
:
[{
'fieldName'
:
'aircraftSortiesId'
,
'operator'
:
'EQ'
,
'value'
:
sortiesId
},
{
'fieldName'
:
'soritesTypeId'
,
'operator'
:
'EQ'
,
'value'
:
sortiesTypeId
}]
},
'openProps'
:
[{
name
:
'extPositionPlans'
}],
'sortItem'
:
[{
'fieldName'
:
'serialNumber'
,
'sortOrder'
:
'asc'
}]
}
}
this
.
standLoading
=
true
this
.
$api
.
searchApi
(
'ExtPosition'
,
params
).
then
(
res
=>
{
if
(
res
.
items
)
{
this
.
standData
=
res
.
items
.
content
}
else
{
this
.
standData
=
[]
}
this
.
standLoading
=
false
this
.
$bus
.
$emit
(
'getGantData'
,
this
.
form
,
this
.
projectPlanData
)
}).
catch
(()
=>
{
this
.
standData
=
[]
this
.
standLoading
=
false
})
}
}
}
}
}
}
...
...
applications/dee-mes/src/views/assemblyPlanManagement/stationPlanMaintenance/gantt.vue
View file @
b5407afa
...
@@ -444,7 +444,7 @@ export default {
...
@@ -444,7 +444,7 @@ export default {
return
{
return
{
id
:
p
.
id
,
id
:
p
.
id
,
start_date
:
p
.
joExecutePlan
[
0
].
scheduledStart
,
start_date
:
p
.
joExecutePlan
[
0
].
scheduledStart
,
status
:
p
.
joExecutePlan
[
0
].
s
tate
,
status
:
p
.
joExecutePlan
[
0
].
planS
tate
,
text
:
p
.
serialNumber
,
text
:
p
.
serialNumber
,
parent
:
m
.
id
,
parent
:
m
.
id
,
right_text
:
p
.
name
,
right_text
:
p
.
name
,
...
...
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