lyh 1 年之前
父节点
当前提交
1104750728

+ 1 - 1
src/method/axios.js

@@ -4,7 +4,7 @@ import axios from "axios";
 const instance = axios.create({
   baseURL: 'http://lhyt.zzly.vip:808', //请求的基础地址
   // baseURL: 'http://127.0.0.1:8000', //请求的基础地址
-  timeout: 5000, //请求超时的时间
+  timeout: 50000, //请求超时的时间
 });
 //发一个get请求
 

+ 1 - 0
src/servuces/prove.js

@@ -3,6 +3,7 @@ import {get,post} from '@/method/axios'
 
 //登录
 export const userloginInfo=(data)=>post("/plugins/lhyt/login/",data)
+// export const userloginInfo=(data)=>post("/foundation/dashboard/login/",data)
 //退出登录
 export const userlogoutInfo=(data)=>post("/plugins/lhyt/logout/",data)
 //公司接口

+ 1 - 4
src/views/TableDetail/BKFXtable.vue

@@ -107,7 +107,6 @@
           </el-table-column>
         </el-table>
 
-        <!-- <el-tab-pane label=" 分渠道销量统计分析">配置管理</el-tab-pane> -->
       </el-tabs>
     </div>
   </div>
@@ -282,9 +281,6 @@ export default {
   color: #ffffffc1;
 }
 /* 鼠标移入 */
-:deep(.el-table__body tr.hover-row > td.el-table__cell) {
-  background-color: transparent;
-}
 ::v-deep .el-table tr {
   background: #133654;
 }
