|
@@ -42,12 +42,13 @@
|
|
<span>{{ item1.nodeInfo }}</span>
|
|
<span>{{ item1.nodeInfo }}</span>
|
|
<!-- <span class="text-gray">(238卷)</span> -->
|
|
<!-- <span class="text-gray">(238卷)</span> -->
|
|
</template>
|
|
</template>
|
|
- <div :style="`height: ${item1.list !== null ? '300px' : 'auto'};`">
|
|
|
|
- <HcTable
|
|
|
|
|
|
+ <div :style="`height: ${item1.list !== null && item1.list.length > 9 ? '300px' : 'auto'};`">
|
|
|
|
+ <!-- <HcTable
|
|
ref="tableRef" :column="tableColumn" :datas="item1.list" :loading="tableLoading"
|
|
ref="tableRef" :column="tableColumn" :datas="item1.list" :loading="tableLoading"
|
|
is-new :index-style="{ width: 60 }" is-check :check-style="{ width: 29 }"
|
|
is-new :index-style="{ width: 60 }" is-check :check-style="{ width: 29 }"
|
|
@selection-change="tableSelection"
|
|
@selection-change="tableSelection"
|
|
- />
|
|
|
|
|
|
+ /> -->
|
|
|
|
+ <visualTable :table-data="item1.list " @getTableKeys="getTableKeys" />
|
|
</div>
|
|
</div>
|
|
</HcCardItem>
|
|
</HcCardItem>
|
|
</template>
|
|
</template>
|
|
@@ -91,6 +92,7 @@ import { useRouter } from 'vue-router'
|
|
import { useAppStore } from '~src/store'
|
|
import { useAppStore } from '~src/store'
|
|
import initialgApi from '~api/initial/initial'
|
|
import initialgApi from '~api/initial/initial'
|
|
import { getArrValue, getObjValue } from 'js-fast-way'
|
|
import { getArrValue, getObjValue } from 'js-fast-way'
|
|
|
|
+import visualTable from './components/visual-table.vue'
|
|
//变量
|
|
//变量
|
|
const router = useRouter()
|
|
const router = useRouter()
|
|
const useAppState = useAppStore()
|
|
const useAppState = useAppStore()
|
|
@@ -118,8 +120,8 @@ const tabChange = (item) => {
|
|
}
|
|
}
|
|
//多选
|
|
//多选
|
|
const tableKeys = ref([])
|
|
const tableKeys = ref([])
|
|
-const tableSelection = (rows) => {
|
|
|
|
- tableKeys.value = rows
|
|
|
|
|
|
+const getTableKeys = (val)=>{
|
|
|
|
+ tableKeys.value = val
|
|
}
|
|
}
|
|
const totalData = ref([])
|
|
const totalData = ref([])
|
|
const totalLoaing = ref(false)
|
|
const totalLoaing = ref(false)
|