Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
member
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
member
member
Commits
ef22be69
Commit
ef22be69
authored
Jul 03, 2019
by
member
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
窜号提示
parent
87a689ea
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
62 additions
and
87 deletions
+62
-87
index.html
dist/index.html
+2
-2
app.1f36fb630d2a7a9bb705.js
dist/static/js/app.1f36fb630d2a7a9bb705.js
+0
-2
app.bde787b4661b8c5e1fca.js
dist/static/js/app.bde787b4661b8c5e1fca.js
+2
-0
App.vue
src/App.vue
+52
-1
permission.js
src/permission.js
+0
-80
api.js
src/request/api.js
+0
-0
http.js
src/request/http.js
+1
-1
store.js
src/store/store.js
+5
-1
No files found.
dist/index.html
View file @
ef22be69
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><link
rel=
"shortcut icon"
href=
./static/img/favicon.ico
><script
src=
//web-1251519181.cos.ap-shanghai.myqcloud.com/lib/vue/2.5.5/vue.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/lodash.min.js
></script><title>
memberproject
</title><link
href=
./static/css/app.77319871a0b6bf89744d8a781e02a7cd.css
rel=
stylesheet
></head><body><div
id=
app
></div><script
src=
//web-1251519181.cos.ap-shanghai.myqcloud.com/lib/elementUI/index.2.5.4.js
></script><script
src=
//web-1251519181.cos.ap-shanghai.myqcloud.com/components/header.2.0.20.js
></script><script
src=
//web-1251519181.cos.ap-shanghai.myqcloud.com/components/people.2.0.26.js
></script><script
src=
//web-1251519181.cos.ap-shanghai.myqcloud.com/components/aside-menu.2.0.05.js
></script><script
src=
//web-1251519181.cos.ap-shanghai.myqcloud.com/components/footer.2.0.02.js
></script><script
src=
//web-1251519181.cos.ap-shanghai.myqcloud.com/components/store.2.0.00.js
></script><script
src=
//web-1251519181.cos.ap-shanghai.myqcloud.com/components/card.2.0.01.js
></script><script
src=
//web-1251519181.cos.ap-shanghai.myqcloud.com/components/selector.1.1.33.js
></script><script
type=
text/javascript
src=
./static/js/manifest.d7175b8eb5741b6ef03b.js
></script><script
type=
text/javascript
src=
./static/js/vendor.e716eaf003d24c302a8a.js
></script><script
type=
text/javascript
src=
./static/js/app.1f36fb630d2a7a9bb705.js
></script></body></html>
\ No newline at end of file
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><link
rel=
"shortcut icon"
href=
./static/img/favicon.ico
><script
src=
//web-1251519181.cos.ap-shanghai.myqcloud.com/lib/vue/2.5.5/vue.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/lodash.min.js
></script><title>
memberproject
</title><link
href=
./static/css/app.77319871a0b6bf89744d8a781e02a7cd.css
rel=
stylesheet
></head><body><div
id=
app
></div><script
src=
//web-1251519181.cos.ap-shanghai.myqcloud.com/lib/elementUI/index.2.5.4.js
></script><script
src=
//web-1251519181.cos.ap-shanghai.myqcloud.com/components/header.2.0.20.js
></script><script
src=
//web-1251519181.cos.ap-shanghai.myqcloud.com/components/people.2.0.26.js
></script><script
src=
//web-1251519181.cos.ap-shanghai.myqcloud.com/components/aside-menu.2.0.05.js
></script><script
src=
//web-1251519181.cos.ap-shanghai.myqcloud.com/components/footer.2.0.02.js
></script><script
src=
//web-1251519181.cos.ap-shanghai.myqcloud.com/components/store.2.0.00.js
></script><script
src=
//web-1251519181.cos.ap-shanghai.myqcloud.com/components/card.2.0.01.js
></script><script
src=
//web-1251519181.cos.ap-shanghai.myqcloud.com/components/selector.1.1.33.js
></script><script
type=
text/javascript
src=
./static/js/manifest.d7175b8eb5741b6ef03b.js
></script><script
type=
text/javascript
src=
./static/js/vendor.e716eaf003d24c302a8a.js
></script><script
type=
text/javascript
src=
./static/js/app.bde787b4661b8c5e1fca.js
></script></body></html>
\ No newline at end of file
dist/static/js/app.1f36fb630d2a7a9bb705.js
deleted
100644 → 0
View file @
87a689ea
webpackJsonp
([
35
],{
"+vdD"
:
function
(
e
,
t
,
r
){
"use strict"
;
var
a
=
r
(
"AKaA"
),
n
=
r
(
"NTL1"
),
m
=
r
(
"8V46"
),
o
=
{
props
:{
memberType
:{
type
:
Number
,
required
:
!
0
}},
data
:
function
(){
return
{
wxMember
:
0
,
posMember
:
0
,
ecommerceMember
:
0
,
ecommerceBuyer
:
0
}},
methods
:{
getMemberCount
:
function
(){
var
e
=
this
;
Object
(
a
.
a
)(
n
.
a
.
memberCount
).
then
(
function
(
t
){
if
(
0
===
t
.
data
.
errorCode
){
var
r
=
t
.
data
.
result
;
e
.
wxMember
=
r
.
wxMember
,
微信会员
,
e
.
posMember
=
r
.
posMember
,
pos
会员
,
e
.
ecommerceMember
=
r
.
ecommerceMember
,
电商会员
,
e
.
ecommerceBuyer
=
r
.
ecommerceBuyer
,
电商买家
}
else
Object
(
m
.
a
)(
t
.
data
.
message
)}).
catch
(
function
(
e
){
Object
(
m
.
b
)(
e
)})}},
created
:
function
(){
this
.
getMemberCount
()}},
i
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
r
=
e
.
_self
.
_c
||
t
;
return
r
(
"div"
,{
staticClass
:
"memebr-count"
},[
1
==
e
.
memberType
?
r
(
"span"
,[
e
.
_v
(
"会员共"
+
e
.
_s
(
e
.
wxMember
)
+
"人"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
2
==
e
.
memberType
?
r
(
"span"
,[
e
.
_v
(
"会员共"
+
e
.
_s
(
e
.
posMember
)
+
"人"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
3
==
e
.
memberType
?
r
(
"span"
,[
e
.
_v
(
"会员共"
+
e
.
_s
(
e
.
ecommerceMember
)
+
"人"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
4
==
e
.
memberType
?
r
(
"span"
,[
e
.
_v
(
"会员共"
+
e
.
_s
(
e
.
ecommerceBuyer
)
+
"人"
)]):
e
.
_e
()])},
staticRenderFns
:[]};
var
s
=
r
(
"VU/8"
)(
o
,
i
,
!
1
,
function
(
e
){
r
(
"5fFz"
)},
null
,
null
);
t
.
a
=
s
.
exports
},
"5fFz"
:
function
(
e
,
t
){},
"5reh"
:
function
(
e
,
t
,
r
){
"use strict"
;
r
.
d
(
t
,
"a"
,
function
(){
return
a
});
console
.
log
,
console
.
log
;
var
a
=
"title"
},
"8V46"
:
function
(
e
,
t
,
r
){
"use strict"
;
t
.
a
=
function
(
e
){
if
(
e
)
return
a
.
Message
.
warning
(
e
),
!
1
;
a
.
Message
.
warning
(
"操作失败"
);
return
!
1
},
t
.
c
=
function
(
e
){
e
?
a
.
Message
.
success
(
e
):
a
.
Message
.
success
(
"操作成功"
)},
t
.
b
=
function
(
e
){
if
(
"cancel"
==
e
)
return
a
.
Message
.
info
(
e
||
"取消"
),
!
1
;
if
(
!
e
.
hasOwnProperty
(
"response"
))
return
a
.
Message
.
error
(
e
),
!
1
;
if
(
401
==
e
.
response
.
status
)
return
a
.
Message
.
error
(
"登录过期"
),
!
1
;
if
(
500
==
e
.
response
.
status
)
return
a
.
Message
.
error
(
"服务器错误500"
),
!
1
};
var
a
=
r
(
"zL8q"
);
r
.
n
(
a
)},
"90WG"
:
function
(
e
,
t
){},
AKaA
:
function
(
e
,
t
,
r
){
"use strict"
;
var
a
=
r
(
"//Fk"
),
n
=
r
.
n
(
a
),
m
=
r
(
"mtWM"
),
o
=
r
.
n
(
m
),
i
=
r
(
"mw3O"
),
s
=
r
.
n
(
i
);
t
.
a
=
function
(
e
,
t
){
return
function
(
e
,
t
){
return
new
n
.
a
(
function
(
r
,
a
){
o
.
a
.
post
(
e
,
t
).
then
(
function
(
e
){
r
(
e
)}).
catch
(
function
(
e
){
a
(
e
)})})}(
e
+
"?requestProject=member"
,
t
)},
t
.
b
=
function
(
e
,
t
){
return
function
(
e
,
t
){
return
new
n
.
a
(
function
(
r
,
a
){
o
.
a
.
post
(
e
,
s
.
a
.
stringify
(
t
)).
then
(
function
(
e
){
r
(
e
)}).
catch
(
function
(
e
){
a
(
e
)})})}(
e
+
"?requestProject=member"
,
t
)}},
NHnr
:
function
(
e
,
t
,
r
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
{};
r
.
d
(
a
,
"formatTime"
,
function
(){
return
V
}),
r
.
d
(
a
,
"fomatNumber"
,
function
(){
return
$
}),
r
.
d
(
a
,
"fomatText"
,
function
(){
return
E
}),
r
.
d
(
a
,
"formatYMD"
,
function
(){
return
z
}),
r
.
d
(
a
,
"fomatFloat"
,
function
(){
return
B
}),
r
.
d
(
a
,
"defaultImg"
,
function
(){
return
G
});
var
n
=
r
(
"fZjL"
),
m
=
r
.
n
(
n
),
o
=
r
(
"//Fk"
),
i
=
r
.
n
(
o
),
s
=
r
(
"lRwf"
),
c
=
r
.
n
(
s
),
u
=
{
render
:
function
(){
var
e
=
this
.
$createElement
,
t
=
this
.
_self
.
_c
||
e
;
return
t
(
"div"
,{
attrs
:{
id
:
"app"
}},[
t
(
"router-view"
)],
1
)},
staticRenderFns
:[]},
l
=
r
(
"VU/8"
)({
name
:
"App"
},
u
,
!
1
,
null
,
null
,
null
).
exports
,
p
=
r
(
"pRNm"
),
b
=
r
.
n
(
p
);
function
d
(
e
,
t
){
return
function
(
a
){
r
(
"mUJ2"
)(
"./"
+
e
+
"/"
+
t
+
".vue"
).
then
(
function
(
e
){
a
(
e
)})}}
var
h
=
r
(
"AKaA"
),
f
=
r
(
"NTL1"
),
g
=
r
(
"+vdD"
),
v
=
{
name
:
"AppMain"
,
props
:{
collapseFlag
:{
type
:
Boolean
,
default
:
!
1
}},
data
:
function
(){
return
{
bodyHeight
:
document
.
body
.
clientHeight
||
document
.
documentElement
.
clientHeight
,
leftModulesName
:
"会员标签"
,
projectName
:
"member"
}},
computed
:{
key
:
function
(){
return
this
.
$route
.
fullPath
}},
mounted
:
function
(){
var
e
=
this
;
window
.
onresize
=
function
(){
e
.
bodyHeight
=
document
.
body
.
clientHeight
||
document
.
documentElement
.
clientHeight
}},
components
:{
Navbar
:
g
.
a
}},
w
=
{
render
:
function
(){
var
e
=
this
.
$createElement
,
t
=
this
.
_self
.
_c
||
e
;
return
t
(
"div"
,[
t
(
"div"
,{
staticClass
:
"app-main"
},[
t
(
"div"
,{
staticClass
:
"achievementwrap-left content-wrap"
,
style
:{
height
:
this
.
bodyHeight
-
64
+
"px"
}},[
t
(
"vue-gic-aside-menu"
,{
attrs
:{
projectName
:
this
.
projectName
,
leftModulesName
:
this
.
leftModulesName
,
collapseFlag
:
this
.
collapseFlag
}})],
1
),
this
.
_v
(
" "
),
t
(
"router-view"
)],
1
)])},
staticRenderFns
:[]};
var
M
=
{
name
:
"layout"
,
data
:
function
(){
return
{
collapseFlag
:
!
1
,
menuRouter
:[],
bodyHeight
:
document
.
body
.
clientHeight
||
document
.
documentElement
.
clientHeight
,
leftModulesName
:
"会员"
,
projectName
:
"member"
}},
computed
:{
slideShow
:
function
(){
return
this
.
$store
.
state
.
slideShow
}},
methods
:{
toRouterView
:
function
(
e
){
this
.
$router
.
push
({
path
:
e
.
path
})},
getClerkMenu
:
function
(){
var
e
=
this
;
Object
(
h
.
a
)(
f
.
a
.
clerkMenu
,{
project
:
"gic-web"
}).
then
(
function
(
t
){
e
.
menuRouter
=
t
.
data
.
result
}).
catch
(
function
(
e
){})},
collapseTag
:
function
(
e
){
this
.
collapseFlag
=!
this
.
collapseFlag
}},
created
:
function
(){
var
e
=
this
;
this
.
getClerkMenu
(),
window
.
onresize
=
function
(){
e
.
bodyHeight
=
document
.
body
.
clientHeight
||
document
.
documentElement
.
clientHeight
}},
components
:{
AppMain
:
r
(
"VU/8"
)(
v
,
w
,
!
1
,
function
(
e
){
r
(
"90WG"
)},
"data-v-d439bd98"
,
null
).
exports
}},
y
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
r
=
e
.
_self
.
_c
||
t
;
return
r
(
"div"
,[
r
(
"vue-gic-header"
,{
attrs
:{
projectName
:
e
.
projectName
},
on
:{
collapseTag
:
e
.
collapseTag
,
toRouterView
:
e
.
toRouterView
}}),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"layout"
,
style
:{
height
:
e
.
bodyHeight
-
64
+
"px"
}},[
r
(
"div"
,{
staticClass
:
"app-main"
},[
r
(
"div"
,{
staticClass
:
"rou-container"
},[
e
.
slideShow
?
r
(
"div"
,{
staticClass
:
"achievementwrap-left content-wrap"
,
style
:{
height
:
e
.
bodyHeight
-
64
+
"px"
}},[
r
(
"vue-gic-aside-menu"
,{
attrs
:{
projectName
:
e
.
projectName
,
leftModulesName
:
e
.
leftModulesName
,
collapseFlag
:
e
.
collapseFlag
}})],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"right-maincontainer"
},[
r
(
"keep-alive"
,[
e
.
$route
.
meta
.
keepAlive
?
r
(
"router-view"
):
e
.
_e
()],
1
),
e
.
_v
(
" "
),
e
.
$route
.
meta
.
keepAlive
?
e
.
_e
():
r
(
"router-view"
)],
1
)])])])],
1
)},
staticRenderFns
:[]};
var
x
=
r
(
"VU/8"
)(
M
,
y
,
!
1
,
function
(
e
){
r
(
"vH5w"
)},
null
,
null
).
exports
;
c
.
a
.
use
(
b
.
a
);
var
_
,
k
=
[{
path
:
"/login"
,
component
:
function
(){
return
r
.
e
(
4
).
then
(
r
.
bind
(
null
,
"6Qob"
))},
name
:
"login"
},{
path
:
"/404"
,
component
:
function
(){
return
r
.
e
(
9
).
then
(
r
.
bind
(
null
,
"PRsh"
))},
name
:
"error404"
},{
path
:
"/403"
,
component
:
function
(){
return
r
.
e
(
7
).
then
(
r
.
bind
(
null
,
"aM+6"
))},
name
:
"error403"
},{
path
:
"/500"
,
component
:
function
(){
return
r
.
e
(
5
).
then
(
r
.
bind
(
null
,
"/HCr"
))},
name
:
"error500"
},{
path
:
"/selector"
,
component
:
function
(){
return
r
.
e
(
25
).
then
(
r
.
bind
(
null
,
"miwu"
))},
name
:
"selector"
},{
path
:
"/linktool"
,
component
:
function
(){
return
Promise
.
all
([
r
.
e
(
0
),
r
.
e
(
1
)]).
then
(
r
.
bind
(
null
,
"9w7A"
))},
name
:
"linktools"
},{
path
:
"/"
,
name
:
"Layout"
,
redirect
:
"/wechattotal"
,
component
:
x
,
children
:[{
path
:
"/wechatmembers"
,
component
:
d
(
"wechatmembers"
,
"wechatmembers"
),
meta
:{
title
:
"微信会员"
,
keepAlive
:
!
0
}},{
path
:
"/wechattotal"
,
component
:
d
(
"wechatmembers"
,
"wechat-total"
),
meta
:{
title
:
"微信总量"
,
keepAlive
:
!
0
}},{
path
:
"/talkLogPage"
,
component
:
d
(
"wechatmembers"
,
"talkLogPage"
),
meta
:{
title
:
"微信会员-通话记录"
}},{
path
:
"/infoMall"
,
component
:
d
(
"wechatmembers"
,
"infoMall"
),
meta
:{
title
:
"微信会员-微信商城消费"
}},{
path
:
"/posmembers"
,
component
:
d
(
"posmembers"
,
"posmembers"
),
meta
:{
title
:
"pos会员"
,
keepAlive
:
!
0
}},{
path
:
"/onlinemembers"
,
component
:
d
(
"onlinemembers"
,
"onlinemembers"
),
meta
:{
title
:
"电商会员"
}},{
path
:
"/buyermembers"
,
component
:
d
(
"buyermembers"
,
"buyermembers"
),
meta
:{
title
:
"电商买家"
}},{
path
:
"/frozenList"
,
component
:
d
(
"wechatmembers"
,
"frozenList"
),
meta
:{
title
:
"冻结会员列表"
}},{
path
:
"/frozenList/frozenMember"
,
component
:
d
(
"wechatmembers"
,
"frozenMember"
),
meta
:{
title
:
"冻结会员"
}},{
path
:
"/wechatmembers/memberSetting"
,
component
:
d
(
"wechatmembers"
,
"memberSetting"
),
meta
:{
title
:
"微信会员-设置"
}},{
path
:
"/labelmanager"
,
component
:
d
(
"labelmanager"
,
"labelmanager"
),
meta
:{
title
:
"会员标签"
}},{
path
:
"/achievement"
,
component
:
d
(
"achievement"
,
"achievement_sale"
),
meta
:{
title
:
"会员成就-消费类"
}},{
path
:
"/achievement_interaction"
,
component
:
d
(
"achievement"
,
"achievement_interaction"
),
meta
:{
title
:
"会员成就-互动类"
}},{
path
:
"/memberReturn"
,
component
:
d
(
"memberlist"
,
"memberReturn"
),
meta
:{
title
:
"微信会员回收站"
}},{
path
:
"/posRecycle"
,
component
:
d
(
"memberlist"
,
"pos-recycle"
),
meta
:{
title
:
"POS会员回收站"
}},{
path
:
"/membergroupAdd"
,
component
:
d
(
"membergroup"
,
"membergroupAdd"
),
meta
:{
title
:
"会员分组-新增"
}},{
path
:
"/membergroup"
,
component
:
d
(
"membergroup"
,
"membergroup"
),
meta
:{
title
:
"会员分组"
}},{
path
:
"/cardvoucher"
,
component
:
d
(
"wechatmembers"
,
"cardvoucher"
),
meta
:{
title
:
"微信会员-卡券"
}},{
path
:
"/membergroupDetail"
,
component
:
d
(
"membergroup"
,
"membergroupDetail"
),
meta
:{
title
:
"会员分组-详情"
}},{
path
:
"/membertask"
,
component
:
d
(
"membertask"
,
"membertask"
),
meta
:{
title
:
"会员任务"
}},{
path
:
"/posmemberDetail"
,
component
:
d
(
"posmembers"
,
"posmemberDetail"
),
meta
:{
title
:
"pos会员-详情"
}},{
path
:
"/wechatmemberDetail"
,
component
:
d
(
"wechatmembers"
,
"wechatmemberDetail"
),
meta
:{
title
:
"微信会员-详情"
}},{
path
:
"/wechatTotalDetail"
,
component
:
d
(
"wechatmembers"
,
"wechatTotalDetail"
),
meta
:{
title
:
"微信总量-详情"
}},{
path
:
"/integralDataPage"
,
component
:
d
(
"wechatmembers"
,
"integralDataPage"
),
meta
:{
title
:
"微信会员-积分明细"
}},{
path
:
"/modifyintegral"
,
component
:
d
(
"wechatmembers"
,
"modifyintegral"
),
meta
:{
title
:
"微信会员-积分调整"
}},{
path
:
"/ajaxmembersinfo"
,
component
:
d
(
"wechatmembers"
,
"ajaxmembersinfo"
),
meta
:{
title
:
"微信会员-会员门店消费"
}}]}],
C
=
new
b
.
a
({
scrollBehavior
:
function
(){
return
{
y
:
0
}},
routes
:
k
}),
F
=
r
(
"mtWM"
),
D
=
r
.
n
(
F
),
S
=
r
(
"bOdI"
),
j
=
r
.
n
(
S
),
P
=
r
(
"SJI6"
),
N
=
r
.
n
(
P
),
T
=
r
(
"5reh"
);
c
.
a
.
use
(
N
.
a
);
var
H
=
new
N
.
a
.
Store
({
state
:{
title
:
""
,
isShowFoot
:
!
0
,
slideShow
:
!
1
,
forzenList
:
!
1
,
storeImageUrl
:
""
},
mutations
:(
_
=
{},
j
()(
_
,
T
.
a
,
function
(
e
,
t
){
e
.
title
=
t
}),
j
()(
_
,
"isShowFoot"
,
function
(
e
,
t
){
e
.
showfoot
=
t
}),
j
()(
_
,
"mutations-slide"
,
function
(
e
,
t
){
e
.
slideShow
=
t
}),
j
()(
_
,
"forzen-list"
,
function
(
e
,
t
){
e
.
forzenList
=
t
}),
j
()(
_
,
"saveStoreImage"
,
function
(
e
,
t
){
e
.
storeImageUrl
=
t
}),
_
),
actions
:{
getStorePicture
:
function
(
e
){
var
t
=
e
.
commit
;
Object
(
h
.
a
)(
f
.
a
.
getStorePicture
).
then
(
function
(
e
){
var
r
=
void
0
;
0
===
e
.
data
.
errorCode
&&
(
r
=
e
.
data
.
result
,
t
(
"saveStoreImage"
,
r
.
enterpriseInfo
.
enterpriseUrl
))})}}}),
I
=
(
r
(
"bZki"
),
r
(
"X2dH"
),
r
(
"uKUT"
),{
name
:
"gicinput"
,
data
:
function
(){
return
{
curcount
:
0
,
curfocus
:
!
1
}},
props
:[
"value"
,
"max"
,
"placeholder"
,
"rules"
,
"changeBColor"
],
watch
:{
value
:
function
(
e
,
t
){
var
r
=
0
,
a
=
this
.
max
;
if
(
e
)
for
(
var
n
=
0
;
n
<
e
.
length
&&
(
null
!=
e
[
n
].
match
(
/
[^\x
00-
\x
ff
]
/gi
)?
r
+=
1
:
r
+=
.
5
,
!
(
r
>
a
));
n
++
)
this
.
curcount
=
Math
.
floor
(
r
);
else
this
.
curcount
=
0
}},
mounted
:
function
(){
var
e
=
0
,
t
=
this
.
max
;
if
(
this
.
value
)
for
(
var
r
=
0
;
r
<
this
.
value
.
length
&&
(
null
!=
this
.
value
[
r
].
match
(
/
[^\x
00-
\x
ff
]
/gi
)?
e
+=
1
:
e
+=
.
5
,
!
(
e
>
t
));
r
++
)
this
.
curcount
=
Math
.
floor
(
e
);
else
this
.
curcount
=
0
},
methods
:{
handleFocus
:
function
(
e
){
this
.
curfocus
=
e
},
update
:
function
(
e
){
this
.
$emit
(
"input"
,
e
)},
handleKeyup
:
function
(
e
){
var
t
=
""
,
r
=
0
,
a
=
this
.
max
;
if
(
e
)
for
(
var
n
=
0
;
n
<
e
.
length
&&
(
null
!=
e
[
n
].
match
(
/
[^\x
00-
\x
ff
]
/gi
)?
r
+=
1
:
r
+=
.
5
,
!
(
r
>
a
));
n
++
)
t
+=
e
[
n
],
this
.
curcount
=
Math
.
floor
(
r
),
this
.
$emit
(
"input"
,
t
);
else
this
.
curcount
=
0
,
this
.
$emit
(
"input"
,
t
)}}}),
L
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
r
=
e
.
_self
.
_c
||
t
;
return
r
(
"div"
,[
r
(
"div"
,{
staticClass
:
"gic-form-item"
,
class
:{
curfocus
:
e
.
curfocus
,
"gic-input"
:
e
.
changeBColor
}},[
r
(
"div"
,{
staticClass
:
"gic-form-wrap"
},[
r
(
"input"
,{
ref
:
"input"
,
staticClass
:
"gic-form-input"
,
attrs
:{
type
:
"text"
,
max
:
e
.
max
,
placeholder
:
e
.
placeholder
},
domProps
:{
value
:
e
.
value
},
on
:{
keyup
:
function
(
t
){
return
e
.
handleKeyup
(
t
.
target
.
value
)},
input
:
function
(
t
){
return
e
.
update
(
t
.
target
.
value
)},
focus
:
function
(
t
){
return
e
.
handleFocus
(
!
0
)},
blur
:
function
(
t
){
return
e
.
handleFocus
(
!
1
)}}})]),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"gic-form-count"
},[
e
.
_v
(
" "
+
e
.
_s
(
e
.
curcount
)
+
"/"
+
e
.
_s
(
e
.
max
))])])])},
staticRenderFns
:[]};
var
R
=
r
(
"VU/8"
)(
I
,
L
,
!
1
,
function
(
e
){
r
(
"apPN"
)},
"data-v-c72c6a50"
,
null
).
exports
,
U
=
{
name
:
"gicinput"
,
data
:
function
(){
return
{
curcount
:
0
,
curfocus
:
!
1
,
curValue
:
""
,
avalue
:
""
}},
props
:[
"value"
,
"max"
,
"placeholder"
],
watch
:{
value
:
function
(
e
,
t
){
var
r
=
0
,
a
=
this
.
max
;
if
(
e
)
for
(
var
n
=
0
;
n
<
e
.
length
&&
(
null
!=
e
[
n
].
match
(
/
[^\x
00-
\x
ff
]
/gi
)?
r
+=
1
:
r
+=
.
5
,
!
(
r
>
a
));
n
++
)
this
.
curcount
=
Math
.
floor
(
r
);
else
this
.
curcount
=
0
}},
mounted
:
function
(){
var
e
=
0
,
t
=
this
.
max
;
if
(
this
.
value
)
for
(
var
r
=
0
;
r
<
this
.
value
.
length
&&
(
null
!=
this
.
value
[
r
].
match
(
/
[^\x
00-
\x
ff
]
/gi
)?
e
+=
1
:
e
+=
.
5
,
!
(
e
>
t
));
r
++
)
this
.
curcount
=
Math
.
floor
(
e
);
else
this
.
curcount
=
0
},
methods
:{
handleFocus
:
function
(
e
){
this
.
curfocus
=
e
},
update
:
function
(
e
){
this
.
$emit
(
"input"
,
e
)},
handleKeyup
:
function
(
e
){
var
t
=
""
,
r
=
0
,
a
=
this
.
max
;
if
(
e
)
for
(
var
n
=
0
;
n
<
e
.
length
&&
(
null
!=
e
[
n
].
match
(
/
[^\x
00-
\x
ff
]
/gi
)?
r
+=
1
:
r
+=
.
5
,
!
(
r
>
a
));
n
++
)
t
+=
e
[
n
],
this
.
curcount
=
Math
.
floor
(
r
),
this
.
$emit
(
"input"
,
t
);
else
this
.
curcount
=
0
,
this
.
$emit
(
"input"
,
t
)}}},
O
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
r
=
e
.
_self
.
_c
||
t
;
return
r
(
"div"
,[
r
(
"div"
,{
staticClass
:
"gic-formarea-item"
,
class
:{
curfocus
:
e
.
curfocus
}},[
r
(
"div"
,{
staticClass
:
"gic-formarea-wrap"
},[
r
(
"textarea"
,{
ref
:
"input"
,
staticClass
:
"gic-form-area"
,
attrs
:{
max
:
e
.
max
,
placeholder
:
e
.
placeholder
},
domProps
:{
value
:
e
.
value
},
on
:{
keyup
:
function
(
t
){
return
e
.
handleKeyup
(
t
.
target
.
value
)},
input
:
function
(
t
){
return
e
.
update
(
t
.
target
.
value
)},
focus
:
function
(
t
){
return
e
.
handleFocus
(
!
0
)},
blur
:
function
(
t
){
return
e
.
handleFocus
(
!
1
)}}})])]),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"gic-formarea-count"
},[
e
.
_v
(
" "
+
e
.
_s
(
e
.
curcount
)
+
"/"
+
e
.
_s
(
e
.
max
))])])},
staticRenderFns
:[]};
var
A
=
r
(
"VU/8"
)(
U
,
O
,
!
1
,
function
(
e
){
r
(
"Vp7a"
)},
"data-v-766b4418"
,
null
).
exports
,
V
=
(
r
(
"briU"
),
function
(
e
){
if
(
e
){
var
t
=
new
Date
(
e
);
return
t
.
getFullYear
()
+
"-"
+
((
t
.
getMonth
()
+
1
<
10
?
"0"
+
(
t
.
getMonth
()
+
1
):
t
.
getMonth
()
+
1
)
+
"-"
)
+
((
t
.
getDate
()
<
10
?
"0"
+
t
.
getDate
():
t
.
getDate
())
+
" "
)
+
((
t
.
getHours
()
<
10
?
"0"
+
t
.
getHours
():
t
.
getHours
())
+
":"
)
+
((
t
.
getMinutes
()
<
10
?
"0"
+
t
.
getMinutes
():
t
.
getMinutes
())
+
":"
)
+
(
t
.
getSeconds
()
<
10
?
"0"
+
t
.
getSeconds
():
t
.
getSeconds
())}
return
"--"
}),
z
=
function
(
e
){
if
(
e
){
var
t
=
new
Date
(
e
);
return
t
.
getFullYear
()
+
"-"
+
((
t
.
getMonth
()
+
1
<
10
?
"0"
+
(
t
.
getMonth
()
+
1
):
t
.
getMonth
()
+
1
)
+
"-"
)
+
(
t
.
getDate
()
<
10
?
"0"
+
t
.
getDate
():
t
.
getDate
())}
return
"--"
},
$
=
function
(
e
){
return
e
||
0
},
E
=
function
(
e
){
return
e
||
"--"
},
B
=
function
(
e
){
return
e
||
0
==
e
?
parseFloat
(
e
).
toFixed
(
2
):
"--"
},
G
=
function
(
e
){
if
(
!
e
)
return
"./static/img/default.png"
};
c
.
a
.
config
.
productionTip
=!
1
,
c
.
a
.
config
.
devtools
=!
0
,
D
.
a
.
defaults
.
withCredentials
=!
0
,
c
.
a
.
prototype
.
axios
=
D
.
a
,
c
.
a
.
component
(
"gic-textarea"
,
A
),
c
.
a
.
component
(
"gic-input"
,
R
),
D
.
a
.
interceptors
.
request
.
use
(
function
(
e
){
return
!
e
.
headers
.
sign
&&
localStorage
.
getItem
(
"signId"
)
&&
(
e
.
headers
.
sign
=
localStorage
.
getItem
(
"signId"
)),
e
},
function
(
e
){
return
i
.
a
.
reject
(
e
)}),
D
.
a
.
interceptors
.
response
.
use
(
function
(
e
){
switch
(
e
.
data
.
errorCode
){
case
0
:
if
(
e
.
data
.
result
&&
e
.
data
.
result
.
enterpriseId
){
var
t
=
e
.
data
.
result
.
enterpriseId
;
localStorage
.
setItem
(
"signId"
,
t
)}
break
;
case
401
:
var
r
=
window
.
location
.
origin
;
window
.
location
.
href
=
r
.
indexOf
(
"localhost"
)
>-
1
?
"http://localhost:8002/#/login"
:
r
+
"/gic-web/#/"
}
return
e
},
function
(
e
){
return
i
.
a
.
reject
(
e
)}),
m
()(
a
).
forEach
(
function
(
e
){
c
.
a
.
filter
(
e
,
a
[
e
])}),
new
c
.
a
({
el
:
"#app"
,
router
:
C
,
store
:
H
,
components
:{
App
:
l
},
template
:
"<App/>"
})},
NTL1
:
function
(
e
,
t
,
r
){
"use strict"
;
var
a
=
r
(
"woOf"
),
n
=
r
.
n
(
a
),
m
=
window
.
location
.
origin
,
o
=
m
.
indexOf
(
"localhost"
)
>-
1
?
"http://gicdev.demogic.com"
:
m
,
i
=
n
()({},{
doLogin
:
"/api-auth/dologin"
,
enterprise
:
"/api-auth/list-login-enterprise"
,
clerkMenu
:
"/api-auth/login-clerk-menu"
,
tagManageList
:
"/api-member/tag-manage-list"
,
insertParentTag
:
"/api-member/insert-parent-tag"
,
insertSonTag
:
"/api-member/insert-son-tag"
,
deleteParentTag
:
"/api-member/delete-parent-tag"
,
deleteSonTag
:
"/api-member/delete-son-tag"
,
memberMissionList
:
"/api-member/member-mission-list"
,
memberMissionUpdate
:
"/api-member/member-mission-update"
,
memberMissionOpen
:
"/api-member/member-mission-open"
,
achievementList
:
"/api-member/achievement-list"
,
achievementUpdate
:
"/api-member/achievement-update"
,
achievementOpen
:
"/api-member/achievement-open"
,
findMemberGroups
:
"/api-member/find-member-groups-page"
,
insertMemberGroup
:
"/api-member/insert-member-group"
,
updateMemberGroup
:
"/api-member/update-member-group"
,
checkCard
:
"/api-member/member-card-write-off-order-page"
,
chooseDestory
:
"/api-member/member-card-destroy"
,
ajaxMembers
:
"/api-member/ajax-members"
,
deteleMemberGroup
:
"/api-member/detele-member-group"
,
findMemberGroupInfo
:
"/api-member/find-member-group-info"
,
findMemberFields
:
"/api-member/find-member-fields"
,
updateFields
:
"/api-member/update-fields"
,
memberCount
:
"/api-member/ecommerce-member-count"
,
updateIntegrals
:
"/api-member/members-batch-update-integrals"
,
storeCodeName
:
"/api-plug/query-store-by-code-name"
,
gradeList
:
"/api-admin/grade-list"
,
updateGrade
:
"/api-member/members-batch-update-grade"
,
updateStore
:
"/api-member/members-batch-update-store"
,
batchProcess
:
"/api-member/get-members-batch-process"
,
membersSubStoreList
:
"/api-member/members-sub-store-list"
,
singleInfo
:
"/api-member/load-member-single-info"
,
memberCardsPage
:
"/api-member/member-cards-page"
,
writeOff
:
"/api-member/member-card-write-off"
,
cardDestroy
:
"/api-member/member-card-destroy"
,
cardChannelType
:
"/api-member/card-channel-type"
,
memberDetail
:
"/api-member/member-load-member-detail"
,
baseDetail
:
"/api-member/member-load-base-detail"
,
addressPage
:
"/api-member/member-load-receiving-address-page"
,
extendInfo
:
"/api-member/member-load-extend-info"
,
logPage
:
"/api-member/member-load-operate-log-page"
,
memberGrade
:
"/api-member/member-load-update-member-grade"
,
updateBaseDetail
:
"/api-member/member-load-update-base-detail"
,
updateImgUrl
:
"/api-member/member-load-update-imgUrl"
,
ajaxMembersInfo
:
"/api-member/ajax-members-info"
,
memberOrderPage
:
"/api-member/member-order-page"
,
orderDetail
:
"/api-member/member-order-detail"
,
infoMall
:
"/api-member/ajax-members-info-mall"
,
ajaxWechatMembers
:
"/api-member/ajaxMembers"
,
talkLogPage
:
"/api-member/member-talk-log-page"
,
clerkTags
:
"/api-member/member-load-find-clerk-tags"
,
updateClerkTags
:
"/api-member/member-load-update-clerk-tags"
,
codeList
:
"/api-member/get-naction-code-list"
,
updateRemark
:
"/api-member/member-load-update-remark"
,
integralDataPage
:
"/api-member/member-integral-data-page"
,
integralOperateType
:
"/api-member/member-integral-operate-type"
,
memberIntegralUpdate
:
"/api-member/member-integral-update"
,
enterpriseInfo
:
"/api-member/enterprise-info"
,
posInfo
:
"/api-member/member-load-member-pos-info"
,
posBaseDetail
:
"/api-member/member-load-update-pos-base-detail"
,
batchUpdateStore
:
"/api-member/batch-update-members-store"
,
getStorePicture
:
"/api-member/enterprise-info"
,
getReturnMember
:
"/api-member/query-members-page"
,
getSubStoreList
:
"api-member/members-sub-store-list"
,
updateMemberStore
:
"/api-member/member-load-update-store"
});
for
(
var
s
in
i
)
i
[
s
]
=
""
+
o
+
i
[
s
];
t
.
a
=
i
},
SJI6
:
function
(
e
,
t
){
e
.
exports
=
Vuex
},
Vp7a
:
function
(
e
,
t
){},
X2dH
:
function
(
e
,
t
){},
apPN
:
function
(
e
,
t
){},
bZki
:
function
(
e
,
t
){},
lRwf
:
function
(
e
,
t
){
e
.
exports
=
Vue
},
mUJ2
:
function
(
e
,
t
,
r
){
var
a
=
{
"./achievement/achievement_interaction.vue"
:[
"5p67"
,
0
,
14
],
"./achievement/achievement_sale.vue"
:[
"2jN/"
,
0
,
22
],
"./buyermembers/buyermembers.vue"
:[
"zWgH"
,
15
],
"./labelmanager/labelmanager.vue"
:[
"VPyt"
,
0
,
31
],
"./membergroup/membergroup.vue"
:[
"AUf2"
,
0
,
32
],
"./membergroup/membergroupAdd.vue"
:[
"uoWT"
,
0
,
2
],
"./membergroup/membergroupDetail.vue"
:[
"WQrv"
,
0
,
28
],
"./memberlist/memberReturn.vue"
:[
"U1yU"
,
0
,
21
],
"./memberlist/memberlist.vue"
:[
"OQ6q"
,
16
],
"./memberlist/pos-recycle.vue"
:[
"4lFz"
,
0
,
30
],
"./membertask/membertask.vue"
:[
"34RI"
,
0
,
18
],
"./onlinemembers/onlinemembers.vue"
:[
"mYM/"
,
11
],
"./posmembers/posmemberDetail.vue"
:[
"KBNo"
,
0
,
26
],
"./posmembers/posmembers.vue"
:[
"SWaY"
,
0
,
19
],
"./wechatmembers/ajaxmembersinfo.vue"
:[
"EFnr"
,
0
,
12
],
"./wechatmembers/cardvoucher.vue"
:[
"He19"
,
0
,
24
],
"./wechatmembers/frozenList.vue"
:[
"1ciX"
,
0
,
27
],
"./wechatmembers/frozenMember.vue"
:[
"kME+"
,
0
,
20
],
"./wechatmembers/infoMall.vue"
:[
"1OM8"
,
0
,
10
],
"./wechatmembers/integralDataPage.vue"
:[
"Cj6o"
,
0
,
23
],
"./wechatmembers/memberSetting.vue"
:[
"ae7D"
,
0
,
33
],
"./wechatmembers/modifyintegral.vue"
:[
"Z0Oe"
,
0
,
3
],
"./wechatmembers/talkLogPage.vue"
:[
"Even"
,
0
,
29
],
"./wechatmembers/wechat-total.vue"
:[
"JPEG"
,
0
,
17
],
"./wechatmembers/wechatTotalDetail.vue"
:[
"+fBF"
,
0
,
8
],
"./wechatmembers/wechatmemberDetail.vue"
:[
"pBL2"
,
0
,
6
],
"./wechatmembers/wechatmembers.vue"
:[
"W+mZ"
,
0
,
13
]};
function
n
(
e
){
var
t
=
a
[
e
];
return
t
?
Promise
.
all
(
t
.
slice
(
1
).
map
(
r
.
e
)).
then
(
function
(){
return
r
(
t
[
0
])}):
Promise
.
reject
(
new
Error
(
"Cannot find module '"
+
e
+
"'."
))}
n
.
keys
=
function
(){
return
Object
.
keys
(
a
)},
n
.
id
=
"mUJ2"
,
e
.
exports
=
n
},
pRNm
:
function
(
e
,
t
){
e
.
exports
=
VueRouter
},
uKUT
:
function
(
e
,
t
){},
vH5w
:
function
(
e
,
t
){}},[
"NHnr"
]);
\ No newline at end of file
dist/static/js/app.bde787b4661b8c5e1fca.js
0 → 100644
View file @
ef22be69
webpackJsonp
([
35
],{
"+vdD"
:
function
(
e
,
t
,
r
){
"use strict"
;
var
a
=
r
(
"AKaA"
),
n
=
r
(
"NTL1"
),
o
=
r
(
"8V46"
),
m
=
{
props
:{
memberType
:{
type
:
Number
,
required
:
!
0
}},
data
:
function
(){
return
{
wxMember
:
0
,
posMember
:
0
,
ecommerceMember
:
0
,
ecommerceBuyer
:
0
}},
methods
:{
getMemberCount
:
function
(){
var
e
=
this
;
Object
(
a
.
a
)(
n
.
a
.
memberCount
).
then
(
function
(
t
){
if
(
0
===
t
.
data
.
errorCode
){
var
r
=
t
.
data
.
result
;
e
.
wxMember
=
r
.
wxMember
,
微信会员
,
e
.
posMember
=
r
.
posMember
,
pos
会员
,
e
.
ecommerceMember
=
r
.
ecommerceMember
,
电商会员
,
e
.
ecommerceBuyer
=
r
.
ecommerceBuyer
,
电商买家
}
else
Object
(
o
.
a
)(
t
.
data
.
message
)}).
catch
(
function
(
e
){
Object
(
o
.
b
)(
e
)})}},
created
:
function
(){
this
.
getMemberCount
()}},
i
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
r
=
e
.
_self
.
_c
||
t
;
return
r
(
"div"
,{
staticClass
:
"memebr-count"
},[
1
==
e
.
memberType
?
r
(
"span"
,[
e
.
_v
(
"会员共"
+
e
.
_s
(
e
.
wxMember
)
+
"人"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
2
==
e
.
memberType
?
r
(
"span"
,[
e
.
_v
(
"会员共"
+
e
.
_s
(
e
.
posMember
)
+
"人"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
3
==
e
.
memberType
?
r
(
"span"
,[
e
.
_v
(
"会员共"
+
e
.
_s
(
e
.
ecommerceMember
)
+
"人"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
4
==
e
.
memberType
?
r
(
"span"
,[
e
.
_v
(
"会员共"
+
e
.
_s
(
e
.
ecommerceBuyer
)
+
"人"
)]):
e
.
_e
()])},
staticRenderFns
:[]};
var
s
=
r
(
"VU/8"
)(
m
,
i
,
!
1
,
function
(
e
){
r
(
"5fFz"
)},
null
,
null
);
t
.
a
=
s
.
exports
},
"5fFz"
:
function
(
e
,
t
){},
"5reh"
:
function
(
e
,
t
,
r
){
"use strict"
;
r
.
d
(
t
,
"a"
,
function
(){
return
a
});
console
.
log
,
console
.
log
;
var
a
=
"title"
},
"8V46"
:
function
(
e
,
t
,
r
){
"use strict"
;
t
.
a
=
function
(
e
){
if
(
e
)
return
a
.
Message
.
warning
(
e
),
!
1
;
a
.
Message
.
warning
(
"操作失败"
);
return
!
1
},
t
.
c
=
function
(
e
){
e
?
a
.
Message
.
success
(
e
):
a
.
Message
.
success
(
"操作成功"
)},
t
.
b
=
function
(
e
){
if
(
"cancel"
==
e
)
return
a
.
Message
.
info
(
e
||
"取消"
),
!
1
;
if
(
!
e
.
hasOwnProperty
(
"response"
))
return
a
.
Message
.
error
(
e
),
!
1
;
if
(
401
==
e
.
response
.
status
)
return
a
.
Message
.
error
(
"登录过期"
),
!
1
;
if
(
500
==
e
.
response
.
status
)
return
a
.
Message
.
error
(
"服务器错误500"
),
!
1
};
var
a
=
r
(
"zL8q"
);
r
.
n
(
a
)},
"90WG"
:
function
(
e
,
t
){},
AKaA
:
function
(
e
,
t
,
r
){
"use strict"
;
var
a
=
r
(
"//Fk"
),
n
=
r
.
n
(
a
),
o
=
r
(
"mtWM"
),
m
=
r
.
n
(
o
),
i
=
r
(
"mw3O"
),
s
=
r
.
n
(
i
);
t
.
a
=
function
(
e
,
t
){
return
function
(
e
,
t
){
return
new
n
.
a
(
function
(
r
,
a
){
m
.
a
.
post
(
e
,
t
).
then
(
function
(
e
){
r
(
e
)}).
catch
(
function
(
e
){
a
(
e
)})})}(
e
+
"?requestProject=member"
,
t
)},
t
.
b
=
function
(
e
,
t
){
return
function
(
e
,
t
){
return
new
n
.
a
(
function
(
r
,
a
){
m
.
a
.
post
(
e
,
s
.
a
.
stringify
(
t
)).
then
(
function
(
e
){
r
(
e
)}).
catch
(
function
(
e
){
a
(
e
)})})}(
e
+
"?requestProject=member"
,
t
)}},
NHnr
:
function
(
e
,
t
,
r
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
{};
r
.
d
(
a
,
"formatTime"
,
function
(){
return
z
}),
r
.
d
(
a
,
"fomatNumber"
,
function
(){
return
B
}),
r
.
d
(
a
,
"fomatText"
,
function
(){
return
G
}),
r
.
d
(
a
,
"formatYMD"
,
function
(){
return
E
}),
r
.
d
(
a
,
"fomatFloat"
,
function
(){
return
K
}),
r
.
d
(
a
,
"defaultImg"
,
function
(){
return
W
});
var
n
=
r
(
"fZjL"
),
o
=
r
.
n
(
n
),
m
=
r
(
"//Fk"
),
i
=
r
.
n
(
m
),
s
=
r
(
"lRwf"
),
c
=
r
.
n
(
s
),
u
=
r
(
"Dd8w"
),
l
=
r
.
n
(
u
),
p
=
r
(
"SJI6"
),
d
=
r
.
n
(
p
),
b
=
{
name
:
"App"
,
computed
:
l
()({},
Object
(
p
.
mapState
)([
"uniqueId"
])),
created
:
function
(){
this
.
baseUrl
=
window
.
location
.
origin
.
indexOf
(
"localhost"
)
>-
1
?
"http://gicdev.demogic.com"
:
window
.
location
.
origin
,
this
.
_getUserInfo
(),
this
.
changeTab
()},
methods
:{
_getUserInfo
:
function
(){
var
e
=
this
;
this
.
axios
.
get
(
this
.
baseUrl
+
"/api-auth/get-login-user-info?requestProject=member"
).
then
(
function
(
t
){
if
(
0
==
t
.
data
.
errorCode
){
var
r
=
t
.
data
.
result
&&
t
.
data
.
result
.
userId
;
""
===
e
.
uniqueId
&&
e
.
$store
.
commit
(
"changeUniqueId"
,
r
)}})},
changeTab
:
function
(){
var
e
=
this
;
document
.
addEventListener
(
"visibilitychange"
,
function
(){
"visible"
===
document
.
visibilityState
&&
e
.
axios
.
get
(
e
.
baseUrl
+
"/api-auth/get-login-user-info?requestProject=member"
).
then
(
function
(
t
){
if
(
0
==
t
.
data
.
errorCode
){
var
r
=
t
.
data
.
result
&&
t
.
data
.
result
.
userId
;
e
.
uniqueId
!==
r
&&
e
.
$confirm
(
"出现窜号情况,请首先核对好是哪个商户再进行操作!"
,
"提示"
,{
type
:
"error"
}).
then
(
function
(){
e
.
$store
.
commit
(
"changeUniqueId"
,
r
),
window
.
location
.
reload
()}).
catch
(
function
(){
e
.
$store
.
commit
(
"changeUniqueId"
,
r
),
window
.
location
.
reload
()})}})})}}},
h
=
{
render
:
function
(){
var
e
=
this
.
$createElement
,
t
=
this
.
_self
.
_c
||
e
;
return
t
(
"div"
,{
attrs
:{
id
:
"app"
}},[
t
(
"router-view"
)],
1
)},
staticRenderFns
:[]},
f
=
r
(
"VU/8"
)(
b
,
h
,
!
1
,
null
,
null
,
null
).
exports
,
g
=
r
(
"pRNm"
),
v
=
r
.
n
(
g
);
function
w
(
e
,
t
){
return
function
(
a
){
r
(
"mUJ2"
)(
"./"
+
e
+
"/"
+
t
+
".vue"
).
then
(
function
(
e
){
a
(
e
)})}}
var
M
=
r
(
"AKaA"
),
y
=
r
(
"NTL1"
),
x
=
r
(
"+vdD"
),
_
=
{
name
:
"AppMain"
,
props
:{
collapseFlag
:{
type
:
Boolean
,
default
:
!
1
}},
data
:
function
(){
return
{
bodyHeight
:
document
.
body
.
clientHeight
||
document
.
documentElement
.
clientHeight
,
leftModulesName
:
"会员标签"
,
projectName
:
"member"
}},
computed
:{
key
:
function
(){
return
this
.
$route
.
fullPath
}},
mounted
:
function
(){
var
e
=
this
;
window
.
onresize
=
function
(){
e
.
bodyHeight
=
document
.
body
.
clientHeight
||
document
.
documentElement
.
clientHeight
}},
components
:{
Navbar
:
x
.
a
}},
k
=
{
render
:
function
(){
var
e
=
this
.
$createElement
,
t
=
this
.
_self
.
_c
||
e
;
return
t
(
"div"
,[
t
(
"div"
,{
staticClass
:
"app-main"
},[
t
(
"div"
,{
staticClass
:
"achievementwrap-left content-wrap"
,
style
:{
height
:
this
.
bodyHeight
-
64
+
"px"
}},[
t
(
"vue-gic-aside-menu"
,{
attrs
:{
projectName
:
this
.
projectName
,
leftModulesName
:
this
.
leftModulesName
,
collapseFlag
:
this
.
collapseFlag
}})],
1
),
this
.
_v
(
" "
),
t
(
"router-view"
)],
1
)])},
staticRenderFns
:[]};
var
I
=
{
name
:
"layout"
,
data
:
function
(){
return
{
collapseFlag
:
!
1
,
menuRouter
:[],
bodyHeight
:
document
.
body
.
clientHeight
||
document
.
documentElement
.
clientHeight
,
leftModulesName
:
"会员"
,
projectName
:
"member"
}},
computed
:{
slideShow
:
function
(){
return
this
.
$store
.
state
.
slideShow
}},
methods
:{
toRouterView
:
function
(
e
){
this
.
$router
.
push
({
path
:
e
.
path
})},
getClerkMenu
:
function
(){
var
e
=
this
;
Object
(
M
.
a
)(
y
.
a
.
clerkMenu
,{
project
:
"gic-web"
}).
then
(
function
(
t
){
e
.
menuRouter
=
t
.
data
.
result
}).
catch
(
function
(
e
){})},
collapseTag
:
function
(
e
){
this
.
collapseFlag
=!
this
.
collapseFlag
}},
created
:
function
(){
var
e
=
this
;
this
.
getClerkMenu
(),
window
.
onresize
=
function
(){
e
.
bodyHeight
=
document
.
body
.
clientHeight
||
document
.
documentElement
.
clientHeight
}},
components
:{
AppMain
:
r
(
"VU/8"
)(
_
,
k
,
!
1
,
function
(
e
){
r
(
"90WG"
)},
"data-v-d439bd98"
,
null
).
exports
}},
C
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
r
=
e
.
_self
.
_c
||
t
;
return
r
(
"div"
,[
r
(
"vue-gic-header"
,{
attrs
:{
projectName
:
e
.
projectName
},
on
:{
collapseTag
:
e
.
collapseTag
,
toRouterView
:
e
.
toRouterView
}}),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"layout"
,
style
:{
height
:
e
.
bodyHeight
-
64
+
"px"
}},[
r
(
"div"
,{
staticClass
:
"app-main"
},[
r
(
"div"
,{
staticClass
:
"rou-container"
},[
e
.
slideShow
?
r
(
"div"
,{
staticClass
:
"achievementwrap-left content-wrap"
,
style
:{
height
:
e
.
bodyHeight
-
64
+
"px"
}},[
r
(
"vue-gic-aside-menu"
,{
attrs
:{
projectName
:
e
.
projectName
,
leftModulesName
:
e
.
leftModulesName
,
collapseFlag
:
e
.
collapseFlag
}})],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"right-maincontainer"
},[
r
(
"keep-alive"
,[
e
.
$route
.
meta
.
keepAlive
?
r
(
"router-view"
):
e
.
_e
()],
1
),
e
.
_v
(
" "
),
e
.
$route
.
meta
.
keepAlive
?
e
.
_e
():
r
(
"router-view"
)],
1
)])])])],
1
)},
staticRenderFns
:[]};
var
j
=
r
(
"VU/8"
)(
I
,
C
,
!
1
,
function
(
e
){
r
(
"vH5w"
)},
null
,
null
).
exports
;
c
.
a
.
use
(
v
.
a
);
var
S
,
D
=
[{
path
:
"/login"
,
component
:
function
(){
return
r
.
e
(
4
).
then
(
r
.
bind
(
null
,
"6Qob"
))},
name
:
"login"
},{
path
:
"/404"
,
component
:
function
(){
return
r
.
e
(
9
).
then
(
r
.
bind
(
null
,
"PRsh"
))},
name
:
"error404"
},{
path
:
"/403"
,
component
:
function
(){
return
r
.
e
(
7
).
then
(
r
.
bind
(
null
,
"aM+6"
))},
name
:
"error403"
},{
path
:
"/500"
,
component
:
function
(){
return
r
.
e
(
5
).
then
(
r
.
bind
(
null
,
"/HCr"
))},
name
:
"error500"
},{
path
:
"/selector"
,
component
:
function
(){
return
r
.
e
(
25
).
then
(
r
.
bind
(
null
,
"miwu"
))},
name
:
"selector"
},{
path
:
"/linktool"
,
component
:
function
(){
return
Promise
.
all
([
r
.
e
(
0
),
r
.
e
(
1
)]).
then
(
r
.
bind
(
null
,
"9w7A"
))},
name
:
"linktools"
},{
path
:
"/"
,
name
:
"Layout"
,
redirect
:
"/wechattotal"
,
component
:
j
,
children
:[{
path
:
"/wechatmembers"
,
component
:
w
(
"wechatmembers"
,
"wechatmembers"
),
meta
:{
title
:
"微信会员"
,
keepAlive
:
!
0
}},{
path
:
"/wechattotal"
,
component
:
w
(
"wechatmembers"
,
"wechat-total"
),
meta
:{
title
:
"微信总量"
,
keepAlive
:
!
0
}},{
path
:
"/talkLogPage"
,
component
:
w
(
"wechatmembers"
,
"talkLogPage"
),
meta
:{
title
:
"微信会员-通话记录"
}},{
path
:
"/infoMall"
,
component
:
w
(
"wechatmembers"
,
"infoMall"
),
meta
:{
title
:
"微信会员-微信商城消费"
}},{
path
:
"/posmembers"
,
component
:
w
(
"posmembers"
,
"posmembers"
),
meta
:{
title
:
"pos会员"
,
keepAlive
:
!
0
}},{
path
:
"/onlinemembers"
,
component
:
w
(
"onlinemembers"
,
"onlinemembers"
),
meta
:{
title
:
"电商会员"
}},{
path
:
"/buyermembers"
,
component
:
w
(
"buyermembers"
,
"buyermembers"
),
meta
:{
title
:
"电商买家"
}},{
path
:
"/frozenList"
,
component
:
w
(
"wechatmembers"
,
"frozenList"
),
meta
:{
title
:
"冻结会员列表"
}},{
path
:
"/frozenList/frozenMember"
,
component
:
w
(
"wechatmembers"
,
"frozenMember"
),
meta
:{
title
:
"冻结会员"
}},{
path
:
"/wechatmembers/memberSetting"
,
component
:
w
(
"wechatmembers"
,
"memberSetting"
),
meta
:{
title
:
"微信会员-设置"
}},{
path
:
"/labelmanager"
,
component
:
w
(
"labelmanager"
,
"labelmanager"
),
meta
:{
title
:
"会员标签"
}},{
path
:
"/achievement"
,
component
:
w
(
"achievement"
,
"achievement_sale"
),
meta
:{
title
:
"会员成就-消费类"
}},{
path
:
"/achievement_interaction"
,
component
:
w
(
"achievement"
,
"achievement_interaction"
),
meta
:{
title
:
"会员成就-互动类"
}},{
path
:
"/memberReturn"
,
component
:
w
(
"memberlist"
,
"memberReturn"
),
meta
:{
title
:
"微信会员回收站"
}},{
path
:
"/posRecycle"
,
component
:
w
(
"memberlist"
,
"pos-recycle"
),
meta
:{
title
:
"POS会员回收站"
}},{
path
:
"/membergroupAdd"
,
component
:
w
(
"membergroup"
,
"membergroupAdd"
),
meta
:{
title
:
"会员分组-新增"
}},{
path
:
"/membergroup"
,
component
:
w
(
"membergroup"
,
"membergroup"
),
meta
:{
title
:
"会员分组"
}},{
path
:
"/cardvoucher"
,
component
:
w
(
"wechatmembers"
,
"cardvoucher"
),
meta
:{
title
:
"微信会员-卡券"
}},{
path
:
"/membergroupDetail"
,
component
:
w
(
"membergroup"
,
"membergroupDetail"
),
meta
:{
title
:
"会员分组-详情"
}},{
path
:
"/membertask"
,
component
:
w
(
"membertask"
,
"membertask"
),
meta
:{
title
:
"会员任务"
}},{
path
:
"/posmemberDetail"
,
component
:
w
(
"posmembers"
,
"posmemberDetail"
),
meta
:{
title
:
"pos会员-详情"
}},{
path
:
"/wechatmemberDetail"
,
component
:
w
(
"wechatmembers"
,
"wechatmemberDetail"
),
meta
:{
title
:
"微信会员-详情"
}},{
path
:
"/wechatTotalDetail"
,
component
:
w
(
"wechatmembers"
,
"wechatTotalDetail"
),
meta
:{
title
:
"微信总量-详情"
}},{
path
:
"/integralDataPage"
,
component
:
w
(
"wechatmembers"
,
"integralDataPage"
),
meta
:{
title
:
"微信会员-积分明细"
}},{
path
:
"/modifyintegral"
,
component
:
w
(
"wechatmembers"
,
"modifyintegral"
),
meta
:{
title
:
"微信会员-积分调整"
}},{
path
:
"/ajaxmembersinfo"
,
component
:
w
(
"wechatmembers"
,
"ajaxmembersinfo"
),
meta
:{
title
:
"微信会员-会员门店消费"
}}]}],
F
=
new
v
.
a
({
scrollBehavior
:
function
(){
return
{
y
:
0
}},
routes
:
D
}),
P
=
r
(
"mtWM"
),
U
=
r
.
n
(
P
),
T
=
r
(
"bOdI"
),
N
=
r
.
n
(
T
),
H
=
r
(
"5reh"
);
c
.
a
.
use
(
d
.
a
);
var
L
=
new
d
.
a
.
Store
({
state
:{
title
:
""
,
isShowFoot
:
!
0
,
slideShow
:
!
1
,
forzenList
:
!
1
,
storeImageUrl
:
""
,
uniqueId
:
""
},
mutations
:(
S
=
{},
N
()(
S
,
H
.
a
,
function
(
e
,
t
){
e
.
title
=
t
}),
N
()(
S
,
"isShowFoot"
,
function
(
e
,
t
){
e
.
showfoot
=
t
}),
N
()(
S
,
"mutations-slide"
,
function
(
e
,
t
){
e
.
slideShow
=
t
}),
N
()(
S
,
"forzen-list"
,
function
(
e
,
t
){
e
.
forzenList
=
t
}),
N
()(
S
,
"saveStoreImage"
,
function
(
e
,
t
){
e
.
storeImageUrl
=
t
}),
N
()(
S
,
"changeUniqueId"
,
function
(
e
,
t
){
e
.
uniqueId
=
t
||
""
}),
S
),
actions
:{
getStorePicture
:
function
(
e
){
var
t
=
e
.
commit
;
Object
(
M
.
a
)(
y
.
a
.
getStorePicture
).
then
(
function
(
e
){
var
r
=
void
0
;
0
===
e
.
data
.
errorCode
&&
(
r
=
e
.
data
.
result
,
t
(
"saveStoreImage"
,
r
.
enterpriseInfo
.
enterpriseUrl
))})}}}),
O
=
(
r
(
"bZki"
),
r
(
"X2dH"
),
r
(
"uKUT"
),{
name
:
"gicinput"
,
data
:
function
(){
return
{
curcount
:
0
,
curfocus
:
!
1
}},
props
:[
"value"
,
"max"
,
"placeholder"
,
"rules"
,
"changeBColor"
],
watch
:{
value
:
function
(
e
,
t
){
var
r
=
0
,
a
=
this
.
max
;
if
(
e
)
for
(
var
n
=
0
;
n
<
e
.
length
&&
(
null
!=
e
[
n
].
match
(
/
[^\x
00-
\x
ff
]
/gi
)?
r
+=
1
:
r
+=
.
5
,
!
(
r
>
a
));
n
++
)
this
.
curcount
=
Math
.
floor
(
r
);
else
this
.
curcount
=
0
}},
mounted
:
function
(){
var
e
=
0
,
t
=
this
.
max
;
if
(
this
.
value
)
for
(
var
r
=
0
;
r
<
this
.
value
.
length
&&
(
null
!=
this
.
value
[
r
].
match
(
/
[^\x
00-
\x
ff
]
/gi
)?
e
+=
1
:
e
+=
.
5
,
!
(
e
>
t
));
r
++
)
this
.
curcount
=
Math
.
floor
(
e
);
else
this
.
curcount
=
0
},
methods
:{
handleFocus
:
function
(
e
){
this
.
curfocus
=
e
},
update
:
function
(
e
){
this
.
$emit
(
"input"
,
e
)},
handleKeyup
:
function
(
e
){
var
t
=
""
,
r
=
0
,
a
=
this
.
max
;
if
(
e
)
for
(
var
n
=
0
;
n
<
e
.
length
&&
(
null
!=
e
[
n
].
match
(
/
[^\x
00-
\x
ff
]
/gi
)?
r
+=
1
:
r
+=
.
5
,
!
(
r
>
a
));
n
++
)
t
+=
e
[
n
],
this
.
curcount
=
Math
.
floor
(
r
),
this
.
$emit
(
"input"
,
t
);
else
this
.
curcount
=
0
,
this
.
$emit
(
"input"
,
t
)}}}),
R
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
r
=
e
.
_self
.
_c
||
t
;
return
r
(
"div"
,[
r
(
"div"
,{
staticClass
:
"gic-form-item"
,
class
:{
curfocus
:
e
.
curfocus
,
"gic-input"
:
e
.
changeBColor
}},[
r
(
"div"
,{
staticClass
:
"gic-form-wrap"
},[
r
(
"input"
,{
ref
:
"input"
,
staticClass
:
"gic-form-input"
,
attrs
:{
type
:
"text"
,
max
:
e
.
max
,
placeholder
:
e
.
placeholder
},
domProps
:{
value
:
e
.
value
},
on
:{
keyup
:
function
(
t
){
return
e
.
handleKeyup
(
t
.
target
.
value
)},
input
:
function
(
t
){
return
e
.
update
(
t
.
target
.
value
)},
focus
:
function
(
t
){
return
e
.
handleFocus
(
!
0
)},
blur
:
function
(
t
){
return
e
.
handleFocus
(
!
1
)}}})]),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"gic-form-count"
},[
e
.
_v
(
" "
+
e
.
_s
(
e
.
curcount
)
+
"/"
+
e
.
_s
(
e
.
max
))])])])},
staticRenderFns
:[]};
var
A
=
r
(
"VU/8"
)(
O
,
R
,
!
1
,
function
(
e
){
r
(
"apPN"
)},
"data-v-c72c6a50"
,
null
).
exports
,
$
=
{
name
:
"gicinput"
,
data
:
function
(){
return
{
curcount
:
0
,
curfocus
:
!
1
,
curValue
:
""
,
avalue
:
""
}},
props
:[
"value"
,
"max"
,
"placeholder"
],
watch
:{
value
:
function
(
e
,
t
){
var
r
=
0
,
a
=
this
.
max
;
if
(
e
)
for
(
var
n
=
0
;
n
<
e
.
length
&&
(
null
!=
e
[
n
].
match
(
/
[^\x
00-
\x
ff
]
/gi
)?
r
+=
1
:
r
+=
.
5
,
!
(
r
>
a
));
n
++
)
this
.
curcount
=
Math
.
floor
(
r
);
else
this
.
curcount
=
0
}},
mounted
:
function
(){
var
e
=
0
,
t
=
this
.
max
;
if
(
this
.
value
)
for
(
var
r
=
0
;
r
<
this
.
value
.
length
&&
(
null
!=
this
.
value
[
r
].
match
(
/
[^\x
00-
\x
ff
]
/gi
)?
e
+=
1
:
e
+=
.
5
,
!
(
e
>
t
));
r
++
)
this
.
curcount
=
Math
.
floor
(
e
);
else
this
.
curcount
=
0
},
methods
:{
handleFocus
:
function
(
e
){
this
.
curfocus
=
e
},
update
:
function
(
e
){
this
.
$emit
(
"input"
,
e
)},
handleKeyup
:
function
(
e
){
var
t
=
""
,
r
=
0
,
a
=
this
.
max
;
if
(
e
)
for
(
var
n
=
0
;
n
<
e
.
length
&&
(
null
!=
e
[
n
].
match
(
/
[^\x
00-
\x
ff
]
/gi
)?
r
+=
1
:
r
+=
.
5
,
!
(
r
>
a
));
n
++
)
t
+=
e
[
n
],
this
.
curcount
=
Math
.
floor
(
r
),
this
.
$emit
(
"input"
,
t
);
else
this
.
curcount
=
0
,
this
.
$emit
(
"input"
,
t
)}}},
q
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
r
=
e
.
_self
.
_c
||
t
;
return
r
(
"div"
,[
r
(
"div"
,{
staticClass
:
"gic-formarea-item"
,
class
:{
curfocus
:
e
.
curfocus
}},[
r
(
"div"
,{
staticClass
:
"gic-formarea-wrap"
},[
r
(
"textarea"
,{
ref
:
"input"
,
staticClass
:
"gic-form-area"
,
attrs
:{
max
:
e
.
max
,
placeholder
:
e
.
placeholder
},
domProps
:{
value
:
e
.
value
},
on
:{
keyup
:
function
(
t
){
return
e
.
handleKeyup
(
t
.
target
.
value
)},
input
:
function
(
t
){
return
e
.
update
(
t
.
target
.
value
)},
focus
:
function
(
t
){
return
e
.
handleFocus
(
!
0
)},
blur
:
function
(
t
){
return
e
.
handleFocus
(
!
1
)}}})])]),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"gic-formarea-count"
},[
e
.
_v
(
" "
+
e
.
_s
(
e
.
curcount
)
+
"/"
+
e
.
_s
(
e
.
max
))])])},
staticRenderFns
:[]};
var
V
=
r
(
"VU/8"
)(
$
,
q
,
!
1
,
function
(
e
){
r
(
"Vp7a"
)},
"data-v-766b4418"
,
null
).
exports
,
z
=
(
r
(
"briU"
),
function
(
e
){
if
(
e
){
var
t
=
new
Date
(
e
);
return
t
.
getFullYear
()
+
"-"
+
((
t
.
getMonth
()
+
1
<
10
?
"0"
+
(
t
.
getMonth
()
+
1
):
t
.
getMonth
()
+
1
)
+
"-"
)
+
((
t
.
getDate
()
<
10
?
"0"
+
t
.
getDate
():
t
.
getDate
())
+
" "
)
+
((
t
.
getHours
()
<
10
?
"0"
+
t
.
getHours
():
t
.
getHours
())
+
":"
)
+
((
t
.
getMinutes
()
<
10
?
"0"
+
t
.
getMinutes
():
t
.
getMinutes
())
+
":"
)
+
(
t
.
getSeconds
()
<
10
?
"0"
+
t
.
getSeconds
():
t
.
getSeconds
())}
return
"--"
}),
E
=
function
(
e
){
if
(
e
){
var
t
=
new
Date
(
e
);
return
t
.
getFullYear
()
+
"-"
+
((
t
.
getMonth
()
+
1
<
10
?
"0"
+
(
t
.
getMonth
()
+
1
):
t
.
getMonth
()
+
1
)
+
"-"
)
+
(
t
.
getDate
()
<
10
?
"0"
+
t
.
getDate
():
t
.
getDate
())}
return
"--"
},
B
=
function
(
e
){
return
e
||
0
},
G
=
function
(
e
){
return
e
||
"--"
},
K
=
function
(
e
){
return
e
||
0
==
e
?
parseFloat
(
e
).
toFixed
(
2
):
"--"
},
W
=
function
(
e
){
if
(
!
e
)
return
"./static/img/default.png"
};
c
.
a
.
config
.
productionTip
=!
1
,
c
.
a
.
config
.
devtools
=!
0
,
U
.
a
.
defaults
.
withCredentials
=!
0
,
c
.
a
.
prototype
.
axios
=
U
.
a
,
c
.
a
.
component
(
"gic-textarea"
,
V
),
c
.
a
.
component
(
"gic-input"
,
A
),
U
.
a
.
interceptors
.
request
.
use
(
function
(
e
){
return
!
e
.
headers
.
sign
&&
localStorage
.
getItem
(
"signId"
)
&&
(
e
.
headers
.
sign
=
localStorage
.
getItem
(
"signId"
)),
e
},
function
(
e
){
return
i
.
a
.
reject
(
e
)}),
U
.
a
.
interceptors
.
response
.
use
(
function
(
e
){
switch
(
e
.
data
.
errorCode
){
case
0
:
if
(
e
.
data
.
result
&&
e
.
data
.
result
.
enterpriseId
){
var
t
=
e
.
data
.
result
.
enterpriseId
;
localStorage
.
setItem
(
"signId"
,
t
)}
break
;
case
401
:
var
r
=
window
.
location
.
origin
;
window
.
location
.
href
=
r
.
indexOf
(
"localhost"
)
>-
1
?
"http://localhost:8002/#/login"
:
r
+
"/gic-web/#/"
}
return
e
},
function
(
e
){
return
i
.
a
.
reject
(
e
)}),
o
()(
a
).
forEach
(
function
(
e
){
c
.
a
.
filter
(
e
,
a
[
e
])}),
new
c
.
a
({
el
:
"#app"
,
router
:
F
,
store
:
L
,
components
:{
App
:
f
},
template
:
"<App/>"
})},
NTL1
:
function
(
e
,
t
,
r
){
"use strict"
;
var
a
=
r
(
"woOf"
),
n
=
r
.
n
(
a
),
o
=
window
.
location
.
origin
,
m
=
o
.
indexOf
(
"localhost"
)
>-
1
?
"http://gicdev.demogic.com"
:
o
,
i
=
n
()({},{
doLogin
:
"/api-auth/dologin"
,
enterprise
:
"/api-auth/list-login-enterprise"
,
clerkMenu
:
"/api-auth/login-clerk-menu"
,
tagManageList
:
"/api-member/tag-manage-list"
,
insertParentTag
:
"/api-member/insert-parent-tag"
,
insertSonTag
:
"/api-member/insert-son-tag"
,
deleteParentTag
:
"/api-member/delete-parent-tag"
,
deleteSonTag
:
"/api-member/delete-son-tag"
,
memberMissionList
:
"/api-member/member-mission-list"
,
memberMissionUpdate
:
"/api-member/member-mission-update"
,
memberMissionOpen
:
"/api-member/member-mission-open"
,
achievementList
:
"/api-member/achievement-list"
,
achievementUpdate
:
"/api-member/achievement-update"
,
achievementOpen
:
"/api-member/achievement-open"
,
findMemberGroups
:
"/api-member/find-member-groups-page"
,
insertMemberGroup
:
"/api-member/insert-member-group"
,
updateMemberGroup
:
"/api-member/update-member-group"
,
checkCard
:
"/api-member/member-card-write-off-order-page"
,
chooseDestory
:
"/api-member/member-card-destroy"
,
ajaxMembers
:
"/api-member/ajax-members"
,
deteleMemberGroup
:
"/api-member/detele-member-group"
,
findMemberGroupInfo
:
"/api-member/find-member-group-info"
,
findMemberFields
:
"/api-member/find-member-fields"
,
updateFields
:
"/api-member/update-fields"
,
memberCount
:
"/api-member/ecommerce-member-count"
,
updateIntegrals
:
"/api-member/members-batch-update-integrals"
,
storeCodeName
:
"/api-plug/query-store-by-code-name"
,
gradeList
:
"/api-admin/grade-list"
,
updateGrade
:
"/api-member/members-batch-update-grade"
,
updateStore
:
"/api-member/members-batch-update-store"
,
batchProcess
:
"/api-member/get-members-batch-process"
,
membersSubStoreList
:
"/api-member/members-sub-store-list"
,
singleInfo
:
"/api-member/load-member-single-info"
,
memberCardsPage
:
"/api-member/member-cards-page"
,
writeOff
:
"/api-member/member-card-write-off"
,
cardDestroy
:
"/api-member/member-card-destroy"
,
cardChannelType
:
"/api-member/card-channel-type"
,
memberDetail
:
"/api-member/member-load-member-detail"
,
baseDetail
:
"/api-member/member-load-base-detail"
,
addressPage
:
"/api-member/member-load-receiving-address-page"
,
extendInfo
:
"/api-member/member-load-extend-info"
,
logPage
:
"/api-member/member-load-operate-log-page"
,
memberGrade
:
"/api-member/member-load-update-member-grade"
,
updateBaseDetail
:
"/api-member/member-load-update-base-detail"
,
updateImgUrl
:
"/api-member/member-load-update-imgUrl"
,
ajaxMembersInfo
:
"/api-member/ajax-members-info"
,
memberOrderPage
:
"/api-member/member-order-page"
,
orderDetail
:
"/api-member/member-order-detail"
,
infoMall
:
"/api-member/ajax-members-info-mall"
,
ajaxWechatMembers
:
"/api-member/ajaxMembers"
,
talkLogPage
:
"/api-member/member-talk-log-page"
,
clerkTags
:
"/api-member/member-load-find-clerk-tags"
,
updateClerkTags
:
"/api-member/member-load-update-clerk-tags"
,
codeList
:
"/api-member/get-naction-code-list"
,
updateRemark
:
"/api-member/member-load-update-remark"
,
integralDataPage
:
"/api-member/member-integral-data-page"
,
integralOperateType
:
"/api-member/member-integral-operate-type"
,
memberIntegralUpdate
:
"/api-member/member-integral-update"
,
enterpriseInfo
:
"/api-member/enterprise-info"
,
posInfo
:
"/api-member/member-load-member-pos-info"
,
posBaseDetail
:
"/api-member/member-load-update-pos-base-detail"
,
batchUpdateStore
:
"/api-member/batch-update-members-store"
,
getStorePicture
:
"/api-member/enterprise-info"
,
getReturnMember
:
"/api-member/query-members-page"
,
getSubStoreList
:
"api-member/members-sub-store-list"
,
updateMemberStore
:
"/api-member/member-load-update-store"
});
for
(
var
s
in
i
)
i
[
s
]
=
""
+
m
+
i
[
s
];
t
.
a
=
i
},
SJI6
:
function
(
e
,
t
){
e
.
exports
=
Vuex
},
Vp7a
:
function
(
e
,
t
){},
X2dH
:
function
(
e
,
t
){},
apPN
:
function
(
e
,
t
){},
bZki
:
function
(
e
,
t
){},
lRwf
:
function
(
e
,
t
){
e
.
exports
=
Vue
},
mUJ2
:
function
(
e
,
t
,
r
){
var
a
=
{
"./achievement/achievement_interaction.vue"
:[
"5p67"
,
0
,
14
],
"./achievement/achievement_sale.vue"
:[
"2jN/"
,
0
,
22
],
"./buyermembers/buyermembers.vue"
:[
"zWgH"
,
15
],
"./labelmanager/labelmanager.vue"
:[
"VPyt"
,
0
,
31
],
"./membergroup/membergroup.vue"
:[
"AUf2"
,
0
,
32
],
"./membergroup/membergroupAdd.vue"
:[
"uoWT"
,
0
,
2
],
"./membergroup/membergroupDetail.vue"
:[
"WQrv"
,
0
,
28
],
"./memberlist/memberReturn.vue"
:[
"U1yU"
,
0
,
21
],
"./memberlist/memberlist.vue"
:[
"OQ6q"
,
16
],
"./memberlist/pos-recycle.vue"
:[
"4lFz"
,
0
,
30
],
"./membertask/membertask.vue"
:[
"34RI"
,
0
,
18
],
"./onlinemembers/onlinemembers.vue"
:[
"mYM/"
,
11
],
"./posmembers/posmemberDetail.vue"
:[
"KBNo"
,
0
,
26
],
"./posmembers/posmembers.vue"
:[
"SWaY"
,
0
,
19
],
"./wechatmembers/ajaxmembersinfo.vue"
:[
"EFnr"
,
0
,
12
],
"./wechatmembers/cardvoucher.vue"
:[
"He19"
,
0
,
24
],
"./wechatmembers/frozenList.vue"
:[
"1ciX"
,
0
,
27
],
"./wechatmembers/frozenMember.vue"
:[
"kME+"
,
0
,
20
],
"./wechatmembers/infoMall.vue"
:[
"1OM8"
,
0
,
10
],
"./wechatmembers/integralDataPage.vue"
:[
"Cj6o"
,
0
,
23
],
"./wechatmembers/memberSetting.vue"
:[
"ae7D"
,
0
,
33
],
"./wechatmembers/modifyintegral.vue"
:[
"Z0Oe"
,
0
,
3
],
"./wechatmembers/talkLogPage.vue"
:[
"Even"
,
0
,
29
],
"./wechatmembers/wechat-total.vue"
:[
"JPEG"
,
0
,
17
],
"./wechatmembers/wechatTotalDetail.vue"
:[
"+fBF"
,
0
,
8
],
"./wechatmembers/wechatmemberDetail.vue"
:[
"pBL2"
,
0
,
6
],
"./wechatmembers/wechatmembers.vue"
:[
"W+mZ"
,
0
,
13
]};
function
n
(
e
){
var
t
=
a
[
e
];
return
t
?
Promise
.
all
(
t
.
slice
(
1
).
map
(
r
.
e
)).
then
(
function
(){
return
r
(
t
[
0
])}):
Promise
.
reject
(
new
Error
(
"Cannot find module '"
+
e
+
"'."
))}
n
.
keys
=
function
(){
return
Object
.
keys
(
a
)},
n
.
id
=
"mUJ2"
,
e
.
exports
=
n
},
pRNm
:
function
(
e
,
t
){
e
.
exports
=
VueRouter
},
uKUT
:
function
(
e
,
t
){},
vH5w
:
function
(
e
,
t
){}},[
"NHnr"
]);
\ No newline at end of file
src/App.vue
View file @
ef22be69
...
...
@@ -5,7 +5,58 @@
</
template
>
<
script
>
import
{
mapState
}
from
'vuex'
;
export
default
{
name
:
'App'
name
:
'App'
,
computed
:
{
...
mapState
([
'uniqueId'
]),
},
created
()
{
this
.
baseUrl
=
window
.
location
.
origin
.
indexOf
(
'localhost'
)
>
-
1
?
'http://gicdev.demogic.com'
:
window
.
location
.
origin
;
this
.
_getUserInfo
();
this
.
changeTab
();
},
methods
:
{
_getUserInfo
()
{
this
.
axios
.
get
(
`
${
this
.
baseUrl
}
/api-auth/get-login-user-info?requestProject=member`
).
then
((
res
)
=>
{
if
(
res
.
data
.
errorCode
==
0
)
{
const
uId
=
res
.
data
.
result
&&
res
.
data
.
result
.
userId
;
if
(
this
.
uniqueId
===
''
)
{
this
.
$store
.
commit
(
'changeUniqueId'
,
uId
);
}
}
});
},
changeTab
()
{
document
.
addEventListener
(
"visibilitychange"
,
()
=>
{
// 表示切换过来去查uid跟当前uid对比
if
(
document
.
visibilityState
===
'visible'
)
{
this
.
axios
.
get
(
`
${
this
.
baseUrl
}
/api-auth/get-login-user-info?requestProject=member`
).
then
(
res
=>
{
if
(
res
.
data
.
errorCode
==
0
)
{
const
uId
=
res
.
data
.
result
&&
res
.
data
.
result
.
userId
;
// 两次的uId不等 表示账号有冲突
if
(
this
.
uniqueId
!==
uId
)
{
this
.
$confirm
(
'出现窜号情况,请首先核对好是哪个商户再进行操作!'
,
'提示'
,
{
type
:
'error'
}).
then
(()
=>
{
this
.
$store
.
commit
(
'changeUniqueId'
,
uId
);
window
.
location
.
reload
();
}).
catch
(()
=>
{
this
.
$store
.
commit
(
'changeUniqueId'
,
uId
);
window
.
location
.
reload
();
});
}
}
});
}
});
}
}
}
</
script
>
src/permission.js
View file @
ef22be69
var
a
=
{
currentPage
:
1
,
pageSize
:
40
,
queryList
:
[
[
商品属性
{
ids
:
[
"ff80808165391621016541b64386037b"
,
"ff80808165391621016541b64386037e"
],
operate
:
"intersect"
,
type
:
"brand"
},
品类
{
ids
:
[
"ff8080816687cf1501668cb7d991075d"
,
"ff808081667857c60166864de73f073a"
],
operate
:
"intersect"
,
type
:
"category"
},
规格
{
ids
:
[
"ff80808165a604420165e2001af046f9"
,
"ff80808165a6043f0165e216150546f1"
],
operate
:
"union"
,
type
:
"standard"
},
属性
{
ids
:
[
"ff80808165a604400165e2136dbd50a3"
,
"ff80808165a6043f0165e210a92346e2"
],
operate
:
"diff"
,
type
:
"property"
},
部分商品
{
ids
:
[
"ff80808166a414ea0166a42c59062213"
,
"ff80808166a414ea0166a42c05c42185"
],
operate
:
"union"
,
type
:
"goods"
},
部分商品
sku
{
ids
:
[
"0713eb81815f467dabf97c109e823252"
,
"87c37c34e2ff4f7092ea8ea014b625e0"
],
operate
:
"diff"
,
type
:
"sku"
}
],
[
{
ids
:
[
"ff80808165391621016541b64386037b"
,
"ff80808165391621016541b64386037e"
],
operate
:
"intersect"
,
type
:
"brand"
},
{
ids
:
[
"ff8080816687cf1501668cb7d991075d"
,
"ff808081667857c60166864de73f073a"
],
operate
:
"intersect"
,
type
:
"category"
},
{
ids
:
[
"ff80808165a604400165e2136dbd50a3"
,
"ff80808165a6043f0165e210a92346e2"
],
operate
:
"diff"
,
type
:
"property"
},
{
ids
:
[
"ff80808166a414ea0166a42c59062213"
,
"ff80808166a414ea0166a42c05c42185"
],
operate
:
"union"
,
type
:
"goods"
},
{
ids
:
[
"172e6a9c02004086890873225957fced"
],
operate
:
"diff"
,
type
:
"sku"
},
{
ids
:
[
"ff80808165a604420165e2001af046f0"
,
"ff80808165a6043f0165e216150546f2"
],
operate
:
"intersect"
,
type
:
"stdGroup"
}
]
],
source
:
1
}
\ No newline at end of file
src/request/api.js
0 → 100644
View file @
ef22be69
src/request/http.js
View file @
ef22be69
...
...
@@ -2,7 +2,7 @@ import axios from 'axios';
import
QS
from
'qs'
;
import
{
Message
}
from
'element-ui'
;
axios
.
defaults
.
baseURL
=
`
${
window
.
location
.
origin
}
`
;
axios
.
defaults
.
baseURL
=
window
.
location
.
origin
.
indexOf
(
'localhost'
)
>
-
1
?
'http://gicdev.demogic.com'
:
window
.
location
.
origin
;
axios
.
defaults
.
timeout
=
10000
;
axios
.
defaults
.
headers
.
post
[
'Content-Type'
]
=
'appliaction/x-www-form-urlencoded;charset=UTF-8'
;
...
...
src/store/store.js
View file @
ef22be69
...
...
@@ -11,7 +11,8 @@ export default new Vuex.Store({
isShowFoot
:
true
,
slideShow
:
false
,
forzenList
:
false
,
storeImageUrl
:
""
storeImageUrl
:
""
,
uniqueId
:
''
},
mutations
:
{
[
types
.
TITLE
]:
(
state
,
data
)
=>
{
...
...
@@ -28,6 +29,9 @@ export default new Vuex.Store({
},
[
"saveStoreImage"
](
state
,
url
)
{
state
.
storeImageUrl
=
url
;
},
[
'changeUniqueId'
](
state
,
id
)
{
state
.
uniqueId
=
id
||
''
;
}
},
actions
:
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment