diff --git a/project/pingchang/apps/AppOrganizationChange/components/detailPanel.vue b/project/pingchang/apps/AppOrganizationChange/components/detailPanel.vue index de19d89f..0180c232 100644 --- a/project/pingchang/apps/AppOrganizationChange/components/detailPanel.vue +++ b/project/pingchang/apps/AppOrganizationChange/components/detailPanel.vue @@ -30,7 +30,7 @@ - @@ -60,8 +60,8 @@ export default { }, data() { return { + visible: false, dialog: { - visible: false, title: "", name: "", changeTime: "" @@ -87,7 +87,7 @@ export default { showDialog(v, rowIndex) { this.dialog = {...this.dialog, ...v, rowIndex} this.dialog.title = (this.dialog.rowIndex == 0 ? "编辑" : "添加") + this.currentList.dialogTitle - this.dialog.visible = true + this.visible = true }, submitAdd() { this.$refs.editListItemForm.validate(v => { @@ -97,7 +97,7 @@ export default { list.splice(this.dialog.rowIndex, 1, this.dialog) } else list.push(this.dialog) }) - this.dialog.visible = false + this.visible = false } }) },