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
f2c3820c
Commit
f2c3820c
authored
Oct 07, 2023
by
旭艳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改适航任务的检验完成
parent
d395ed44
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
7 deletions
+34
-7
index.vue
applications/dee-mes/src/views/taskExecution/index.vue
+34
-7
No files found.
applications/dee-mes/src/views/taskExecution/index.vue
View file @
f2c3820c
...
...
@@ -845,9 +845,19 @@ export default {
if
(
this
.
headerData
.
planStateCode
===
'Delivery'
||
status
)
{
this
.
headerData
.
disabled
=
false
}
var
curRow
=
that
.
workingProcedure
.
find
(
(
p
)
=>
p
.
statusCode
===
'Not'
)
let
curRow
if
(
this
.
$route
.
query
.
title
===
'适航任务执行'
)
{
curRow
=
that
.
workingProcedure
.
find
(
(
p
)
=>
p
.
statusCode
===
'UnderTest'
)
}
else
{
curRow
=
that
.
workingProcedure
.
find
(
(
p
)
=>
p
.
statusCode
===
'Not'
)
}
// var curRow = that.workingProcedure.find(
// (p) => p.statusCode === 'Not'
// )
if
(
curRow
)
{
that
.
selectOptions
(
curRow
.
id
)
}
else
{
...
...
@@ -867,7 +877,13 @@ export default {
var
row
=
this
.
workingProcedure
.
filter
(
(
p
)
=>
p
.
id
===
this
.
procedureId
)[
0
]
var
jurisdiction
=
row
.
statusCode
===
'Yes'
let
jurisdiction
if
(
this
.
$route
.
query
.
title
===
'适航任务执行'
)
{
jurisdiction
=
row
.
statusCode
===
'UnderTest'
}
else
{
jurisdiction
=
row
.
statusCode
===
'Yes'
}
// var jurisdiction = row.statusCode === 'Yes'
this
.
editor
=
{
id
:
row
.
id
,
title
:
row
.
title
,
...
...
@@ -1144,6 +1160,7 @@ export default {
.
jqSignature
(
'getDataURL'
)
var
img
=
$
(
'<img>'
).
attr
(
'src'
,
dataUrl
)
$
(
'.js-signature'
).
append
(
img
)
this
.
inspectionCompleted
(
dataUrl
)
},
/** *
* 试验申请
...
...
@@ -1225,7 +1242,11 @@ export default {
type
:
'warning'
})
.
then
(()
=>
{
that
.
inspectionCompleted
()
if
(
this
.
$route
.
query
.
title
===
'适航任务执行'
)
{
that
.
electronicSignatureVersion
()
}
else
{
that
.
inspectionCompleted
()
}
})
.
catch
(()
=>
{
this
.
$message
({
...
...
@@ -1237,10 +1258,16 @@ export default {
/**
*检验完成
*/
inspectionCompleted
()
{
inspectionCompleted
(
dataUrl
)
{
var
that
=
this
let
url
if
(
this
.
$route
.
query
.
title
===
'适航任务执行'
)
{
url
=
`/JoExecuteOpPlan/completeOp?joOpId=
${
that
.
procedureId
}
&joAoId=
${
that
.
headerData
.
id
}
&dmriImg=
${
dataUrl
}
`
}
else
{
url
=
`/JoExecuteOpPlan/completeOp?joOpId=
${
that
.
procedureId
}
&joAoId=
${
that
.
headerData
.
id
}
`
}
get
(
`/JoExecuteOpPlan/completeOp?joOpId=
${
that
.
procedureId
}
&joAoId=
${
that
.
headerData
.
id
}
`
,
url
,
{}
)
.
then
((
res
)
=>
{
...
...
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