当前位置:网站首页>table_ Display status
table_ Display status
2022-06-11 21:15:00 【The breeze is not the moon】
<el-table-column prop="sex" label=" Gender ">
<template slot-scope="scope">
{
{scope.row.sex == "0"?" Woman ":" male "}}
</template>
</el-table-column>
<el-table-column prop="state" label=" Check in status ">
<template slot-scope="scope">
<template v-if="scope.row.state == 0">
<el-tag type="warning">{
{ ' Already allocated ' }}</el-tag>
</template>
<template v-else-if="scope.row.state == 1">
<el-tag type="success">{
{ ' I have checked in ' }}</el-tag>
</template>
<template v-else-if="scope.row.state == 2">
<el-tag type="info">{
{ ' Retired ' }}</el-tag>
</template>
<template v-else>
<el-tag type="danger">{
{ ' Not allocated ' }}</el-tag>
</template>
</template>
</el-table-column>
边栏推荐
- 解决 img 5px 间距的问题
- [data visualization] use Apache superset to visualize Clickhouse data
- 正则校验匹配[0-100]、[0-1000]之间的正整数或小数点位数限制
- ASCII码对照表
- New product release: domestic single port Gigabit network card is officially mass produced!
- Implement AOP and interface caching on WPF client
- Application scenario: wide application of Poe network card in NDI technology for live broadcast program production
- 【C语言进阶】整型在内存中的存储
- Comprehensive RTL code design method and precautions
- Add personal statement for go file in file template in Golan
猜你喜欢

Explanation of each column output by explain statement

Online excel file parsing and conversion to JSON format

使用 float 创建一个网页页眉、页脚、左边的内容和主要内容。

【C語言進階】整型在內存中的存儲

Tensorflow 2. X Getting Started tutorial

Live broadcast with practice | 30 minutes to build WordPress website with Alibaba cloud container service and container network file system

SQL的语法

Solution to the problem of PHP strtotime obtaining natural monthly error

Deriving Kalman filter from probability theory

Weekly 02 | to tell you the truth, I am actually a student of MIT
随机推荐
New product release: domestic single port Gigabit network card is officially mass produced!
Network security Kali penetration learning introduction to web penetration using MSF penetration to attack win7 host and execute commands remotely
JVM对象分配策略TLAB
【指标体系】最新数仓指标体系建模方法
频域滤波器
Vectordrawable error
The gateway starts other microservices first. When the gateway is started, the gateway cannot be started and there is no exception log; Start the gateway first, and all services can be started normall
Solve the problem of img 5px spacing
My collection of scientific research websites
Notes on the preload method of Gorm
Pyqt5 technical part - set the default value of qcombobox drop-down box and get the current selection of the drop-down box
新品发布:国产单电口千兆网卡正式量产!
Why is your LDO output unstable?
Space transcriptome experiment | what factors will affect the quality of space transcriptome sequencing during the preparation of clinical tissue samples?
Application business layer modification
Release of version 5.6 of rainbow, add multiple installation methods, and optimize the topology operation experience
12 golden rules of growth
A man always becomes a man and a man always arrives (progress, harvest, growth, self-confidence)
Lr-link Lianrui makes its debut at the digital Expo with new products - helping the construction of new infrastructure data center
Ubantu1804 two opencv versions coexist