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