update
This commit is contained in:
@@ -203,7 +203,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// import {getStatus, SubmitForm} from "@/api/api";
|
import {getStatus, SubmitForm} from "@/api/api";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'faultSystem',
|
name: 'faultSystem',
|
||||||
@@ -280,20 +280,20 @@ export default {
|
|||||||
this.$message.warning('请先完善必填项');
|
this.$message.warning('请先完善必填项');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
console.log(this.form);
|
// console.log(this.form);
|
||||||
// try {
|
try {
|
||||||
// getStatus().then(res=>{
|
getStatus().then(res=>{
|
||||||
// if(res.data.status === 'succeed'){
|
if(res.data.status === 'succeed'){
|
||||||
// SubmitForm(this.form);
|
SubmitForm(this.form);
|
||||||
// this.$message.success('提交成功');
|
this.$message.success('提交成功');
|
||||||
// this.onReset();
|
this.onReset();
|
||||||
// }else{
|
}else{
|
||||||
// this.$message.error('提交失败,请稍后再试');
|
this.$message.error('提交失败,请稍后再试');
|
||||||
// }
|
}
|
||||||
// })
|
})
|
||||||
// } finally {
|
} finally {
|
||||||
// this.submitting = false
|
this.submitting = false
|
||||||
// }
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
onReset() {
|
onReset() {
|
||||||
|
Reference in New Issue
Block a user