瀏覽代碼

top

newStyle
jyt 2 年之前
父節點
當前提交
1fb63ec0a1
共有 2 個檔案被更改,包括 43 行新增2 行删除
  1. +8
    -0
      src/views/ReceivingRecords/index.vue
  2. +35
    -2
      src/views/Statistics/index.vue

+ 8
- 0
src/views/ReceivingRecords/index.vue 查看文件

@@ -573,12 +573,20 @@ export default {
console.log("时间");
}


this.rec_index_show = this.permissions["rec_index_show"];
this.rec_index_text = this.permissions["rec_index_text"];
this.rec_index_voice = this.permissions["rec_index_voice"];
this.rec_index_downLoad = this.permissions["rec_index_downLoad"];
},
mounted() {
if(this.$route.query.validInvalid){
this.searchForm.validInvalid = this.$route.query.validInvalid;
}
if(this.$route.query.markAdvisor){
this.searchForm.markAdvisor = this.$route.query.markAdvisor;
}
// 获取项目列表
this.zkhousePage();
},


+ 35
- 2
src/views/Statistics/index.vue 查看文件

@@ -49,7 +49,22 @@
</div>

<!-- 中间 -->
<div class="app-box" :style="{'margin-top':orgType != 3?'110px':'70px'}">
<div style="display: flex;justify-content: space-between" :style="{'margin-top':orgType != 3?'110px':'70px'}">
<el-card style="width: 33%;display: flex;flex-direction: column;align-items: center;text-align: center">
<div @click="goTo(1)">{{efficient}}</div>
<div @click="goTo(1)" style="margin-top: 10px">有效接待</div>
</el-card>
<el-card style="width: 33%;display: flex;flex-direction: column;align-items: center;text-align: center">
<div @click="goTo(2)">{{markCount}}</div>
<div @click="goTo(2)" style="margin-top: 10px">已标顾问</div>
</el-card>
<el-card style="width: 33%;display: flex;flex-direction: column;align-items: center;text-align: center">
<div @click="goTo(3)">{{noMarkCount}}</div>
<div @click="goTo(3)" style="margin-top: 10px">未标顾问</div>
</el-card>
</div>

<div class="app-box">
<div class="conbox">客群特征总览</div>
<div class="alllistbox">
<div
@@ -164,6 +179,7 @@

<script>
import * as echarts from "echarts";
import Router from "../../router/router";

import colorTheme from "../../util/theme.color"
export default {
@@ -183,13 +199,25 @@ export default {
starttime: "",
endoftime: "",
},

efficient:"",
markCount:"",
noMarkCount:""
};
},
mounted() {
this.zkhousePage();
},
methods: {

goTo(i){
if(i==1){
Router.push("/ReceivingRecords/index?activeTotal=0&validInvalid=0")
}else if(i==2){
Router.push("/ReceivingRecords/index?activeTotal=0&markAdvisor=1");
}else{
Router.push("/ReceivingRecords/index?activeTotal=0&markAdvisor=0");
}
},
backTop(){
$('#avue-view').scrollTop(0)
},
@@ -274,6 +302,11 @@ export default {
.then((res) => {
this.objlist = res.data.list;
this.alllist = [{ name: "有效接待", num: res.data.total }];

this.efficient = res.data.total
this.markCount = res.data.markCount
this.noMarkCount = res.data.noMarkCount

res.data.list.forEach((item, index) => {
this.alllist.push({
name: item.name,


Loading…
取消
儲存