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
e734c12b
Commit
e734c12b
authored
Sep 24, 2024
by
qinhaoran
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'ERP_202406251616' of
http://94.191.100.41/tfmom/tf-mom-web
into ERP_202406251616
parents
9d37c662
4c8161bc
Hide whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
318 additions
and
73 deletions
+318
-73
index.vue
...architecture-dee/src/layout/components/TagsView/index.vue
+10
-1
util.js
applications/architecture-dee/src/utils/util.js
+18
-1
dialog.vue
...mponents/components/AddEquipmentPut/components/dialog.vue
+1
-1
AddOutStorageUseDetailDialog.vue
...ageUseDetails/components/AddOutStorageUseDetailDialog.vue
+1
-1
index.vue
...eComponents/components/DeploymentCardInfoSelect/index.vue
+5
-0
ERPAddInStorageBackItemDialog.vue
...rageBackItem/components/ERPAddInStorageBackItemDialog.vue
+2
-1
AssembleKanban.vue
...ateComponents/components/Visualization/AssembleKanban.vue
+5
-14
SiteProblemManagementSummaryDialog.vue
...sualization/Dialog/SiteProblemManagementSummaryDialog.vue
+5
-0
SummaryOfStationMissingPartsDialog.vue
...sualization/Dialog/SummaryOfStationMissingPartsDialog.vue
+51
-6
ExperimentKanban.vue
...eComponents/components/Visualization/ExperimentKanban.vue
+5
-7
ProductionKanban.vue
...eComponents/components/Visualization/ProductionKanban.vue
+77
-6
index.vue
.../privateComponents/components/printTagForConfig/index.vue
+1
-0
index.vue
...views/assemblyPlanManagement/inspectionDispatch/index.vue
+19
-10
index.vue
...ews/assemblyPlanManagement/instructionsDispatch/index.vue
+24
-13
stationPlanList.vue
...agement/instructionsIssued/components/stationPlanList.vue
+1
-0
stationPlanList.vue
...PlanManagement/stationPlanMaintenance/stationPlanList.vue
+3
-3
dialog.vue
...iews/taskExecution/components/AttachmentUpload/dialog.vue
+25
-0
index.vue
applications/dee-mes/src/views/taskExecution/index.vue
+6
-0
my-task.vue
...ns/dee-task-center/src/views/home/compontents/my-task.vue
+59
-9
No files found.
applications/architecture-dee/src/layout/components/TagsView/index.vue
View file @
e734c12b
...
...
@@ -222,7 +222,16 @@ export default {
Object
.
keys
(
this
.
$store
.
state
.
tagsView
.
visitedViews
).
forEach
(
key
=>
{
list
=
[...
list
,
...
this
.
$store
.
state
.
tagsView
.
visitedViews
[
key
]]
})
this
.
$set
(
this
,
'visitedViews'
,
list
.
filter
(
x
=>
(
x
.
path
!==
'/home'
&&
x
.
path
!==
'/businessHome'
&&
x
.
path
!==
'/systemHome'
&&
x
.
path
!==
'/DevopsHome'
&&
x
.
path
!==
'/safeHome'
)))
const
filterViews
=
list
.
filter
(
x
=>
(
x
.
path
!==
'/home'
&&
x
.
path
!==
'/businessHome'
&&
x
.
path
!==
'/systemHome'
&&
x
.
path
!==
'/DevopsHome'
&&
x
.
path
!==
'/safeHome'
))
const
tempViews
=
filterViews
.
reduce
((
acc
,
current
)
=>
{
const
exists
=
acc
.
find
(
item
=>
item
.
title
===
current
.
title
)
if
(
!
exists
)
{
acc
.
push
(
current
)
}
return
acc
},
[])
this
.
$set
(
this
,
'visitedViews'
,
tempViews
)
// this.$set(this, 'visitedViews', list.filter(x => (x.path !== '/home' && x.path !== '/businessHome' && x.path !== '/systemHome' && x.path !== '/DevopsHome' && x.path !== '/safeHome')))
}
},
0
)
},
...
...
applications/architecture-dee/src/utils/util.js
View file @
e734c12b
...
...
@@ -1701,6 +1701,22 @@ export function addMinutes(date, minutes) {
const resDate= formatDate(dateFormat, 'YYYY-MM-DD HH:mm:ss')
return resDate
}
/**
* 计算两个日期时间字符串的时间差(单位:分钟)
* @param {*} dateTimeStr1
* @param {*} dateTimeStr2
* @returns
*/
export function getTimeDifferenceInMinutes(dateTimeStr1, dateTimeStr2) {
const date1 = new Date(dateTimeStr1)
const date2 = new Date(dateTimeStr2)
if (isNaN(date1.getTime()) || isNaN(date2.getTime())) {
throw new Error('无效的日期时间字符串')
}
const differenceInMilliseconds = Math.abs(date2 - date1) // 使用Math.abs获取绝对值,确保总是正数
const differenceInSeconds = differenceInMilliseconds / (1000 * 60)
return differenceInSeconds
}
export default {
findByNameVnode,
...
...
@@ -1795,5 +1811,6 @@ export default {
subNum,
getTargetJobResponses,
export_excel,
addMinutes
addMinutes,
getTimeDifferenceInMinutes
}
applications/dee-mes/src/privateComponents/components/AddEquipmentPut/components/dialog.vue
View file @
e734c12b
...
...
@@ -143,7 +143,7 @@ export default {
{
title
:
'AO名称'
,
show
:
true
,
key
:
'
materN
ame'
,
key
:
'
n
ame'
,
sortable
:
true
,
minWidth
:
100
},
...
...
applications/dee-mes/src/privateComponents/components/AddOutStorageUseDetails/components/AddOutStorageUseDetailDialog.vue
View file @
e734c12b
...
...
@@ -88,7 +88,7 @@ export default {
this
.
$set
(
this
.
cmpOptions
,
'layKey'
,
`outStorageUseMaterial_Add_
${
val
}
`
)
break
case
'scrapUse'
:
this
.
amountItemLabel
=
'
报废
数量'
this
.
amountItemLabel
=
'
申领
数量'
this
.
$set
(
this
.
cmpOptions
,
'layKey'
,
`outStorageUseMaterial_Add_
${
val
}
`
)
break
default
:
...
...
applications/dee-mes/src/privateComponents/components/DeploymentCardInfoSelect/index.vue
View file @
e734c12b
...
...
@@ -471,6 +471,11 @@ export default {
const
addTime
=
(
!
this
.
form
.
spec
||
this
.
form
.
spec
===
'/'
)
?
0
:
Number
(
this
.
form
.
spec
)
const
resultDate
=
this
.
$utils
.
addMinutes
(
this
.
form
.
mixStartTime
,
addTime
*
60
)
this
.
$set
(
this
.
form
,
'mixEndTime'
,
resultDate
)
// 设置剩余施工期
if
(
this
.
form
.
mixStartTime
&&
this
.
form
.
validityStart
)
{
const
diffTime
=
addTime
-
this
.
$utils
.
getTimeDifferenceInMinutes
(
this
.
form
.
mixStartTime
,
this
.
form
.
validityStart
)
this
.
$set
(
this
.
form
,
'leftWorkMinutes'
,
diffTime
)
}
}
},
changeRequest
()
{
...
...
applications/dee-mes/src/privateComponents/components/ERP_AddInStorageBackItem/components/ERPAddInStorageBackItemDialog.vue
View file @
e734c12b
...
...
@@ -99,6 +99,7 @@ export default {
if
(
this
.
selection
.
subTypeName
===
'JobResponseOutStorageMatch'
)
{
// 历史配套数据(配套退库使用)
responseName
=
'oldOutStorage'
scrapCount
=
-
(
this
.
selection
.
scrapCount
)
delete
this
.
selection
.
erpInventory
}
else
{
responseName
=
'jobResponseSorting'
}
...
...
@@ -126,7 +127,7 @@ export default {
'aoPlan'
:
aoNo
,
'mdsItemCode'
:
inventoryData
.
extMaterial
.
resCode
}]
data
[
0
][
responseName
]
=
this
.
selection
data
[
0
][
responseName
]
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
selection
))
this
.
$emit
(
'submitEvent'
,
{
formData
:
data
,
addContinue
})
addContinue
&&
this
.
cleanAddForm
()
}
else
{
...
...
applications/dee-mes/src/privateComponents/components/Visualization/AssembleKanban.vue
View file @
e734c12b
...
...
@@ -1905,6 +1905,7 @@
<ExpireWarningDialog
ref=
"ExpireWarningDialog"
/>
<SummaryOfStationMissingPartsDialog
ref=
"SummaryOfStationMissingPartsDialog"
:summary-of-station-missing-parts-params=
"summaryOfStationMissingPartsParams"
/>
<SiteProblemManagementSummaryDialog
ref=
"SiteProblemManagementSummaryDialog"
...
...
@@ -2604,10 +2605,6 @@ export default {
const
chartDom
=
document
.
getElementById
(
'outsourcEchart'
)
const
myChart
=
echarts
.
init
(
chartDom
)
myChart
.
on
(
'click'
,
function
(
params
)
{
if
(
params
)
{
console
.
log
(
'跳转暂时未做,需要做的时候删除这段代码!'
)
return
}
that
.
routerSummaryOfStationMissingParts
(
'外购成品'
,
params
.
name
,
...
...
@@ -2648,10 +2645,6 @@ export default {
const
chartDom
=
document
.
getElementById
(
'sparepartsEchart'
)
const
myChart
=
echarts
.
init
(
chartDom
)
myChart
.
on
(
'click'
,
function
(
params
)
{
if
(
params
)
{
console
.
log
(
'跳转暂时未做,需要做的时候删除这段代码!'
)
return
}
that
.
routerSummaryOfStationMissingParts
(
'零组件'
,
params
.
name
,
...
...
@@ -2690,10 +2683,6 @@ export default {
const
chartDom
=
document
.
getElementById
(
'standardEchart'
)
const
myChart
=
echarts
.
init
(
chartDom
)
myChart
.
on
(
'click'
,
function
(
params
)
{
if
(
params
)
{
console
.
log
(
'跳转暂时未做,需要做的时候删除这段代码!'
)
return
}
that
.
routerSummaryOfStationMissingParts
(
'标准件'
,
params
.
name
,
...
...
@@ -2791,7 +2780,7 @@ export default {
if
(
res
.
message
.
includes
(
'成功'
))
{
Object
.
entries
(
res
.
items
).
forEach
(([
key
,
value
])
=>
{
const
targetIndex
=
superviseOption
.
series
[
0
].
data
.
findIndex
(
el
=>
(
el
.
name
===
key
))
superviseOption
.
series
[
0
].
data
[
targetIndex
]
.
value
=
value
superviseOption
.
series
[
0
].
data
[
targetIndex
]
&&
(
superviseOption
.
series
[
0
].
data
[
targetIndex
].
value
=
value
)
})
}
})
...
...
@@ -2987,7 +2976,9 @@ export default {
name
:
'summaryOfStationMissingParts'
,
query
:
{
name
:
name
,
serialNumber
:
serialNumber
,
rootPage
:
'AssembleKanban'
,
serialNumber
:
this
.
$route
.
query
.
serialNumber
,
sorties
:
this
.
$route
.
query
.
sorties
,
seriesName
:
seriesName
}
}
...
...
applications/dee-mes/src/privateComponents/components/Visualization/Dialog/SiteProblemManagementSummaryDialog.vue
View file @
e734c12b
...
...
@@ -56,6 +56,11 @@ export default {
'fieldName'
:
'sorties'
,
'operator'
:
'EQ'
,
'value'
:
queryData
.
sorties
},
{
'fieldName'
:
'state'
,
'operator'
:
'NEQ'
,
'value'
:
'Finish'
}
]
if
(
queryData
.
rootPage
===
'ExperimentKanban'
)
{
...
...
applications/dee-mes/src/privateComponents/components/Visualization/Dialog/SummaryOfStationMissingPartsDialog.vue
View file @
e734c12b
...
...
@@ -9,30 +9,75 @@
class=
"summary-of-station-missing-parts-dialog"
:destroy-on-close=
"true"
@
close=
"close"
@
opened=
"opened"
>
<!--
<SummaryOfStationMissingParts
/>
-->
<dee-as-com
:default-data=
"extraParams"
:lay-config=
"
{
typeName: 'ExtSupportingItem',
layKey: 'stationMissingPartsSearch'
}"
@searchEvent="searchEvent"
/>
<dee-as-com
ref=
"table"
table-height=
"calc(100vh - 270px)"
class=
"list-table"
:lay-config=
"cmpOptions"
/>
</el-dialog>
</
template
>
<
script
>
// import SummaryOfStationMissingParts from '@/views/mes/materialMatch/summaryOfStationMissingParts/index'
export
default
{
name
:
'SummaryOfStationMissingPartsDialog'
,
components
:
{
// SummaryOfStationMissingParts
},
props
:
{
},
props
:
{
summaryOfStationMissingPartsParams
:
{
type
:
Object
,
default
:
()
=>
{}
}
},
data
()
{
return
{
visible
:
false
visible
:
false
,
cmpOptions
:
{
layKey
:
'stationMissingParts'
,
typeName
:
'ExtSupportingItem'
},
extraParams
:
{}
}
},
computed
:
{
},
created
()
{},
methods
:
{
opened
()
{
const
queryData
=
this
.
summaryOfStationMissingPartsParams
.
query
this
.
extraParams
=
{
isOk
:
queryData
.
seriesName
===
'齐套'
?
'Y'
:
'N'
,
sorties
:
queryData
.
sorties
||
''
,
typeName
:
queryData
.
name
}
if
(
queryData
.
rootPage
===
'ExperimentKanban'
)
{
this
.
extraParams
.
positionNo
=
queryData
.
serialNumber
}
setTimeout
(()
=>
{
this
.
$refs
.
table
.
$refs
.
asCom
.
getData
(
this
.
extraParams
)
},
500
)
},
close
()
{
this
.
$parent
.
SummaryOfStationMissingPartsParams
=
{}
this
.
visible
=
false
},
searchEvent
(
data
)
{
const
searchItem
=
data
&&
data
.
items
||
[]
let
defaultItem
=
{}
if
(
searchItem
&&
searchItem
.
length
)
{
defaultItem
=
searchItem
.
reduce
((
acc
,
item
)
=>
{
acc
[
item
.
fieldName
]
=
item
.
value
return
acc
},
{})
}
else
{
defaultItem
=
this
.
extraParams
}
this
.
$refs
.
table
.
$refs
.
asCom
.
getData
(
defaultItem
)
}
}
}
...
...
applications/dee-mes/src/privateComponents/components/Visualization/ExperimentKanban.vue
View file @
e734c12b
...
...
@@ -1979,7 +1979,7 @@
</div>
<JobPlanExecutionQueryDialog
ref=
"JobPlanExecutionQueryDialog"
:job-plan-execution-query-params=
"JobPlanExecutionQueryParams"
/>
<SQCDPDialog
ref=
"SQCDPDialog"
:sqcdp-params=
"sqcdpParams"
/>
<SummaryOfStationMissingPartsDialog
ref=
"SummaryOfStationMissingPartsDialog"
/>
<SummaryOfStationMissingPartsDialog
ref=
"SummaryOfStationMissingPartsDialog"
:summary-of-station-missing-parts-params=
"summaryOfStationMissingPartsParams"
/>
<SiteProblemManagementSummaryDialog
ref=
"SiteProblemManagementSummaryDialog"
:site-problem-management-summary-params=
"siteProblemManagementSummaryParams"
/>
</div>
</
template
>
...
...
@@ -2592,10 +2592,6 @@ export default {
const
chartDom
=
document
.
getElementById
(
'missPartsEchart'
)
const
myChart
=
echarts
.
init
(
chartDom
)
myChart
.
on
(
'click'
,
function
(
params
)
{
if
(
params
)
{
console
.
log
(
'跳转暂时未做,需要做的时候删除这段代码!'
)
return
}
that
.
routerSummaryOfStationMissingParts
(
params
.
name
,
params
.
seriesName
)
})
myChart
.
setOption
(
optionParts
)
...
...
@@ -2805,11 +2801,13 @@ export default {
* 站位缺件汇总
*/
routerSummaryOfStationMissingParts
(
name
,
seriesName
)
{
this
.
S
ummaryOfStationMissingPartsParams
=
{
this
.
s
ummaryOfStationMissingPartsParams
=
{
name
:
'summaryOfStationMissingParts'
,
query
:
{
name
:
name
,
serialNumber
:
this
.
info
.
serialNumber
,
rootPage
:
'ExperimentKanban'
,
serialNumber
:
this
.
$route
.
query
.
serialNumber
,
sorties
:
this
.
$route
.
query
.
sorties
,
seriesName
:
seriesName
}
}
...
...
applications/dee-mes/src/privateComponents/components/Visualization/ProductionKanban.vue
View file @
e734c12b
...
...
@@ -4,10 +4,11 @@
<
template
>
<div
style=
"height:100%;width:100%"
>
<div
class=
"production-kanban"
>
<header>
<header
v-if=
"!showOverlay"
>
<div
v-for=
"item in
sortiesData
"
v-for=
"item in
displayedFlights
"
:key=
"item.aircraftSorties.defCode"
class=
"flight-item"
:class=
"
sortiesRow.aircraftSorties.defCode === item.aircraftSorties.defCode ? 'cur' : ''
"
...
...
@@ -15,7 +16,22 @@
>
{{
item
.
aircraftSorties
.
defCode
}}
</div>
<div
v-if=
"hasMoreFlights"
class=
"ellipsis"
@
click=
"toggleOverlay"
>
···
</div>
</header>
<div
v-else
class=
"overlay"
>
<h2
class=
"allFightTitle"
>
全部架次
</h2>
<div
v-for=
"item in sortiesData"
:key=
"item.aircraftSorties.defCode"
:class=
"
sortiesRow.aircraftSorties.defCode === item.aircraftSorties.defCode ? 'cur' : ''
"
class=
"overlay-item"
@
click=
"selectFlight(item)"
>
{{
item
.
aircraftSorties
.
defCode
}}
</div>
</div>
<div
v-for=
"item in stationData"
:key=
"item.serialNumber"
...
...
@@ -187,7 +203,8 @@ export default {
}
],
JobPlanExecutionQueryParams
:
{},
erd
:
elementResizeDetectorMaker
()
erd
:
elementResizeDetectorMaker
(),
showOverlay
:
false
}
},
computed
:
{
...
...
@@ -211,6 +228,13 @@ export default {
},
isFullscreen
()
{
return
this
.
$store
.
state
.
storeFull
.
isFullscreen
},
// 默认最多展示十三个
displayedFlights
()
{
return
this
.
sortiesData
.
slice
(
0
,
13
)
},
hasMoreFlights
()
{
return
this
.
sortiesData
.
length
>
13
}
},
created
()
{},
...
...
@@ -467,6 +491,20 @@ export default {
}
else
if
(
document
.
webkitExitFullscreen
)
{
document
.
webkitExitFullscreen
()
}
},
toggleOverlay
()
{
this
.
showOverlay
=
true
},
selectFlight
(
flightObj
)
{
this
.
selectSorties
(
flightObj
.
aircraftSorties
.
defCode
)
const
index
=
this
.
sortiesData
.
findIndex
(
data
=>
{
return
data
.
aircraftSorties
.
defCode
===
flightObj
.
aircraftSorties
.
defCode
})
if
(
index
>
0
)
{
this
.
sortiesData
.
splice
(
index
,
1
)
this
.
sortiesData
.
unshift
(
flightObj
)
this
.
showOverlay
=
false
}
}
}
}
...
...
@@ -494,9 +532,40 @@ position: relative;
>
header
{
position
:
absolute
;
display
:
flex
;
top
:
90
px
;
top
:
103
px
;
left
:
100px
;
>
div
{
.ellipsis
{
width
:
65px
;
height
:
65px
;
line-height
:
65px
;
font-size
:
30px
;
font-weight
:
700
;
color
:
#999
;
cursor
:
pointer
;
}
}
.overlay
{
position
:
absolute
;
top
:
60px
;
left
:
70px
;
width
:
1200px
;
position
:
absolute
;
background-color
:
rgba
(
6
,
24
,
26
,
0
.8
);
display
:
flex
;
flex-wrap
:
wrap
;
align-items
:
flex-end
;
z-index
:
99
;
padding-top
:
10px
;
padding-left
:
30px
;
border-radius
:
6px
;
.allFightTitle
{
width
:
100%
;
margin-bottom
:
10px
;
font-size
:
20px
;
color
:
#D9EBEC
;
}
}
.flight-item
,
.overlay-item
{
width
:
65px
;
height
:
65px
;
background-image
:
url("../../../assets/看板/按钮灰.png")
;
...
...
@@ -520,7 +589,9 @@ position: relative;
margin-right
:
25px
;
}
}
}
.overlay-item
{
margin-bottom
:
20px
;
}
>
.station
{
position
:
absolute
;
// width: 170px;
...
...
applications/dee-mes/src/privateComponents/components/printTagForConfig/index.vue
View file @
e734c12b
...
...
@@ -165,6 +165,7 @@ export default {
{
label
:
'计量单位'
,
value
:
erpInventoryData
.
unit
||
''
},
{
label
:
'机型'
,
value
:
erpSortingData
.
airModel
||
''
},
{
label
:
'架次'
,
value
:
erpSortingData
.
sorties
||
''
},
{
label
:
'分拣人'
,
value
:
erpSortingData
.
creator
.
userName
||
''
},
{
label
:
'库位号'
,
value
:
erpInventoryData
.
workerUnit
||
''
}
]
})
...
...
applications/dee-mes/src/views/assemblyPlanManagement/inspectionDispatch/index.vue
View file @
e734c12b
...
...
@@ -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
)
=>
{
...
...
@@ -205,12 +207,12 @@ export default {
{
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
:
[],
...
...
@@ -288,7 +290,11 @@ export default {
],
groupUserTotal
:
0
,
groupUserPage
:
1
,
isLoading
:
false
isLoading
:
false
,
sortItem
:
[{
'fieldName'
:
'modifyTime'
,
'sortOrder'
:
'desc'
}]
}
},
computed
:
{
...
...
@@ -551,12 +557,7 @@ export default {
]
}
],
'sortItem'
:
[
{
'fieldName'
:
'modifyTime'
,
'sortOrder'
:
'desc'
}
]
'sortItem'
:
this
.
sortItem
}
if
(
this
.
searchFormData
.
sortiesName
)
{
params
.
searchItems
.
children
[
0
].
items
.
push
({
...
...
@@ -654,6 +655,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 @
e734c12b
...
...
@@ -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,10 +251,12 @@ 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
?
'协同'
:
''
}
...
...
@@ -268,14 +272,14 @@ export default {
{
title
:
'工时'
,
key
:
'extProcessPlan.workHour'
,
align
:
'left'
},
{
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
:
[],
...
...
@@ -368,7 +372,11 @@ export default {
groupUserPage
:
1
,
mainUserId
:
null
,
postionList
:
[],
isLoading
:
false
isLoading
:
false
,
sortItem
:
[{
'fieldName'
:
'modifyTime'
,
'sortOrder'
:
'desc'
}]
}
},
computed
:
{
...
...
@@ -631,12 +639,7 @@ export default {
'name'
:
'cooperatives'
}
],
'sortItem'
:
[
{
'fieldName'
:
'modifyTime'
,
'sortOrder'
:
'desc'
}
]
'sortItem'
:
this
.
sortItem
}
if
(
this
.
searchFormData
.
sorties
)
{
params
.
searchItems
.
children
[
0
].
items
.
push
({
...
...
@@ -740,6 +743,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 @
e734c12b
...
...
@@ -768,6 +768,7 @@ export default {
}
}
.right-container
{
background-color
:
#fff
;
margin-left
:
20px
;
}
}
...
...
applications/dee-mes/src/views/assemblyPlanManagement/stationPlanMaintenance/stationPlanList.vue
View file @
e734c12b
...
...
@@ -228,17 +228,17 @@ export default {
showSearchConditions
:
true
,
// 控制搜索条件是否显示
editableTabs
:
[{
id
:
1
,
name
:
'计划下达'
,
name
:
'
AO/AOR
计划下达'
,
configName
:
'JoExecutePlanSend'
},
{
id
:
2
,
name
:
'CAS
配套
'
,
name
:
'CAS
计划下达
'
,
configName
:
'CasAssemble'
}],
currTab
:
{
id
:
1
,
name
:
'计划下达'
,
name
:
'
AO/AOR
计划下达'
,
configName
:
'JoExecutePlanSend'
}
}
...
...
applications/dee-mes/src/views/taskExecution/components/AttachmentUpload/dialog.vue
View file @
e734c12b
...
...
@@ -39,6 +39,7 @@ import { post } from '@/utils/http'
export
default
{
name
:
'StorageExperimentDialog'
,
data
()
{
const
_that
=
this
return
{
visible
:
false
,
loading
:
false
,
...
...
@@ -71,7 +72,30 @@ export default {
'show'
:
true
,
'headerAlign'
:
'center'
,
'align'
:
'left'
},
{
align
:
'center'
,
headerAlign
:
'center'
,
key
:
'target.contentType'
,
parentKey
:
'target'
,
level
:
1
,
show
:
true
,
title
:
'备注'
,
component
:
{
componentType
:
'render'
,
render
:
(
h
,
data
,
column
,
index
)
=>
{
return
<
el
-
input
v
-
model
=
{
data
.
target
.
contentType
}
class
=
'modify-state-select'
size
=
'small'
v
-
on
:
change
=
{(
val
)
=>
{
data
.
operator
=
'MODIFY'
data
.
contentType
=
data
.
target
.
contentType
_that
.
$set
(
_that
.
process
.
fileList
,
index
,
data
)
}}
>
<
/el-input
>
}
}
}
],
tableConfig
:
{
component
:
{
...
...
@@ -96,6 +120,7 @@ export default {
taleType
:
'single'
,
url
:
'/dfs/fileManager/feign/uploadFile'
},
isAttachmentUsedSecret
:
true
,
descriptionShowMode
:
'text'
,
hidden
:
false
,
key
:
'objFileLinks'
,
...
...
applications/dee-mes/src/views/taskExecution/index.vue
View file @
e734c12b
...
...
@@ -214,6 +214,12 @@
label=
"扩展名"
align=
"center"
/>
<el-table-column
min-width=
"120"
prop=
"contentType"
label=
"备注"
align=
"center"
/>
</el-table>
</div>
<!--
<span
...
...
applications/dee-task-center/src/views/home/compontents/my-task.vue
View file @
e734c12b
...
...
@@ -126,8 +126,13 @@ export default {
appId
:
1626782774851
},
{
taskType
:
'配套自动退库确认'
,
type
:
'ERP_MatchAutoReturnConfirm'
,
taskType
:
'配套退库申请'
,
type
:
'ERP_MatchReturnApply'
,
appId
:
1626782774851
},
{
taskType
:
'配套退库确认'
,
type
:
'ERP_MatchReturnConfirm'
,
appId
:
1626782774851
},
{
...
...
@@ -135,6 +140,11 @@ export default {
type
:
'ERP_StockBackConfirm'
,
appId
:
1626782774851
},
{
taskType
:
'台账退库确认'
,
type
:
'ERP_InventoryBackConfirm'
,
appId
:
1626782774851
},
{
taskType
:
'入库台账确认'
,
type
:
'ERP_ErpInventoryConfirm'
,
...
...
@@ -230,7 +240,7 @@ export default {
get
(
`/indexTask/task/ProdTask`
,
{}).
then
(
res
=>
{
this
.
$set
(
this
.
quickAccessList
[
index
],
'taskCount'
,
res
.
items
.
count
)
})
}
else
if
(
item
.
taskType
===
'准备工出库调整'
||
item
.
taskType
===
'操作工确认'
||
item
.
taskType
===
'配套自动退库确认'
)
{
}
else
if
(
item
.
taskType
===
'准备工出库调整'
||
item
.
taskType
===
'操作工确认'
)
{
post
(
`/ErpSorting/currentUserSortingTaskCount`
,
{}).
then
(
res
=>
{
let
resKey
=
''
switch
(
item
.
taskType
)
{
...
...
@@ -240,16 +250,50 @@ export default {
case
'操作工确认'
:
resKey
=
'操作工任务数量'
break
case
'配套自动退库确认'
:
resKey
=
'自动配套退库任务'
break
default
:
break
}
this
.
$set
(
this
.
quickAccessList
[
index
],
'taskCount'
,
res
.
items
[
resKey
])
})
}
else
if
(
item
.
taskType
===
'配套退库申请'
)
{
post
(
`/ErpRetirementRequest/searchBackApplyTaskCount`
,
{
'searchItems'
:
{
'items'
:
[
{
'fieldName'
:
'state'
,
'operator'
:
'IN'
,
'value'
:
[
'Apply'
,
'Back'
]
},
{
'fieldName'
:
'subTypeName'
,
'operator'
:
'EQ'
,
'value'
:
'MatchStockBackRequest'
},
{
'fieldName'
:
'extProcessPlan.joExecutePlan.prodTask.extProcessSkillUser.dxUserInfoId '
,
'operator'
:
'EQ'
,
'value'
:
localStorage
.
getItem
(
'userId'
)
},
{
'fieldName'
:
'extProcessPlan.joExecutePlan.prodTask'
,
'operator'
:
'EQ'
,
'value'
:
'FitOut'
}
]
}
}).
then
(
res
=>
{
this
.
$set
(
this
.
quickAccessList
[
index
],
'taskCount'
,
res
.
items
)
})
}
else
if
(
item
.
taskType
===
'配套退库确认'
)
{
post
(
`/ErpRetirementRequest/searchBackTaskCount?subTypeName=MatchStockBackRequest`
,
{}).
then
(
res
=>
{
this
.
$set
(
this
.
quickAccessList
[
index
],
'taskCount'
,
res
.
items
)
})
}
else
if
(
item
.
taskType
===
'库内退库确认'
)
{
post
(
`/ErpRetirementRequest/searchBackTaskCount`
,
{}).
then
(
res
=>
{
post
(
`/ErpRetirementRequest/searchBackTaskCount?subTypeName=InternalStockBackRequest`
,
{}).
then
(
res
=>
{
this
.
$set
(
this
.
quickAccessList
[
index
],
'taskCount'
,
res
.
items
)
})
}
else
if
(
item
.
taskType
===
'台账退库确认'
)
{
post
(
`/ErpRetirementRequest/searchBackTaskCount?subTypeName=InventoryStockBackRequest`
,
{}).
then
(
res
=>
{
this
.
$set
(
this
.
quickAccessList
[
index
],
'taskCount'
,
res
.
items
)
})
}
else
if
(
item
.
taskType
===
'入库台账确认'
)
{
...
...
@@ -305,7 +349,7 @@ export default {
}
})
this
.
$store
.
dispatch
(
'app/closeSideBar'
,
false
)
}
else
if
([
'准备工出库调整'
,
'操作工确认'
,
'配套
自动退库确认'
,
'库内退库确认'
,
'领用出库确认'
,
'入库台账
确认'
].
includes
(
item
.
taskType
))
{
}
else
if
([
'准备工出库调整'
,
'操作工确认'
,
'配套
退库申请'
,
'配套退库确认'
,
'库内退库确认'
,
'领用出库确认'
,
'入库台账确认'
,
'台账退库
确认'
].
includes
(
item
.
taskType
))
{
let
pageNo
=
''
switch
(
item
.
taskType
)
{
case
'准备工出库调整'
:
...
...
@@ -314,12 +358,18 @@ export default {
case
'操作工确认'
:
pageNo
=
'038a430e-facf-4fcb-9b98-2bf75c226681'
break
case
'配套自动退库确认'
:
case
'配套退库申请'
:
pageNo
=
'4db88bc5-b77d-4020-84fb-01271a75dd3d'
break
case
'配套退库确认'
:
pageNo
=
'102e307a-342e-4786-8a9a-a50465ab1721'
break
case
'库内退库确认'
:
pageNo
=
'219cf48e-020a-4048-85d7-d5c2b83537f4'
break
case
'台账退库确认'
:
pageNo
=
'b9c04cfc-95b4-4584-ba31-c1c52a4d0047'
break
case
'入库台账确认'
:
pageNo
=
'a04bba16-f4c4-47ec-baab-57e784551808'
break
...
...
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