|
@@ -15,11 +15,11 @@
|
|
|
|
|
|
<hc-tooltip keys="data-division-batch-btn">
|
|
|
<el-button
|
|
|
-
|
|
|
+ :disabled="isLoading || leftPid === ''"
|
|
|
:loading="batchDelLoading"
|
|
|
hc-btn
|
|
|
type="danger"
|
|
|
- :disabled="leftPid === ''"
|
|
|
+
|
|
|
@click="batchDelClick"
|
|
|
>
|
|
|
<HcIcon name="delete" />
|
|
@@ -35,6 +35,8 @@
|
|
|
>
|
|
|
<el-scrollbar>
|
|
|
<HcLazyTree
|
|
|
+ v-model:loading="isLoading"
|
|
|
+ :is-auto-check="true"
|
|
|
show-checkbox
|
|
|
:auto-expand-keys="treeAutoExpandKeys"
|
|
|
is-counts
|
|
@@ -1173,6 +1175,11 @@ watch(
|
|
|
const treeAutoExpandKeys = ref(getStoreValue('wbsTreeExpandKeys') || [])
|
|
|
//自动展开缓存
|
|
|
const TreeAutoExpandKeys = ref(getStoreValue('wbsTreeExpandKeys') || [])
|
|
|
+//监听
|
|
|
+const isLoading = ref(false)
|
|
|
+watch(isLoading, (newVal) => {
|
|
|
+ console.log('加载状态变化:', newVal)
|
|
|
+})
|
|
|
//渲染完成
|
|
|
onMounted(() => {
|
|
|
//setElTreeMenu()
|