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
091d4de4
Commit
091d4de4
authored
Sep 25, 2023
by
jingnan
👀
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://94.191.100.41/tfmom/tf-mom-web
into dev
parents
7e6a350e
4d552f17
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
97 additions
and
21 deletions
+97
-21
index.vue
.../taskExecution/components/TechnicalRequirements/index.vue
+93
-17
index.vue
applications/dee-mes/src/views/taskExecution/index.vue
+4
-4
No files found.
applications/dee-mes/src/views/taskExecution/components/TechnicalRequirements/index.vue
View file @
091d4de4
...
...
@@ -54,15 +54,22 @@ export default {
open
()
{
this
.
visible
=
true
this
.
$nextTick
(()
=>
{
this
.
getTablesData
()
this
.
getTablesData
(
1
)
this
.
getTablesData
(
2
)
this
.
getFrockTable
()
})
},
handleClose
()
{},
getTablesData
()
{
getTablesData
(
value
)
{
var
that
=
this
if
(
value
===
1
)
{
this
.
$refs
.
table1
.
loading
=
true
}
else
{
this
.
$refs
.
table2
.
loading
=
true
this
.
$refs
.
table3
.
loading
=
true
}
this
.
$refs
.
table1
.
loading
=
true
this
.
$refs
.
table2
.
loading
=
true
// this.$refs.table3.loading = true
const
params
=
{
'searchItems'
:
{
'children'
:
[
...
...
@@ -71,13 +78,13 @@ export default {
{
'fieldName'
:
'extProcessDocLinks.sourceId'
,
'operator'
:
'EQ'
,
'value'
:
'249403670569000'
//
'value': this.$parent.headerData.aoId
//
'value': '249403670569000'
'value'
:
this
.
$parent
.
headerData
.
aoId
},
{
'fieldName'
:
'subTypeName'
,
'operator'
:
'EQ
'
,
'value'
:
'DxProcessPlanDesignView'
'operator'
:
value
===
1
?
'EQ'
:
'IN
'
,
'value'
:
value
===
1
?
'DxProcessPlanDesignView'
:
[
'DocInnerRef'
,
'DocOuterRef'
]
}
],
'operator'
:
'AND'
...
...
@@ -103,16 +110,20 @@ export default {
params
)
.
then
((
res
)
=>
{
if
(
res
.
message
.
includes
(
'成功'
))
{
this
.
tableDesign
=
res
.
items
.
designViews
||
[]
this
.
tableFile
=
res
.
items
.
docRefs
||
[]
this
.
tableClothes
=
res
.
items
.
materialVos
||
[]
this
.
versionChangeDesc
=
res
.
items
.
dxProcessPlanVo
.
versionChangeDesc
this
.
prepareDescription
=
res
.
items
.
dxProcessPlanVo
.
prepareDescription
this
.
workDescription
=
res
.
items
.
dxProcessPlanVo
.
workDescription
if
(
value
===
1
)
{
this
.
tableDesign
=
res
.
items
.
content
||
[]
}
else
{
this
.
tableFile
=
res
.
items
.
content
||
[]
}
// this.versionChangeDesc = res.items.dxProcessPlanVo.versionChangeDesc
// this.prepareDescription = res.items.dxProcessPlanVo.prepareDescription
// this.workDescription = res.items.dxProcessPlanVo.workDescription
this
.
$nextTick
(()
=>
{
if
(
value
===
1
)
{
this
.
$refs
.
table1
.
init
()
}
else
{
this
.
$refs
.
table2
.
init
()
this
.
$refs
.
table3
.
init
()
}
})
}
else
{
that
.
$message
({
...
...
@@ -124,8 +135,73 @@ export default {
})
.
catch
((
err
)
=>
console
.
error
(
err
))
.
finally
(()
=>
{
if
(
value
===
1
)
{
this
.
$refs
.
table1
.
loading
=
false
}
else
{
this
.
$refs
.
table2
.
loading
=
false
}
// this.$refs.table1.loading = false
// this.$refs.table2.loading = false
// this.$refs.table3.loading = false
})
},
getFrockTable
()
{
var
that
=
this
this
.
$refs
.
table3
.
loading
=
true
const
params
=
{
'searchItems'
:
{
'children'
:
[
{
'items'
:
[
{
'fieldName'
:
'source.targetExtProcessUsageLink.sourceId'
,
'operator'
:
'EQ'
,
// 'value': '249391817076000'
'value'
:
this
.
$parent
.
headerData
.
aoId
},
{
'fieldName'
:
'subTypeName'
,
'operator'
:
'EQ'
,
'value'
:
'ExtProcessOperation'
}
],
'operator'
:
'AND'
}
],
'items'
:
[],
'operator'
:
'AND'
},
'openProps'
:
[
{
'name'
:
'target'
}
],
'sortItem'
:
[
{
'fieldName'
:
'modifyTime'
,
'sortOrder'
:
'desc'
}
],
'toValidateKeys'
:
''
}
post
(
`/ExtProcessResourceLink/search`
,
params
)
.
then
((
res
)
=>
{
if
(
res
.
message
.
includes
(
'成功'
))
{
this
.
tableClothes
=
res
.
items
.
content
||
[]
this
.
$nextTick
(()
=>
{
this
.
$refs
.
table3
.
init
()
})
}
else
{
that
.
$message
({
showClose
:
true
,
message
:
'保存失败'
,
type
:
'error'
})
}
})
.
catch
((
err
)
=>
console
.
error
(
err
))
.
finally
(()
=>
{
this
.
$refs
.
table3
.
loading
=
false
})
}
...
...
applications/dee-mes/src/views/taskExecution/index.vue
View file @
091d4de4
...
...
@@ -812,23 +812,23 @@ export default {
isOKClothesLink
:
p
.
joExecuteOpPlan
[
0
].
isOKClothesLink
,
isOKToolLink
:
p
.
joExecuteOpPlan
[
0
].
isOKToolLink
,
deviceLink
:
p
.
joExecuteOpPlan
[
0
].
deviceLink
,
operator
:
p
.
joExecuteOpPlan
.
length
&&
operator
:
p
.
joExecuteOpPlan
.
length
&&
p
.
joExecuteOpPlan
[
0
].
jrExecuteOpPlans
&&
p
.
joExecuteOpPlan
[
0
].
jrExecuteOpPlans
.
length
&&
p
.
joExecuteOpPlan
[
0
].
jrExecuteOpPlans
[
0
].
operatorUser
?
p
.
joExecuteOpPlan
[
0
].
jrExecuteOpPlans
[
0
].
operatorUser
.
userName
+
' '
+
p
.
joExecuteOpPlan
[
0
].
jrExecuteOpPlans
[
0
].
operatorTime
:
''
,
testor
:
p
.
joExecuteOpPlan
.
length
&&
p
.
joExecuteOpPlan
.
length
&&
p
.
joExecuteOpPlan
[
0
].
jrExecuteOpPlans
&&
p
.
joExecuteOpPlan
[
0
].
jrExecuteOpPlans
.
length
&&
p
.
joExecuteOpPlan
[
0
].
jrExecuteOpPlans
[
0
].
testor
?
p
.
joExecuteOpPlan
[
0
].
jrExecuteOpPlans
[
0
].
testor
.
userName
+
' '
+
p
.
joExecuteOpPlan
[
0
].
jrExecuteOpPlans
[
0
].
testorTime
:
''
,
dmir
:
{
dmriImg
:
p
.
joExecuteOpPlan
.
length
&&
p
.
joExecuteOpPlan
[
0
].
jrExecuteOpPlans
.
length
&&
p
.
joExecuteOpPlan
.
length
&&
p
.
joExecuteOpPlan
[
0
].
jrExecuteOpPlans
&&
p
.
joExecuteOpPlan
[
0
].
jrExecuteOpPlans
.
length
&&
p
.
joExecuteOpPlan
[
0
].
jrExecuteOpPlans
[
0
].
dmriImg
,
dmirTime
:
p
.
joExecuteOpPlan
.
length
&&
p
.
joExecuteOpPlan
[
0
].
jrExecuteOpPlans
.
length
&&
p
.
joExecuteOpPlan
.
length
&&
p
.
joExecuteOpPlan
[
0
].
jrExecuteOpPlans
&&
p
.
joExecuteOpPlan
[
0
].
jrExecuteOpPlans
.
length
&&
p
.
joExecuteOpPlan
[
0
].
jrExecuteOpPlans
[
0
].
dmirTime
},
fileList
:
p
.
objFileLinks
?
p
.
objFileLinks
:
[]
...
...
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