Commit ca917030 authored by 15008242619's avatar 15008242619

产品质量记录整改说明

parent f9a0fb95
<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>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment