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
4d552f17
Commit
4d552f17
authored
Sep 25, 2023
by
旭艳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改技术要求
parent
c8420f24
Hide 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 @
4d552f17
...
...
@@ -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
.
table1
.
loading
=
true
this
.
$refs
.
table2
.
loading
=
true
this
.
$refs
.
table3
.
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,15 +110,86 @@ 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
()
}
})
}
else
{
that
.
$message
({
showClose
:
true
,
message
:
'保存失败'
,
type
:
'error'
})
}
})
.
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
.
table1
.
init
()
this
.
$refs
.
table2
.
init
()
this
.
$refs
.
table3
.
init
()
})
}
else
{
...
...
@@ -124,8 +202,6 @@ export default {
})
.
catch
((
err
)
=>
console
.
error
(
err
))
.
finally
(()
=>
{
this
.
$refs
.
table1
.
loading
=
false
this
.
$refs
.
table2
.
loading
=
false
this
.
$refs
.
table3
.
loading
=
false
})
}
...
...
applications/dee-mes/src/views/taskExecution/index.vue
View file @
4d552f17
...
...
@@ -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