cfort 2 лет назад
Родитель
Сommit
37657608fc

+ 0 - 31
src/views/constants/index.js

@@ -1,31 +0,0 @@
-
-
-export const typeOptions = [
-  {
-    value: 'c01',
-    label: 'CNAS'
-  },
-  {
-    value: 'c02',
-    label: 'CMA'
-  },
-  {
-    value: 'c03',
-    label: 'CNASCMA'
-  },
-  {
-    value: 'c04',
-    label: '非CNASCMA'
-  }
-]
-
-export const statusOptions = [
-  {
-    value: 'qy',
-    label: '启用'
-  },
-  {
-    value: 'ty',
-    label: '停用'
-  }
-]

+ 0 - 154
src/views/crm/component/customerStatistics.vue

@@ -1,154 +0,0 @@
-<template>
-    <div>
-        <div id="chart" style="width:100%;height:85%"></div>
-    </div>
-</template>
-<script>
-import echarts from 'echarts'
-  export default {
-    data() {
-        return {
-            // title:'人员培训',
-            dialogOff:false,
-       }
-    },
-    props:{
-        data: {
-            type: Array,
-            default: []
-        }
-    },
-    watch: {
-        data(v) {
-            this.getEchartData()
-        }
-    },
-    mounted() {
-      this.getEchartData()
-    },
-    methods: {
-      getEchartData() {
-        if (true) {
-            let myChart =  echarts.init(document.getElementById("chart"))
-            let option = {
-                tooltip: {
-                    trigger: 'item'
-                },
-                legend: {
-                    top: '5%',
-                    left: 'center',
-                    textStyle:{
-                        color:'#fff',
-                        fontSize: 15,
-                        fontWeight: 'bold'
-                    }
-                },
-                color:['#FF3366','#66FFFF','#66CC00'],
-                series: [
-                    {
-                        type: 'pie',
-                        // radius: ['40%', '70%'],
-                        avoidLabelOverlap: false,
-                        label: {
-                            // show: true,
-                            formatter: '{b}: {@2012} ({d}%)',
-                            position: 'inner',
-                            textStyle: {
-                                fontSize: 18,
-                                fontWeight: 'bold'
-                            }
-                        },
-                        emphasis: {
-                            label: {
-                                show: true,
-                                fontSize: 20,
-                                fontWeight: 'bold'
-                            }
-                        },
-                        labelLine: {
-                            show: false
-                        },
-                        data: this.data
-                    }
-                ]
-                // legend: {                  
-                //     textStyle:{
-                //         color:'#fff'
-                //     }
-                // },
-                // tooltip: {},
-                // color:['#FF3366','#66FFFF','#66CC00'],
-                // dataset: {
-                //     dimensions: ['lei_bie_', 'qznum', 'ynnum', 'khnum'],
-                //     source: this.data
-                // },
-                // xAxis: { 
-                //     type: 'category',
-                //     axisLabel:{//修改坐标系字体颜色
-                //         show:true,
-                //         textStyle:{
-                //             color:"#fff"
-                //         }
-                //     },
-                //     axisLine: {
-                //         show: true,
-                //         lineStyle: {
-                //             color: "rgba(255,255,255,1)",
-                //             type: "solid"
-                //         }
-                //     }
-                // },
-                // yAxis: {
-                //     axisLabel:{//修改坐标系字体颜色
-                //         show:true,
-                //         textStyle:{
-                //             color:"#fff"
-                //         }
-                //     },
-                //     axisLine: {//y轴线的颜色以及宽度
-                //         show: true,
-                //         lineStyle: {
-                //             color: "rgba(255,255,255,1)",
-                //             type: "solid"
-                //         },
-                //     },
-                //     splitLine: {
-                //         show: false
-                //     }
-                // },
-                // // Declare several bar series, each will be mapped
-                // // to a column of dataset.source by default.
-                // series: [
-                //     { 
-                //         name: '潜在客户数量',
-                //         type: 'bar',
-                //         label: {
-                //             show: true,
-                //             position: 'top'
-                //         } 
-                //     }, { 
-                //         name: '意向客户数量',
-                //         type: 'bar', 
-                //         label: {
-                //             show: true,
-                //             position: 'top'
-                //         } 
-                //     }, {
-                //         name: '已签约客户数量',
-                //         type: 'bar',
-                //         label: {
-                //             show: true,
-                //             position: 'top'
-                //         } 
-                //     }
-                // ]
-            };
-            option && myChart.setOption(option);
-        }
-      },
-    },
-  }
-</script>
-<style lang="scss" scoped>
-
-</style>

+ 0 - 112
src/views/crm/component/customerStatisticsM.vue

@@ -1,112 +0,0 @@
-<template>
-    <div>
-        <div id="chartM" style="width:100%;height:85%"></div>
-    </div>
-</template>
-<script>
-import echarts from 'echarts'
-  export default {
-    data() {
-        return {
-            // title:'人员培训',
-            dialogOff:false,
-       }
-    },
-    props:{
-        data: {
-            type: Array,
-        }
-    },
-    watch: {
-        data(v) {
-            this.getEchartData()
-        }
-    },
-    mounted() {
-      this.getEchartData()
-    },
-    methods: {
-      getEchartData() {
-        
-        if (true) {
-            let mcm =  echarts.init(document.getElementById("chartM"))
-            let option = {
-                legend: {                  
-                    textStyle:{
-                        color:'#fff'
-                    }
-                },
-                tooltip: {},
-                color:['#FF33FF','#66FFFF','#33CC00'],
-                dataset: {
-                    dimensions: ['lei_bie_', 'qznum', 'ynnum', 'khnum'],
-                    source: this.data
-                },
-                xAxis: { 
-                    type: 'category',
-                    axisLabel:{//修改坐标系字体颜色
-                        show:true,
-                        textStyle:{
-                            color:"#fff"
-                        }
-                    },
-                    axisLine: {
-                        show: true,
-                        lineStyle: {
-                            color: "rgba(255,255,255,1)",
-                            type: "solid"
-                        }
-                    }
-                },
-                yAxis: {
-                    axisLabel:{//修改坐标系字体颜色
-                        show:true,
-                        textStyle:{
-                            color:"#fff"
-                        }
-                    },
-                    axisLine: {//y轴线的颜色以及宽度
-                        show: true,
-                        lineStyle: {
-                            color: "rgba(255,255,255,1)",
-                            type: "solid"
-                        },
-                    },
-                    splitLine: {
-                        show: false
-                    }
-                },
-                series: [
-                    { 
-                        name: '潜在客户数量',
-                        type: 'bar',
-                        label: {
-                            show: true,
-                            position: 'top'
-                        } 
-                    }, { 
-                        name: '意向客户数量',
-                        type: 'bar',
-                        label: {
-                            show: true,
-                            position: 'top'
-                        } 
-                    }, { 
-                        name: '已签约客户数量',
-                        type: 'bar',
-                        label: {
-                            show: true,
-                            position: 'top'
-                        } 
-                    }
-                ]
-            };
-            option && mcm.setOption(option);
-        }
-      },
-    },
-  }
-</script>
-<style lang="scss" scoped>
-
-</style>

+ 0 - 85
src/views/crm/component/headerDecoration.vue

@@ -1,85 +0,0 @@
-<!--
- * @Author: cyy szjbdcyy@126.com
- * @Date: 2023-03-09 15:33:26
- * @LastEditors: cyy szjbdcyy@126.com
- * @LastEditTime: 2023-03-09 15:36:54
- * @FilePath: \lh_firm_former\src\views\statistics\headerDecoration.vue
- * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
--->
-<template>
-  <div id="top">
-    <dv-decoration-8 class="header-left-decoration" />
-    <dv-decoration-5 class="header-center-decoration" />
-   
-    <dv-decoration-8 class="header-right-decoration" :reverse="true" />
-    <div class="center-title">CRM看板</div></div>
-    <!-- <span class="showTime">当前时间为:{{sendTime}}</span> -->
-    
-  </div>
-</template>
-
-<script>
-
-export default {
-  // props:['titleName'],
-  data () {
-    return {
-      sendTime:''
-      
-	}
-  },
-  created(){
-    this.currentTime()
-  },
-  methods:{
-    currentTime() {
-      setInterval(this.getNowTime, 500);
-    },
-    getNowTime(){
-      const nowDate = new Date();
-      const date = {
-          year: nowDate.getFullYear(),
-          month: nowDate.getMonth() + 1,
-          day: nowDate.getDate(),
-          hour: nowDate.getHours(),
-          minute: nowDate.getMinutes(),
-          second: nowDate.getSeconds()
-      }
-      this.sendTime = date.year + '年' + date.month + '月' + date.day + '日' +date.hour + '时' + date.minute + '分' + date.second + '秒'
-
-
-
-    }
-  }
-}
-</script>
-
-<style lang="less">
-#top {
-  position: relative;
-  width: 100%;
-  height: 100px;
-  display: flex;
-  justify-content: space-between;
-  flex-shrink: 0;
- 
-  .header-center-decoration {
-    width: 40%;
-    height: 60px;
-    margin-top: 30px;
-  }
-  .header-left-decoration, .header-right-decoration {
-    width: 25%;
-    height: 60px;
-  }
-  .center-title {
-    position: absolute;
-    font-size: 30px;
-    font-weight: bold;
-    left: 50%;
-    top: 15px;
-    color: #fff;
-    transform: translateX(-50%);
-  }
-}
-</style>

+ 0 - 89
src/views/crm/component/individualPerformance.vue

@@ -1,89 +0,0 @@
-<template>
-    <div>
-        <div id="inpm" style="width:100%;height:85%"></div>
-    </div>
-</template>
-<script>
-import echarts from 'echarts'
-  export default {
-    data() {
-        return {
-            // title:'人员培训',
-            dialogOff:false,
-       }
-    },
-    props:{
-        data: {
-            type: Array,
-        }
-    },
-    watch: {
-        data(v) {
-            this.getEchartData()
-        }
-    },
-    mounted() {
-      this.getEchartData()
-    },
-    methods: {
-      getEchartData() {
-        
-        if (true) {
-            let inpms=  echarts.init(document.getElementById("inpm"))
-            let option = {
-                legend: {                  
-                    textStyle:{
-                        color:'#fff'
-                    }
-                },
-                tooltip: {},
-                color:['#FFFF66'],
-                dataset: {
-                    dimensions: ['lei_bie_', 'jiage'],
-                    source: this.data
-                },
-                xAxis: { 
-                    type: 'category',
-                    axisLabel:{//修改坐标系字体颜色
-                        show:true,
-                        textStyle:{
-                            color:"#fff"
-                        }
-                    },
-                    axisLine: {
-                        show: true,
-                        lineStyle: {
-                            color: "rgba(255,255,255,1)",
-                            type: "solid"
-                        }
-                    }
-                },
-                yAxis: {
-                    axisLabel:{//修改坐标系字体颜色
-                        show:true,
-                        textStyle:{
-                            color:"#fff"
-                        }
-                    },
-                    axisLine: {//y轴线的颜色以及宽度
-                        show: true,
-                        lineStyle: {
-                            color: "rgba(255,255,255,1)",
-                            type: "solid"
-                        },
-                    },
-                    splitLine: {
-                        show: false
-                    }
-                },
-                series: [{ name: '销量',type: 'bar',barWidth:'10%',label: {show: true,position: 'top'}  }]
-            };
-            option && inpms.setOption(option);
-        }
-      },
-    },
-  }
-</script>
-<style lang="scss" scoped>
-
-</style>

+ 0 - 89
src/views/crm/component/orderStatistics.vue

@@ -1,89 +0,0 @@
-<template>
-    <div>
-        <div id="chartOR" style="width:100%;height:100%"></div>
-    </div>
-</template>
-<script>
-import echarts from 'echarts'
-  export default {
-    data() {
-        return {
-            // title:'人员培训',
-            dialogOff:false,
-       }
-    },
-    props:{
-        data: {
-            type: Array,
-        }
-    },
-    watch: {
-        data(v) {
-            this.getEchartData()
-        }
-    },
-    mounted() {
-      this.getEchartData()
-    },
-    methods: {
-      getEchartData() {
-        
-        if (true) {
-            let ors=  echarts.init(document.getElementById("chartOR"))
-            let option = {
-                legend: {                  
-                    textStyle:{
-                        color:'#fff'
-                    }
-                },
-                tooltip: {},
-                color:['#FF33FF','#66FFFF','#33CC00'],
-                dataset: {
-                    dimensions: ['lei_bie_', 'qznum', 'ynnum', 'khnum'],
-                    source: this.data
-                },
-                xAxis: { 
-                    type: 'category',
-                    axisLabel:{//修改坐标系字体颜色
-                        show:true,
-                        textStyle:{
-                            color:"#fff"
-                        }
-                    },
-                    axisLine: {
-                        show: true,
-                        lineStyle: {
-                            color: "rgba(255,255,255,1)",
-                            type: "solid"
-                        }
-                    }
-                },
-                yAxis: {
-                    axisLabel:{//修改坐标系字体颜色
-                        show:true,
-                        textStyle:{
-                            color:"#fff"
-                        }
-                    },
-                    axisLine: {//y轴线的颜色以及宽度
-                        show: true,
-                        lineStyle: {
-                            color: "rgba(255,255,255,1)",
-                            type: "solid"
-                        },
-                    },
-                    splitLine: {
-                        show: false
-                    }
-                },
-                series: [{ name: '潜在客户数量',type: 'bar' }, { name: '意向客户数量',type: 'bar' }, { name: '已签约客户数量',type: 'bar' }]
-            };
-            option && ors.setOption(option);
-        }
-      },
-    },
-  }
-</script>
-<style lang="scss" scoped>
-
-</style>

+ 0 - 142
src/views/crm/component/personPerformance.vue

@@ -1,142 +0,0 @@
-<template>
-<div @click="toDetailed()" class="statisticsPage" style="width:100%;height:85%">
-    <div id="chart" style="width:100%;height:100%"></div>
-    <div v-if="dialogOff">
-      <dialogView
-        :dialogOff = "dialogOff"
-        @close = "close"
-        :data="userInfo"
-        :date="date"
-      />
-    </div>
-</div>
-</template>
-<script>
-import echarts from 'echarts'
-import dialogView from '../messageBox/personAllDetails'
-  export default {
-    data() {
-        return {
-            // title:'人员培训',
-            dialogOff:false,
-            userInfo:[]
-
-       }
-    },
-    components:{
-      dialogView
-    },
-    props:{
-        data: {
-            type: Array,
-        },
-        date: {
-            type: String,
-        },
-        click:{
-            type:String,
-            default:'true'
-        },
-    },
-    watch: {
-        data(v) {
-            this.getEchartData()
-        }
-    },
-    mounted() {
-      this.getEchartData()
-    },
-    methods: {
-        close(){
-        this.dialogOff = false
-      },
-      /* 跳转统计页面*/
-      toDetailed(){
-        if(this.click == "true"){
-            this.dialogOff = true
-        }
-      },
-      getEchartData() {
-        if (true) {
-            let that = this
-            let myChart =  echarts.init(document.getElementById("chart"))
-            let option = {
-                legend: {                  
-                    textStyle:{
-                        color:'#fff'
-                    }
-                },
-                tooltip: {},
-                color:['#66CC00'],
-                xAxis: {
-                    type: 'category',
-                    data: this.data[0],
-                    axisLabel:{//修改坐标系字体颜色
-                        show:true,
-                        textStyle:{
-                            color:"#fff"
-                        }
-                    },
-                    axisLine: {
-                        show: true,
-                        lineStyle: {
-                            color: "rgba(255,255,255,1)",
-                            type: "solid"
-                        }
-                    }
-                },
-                yAxis: {
-                    type: 'value',
-                    axisLabel:{//修改坐标系字体颜色
-                        show:true,
-                        textStyle:{
-                            color:"#fff"
-                        }
-                    },
-                    axisLine: {//y轴线的颜色以及宽度
-                        show: true,
-                        lineStyle: {
-                            color: "rgba(255,255,255,1)",
-                            type: "solid"
-                        },
-                    },
-                    splitLine: {
-                        show: false
-                    }
-                },
-                series: [
-                    {
-                        data: this.data[1],
-                        type: 'bar',
-                        name: '销量',
-                        // showBackground: true,
-                        backgroundStyle: {
-                            color: 'rgba(180, 180, 180, 0.2)'
-                        },
-                        label: {
-                            show: true,
-                            position: 'top',
-                            formatter: function(params) {
-                                if (params.value > 0) {
-                                    return params.value;
-                                } else {
-                                    return '';
-                                }
-                            }
-                        } 
-                    }
-                ]
-            };
-            myChart.on('click', function (params) {
-                that.userInfo[0] = params.dataIndex+1
-                // that.userInfo[1] = params.data.NAME_
-            })
-            option && myChart.setOption(option);
-        }
-      },
-    },
-  }
-</script>
-<style lang="scss" scoped>
-
-</style>

+ 0 - 146
src/views/crm/component/personPerformanceMonth.vue

@@ -1,146 +0,0 @@
-<template>
-<div @click="toDetailed()" class="statisticsPage" style="width:100%;height:85%">
-
-    <div id="chartqq" style="width:100%;height:100%"></div>
-    <div v-if="dialogOff">
-      <dialogView
-        :dialogOff = "dialogOff"
-        @close = "close"
-        :data="userInfo"
-        :date="date"
-      />
-    </div>
-</div>
-</template>
-<script>
-import echarts from 'echarts'
-import dialogView from '../messageBox/personMonthDetails'
-
-  export default {
-    data() {
-        return {
-            // title:'人员培训',
-            dialogOff:false,
-            userInfo:[]
-       }
-    },
-    components:{
-      dialogView
-    },
-    props:{
-        data: {
-            type: Array,
-        },
-        date: {
-            type: String,
-        },
-        click:{
-            type:String,
-            default:'true'
-        },
-    },
-    watch: {
-        data(v) {
-            this.getEchartData()
-        }
-    },
-    mounted() {
-      this.getEchartData()
-    },
-    methods: {
-        close(){
-        this.dialogOff = false
-      },
-      /* 跳转统计页面*/
-      toDetailed(){
-        if(this.click == "true"){
-            this.dialogOff = true
-        }
-      },
-      getEchartData() {
-        if (true) {
-            let that = this
-
-            let qq =  echarts.init(document.getElementById("chartqq"))
-            let option = {
-                legend: {                  
-                    textStyle:{
-                        color:'#fff'
-                    }
-                },
-                tooltip: {},
-                color:['#FFD700'],
-                xAxis: {
-                    type: 'category',
-                    data: this.data[0],
-                    axisLabel:{//修改坐标系字体颜色
-                        show:true,
-                        textStyle:{
-                            color:"#fff"
-                        }
-                    },
-                    axisLine: {
-                        show: true,
-                        lineStyle: {
-                            color: "rgba(255,255,255,1)",
-                            type: "solid"
-                        }
-                    }
-                },
-                yAxis: {
-                    type: 'value',
-                    axisLabel:{//修改坐标系字体颜色
-                        show:true,
-                        textStyle:{
-                            color:"#fff"
-                        }
-                    },
-                    axisLine: {//y轴线的颜色以及宽度
-                        show: true,
-                        lineStyle: {
-                            color: "rgba(255,255,255,1)",
-                            type: "solid"
-                        },
-                    },
-                    splitLine: {
-                        show: false
-                    }
-                },
-                series: [
-                    {
-                        data: this.data[1],
-                        type: 'bar',
-                        name: '销量',
-                        // showBackground: true,
-                        backgroundStyle: {
-                            color: 'rgba(180, 180, 180, 0.2)'
-                        },
-                        label: {
-                            show: true,
-                            position: 'top',
-                            formatter: function(params) {
-                                if (params.value > 0) {
-                                    return params.value;
-                                } else {
-                                    return '';
-                                }
-                            }
-                        } 
-                    }
-                ]
-            };
-            qq.on('click', function (params) {
-                // console.log(params)
-                that.userInfo[0] = params.dataIndex+1
-                // that.userInfo[1] = params.data.NAME_
-                // console.log(params.dataIndex);
-            })
-            option && qq.setOption(option);
-        }
-      },
-    },
-  }
-</script>
-<style lang="scss" scoped>
-
-</style>

+ 0 - 124
src/views/crm/component/teamPerformance.vue

@@ -1,124 +0,0 @@
-<template>
-<div @click="toDetailed()" class="statisticsPage" style="width:100%;height:85%">
-    <div id="tmec" style="width:100%;height:100%"></div>
-    <div v-if="dialogOff">
-      <dialogView
-        :dialogOff = "dialogOff"
-        @close = "close"
-        :data="userInfo"
-        :date="date"
-      />
-    </div>
-</div>
-</template>
-<script>
-import echarts from 'echarts'
-import dialogView from '../messageBox/teamAllDetails'
-
-export default {
-    data() {
-        return {
-            dialogOff:false,
-            userInfo:[]
-       }
-    },
-    components:{
-      dialogView
-    },
-    props:{
-        data: {
-            type: Array,
-        },
-        date: {
-            type: String,
-        },
-        click:{
-            type:String,
-            default:'true'
-        },
-    },
-    watch: {
-        data(v) {
-            this.getEchartData()
-        }
-    },
-    mounted() {
-      this.getEchartData()
-    },
-    methods: {
-      close(){
-        this.dialogOff = false
-      },
-      /* 跳转统计页面*/
-      toDetailed(){
-        if(this.click == "true"){
-            this.dialogOff = true
-        }
-      },
-      getEchartData() {
-        if (true) {
-            let that = this
-            let tmecs=  echarts.init(document.getElementById("tmec"))
-            let option = {
-                legend: {                  
-                    textStyle:{
-                        color:'#fff'
-                    }
-                },
-                tooltip: {},
-                color:['#99FF00'],
-                dataset: {
-                    dimensions: ['NAME_', 'jiage'],
-                    source: this.data
-                },
-                xAxis: { 
-                    type: 'category',
-                    axisLabel:{//修改坐标系字体颜色
-                        show:true,
-                        textStyle:{
-                            color:"#fff"
-                        }
-                    },
-                    axisLine: {
-                        show: true,
-                        lineStyle: {
-                            color: "rgba(255,255,255,1)",
-                            type: "solid"
-                        }
-                    }
-                },
-                yAxis: {
-                    axisLabel:{//修改坐标系字体颜色
-                        show:true,
-                        textStyle:{
-                            color:"#fff"
-                        }
-                    },
-                    axisLine: {//y轴线的颜色以及宽度
-                        show: true,
-                        lineStyle: {
-                            color: "rgba(255,255,255,1)",
-                            type: "solid"
-                        },
-                    },
-                    splitLine: {
-                        show: false
-                    }
-                },
-                series: [{ name: '销量',type: 'bar',barWidth:'10%',label: {show: true,position: 'top'} }]
-            };
-            tmecs.on('click', function (params) {
-                // console.log(params.data.bian_zhi_ren_)
-                that.userInfo[0] = params.data.bian_zhi_ren_
-                that.userInfo[1] = params.data.NAME_
-                // console.log(params.dataIndex);
-            })
-            option && tmecs.setOption(option);
-        }
-      },
-    },
-  }
-</script>
-<style lang="scss" scoped>
-
-</style>

+ 0 - 125
src/views/crm/component/teamPerformanceMonth.vue

