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
b686fd75
Commit
b686fd75
authored
Sep 11, 2024
by
jingnan
👀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
计划模块增加所有属性的排序
parent
8e191fbb
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
57 additions
and
36 deletions
+57
-36
index.vue
...views/assemblyPlanManagement/inspectionDispatch/index.vue
+25
-16
index.vue
...ews/assemblyPlanManagement/instructionsDispatch/index.vue
+31
-20
stationPlanList.vue
...agement/instructionsIssued/components/stationPlanList.vue
+1
-0
No files found.
applications/dee-mes/src/views/assemblyPlanManagement/inspectionDispatch/index.vue
View file @
b686fd75
...
...
@@ -69,6 +69,7 @@
@
pagination-current-change=
"paginationCurrentChange"
@
pagination-size-change=
"handleSizeChange"
@
selection-change=
"selectionChange"
@
sort-change=
"handleSortChange"
>
<dee-tools
slot=
"header"
:tools=
"tools"
mode=
"normal"
/>
</dee-up-table>
...
...
@@ -156,11 +157,12 @@ export default {
width
:
'70'
},
columns
:
[
{
title
:
'机上区域'
,
key
:
'extProcessPlan.area'
,
align
:
'left'
,
minWidth
:
120
},
{
title
:
'机上区域'
,
key
:
'extProcessPlan.area'
,
align
:
'left'
,
minWidth
:
120
,
sortable
:
true
},
{
title
:
'指令号'
,
key
:
'extProcessPlan.serialNumber'
,
align
:
'left'
,
sortable
:
true
,
minWidth
:
330
,
component
:
{
render
:
(
h
,
params
)
=>
{
...
...
@@ -192,23 +194,23 @@ export default {
}
}
},
{
title
:
'指令名称'
,
key
:
'extProcessPlan.name'
,
align
:
'left'
,
minWidth
:
280
},
{
title
:
'机型'
,
key
:
'extProcessPlan.planeType'
,
align
:
'left'
},
{
title
:
'架次'
,
key
:
'extProcessPlan.sorties'
,
align
:
'left'
},
{
title
:
'站位'
,
key
:
'extProcessPlan.positionNumber'
,
align
:
'left'
},
{
title
:
'工时定额'
,
key
:
'extProcessPlan.opHour'
,
align
:
'left'
},
{
title
:
'工时'
,
key
:
'extProcessPlan.workHour'
,
align
:
'left'
},
{
title
:
'指令名称'
,
key
:
'extProcessPlan.name'
,
align
:
'left'
,
minWidth
:
280
,
sortable
:
true
},
{
title
:
'机型'
,
key
:
'extProcessPlan.planeType'
,
align
:
'left'
,
sortable
:
true
},
{
title
:
'架次'
,
key
:
'extProcessPlan.sorties'
,
align
:
'left'
,
sortable
:
true
},
{
title
:
'站位'
,
key
:
'extProcessPlan.positionNumber'
,
align
:
'left'
,
sortable
:
true
},
{
title
:
'工时定额'
,
key
:
'extProcessPlan.opHour'
,
align
:
'left'
,
sortable
:
true
,
minWidth
:
120
},
{
title
:
'工时'
,
key
:
'extProcessPlan.workHour'
,
align
:
'left'
,
sortable
:
true
},
{
title
:
'计划员'
,
key
:
'planner.name'
,
align
:
'left'
},
{
title
:
'工艺员'
,
key
:
'extProcessPlan.noteName'
,
align
:
'left'
},
{
title
:
'计划开始'
,
key
:
'scheduledStart'
,
align
:
'left'
,
formatter
(
row
,
column
)
{
return
row
.
scheduledStart
?
row
.
scheduledStart
.
substr
(
0
,
10
)
:
''
}
}
,
minWidth
:
140
,
sortable
:
true
},
{
title
:
'计划结束'
,
key
:
'scheduledEnd'
,
align
:
'left'
,
formatter
(
row
,
column
)
{
return
row
.
scheduledEnd
?
row
.
scheduledEnd
.
substr
(
0
,
10
)
:
''
}
}
,
minWidth
:
140
,
sortable
:
true
}
],
tableData
:
[],
...
...
@@ -286,7 +288,11 @@ export default {
],
groupUserTotal
:
0
,
groupUserPage
:
1
,
isLoading
:
false
isLoading
:
false
,
sortItem
:
[{
'fieldName'
:
'modifyTime'
,
'sortOrder'
:
'desc'
}]
}
},
computed
:
{
...
...
@@ -549,12 +555,7 @@ export default {
]
}
],
'sortItem'
:
[
{
'fieldName'
:
'modifyTime'
,
'sortOrder'
:
'desc'
}
]
'sortItem'
:
this
.
sortItem
}
if
(
this
.
searchFormData
.
sortiesName
)
{
params
.
searchItems
.
children
[
0
].
items
.
push
({
...
...
@@ -652,6 +653,14 @@ export default {
this
.
groupUserPage
++
this
.
getGroupUser
()
}
},
handleSortChange
({
column
,
prop
,
order
})
{
if
(
prop
&&
order
)
{
this
.
sortItem
=
[{
fieldName
:
prop
,
sortOrder
:
order
.
includes
(
'asc'
)
?
'asc'
:
'desc'
}]
}
else
{
this
.
sortItem
=
[{
'fieldName'
:
'modifyTime'
,
'sortOrder'
:
'desc'
}]
}
this
.
getInstructionsDispatchList
()
}
}
}
...
...
applications/dee-mes/src/views/assemblyPlanManagement/instructionsDispatch/index.vue
View file @
b686fd75
...
...
@@ -74,6 +74,7 @@
@
pagination-current-change=
"paginationCurrentChange"
@
pagination-size-change=
"handleSizeChange"
@
selection-change=
"selectionChange"
@
sort-change=
"handleSortChange"
>
<dee-tools
slot=
"header"
:tools=
"tools"
mode=
"normal"
/>
</dee-up-table>
...
...
@@ -213,11 +214,12 @@ export default {
width
:
'70'
},
columns
:
[
{
title
:
'机上区域'
,
key
:
'extProcessPlan.area'
,
align
:
'left'
,
minWidth
:
120
},
{
title
:
'机上区域'
,
key
:
'extProcessPlan.area'
,
align
:
'left'
,
minWidth
:
120
,
sortable
:
true
},
{
title
:
'指令号'
,
key
:
'extProcessPlan.serialNumber'
,
align
:
'left'
,
sortable
:
true
,
minWidth
:
330
,
component
:
{
render
:
(
h
,
params
)
=>
{
...
...
@@ -249,31 +251,33 @@ export default {
}
}
},
{
title
:
'指令名称'
,
key
:
'extProcessPlan.name'
,
align
:
'left'
,
minWidth
:
280
},
{
title
:
'指令名称'
,
key
:
'extProcessPlan.name'
,
align
:
'left'
,
minWidth
:
280
,
sortable
:
true
},
{
title
:
'是否协同'
,
key
:
'extProcessPlan.name'
,
align
:
'left'
,
minWidth
:
120
,
sortable
:
true
,
formatter
(
row
)
{
return
row
.
cooperatives
?
'协同'
:
''
}
},
{
title
:
'机型'
,
key
:
'extProcessPlan.planeType'
,
align
:
'left'
},
{
title
:
'架次'
,
key
:
'extProcessPlan.sorties'
,
align
:
'left'
},
{
title
:
'站位'
,
key
:
'extProcessPlan.positionNumber'
,
align
:
'left'
},
{
title
:
'工作包名称'
,
key
:
'extProcessPlan.extWorkPackageLinks[0].source.name'
,
align
:
'left'
},
{
title
:
'技能点'
,
key
:
'extProcessPlan.workCode'
,
align
:
'left'
},
{
title
:
'工时定额'
,
key
:
'extProcessPlan.opHour'
,
align
:
'left'
},
{
title
:
'工时'
,
key
:
'extProcessPlan.workHour'
,
align
:
'left'
},
{
title
:
'机型'
,
key
:
'extProcessPlan.planeType'
,
align
:
'left'
,
sortable
:
true
},
{
title
:
'架次'
,
key
:
'extProcessPlan.sorties'
,
align
:
'left'
,
sortable
:
true
},
{
title
:
'站位'
,
key
:
'extProcessPlan.positionNumber'
,
align
:
'left'
,
sortable
:
true
},
{
title
:
'工作包名称'
,
key
:
'extProcessPlan.extWorkPackageLinks[0].source.name'
,
align
:
'left'
,
sortable
:
true
,
minWidth
:
140
},
{
title
:
'技能点'
,
key
:
'extProcessPlan.workCode'
,
align
:
'left'
,
sortable
:
true
,
minWidth
:
140
},
{
title
:
'工时定额'
,
key
:
'extProcessPlan.opHour'
,
align
:
'left'
,
sortable
:
true
,
minWidth
:
140
},
{
title
:
'工时'
,
key
:
'extProcessPlan.workHour'
,
align
:
'left'
,
sortable
:
true
},
{
title
:
'计划员'
,
key
:
'planner.name'
,
align
:
'left'
},
{
title
:
'工艺员'
,
key
:
'extProcessPlan.noteName'
,
align
:
'left'
},
{
title
:
'计划开始'
,
key
:
'scheduledStart'
,
align
:
'left'
,
{
title
:
'计划开始'
,
key
:
'scheduledStart'
,
align
:
'left'
,
minWidth
:
140
,
formatter
(
row
,
column
)
{
return
row
.
scheduledStart
?
row
.
scheduledStart
.
substr
(
0
,
10
)
:
''
}
},
{
title
:
'计划结束'
,
key
:
'scheduledEnd'
,
align
:
'left'
,
}
,
sortable
:
true
},
{
title
:
'计划结束'
,
key
:
'scheduledEnd'
,
align
:
'left'
,
minWidth
:
140
,
formatter
(
row
,
column
)
{
return
row
.
scheduledEnd
?
row
.
scheduledEnd
.
substr
(
0
,
10
)
:
''
}
}
,
sortable
:
true
}
],
tableData
:
[],
...
...
@@ -366,7 +370,11 @@ export default {
groupUserPage
:
1
,
mainUserId
:
null
,
postionList
:
[],
isLoading
:
false
isLoading
:
false
,
sortItem
:
[{
'fieldName'
:
'modifyTime'
,
'sortOrder'
:
'desc'
}]
}
},
computed
:
{
...
...
@@ -629,12 +637,7 @@ export default {
'name'
:
'cooperatives'
}
],
'sortItem'
:
[
{
'fieldName'
:
'modifyTime'
,
'sortOrder'
:
'desc'
}
]
'sortItem'
:
this
.
sortItem
}
if
(
this
.
searchFormData
.
sorties
)
{
params
.
searchItems
.
children
[
0
].
items
.
push
({
...
...
@@ -738,6 +741,14 @@ export default {
this
.
groupUserPage
++
this
.
getGroupUser
()
}
},
handleSortChange
({
column
,
prop
,
order
})
{
if
(
prop
&&
order
)
{
this
.
sortItem
=
[{
fieldName
:
prop
,
sortOrder
:
order
.
includes
(
'asc'
)
?
'asc'
:
'desc'
}]
}
else
{
this
.
sortItem
=
[{
'fieldName'
:
'modifyTime'
,
'sortOrder'
:
'desc'
}]
}
this
.
getInstructionsDispatchList
()
}
}
}
...
...
applications/dee-mes/src/views/assemblyPlanManagement/instructionsIssued/components/stationPlanList.vue
View file @
b686fd75
...
...
@@ -768,6 +768,7 @@ export default {
}
}
.right-container
{
background-color
:
#fff
;
margin-left
:
20px
;
}
}
...
...
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