diff --git a/config/index.js b/config/index.js
index 8dcad39..cc2d0b9 100644
--- a/config/index.js
+++ b/config/index.js
@@ -11,7 +11,7 @@ module.exports = {
assetsPublicPath: '/',
proxyTable: {
'/api': {
- target: 'http://192.168.31.226:8088',
+ target: 'http://192.168.50.40:8088',
changeOrigin: true,
pathRewrite: {
@@ -19,7 +19,7 @@ module.exports = {
}
},
'/file': {
- target: 'http://192.168.31.226:8088/',
+ target: 'http://192.168.50.40:8088/',
changeOrigin: true,
pathRewrite: {
'^/file': ''
diff --git a/src/views/crm/workbench/components/SalesFunnel.vue b/src/views/crm/workbench/components/SalesFunnel.vue
index 6e4e19d..351d216 100644
--- a/src/views/crm/workbench/components/SalesFunnel.vue
+++ b/src/views/crm/workbench/components/SalesFunnel.vue
@@ -34,12 +34,12 @@
-
-
+
+
{{ funnelData.winSingle }}单
-
+
{{ funnelData.loseSingle }}单
@@ -138,9 +138,9 @@ export default {
this.getBusinessStatusList()
},
methods: {
- pushView() {
- this.$router.push('/crm/business')
- },
+ // pushView() {
+ // this.$router.push('/crm/business')
+ // },
initChart() {
this.chartObj = echarts.init(document.getElementById('sales-funnel'))
this.chartObj.setOption(this.chartOption, true)
@@ -148,10 +148,14 @@ export default {
this.$emit('chart-click', params, this.dataList[params.dataIndex])
})
},
- // getView() {
- // console.log('aa' + this.dataList)
- // this.$emit('chart-click', [], this.dataList[1])
- // },
+ getWin() {
+ console.log('aa' + this.dataList)
+ this.$emit('chart-click', [], this.dataList[4])
+ },
+ getLose() {
+ console.log('aa' + this.dataList)
+ this.$emit('chart-click', [], this.dataList[5])
+ },
/**
* 获取统计数据
*/