@@ -1,125 +0,0 @@
-<template>
-<div @click="toDetailed()" class="statisticsPage" style="width:100%;height:85%">
-    <div id="chartOR" style="width:100%;height:100%"></div>
-        <div v-if="dialogOff">
-      <dialogView
-        :dialogOff = "dialogOff"
-        @close = "close"
-        :data="userInfo"
-        :date="date"
-      />
-    </div>
-</div>
-</template>
-<script>
-import echarts from 'echarts'
-import dialogView from '../messageBox/teamMonthDetails'
-
-  export default {
-    data() {
-        return {
-            // title:'人员培训',
-            dialogOff:false,
-            userInfo:[]
-       }
-    },
-    props:{
-        data: {
-            type: Array,
-        },
-        date: {
-            type: String,
-        },
-        click:{
-            type:String,
-            default:'true'
-        },
-    },
-    components:{
-      dialogView
-    },
-    watch: {
-        data(v) {
-            this.getEchartData()
-        }
-    },
-    mounted() {
-      this.getEchartData()
-    },
-    methods: {
-      close(){
-        this.dialogOff = false
-      },
-      /* 跳转统计页面*/
-      toDetailed(){
-        if(this.click == "true"){
-            this.dialogOff = true
-        }
-      },
-      getEchartData() {
-        if (true) {
-            let that = this
-            let ors=  echarts.init(document.getElementById("chartOR"))
-            let option = {
-                legend: {                  
-                    textStyle:{
-                        color:'#fff'
-                    }
-                },
-                tooltip: {},
-                color:['#99FFFF'],
-                dataset: {
-                    dimensions: ['NAME_', 'jiage'],
-                    source: this.data
-                },
-                xAxis: { 
-                    type: 'category',
-                    axisLabel:{//修改坐标系字体颜色
-                        show:true,
-                        textStyle:{
-                            color:"#fff"
-                        }
-                    },
-                    axisLine: {
-                        show: true,
-                        lineStyle: {
-                            color: "rgba(255,255,255,1)",
-                            type: "solid"
-                        }
-                    }
-                },
-                yAxis: {
-                    axisLabel:{//修改坐标系字体颜色
-                        show:true,
-                        textStyle:{
-                            color:"#fff"
-                        }
-                    },
-                    axisLine: {//y轴线的颜色以及宽度
-                        show: true,
-                        lineStyle: {
-                            color: "rgba(255,255,255,1)",
-                            type: "solid"
-                        },
-                    },
-                    splitLine: {
-                        show: false
-                    }
-                },
-                series: [{ name: '销量',type: 'bar',barWidth:'10%',label: {show: true,position: 'top'} }]
-            };
-            ors.on('click', function (params) {
-                // console.log(params.data.bian_zhi_ren_)
-                that.userInfo[0] = params.data.bian_zhi_ren_
-                that.userInfo[1] = params.data.NAME_
-                // console.log(params.dataIndex);
-            })
-            option && ors.setOption(option);
-        }
-      },
-    },
-  }
-</script>
-<style lang="scss" scoped>
-
-</style>

+ 0 - 147
src/views/crm/messageBox/personAllDetails.vue

@@ -1,147 +0,0 @@
-<template>
-    <el-dialog
-      :visible.sync="visible"
-      ref="dialog"
-      :title="'个人月度销售详情'"
-      width="100%"
-      lock-scroll
-      append-to-body
-      fullscreen
-      close-on-press-escape
-      destroy-on-close
-      v-if="visible"
-      @close="handleClose">
-
-        <el-table
-        :data="tableData.slice((currpage - 1) * pagesize, currpage * pagesize)"
-        style="width: 100%"
-        :row-class-name="tableRowClassName">
-            <el-table-column
-            prop="he_tong_bian_hao_"
-            label="合同编号"
-            width="180">
-            </el-table-column>
-            <el-table-column
-            prop="zhuan_huan_ke_hu_"
-            label="客户名称"
-            width="180">
-            </el-table-column>
-            <el-table-column
-            prop="sheng_xiao_shi_ji"
-            label="生效时间"
-            width="180">
-            </el-table-column>
-            <el-table-column
-            prop="shi_xiao_shi_jian"
-            label="失效时间"
-            width="180">
-            </el-table-column>
-            <el-table-column
-            prop="zhuang_tai_"
-            label="合同状态"
-            width="180">
-            </el-table-column>
-            <el-table-column
-            prop="fu_kuan_fang_shi_"
-            label="付款方式"
-            width="180">
-            </el-table-column>
-            <el-table-column
-            prop="jiage"
-            label="总价(元)"
-            width="180">
-            </el-table-column>
-        </el-table>
-
-        <el-pagination
-        layout="prev, pager, next, jumper"
-        @size-change = 'handleSizeChange'
-        @current-change='handleCurrentChange'
-        :current-page='currpage'
-        :page-size='pagesize'
-        :total="tableData.length">
-
-        </el-pagination>
-    </el-dialog>
-</template>
-
-<script>
-  import curdPost from '@/business/platform/form/utils/custom/joinCURD.js'
-
-  export default {
-    props:{
-        dialogOff:{ //当前表单示例
-            type: Boolean,
-            default:false,
-        },
-        data:{
-            type:Array
-        },
-        date:{
-            type:String
-        },
-        height:{
-            type:String,
-            default:window.screen.height * 0.5 +'px'
-        }
-    },
-    beforeMount: function () {
-        let tempid = this.$store.state.ibps.user.info.user.id
-        const newmonth = this.data[0] > 10 ? this.data[0] : "0" + this.data[0];
-
-        let sql = "select e.*,ibps_party_employee.NAME_ from (select d.*,t_mjwtsqb.zong_jia_ as jiage from (select * from t_bjd LEFT JOIN (select a.id_ as leibieid,a.lai_yuan_qu_dao_ as laiyuan,b.id_ as qudaoid, b.lei_bie_ from ((select id_, lai_yuan_qu_dao_ from t_qzkhb GROUP BY id_) UNION (select id_, lai_yuan_qu_dao_ from t_yxkh GROUP BY id_) UNION (select ke_hu_ming_cheng_, lai_yuan_qu_dao_ as khnum from t_khxx GROUP BY ke_hu_ming_cheng_)) as a LEFT JOIN (select t_qdgl.id_,t_qdlbb.lei_bie_ from t_qdgl LEFT JOIN t_qdlbb on t_qdgl.qu_dao_lei_bie_ = t_qdlbb.id_) as b on a.lai_yuan_qu_dao_ = b.id_) as c on t_bjd.ke_hu_ming_cheng_ = c.leibieid where c.lei_bie_ is not NULL and t_bjd.sheng_xiao_shi_ji like '"+ this.date.split('-')[0]+"-"+newmonth +"%' and t_bjd.bian_zhi_ren_ = '"+tempid+"') as d left join t_mjwtsqb on t_mjwtsqb.he_tong_bian_hao_ = d.id_ WHERE t_mjwtsqb.shi_fou_guo_shen_ = '1' ) as e LEFT JOIN ibps_party_employee on e.bian_zhi_ren_ = ibps_party_employee.id_ ORDER BY e.he_tong_bian_hao_ desc"
-        curdPost('sql',sql).then(res=>{
-
-          this.tableData = res.variables.data
-        })
-    },
-    watch:{
-        dialogOff: {
-            handler: function(val, oldVal) {
-                this.visible = JSON.parse(JSON.stringify(val));
-                this.itemShow = true
-            },
-            immediate: true
-        }
-    },
-    data() {
-        return {
-            visible:false,
-            itemShow:false,
-            tableData: [],
-            curentPage1: 1, //默认最开始是第几页
-            pagesize: 10, //每页数据条数
-            currpage: 1, //默认开始页面
-        }
-    },
-    methods:{
-        // 关闭窗口
-        handleClose(){
-            this.$emit('close', false)
-        },
-        tableRowClassName({row, rowIndex}) {
-            if (rowIndex === 1) {
-            return 'warning-row';
-            } else if (rowIndex === 3) {
-            return 'success-row';
-            }
-            return '';
-        },
-        handleSizeChange(val) {
-            this.pagesize = val
-        },
-        handleCurrentChange(val) {
-            this.currpage = val
-        }
-    }
-  }
-</script>
-
-<style scoped>
-  .dataCont{
-    border:0px;
-    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
-    height: calc(100vh * 0.85);
-    padding:20px;
-  }
-</style>

