Browse Source

fix:增加部分事件

master
123456 3 years ago
parent
commit
52acf7bbeb
  1. 4
      src/views/modules/plugins/point/icpointnucleicmonitoring-add-or-update.vue
  2. 1
      src/views/modules/plugins/point/icpointvaccinesinoculation-add-or-update.vue

4
src/views/modules/plugins/point/icpointnucleicmonitoring-add-or-update.vue

@ -113,7 +113,6 @@ var infoWindowList;
export default { export default {
data() { data() {
return { return {
visible: false,
dataForm: { dataForm: {
id: "", id: "",
customerId: "", customerId: "",
@ -336,7 +335,6 @@ export default {
.catch(() => {}); .catch(() => {});
}, },
init() { init() {
this.visible = true;
this.$nextTick(() => { this.$nextTick(() => {
this.$refs["dataForm"].resetFields(); this.$refs["dataForm"].resetFields();
if (this.dataForm.id) { if (this.dataForm.id) {
@ -380,8 +378,8 @@ export default {
type: "success", type: "success",
duration: 500, duration: 500,
onClose: () => { onClose: () => {
this.visible = false;
this.$emit("refreshDataList"); this.$emit("refreshDataList");
this.closeSubmit()
}, },
}); });
}) })

1
src/views/modules/plugins/point/icpointvaccinesinoculation-add-or-update.vue

@ -420,6 +420,7 @@ export default {
// onClose: () => { // onClose: () => {
// this.visible = false // this.visible = false
// this.$emit('refreshDataList') // this.$emit('refreshDataList')
// this.closeSubmit()
// } // }
// }) // })
// }).catch(() => {}) // }).catch(() => {})

Loading…
Cancel
Save