Bläddra i källkod

需求池 988

bding 1 månad sedan
förälder
incheckning
d3cbeed683
1 ändrade filer med 4 tillägg och 8 borttagningar
  1. 4 8
      src/views/dataReport_manage/equityServiceStatistics.vue

+ 4 - 8
src/views/dataReport_manage/equityServiceStatistics.vue

@@ -83,7 +83,7 @@
         <el-table-column align="center" prop="Status" label="当前状态" width="80"> </el-table-column>
         <el-table-column align="center" prop="SellerName" label="销售" width="100"> </el-table-column>
         <el-table-column align="center" prop="ShareSeller" label="服务组销售" width="100"> </el-table-column>
-        <el-table-column align="center" prop="StartDate" label="合同期限" width="180">
+        <el-table-column align="center" prop="StartDate" sortable label="合同期限" width="180">
           <template slot-scope="{ row }">
             <span>{{ row.StartDate }}~{{ row.EndDate }}</span>
           </template>
@@ -192,6 +192,7 @@ export default {
       isServiceDetailsShow: false, //服务明细弹框
       dlgForm: {},
       sortType: "",
+      sortParam: "",
       lableOptions: [],
       tagType: "",
       tagId: "",
@@ -213,8 +214,6 @@ export default {
       }
       let SellerIds = [];
       if (this.filterObj.serveTypeId && this.filterObj.serveTypeId.length) {
-        console.log(this.filterObj.serveTypeId);
-
         SellerIds = this.filterObj.serveTypeId.map((item) => {
           return item[item.length - 1];
         });
@@ -240,8 +239,6 @@ export default {
     },
     // crm 15.9.1 区分权益FICC的展示
     isRoleType() {
-      console.log(localStorage.getItem("RoleType"), "=============");
-
       return localStorage.getItem("RoleType") || "";
     },
   },
@@ -302,8 +299,6 @@ export default {
       }
       let SellerIds = [];
       if (this.filterObj.serveTypeId && this.filterObj.serveTypeId.length) {
-        console.log(this.filterObj.serveTypeId);
-
         SellerIds = this.filterObj.serveTypeId.map((item) => {
           return item[item.length - 1];
         });
@@ -319,6 +314,7 @@ export default {
         Status: this.filterObj.status,
         SortType: this.sortType,
         KeyWord: this.searchVal,
+        SortParam: this.sortParam,
       });
       if (res.Ret === 200) {
         this.tableData = res.Data.List || [];
@@ -328,6 +324,7 @@ export default {
 
     sortChangeHandle({ column, prop, order }) {
       this.sortType = order === "ascending" ? "asc" : order === "descending" ? "desc" : "";
+      this.sortParam = prop == "Money" ? "money" : prop == "StartDate" ? "endDate" : "";
       this.page = 1;
       this.getDataList();
     },
@@ -392,7 +389,6 @@ export default {
       const res = await dataMainInterface.getRaiServeCustomSellerList();
       if (res.Ret === 200) {
         this.customSellerList = res.Data || [];
-        console.log(this.customSellerList, res);
       }
     },
     // 点击了历史留言