+ 0 - 147
src/views/crm/messageBox/personMonthDetails.vue

@@ -1,147 +0,0 @@
-<template>
-    <el-dialog
-      :visible.sync="visible"
-      ref="dialog"
-      :title="'个人日销售详情'"
-      width="100%"
-      lock-scroll
-      append-to-body
-      fullscreen
-      close-on-press-escape
-      destroy-on-close
-      v-if="visible"
-      @close="handleClose">
-
-        <el-table
-        :data="tableData.slice((currpage - 1) * pagesize, currpage * pagesize)"
-        style="width: 100%"
-        :row-class-name="tableRowClassName">
-            <el-table-column
-            prop="he_tong_bian_hao_"
-            label="合同编号"
-            width="180">
-            </el-table-column>
-            <el-table-column
-            prop="zhuan_huan_ke_hu_"
-            label="客户名称"
-            width="180">
-            </el-table-column>
-            <el-table-column
-            prop="sheng_xiao_shi_ji"
-            label="生效时间"
-            width="180">
-            </el-table-column>
-            <el-table-column
-            prop="shi_xiao_shi_jian"
-            label="失效时间"
-            width="180">
-            </el-table-column>
-            <el-table-column
-            prop="zhuang_tai_"
-            label="合同状态"
-            width="180">
-            </el-table-column>
-            <el-table-column
-            prop="fu_kuan_fang_shi_"
-            label="付款方式"
-            width="180">
-            </el-table-column>
-            <el-table-column
-            prop="jiage"
-            label="总价(元)"
-            width="180">
-            </el-table-column>
-        </el-table>
-
-        <el-pagination
-        layout="prev, pager, next, jumper"
-        @size-change = 'handleSizeChange'
-        @current-change='handleCurrentChange'
-        :current-page='currpage'
-        :page-size='pagesize'
-        :total="tableData.length">
-
-        </el-pagination>
-    </el-dialog>
-</template>
-
-<script>
-  import curdPost from '@/business/platform/form/utils/custom/joinCURD.js'
-
-  export default {
-    props:{
-        dialogOff:{ //当前表单示例
-            type: Boolean,
-            default:false,
-        },
-        data:{
-            type:Array
-        },
-        date:{
-            type:String
-        },
-        height:{
-            type:String,
-            default:window.screen.height * 0.5 +'px'
-        }
-    },
-    beforeMount: function () {
-        let tempid = this.$store.state.ibps.user.info.user.id
-        const newmonth = this.data[0] > 10 ? this.data[0] : "0" + this.data[0];
-
-        let sql = "select e.*,ibps_party_employee.NAME_ from (select d.*,t_mjwtsqb.zong_jia_ as jiage from (select * from t_bjd LEFT JOIN (select a.id_ as leibieid,a.lai_yuan_qu_dao_ as laiyuan,b.id_ as qudaoid, b.lei_bie_ from ((select id_, lai_yuan_qu_dao_ from t_qzkhb GROUP BY id_) UNION (select id_, lai_yuan_qu_dao_ from t_yxkh GROUP BY id_) UNION (select ke_hu_ming_cheng_, lai_yuan_qu_dao_ as khnum from t_khxx GROUP BY ke_hu_ming_cheng_)) as a LEFT JOIN (select t_qdgl.id_,t_qdlbb.lei_bie_ from t_qdgl LEFT JOIN t_qdlbb on t_qdgl.qu_dao_lei_bie_ = t_qdlbb.id_) as b on a.lai_yuan_qu_dao_ = b.id_) as c on t_bjd.ke_hu_ming_cheng_ = c.leibieid where c.lei_bie_ is not NULL and t_bjd.sheng_xiao_shi_ji like '"+ this.date+"-"+newmonth +"%' and t_bjd.bian_zhi_ren_ = '"+tempid+"') as d left join t_mjwtsqb on t_mjwtsqb.he_tong_bian_hao_ = d.id_ WHERE t_mjwtsqb.shi_fou_guo_shen_ = '1' ) as e LEFT JOIN ibps_party_employee on e.bian_zhi_ren_ = ibps_party_employee.id_ ORDER BY e.he_tong_bian_hao_ desc"
-        curdPost('sql',sql).then(res=>{
-
-          this.tableData = res.variables.data
-        })
-    },
-    watch:{
-        dialogOff: {
-            handler: function(val, oldVal) {
-                this.visible = JSON.parse(JSON.stringify(val));
-                this.itemShow = true
-            },
-            immediate: true
-        }
-    },
-    data() {
-        return {
-            visible:false,
-            itemShow:false,
-            tableData: [],
-            curentPage1: 1, //默认最开始是第几页
-            pagesize: 10, //每页数据条数
-            currpage: 1, //默认开始页面
-        }
-    },
-    methods:{
-        // 关闭窗口
-        handleClose(){
-            this.$emit('close', false)
-        },
-        tableRowClassName({row, rowIndex}) {
-            if (rowIndex === 1) {
-            return 'warning-row';
-            } else if (rowIndex === 3) {
-            return 'success-row';
-            }
-            return '';
-        },
-        handleSizeChange(val) {
-            this.pagesize = val
-        },
-        handleCurrentChange(val) {
-            this.currpage = val
-        }
-    }
-  }
-</script>
-
-<style scoped>
-  .dataCont{
-    border:0px;
-    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
-    height: calc(100vh * 0.85);
-    padding:20px;
-  }
-</style>

