增加颜色列

main
yanzai 1 year ago
parent c833bbe3f2
commit c76b799051

@ -39,6 +39,11 @@
<el-tag type="info" v-for="(item,index) in scope.row.check_type_name" :key="index" class="ml-2">{{item}}</el-tag>
</template>
</el-table-column>
<el-table-column prop="limosis" label="颜色" width="100">
<template #default="scope">
<div :style="' border-radius:6px; height:20px;width: 40px;background-color:'+scope.row.color"></div>
</template>
</el-table-column>
<el-table-column prop="limosis" label="状态" width="100">
<template #default="scope">
<el-tag v-if="scope.row.status==0" class="ml-2" type="danger"></el-tag>

Loading…
Cancel
Save