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
02312615
Commit
02312615
authored
Sep 19, 2024
by
jingnan
👀
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'online'
parents
c08afedf
8c36983d
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
53 additions
and
19 deletions
+53
-19
index.vue
...architecture-dee/src/layout/components/TagsView/index.vue
+10
-1
util.js
applications/architecture-dee/src/utils/util.js
+18
-1
index.vue
...teComponents/components/AddOutStorageUseDetails/index.vue
+3
-0
index.vue
...ivateComponents/components/MatchRequestItemsCon/index.vue
+13
-1
AssembleKanban.vue
...ateComponents/components/Visualization/AssembleKanban.vue
+1
-1
SQCDPDialog.vue
...omponents/components/Visualization/Dialog/SQCDPDialog.vue
+1
-1
index.vue
...ment/instructionIdentification/components/right/index.vue
+5
-1
left.vue
...ter/myPlanTask/outStorageMatchConfirm/components/left.vue
+2
-13
No files found.
applications/architecture-dee/src/layout/components/TagsView/index.vue
View file @
02312615
...
@@ -222,7 +222,16 @@ export default {
...
@@ -222,7 +222,16 @@ export default {
Object
.
keys
(
this
.
$store
.
state
.
tagsView
.
visitedViews
).
forEach
(
key
=>
{
Object
.
keys
(
this
.
$store
.
state
.
tagsView
.
visitedViews
).
forEach
(
key
=>
{
list
=
[...
list
,
...
this
.
$store
.
state
.
tagsView
.
visitedViews
[
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
)
},
0
)
},
},
...
...
applications/architecture-dee/src/utils/util.js
View file @
02312615
...
@@ -1661,6 +1661,22 @@ export function addMinutes(date, minutes) {
...
@@ -1661,6 +1661,22 @@ export function addMinutes(date, minutes) {
const resDate= formatDate(dateFormat, 'YYYY-MM-DD HH:mm:ss')
const resDate= formatDate(dateFormat, 'YYYY-MM-DD HH:mm:ss')
return resDate
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 {
export default {
findByNameVnode,
findByNameVnode,
...
@@ -1753,5 +1769,6 @@ export default {
...
@@ -1753,5 +1769,6 @@ export default {
subNum,
subNum,
getTargetJobResponses,
getTargetJobResponses,
export_excel,
export_excel,
addMinutes
addMinutes,
getTimeDifferenceInMinutes
}
}
applications/dee-mes/src/privateComponents/components/AddOutStorageUseDetails/index.vue
View file @
02312615
...
@@ -272,6 +272,9 @@ export default {
...
@@ -272,6 +272,9 @@ export default {
form
.
aircraftType
=
form
.
aircraftType
&&
form
.
aircraftType
.
includes
(
'+'
)
&&
form
.
aircraftType
.
split
(
'+'
)[
1
]
||
form
.
aircraftType
form
.
aircraftType
=
form
.
aircraftType
&&
form
.
aircraftType
.
includes
(
'+'
)
&&
form
.
aircraftType
.
split
(
'+'
)[
1
]
||
form
.
aircraftType
form
.
sorties
=
form
.
sorties
&&
form
.
sorties
.
includes
(
'+'
)
&&
form
.
sorties
.
split
(
'+'
)[
1
]
||
form
.
sorties
form
.
sorties
=
form
.
sorties
&&
form
.
sorties
.
includes
(
'+'
)
&&
form
.
sorties
.
split
(
'+'
)[
1
]
||
form
.
sorties
const
typeName
=
this
.
basicData
.
useRequestType
const
typeName
=
this
.
basicData
.
useRequestType
if
(
typeName
===
'UrgentUse'
)
{
// 紧急领用的出库架次均为NA
form
.
sorties
=
'NA'
}
const
param
=
{
const
param
=
{
...
form
,
...
form
,
typeName
:
typeName
,
// 领用类型
typeName
:
typeName
,
// 领用类型
...
...
applications/dee-mes/src/privateComponents/components/MatchRequestItemsCon/index.vue
View file @
02312615
...
@@ -179,11 +179,23 @@ export default {
...
@@ -179,11 +179,23 @@ export default {
if
(
this
.
hideMaterial
)
{
if
(
this
.
hideMaterial
)
{
this
.
tableData
.
forEach
(
row
=>
{
this
.
tableData
.
forEach
(
row
=>
{
if
(
!
row
.
extMaterial
.
resType2
.
typeCode
.
includes
(
'金属材料'
)
&&
!
row
.
extMaterial
.
resType2
.
typeCode
.
includes
(
'工装'
)
&&
!
row
.
extMaterial
.
resType2
.
typeCode
.
includes
(
'工具'
)
&&
!
row
.
extMaterial
.
resType2
.
typeCode
.
includes
(
'设备'
))
{
if
(
!
row
.
extMaterial
.
resType2
.
typeCode
.
includes
(
'金属材料'
)
&&
!
row
.
extMaterial
.
resType2
.
typeCode
.
includes
(
'工装'
)
&&
!
row
.
extMaterial
.
resType2
.
typeCode
.
includes
(
'工具'
)
&&
!
row
.
extMaterial
.
resType2
.
typeCode
.
includes
(
'设备'
))
{
row
.
parentAreaName
=
this
.
basicData
.
extProcessPlan
&&
this
.
basicData
.
extProcessPlan
.
extSupportings
&&
this
.
basicData
.
extProcessPlan
.
extSupportings
[
0
]
&&
this
.
basicData
.
extProcessPlan
.
extSupportings
[
0
].
extDxProductArea
&&
this
.
basicData
.
extProcessPlan
.
extSupportings
[
0
].
extDxProductArea
.
extname
||
''
resData
.
push
(
row
)
resData
.
push
(
row
)
}
}
})
})
}
else
{
}
else
{
resData
=
this
.
tableData
resData
=
this
.
tableData
.
map
(
item
=>
{
item
.
parentAreaName
=
this
.
basicData
.
extProcessPlan
&&
this
.
basicData
.
extProcessPlan
.
extSupportings
&&
this
.
basicData
.
extProcessPlan
.
extSupportings
[
0
]
&&
this
.
basicData
.
extProcessPlan
.
extSupportings
[
0
].
extDxProductArea
&&
this
.
basicData
.
extProcessPlan
.
extSupportings
[
0
].
extDxProductArea
.
extname
||
''
return
item
})
}
}
return
resData
return
resData
},
},
...
...
applications/dee-mes/src/privateComponents/components/Visualization/AssembleKanban.vue
View file @
02312615
...
@@ -2941,7 +2941,7 @@ export default {
...
@@ -2941,7 +2941,7 @@ export default {
name
:
'sqcdpMaintain'
,
name
:
'sqcdpMaintain'
,
query
:
{
query
:
{
name
:
name
,
name
:
name
,
sorties
:
this
.
info
.
aircraftSorties
.
defCode
,
//
sorties: this.info.aircraftSorties.defCode,
// serialNumber: this.$route.query.serialNumber,
// serialNumber: this.$route.query.serialNumber,
data
:
data
data
:
data
}
}
...
...
applications/dee-mes/src/privateComponents/components/Visualization/Dialog/SQCDPDialog.vue
View file @
02312615
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
:visible
.
sync=
"visible"
:visible
.
sync=
"visible"
fullscreen
fullscreen
:modal=
"false"
:modal=
"false"
title=
"
sqcdp
维护"
title=
"
SQCDP
维护"
:modal-append-to-body=
"false"
:modal-append-to-body=
"false"
class=
"sqcdp-dialog"
class=
"sqcdp-dialog"
:destroy-on-close=
"true"
:destroy-on-close=
"true"
...
...
applications/dee-mes/src/views/assemblyPlanManagement/instructionIdentification/components/right/index.vue
View file @
02312615
...
@@ -828,6 +828,7 @@ export default {
...
@@ -828,6 +828,7 @@ export default {
.
then
((
res
)
=>
{
.
then
((
res
)
=>
{
if
(
res
.
message
.
includes
(
'成功'
))
{
if
(
res
.
message
.
includes
(
'成功'
))
{
this
.
getTableData
(
this
.
nodeData
,
this
.
level
)
this
.
getTableData
(
this
.
nodeData
,
this
.
level
)
this
.
$utils
.
showMessageSuccess
(
res
.
message
)
}
else
{
}
else
{
this
.
$message
({
this
.
$message
({
showClose
:
true
,
showClose
:
true
,
...
@@ -845,6 +846,7 @@ export default {
...
@@ -845,6 +846,7 @@ export default {
.
then
((
res
)
=>
{
.
then
((
res
)
=>
{
if
(
res
.
message
.
includes
(
'成功'
))
{
if
(
res
.
message
.
includes
(
'成功'
))
{
this
.
getTableData
(
this
.
nodeData
,
this
.
level
)
this
.
getTableData
(
this
.
nodeData
,
this
.
level
)
this
.
$utils
.
showMessageSuccess
(
res
.
message
)
}
else
{
}
else
{
this
.
$message
({
this
.
$message
({
showClose
:
true
,
showClose
:
true
,
...
@@ -854,7 +856,9 @@ export default {
...
@@ -854,7 +856,9 @@ export default {
}
}
})
})
.
catch
((
err
)
=>
console
.
error
(
err
))
.
catch
((
err
)
=>
console
.
error
(
err
))
.
finally
(()
=>
{})
.
finally
(()
=>
{
this
.
aoLoading
=
false
})
},
},
/**
/**
* 表一多选框
* 表一多选框
...
...
applications/dee-task-center/src/views/workflow/task-center/myPlanTask/outStorageMatchConfirm/components/left.vue
View file @
02312615
...
@@ -135,18 +135,8 @@ export default {
...
@@ -135,18 +135,8 @@ export default {
methods
:
{
methods
:
{
// 加载左侧申请表
// 加载左侧申请表
init
()
{
init
()
{
// const searchData = obtainedParams.searchFormData ? obtainedParams.searchFormData.items : []
// const extraItems = obtainedParams.extraBaseParams || []
const
items
=
[]
const
items
=
[]
if
(
this
.
form
.
scheduledStart
)
{
const
timeStr
=
this
.
form
.
scheduledStart
&&
`&startTime=
${
this
.
form
.
scheduledStart
[
0
]
+
' 00:00:00'
}
&endTime=
${
this
.
form
.
scheduledStart
[
1
]
+
' 23:59:59'
}
`
||
''
items
.
push
({
fieldName
:
'joExecutePlan.scheduledStart'
,
operator
:
'BTWN'
,
searchItemType
:
'Date'
,
value
:
this
.
form
.
scheduledStart
[
0
]
+
' 00:00:00'
,
value1
:
this
.
form
.
scheduledStart
[
1
]
+
' 23:59:59'
})
}
const
params
=
{
const
params
=
{
'pageFrom'
:
1
,
'pageFrom'
:
1
,
'pageSize'
:
9999
,
'pageSize'
:
9999
,
...
@@ -191,8 +181,7 @@ export default {
...
@@ -191,8 +181,7 @@ export default {
this
.
checkedAll
=
false
this
.
checkedAll
=
false
this
.
isIndeterminate
=
false
this
.
isIndeterminate
=
false
this
.
checkedLists
=
[]
this
.
checkedLists
=
[]
// return new Promise((resolve, reject) => {
post
(
`OutStorageRequest/search/matchStorageExpireToAo?taskDefinitionKey=
${
this
.
selectData
.
taskKey
}${
timeStr
}
`
,
params
).
then
(
res
=>
{
post
(
`OutStorageRequest/search/matchStorageExpireToAo?taskDefinitionKey=
${
this
.
selectData
.
taskKey
}
`
,
params
).
then
(
res
=>
{
const
data
=
res
.
items
.
content
.
map
(
item
=>
{
const
data
=
res
.
items
.
content
.
map
(
item
=>
{
return
{
return
{
...
item
,
...
item
,
...
...
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