浏览代码

新增区域业绩管理详情页面

lihongxiao 2 年之前
父节点
当前提交
c73ff180a9
共有 1 个文件被更改,包括 5 次插入7 次删除
  1. 5 7
      src/views/PeopleManage/Player/RegionPerformanceManage.vue

+ 5 - 7
src/views/PeopleManage/Player/RegionPerformanceManage.vue

@@ -23,9 +23,6 @@
             :inline="true"
             class="form"
           >
-            <el-form-item label="成员名称" prop="userName">
-              <el-input v-model="pageRequest.userName"></el-input>
-            </el-form-item>
             <el-form-item label="省市区" prop="areaCode">
               <el-cascader
                 v-model="pageRequest.areaCode"
@@ -177,7 +174,7 @@
           pageSize: 20,
         },
         columns: [
-          { prop: "userName", label: "成员名称", type: "text" },
+          { prop: "areaName", label: "区域名称", type: "text" },
           { prop: "quoteNum", label: "报价次数", type: "text" },
           { prop: "submitNum", label: "提交核保次数", type: "text" },
           { prop: "hasInsuredNum", label: "已承保数量", type: "text" },
@@ -266,7 +263,8 @@
         // 点击事件
         this.currentTreeNode = evt;
         this.userId = this.currentTreeNode.id;
-        this.pageRequest.pageNum = 1;
+        this.pageRequest.areaCode=''
+        this.pageRequest.level=''
         this.findPage();
       },
       //--left tree start-------
@@ -298,13 +296,13 @@
     },
     //查看详情
     handleDetail(index) {
-      this.detailParams.userId = index.row.userId;
+      this.detailParams.areaCode = index.row.areaCode;
       this.detailDialog = true;
       this.getDetailData()
     },
     getDetailData(){
       this.loading = true;
-      this.$api.user.quUserNumDetail(this.detailParams).then((res) => {
+      this.$api.user.quUserNumDetail({...this.detailParams,userId:this.userId}).then((res) => {
         if (res.code == 200) {
           this.detailData = res.data.records;
           this.detailParams.pageNo = res.data.current;