26 lines
951 B
Vue
26 lines
951 B
Vue
<template>
|
|
<el-dialog v-model="dialogVisible" title="越限详情" width="50%" draggable>
|
|
<vxe-table v-bind="defaultAttribute" ref="vxeRef" height="500px" :data="tableData">
|
|
<vxe-column field="num2" title="指标" />
|
|
<vxe-column field="num2" title="时间" />
|
|
<vxe-column field="num3" title="最小值" />
|
|
<vxe-column field="num3" title="最大值" />
|
|
<vxe-column field="num3" title="平均值" />
|
|
<vxe-column field="num3" title="cp95值" />
|
|
<vxe-column field="num3" title="国际限值" />
|
|
</vxe-table>
|
|
</el-dialog>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
import { ref, reactive } from 'vue'
|
|
import { defaultAttribute } from '@/components/table/defaultAttribute'
|
|
const dialogVisible = ref(false)
|
|
const tableData = ref([])
|
|
const open = () => {
|
|
dialogVisible.value = true
|
|
}
|
|
defineExpose({ open })
|
|
</script>
|
|
<style lang="scss" scoped></style>
|