+ 0 - 144
src/views/crm/messageBox/teamAllDetails.vue

@@ -1,144 +0,0 @@
-<template>
-    <el-dialog
-      :visible.sync="visible"
-      ref="dialog"
-      :title="data[1]+' 年度销售详情'"
-      width="100%"
-      lock-scroll
-      append-to-body
-      fullscreen
-      close-on-press-escape
-      destroy-on-close
-      v-if="visible"
-      @close="handleClose">
-
-        <el-table
-        :data="tableData.slice((currpage - 1) * pagesize, currpage * pagesize)"
-        style="width: 100%"
-        :row-class-name="tableRowClassName">
-            <el-table-column
-            prop="he_tong_bian_hao_"
-            label="合同编号"
-            width="180">
-            </el-table-column>
-            <el-table-column
-            prop="zhuan_huan_ke_hu_"
-            label="客户名称"
-            width="180">
-            </el-table-column>
-            <el-table-column
-            prop="sheng_xiao_shi_ji"
-            label="生效时间"
-            width="180">
-            </el-table-column>
-            <el-table-column
-            prop="shi_xiao_shi_jian"
-            label="失效时间"
-            width="180">
-            </el-table-column>
-            <el-table-column
-            prop="zhuang_tai_"
-            label="合同状态"
-            width="180">
-            </el-table-column>
-            <el-table-column
-            prop="fu_kuan_fang_shi_"
-            label="付款方式"
-            width="180">
-            </el-table-column>
-            <el-table-column
-            prop="jiage"
-            label="总价(元)"
-            width="180">
-            </el-table-column>
-        </el-table>
-
-        <el-pagination
-        layout="prev, pager, next, jumper"
-        @size-change = 'handleSizeChange'
-        @current-change='handleCurrentChange'
-        :current-page='currpage'
-        :page-size='pagesize'
-        :total="tableData.length">
-
-        </el-pagination>
-    </el-dialog>
-</template>
-
-<script>
-  import curdPost from '@/business/platform/form/utils/custom/joinCURD.js'
-
-  export default {
-    props:{
-        dialogOff:{ //当前表单示例
-            type: Boolean,
-            default:false,
-        },
-        data:{
-            type:Array
-        },
-        date:{
-            type:String
-        },
-        height:{
-            type:String,
-            default:window.screen.height * 0.5 +'px'
-        }
-    },
-    beforeMount: function () {
-        let sql = "select e.*,ibps_party_employee.NAME_ from (select d.*,t_mjwtsqb.zong_jia_ as jiage from (select * from t_bjd LEFT JOIN (select a.id_ as leibieid,a.lai_yuan_qu_dao_ as laiyuan,b.id_ as qudaoid, b.lei_bie_ from ((select id_, lai_yuan_qu_dao_ from t_qzkhb GROUP BY id_) UNION (select id_, lai_yuan_qu_dao_ from t_yxkh GROUP BY id_) UNION (select ke_hu_ming_cheng_, lai_yuan_qu_dao_ as khnum from t_khxx GROUP BY ke_hu_ming_cheng_)) as a LEFT JOIN (select t_qdgl.id_,t_qdlbb.lei_bie_ from t_qdgl LEFT JOIN t_qdlbb on t_qdgl.qu_dao_lei_bie_ = t_qdlbb.id_) as b on a.lai_yuan_qu_dao_ = b.id_) as c on t_bjd.ke_hu_ming_cheng_ = c.leibieid where c.lei_bie_ is not NULL and t_bjd.sheng_xiao_shi_ji like '"+ this.date.split('-')[0] +"%' and t_bjd.bian_zhi_ren_ = '"+this.data[0]+"') as d left join t_mjwtsqb on t_mjwtsqb.he_tong_bian_hao_ = d.id_ WHERE t_mjwtsqb.shi_fou_guo_shen_ = '1' ) as e LEFT JOIN ibps_party_employee on e.bian_zhi_ren_ = ibps_party_employee.id_ ORDER BY e.he_tong_bian_hao_ desc"
-        curdPost('sql',sql).then(res=>{
-
-          this.tableData = res.variables.data
-        })
-    },
-    watch:{
-        dialogOff: {
-            handler: function(val, oldVal) {
-                this.visible = JSON.parse(JSON.stringify(val));
-                this.itemShow = true
-            },
-            immediate: true
-        }
-    },
-    data() {
-        return {
-            visible:false,
-            itemShow:false,
-            tableData: [],
-            curentPage1: 1, //默认最开始是第几页
-            pagesize: 10, //每页数据条数
-            currpage: 1, //默认开始页面
-        }
-    },
-    methods:{
-        // 关闭窗口
-        handleClose(){
-            this.$emit('close', false)
-        },
-        tableRowClassName({row, rowIndex}) {
-            if (rowIndex === 1) {
-            return 'warning-row';
-            } else if (rowIndex === 3) {
-            return 'success-row';
-            }
-            return '';
-        },
-        handleSizeChange(val) {
-            this.pagesize = val
-        },
-        handleCurrentChange(val) {
-            this.currpage = val
-        }
-    }
-  }
-</script>
-
-<style scoped>
-  .dataCont{
-    border:0px;
-    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
-    height: calc(100vh * 0.85);
-    padding:20px;
-  }
-</style>

