update 2个dialog

This commit is contained in:
lb
2023-02-03 09:58:23 +08:00
parent 9ccc8b44b3
commit f6c76a83cf
5 changed files with 45 additions and 31 deletions

View File

@@ -25,13 +25,19 @@
<!-- :current-page.sync="currentPage"
:page-size.sync="pageSize" -->
<DialogWithMenu ref="edit-dialog" v-if="dialogType === DIALOG_WITH_MENU && dialogVisible" :configs="dialogConfigs" @refreshDataList="getList" />
<DialogJustForm
<DialogWithMenu
ref="edit-dialog"
v-if="dialogType === DIALOG_JUST_FORM && dialogVisible"
v-if="dialogType === DIALOG_WITH_MENU"
:dialog-visible.sync="dialogVisible"
:configs="dialogConfigs"
@refreshDataList="getList"
/>
<DialogJustForm
ref="edit-dialog"
v-if="dialogType === DIALOG_JUST_FORM"
:dialog-visible.sync="dialogVisible"
:configs="dialogConfigs"
@refreshDataList="getList"
@dialog-closed="destroyDialog"
/>
</div>
</template>
@@ -98,7 +104,7 @@ export default {
/* 从dom移除对话框 */
destroyDialog() {
// console.log('[ListViewWithHead] destroyDialog')
this.dialogVisible = false
this.dialogVisible = false;
},
/**