<template> <div class="XiangMuZiLiao"> <div class="xmlxb"> <xmlcbEcharts :echart-data="apis" ></xmlcbEcharts> </div> <div class="content"> <div class="table"> <el-table :data="tableData" border style="width: 100%" > <el-table-column prop="nodeName" label="流程节点" width="180" /> <el-table-column prop="status" label="状态" /> </el-table> </div> <div class="xiangxinfo"> <div v-for="i in xmxxList" :key="i.props" class="label_xnmx"> <div class="label_xnmx_foot"> {{i.label}} <span class="props_top"> 项目名称 </span> </div> </div> </div> </div> </div> </template> <script setup name="XiangMuZiLiao"> import { ref, onMounted } from 'vue'; import xmlcbEcharts from './xmlcbEcharts'; const apis = ref([ { uri: '立项阶段1', status: 1 }, { uri: '立项阶段2', status: 1 }, { uri: '立项阶段3', status: 1 }, { uri: '立项阶段4', status: 1 }, { uri: '立项阶段5', status: 1 } ]); const tableData = ref([ { nodeName: '立项申请书', status: '已完成' }, { nodeName: '立项申请书', status: '已完成' }, { nodeName: '立项申请书', status: '未完成' }, { nodeName: '立项申请书', status: '已完成' }, { nodeName: '立项申请书', status: '已完成' }, { nodeName: '立项申请书', status: '已完成' }, { nodeName: '立项申请书', status: '已完成' } ]) const xmxxList=ref([ {label:'文件编号',props:'xmxx'}, {label:'文件名称',props:'xmxx'}, {label:'文件大小',props:'xmxx'}, {label:'保密级别',props:'xmxx'}, {label:'上传时间',props:'xmxx'}, {label:'审核人',props:'xmxx'}, {label:'存储位置',props:'xmxx'}, {label:'文件页数',props:'xmxx'}, {label:'所属项目',props:'xmxx'}, ]) onMounted(() => { }) </script> <style lang="scss" scoped> .xmlxb { height: 170px; } .content { display: flex; padding: 0 30px; .table { width: 500px; flex-shrink: 0; margin-right: 30px; } .xiangxinfo { flex: 1; width: 100%; border: 1px solid #114F89; display: flex; flex-wrap: wrap; .label_xnmx{ flex: 0 0 100%; border: 1px solid #114F89; .label_xnmx_foot{ width: 146px; height: 100%; background: #032350; text-align: center; line-height:40px ; position: relative; } .props_top{ text-align: right; display: inline-block; position: absolute; width: 230px; left: 79%; } } } } </style>