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
9425812b
Commit
9425812b
authored
Mar 25, 2024
by
jingnan
👀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
theoreticalTemperature
parent
60568da0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
2 deletions
+15
-2
util.js
applications/architecture-dee/src/utils/util.js
+8
-1
index.vue
...eComponents/components/DeploymentCardInfoSelect/index.vue
+7
-1
No files found.
applications/architecture-dee/src/utils/util.js
View file @
9425812b
...
...
@@ -1655,6 +1655,12 @@ export function findByNameVnode(obj, targetName) {
return findByNameVnode(obj.$parent, targetName)
}
}
export function addMinutes(date, minutes) {
const dateFormat=new Date(date)
dateFormat.setMinutes(dateFormat.getMinutes() + minutes)
const resDate= formatDate(dateFormat, 'YYYY-MM-DD HH:mm:ss')
return resDate
}
export default {
findByNameVnode,
...
...
@@ -1746,5 +1752,6 @@ export default {
sumArray,
subNum,
getTargetJobResponses,
export_excel
export_excel,
addMinutes
}
applications/dee-mes/src/privateComponents/components/DeploymentCardInfoSelect/index.vue
View file @
9425812b
...
...
@@ -457,7 +457,7 @@ export default {
{
'fieldName'
:
'modelNo'
,
'operator'
:
'LIKE'
,
'value'
:
modelNo
'value'
:
modelNo
.
includes
(
'-'
)
?
modelNo
.
split
(
'-'
)[
0
]
:
modelNo
},
{
'fieldName'
:
'spec'
,
...
...
@@ -503,6 +503,8 @@ export default {
this
.
$set
(
this
.
form
,
'standard'
,
res
.
items
.
content
[
0
].
standard
)
this
.
$set
(
this
.
form
,
'matching'
,
res
.
items
.
content
[
0
].
matching
)
this
.
$set
(
this
.
form
,
'theoreticalTemperature'
,
res
.
items
.
content
[
0
].
temperature
)
this
.
$set
(
this
.
form
,
'theoreInductionPeriod'
,
res
.
items
.
content
[
0
].
inductionPeriod
)
this
.
$set
(
this
.
form
,
'theorePotLife'
,
res
.
items
.
content
[
0
].
potLife
)
this
.
$set
(
this
.
form
,
'humidity'
,
res
.
items
.
content
[
0
].
humidity
)
this
.
$set
(
this
.
form
,
'component'
,
res
.
items
.
content
[
0
].
component
)
this
.
$set
(
this
.
form
,
'shellacDeployId'
,
res
.
items
.
content
[
0
].
id
)
...
...
@@ -519,6 +521,10 @@ export default {
Object
.
keys
(
res
.
items
.
content
[
0
]).
forEach
(
key
=>
{
if
(
key
===
'temperature'
)
{
this
.
$set
(
this
.
form
,
'theoreticalTemperature'
,
res
.
items
.
content
[
0
][
key
])
}
else
if
(
key
===
'inductionPeriod'
)
{
this
.
$set
(
this
.
form
,
'theoreInductionPeriod'
,
res
.
items
.
content
[
0
][
key
])
}
else
if
(
key
===
'potLife'
)
{
this
.
$set
(
this
.
form
,
'theorePotLife'
,
res
.
items
.
content
[
0
][
key
])
}
else
if
(
key
===
'viscosity'
)
{
this
.
$set
(
this
.
form
,
'theoreticalViscosity'
,
res
.
items
.
content
[
0
][
key
])
}
else
if
(
key
===
'bulk'
)
{
...
...
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