|
|
@@ -21,6 +21,7 @@
|
|
|
v-model="pageRequest"
|
|
|
size="small"
|
|
|
label-width="95px"
|
|
|
+ :inline="true"
|
|
|
class="form"
|
|
|
>
|
|
|
<el-form-item label="团队用户" label-width="95px" prop="revenueOutlay">
|
|
|
@@ -144,9 +145,7 @@
|
|
|
@size-change="handleSizeChange"
|
|
|
layout="total, sizes, prev, pager, next, jumper"
|
|
|
@current-change="refreshPageRequest"
|
|
|
- :current-page="detailParams.pageNo"
|
|
|
- :page-size="detailParams.pageSize"
|
|
|
- :page-sizes="[10, 20, 50, 100, 200, 300, 400, 500]"
|
|
|
+ :page-sizes="[20, 50, 100, 200, 300, 400, 500]"
|
|
|
:total="detailParams.totalSize"
|
|
|
style="float: left; margin-left: 20px"
|
|
|
>
|
|
|
@@ -214,9 +213,9 @@ export default {
|
|
|
{ prop: "quoteNum", label: "报价次数", type: "text" },
|
|
|
{ prop: "submitNum", label: "提交核保次数", type: "text" },
|
|
|
{ prop: "hasInsuredNum", label: "已承保数量", type: "text" },
|
|
|
- { prop: "syPremiumSum", label: "商业保费", type: "text" },
|
|
|
{ prop: "taxaMountSum", label: "车船税", type: "text" },
|
|
|
{ prop: "jqPremiumSum", label: "交强险费用", type: "text" },
|
|
|
+ { prop: "syPremiumSum", label: "商业保费", type: "text" },
|
|
|
{
|
|
|
prop: "totalSumpremium",
|
|
|
label: "总承保保费总数",
|
|
|
@@ -226,7 +225,7 @@ export default {
|
|
|
detailData: [],
|
|
|
detailParams: {
|
|
|
pageNo: 1,
|
|
|
- pageSize: 10,
|
|
|
+ pageSize: 20,
|
|
|
teamOrUserFlag: "2",
|
|
|
},
|
|
|
detailColumns: [
|
|
|
@@ -339,20 +338,16 @@ export default {
|
|
|
},
|
|
|
//查看详情
|
|
|
handleDetail(index) {
|
|
|
- let row = index.row;
|
|
|
- this.detailParams.deptId = row.deptId;
|
|
|
- this.detailParams.deptName = row.deptName;
|
|
|
- this.detailParams.createTimeStart = this.pageRequest.createTimeStart;
|
|
|
- this.detailParams.createTimeEnd = this.pageRequest.createTimeEnd;
|
|
|
- this.getDetailData();
|
|
|
+ this.detailParams.deptId = index.row.deptId;
|
|
|
+ // this.detailParams.deptName = row.deptName;
|
|
|
+ // this.detailParams.createTimeStart = this.pageRequest.createTimeStart;
|
|
|
+ // this.detailParams.createTimeEnd = this.pageRequest.createTimeEnd;
|
|
|
this.detailDialog = true;
|
|
|
-
|
|
|
+ this.getDetailData()
|
|
|
},
|
|
|
- // 详情接口
|
|
|
- getDetailData() {
|
|
|
+ getDetailData(){
|
|
|
this.loading = true;
|
|
|
- let obj = JSON.parse(JSON.stringify(this.detailParams));
|
|
|
- this.$api.user.quTeamNum(obj).then((res) => {
|
|
|
+ this.$api.user.quTeamNumDetail(this.detailParams).then((res) => {
|
|
|
if (res.code == 200) {
|
|
|
this.detailData = res.data.records;
|
|
|
this.detailParams.pageNo = res.data.current;
|
|
|
@@ -362,6 +357,7 @@ export default {
|
|
|
this.loading = false;
|
|
|
} else {
|
|
|
this.$message.error(res.msg);
|
|
|
+ this.loading = false;
|
|
|
}
|
|
|
});
|
|
|
},
|