|
@@ -25,18 +25,15 @@
|
|
<div v-loading="totalLoaing" class="h-screen">
|
|
<div v-loading="totalLoaing" class="h-screen">
|
|
<div v-for="(item) in totalData" :key="item.unitInfo">
|
|
<div v-for="(item) in totalData" :key="item.unitInfo">
|
|
<div class="hc-card-table-title">{{ item.unitInfo }}</div>
|
|
<div class="hc-card-table-title">{{ item.unitInfo }}</div>
|
|
- <template v-for="(item1) in item.nodeLists" :key="item1.nodeInfo">
|
|
|
|
|
|
+ <template v-for="(item1, index1) in item.nodeLists" :key="item1.nodeInfo">
|
|
<HcCardItem v-if="item1.list && item1.list.length > 0" ui="h-half">
|
|
<HcCardItem v-if="item1.list && item1.list.length > 0" ui="h-half">
|
|
<template #header>
|
|
<template #header>
|
|
- <span>{{ item1.nodeInfo }}</span>
|
|
|
|
|
|
+ <el-checkbox v-model="item1.checkedval" label="全选" size="large" @change="clickAll($event, index1)" />
|
|
|
|
+ <span class="ml-1">{{ item1.nodeInfo }}</span>
|
|
|
|
+
|
|
<!-- <span class="text-gray">(238卷)</span> -->
|
|
<!-- <span class="text-gray">(238卷)</span> -->
|
|
</template>
|
|
</template>
|
|
<div :style="`height: ${item1.list !== null && item1.list.length > 9 ? '300px' : 'auto'};`">
|
|
<div :style="`height: ${item1.list !== null && item1.list.length > 9 ? '300px' : 'auto'};`">
|
|
- <!-- <HcTable
|
|
|
|
- ref="tableRef" :column="tableColumn" :datas="item1.list" :loading="tableLoading"
|
|
|
|
- is-new :index-style="{ width: 60 }" is-check :check-style="{ width: 29 }"
|
|
|
|
- @selection-change="tableSelection"
|
|
|
|
- /> -->
|
|
|
|
<visualTable ref="visuatable" :table-data="item1.list " @getTableKeys="getTableKeys" />
|
|
<visualTable ref="visuatable" :table-data="item1.list " @getTableKeys="getTableKeys" />
|
|
</div>
|
|
</div>
|
|
</HcCardItem>
|
|
</HcCardItem>
|
|
@@ -153,6 +150,10 @@ const tableKeys = ref([])
|
|
const getTableKeys = (val)=>{
|
|
const getTableKeys = (val)=>{
|
|
tableKeys.value = val
|
|
tableKeys.value = val
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+const clickAll = (val, index)=>{
|
|
|
|
+ visuatable.value[index].tableSelectAll(val)
|
|
|
|
+}
|
|
const reportIds = ref('')
|
|
const reportIds = ref('')
|
|
const reportTaskName = ref('')
|
|
const reportTaskName = ref('')
|
|
const reportDatas = ref([])
|
|
const reportDatas = ref([])
|