Browse Source

删除无用文件

master_hella_20240701
liuchen864 5 months ago
parent
commit
fc4ecdddba
  1. 3
      src/components/ListTable1/index.ts
  2. 40
      src/components/ListTable1/src/ListTable.vue

3
src/components/ListTable1/index.ts

@ -1,3 +0,0 @@
import ListTable from './src/ListTable.vue'
export { ListTable }

40
src/components/ListTable1/src/ListTable.vue

@ -1,40 +0,0 @@
<template>
<div>
<Dialog v-model="isPackageShow" :title="dialogTitle" :width="width?width:'900px'" v-loading="packageLoading">
<Table
ref="searchTableRef"
:columns="columns"
:data="allList"
:reserveSelection="true"
row-key="id"
/>
</Dialog>
</div>
</template>
<script lang="ts" setup>
const isPackageShow = ref(false)
const packageLoading = ref(false)
const dialogTitle = ref()
const message = useMessage() //
const columns = ref()
const allList = ref()
//
const props = defineProps({
width: {
type: String,
required: false
},
})
const openPackage = async (row?: any, titleName?: any,tableColumns?: any,list?: any) => {
isPackageShow.value = true
if (titleName) {
dialogTitle.value = titleName
}
columns.value = tableColumns.filter(item => (item.field !== 'action'))
allList.value = list
}
defineExpose({ openPackage }) // open
</script>
Loading…
Cancel
Save