diff --git a/src/views/dpm/riskpoint.vue b/src/views/dpm/riskpoint.vue index 593173c5..22340a6c 100644 --- a/src/views/dpm/riskpoint.vue +++ b/src/views/dpm/riskpoint.vue @@ -356,7 +356,7 @@ - + @@ -444,6 +444,7 @@ export default { this.$refs.table.queryData(this.query); }, table_add() { + this.saveForm = Object.assign({}, defaultForm); this.saveDialog = true; }, table_edit(row) { diff --git a/src/views/ecm/algo.vue b/src/views/ecm/algo.vue index 7421ce93..d89c5a52 100644 --- a/src/views/ecm/algo.vue +++ b/src/views/ecm/algo.vue @@ -128,13 +128,13 @@ { if(that.count){ that.form.sort = that.count+1; } + that.$refs.dialogForm && that.$refs.dialogForm.clearValidate(); }) return this; }, diff --git a/src/views/ofm/mroom.vue b/src/views/ofm/mroom.vue index 471f4b59..f259b715 100644 --- a/src/views/ofm/mroom.vue +++ b/src/views/ofm/mroom.vue @@ -99,6 +99,11 @@