数通智联化工云平台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

64 lines
1007 B

1 year ago
<!--
@ 作者: 秦东
@ 时间: 2024-07-17 15:35:39
@ 备注: 卡片视图
-->
<script lang='ts' setup>
const props = defineProps({
searchSend:{
type:Object,
default(){
return {}
}
},
viewSetup:{
type:Object,
default(){
return {}
}
},
drawerWith:{
type:Number,
default:0
}
});
const lineRanks = ref(1)
onMounted(()=>{
lineRanks.value = Math.round(24/props.viewSetup.form.ranks)
})
</script>
<template>
<div>
{{lineRanks}}--
<el-row :gutter="20">
<el-col :span="lineRanks">
<el-card >
<table>
<tr>
<td rowspan="2">1</td>
<td>2</td>
</tr>
<tr>
<td>4</td>
</tr>
</table>
</el-card>
</el-col>
<el-col :span="lineRanks">1</el-col>
<el-col :span="lineRanks">2</el-col>
<el-col :span="lineRanks">3</el-col>
<el-col :span="lineRanks">4</el-col>
<el-col :span="lineRanks">5</el-col>
<el-col :span="lineRanks">6</el-col>
</el-row>
</div>
</template>
<style lang='scss' scoped>
</style>