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
4f1bd39b
Commit
4f1bd39b
authored
Jul 09, 2024
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
0560ec62
d111851c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
48 additions
and
0 deletions
+48
-0
index.vue
.../src/privateComponents/components/setAssessment/index.vue
+48
-0
No files found.
applications/dee-mes/src/privateComponents/components/setAssessment/index.vue
0 → 100644
View file @
4f1bd39b
<
template
>
<div>
机上实物影响评估:
<el-input
v-model=
"input"
placeholder=
"请输入内容"
type=
"textarea"
@
blur=
"blur"
>
</el-input>
</div>
</
template
>
<
script
>
import
{
post
}
from
'@/utils/http'
export
default
{
name
:
'setAssessment'
,
componentName
:
'填写机上实物影响评估'
,
data
()
{
return
{
input
:
''
,
history
:
''
}
},
mounted
()
{
const
data
=
this
.
$utils
.
findByNameVnode
(
this
,
'DeeAsCom'
)
this
.
input
=
data
.
basicData
.
assessment
this
.
history
=
data
.
basicData
.
assessment
},
methods
:
{
blur
()
{
if
(
this
.
input
===
''
||
this
.
input
===
this
.
history
){
return
}
const
data
=
this
.
$utils
.
findByNameVnode
(
this
,
'DeeAsCom'
)
post
(
'/QualityRecord/saveAssessment?id='
+
data
.
basicData
.
id
,
this
.
input
).
then
(()
=>
{
this
.
$utils
.
showMessageSuccess
(
'保存成功'
)
this
.
history
=
this
.
input
}).
catch
(()
=>
{
this
.
$utils
.
showMessageWarning
(
'出现异常,保存失败'
)
})
}
}
}
</
script
>
<
style
>
</
style
>
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