duy 2 dní pred
rodič
commit
ff467b7200
1 zmenil súbory, kde vykonal 8 pridanie a 3 odobranie
  1. 8 3
      src/views/data-fill/division.vue

+ 8 - 3
src/views/data-fill/division.vue

@@ -37,7 +37,8 @@
                     <HcLazyTree
                         v-model:loading="isLoading"
                         is-form-date
-                        :is-auto-check="true"
+                        :check-strictly="true"
+
                         :show-checkbox="isShowCheckbox"
                         :auto-expand-keys="treeAutoExpandKeys"
                         is-counts
@@ -1121,6 +1122,7 @@
             :classify-type="classifyType"
             :tree-item-info="treeItemInfo"
             :first-tree="firstTree"
+            :auto-expand-keys="treeAutoExpandKeys"
             @save="divisionSaveClick"
         />
         <!-- 节点命名配置 -->
@@ -2233,8 +2235,11 @@ const removeContractTreeNode = async (isBatch) => {
     })
     loadingInstance.close()
     if (!error && code === 200) {
-        window?.$message?.success('删除成功')
-        window?.location?.reload() //刷新页面
+        window?.$message?.success(msg)
+        setTimeout(()=>{
+            window.location.reload()
+        }, 1000)
+      
     } else {
         window?.$message?.error(msg || '操作失败')
     }