Commit d5753d49 by zhangxw

个人交付成交率列表样式修改

1 parent da5c669f
...@@ -65,6 +65,12 @@ ...@@ -65,6 +65,12 @@
:table-params="tableParams" :table-params="tableParams"
:get-list-api="getListApi" :get-list-api="getListApi"
:before-search-fn="beforeSearchFn"> :before-search-fn="beforeSearchFn">
<template slot="typeHtml"
slot-scope="scope">
<span :class="baseData.businessOptShowClass[scope.scope.businessType]">
{{ baseData.businessNameShow[scope.scope.businessType] }}
</span>
</template>
<div slot="auth-button" <div slot="auth-button"
slot-scope="scope"> slot-scope="scope">
<!-- 详情 --> <!-- 详情 -->
...@@ -261,7 +267,8 @@ export default { ...@@ -261,7 +267,8 @@ export default {
}, },
{ {
label: "业务类型", label: "业务类型",
prop: "businessTypeDesc" addHtml: "typeHtml",
width: "150"
}, },
{ {
label: "录入时间", label: "录入时间",
...@@ -285,7 +292,17 @@ export default { ...@@ -285,7 +292,17 @@ export default {
}, { }, {
confId: 2, confId: 2,
confValue: '延保' confValue: '延保'
}] }],
businessOptShowClass: {
0: "type-yellow",
1: "type-blue",
2: "type-green"
},
businessNameShow: {
0: "轻改",
1: "权益",
2: "延保"
},
}, },
fileRules: { fileRules: {
fileName: [{ required: true, message: '请上传文件', trigger: 'change' }] fileName: [{ required: true, message: '请上传文件', trigger: 'change' }]
...@@ -612,6 +629,31 @@ export default { ...@@ -612,6 +629,31 @@ export default {
font-size: 0; font-size: 0;
} }
@mixin typeBase {
width: 52px;
border-radius: 239px;
opacity: 1;
font-size: 14px;
text-align: center;
line-height: 24px;
display: inline-block;
}
.type-yellow {
@include typeBase();
background: #ff8d1a1a;
color: #ff8d1a;
}
.type-blue {
@include typeBase();
background: #5850ff1a;
color: #5850ff;
}
.type-green {
@include typeBase();
background: #43cf7c1a;
color: #43cf7c;
}
.import-template { .import-template {
position: absolute; position: absolute;
height: 20px; height: 20px;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!