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
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 @
091d4de4
...
@@ -54,15 +54,22 @@ export default {
...
@@ -54,15 +54,22 @@ export default {
open
()
{
open
()
{
this
.
visible
=
true
this
.
visible
=
true
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
this
.
getTablesData
()
this
.
getTablesData
(
1
)
this
.
getTablesData
(
2
)
this
.
getFrockTable
()
})
})
},
},
handleClose
()
{},
handleClose
()
{},
getTablesData
()
{
getTablesData
(
value
)
{
var
that
=
this
var
that
=
this
if
(
value
===
1
)
{
this
.
$refs
.
table1
.
loading
=
true
}
else
{
this
.
$refs
.
table2
.
loading
=
true
}
this
.
$refs
.
table1
.
loading
=
true
this
.
$refs
.
table1
.
loading
=
true
this
.
$refs
.
table2
.
loading
=
true
this
.
$refs
.
table2
.
loading
=
true
this
.
$refs
.
table3
.
loading
=
true
//
this.$refs.table3.loading = true
const
params
=
{
const
params
=
{
'searchItems'
:
{
'searchItems'
:
{
'children'
:
[
'children'
:
[
...
@@ -71,13 +78,13 @@ export default {
...
@@ -71,13 +78,13 @@ export default {
{
{
'fieldName'
:
'extProcessDocLinks.sourceId'
,
'fieldName'
:
'extProcessDocLinks.sourceId'
,
'operator'
:
'EQ'
,
'operator'
:
'EQ'
,
'value'
:
'249403670569000'
//
'value': '249403670569000'
//
'value': this.$parent.headerData.aoId
'value'
:
this
.
$parent
.
headerData
.
aoId
},
},
{
{
'fieldName'
:
'subTypeName'
,
'fieldName'
:
'subTypeName'
,
'operator'
:
'EQ
'
,
'operator'
:
value
===
1
?
'EQ'
:
'IN
'
,
'value'
:
'DxProcessPlanDesignView'
'value'
:
value
===
1
?
'DxProcessPlanDesignView'
:
[
'DocInnerRef'
,
'DocOuterRef'
]
}
}
],
],
'operator'
:
'AND'
'operator'
:
'AND'
...
@@ -103,15 +110,86 @@ export default {
...
@@ -103,15 +110,86 @@ export default {
params
)
params
)
.
then
((
res
)
=>
{
.
then
((
res
)
=>
{
if
(
res
.
message
.
includes
(
'成功'
))
{
if
(
res
.
message
.
includes
(
'成功'
))
{
this
.
tableDesign
=
res
.
items
.
designViews
||
[]
if
(
value
===
1
)
{
this
.
tableFile
=
res
.
items
.
docRefs
||
[]
this
.
tableDesign
=
res
.
items
.
content
||
[]
this
.
tableClothes
=
res
.
items
.
materialVos
||
[]
}
else
{
this
.
versionChangeDesc
=
res
.
items
.
dxProcessPlanVo
.
versionChangeDesc
this
.
tableFile
=
res
.
items
.
content
||
[]
this
.
prepareDescription
=
res
.
items
.
dxProcessPlanVo
.
prepareDescription
}
this
.
workDescription
=
res
.
items
.
dxProcessPlanVo
.
workDescription
// 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
.
$nextTick
(()
=>
{
this
.
$refs
.
table1
.
init
()
this
.
$refs
.
table2
.
init
()
this
.
$refs
.
table3
.
init
()
this
.
$refs
.
table3
.
init
()
})
})
}
else
{
}
else
{
...
@@ -124,8 +202,6 @@ export default {
...
@@ -124,8 +202,6 @@ export default {
})
})
.
catch
((
err
)
=>
console
.
error
(
err
))
.
catch
((
err
)
=>
console
.
error
(
err
))
.
finally
(()
=>
{
.
finally
(()
=>
{
this
.
$refs
.
table1
.
loading
=
false
this
.
$refs
.
table2
.
loading
=
false
this
.
$refs
.
table3
.
loading
=
false
this
.
$refs
.
table3
.
loading
=
false
})
})
}
}
...
...
applications/dee-mes/src/views/taskExecution/index.vue
View file @
091d4de4
...
@@ -812,23 +812,23 @@ export default {
...
@@ -812,23 +812,23 @@ export default {
isOKClothesLink
:
p
.
joExecuteOpPlan
[
0
].
isOKClothesLink
,
isOKClothesLink
:
p
.
joExecuteOpPlan
[
0
].
isOKClothesLink
,
isOKToolLink
:
p
.
joExecuteOpPlan
[
0
].
isOKToolLink
,
isOKToolLink
:
p
.
joExecuteOpPlan
[
0
].
isOKToolLink
,
deviceLink
:
p
.
joExecuteOpPlan
[
0
].
deviceLink
,
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
.
length
&&
p
.
joExecuteOpPlan
[
0
].
jrExecuteOpPlans
[
0
].
operatorUser
?
p
.
joExecuteOpPlan
[
0
].
jrExecuteOpPlans
[
0
].
operatorUser
.
userName
+
?
p
.
joExecuteOpPlan
[
0
].
jrExecuteOpPlans
[
0
].
operatorUser
.
userName
+
' '
+
' '
+
p
.
joExecuteOpPlan
[
0
].
jrExecuteOpPlans
[
0
].
operatorTime
p
.
joExecuteOpPlan
[
0
].
jrExecuteOpPlans
[
0
].
operatorTime
:
''
,
:
''
,
testor
:
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
.
length
&&
p
.
joExecuteOpPlan
[
0
].
jrExecuteOpPlans
[
0
].
testor
?
p
.
joExecuteOpPlan
[
0
].
jrExecuteOpPlans
[
0
].
testor
.
userName
+
' '
+
' '
+
p
.
joExecuteOpPlan
[
0
].
jrExecuteOpPlans
[
0
].
testorTime
:
''
,
p
.
joExecuteOpPlan
[
0
].
jrExecuteOpPlans
[
0
].
testorTime
:
''
,
dmir
:
{
dmir
:
{
dmriImg
:
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
,
p
.
joExecuteOpPlan
[
0
].
jrExecuteOpPlans
[
0
].
dmriImg
,
dmirTime
:
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
p
.
joExecuteOpPlan
[
0
].
jrExecuteOpPlans
[
0
].
dmirTime
},
},
fileList
:
p
.
objFileLinks
?
p
.
objFileLinks
:
[]
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