diff --git a/package.json b/package.json
index f8fa4ea..220f2d1 100644
--- a/package.json
+++ b/package.json
@@ -36,7 +36,7 @@
"nprogress": "0.2.0",
"numeral": "^2.0.6",
"nzh": "^1.0.4",
- "pinyin-match": "^1.0.9",
+ "pinyin-match": "1.0.9",
"qrcodejs2": "0.0.2",
"throttle-debounce": "^2.1.0",
"vue": "2.5.17",
diff --git a/src/App.vue b/src/App.vue
index 87a672b..c403f60 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -18,6 +18,7 @@
:cache-done="cacheDone"
@status="crmImportChange"
@close="crmImportClose"/>
+
@@ -26,6 +27,7 @@
import VuePictureViewer from '@/components/VuePictureViewer/index'
import XrImport from '@/components/XrImport'
import XrImportMixins from '@/components/XrImport/XrImportMixins'
+import XrUpgradeDialog from '@/components/XrUpgradeDialog'
import CRMImport from '@/components/CRMImport'
import { mapGetters } from 'vuex'
import cache from '@/utils/cache'
@@ -36,22 +38,31 @@ export default {
components: {
VuePictureViewer,
XrImport,
- CRMImport
+ CRMImport,
+ XrUpgradeDialog
},
mixins: [XrImportMixins],
data() {
return {
showPreviewImg: false,
previewIndex: 0,
- previewImgs: []
+ previewImgs: [],
+ upgradeDialogShow: false
}
},
computed: {
- ...mapGetters(['activeIndex', 'userInfo'])
+ ...mapGetters(['activeIndex', 'addRouters', 'userInfo'])
},
watch: {
$route(to, from) {
this.showPreviewImg = false // 切换页面隐藏图片预览
+ },
+ addRouters() {
+ if (this.userInfo && this.userInfo.is_read_notice != 1) {
+ setTimeout(() => {
+ this.upgradeDialogShow = true
+ }, 5000)
+ }
}
},
mounted() {
diff --git a/src/api/bi/business.js b/src/api/bi/business.js
index e16d056..ff5bfe6 100644
--- a/src/api/bi/business.js
+++ b/src/api/bi/business.js
@@ -33,7 +33,20 @@ export function biBusinessTrendListAPI(data) {
}
})
}
-
+/**
+ * 新增商机数与金额趋势分析 详情列表
+ * @param {*} data
+ */
+export function biBusinessConversionRateListAPI(data) {
+ return request({
+ url: 'bi/business/winList',
+ method: 'post',
+ data: data,
+ headers: {
+ 'Content-Type': 'application/json;charset=UTF-8'
+ }
+ })
+}
/**
* 赢单机会转化率趋势分析
* @param {*} data
diff --git a/src/api/bi/customer.js b/src/api/bi/customer.js
index ebba259..bc9866c 100644
--- a/src/api/bi/customer.js
+++ b/src/api/bi/customer.js
@@ -27,7 +27,7 @@ export function biCustomerTotalListAPI(data) {
export function biCustomerTotalListExportAPI(data) {
return request({
- url: 'bi/contract/excelExport',
+ url: 'bi/customer/excelExport',
method: 'post',
data: data,
responseType: 'blob',
@@ -69,7 +69,7 @@ export function biCustomerRecordListAPI(data) {
export function biCustomerRecordListExportAPI(data) {
return request({
- url: 'bi/contract/excelExport',
+ url: 'bi/customer/excelExport',
method: 'post',
data: data,
responseType: 'blob',
@@ -96,7 +96,7 @@ export function biCustomerRecordModeAPI(data) {
export function biCustomerRecordModeExportAPI(data) {
return request({
- url: 'bi/contract/excelExport',
+ url: 'bi/customer/excelExport',
method: 'post',
data: data,
responseType: 'blob',
@@ -169,7 +169,7 @@ export function biCustomerPoolListAPI(data) {
export function biCustomerPoolListExportAPI(data) {
return request({
- url: 'bi/contract/excelExport',
+ url: 'bi/customer/excelExport',
method: 'post',
data: data,
responseType: 'blob',
@@ -196,7 +196,7 @@ export function biCustomerUserCycleAPI(data) {
export function biCustomerUserCycleExportAPI(data) {
return request({
- url: 'bi/contract/excelExport',
+ url: 'bi/customer/excelExport',
method: 'post',
data: data,
responseType: 'blob',
@@ -234,7 +234,7 @@ export function biCustomerAddressCycleAPI(data) {
export function biCustomerAddressCycleExportAPI(data) {
return request({
- url: 'bi/contract/excelExport',
+ url: 'bi/customer/excelExport',
method: 'post',
data: data,
responseType: 'blob',
@@ -261,7 +261,7 @@ export function biCustomerProductCycleAPI(data) {
export function biCustomerProductCycleExportAPI(data) {
return request({
- url: 'bi/contract/excelExport',
+ url: 'bi/customer/excelExport',
method: 'post',
data: data,
responseType: 'blob',
@@ -288,7 +288,7 @@ export function biCustomerSatisfactionTableAPI(data) {
export function biCustomerSatisfactionTableExportAPI(data) {
return request({
- url: 'bi/contract/excelExport',
+ url: 'bi/customer/excelExport',
method: 'post',
data: data,
responseType: 'blob',
@@ -315,7 +315,7 @@ export function biCustomerProductSatisfactionTableAPI(data) {
export function biCustomerProductSatisfactionExportAPI(data) {
return request({
- url: 'bi/contract/excelExport',
+ url: 'bi/customer/excelExport',
method: 'post',
data: data,
responseType: 'blob',
diff --git a/src/api/common.js b/src/api/common.js
index f0c616b..3681670 100644
--- a/src/api/common.js
+++ b/src/api/common.js
@@ -354,7 +354,7 @@ export function downloadFileImageAPI(data) {
*/
export function readUpdateNoticeAPI(data) {
return request({
- url: 'adminUser/readNotice',
+ url: 'admin/adminUser/readNotice',
method: 'post',
data: data
})
diff --git a/src/api/pm/project.js b/src/api/pm/project.js
index 3193667..1dbf1a1 100644
--- a/src/api/pm/project.js
+++ b/src/api/pm/project.js
@@ -363,7 +363,7 @@ export function workExcelImportAPI(data) {
*/
export function workDownloadErrorExcelAPI(data) {
return request({
- url: 'work/work/downloadErrorExcel',
+ url: 'admin/file/download',
method: 'post',
data: data,
responseType: 'blob'
diff --git a/src/api/pm/task.js b/src/api/pm/task.js
index 300ddb8..10f7349 100644
--- a/src/api/pm/task.js
+++ b/src/api/pm/task.js
@@ -137,7 +137,7 @@ export function workTaskRecoverAPI(data) {
*/
export function taskWorkbenchExportAPI(data) {
return request({
- url: 'oa/task/excelExport',
+ url: 'work/task/excelExport',
method: 'post',
data: data,
responseType: 'blob'
diff --git a/src/api/task/task.js b/src/api/task/task.js
index 5b60224..e89d9f2 100644
--- a/src/api/task/task.js
+++ b/src/api/task/task.js
@@ -134,7 +134,7 @@ export function taskDeleteLabelAPI(data) {
*/
export function taskOaExportAPI(data) {
return request({
- url: 'work/task/excelExport',
+ url: 'oa/task/excelExport',
method: 'post',
data: data,
responseType: 'blob',
diff --git a/src/assets/img/favicon.png b/src/assets/img/favicon.png
new file mode 100644
index 0000000..bb3b546
Binary files /dev/null and b/src/assets/img/favicon.png differ
diff --git a/src/components/RelatedBusiness.vue b/src/components/RelatedBusiness.vue
index ae23a82..d01e56d 100644
--- a/src/components/RelatedBusiness.vue
+++ b/src/components/RelatedBusiness.vue
@@ -76,7 +76,7 @@ export default {
// 展示取消关联
showFoot: {
type: Boolean,
- default: false
+ default: true
},
showAdd: {
type: Boolean,
diff --git a/src/components/XrUpgradeDialog.vue b/src/components/XrUpgradeDialog.vue
new file mode 100644
index 0000000..fd457ce
--- /dev/null
+++ b/src/components/XrUpgradeDialog.vue
@@ -0,0 +1,139 @@
+
+
+
+
+
+
升级内容:
+
{{ message }}
+
+
+
+
+
+
+
+
diff --git a/src/config.js b/src/config.js
index ffad1eb..531355c 100644
--- a/src/config.js
+++ b/src/config.js
@@ -3,8 +3,8 @@ const getLocationOrigin = () => {
}
const companyName = '悟空CRM'
-const version = 'V11.0.1'
-const baiduKey = '百度key'
+const version = 'V11.0.2'
+const baiduKey = 'lcuOQ71SCZhqpxsr1vL2mXoplWEoVctL'
export default {
version,
diff --git a/src/views/bi/TaskCompleteStatistics.vue b/src/views/bi/TaskCompleteStatistics.vue
index b7388bd..ecb27d4 100644
--- a/src/views/bi/TaskCompleteStatistics.vue
+++ b/src/views/bi/TaskCompleteStatistics.vue
@@ -72,9 +72,9 @@
-
+ @click="exportClick">导出
-
+ @click="exportClick">导出
-
+ @click="exportClick">导出
-
+ @click.native="exportClick">导出
diff --git a/src/views/bi/achievement/AchievementMoneyStatistics.vue b/src/views/bi/achievement/AchievementMoneyStatistics.vue
index 70cdcda..53d8358 100644
--- a/src/views/bi/achievement/AchievementMoneyStatistics.vue
+++ b/src/views/bi/achievement/AchievementMoneyStatistics.vue
@@ -15,9 +15,9 @@
-
+ @click="exportClick">导出
-
+ @click.native="exportClick">导出
diff --git a/src/views/bi/business/BusinessWinStatistics.vue b/src/views/bi/business/BusinessWinStatistics.vue
index d86a3b3..b8eebf6 100644
--- a/src/views/bi/business/BusinessWinStatistics.vue
+++ b/src/views/bi/business/BusinessWinStatistics.vue
@@ -47,7 +47,8 @@