Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-custom
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 cec4a6b4
authored
Jan 10, 2022
by
李长胜
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
标签新改动
1 parent
c4b41bc2
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
48 additions
and
45 deletions
package.json
src/api/modules/clientDataOverview.js
src/api/modules/clientGroupManage.js
src/api/modules/clientManage.js
src/api/modules/groupGuest.js
src/api/modules/loginCount.js
src/api/modules/tagsManage.js
src/config/index.js
src/main.js
src/setup/qiankun.js
src/views/clientGroupManage/index.vue
package.json
View file @
cec4a6b
{
{
"name"
:
"custom"
,
"name"
:
"
new
custom"
,
"version"
:
"0.1.0"
,
"version"
:
"0.1.0"
,
"private"
:
true
,
"private"
:
true
,
"scripts"
:
{
"scripts"
:
{
...
...
src/api/modules/clientDataOverview.js
View file @
cec4a6b
...
@@ -6,12 +6,12 @@
...
@@ -6,12 +6,12 @@
* @param {*} params
* @param {*} params
* @returns
* @returns
*/
*/
import
{
http
}
from
'@/main'
import
{
http
2
}
from
'@/main'
//获取数据概览上方的数据 /rop-scrm-datahub
//获取数据概览上方的数据 /rop-scrm-datahub
export
function
getDataOverview
(
params
){
export
function
getDataOverview
(
params
){
params
.
method
=
'entmicro.api.Customer.customer.view.data'
params
.
method
=
'entmicro.api.Customer.customer.view.data'
return
http
({
return
http
2
({
url
:
'/rop-scrm-entmicro/router'
,
url
:
'/rop-scrm-entmicro/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
//获取数据概览下方柱状图的数据
//获取数据概览下方柱状图的数据
export
function
getDataOverviewBarMap
(
params
){
export
function
getDataOverviewBarMap
(
params
){
params
.
method
=
'entmicro.api.customer.view.chart'
params
.
method
=
'entmicro.api.customer.view.chart'
return
http
({
return
http
2
({
url
:
'/rop-scrm-entmicro/router'
,
url
:
'/rop-scrm-entmicro/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
...
...
src/api/modules/clientGroupManage.js
View file @
cec4a6b
...
@@ -6,12 +6,12 @@
...
@@ -6,12 +6,12 @@
* @param {*} params
* @param {*} params
* @returns
* @returns
*/
*/
import
{
http
}
from
'@/main'
import
{
http
,
http2
}
from
'@/main'
export
function
getTableList
(
params
){
export
function
getTableList
(
params
){
params
.
method
=
'entmicro.api.customer.base.page'
params
.
method
=
'entmicro.api.customer.base.page'
return
http
({
return
http
2
({
url
:
'/rop-scrm-entmicro/router'
,
url
:
'/rop-scrm-entmicro/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
}
}
export
function
syncCustomerBase
(
params
){
export
function
syncCustomerBase
(
params
){
params
.
method
=
'entmicro.api.synchro.syncCustomerBase'
params
.
method
=
'entmicro.api.synchro.syncCustomerBase'
return
http
({
return
http
2
({
url
:
'/rop-scrm-entmicro/router'
,
url
:
'/rop-scrm-entmicro/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
}
}
export
function
getTableDetail
(
params
){
export
function
getTableDetail
(
params
){
params
.
method
=
'entmicro.api.customer.base.detail'
params
.
method
=
'entmicro.api.customer.base.detail'
return
http
({
return
http
2
({
url
:
'/rop-scrm-entmicro/router'
,
url
:
'/rop-scrm-entmicro/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
...
@@ -38,7 +38,7 @@
...
@@ -38,7 +38,7 @@
}
}
export
function
getClientTableDetail
(
params
){
export
function
getClientTableDetail
(
params
){
params
.
method
=
'entmicro.api.customer.detail'
params
.
method
=
'entmicro.api.customer.detail'
return
http
({
return
http
2
({
url
:
'/rop-scrm-entmicro/router'
,
url
:
'/rop-scrm-entmicro/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
...
@@ -49,7 +49,7 @@
...
@@ -49,7 +49,7 @@
// 客户群的客户列表获取分页数据接口
// 客户群的客户列表获取分页数据接口
export
function
getDetailTableList
(
params
){
export
function
getDetailTableList
(
params
){
params
.
method
=
'entmicro.api.customer.base.cust.page'
params
.
method
=
'entmicro.api.customer.base.cust.page'
return
http
({
return
http
2
({
url
:
'/rop-scrm-entmicro/router'
,
url
:
'/rop-scrm-entmicro/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
...
@@ -62,7 +62,7 @@
...
@@ -62,7 +62,7 @@
*/
*/
export
function
getStatus
(
params
)
{
export
function
getStatus
(
params
)
{
params
.
method
=
'scrm.api.work.wechat.access.status'
params
.
method
=
'scrm.api.work.wechat.access.status'
return
http
({
return
http
2
({
url
:
'/rop-scrm-wechat/router'
,
url
:
'/rop-scrm-wechat/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
...
@@ -76,7 +76,7 @@ export function getStatus(params) {
...
@@ -76,7 +76,7 @@ export function getStatus(params) {
// POST /router/entmicro.api.customer.base.staff.page/1.0.0
// POST /router/entmicro.api.customer.base.staff.page/1.0.0
export
function
getDetailStaffTableList
(
params
){
export
function
getDetailStaffTableList
(
params
){
params
.
method
=
'entmicro.api.customer.base.staff.page'
params
.
method
=
'entmicro.api.customer.base.staff.page'
return
http
({
return
http
2
({
url
:
'/rop-scrm-entmicro/router'
,
url
:
'/rop-scrm-entmicro/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
...
@@ -89,7 +89,7 @@ export function getDetailStaffTableList(params){
...
@@ -89,7 +89,7 @@ export function getDetailStaffTableList(params){
*/
*/
export
function
getDetailQuitTableList
(
params
){
export
function
getDetailQuitTableList
(
params
){
params
.
method
=
'entmicro.api.customer.base.quit.cust.page'
params
.
method
=
'entmicro.api.customer.base.quit.cust.page'
return
http
({
return
http
2
({
url
:
'/rop-scrm-entmicro/router'
,
url
:
'/rop-scrm-entmicro/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
...
...
src/api/modules/clientManage.js
View file @
cec4a6b
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
* @param {*} params
* @param {*} params
* @returns
* @returns
*/
*/
import
{
http
}
from
'@/main'
import
{
http
,
http2
}
from
'@/main'
//const commonUrl='&format=json&appKey=48e5e13229b82c1b4e6e8c96151f0637&v=1.0.*×tamp=1654487354&source=sub-client-custom&sign=sdf9787dfs87987sf9879sdf87sdf'
//const commonUrl='&format=json&appKey=48e5e13229b82c1b4e6e8c96151f0637&v=1.0.*×tamp=1654487354&source=sub-client-custom&sign=sdf9787dfs87987sf9879sdf87sdf'
//获取客户列表内容
//获取客户列表内容
...
@@ -35,8 +35,8 @@
...
@@ -35,8 +35,8 @@
export
function
getAllTagTree
(
params
){
export
function
getAllTagTree
(
params
){
params
.
method
=
'scrm.api.datahub.label.querylabeltree'
//
params.method='scrm.api.datahub.label.querylabeltree'
//
params.method='scrm.api.datahub.labelgroup.queryLabelTree'
params
.
method
=
'scrm.api.datahub.labelgroup.queryLabelTree'
return
http
({
return
http
({
url
:
'/rop-scrm-datahub/router'
,
url
:
'/rop-scrm-datahub/router'
,
method
:
'POST'
,
method
:
'POST'
,
...
@@ -64,7 +64,7 @@
...
@@ -64,7 +64,7 @@
// params.sessionId="mini-e72437ba-845e-4da3-9966-0b25684d6373-rop"
// params.sessionId="mini-e72437ba-845e-4da3-9966-0b25684d6373-rop"
// params.timestamp=new Date().getTime()
// params.timestamp=new Date().getTime()
// +'?method=org.ore.api.customer.page'
// +'?method=org.ore.api.customer.page'
return
http
({
return
http
2
({
url
:
'/rop-scrm-entmicro/router'
,
url
:
'/rop-scrm-entmicro/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
...
@@ -73,7 +73,7 @@
...
@@ -73,7 +73,7 @@
}
}
export
function
syncCustomer
(
params
){
export
function
syncCustomer
(
params
){
params
.
method
=
'entmicro.api.synchro.syncCustomer'
params
.
method
=
'entmicro.api.synchro.syncCustomer'
return
http
({
return
http
2
({
url
:
'/rop-scrm-entmicro/router'
,
url
:
'/rop-scrm-entmicro/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
...
@@ -84,7 +84,7 @@
...
@@ -84,7 +84,7 @@
params
.
method
=
'entmicro.api.customer.detail'
params
.
method
=
'entmicro.api.customer.detail'
// params.sessionId="mini-e72437ba-845e-4da3-9966-0b25684d6373-rop"
// params.sessionId="mini-e72437ba-845e-4da3-9966-0b25684d6373-rop"
return
http
({
return
http
2
({
url
:
'/rop-scrm-entmicro/router'
,
url
:
'/rop-scrm-entmicro/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
...
@@ -96,7 +96,7 @@
...
@@ -96,7 +96,7 @@
*/
*/
export
function
getDictionaryFun
(
params
){
export
function
getDictionaryFun
(
params
){
params
.
method
=
'entmicro.api.common.dictdata.list'
params
.
method
=
'entmicro.api.common.dictdata.list'
return
http
({
return
http
2
({
url
:
'/rop-scrm-entmicro/router'
,
url
:
'/rop-scrm-entmicro/router'
,
method
:
'GET'
,
method
:
'GET'
,
data
:
params
,
data
:
params
,
...
@@ -108,7 +108,7 @@
...
@@ -108,7 +108,7 @@
//客户信息管理导出
//客户信息管理导出
export
function
clientManageExportApi
(
params
){
export
function
clientManageExportApi
(
params
){
params
.
method
=
`entmicro.api.customer.list.export`
params
.
method
=
`entmicro.api.customer.list.export`
return
http
({
return
http
2
({
url
:
'/rop-scrm-entmicro/router'
,
url
:
'/rop-scrm-entmicro/router'
,
method
:
'GET'
,
method
:
'GET'
,
data
:
params
,
data
:
params
,
...
...
src/api/modules/groupGuest.js
View file @
cec4a6b
...
@@ -6,13 +6,13 @@
...
@@ -6,13 +6,13 @@
* @param {*} params
* @param {*} params
* @returns
* @returns
*/
*/
import
{
http
}
from
'@/main'
import
{
http
2
}
from
'@/main'
const
URL
=
'/rop-scrm-entmicro/router'
const
URL
=
'/rop-scrm-entmicro/router'
const
PATH
=
'entmicro.api.one.template.'
const
PATH
=
'entmicro.api.one.template.'
const
templateList
=
params
=>
{
const
templateList
=
params
=>
{
params
.
method
=
`
${
PATH
}
page`
params
.
method
=
`
${
PATH
}
page`
return
http
({
return
http
2
({
url
:
URL
,
url
:
URL
,
method
:
'GET'
,
method
:
'GET'
,
data
:
params
,
data
:
params
,
...
@@ -22,7 +22,7 @@ const templateList = params => {
...
@@ -22,7 +22,7 @@ const templateList = params => {
const
insert
=
params
=>
{
const
insert
=
params
=>
{
params
.
method
=
`
${
PATH
}
insert`
params
.
method
=
`
${
PATH
}
insert`
return
http
({
return
http
2
({
url
:
URL
,
url
:
URL
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
...
@@ -32,7 +32,7 @@ const insert = params => {
...
@@ -32,7 +32,7 @@ const insert = params => {
const
update
=
params
=>
{
const
update
=
params
=>
{
params
.
method
=
`
${
PATH
}
update`
params
.
method
=
`
${
PATH
}
update`
return
http
({
return
http
2
({
url
:
URL
,
url
:
URL
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
...
@@ -42,7 +42,7 @@ const update = params => {
...
@@ -42,7 +42,7 @@ const update = params => {
const
detail
=
params
=>
{
const
detail
=
params
=>
{
params
.
method
=
`
${
PATH
}
detail`
params
.
method
=
`
${
PATH
}
detail`
return
http
({
return
http
2
({
url
:
URL
,
url
:
URL
,
method
:
'GET'
,
method
:
'GET'
,
data
:
params
,
data
:
params
,
...
@@ -52,7 +52,7 @@ const detail = params => {
...
@@ -52,7 +52,7 @@ const detail = params => {
const
status
=
params
=>
{
const
status
=
params
=>
{
params
.
method
=
`
${
PATH
}
status`
params
.
method
=
`
${
PATH
}
status`
return
http
({
return
http
2
({
url
:
URL
,
url
:
URL
,
method
:
'GET'
,
method
:
'GET'
,
data
:
params
,
data
:
params
,
...
@@ -62,7 +62,7 @@ const status = params => {
...
@@ -62,7 +62,7 @@ const status = params => {
const
listDepartmentTree
=
params
=>
{
const
listDepartmentTree
=
params
=>
{
params
.
method
=
'entmicro.api.department.listDepartmentTree'
params
.
method
=
'entmicro.api.department.listDepartmentTree'
return
http
({
return
http
2
({
url
:
URL
,
url
:
URL
,
method
:
'GET'
,
method
:
'GET'
,
data
:
params
,
data
:
params
,
...
@@ -72,7 +72,7 @@ const listDepartmentTree = params => {
...
@@ -72,7 +72,7 @@ const listDepartmentTree = params => {
const
nameVaild
=
params
=>
{
const
nameVaild
=
params
=>
{
params
.
method
=
'entmicro.api.one.template.name.valid'
params
.
method
=
'entmicro.api.one.template.name.valid'
return
http
({
return
http
2
({
url
:
URL
,
url
:
URL
,
method
:
'GET'
,
method
:
'GET'
,
data
:
params
,
data
:
params
,
...
@@ -82,7 +82,7 @@ const nameVaild = params => {
...
@@ -82,7 +82,7 @@ const nameVaild = params => {
const
updateNameVaild
=
params
=>
{
const
updateNameVaild
=
params
=>
{
params
.
method
=
'entmicro.api.one.template.name.update.valid'
params
.
method
=
'entmicro.api.one.template.name.update.valid'
return
http
({
return
http
2
({
url
:
URL
,
url
:
URL
,
method
:
'GET'
,
method
:
'GET'
,
data
:
params
,
data
:
params
,
...
...
src/api/modules/loginCount.js
View file @
cec4a6b
...
@@ -6,11 +6,11 @@
...
@@ -6,11 +6,11 @@
* @param {*} params
* @param {*} params
* @returns
* @returns
*/
*/
import
{
http
}
from
'@/main'
import
{
http
2
}
from
'@/main'
//计算是第几次接触该页面
//计算是第几次接触该页面
export
function
getLoginCount
(
params
){
export
function
getLoginCount
(
params
){
params
.
method
=
'entmicro.api.common.findLoginCount'
params
.
method
=
'entmicro.api.common.findLoginCount'
return
http
({
return
http
2
({
url
:
'/rop-scrm-entmicro/router'
,
url
:
'/rop-scrm-entmicro/router'
,
method
:
'POST'
,
method
:
'POST'
,
data
:
params
,
data
:
params
,
...
...
src/api/modules/tagsManage.js
View file @
cec4a6b
...
@@ -9,8 +9,8 @@
...
@@ -9,8 +9,8 @@
import
{
http
}
from
'@/main'
import
{
http
}
from
'@/main'
export
function
getTableList
(
params
){
export
function
getTableList
(
params
){
params
.
method
=
'scrm.api.datahub.label.querylabeltree'
//
params.method='scrm.api.datahub.label.querylabeltree'
//
params.method='scrm.api.datahub.labelgroup.queryLabelTree'
params
.
method
=
'scrm.api.datahub.labelgroup.queryLabelTree'
return
http
({
return
http
({
url
:
'/rop-scrm-datahub/router'
,
url
:
'/rop-scrm-datahub/router'
,
method
:
'POST'
,
method
:
'POST'
,
...
@@ -21,8 +21,8 @@
...
@@ -21,8 +21,8 @@
}
}
//计算表格上面的数量
//计算表格上面的数量
export
function
getTableTagNum
(
params
){
export
function
getTableTagNum
(
params
){
params
.
method
=
'scrm.api.datahub.label.queryLabelCount'
//
params.method='scrm.api.datahub.label.queryLabelCount'
//
params.method='scrm.api.datahub.labelgroup.queryLabelCount'
params
.
method
=
'scrm.api.datahub.labelgroup.queryLabelCount'
return
http
({
return
http
({
url
:
'/rop-scrm-datahub/router'
,
url
:
'/rop-scrm-datahub/router'
,
...
@@ -34,8 +34,8 @@
...
@@ -34,8 +34,8 @@
}
}
export
function
newAddTag
(
params
){
export
function
newAddTag
(
params
){
params
.
method
=
'scrm.api.datahub.label.addlabel'
//
params.method='scrm.api.datahub.label.addlabel'
//
params.method='scrm.api.datahub.labelgroup.addLabel'
params
.
method
=
'scrm.api.datahub.labelgroup.addLabel'
return
http
({
return
http
({
url
:
'/rop-scrm-datahub/router'
,
url
:
'/rop-scrm-datahub/router'
,
method
:
'POST'
,
method
:
'POST'
,
...
@@ -46,8 +46,8 @@
...
@@ -46,8 +46,8 @@
}
}
//修改标签
//修改标签
export
function
updateTag
(
params
){
export
function
updateTag
(
params
){
params
.
method
=
'scrm.api.datahub.label.updatelabel'
//
params.method='scrm.api.datahub.label.updatelabel'
//
params.method='scrm.api.datahub.labelgroup.updateLabel'
params
.
method
=
'scrm.api.datahub.labelgroup.updateLabel'
return
http
({
return
http
({
url
:
'/rop-scrm-datahub/router'
,
url
:
'/rop-scrm-datahub/router'
,
method
:
'POST'
,
method
:
'POST'
,
...
@@ -59,8 +59,8 @@
...
@@ -59,8 +59,8 @@
}
}
//获取单条数据labelList数组
//获取单条数据labelList数组
export
function
queryLabelListByGroupId
(
params
){
export
function
queryLabelListByGroupId
(
params
){
params
.
method
=
'scrm.api.datahub.label.queryLabelListByGroupId'
//
params.method='scrm.api.datahub.label.queryLabelListByGroupId'
//
params.method='scrm.api.datahub.labelgroup.queryLabelListByGroupId'
params
.
method
=
'scrm.api.datahub.labelgroup.queryLabelListByGroupId'
return
http
({
return
http
({
url
:
'/rop-scrm-datahub/router'
,
url
:
'/rop-scrm-datahub/router'
,
method
:
'POST'
,
method
:
'POST'
,
...
...
src/config/index.js
View file @
cec4a6b
...
@@ -19,7 +19,7 @@ export const fetchConfig = function (isEnv = true) {
...
@@ -19,7 +19,7 @@ export const fetchConfig = function (isEnv = true) {
}
}
// https://oss-config.test.glsx.com.cn/mock/6136bea6ceeb5a5c2bec6950/base
// https://oss-config.test.glsx.com.cn/mock/6136bea6ceeb5a5c2bec6950/base
// https://oss-config.test.glsx.com.cn/mock/616d3b131072f92988f05a01/custom/config
// https://oss-config.test.glsx.com.cn/mock/616d3b131072f92988f05a01/custom/config
return
new
Http
({
request
:{
timeout
:
3000
}}).
get
(
'https://oss-config.test.glsx.com.cn/mock/616d3b131072f92988f05a01/custom/config'
)
return
new
Http
({
request
:{
timeout
:
3000
}}).
get
(
'https://oss-config.test.glsx.com.cn/mock/616d3b131072f92988f05a01/custom/config
2
'
)
}
}
export
const
config
=
{
export
const
config
=
{
install
(
vue
,
cfg
)
{
install
(
vue
,
cfg
)
{
...
...
src/main.js
View file @
cec4a6b
...
@@ -41,4 +41,5 @@ Object.keys(filters).forEach(key => {
...
@@ -41,4 +41,5 @@ Object.keys(filters).forEach(key => {
start
()
start
()
export
{
bootstrap
,
mount
,
unmount
}
from
'@/setup'
export
{
bootstrap
,
mount
,
unmount
}
from
'@/setup'
export
const
http
=
params
=>
Vue
.
prototype
.
$http
(
params
)
export
const
http
=
params
=>
Vue
.
prototype
.
$http
(
params
)
export
const
http2
=
params
=>
Vue
.
prototype
.
$http2
(
params
)
export
const
http_common
=
params
=>
Vue
.
prototype
.
$http_common
(
params
)
export
const
http_common
=
params
=>
Vue
.
prototype
.
$http_common
(
params
)
src/setup/qiankun.js
View file @
cec4a6b
...
@@ -13,12 +13,14 @@ let routes = []
...
@@ -13,12 +13,14 @@ 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
,
sign_common
,
request_common
}
=
await
fetchConfig
(
globalState
.
configSwitch
)
//globalState.configSwitch
const
{
response
,
request
,
request2
,
sign
,
secret
,
sign_common
,
request_common
}
=
await
fetchConfig
(
globalState
.
configSwitch
)
//globalState.configSwitch
console
.
log
(
'kk'
,
request2
)
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
:
message
.
error
,
headers
:
{
token
:
globalState
.
session
.
token
}
})
Vue
.
prototype
.
$http
=
new
common
.
Http
({
response
,
request
,
sign
,
secret
,
alert
:
message
.
error
,
headers
:
{
token
:
globalState
.
session
.
token
}
})
Vue
.
prototype
.
$http2
=
new
common
.
Http
({
response
,
request
:
request2
,
sign
,
secret
,
alert
:
message
.
error
,
headers
:
{
token
:
globalState
.
session
.
token
}
})
// Vue.prototype.$http = new common.Http({ response, request, sign, secret, alert: message.error, headers: { token: "mini-14eda653-4284-4165-bb85-325bb82a516d-rop" } })
// Vue.prototype.$http = new common.Http({ response, request, sign, secret, alert: message.error, headers: { token: "mini-14eda653-4284-4165-bb85-325bb82a516d-rop" } })
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
}
})
// Vue.prototype.$setGlobalState = globalState.actions.setGlobalState
// Vue.prototype.$setGlobalState = globalState.actions.setGlobalState
...
...
src/views/clientGroupManage/index.vue
View file @
cec4a6b
...
@@ -191,7 +191,7 @@ export default {
...
@@ -191,7 +191,7 @@ export default {
this
.
$message
.
closeAll
()
this
.
$message
.
closeAll
()
},
},
mounted
()
{
mounted
()
{
this
.
wxTips
()
// this.wxTips() //新测试不掉
},
},
methods
:
{
methods
:
{
jumpWx
()
{
jumpWx
()
{
...
...
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