|
|
|
@ -47,10 +47,10 @@
|
|
|
|
|
disabled
|
|
|
|
|
></el-switch> -->
|
|
|
|
|
<el-tag
|
|
|
|
|
:type="scope.row.status == 1 ? 'success' : 'info'"
|
|
|
|
|
:type="scope.row.status == 1 ? 'warning' : 'success'"
|
|
|
|
|
effect="dark"
|
|
|
|
|
>
|
|
|
|
|
{{ scope.row.status == 1 ? "开启" : "关闭" }}</el-tag
|
|
|
|
|
{{ scope.row.status == 1 ? "开启中" : "已关闭" }}</el-tag
|
|
|
|
|
>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
@ -208,6 +208,14 @@ export default {
|
|
|
|
|
margin-top: 16px;
|
|
|
|
|
height: calc(100% - 48px);
|
|
|
|
|
//background: #fcc;
|
|
|
|
|
.el-tag--dark.el-tag--success {
|
|
|
|
|
background: linear-gradient(180deg, #67c23a 10%, #3fb504 100%);
|
|
|
|
|
border-color: transparent;
|
|
|
|
|
}
|
|
|
|
|
.el-tag--dark.el-tag--warning {
|
|
|
|
|
background: linear-gradient(180deg, #e6a23c 10%, #e78c04 100%);
|
|
|
|
|
border-color: transparent;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|