|
|
@@ -200,9 +200,6 @@ export default {
|
|
|
if (!this.formData.commentScore) {
|
|
|
this.$message.error("请选择评分!");
|
|
|
}
|
|
|
- if (!this.formData.comment) {
|
|
|
- this.$message.error("请输入评语!");
|
|
|
- }
|
|
|
let { commentScore,comment,id} = { ...this.formData};
|
|
|
let json={};
|
|
|
json.score = commentScore;
|
|
|
@@ -213,9 +210,8 @@ export default {
|
|
|
this.$emit("success", this.formData);
|
|
|
this.onHide();
|
|
|
this.$modal.msgSuccess("演练登记评价成功");
|
|
|
-
|
|
|
+ this.getList();
|
|
|
});
|
|
|
- this.getList();
|
|
|
},
|
|
|
async refresh(id, other) {
|
|
|
if (!id) {
|