@@ -308,6 +304,7 @@ export default {
 ::v-deep.el-table td {
   border: 1px solid #102b47;
   border-right: none !important;
+  text-align: center !important;
 }
 .time {
   color: rgb(174, 201, 222);

+ 6 - 5
src/views/TableDetail/BXCBtable.vue

@@ -81,7 +81,7 @@
             <el-table-column prop="paxbje" label="新保金额" width="120"  sortable> </el-table-column>
             <el-table-column prop="pazbds" label="续保单数" width="120"  sortable> </el-table-column>
             <el-table-column prop="pazbje" label="续保金额" width="120"  sortable> </el-table-column>
-            <el-table-column prop="pazje" label="总承金额" width="120"  sortable>
+            <el-table-column prop="pazje" label="总承金额" width="120"  sortable>
             </el-table-column>
           </el-table-column>
           <el-table-column prop="name" label="人寿保险">
@@ -89,7 +89,7 @@
             <el-table-column prop="rsxbje" label="新保金额" width="120"  sortable> </el-table-column>
             <el-table-column prop="rszbds" label="续保单数" width="120"  sortable> </el-table-column>
             <el-table-column prop="rszbje" label="续保金额" width="120"  sortable> </el-table-column>
-            <el-table-column prop="rszje" label="总承金额" width="120"  sortable>
+            <el-table-column prop="rszje" label="总承金额" width="120"  sortable>
             </el-table-column>
           </el-table-column>
           <el-table-column prop="name" label="人保保险">
@@ -97,7 +97,7 @@
             <el-table-column prop="rbxbje" label="新保金额"  width="120" sortable></el-table-column>
             <el-table-column prop="rbzbds" label="续保单数" width="120"  sortable> </el-table-column>
             <el-table-column prop="rbzbje" label="续保金额" width="120"  sortable> </el-table-column>
-            <el-table-column prop="rbzje" label="总承金额"  width="120" sortable>
+            <el-table-column prop="rbzje" label="总承金额"  width="120" sortable>
             </el-table-column>
           </el-table-column>
           <el-table-column prop="name" label="太平洋保险">
@@ -105,7 +105,7 @@
             <el-table-column prop="tpyxbje" label="新保金额"  width="120" sortable> </el-table-column>
             <el-table-column prop="tpyzbds" label="续保单数" width="120"  sortable> </el-table-column>
             <el-table-column prop="tpyzbje" label="续保金额"  width="120" sortable> </el-table-column>
-            <el-table-column prop="tpyzje" label="总承金额" width="120"  sortable>
+            <el-table-column prop="tpyzje" label="总承金额" width="120"  sortable>
             </el-table-column>
           </el-table-column>
           <el-table-column prop="name" label="其他保险">
@@ -113,7 +113,7 @@
             <el-table-column prop="qtxbje" label="新保金额"  width="120" sortable> </el-table-column>
             <el-table-column prop="qtzbds" label="续保单数"  width="120" sortable> </el-table-column>
             <el-table-column prop="qtzbje" label="续保金额" width="120"  sortable> </el-table-column>
-            <el-table-column prop="qtzje" label="总承金额" width="120"  sortable>
+            <el-table-column prop="qtzje" label="总承金额" width="120"  sortable>
             </el-table-column>
           </el-table-column>
         </el-table>
@@ -315,6 +315,7 @@ background-color: transparent;
 ::v-deep.el-table td {
   border: 1px solid #102b47;
   border-right: none !important;
+  text-align: center !important;
 }
 .time {
   color: rgb(174, 201, 222);

+ 1 - 0
src/views/TableDetail/CZTJtable.vue

@@ -300,6 +300,7 @@ export default {
 ::v-deep.el-table td {
   border: 1px solid #102b47;
   border-right: none !important;
+  text-align: center !important;
 }
 .time {
   color: rgb(174, 201, 222);

+ 5 - 4
src/views/TableDetail/FQYWtable.vue

@@ -45,7 +45,7 @@
             <!-- 日期表 -->
             <div class="dataForm" style="margin-right: 20px">
               <el-date-picker
-                v-model="serach_month"
+                v-model="search_month"
                 type="month"
                 placeholder="2023-08"
               >
@@ -53,7 +53,7 @@
             </div>
             <!-- 按钮 -->
             <el-button
-              @click="searchBtn(company_ids, serach_month)"
+              @click="searchBtn(company_ids, search_month)"
               style="background-color: rgb(40, 155, 209); color: black"
               >搜索</el-button
             >
@@ -129,7 +129,7 @@ export default {
       tableDatahj: [],
       //下拉框内属性
       options: [],
-      serach_month: '',
+      search_month: '',
     };
   },
   created () {
@@ -165,7 +165,7 @@ export default {
       });
     },
     getTableData () {
-      this.serach_month = nowmonthy;
+      this.search_month = nowmonthy;
       fqywtabledataInfo({ "company_ids": '', "search_month": nowmonthy }).then(res => {
         this.tableData = res.data;
         this.tableDatahj = res.footer
@@ -293,6 +293,7 @@ export default {
 ::v-deep.el-table td {
   border: 1px solid #102b47;
   border-right: none !important;
+  text-align: center !important;
 }
 /* 日期表 */
 

+ 16 - 20
src/views/TableDetail/JCPHtable.vue

@@ -1,7 +1,6 @@
 <template>
   <div>
     <!-- 标题 -->
-
     <div class="title" style="margin-top: 10px">
       <div style="display: flex; justify-content: space-between">
         <h1 style="color: azure" @click="goOff">漯河亿通集团数据看板</h1>
@@ -12,7 +11,7 @@
       </div>
       <img src="../../assets/bargound/图层 6.png" width="100%" />
     </div>
-    <div class="content">
+    <div class="content" >
       <el-tabs type="border-card" class="theme">
         <div style="display: flex; justify-content: space-between">
           <!-- 图标 -->
@@ -28,7 +27,7 @@
         <!-- 表格 -->
         <el-tabs type="border-card" class="theme">
           <el-tab-pane label="销售顾问业绩排名">
-           
+
             <div style="display: flex; justify-content: flex-end; margin: 10px">
               <!-- 下拉框 -->
               <div style="margin-right: 20px">
@@ -75,8 +74,8 @@
               }"
               :cell-style="{ 'text-align': 'center' }"
               show-summary
-
               style="width: 100%; margin: 1px"
+              :max-height="taheight"
             >
               <el-table-column prop="pm" label="排名" sortable> </el-table-column>
               <el-table-column prop="company" label="店面" sortable> </el-table-column>
@@ -226,7 +225,9 @@
                 }"
                 :cell-style="{ 'text-align': 'center' }"
 
-                style="width: 100%; margin: 1px;">
+                style="width: 100%; margin: 1px;"
+                :max-height="taheight"
+              >
                 <el-table-column prop="name" label="店名"></el-table-column>
                 <el-table-column label="新增客流量">
                   <el-table-column prop="visitor_count" label="首次进店" sortable width="120"></el-table-column>
@@ -270,7 +271,6 @@
               </el-table>
             </el-tab-pane>
         </el-tabs>
-        <!-- <el-tab-pane label=" 分渠道销量统计分析">配置管理</el-tab-pane> -->
       </el-tabs>
     </div>
   </div>
@@ -279,11 +279,10 @@
 <script>
 import { xsgwtabledataInfo, ppxltabledataInfo, xsdbtabledataInfo } from "../../servuces/prove";
 import { nowdaterange, nowdate, nowmonthy } from "../../servuces/getnowtime";
-import { column } from "../../store/tuozhuai";
 export default {
   data() {
     return {
-      taheight: window.innerHeight - (window.innerHeight * 0.15),
+      taheight: window.innerHeight - (window.innerHeight * 0.25),
       pm_company_ids: [],
       pp_company_ids: [],
       db_company_ids: [],
@@ -307,7 +306,6 @@ export default {
     }
   },
   mounted() {
-    column(this);
     this.updateTime(); //时间
     this.getTableDataOne(); //开始获取表格
     this.getTableDataTwo(); //开始获取表格
@@ -368,9 +366,9 @@ export default {
       const month = date.getMonth() + 1; // 月份从0开始,需要加1
 
       // 将年份和月份拼接成所需形式的字符串
-      const serach_date = `${year}-${month}`;
-      xsgwtabledataInfo({ "company_ids": company_ids, "search_month": serach_date}).then(res => {
-        this.tableData = res.data;
+      const search_date = `${year}-${month}`;
+      xsgwtabledataInfo({ "company_ids": company_ids, "search_month": search_date}).then(res => {
+        this.tableDataOne = res.data;
       });
     },
     searchBtn2(ids, search_date) {
@@ -382,9 +380,9 @@ export default {
       const s_date = date.getDate(); // 月份从0开始,需要加1
 
       // 将年份和月份拼接成所需形式的字符串
-      const serach_date = `${year}-${month}-${s_date}`;
-      ppxltabledataInfo({ "company_ids": company_ids, "serach_date": serach_date}).then(res => {
-        this.tableData = res.data;
+      const search_date1 = `${year}-${month}-${s_date}`;
+      ppxltabledataInfo({ "company_ids": company_ids, "search_date": search_date1}).then(res => {
+        this.tableDataTwo = res.data;
       });
     },
     searchBtn3(ids, search_date) {
@@ -400,14 +398,11 @@ export default {
           return `${year}-${month}-${day}`;
         });
         xsdbtabledataInfo({ "company_ids": company_ids, "date_begin": strvaluezh[0], 'date_end': strvaluezh[1] }).then(res => {
-          this.tableData = res.data;
-          this.tableDatahj = res.footer
-
+          this.tableDataThree = res.data;
         })
       } else {
         xsdbtabledataInfo({"company_ids": company_ids, "date_begin": '', 'date_end': ''}).then(res => {
-          this.tableData = res.data;
-          this.tableDatahj = res.footer;
+          this.tableDataThree = res.data;
         });
       }
     },
@@ -516,6 +511,7 @@ background-color: transparent;
 ::v-deep.el-table td {
   border: 1px solid #102b47;
   border-right: none !important;
+  text-align: center !important;
 }
 .time {
   color: rgb(174, 201, 222);

+ 1 - 0
src/views/TableDetail/KCFXtable.vue

@@ -323,6 +323,7 @@ export default {
 ::v-deep.el-table td {
   border: 1px solid #102b47;
   border-right: none !important;
+  text-align: center !important;
 }
 .time {
   color: rgb(174, 201, 222);

+ 1 - 0
src/views/TableDetail/KLFXtable.vue

@@ -287,6 +287,7 @@ export default {
 ::v-deep.el-table td {
   border: 1px solid #102b47;
   border-right: none !important;
+  text-align: center !important;
 }
 .time {
   color: rgb(174, 201, 222);

+ 1 - 0
src/views/TableDetail/KYFXtable.vue

@@ -326,6 +326,7 @@ export default {
 ::v-deep.el-table td {
   border: 1px solid #102b47;
   border-right: none !important;
+  text-align: center !important;
 }
 .time {
   color: rgb(174, 201, 222);

+ 7 - 6
src/views/TableDetail/RCCZtable.vue

@@ -33,14 +33,14 @@
             <!-- 日期表 -->
             <div class="dataForm" style="margin-right: 20px">
               <el-date-picker
-                v-model="serach_month"
+                v-model="search_month"
                 type="month"
                 placeholder="2023-08"
               >
               </el-date-picker>
             </div>
             <!-- 按钮 -->
-            <el-button @click="searchBtn(company_ids, serach_month)" style="background-color: rgb(40, 155, 209); color: black">查询</el-button>
+            <el-button @click="searchBtn(company_ids, search_month)" style="background-color: rgb(40, 155, 209); color: black">查询</el-button>
           </div>
         </div>
        <!-- 表格 -->
@@ -112,7 +112,7 @@ export default {
       //下拉框内属性
       options: [],
       //日期表属性
-        serach_month: '',
+        search_month: '',
     };
   },
     created () {
@@ -134,7 +134,7 @@ export default {
   methods: {
     //表格接口数据
       getTableData () {
-          this.serach_month = nowmonthy;
+          this.search_month = nowmonthy;
           rccztabledataInfo({ "company_ids": '', "search_month": nowmonthy}).then(res => {
               this.tableData = res.data;
               this.tableDatahj = res.footer
@@ -149,8 +149,8 @@ export default {
           const month = date.getMonth() + 1; // 月份从0开始,需要加1
 
           // 将年份和月份拼接成所需形式的字符串
-          const serach_date = `${year}-${month}`;
-          rccztabledataInfo({ "company_ids": company_ids, "search_month": serach_date}).then(res => {
+          const search_date = `${year}-${month}`;
+          rccztabledataInfo({ "company_ids": company_ids, "search_month": search_date}).then(res => {
               this.tableData = res.data;
               this.tableDatahj = res.footer
 
@@ -288,6 +288,7 @@ export default {
 ::v-deep.el-table td {
   border: 1px solid #102b47;
   border-right: none !important;
+  text-align: center !important;
 }
 
 .time {

+ 7 - 6
src/views/TableDetail/RCTCtable.vue

@@ -33,14 +33,14 @@
             <!-- 日期表 -->
             <div class="dataForm" style="margin-right: 20px">
               <el-date-picker
-                v-model="serach_month"
+                v-model="search_month"
                 type="month"
                 placeholder="2023-08"
               >
               </el-date-picker>
             </div>
             <!-- 按钮 -->
-            <el-button @click="searchBtn(company_ids, serach_month)" style="background-color: rgb(40, 155, 209); color: black">查询</el-button>
+            <el-button @click="searchBtn(company_ids, search_month)" style="background-color: rgb(40, 155, 209); color: black">查询</el-button>
           </div>
         </div>
        <!-- 表格 -->
@@ -98,7 +98,7 @@ export default {
       tableDatahj: [],
       //下拉框内属性
       options: [],
-      serach_month: ''
+      search_month: ''
     };
   },
   created () {
@@ -118,7 +118,7 @@ export default {
   },
   methods: {
     getTableData () {
-      this.serach_month = nowmonthy;
+      this.search_month = nowmonthy;
       rctctabledataInfo({ "company_ids": '', "search_month": nowmonthy}).then(res => {
         this.tableData = res.data;
         this.tableDatahj = res.footer
@@ -133,8 +133,8 @@ export default {
       const month = date.getMonth() + 1; // 月份从0开始,需要加1
 
       // 将年份和月份拼接成所需形式的字符串
-      const serach_date = `${year}-${month}`;
-      rctctabledataInfo({ "company_ids": company_ids, "search_month": serach_date}).then(res => {
+      const search_date = `${year}-${month}`;
+      rctctabledataInfo({ "company_ids": company_ids, "search_month": search_date}).then(res => {
         this.tableData = res.data;
         this.tableDatahj = res.footer
 
@@ -272,6 +272,7 @@ export default {
 ::v-deep.el-table td {
   border: 1px solid #102b47;
   border-right: none !important;
+  text-align: center !important;
 }
 
 .time {

+ 1 - 0
src/views/TableDetail/XSFXtable.vue

@@ -287,6 +287,7 @@ export default {
 ::v-deep.el-table td {
   border: 1px solid #102b47;
   border-right: none !important;
+  text-align: center !important;
 }
 
 .time {