|
|
@@ -3,7 +3,7 @@
|
|
|
<div class="quote-tree">
|
|
|
<div><h2>部门所属</h2></div>
|
|
|
<div>
|
|
|
- <!-- <a-tree :load-data="onLoadData" :tree-data="treeData" /> -->
|
|
|
+ <!-- <a-tree :tree-data="treeData" /> -->
|
|
|
<tree @getList="getAgentTree"></tree>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -34,9 +34,9 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div style="display: flex">
|
|
|
- <div style="width: 300px; height: 900px; overflow-y: auto">
|
|
|
+ <!-- <div style="width: 300px; height: 900px; overflow-y: auto">
|
|
|
<a-tree :tree-data="treeData" :replaceFields="replaceFields"></a-tree>
|
|
|
- </div>
|
|
|
+ </div> -->
|
|
|
<standard-table
|
|
|
:columns="columns"
|
|
|
:dataSource="tableList"
|
|
|
@@ -45,13 +45,13 @@
|
|
|
@change="onChange"
|
|
|
:loading="loading"
|
|
|
bordered
|
|
|
- :scroll="{ x: 0, y: 800 }"
|
|
|
+ :scroll="{ x: 0, y: 0 }"
|
|
|
>
|
|
|
<div slot="count" slot-scope="{ text }">
|
|
|
- {{ text != "-" ? text + "次" : text }}
|
|
|
+ {{ text ? text + "次" : 0 }}
|
|
|
</div>
|
|
|
<div slot="rate" slot-scope="{ text }">
|
|
|
- {{ text != "-" ? (text * 100).toFixed(2) + "%" : text }}
|
|
|
+ {{ text ? (text * 100).toFixed(2) + "%" : 0 }}
|
|
|
</div>
|
|
|
</standard-table>
|
|
|
</div>
|
|
|
@@ -81,25 +81,25 @@ const columns = [
|
|
|
children: [
|
|
|
{
|
|
|
title: "总报价",
|
|
|
- dataIndex: "bigQutationCount",
|
|
|
+ dataIndex: "allNumber",
|
|
|
scopedSlots: { customRender: "count" },
|
|
|
},
|
|
|
{
|
|
|
title: "报价成功",
|
|
|
- dataIndex: "bigUnderwritingCount",
|
|
|
+ dataIndex: "orderSuccessNumber",
|
|
|
scopedSlots: { customRender: "count" },
|
|
|
},
|
|
|
{
|
|
|
title: "报价失败",
|
|
|
- dataIndex: "bigCloseRate",
|
|
|
- scopedSlots: { customRender: "rate" },
|
|
|
+ dataIndex: "areaCompanyErrNumber",
|
|
|
+ scopedSlots: { customRender: "count" },
|
|
|
},
|
|
|
],
|
|
|
},
|
|
|
|
|
|
{
|
|
|
title: "人工审核数",
|
|
|
- dataIndex: "qutationCount",
|
|
|
+ dataIndex: "numberManual",
|
|
|
scopedSlots: { customRender: "count" },
|
|
|
},
|
|
|
{
|
|
|
@@ -114,7 +114,7 @@ const columns = [
|
|
|
},
|
|
|
{
|
|
|
title: "报价成功率",
|
|
|
- dataIndex: "qutationInsureCount",
|
|
|
+ dataIndex: "orderSuccessNumberRate",
|
|
|
scopedSlots: { customRender: "rate" },
|
|
|
},
|
|
|
{
|