Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-drainage
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 60b3d6e4
authored
Jan 20, 2022
by
yy
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
end
1 parent
78f158a3
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
75 additions
and
74 deletions
src/api/modules/channel.js
src/api/modules/marketing.js
src/api/modules/overview.js
src/api/modules/square.js
src/components/welcome/activityModel.vue
src/main.js
src/setup/qiankun.js
src/views/overview/components/linechart.vue
src/views/overview/index.vue
src/api/modules/channel.js
View file @
60b3d6e
...
@@ -6,12 +6,12 @@
...
@@ -6,12 +6,12 @@
* @param {*} params
* @param {*} params
* @returns
* @returns
*/
*/
import
{
http
,
http_tag
,
http_custom
}
from
'@/main'
import
{
http
,
http_tag
}
from
'@/main'
let
session
=
'mini-c38a80dd-cf48-4491-8933-fb2eb57fb4ca-rop'
let
session
=
'mini-c38a80dd-cf48-4491-8933-fb2eb57fb4ca-rop'
const
getListApi
=
params
=>
{
const
getListApi
=
params
=>
{
params
.
method
=
'entmicro.api.staff.listFollowerStaffByPage'
params
.
method
=
'entmicro.api.staff.listFollowerStaffByPage'
params
.
sessionId
=
session
params
.
sessionId
=
session
return
http
_custom
({
return
http
({
url
:
'/rop-scrm-entmicro/router'
,
url
:
'/rop-scrm-entmicro/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
...
@@ -21,7 +21,7 @@ const getListApi = params => {
...
@@ -21,7 +21,7 @@ const getListApi = params => {
const
getFollower
=
params
=>
{
const
getFollower
=
params
=>
{
params
.
method
=
'entmicro.api.staff.listFollowerStaffByPage'
params
.
method
=
'entmicro.api.staff.listFollowerStaffByPage'
params
.
sessionId
=
session
params
.
sessionId
=
session
return
http
_custom
({
return
http
({
url
:
'/rop-scrm-entmicro/router'
,
url
:
'/rop-scrm-entmicro/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
...
@@ -41,7 +41,7 @@ const querylabeltree = params => {
...
@@ -41,7 +41,7 @@ const querylabeltree = params => {
const
deleteChannelCodeBill
=
params
=>
{
const
deleteChannelCodeBill
=
params
=>
{
params
.
method
=
'entmicro.api.code.deleteChannelCodeBill'
params
.
method
=
'entmicro.api.code.deleteChannelCodeBill'
params
.
sessionId
=
session
params
.
sessionId
=
session
return
http
_custom
({
return
http
({
url
:
'/rop-scrm-entmicro/router'
,
url
:
'/rop-scrm-entmicro/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
...
@@ -51,7 +51,7 @@ const deleteChannelCodeBill = params => {
...
@@ -51,7 +51,7 @@ const deleteChannelCodeBill = params => {
const
getSubCodeChannelCodeBill
=
params
=>
{
const
getSubCodeChannelCodeBill
=
params
=>
{
params
.
method
=
'entmicro.api.code.getSubCodeChannelCodeBill'
params
.
method
=
'entmicro.api.code.getSubCodeChannelCodeBill'
params
.
sessionId
=
session
params
.
sessionId
=
session
return
http
_custom
({
return
http
({
url
:
'/rop-scrm-entmicro/router'
,
url
:
'/rop-scrm-entmicro/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
...
@@ -61,7 +61,7 @@ const getSubCodeChannelCodeBill = params => {
...
@@ -61,7 +61,7 @@ const getSubCodeChannelCodeBill = params => {
const
saveChannelCodeBill
=
params
=>
{
const
saveChannelCodeBill
=
params
=>
{
params
.
method
=
'entmicro.api.code.saveChannelCodeBill'
params
.
method
=
'entmicro.api.code.saveChannelCodeBill'
params
.
sessionId
=
session
params
.
sessionId
=
session
return
http
_custom
({
return
http
({
url
:
'/rop-scrm-entmicro/router'
,
url
:
'/rop-scrm-entmicro/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
...
@@ -71,7 +71,7 @@ const saveChannelCodeBill = params => {
...
@@ -71,7 +71,7 @@ const saveChannelCodeBill = params => {
const
updateChannelCodeBill
=
params
=>
{
const
updateChannelCodeBill
=
params
=>
{
params
.
method
=
'entmicro.api.code.updateChannelCodeBill'
params
.
method
=
'entmicro.api.code.updateChannelCodeBill'
params
.
sessionId
=
session
params
.
sessionId
=
session
return
http
_custom
({
return
http
({
url
:
'/rop-scrm-entmicro/router'
,
url
:
'/rop-scrm-entmicro/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
...
@@ -81,7 +81,7 @@ const updateChannelCodeBill = params => {
...
@@ -81,7 +81,7 @@ const updateChannelCodeBill = params => {
const
listChannelCodeBill
=
params
=>
{
const
listChannelCodeBill
=
params
=>
{
params
.
method
=
'entmicro.api.code.listChannelCodeBill'
params
.
method
=
'entmicro.api.code.listChannelCodeBill'
params
.
sessionId
=
session
params
.
sessionId
=
session
return
http
_custom
({
return
http
({
url
:
'/rop-scrm-entmicro/router'
,
url
:
'/rop-scrm-entmicro/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
...
@@ -92,7 +92,7 @@ const listChannelCodeBill = params => {
...
@@ -92,7 +92,7 @@ const listChannelCodeBill = params => {
const
deleteChannelCode
=
params
=>
{
const
deleteChannelCode
=
params
=>
{
params
.
method
=
'entmicro.api.code.deleteChannelCode'
params
.
method
=
'entmicro.api.code.deleteChannelCode'
params
.
sessionId
=
session
params
.
sessionId
=
session
return
http
_custom
({
return
http
({
url
:
'/rop-scrm-entmicro/router'
,
url
:
'/rop-scrm-entmicro/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
...
@@ -102,7 +102,7 @@ const deleteChannelCode = params => {
...
@@ -102,7 +102,7 @@ const deleteChannelCode = params => {
const
detailChannelCode
=
params
=>
{
const
detailChannelCode
=
params
=>
{
params
.
method
=
'entmicro.api.code.detailChannelCode'
params
.
method
=
'entmicro.api.code.detailChannelCode'
params
.
sessionId
=
session
params
.
sessionId
=
session
return
http
_custom
({
return
http
({
url
:
'/rop-scrm-entmicro/router'
,
url
:
'/rop-scrm-entmicro/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
...
@@ -112,7 +112,7 @@ const detailChannelCode = params => {
...
@@ -112,7 +112,7 @@ const detailChannelCode = params => {
const
listChannelCodeByPage
=
params
=>
{
const
listChannelCodeByPage
=
params
=>
{
params
.
method
=
'entmicro.api.code.listChannelCodeByPage'
params
.
method
=
'entmicro.api.code.listChannelCodeByPage'
params
.
sessionId
=
session
params
.
sessionId
=
session
return
http
_custom
({
return
http
({
url
:
'/rop-scrm-entmicro/router'
,
url
:
'/rop-scrm-entmicro/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
...
@@ -122,7 +122,7 @@ const listChannelCodeByPage = params => {
...
@@ -122,7 +122,7 @@ const listChannelCodeByPage = params => {
const
saveChannelCode
=
params
=>
{
const
saveChannelCode
=
params
=>
{
params
.
method
=
'entmicro.api.code.saveChannelCode'
params
.
method
=
'entmicro.api.code.saveChannelCode'
params
.
sessionId
=
session
params
.
sessionId
=
session
return
http
_custom
({
return
http
({
url
:
'/rop-scrm-entmicro/router'
,
url
:
'/rop-scrm-entmicro/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
...
@@ -132,7 +132,7 @@ const saveChannelCode = params => {
...
@@ -132,7 +132,7 @@ const saveChannelCode = params => {
const
updateChannelCode
=
params
=>
{
const
updateChannelCode
=
params
=>
{
params
.
method
=
'entmicro.api.code.updateChannelCode'
params
.
method
=
'entmicro.api.code.updateChannelCode'
params
.
sessionId
=
session
params
.
sessionId
=
session
return
http
_custom
({
return
http
({
url
:
'/rop-scrm-entmicro/router'
,
url
:
'/rop-scrm-entmicro/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
...
@@ -140,9 +140,9 @@ const updateChannelCode = params => {
...
@@ -140,9 +140,9 @@ const updateChannelCode = params => {
})
})
}
}
const
getCustomer
=
params
=>
{
const
getCustomer
=
params
=>
{
params
.
method
=
'entmicro.api.customer.page'
params
.
method
=
'entmicro.api.customer.
code.
page'
params
.
sessionId
=
session
params
.
sessionId
=
session
return
http
_custom
({
return
http
({
url
:
'/rop-scrm-entmicro/router'
,
url
:
'/rop-scrm-entmicro/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
...
@@ -152,7 +152,7 @@ const getCustomer = params => {
...
@@ -152,7 +152,7 @@ const getCustomer = params => {
const
getChannelCodeStaffList
=
params
=>
{
const
getChannelCodeStaffList
=
params
=>
{
params
.
method
=
'entmicro.api.code.getChannelCodeStaffList'
params
.
method
=
'entmicro.api.code.getChannelCodeStaffList'
params
.
sessionId
=
session
params
.
sessionId
=
session
return
http
_custom
({
return
http
({
url
:
'/rop-scrm-entmicro/router'
,
url
:
'/rop-scrm-entmicro/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
...
...
src/api/modules/marketing.js
View file @
60b3d6e
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
* @param {*} params
* @param {*} params
* @returns
* @returns
*/
*/
import
{
http
,
http_custom
}
from
'@/main'
import
{
http
}
from
'@/main'
let
session
=
'mini-57c1c42e-8a0c-4fc3-959c-b62813a471cd-rop'
let
session
=
'mini-57c1c42e-8a0c-4fc3-959c-b62813a471cd-rop'
const
getCoupon
=
params
=>
{
const
getCoupon
=
params
=>
{
params
.
method
=
'scrm.api.boutiquecoupon.coupon.page'
params
.
method
=
'scrm.api.boutiquecoupon.coupon.page'
...
@@ -75,7 +75,7 @@ const getActivity = params => {
...
@@ -75,7 +75,7 @@ const getActivity = params => {
const
findAllByPage
=
params
=>
{
const
findAllByPage
=
params
=>
{
params
.
method
=
'entmicro.api.dracIm.findAllByPage'
params
.
method
=
'entmicro.api.dracIm.findAllByPage'
params
.
sessionId
=
session
params
.
sessionId
=
session
return
http
_custom
({
return
http
({
url
:
'rop-scrm-entmicro/router'
,
url
:
'rop-scrm-entmicro/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
...
@@ -85,7 +85,7 @@ const findAllByPage = params => {
...
@@ -85,7 +85,7 @@ const findAllByPage = params => {
const
exportAdd
=
params
=>
{
const
exportAdd
=
params
=>
{
params
.
method
=
'entmicro.api.dracIm.exportAdd'
params
.
method
=
'entmicro.api.dracIm.exportAdd'
params
.
sessionId
=
session
params
.
sessionId
=
session
return
http
_custom
({
return
http
({
url
:
'rop-scrm-entmicro/router'
,
url
:
'rop-scrm-entmicro/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
...
@@ -95,7 +95,7 @@ const exportAdd = params => {
...
@@ -95,7 +95,7 @@ const exportAdd = params => {
const
exportUpdate
=
params
=>
{
const
exportUpdate
=
params
=>
{
params
.
method
=
'entmicro.api.dracIm.exportUpdate'
params
.
method
=
'entmicro.api.dracIm.exportUpdate'
params
.
sessionId
=
session
params
.
sessionId
=
session
return
http
_custom
({
return
http
({
url
:
'rop-scrm-entmicro/router'
,
url
:
'rop-scrm-entmicro/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
...
@@ -105,7 +105,7 @@ const exportUpdate = params => {
...
@@ -105,7 +105,7 @@ const exportUpdate = params => {
const
findById
=
params
=>
{
const
findById
=
params
=>
{
params
.
method
=
'entmicro.api.dracIm.findById'
params
.
method
=
'entmicro.api.dracIm.findById'
params
.
sessionId
=
session
params
.
sessionId
=
session
return
http
_custom
({
return
http
({
url
:
'rop-scrm-entmicro/router'
,
url
:
'rop-scrm-entmicro/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
...
@@ -115,7 +115,7 @@ const findById = params => {
...
@@ -115,7 +115,7 @@ const findById = params => {
const
dracImMessage
=
params
=>
{
const
dracImMessage
=
params
=>
{
params
.
method
=
'entmicro.api.dracImMessage.findAllByCondition'
params
.
method
=
'entmicro.api.dracImMessage.findAllByCondition'
params
.
sessionId
=
session
params
.
sessionId
=
session
return
http
_custom
({
return
http
({
url
:
'rop-scrm-entmicro/router'
,
url
:
'rop-scrm-entmicro/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
...
@@ -125,7 +125,7 @@ const dracImMessage = params => {
...
@@ -125,7 +125,7 @@ const dracImMessage = params => {
const
listChannelCodeBill
=
params
=>
{
const
listChannelCodeBill
=
params
=>
{
params
.
method
=
'entmicro.api.code.listChannelCodeBill'
params
.
method
=
'entmicro.api.code.listChannelCodeBill'
params
.
sessionId
=
session
params
.
sessionId
=
session
return
http
_custom
({
return
http
({
url
:
'/rop-scrm-entmicro/router'
,
url
:
'/rop-scrm-entmicro/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
...
@@ -135,7 +135,7 @@ const listChannelCodeBill = params => {
...
@@ -135,7 +135,7 @@ const listChannelCodeBill = params => {
const
addConfig
=
params
=>
{
const
addConfig
=
params
=>
{
params
.
method
=
'entmicro.api.dracImConfig.addConfig'
params
.
method
=
'entmicro.api.dracImConfig.addConfig'
params
.
sessionId
=
session
params
.
sessionId
=
session
return
http
_custom
({
return
http
({
url
:
'/rop-scrm-entmicro/router'
,
url
:
'/rop-scrm-entmicro/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
...
@@ -145,7 +145,7 @@ const addConfig = params => {
...
@@ -145,7 +145,7 @@ const addConfig = params => {
const
findConfig
=
params
=>
{
const
findConfig
=
params
=>
{
params
.
method
=
'entmicro.api.dracImConfig.findConfig'
params
.
method
=
'entmicro.api.dracImConfig.findConfig'
params
.
sessionId
=
session
params
.
sessionId
=
session
return
http
_custom
({
return
http
({
url
:
'/rop-scrm-entmicro/router'
,
url
:
'/rop-scrm-entmicro/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
...
@@ -155,7 +155,7 @@ const findConfig = params => {
...
@@ -155,7 +155,7 @@ const findConfig = params => {
const
updateConfig
=
params
=>
{
const
updateConfig
=
params
=>
{
params
.
method
=
'entmicro.api.dracImConfig.updateConfig'
params
.
method
=
'entmicro.api.dracImConfig.updateConfig'
params
.
sessionId
=
session
params
.
sessionId
=
session
return
http
_custom
({
return
http
({
url
:
'/rop-scrm-entmicro/router'
,
url
:
'/rop-scrm-entmicro/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
...
@@ -165,7 +165,7 @@ const updateConfig = params => {
...
@@ -165,7 +165,7 @@ const updateConfig = params => {
const
customerPage
=
params
=>
{
const
customerPage
=
params
=>
{
params
.
method
=
'entmicro.api.dracIm.customer.search.page'
params
.
method
=
'entmicro.api.dracIm.customer.search.page'
params
.
sessionId
=
session
params
.
sessionId
=
session
return
http
_custom
({
return
http
({
url
:
'/rop-scrm-entmicro/router'
,
url
:
'/rop-scrm-entmicro/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
...
...
src/api/modules/overview.js
View file @
60b3d6e
...
@@ -6,11 +6,11 @@
...
@@ -6,11 +6,11 @@
* @param {*} params
* @param {*} params
* @returns
* @returns
*/
*/
import
{
http
,
http_custom
}
from
'@/main'
import
{
http
}
from
'@/main'
let
session
=
'mini-c38a80dd-cf48-4491-8933-fb2eb57fb4ca-rop'
let
session
=
'mini-c38a80dd-cf48-4491-8933-fb2eb57fb4ca-rop'
const
codeDefault
=
params
=>
{
const
codeDefault
=
params
=>
{
params
.
method
=
'entmicro.api.drac.statistic.code.default'
params
.
method
=
'entmicro.api.drac.statistic.code.default'
return
http
_custom
({
return
http
({
url
:
'/rop-scrm-entmicro/router'
,
url
:
'/rop-scrm-entmicro/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
...
@@ -19,7 +19,7 @@ const codeDefault = params => {
...
@@ -19,7 +19,7 @@ const codeDefault = params => {
}
}
const
listStaff
=
params
=>
{
const
listStaff
=
params
=>
{
params
.
method
=
'entmicro.api.drac.statistic.code.detail.list.staff'
params
.
method
=
'entmicro.api.drac.statistic.code.detail.list.staff'
return
http
_custom
({
return
http
({
url
:
'rop-scrm-entmicro/router'
,
url
:
'rop-scrm-entmicro/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
...
@@ -28,7 +28,7 @@ const listStaff = params => {
...
@@ -28,7 +28,7 @@ const listStaff = params => {
}
}
const
listTime
=
params
=>
{
const
listTime
=
params
=>
{
params
.
method
=
'entmicro.api.drac.statistic.code.detail.list.time'
params
.
method
=
'entmicro.api.drac.statistic.code.detail.list.time'
return
http
_custom
({
return
http
({
url
:
'rop-scrm-entmicro/router'
,
url
:
'rop-scrm-entmicro/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
...
@@ -37,7 +37,7 @@ const listTime = params => {
...
@@ -37,7 +37,7 @@ const listTime = params => {
}
}
const
detailTotal
=
params
=>
{
const
detailTotal
=
params
=>
{
params
.
method
=
'entmicro.api.drac.statistic.code.detail.total'
params
.
method
=
'entmicro.api.drac.statistic.code.detail.total'
return
http
_custom
({
return
http
({
url
:
'rop-scrm-entmicro/router'
,
url
:
'rop-scrm-entmicro/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
...
@@ -47,7 +47,7 @@ const detailTotal = params => {
...
@@ -47,7 +47,7 @@ const detailTotal = params => {
const
codeSearch
=
params
=>
{
const
codeSearch
=
params
=>
{
params
.
method
=
'entmicro.api.drac.statistic.code.search'
params
.
method
=
'entmicro.api.drac.statistic.code.search'
params
.
sessionId
=
session
params
.
sessionId
=
session
return
http
_custom
({
return
http
({
url
:
'rop-scrm-entmicro/router'
,
url
:
'rop-scrm-entmicro/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
...
@@ -57,7 +57,7 @@ const codeSearch = params => {
...
@@ -57,7 +57,7 @@ const codeSearch = params => {
const
codeTrend
=
params
=>
{
const
codeTrend
=
params
=>
{
params
.
method
=
'entmicro.api.drac.statistic.code.trend'
params
.
method
=
'entmicro.api.drac.statistic.code.trend'
params
.
sessionId
=
session
params
.
sessionId
=
session
return
http
_custom
({
return
http
({
url
:
'rop-scrm-entmicro/router'
,
url
:
'rop-scrm-entmicro/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
...
@@ -67,7 +67,7 @@ const codeTrend = params => {
...
@@ -67,7 +67,7 @@ const codeTrend = params => {
const
dayTrend
=
params
=>
{
const
dayTrend
=
params
=>
{
params
.
method
=
'entmicro.api.drac.statistic.day.trend'
params
.
method
=
'entmicro.api.drac.statistic.day.trend'
params
.
sessionId
=
session
params
.
sessionId
=
session
return
http
_custom
({
return
http
({
url
:
'rop-scrm-entmicro/router'
,
url
:
'rop-scrm-entmicro/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
...
@@ -77,7 +77,7 @@ const dayTrend = params => {
...
@@ -77,7 +77,7 @@ const dayTrend = params => {
const
overview
=
params
=>
{
const
overview
=
params
=>
{
params
.
method
=
'entmicro.api.drac.statistic.overview'
params
.
method
=
'entmicro.api.drac.statistic.overview'
params
.
sessionId
=
session
params
.
sessionId
=
session
return
http
_custom
({
return
http
({
url
:
'rop-scrm-entmicro/router'
,
url
:
'rop-scrm-entmicro/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
...
@@ -87,7 +87,7 @@ const overview = params => {
...
@@ -87,7 +87,7 @@ const overview = params => {
const
findMessageStatic
=
params
=>
{
const
findMessageStatic
=
params
=>
{
params
.
method
=
'entmicro.api.dracIm.findMessageStatic'
params
.
method
=
'entmicro.api.dracIm.findMessageStatic'
params
.
sessionId
=
session
params
.
sessionId
=
session
return
http
_custom
({
return
http
({
url
:
'rop-scrm-entmicro/router'
,
url
:
'rop-scrm-entmicro/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
...
@@ -98,7 +98,7 @@ const findMessageStatic = params => {
...
@@ -98,7 +98,7 @@ const findMessageStatic = params => {
const
viewChart
=
params
=>
{
const
viewChart
=
params
=>
{
params
.
method
=
'entmicro.api.drac.statistic.getCustomerStatisticCodeTrend'
params
.
method
=
'entmicro.api.drac.statistic.getCustomerStatisticCodeTrend'
params
.
sessionId
=
session
params
.
sessionId
=
session
return
http
_custom
({
return
http
({
url
:
'rop-scrm-entmicro/router'
,
url
:
'rop-scrm-entmicro/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
...
@@ -108,7 +108,7 @@ const viewChart = params => {
...
@@ -108,7 +108,7 @@ const viewChart = params => {
const
findAllMessageByPage
=
params
=>
{
const
findAllMessageByPage
=
params
=>
{
params
.
method
=
'entmicro.api.dracIm.findAllMessageByPage'
params
.
method
=
'entmicro.api.dracIm.findAllMessageByPage'
params
.
sessionId
=
session
params
.
sessionId
=
session
return
http
_custom
({
return
http
({
url
:
'rop-scrm-entmicro/router'
,
url
:
'rop-scrm-entmicro/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
...
...
src/api/modules/square.js
View file @
60b3d6e
...
@@ -6,12 +6,12 @@
...
@@ -6,12 +6,12 @@
* @param {*} params
* @param {*} params
* @returns
* @returns
*/
*/
import
{
http
,
http_custom
}
from
'@/main'
import
{
http
}
from
'@/main'
let
session
=
'mini-c38a80dd-cf48-4491-8933-fb2eb57fb4ca-rop'
let
session
=
'mini-c38a80dd-cf48-4491-8933-fb2eb57fb4ca-rop'
const
importsUpload
=
params
=>
{
const
importsUpload
=
params
=>
{
params
.
method
=
'entmicro.api.imports.upload'
params
.
method
=
'entmicro.api.imports.upload'
params
.
sessionId
=
session
params
.
sessionId
=
session
return
http
_custom
({
return
http
({
url
:
'/rop-scrm-entmicro/router'
,
url
:
'/rop-scrm-entmicro/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
...
@@ -21,7 +21,7 @@ const importsUpload = params => {
...
@@ -21,7 +21,7 @@ const importsUpload = params => {
const
downloadModel
=
params
=>
{
const
downloadModel
=
params
=>
{
params
.
method
=
'entmicro.api.imports.download.model'
params
.
method
=
'entmicro.api.imports.download.model'
params
.
sessionId
=
session
params
.
sessionId
=
session
return
http
_custom
({
return
http
({
url
:
'rop-scrm-entmicro/router'
,
url
:
'rop-scrm-entmicro/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
...
@@ -31,7 +31,7 @@ const downloadModel = params => {
...
@@ -31,7 +31,7 @@ const downloadModel = params => {
const
importsRecord
=
params
=>
{
const
importsRecord
=
params
=>
{
params
.
method
=
'entmicro.api.imports.record.page'
params
.
method
=
'entmicro.api.imports.record.page'
params
.
sessionId
=
session
params
.
sessionId
=
session
return
http
_custom
({
return
http
({
url
:
'rop-scrm-entmicro/router'
,
url
:
'rop-scrm-entmicro/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
...
@@ -41,7 +41,7 @@ const importsRecord = params => {
...
@@ -41,7 +41,7 @@ const importsRecord = params => {
const
importsCount
=
params
=>
{
const
importsCount
=
params
=>
{
params
.
method
=
'entmicro.api.imports.count'
params
.
method
=
'entmicro.api.imports.count'
params
.
sessionId
=
session
params
.
sessionId
=
session
return
http
_custom
({
return
http
({
url
:
'rop-scrm-entmicro/router'
,
url
:
'rop-scrm-entmicro/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
...
@@ -51,7 +51,7 @@ const importsCount = params => {
...
@@ -51,7 +51,7 @@ const importsCount = params => {
const
importsKey
=
params
=>
{
const
importsKey
=
params
=>
{
params
.
method
=
'entmicro.api.imports.record.key'
params
.
method
=
'entmicro.api.imports.record.key'
params
.
sessionId
=
session
params
.
sessionId
=
session
return
http
_custom
({
return
http
({
url
:
'rop-scrm-entmicro/router'
,
url
:
'rop-scrm-entmicro/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
...
@@ -60,7 +60,7 @@ const importsKey = params => {
...
@@ -60,7 +60,7 @@ const importsKey = params => {
}
}
const
findLoginCount
=
params
=>
{
const
findLoginCount
=
params
=>
{
params
.
method
=
'entmicro.api.common.findLoginCount'
params
.
method
=
'entmicro.api.common.findLoginCount'
return
http
_custom
({
return
http
({
url
:
'rop-scrm-entmicro/router'
,
url
:
'rop-scrm-entmicro/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
...
...
src/components/welcome/activityModel.vue
View file @
60b3d6e
...
@@ -9,23 +9,23 @@
...
@@ -9,23 +9,23 @@
<el-tab-pane
label=
"权益套餐"
name=
"4"
></el-tab-pane>
<el-tab-pane
label=
"权益套餐"
name=
"4"
></el-tab-pane>
<el-tab-pane
label=
"商城券"
name=
"2"
></el-tab-pane>
<el-tab-pane
label=
"商城券"
name=
"2"
></el-tab-pane>
<el-tab-pane
label=
"秒杀活动"
name=
"5"
></el-tab-pane>
<el-tab-pane
label=
"秒杀活动"
name=
"5"
></el-tab-pane>
<el-tab-pane
label=
"无忧服务"
name=
"
1
"
v-if=
"openFlag"
></el-tab-pane>
<el-tab-pane
label=
"无忧服务"
name=
"
6
"
v-if=
"openFlag"
></el-tab-pane>
</el-tabs>
</el-tabs>
</div>
</div>
<div
class=
"model-item-panel"
v-if=
"modelList.length > 0"
v-loading=
"loading"
>
<div
class=
"model-item-panel"
v-if=
"modelList.length > 0"
v-loading=
"loading"
>
<div
class=
"model-item"
:class=
"
{ checked: selectItem == item }" v-for="(item, index) in modelList" :key="index" @click="handleSelectItem(item)">
<div
class=
"model-item"
:class=
"
{ checked: selectItem == item }" v-for="(item, index) in modelList" :key="index" @click="handleSelectItem(item)">
<div
class=
"model-item-title"
:title=
"item.equityName"
v-show=
"activeName == 3"
>
{{
item
.
equityName
}}
</div>
<div
class=
"model-item-title"
:title=
"item.equityName"
v-show=
"activeName == 3"
>
{{
item
.
equityName
}}
</div>
<div
class=
"model-item-title"
:title=
"item.couponName"
v-show=
"activeName == 2"
>
{{
item
.
couponName
}}
</div>
<div
class=
"model-item-title"
:title=
"item.couponName"
v-show=
"activeName == 2"
>
{{
item
.
couponName
}}
</div>
<div
class=
"model-item-title"
:title=
"item.couponName"
v-show=
"activeName ==
1
"
>
{{
item
.
equityName
}}
</div>
<div
class=
"model-item-title"
:title=
"item.couponName"
v-show=
"activeName ==
6
"
>
{{
item
.
equityName
}}
</div>
<div
class=
"model-item-title"
:title=
"item.packageName"
v-show=
"activeName == 4"
>
{{
item
.
packageName
}}
</div>
<div
class=
"model-item-title"
:title=
"item.packageName"
v-show=
"activeName == 4"
>
{{
item
.
packageName
}}
</div>
<div
class=
"model-item-title"
:title=
"item.activityName"
v-show=
"activeName == 5"
>
{{
item
.
activityName
}}
</div>
<div
class=
"model-item-title"
:title=
"item.activityName"
v-show=
"activeName == 5"
>
{{
item
.
activityName
}}
</div>
<div
class=
"model-item-content"
v-show=
"activeName == 3"
>
领取方式:免费领用
</div>
<div
class=
"model-item-content"
v-show=
"activeName == 3"
>
领取方式:免费领用
</div>
<div
class=
"model-item-content"
v-show=
"activeName == 4"
>
领取方式:付费购买
</div>
<div
class=
"model-item-content"
v-show=
"activeName == 4"
>
领取方式:付费购买
</div>
<div
class=
"model-item-content"
v-show=
"activeName == 2 && item.effectiveType ==
1"
>
有效期:
{{
item
.
effectiveDays
}}
天
</div>
<div
class=
"model-item-content"
v-show=
"activeName == 2 && item.effectiveType ==
6"
>
有效期:
{{
item
.
effectiveDays
}}
天
</div>
<div
class=
"model-item-content"
v-show=
"activeName == 2 && item.effectiveType == 3"
>
有效期:无限制
</div>
<div
class=
"model-item-content"
v-show=
"activeName == 2 && item.effectiveType == 3"
>
有效期:无限制
</div>
<div
class=
"model-item-content"
v-show=
"activeName == 2 && item.effectiveType == 2"
>
有效期:
{{
item
.
effectiveStartTime
?
item
.
effectiveStartTime
.
split
(
' '
)[
0
]
:
''
}}
~
{{
item
.
effectiveEndTime
?
item
.
effectiveEndTime
.
split
(
' '
)[
0
]
:
''
}}
</div>
<div
class=
"model-item-content"
v-show=
"activeName == 2 && item.effectiveType == 2"
>
有效期:
{{
item
.
effectiveStartTime
?
item
.
effectiveStartTime
.
split
(
' '
)[
0
]
:
''
}}
~
{{
item
.
effectiveEndTime
?
item
.
effectiveEndTime
.
split
(
' '
)[
0
]
:
''
}}
</div>
<div
class=
"model-item-content"
v-show=
"activeName ==
1
"
>
获取方式:需先购买无忧服务套餐
</div>
<div
class=
"model-item-content"
v-show=
"activeName ==
6
"
>
获取方式:需先购买无忧服务套餐
</div>
<div
class=
"model-item-content"
v-show=
"activeName ==
1
"
>
获取限制:每个服务套餐限领一次
</div>
<div
class=
"model-item-content"
v-show=
"activeName ==
6
"
>
获取限制:每个服务套餐限领一次
</div>
<div
class=
"model-item-content"
v-show=
"activeName == 3"
></div>
<div
class=
"model-item-content"
v-show=
"activeName == 3"
></div>
<div
class=
"model-item-content model-item-contents"
v-show=
"activeName == 3"
>
<div
class=
"model-item-content model-item-contents"
v-show=
"activeName == 3"
>
...
@@ -36,9 +36,9 @@
...
@@ -36,9 +36,9 @@
使用途径:
使用途径:
{{
item
.
useChannel
==
1
?
'线上商品'
:
'到店核销'
}}
{{
item
.
useChannel
==
1
?
'线上商品'
:
'到店核销'
}}
</div>
</div>
<div
class=
"model-item-content
"
v-show=
"activeName == 1
"
>
<div
class=
"model-item-content
model-item-weight"
v-show=
"activeName == 6
"
>
赠送天数:
赠送天数:
<span>
{{
effectiveType
==
2
?
item
.
effectiveDay
+
'天'
:
'永久有效'
}}
</span>
<span>
{{
effectiveType
==
2
?
item
.
effectiveDay
+
'天'
:
'永久有效'
}}
</span>
</div>
</div>
<div
class=
"model-item-content"
v-show=
"activeName == 4 || activeName == 5"
></div>
<div
class=
"model-item-content"
v-show=
"activeName == 4 || activeName == 5"
></div>
<div
class=
"model-item-content model-item-contents"
v-show=
"activeName == 4"
>
<div
class=
"model-item-content model-item-contents"
v-show=
"activeName == 4"
>
...
@@ -145,7 +145,7 @@ export default {
...
@@ -145,7 +145,7 @@ export default {
this
.
loading
=
true
this
.
loading
=
true
let
market
=
''
let
market
=
''
switch
(
this
.
activeName
)
{
switch
(
this
.
activeName
)
{
case
'
1
'
:
case
'
6
'
:
market
=
'merchant'
market
=
'merchant'
break
break
case
'2'
:
case
'2'
:
...
@@ -177,12 +177,12 @@ export default {
...
@@ -177,12 +177,12 @@ export default {
params
.
currentPage
=
this
.
pageNum
params
.
currentPage
=
this
.
pageNum
params
.
activityStatus
=
2
params
.
activityStatus
=
2
}
}
if
(
this
.
activeName
==
1
)
{
if
(
this
.
activeName
==
6
)
{
params
.
merchantId
=
this
.
$globalState
.
session
.
merchantId
params
.
merchantId
=
this
.
$globalState
.
session
.
merchantId
}
}
this
.
$apis
.
marketing
[
market
](
params
)
this
.
$apis
.
marketing
[
market
](
params
)
.
then
(
res
=>
{
.
then
(
res
=>
{
if
(
this
.
activeName
==
3
||
this
.
activeName
==
1
)
{
if
(
this
.
activeName
==
3
||
this
.
activeName
==
6
)
{
this
.
modelList
=
res
this
.
modelList
=
res
}
else
{
}
else
{
this
.
modelList
=
res
.
list
?
res
.
list
:
res
.
data
this
.
modelList
=
res
.
list
?
res
.
list
:
res
.
data
...
@@ -354,6 +354,10 @@ export default {
...
@@ -354,6 +354,10 @@ export default {
text-overflow
:
ellipsis
;
text-overflow
:
ellipsis
;
overflow
:
hidden
;
overflow
:
hidden
;
white-space
:
nowrap
;
white-space
:
nowrap
;
&.model-item-weight
{
line-height
:
20px
;
height
:
20px
;
}
span
{
span
{
color
:
#5850ff
;
color
:
#5850ff
;
font-size
:
20px
;
font-size
:
20px
;
...
...
src/main.js
View file @
60b3d6e
...
@@ -21,4 +21,3 @@ from '@/setup'
...
@@ -21,4 +21,3 @@ from '@/setup'
export
const
http
=
params
=>
Vue
.
prototype
.
$http
(
params
)
export
const
http
=
params
=>
Vue
.
prototype
.
$http
(
params
)
export
const
http_common
=
params
=>
Vue
.
prototype
.
$http_common
(
params
)
export
const
http_common
=
params
=>
Vue
.
prototype
.
$http_common
(
params
)
export
const
http_tag
=
params
=>
Vue
.
prototype
.
$http_tag
(
params
)
export
const
http_tag
=
params
=>
Vue
.
prototype
.
$http_tag
(
params
)
\ No newline at end of file
\ No newline at end of file
export
const
http_custom
=
params
=>
Vue
.
prototype
.
$http_custom
(
params
)
\ No newline at end of file
\ No newline at end of file
src/setup/qiankun.js
View file @
60b3d6e
...
@@ -17,14 +17,13 @@ let routes = []
...
@@ -17,14 +17,13 @@ let routes = []
let
router
=
null
let
router
=
null
let
instance
=
null
let
instance
=
null
export
async
function
bootstrap
({
name
,
id
,
history
,
common
,
messenger
,
globalState
,
routerBase
})
{
export
async
function
bootstrap
({
name
,
id
,
history
,
common
,
messenger
,
globalState
,
routerBase
})
{
const
{
response
,
request
,
sign
,
secret
,
request_common
,
sign_common
,
request_tag
,
request_custom
}
=
await
fetchConfig
()
const
{
response
,
request
,
sign
,
secret
,
request_common
,
sign_common
,
request_tag
}
=
await
fetchConfig
()
Vue
.
prototype
.
$history
=
history
Vue
.
prototype
.
$history
=
history
Vue
.
prototype
.
$messenger
=
messenger
Vue
.
prototype
.
$messenger
=
messenger
Vue
.
prototype
.
$globalState
=
globalState
Vue
.
prototype
.
$globalState
=
globalState
Vue
.
prototype
.
$common
=
common
Vue
.
prototype
.
$common
=
common
Vue
.
prototype
.
$http
=
new
common
.
Http
({
response
,
request
,
sign
,
secret
,
alert
:
ElementUI
.
Message
.
error
,
headers
:
{
token
:
globalState
.
session
.
token
}
})
Vue
.
prototype
.
$http
=
new
common
.
Http
({
response
,
request
,
sign
,
secret
,
alert
:
ElementUI
.
Message
.
error
,
headers
:
{
token
:
globalState
.
session
.
token
}
})
Vue
.
prototype
.
$http_tag
=
new
common
.
Http
({
response
,
request
:
request_tag
,
sign
,
secret
,
alert
:
ElementUI
.
Message
.
error
,
headers
:
{
token
:
globalState
.
session
.
token
}
})
Vue
.
prototype
.
$http_tag
=
new
common
.
Http
({
response
,
request
:
request_tag
,
sign
,
secret
,
alert
:
ElementUI
.
Message
.
error
,
headers
:
{
token
:
globalState
.
session
.
token
}
})
Vue
.
prototype
.
$http_custom
=
new
common
.
Http
({
response
,
request
:
request_custom
,
sign
,
secret
,
alert
:
ElementUI
.
Message
.
error
,
headers
:
{
token
:
globalState
.
session
.
token
}
})
Vue
.
prototype
.
$http_common
=
new
common
.
Http
({
response
,
signWay
:
"md5"
,
request
:
request_common
,
sign
:
sign_common
,
secret
,
alert
:
ElementUI
.
Message
.
error
,
headers
:
{
TGT
:
globalState
.
session
.
token
}
})
Vue
.
prototype
.
$http_common
=
new
common
.
Http
({
response
,
signWay
:
"md5"
,
request
:
request_common
,
sign
:
sign_common
,
secret
,
alert
:
ElementUI
.
Message
.
error
,
headers
:
{
TGT
:
globalState
.
session
.
token
}
})
const
routesData
=
common
.
utils
.
deepClone
(
globalState
.
routers
)
const
routesData
=
common
.
utils
.
deepClone
(
globalState
.
routers
)
routes
=
getRoutes
(
routesData
)
routes
=
getRoutes
(
routesData
)
...
...
src/views/overview/components/linechart.vue
View file @
60b3d6e
...
@@ -27,6 +27,12 @@ export default {
...
@@ -27,6 +27,12 @@ export default {
let
notAddEntMicroCount
=
lineData
.
map
(
item
=>
{
let
notAddEntMicroCount
=
lineData
.
map
(
item
=>
{
return
item
.
notAddEntMicroCount
return
item
.
notAddEntMicroCount
})
})
const
lengthC
=
entMicroCount
.
length
-
1
if
(
notAddEntMicroCount
.
every
(
item
=>
item
==
0
)
&&
entMicroCount
.
every
(
item
=>
item
==
0
))
{
this
.
lineStatus
=
false
return
}
this
.
lineStatus
=
true
let
dateTime
=
lineData
.
map
(
item
=>
{
let
dateTime
=
lineData
.
map
(
item
=>
{
return
item
.
dayTime
return
item
.
dayTime
})
})
...
@@ -54,13 +60,13 @@ export default {
...
@@ -54,13 +60,13 @@ export default {
},
},
dataZoom
:
[
dataZoom
:
[
{
{
type
:
'inside'
,
startValue
:
lengthC
-
29
,
startValue
:
0
,
endValue
:
lengthC
endValue
:
29
},
},
{
{
startValue
:
0
,
type
:
'inside'
,
endValue
:
29
startValue
:
lengthC
-
29
,
endValue
:
lengthC
}
}
],
],
xAxis
:
{
xAxis
:
{
...
@@ -70,7 +76,7 @@ export default {
...
@@ -70,7 +76,7 @@ export default {
},
},
yAxis
:
{
yAxis
:
{
type
:
'value'
,
type
:
'value'
,
minInterval
:
1
,
minInterval
:
1
},
},
series
:
[
series
:
[
{
{
...
@@ -89,11 +95,6 @@ export default {
...
@@ -89,11 +95,6 @@ export default {
}
}
option
&&
myChart
.
setOption
(
option
)
option
&&
myChart
.
setOption
(
option
)
if
(
notAddEntMicroCount
.
every
(
item
=>
item
==
0
)
&&
entMicroCount
.
every
(
item
=>
item
==
0
))
{
this
.
lineStatus
=
false
}
else
{
this
.
lineStatus
=
true
}
}
}
}
}
}
}
...
...
src/views/overview/index.vue
View file @
60b3d6e
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<div
class=
"overview-main"
>
<div
class=
"overview-main"
>
<div
class=
"overview-header"
>
<div
class=
"overview-header"
>
<span>
引流获客概览
</span>
<span>
引流获客概览
</span>
<el-popover
placement=
"top"
width=
"400"
trigger=
"hover"
content=
"引流获客通过整合活码营销、
企微
魔方,可分别针对到店用户及离店用户提供企微线上化方案。帮助门店迅速的形成企微客户池,为后续营销活动搭建起稳定高频的触达通道。"
>
<el-popover
placement=
"top"
width=
"400"
trigger=
"hover"
content=
"引流获客通过整合活码营销、
数据
魔方,可分别针对到店用户及离店用户提供企微线上化方案。帮助门店迅速的形成企微客户池,为后续营销活动搭建起稳定高频的触达通道。"
>
<img
src=
"@/assets/img/question.png"
slot=
"reference"
class=
"count-item-question"
/>
<img
src=
"@/assets/img/question.png"
slot=
"reference"
class=
"count-item-question"
/>
</el-popover>
</el-popover>
</div>
</div>
...
@@ -41,7 +41,7 @@
...
@@ -41,7 +41,7 @@
<div
class=
"store-item"
>
<div
class=
"store-item"
>
<div
class=
"store-item-s"
>
<div
class=
"store-item-s"
>
<div
class=
"store-item-title"
>
离店用户线上化
</div>
<div
class=
"store-item-title"
>
离店用户线上化
</div>
<el-button
type=
"primary"
size=
"small"
@
click=
"jumpSquare"
>
企微
魔方
</el-button>
<el-button
type=
"primary"
size=
"small"
@
click=
"jumpSquare"
>
数据
魔方
</el-button>
</div>
</div>
<div
class=
"store-item-s"
>
<div
class=
"store-item-s"
>
<div
class=
"store-item-icon"
>
<div
class=
"store-item-icon"
>
...
@@ -205,9 +205,7 @@ export default {
...
@@ -205,9 +205,7 @@ export default {
}
}
}
}
.user-panel
{
.user-panel
{
display
:
flex
;
&-line
{
&-line
{
flex
:
1
;
padding
:
20px
;
padding
:
20px
;
.echart-title
{
.echart-title
{
font-size
:
20px
;
font-size
:
20px
;
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment