|
|
@@ -19,21 +19,28 @@
|
|
|
</dd>
|
|
|
</dl>
|
|
|
<dl>
|
|
|
- <dt><span>签单保费</span></dt>
|
|
|
+ <dt class="dt-flex">
|
|
|
+ <span>签单保费</span>
|
|
|
+ <span
|
|
|
+ >占比{{
|
|
|
+ amount.sumPremiumProportion
|
|
|
+ ? (amount.sumPremiumProportion * 100).toFixed(2) + "%"
|
|
|
+ : 0
|
|
|
+ }}</span
|
|
|
+ >
|
|
|
+ </dt>
|
|
|
<dd>
|
|
|
<span>{{ amount.sumPremium || 0 }}</span>
|
|
|
</dd>
|
|
|
</dl>
|
|
|
- <dl>
|
|
|
+ <!-- <dl>
|
|
|
<dt><span>签单保费总占比</span></dt>
|
|
|
<dd>
|
|
|
<span>{{
|
|
|
- amount.sumPremiumProportion
|
|
|
- ? (amount.sumPremiumProportion * 100).toFixed(2) + "%"
|
|
|
- : 0
|
|
|
+
|
|
|
}}</span>
|
|
|
</dd>
|
|
|
- </dl>
|
|
|
+ </dl> -->
|
|
|
<dl>
|
|
|
<dt><span>交强险保费</span></dt>
|
|
|
<dd>
|
|
|
@@ -66,6 +73,24 @@
|
|
|
</span>
|
|
|
</dd>
|
|
|
</dl>
|
|
|
+ <dl style="width: 180px">
|
|
|
+ <dt class="dt-flex">
|
|
|
+ <span>毛利润</span>
|
|
|
+ <span
|
|
|
+ >占比
|
|
|
+ <span>{{
|
|
|
+ amount.distributionAmountRate
|
|
|
+ ? (amount.distributionAmountRate * 100).toFixed(2) + "%"
|
|
|
+ : 0 + "%"
|
|
|
+ }}</span>
|
|
|
+ </span>
|
|
|
+ </dt>
|
|
|
+ <dd>
|
|
|
+ <span>
|
|
|
+ {{ amount.distributionAmount || 0 }}
|
|
|
+ </span>
|
|
|
+ </dd>
|
|
|
+ </dl>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -194,7 +219,7 @@ const columns = [
|
|
|
dataIndex: "userId",
|
|
|
// scopedSlots: { customRender: "parterCompanyName" },
|
|
|
},
|
|
|
-
|
|
|
+
|
|
|
{
|
|
|
title: "管理人",
|
|
|
dataIndex: "leaderName",
|
|
|
@@ -220,6 +245,10 @@ const columns = [
|
|
|
title: "非车险保费",
|
|
|
dataIndex: "jypremium",
|
|
|
},
|
|
|
+ {
|
|
|
+ title: "毛利润",
|
|
|
+ dataIndex: "distributionAmount",
|
|
|
+ },
|
|
|
{
|
|
|
title: "操作",
|
|
|
dataIndex: "operation",
|
|
|
@@ -363,7 +392,7 @@ export default {
|
|
|
.quote {
|
|
|
display: flex;
|
|
|
> div:first-child {
|
|
|
- width: 20%;
|
|
|
+ width: 17%;
|
|
|
background: #fff;
|
|
|
margin-right: 15px;
|
|
|
}
|
|
|
@@ -408,7 +437,7 @@ export default {
|
|
|
justify-content: space-between;
|
|
|
> dl {
|
|
|
flex: none;
|
|
|
- width: 180px;
|
|
|
+ min-width: 150px;
|
|
|
height: 80px;
|
|
|
display: flex;
|
|
|
// align-items: center;
|
|
|
@@ -435,10 +464,19 @@ export default {
|
|
|
> dl:first-child {
|
|
|
background: url("../../assets/img/business1.png");
|
|
|
color: #11a6d3;
|
|
|
+ dt > span:nth-child(2) {
|
|
|
+ background: #11a6d3;
|
|
|
+ }
|
|
|
}
|
|
|
> dl:nth-child(2) {
|
|
|
background: url("../../assets/img/business2.png");
|
|
|
color: #f87f2c;
|
|
|
+ dt > span:nth-child(2) {
|
|
|
+ background: #f87f2c;
|
|
|
+ color: #fff;
|
|
|
+ // padding: 0 8px;
|
|
|
+ box-sizing: border-box;
|
|
|
+ }
|
|
|
}
|
|
|
> dl:nth-child(3) {
|
|
|
background: url("../../assets/img/business3.png");
|
|
|
@@ -459,10 +497,16 @@ export default {
|
|
|
> dl:nth-child(7) {
|
|
|
background: url("../../assets/img/business6.png");
|
|
|
color: #f879cd;
|
|
|
+ dt > span:nth-child(2) {
|
|
|
+ background: #f879cd;
|
|
|
+ color: #fff;
|
|
|
+ // padding: 0 8px;
|
|
|
+ box-sizing: border-box;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
span {
|
|
|
- display: block;
|
|
|
+ // display: block;
|
|
|
margin-right: 15px;
|
|
|
}
|
|
|
/deep/.ant-calendar-picker {
|
|
|
@@ -518,4 +562,15 @@ export default {
|
|
|
.ant-form-item {
|
|
|
display: flex;
|
|
|
}
|
|
|
+.dt-flex {
|
|
|
+ display: flex;
|
|
|
+ // align-items: center;
|
|
|
+ justify-content: space-between;
|
|
|
+ // >span:last-child{
|
|
|
+ // background: ;
|
|
|
+ // }
|
|
|
+ > span {
|
|
|
+ display: inline;
|
|
|
+ }
|
|
|
+}
|
|
|
</style>
|