From 4db8e9c1fec846e7d49fc9aa91ef366a5804ba73 Mon Sep 17 00:00:00 2001 From: datang Date: Sun, 26 Mar 2023 12:04:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/dev.env.js | 2 +- config/index.js | 4 +- src/views/crm/components/CRMDetailHead.vue | 15 +- src/views/crm/components/CRMTableHead.vue | 15 +- .../components/SelectionHandle/GetHandle.vue | 176 ++++++++++++++++++ .../crm/workbench/components/SalesFunnel.vue | 19 +- 6 files changed, 220 insertions(+), 11 deletions(-) create mode 100644 src/views/crm/components/SelectionHandle/GetHandle.vue diff --git a/config/dev.env.js b/config/dev.env.js index b744a55..2de6123 100644 --- a/config/dev.env.js +++ b/config/dev.env.js @@ -4,5 +4,5 @@ const prodEnv = require('./prod.env') module.exports = merge(prodEnv, { NODE_ENV: '"development"', - BASE_API: '"http://localhost/index.php/"', + BASE_API: '"/api/"', }) diff --git a/config/index.js b/config/index.js index 8236034..8dcad39 100644 --- a/config/index.js +++ b/config/index.js @@ -11,7 +11,7 @@ module.exports = { assetsPublicPath: '/', proxyTable: { '/api': { - target: 'http://192.168.50.39:8088', + target: 'http://192.168.31.226:8088', changeOrigin: true, pathRewrite: { @@ -19,7 +19,7 @@ module.exports = { } }, '/file': { - target: 'http://192.168.50.39:8088/', + target: 'http://192.168.31.226:8088/', changeOrigin: true, pathRewrite: { '^/file': '' diff --git a/src/views/crm/components/CRMDetailHead.vue b/src/views/crm/components/CRMDetailHead.vue index 25bb2f9..c8ad81a 100644 --- a/src/views/crm/components/CRMDetailHead.vue +++ b/src/views/crm/components/CRMDetailHead.vue @@ -102,6 +102,12 @@ :selection-list="[detail]" :dialog-visible.sync="allocDialogShow" @handle="handleCallBack" /> + + + +
+ +
审批人:
+ +
+
+ + 取消 + 保存 + +
+ + + + + diff --git a/src/views/crm/workbench/components/SalesFunnel.vue b/src/views/crm/workbench/components/SalesFunnel.vue index 0795874..6e4e19d 100644 --- a/src/views/crm/workbench/components/SalesFunnel.vue +++ b/src/views/crm/workbench/components/SalesFunnel.vue @@ -34,11 +34,12 @@
-
赢单单数
+ +
{{ funnelData.winSingle }}单
-
输单单数
+
{{ funnelData.loseSingle }}单
@@ -129,7 +130,6 @@ export default { businessOptions: [], businessId: null, businessName: '', - funnelData: {} } }, @@ -138,6 +138,9 @@ export default { this.getBusinessStatusList() }, methods: { + pushView() { + this.$router.push('/crm/business') + }, initChart() { this.chartObj = echarts.init(document.getElementById('sales-funnel')) this.chartObj.setOption(this.chartOption, true) @@ -145,6 +148,10 @@ export default { this.$emit('chart-click', params, this.dataList[params.dataIndex]) }) }, + // getView() { + // console.log('aa' + this.dataList) + // this.$emit('chart-click', [], this.dataList[1]) + // }, /** * 获取统计数据 */ @@ -227,7 +234,11 @@ export default { height: 322px; margin-top: 10px; } - + .btn-num { + color: #ff7474; + background: none; + border: none; + } .sales-funnel { position: relative; .card-title-left .icon {