Commit 8de8f2bb by 张超军

Merge branch 'dev_zwpt' of http://47.92.108.28/changchao/founder_vue into dev_zwpt

parents 3f3e975b 6f71c728
...@@ -585,13 +585,25 @@ ...@@ -585,13 +585,25 @@
show-overflow-tooltip show-overflow-tooltip
> >
</el-table-column> </el-table-column>
<el-table-column
prop="status" <el-table-column prop="status" label="启用状态" width="auto">
label="启用状态" <template slot-scope="scope">
show-overflow-tooltip <div v-if="scope.row.status === 0" class="circle-red"></div>
> <div v-if="scope.row.status === 1" class="circle-blue"></div>
{{
scope.row.status === 0
? "停用"
: scope.row.status === 1
? "启用"
: "无状态"
}}
</template>
</el-table-column>
<el-table-column prop="unitname" label="操作">
<template slot-scope="scope">
</template>
</el-table-column> </el-table-column>
<el-table-column prop="unitname" label="操作"> </el-table-column>
</el-table> </el-table>
</div> </div>
</div> </div>
......
.circle-red {
display: inline-block;
width: 8px;
height: 8px;
background-color: #fe0000;
border-radius: 50%;
-moz-border-radius: 50%;
-webkit-border-radius: 50%;
}
.circle-blue {
display: inline-block;
width: 8px;
height: 8px;
background-color: #00b47a;
border-radius: 50%;
-moz-border-radius: 50%;
-webkit-border-radius: 50%;
}
.tooTipBtn { .tooTipBtn {
padding: 10px; padding: 10px;
max-height: 317px; max-height: 317px;
...@@ -184,6 +203,7 @@ ...@@ -184,6 +203,7 @@
} }
} }
.table-data { .table-data {
height: 580px; height: 580px;
width: 100%; width: 100%;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment