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
c73b917a
Commit
c73b917a
authored
Jul 09, 2024
by
15008242619
Committed by
jingnan
Jul 09, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
产品质量记录整改说明
parent
763ef82f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
43 additions
and
0 deletions
+43
-0
index.vue
.../src/privateComponents/components/setAssessment/index.vue
+43
-0
No files found.
applications/dee-mes/src/privateComponents/components/setAssessment/index.vue
0 → 100644
View file @
c73b917a
<
template
>
<div>
机上实物影响评估:
<el-input
placeholder=
"请输入内容"
v-model=
"input"
type=
"textarea"
@
blur=
"blur"
>
</el-input>
</div>
</
template
>
<
script
>
import
{
post
}
from
'@/utils/http'
export
default
{
name
:
'setAssessment'
,
componentName
:
'填写机上实物影响评估'
,
data
()
{
return
{
input
:
''
,
history
:
''
}
},
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