2 Angajamente 9606326130 ... 2c9f4de528

Autor SHA1 Permisiunea de a trimite mesaje. Dacă este dezactivată, utilizatorul nu va putea trimite nici un fel de mesaj Data
  bding 2c9f4de528 Merge branch 'crm_16.1' into debug 2 săptămâni în urmă
  bding 5aceb806d8 修改上一年的合同信息 2 săptămâni în urmă

+ 4 - 0
src/api/modules/statisticApi.js

@@ -189,6 +189,10 @@ const dataMainInterface = {
 	mergeCompanyPreviousDetail:params => {
 		return http.get('/statistic_report/merge_company_previous/detail',params);
 	},
+	// 客户数据未续约说明更多上一年
+	mergeCompanyPreviousDetailYear:params => {
+		return http.get('/statistic_report/merge_company_previous/last_year',params);
+	},
 	/**
 	 * 	// 获取图表阅读统计列表
 	 * @param {PageSize} params 

+ 6 - 4
src/views/dataReport_manage/components/previousDetail.vue

@@ -1,6 +1,6 @@
 <template>
   <el-dialog v-dialogDrag :visible.sync="previousDetailDlg" @close="handleClose" :modal-append-to-body="false" center title="维持套餐">
-    <p>上一合同信息</p>
+    <p>上一合同信息</p>
     <el-table :data="dataList" border max-height="250" style="margin: 20px 0">
       <el-table-column label="合同期限" prop="StartDate" align="center" width="220">
         <template slot-scope="{ row }">
@@ -43,12 +43,14 @@ export default {
     },
     async getrenewalReasonList() {
       console.log(this.rowInfo);
-      const res = await dataMainInterface.mergeCompanyPreviousDetail({
+      const res = await dataMainInterface.mergeCompanyPreviousDetailYear({
         CompanyContractId: this.rowInfo.CompanyContractId,
       });
       if (res.Ret == 200) {
-        this.dataList = [res.Data.Detail];
-        console.log(this.dataList);
+
+        this.dataList = res.Data.List || []
+
+        // console.log(this.dataList);
       }
     },
   },

+ 1 - 1
src/views/dataReport_manage/equityCustomStatistics.vue

@@ -38,7 +38,7 @@
                 <el-tooltip class="item" effect="dark" :content="item.label === '新签客户' ? '<br />' : item.label === '续约客户' ? '起始时间在所选时间段内的续约合同' : ''" placement="top">
                   <template slot="content">
                     <div v-if="item.label === '新增试用客户'">
-                      <p>新建试用客户的时间或跨部门领取的时间,包含在所选时间段内的客户数</p>
+                      <p>新建试用客户的时间,包含在所选时间段内的客户数(流失领取的不计入)</p>
                     </div>
                     <div v-else-if="item.label === '新签客户'">
                       <p>起始时间在所选时间段内的新签合同</p>