新增检测计划列表
This commit is contained in:
@@ -13,6 +13,8 @@
|
||||
<el-button type='primary' :icon='Upload'>导出csv</el-button>
|
||||
</template>
|
||||
</ProTable>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</template>
|
||||
@@ -24,7 +26,7 @@ import ProTable from '@/components/ProTable/index.vue'
|
||||
import { Upload ,DataAnalysis} from '@element-plus/icons-vue'
|
||||
import logDataList from '@/api/log/logData'
|
||||
import type { ColumnProps, ProTableInstance } from '@/components/ProTable/interface'
|
||||
import { reactive,ref } from 'vue'
|
||||
import { reactive,ref,watch } from 'vue'
|
||||
let multipleSelection = ref<string[]>([])
|
||||
const logData = logDataList
|
||||
// 定义包含和排除的单位
|
||||
@@ -53,7 +55,7 @@ const columns = reactive<ColumnProps<Log.LogList>[]>([
|
||||
width: 200,
|
||||
search: {
|
||||
span: 2,
|
||||
render: ({ searchParam }) => {
|
||||
render: () => {
|
||||
return (
|
||||
<div class='flx-flex-start'>
|
||||
<TimeControl
|
||||
@@ -90,11 +92,10 @@ const columns = reactive<ColumnProps<Log.LogList>[]>([
|
||||
// 处理选择变化
|
||||
const handleSelectionChange = (selection: Log.LogList[]) => {
|
||||
multipleSelection.value = selection.map(row => row.id) // 更新选中的行
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
||||
Reference in New Issue
Block a user