+ 0 - 144
src/views/crm/messageBox/teamMonthDetails.vue

@@ -1,144 +0,0 @@
-<template>
-    <el-dialog
-      :visible.sync="visible"
-      ref="dialog"
-      :title="data[1]+' 月度销售详情'"
-      width="100%"
-      lock-scroll
-      append-to-body
-      fullscreen
-      close-on-press-escape
-      destroy-on-close
-      v-if="visible"
-      @close="handleClose">
-
-        <el-table
-        :data="tableData.slice((currpage - 1) * pagesize, currpage * pagesize)"
-        style="width: 100%"
-        :row-class-name="tableRowClassName">
-            <el-table-column
-            prop="he_tong_bian_hao_"
-            label="合同编号"
-            width="180">
-            </el-table-column>
-            <el-table-column
-            prop="zhuan_huan_ke_hu_"
-            label="客户名称"
-            width="180">
-            </el-table-column>
-            <el-table-column
-            prop="sheng_xiao_shi_ji"
-            label="生效时间"
-            width="180">
-            </el-table-column>
-            <el-table-column
-            prop="shi_xiao_shi_jian"
-            label="失效时间"
-            width="180">
-            </el-table-column>
-            <el-table-column
-            prop="zhuang_tai_"
-            label="合同状态"
-            width="180">
-            </el-table-column>
-            <el-table-column
-            prop="fu_kuan_fang_shi_"
-            label="付款方式"
-            width="180">
-            </el-table-column>
-            <el-table-column
-            prop="jiage"
-            label="总价(元)"
-            width="180">
-            </el-table-column>
-        </el-table>
-
-        <el-pagination
-        layout="prev, pager, next, jumper"
-        @size-change = 'handleSizeChange'
-        @current-change='handleCurrentChange'
-        :current-page='currpage'
-        :page-size='pagesize'
-        :total="tableData.length">
-
-        </el-pagination>
-    </el-dialog>
-</template>
-
-<script>
-  import curdPost from '@/business/platform/form/utils/custom/joinCURD.js'
-
-  export default {
-    props:{
-        dialogOff:{ //当前表单示例
-            type: Boolean,
-            default:false,
-        },
-        data:{
-            type:Array
-        },
-        date:{
-            type:String
-        },
-        height:{
-            type:String,
-            default:window.screen.height * 0.5 +'px'
-        }
-    },
-    beforeMount: function () {
-        let sql = "select e.*,ibps_party_employee.NAME_ from (select d.*,t_mjwtsqb.zong_jia_ as jiage from (select * from t_bjd LEFT JOIN (select a.id_ as leibieid,a.lai_yuan_qu_dao_ as laiyuan,b.id_ as qudaoid, b.lei_bie_ from ((select id_, lai_yuan_qu_dao_ from t_qzkhb GROUP BY id_) UNION (select id_, lai_yuan_qu_dao_ from t_yxkh GROUP BY id_) UNION (select ke_hu_ming_cheng_, lai_yuan_qu_dao_ as khnum from t_khxx GROUP BY ke_hu_ming_cheng_)) as a LEFT JOIN (select t_qdgl.id_,t_qdlbb.lei_bie_ from t_qdgl LEFT JOIN t_qdlbb on t_qdgl.qu_dao_lei_bie_ = t_qdlbb.id_) as b on a.lai_yuan_qu_dao_ = b.id_) as c on t_bjd.ke_hu_ming_cheng_ = c.leibieid where c.lei_bie_ is not NULL and t_bjd.sheng_xiao_shi_ji like '"+ this.date.split('-')[0] +"%' and t_bjd.bian_zhi_ren_ = '"+this.data[0]+"') as d left join t_mjwtsqb on t_mjwtsqb.he_tong_bian_hao_ = d.id_ WHERE t_mjwtsqb.shi_fou_guo_shen_ = '1' ) as e LEFT JOIN ibps_party_employee on e.bian_zhi_ren_ = ibps_party_employee.id_ ORDER BY e.he_tong_bian_hao_ desc"
-        curdPost('sql',sql).then(res=>{
-
-          this.tableData = res.variables.data
-        })
-    },
-    watch:{
-        dialogOff: {
-            handler: function(val, oldVal) {
-                this.visible = JSON.parse(JSON.stringify(val));
-                this.itemShow = true
-            },
-            immediate: true
-        }
-    },
-    data() {
-        return {
-            visible:false,
-            itemShow:false,
-            tableData: [],
-            curentPage1: 1, //默认最开始是第几页
-            pagesize: 10, //每页数据条数
-            currpage: 1, //默认开始页面
-        }
-    },
-    methods:{
-        // 关闭窗口
-        handleClose(){
-            this.$emit('close', false)
-        },
-        tableRowClassName({row, rowIndex}) {
-            if (rowIndex === 1) {
-            return 'warning-row';
-            } else if (rowIndex === 3) {
-            return 'success-row';
-            }
-            return '';
-        },
-        handleSizeChange(val) {
-            this.pagesize = val
-        },
-        handleCurrentChange(val) {
-            this.currpage = val
-        }
-    }
-  }
-</script>
-
-<style scoped>
-  .dataCont{
-    border:0px;
-    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
-    height: calc(100vh * 0.85);
-    padding:20px;
-  }
-</style>