huangbin 4 tahun lalu
induk
melakukan
bdef27176e

+ 2 - 2
src/views/information/custom/list/unsubmit/compoments/controlModal/index.vue

@@ -30,9 +30,9 @@ export default defineComponent({
     },
     setup(props, context) {
         // 详情
-        const { visible: visibleDetail, cancel: cancelDetail, refresh: refreshDetail } = closeModal('detail');
+        const { visible: visibleDetail, cancel: cancelDetail } = closeModal('detail');
         // 删除客户资料
-        const { visible: visibleDelete, cancel: cancelDelete, refresh: refreshDelete } = closeModal('custom_info_btn_delete');
+        const { visible: visibleDelete, cancel: cancelDelete, refresh: refreshDelete } = closeModal('custom_info_btn_delete', context);
         return {
             visibleDetail,
             cancelDetail,

+ 1 - 1
src/views/information/custom/list/unsubmit/index.vue

@@ -33,7 +33,7 @@
     <!-- 详情 -->
     <!-- <CustomDetail :selectedRow="selectedRow"
                   @refresh="queryTable" /> -->
-    <Middle :selectedRow="selectedRow" />
+    <Middle :selectedRow="selectedRow" @refresh="queryTable"/>
     <!-- 修改 -->
     <ModifyCustom :selectedRow="selectedRow"
                   @refresh="queryTable" />