|
|
@@ -445,7 +445,7 @@
|
|
|
this.countMsg = res;
|
|
|
},
|
|
|
report (fun) {
|
|
|
- this.$refs.formRef.validate((value) => {
|
|
|
+ this.$refs.formRef.validate((value, error) => {
|
|
|
if (value) {
|
|
|
this.$confirm('是否确定要报工?', '提示').then(() => {
|
|
|
const workReportDeviceList = [];
|
|
|
@@ -468,6 +468,8 @@
|
|
|
this.getReportCount();
|
|
|
});
|
|
|
});
|
|
|
+ } else {
|
|
|
+ this.$message.error('请输入必填项!');
|
|
|
}
|
|
|
});
|
|
|
}
|