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
be2d6b6b
Commit
be2d6b6b
authored
Aug 04, 2023
by
xioln
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
理化检验流程修改
parent
f82dd7a7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
60 deletions
+4
-60
index.vue
...rivateComponents/components/ChemicalTestProcess/index.vue
+4
-60
No files found.
applications/dee-mes/src/privateComponents/components/ChemicalTestProcess/index.vue
View file @
be2d6b6b
...
...
@@ -7,19 +7,18 @@
<
template
>
<div
class=
"Chemical-test-process"
>
<dee-as-com
v-if=
"
JobResponseInExperment
Data"
v-if=
"
basic
Data"
refs=
"outerCasing"
model-name=
"InStorageRequestItem"
:lay-config=
"
{
typeName: 'InStorageRequestItem',
layKey: '
test
'
layKey: '
1c4983a2-6f51-49e4-95ee-2f5506b8e217
'
}"
:basic-data="
JobResponseInExperment
Data"
:basic-data="
basic
Data"
/>
</div>
</
template
>
<
script
>
import
{
post
}
from
'@/utils/http'
export
default
{
componentName
:
'理化检验流程'
,
...
...
@@ -34,69 +33,14 @@ export default {
data
()
{
return
{
// data: { 'reportNo': bindForm.reportNo, 'experimentAmount':bindForm.experimentAmount}, 'dxType': 'JobResponseInStorage', 'operator': 'ADD' }
JobResponseInExpermentData
:
null
}
},
computed
:
{},
created
()
{
// 初始化数据
console
.
log
(
'理化检验流程'
,
this
.
basicData
)
this
.
getFrom
(
this
.
basicData
.
id
)
},
methods
:
{
getFrom
(
id
)
{
const
param
=
{
'pageFrom'
:
1
,
'pageSize'
:
10
,
'searchItems'
:
{
'children'
:
[
{
'items'
:
[
{
'fieldName'
:
'jobOrderId'
,
'operator'
:
'EQ'
,
'value'
:
id
},
{
'fieldName'
:
'subTypeName'
,
'operator'
:
'EQ'
,
'value'
:
'JobResponseInExperment'
}
],
'operator'
:
'AND'
}
],
'items'
:
[],
'operator'
:
'AND'
},
'openProps'
:
[
{
'name'
:
'objFileLinks'
,
'openProps'
:
[
{
'name'
:
'target'
}
]
},
{
'name'
:
'jobOrder'
,
'openProps'
:
[
{
'name'
:
'purchaseUnit'
}
]
}
],
'sortItem'
:
[
{
'fieldName'
:
'modifyTime'
,
'sortOrder'
:
'desc'
}
]
}
post
(
'JobResponseInStorage/search'
,
param
).
then
(
res
=>
{
// this.data = res.items.content[0]
this
.
JobResponseInExpermentData
=
res
.
items
.
content
[
0
]
}).
catch
((
err
)
=>
{
console
.
log
(
err
)
})
}
}
}
</
script
>
...
...
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