Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
welfare
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
达摩4.0重构
welfare
Commits
f072691a
Commit
f072691a
authored
Feb 19, 2021
by
chenxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: build
parent
110c0015
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
10 deletions
+10
-10
index.html
dist/index.html
+2
-2
app.d29143af.js
dist/js/app.d29143af.js
+2
-2
permission.js
src/utils/permission.js
+6
-6
No files found.
dist/index.html
View file @
f072691a
<!DOCTYPE html>
<html
lang=
cn
><head><meta
charset=
utf-8
><meta
http-equiv=
X-UA-Compatible
content=
"IE=edge"
><meta
name=
viewport
content=
"width=device-width,initial-scale=1"
><link
rel=
icon
href=
/welfare/favicon2.ico
><link
rel=
stylesheet
href=
/welfare/static/css/index.css
><link
href=
https://cdn.bootcss.com/element-ui/2.12.0/theme-chalk/index.css
rel=
stylesheet
><link
href=
//at.alicdn.com/t/font_1434755_89ndzcq2ndm.css
rel=
stylesheet
><link
rel=
stylesheet
type=
text/css
href=
//at.alicdn.com/t/font_1418963_hrpaaxicjis.css
><link
rel=
stylesheet
type=
text/css
href=
//at.alicdn.com/t/font_1393418_z4h4445tiwe.css
><link
rel=
stylesheet
type=
text/css
href=
//at.alicdn.com/t/font_2349215_oprmr2ef7em.css
><link
rel=
stylesheet
type=
text/css
href=
//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.58.3.css
><script
src=
//at.alicdn.com/t/font_1418963_hrpaaxicjis.js
></script><link
href=
/welfare/css/card-package.ac4691b9.css
rel=
prefetch
><link
href=
/welfare/css/card-package~gic-card.78656863.css
rel=
prefetch
><link
href=
/welfare/css/chunk-02062f99.757fd252.css
rel=
prefetch
><link
href=
/welfare/css/chunk-2107e6c5.4536701d.css
rel=
prefetch
><link
href=
/welfare/css/chunk-4b84bff4.963b4aa0.css
rel=
prefetch
><link
href=
/welfare/css/chunk-53f4695c.9908b7cb.css
rel=
prefetch
><link
href=
/welfare/css/chunk-8a171d34.8af5c3d1.css
rel=
prefetch
><link
href=
/welfare/css/chunk-9f31dcfe.75b8fd67.css
rel=
prefetch
><link
href=
/welfare/css/gic-card.0dafb3e6.css
rel=
prefetch
><link
href=
/welfare/js/card-package.c0ec8cb0.js
rel=
prefetch
><link
href=
/welfare/js/card-package~gic-card.dfadd734.js
rel=
prefetch
><link
href=
/welfare/js/chunk-02062f99.072e616f.js
rel=
prefetch
><link
href=
/welfare/js/chunk-2107e6c5.f2137ad1.js
rel=
prefetch
><link
href=
/welfare/js/chunk-35ba1f02.32555561.js
rel=
prefetch
><link
href=
/welfare/js/chunk-4b84bff4.fc2c14d9.js
rel=
prefetch
><link
href=
/welfare/js/chunk-53f4695c.23f8f592.js
rel=
prefetch
><link
href=
/welfare/js/chunk-8a171d34.53b72a0e.js
rel=
prefetch
><link
href=
/welfare/js/chunk-9f31dcfe.2b85ba0c.js
rel=
prefetch
><link
href=
/welfare/js/gic-card.acca0eb0.js
rel=
prefetch
><link
href=
/welfare/css/app.760c95a6.css
rel=
preload
as=
style
><link
href=
/welfare/js/app.4d9b32f9.js
rel=
preload
as=
script
><link
href=
/welfare/js/chunk-vendors.e8c008b5.js
rel=
preload
as=
script
><link
href=
/welfare/css/app.760c95a6.css
rel=
stylesheet
></head><body
class=
damolish
><noscript><strong>
We're sorry but damolish doesn't work properly without JavaScript enabled. Please enable it to continue.
</strong></noscript><div
id=
app
></div><script
src=
//web-1251519181.file.myqcloud.com/lib-4.0/vue/2.6.10/vue.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib-4.0/vue-router/3.0.3/vue-router.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib-4.0/vuex/3.0.1/vuex.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib-4.0/axios/0.19.0/axios.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/base.1.0.0.17.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/layout.1.2.59.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/input.2.0.20.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/people-selector.1.0.10.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/store-select.1.1.78.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/goods-selector.1.0.51.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/card-select.1.0.33.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/link-tools.2.1.21.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/export-data.1.1.1.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/integral-select.1.0.26.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/rule-engine.1.0.86.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/pagination.1.0.10.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/perm-button.1.0.1.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/steps.1.0.1.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/upload-picture.1.0.6.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/upload-file.1.0.4.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/app-info.1.0.5.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/preview-img.1.0.3.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/delete.1.1.4.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/input-number.1.0.10.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/acc-group-select.1.0.3.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/editor.1.1.12.js
></script><script
src=
/welfare/js/chunk-vendors.e8c008b5.js
></script><script
src=
/welfare/js/app.4d9b32f9.js
></script></body></html>
<!DOCTYPE html>
<html
lang=
cn
><head><meta
charset=
utf-8
><meta
http-equiv=
X-UA-Compatible
content=
"IE=edge"
><meta
name=
viewport
content=
"width=device-width,initial-scale=1"
><link
rel=
icon
href=
/welfare/favicon2.ico
><link
rel=
stylesheet
href=
/welfare/static/css/index.css
><link
href=
https://cdn.bootcss.com/element-ui/2.12.0/theme-chalk/index.css
rel=
stylesheet
><link
href=
//at.alicdn.com/t/font_1434755_89ndzcq2ndm.css
rel=
stylesheet
><link
rel=
stylesheet
type=
text/css
href=
//at.alicdn.com/t/font_1418963_hrpaaxicjis.css
><link
rel=
stylesheet
type=
text/css
href=
//at.alicdn.com/t/font_1393418_z4h4445tiwe.css
><link
rel=
stylesheet
type=
text/css
href=
//at.alicdn.com/t/font_2349215_oprmr2ef7em.css
><link
rel=
stylesheet
type=
text/css
href=
//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.58.3.css
><script
src=
//at.alicdn.com/t/font_1418963_hrpaaxicjis.js
></script><link
href=
/welfare/css/card-package.ac4691b9.css
rel=
prefetch
><link
href=
/welfare/css/card-package~gic-card.78656863.css
rel=
prefetch
><link
href=
/welfare/css/chunk-02062f99.757fd252.css
rel=
prefetch
><link
href=
/welfare/css/chunk-2107e6c5.4536701d.css
rel=
prefetch
><link
href=
/welfare/css/chunk-4b84bff4.963b4aa0.css
rel=
prefetch
><link
href=
/welfare/css/chunk-53f4695c.9908b7cb.css
rel=
prefetch
><link
href=
/welfare/css/chunk-8a171d34.8af5c3d1.css
rel=
prefetch
><link
href=
/welfare/css/chunk-9f31dcfe.75b8fd67.css
rel=
prefetch
><link
href=
/welfare/css/gic-card.0dafb3e6.css
rel=
prefetch
><link
href=
/welfare/js/card-package.c0ec8cb0.js
rel=
prefetch
><link
href=
/welfare/js/card-package~gic-card.dfadd734.js
rel=
prefetch
><link
href=
/welfare/js/chunk-02062f99.072e616f.js
rel=
prefetch
><link
href=
/welfare/js/chunk-2107e6c5.f2137ad1.js
rel=
prefetch
><link
href=
/welfare/js/chunk-35ba1f02.32555561.js
rel=
prefetch
><link
href=
/welfare/js/chunk-4b84bff4.fc2c14d9.js
rel=
prefetch
><link
href=
/welfare/js/chunk-53f4695c.23f8f592.js
rel=
prefetch
><link
href=
/welfare/js/chunk-8a171d34.53b72a0e.js
rel=
prefetch
><link
href=
/welfare/js/chunk-9f31dcfe.2b85ba0c.js
rel=
prefetch
><link
href=
/welfare/js/gic-card.acca0eb0.js
rel=
prefetch
><link
href=
/welfare/css/app.760c95a6.css
rel=
preload
as=
style
><link
href=
/welfare/js/app.d29143af.js
rel=
preload
as=
script
><link
href=
/welfare/js/chunk-vendors.e8c008b5.js
rel=
preload
as=
script
><link
href=
/welfare/css/app.760c95a6.css
rel=
stylesheet
></head><body
class=
damolish
><noscript><strong>
We're sorry but damolish doesn't work properly without JavaScript enabled. Please enable it to continue.
</strong></noscript><div
id=
app
></div><script
src=
//web-1251519181.file.myqcloud.com/lib-4.0/vue/2.6.10/vue.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib-4.0/vue-router/3.0.3/vue-router.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib-4.0/vuex/3.0.1/vuex.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib-4.0/axios/0.19.0/axios.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/base.1.0.0.17.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/layout.1.2.59.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/input.2.0.20.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/people-selector.1.0.10.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/store-select.1.1.78.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/goods-selector.1.0.51.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/card-select.1.0.33.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/link-tools.2.1.21.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/export-data.1.1.1.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/integral-select.1.0.26.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/rule-engine.1.0.86.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/pagination.1.0.10.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/perm-button.1.0.1.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/steps.1.0.1.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/upload-picture.1.0.6.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/upload-file.1.0.4.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/app-info.1.0.5.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/preview-img.1.0.3.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/delete.1.1.4.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/input-number.1.0.10.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/acc-group-select.1.0.3.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/editor.1.1.12.js
></script><script
src=
/welfare/js/chunk-vendors.e8c008b5.js
></script><script
src=
/welfare/js/app.d29143af.js
></script></body></html>
\ No newline at end of file
\ No newline at end of file
dist/js/app.
4d9b32f9
.js
→
dist/js/app.
d29143af
.js
View file @
f072691a
(
function
(
e
){
function
t
(
t
){
for
(
var
r
,
a
,
o
=
t
[
0
],
u
=
t
[
1
],
s
=
t
[
2
],
l
=
0
,
d
=
[];
l
<
o
.
length
;
l
++
)
a
=
o
[
l
],
Object
.
prototype
.
hasOwnProperty
.
call
(
c
,
a
)
&&
c
[
a
]
&&
d
.
push
(
c
[
a
][
0
]),
c
[
a
]
=
0
;
for
(
r
in
u
)
Object
.
prototype
.
hasOwnProperty
.
call
(
u
,
r
)
&&
(
e
[
r
]
=
u
[
r
]);
f
&&
f
(
t
);
while
(
d
.
length
)
d
.
shift
()();
return
i
.
push
.
apply
(
i
,
s
||
[]),
n
()}
function
n
(){
for
(
var
e
,
t
=
0
;
t
<
i
.
length
;
t
++
){
for
(
var
n
=
i
[
t
],
r
=!
0
,
a
=
1
;
a
<
n
.
length
;
a
++
){
var
o
=
n
[
a
];
0
!==
c
[
o
]
&&
(
r
=!
1
)}
r
&&
(
i
.
splice
(
t
--
,
1
),
e
=
u
(
u
.
s
=
n
[
0
]))}
return
e
}
var
r
=
{},
a
=
{
app
:
0
},
c
=
{
app
:
0
},
i
=
[];
function
o
(
e
){
return
u
.
p
+
"js/"
+
({
"card-package~gic-card"
:
"card-package~gic-card"
,
"card-package"
:
"card-package"
,
"gic-card"
:
"gic-card"
}[
e
]
||
e
)
+
"."
+
{
"card-package~gic-card"
:
"dfadd734"
,
"card-package"
:
"c0ec8cb0"
,
"gic-card"
:
"acca0eb0"
,
"chunk-2107e6c5"
:
"f2137ad1"
,
"chunk-35ba1f02"
:
"32555561"
,
"chunk-02062f99"
:
"072e616f"
,
"chunk-4b84bff4"
:
"fc2c14d9"
,
"chunk-53f4695c"
:
"23f8f592"
,
"chunk-8a171d34"
:
"53b72a0e"
,
"chunk-9f31dcfe"
:
"2b85ba0c"
}[
e
]
+
".js"
}
function
u
(
t
){
if
(
r
[
t
])
return
r
[
t
].
exports
;
var
n
=
r
[
t
]
=
{
i
:
t
,
l
:
!
1
,
exports
:{}};
return
e
[
t
].
call
(
n
.
exports
,
n
,
n
.
exports
,
u
),
n
.
l
=!
0
,
n
.
exports
}
u
.
e
=
function
(
e
){
var
t
=
[],
n
=
{
"card-package~gic-card"
:
1
,
"card-package"
:
1
,
"gic-card"
:
1
,
"chunk-2107e6c5"
:
1
,
"chunk-02062f99"
:
1
,
"chunk-4b84bff4"
:
1
,
"chunk-53f4695c"
:
1
,
"chunk-8a171d34"
:
1
,
"chunk-9f31dcfe"
:
1
};
a
[
e
]?
t
.
push
(
a
[
e
]):
0
!==
a
[
e
]
&&
n
[
e
]
&&
t
.
push
(
a
[
e
]
=
new
Promise
((
function
(
t
,
n
){
for
(
var
r
=
"css/"
+
({
"card-package~gic-card"
:
"card-package~gic-card"
,
"card-package"
:
"card-package"
,
"gic-card"
:
"gic-card"
}[
e
]
||
e
)
+
"."
+
{
"card-package~gic-card"
:
"78656863"
,
"card-package"
:
"ac4691b9"
,
"gic-card"
:
"0dafb3e6"
,
"chunk-2107e6c5"
:
"4536701d"
,
"chunk-35ba1f02"
:
"31d6cfe0"
,
"chunk-02062f99"
:
"757fd252"
,
"chunk-4b84bff4"
:
"963b4aa0"
,
"chunk-53f4695c"
:
"9908b7cb"
,
"chunk-8a171d34"
:
"8af5c3d1"
,
"chunk-9f31dcfe"
:
"75b8fd67"
}[
e
]
+
".css"
,
c
=
u
.
p
+
r
,
i
=
document
.
getElementsByTagName
(
"link"
),
o
=
0
;
o
<
i
.
length
;
o
++
){
var
s
=
i
[
o
],
l
=
s
.
getAttribute
(
"data-href"
)
||
s
.
getAttribute
(
"href"
);
if
(
"stylesheet"
===
s
.
rel
&&
(
l
===
r
||
l
===
c
))
return
t
()}
var
d
=
document
.
getElementsByTagName
(
"style"
);
for
(
o
=
0
;
o
<
d
.
length
;
o
++
){
s
=
d
[
o
],
l
=
s
.
getAttribute
(
"data-href"
);
if
(
l
===
r
||
l
===
c
)
return
t
()}
var
f
=
document
.
createElement
(
"link"
);
f
.
rel
=
"stylesheet"
,
f
.
type
=
"text/css"
,
f
.
onload
=
t
,
f
.
onerror
=
function
(
t
){
var
r
=
t
&&
t
.
target
&&
t
.
target
.
src
||
c
,
i
=
new
Error
(
"Loading CSS chunk "
+
e
+
" failed.
\
n("
+
r
+
")"
);
i
.
code
=
"CSS_CHUNK_LOAD_FAILED"
,
i
.
request
=
r
,
delete
a
[
e
],
f
.
parentNode
.
removeChild
(
f
),
n
(
i
)},
f
.
href
=
c
;
var
p
=
document
.
getElementsByTagName
(
"head"
)[
0
];
p
.
appendChild
(
f
)})).
then
((
function
(){
a
[
e
]
=
0
})));
var
r
=
c
[
e
];
if
(
0
!==
r
)
if
(
r
)
t
.
push
(
r
[
2
]);
else
{
var
i
=
new
Promise
((
function
(
t
,
n
){
r
=
c
[
e
]
=
[
t
,
n
]}));
t
.
push
(
r
[
2
]
=
i
);
var
s
,
l
=
document
.
createElement
(
"script"
);
l
.
charset
=
"utf-8"
,
l
.
timeout
=
120
,
u
.
nc
&&
l
.
setAttribute
(
"nonce"
,
u
.
nc
),
l
.
src
=
o
(
e
);
var
d
=
new
Error
;
s
=
function
(
t
){
l
.
onerror
=
l
.
onload
=
null
,
clearTimeout
(
f
);
var
n
=
c
[
e
];
if
(
0
!==
n
){
if
(
n
){
var
r
=
t
&&
(
"load"
===
t
.
type
?
"missing"
:
t
.
type
),
a
=
t
&&
t
.
target
&&
t
.
target
.
src
;
d
.
message
=
"Loading chunk "
+
e
+
" failed.
\
n("
+
r
+
": "
+
a
+
")"
,
d
.
name
=
"ChunkLoadError"
,
d
.
type
=
r
,
d
.
request
=
a
,
n
[
1
](
d
)}
c
[
e
]
=
void
0
}};
var
f
=
setTimeout
((
function
(){
s
({
type
:
"timeout"
,
target
:
l
})}),
12
e4
);
l
.
onerror
=
l
.
onload
=
s
,
document
.
head
.
appendChild
(
l
)}
return
Promise
.
all
(
t
)},
u
.
m
=
e
,
u
.
c
=
r
,
u
.
d
=
function
(
e
,
t
,
n
){
u
.
o
(
e
,
t
)
||
Object
.
defineProperty
(
e
,
t
,{
enumerable
:
!
0
,
get
:
n
})},
u
.
r
=
function
(
e
){
"undefined"
!==
typeof
Symbol
&&
Symbol
.
toStringTag
&&
Object
.
defineProperty
(
e
,
Symbol
.
toStringTag
,{
value
:
"Module"
}),
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
})},
u
.
t
=
function
(
e
,
t
){
if
(
1
&
t
&&
(
e
=
u
(
e
)),
8
&
t
)
return
e
;
if
(
4
&
t
&&
"object"
===
typeof
e
&&
e
&&
e
.
__esModule
)
return
e
;
var
n
=
Object
.
create
(
null
);
if
(
u
.
r
(
n
),
Object
.
defineProperty
(
n
,
"default"
,{
enumerable
:
!
0
,
value
:
e
}),
2
&
t
&&
"string"
!=
typeof
e
)
for
(
var
r
in
e
)
u
.
d
(
n
,
r
,
function
(
t
){
return
e
[
t
]}.
bind
(
null
,
r
));
return
n
},
u
.
n
=
function
(
e
){
var
t
=
e
&&
e
.
__esModule
?
function
(){
return
e
[
"default"
]}:
function
(){
return
e
};
return
u
.
d
(
t
,
"a"
,
t
),
t
},
u
.
o
=
function
(
e
,
t
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
t
)},
u
.
p
=
"/welfare/"
,
u
.
oe
=
function
(
e
){
throw
e
};
var
s
=
window
[
"webpackJsonp"
]
=
window
[
"webpackJsonp"
]
||
[],
l
=
s
.
push
.
bind
(
s
);
s
.
push
=
t
,
s
=
s
.
slice
();
for
(
var
d
=
0
;
d
<
s
.
length
;
d
++
)
t
(
s
[
d
]);
var
f
=
l
;
i
.
push
([
0
,
"chunk-vendors"
]),
n
()})({
0
:
function
(
e
,
t
,
n
){
e
.
exports
=
n
(
"56d7"
)},
"1b26"
:
function
(
e
,
t
,
n
){},
"1f99"
:
function
(
e
,
t
,
n
){},
2934
:
function
(
e
,
t
,
n
){
"use strict"
;
n
(
"8e6e"
),
n
(
"ac6a"
),
n
(
"456d"
);
var
r
=
n
(
"ade3"
),
a
=
n
(
"71f6"
),
c
=
n
(
"f121"
);
function
i
(
e
,
t
){
var
n
=
Object
.
keys
(
e
);
if
(
Object
.
getOwnPropertySymbols
){
var
r
=
Object
.
getOwnPropertySymbols
(
e
);
t
&&
(
r
=
r
.
filter
((
function
(
t
){
return
Object
.
getOwnPropertyDescriptor
(
e
,
t
).
enumerable
}))),
n
.
push
.
apply
(
n
,
r
)}
return
n
}
function
o
(
e
){
for
(
var
t
=
1
;
t
<
arguments
.
length
;
t
++
){
var
n
=
null
!=
arguments
[
t
]?
arguments
[
t
]:{};
t
%
2
?
i
(
Object
(
n
),
!
0
).
forEach
((
function
(
t
){
Object
(
r
[
"a"
])(
e
,
t
,
n
[
t
])})):
Object
.
getOwnPropertyDescriptors
?
Object
.
defineProperties
(
e
,
Object
.
getOwnPropertyDescriptors
(
n
)):
i
(
Object
(
n
)).
forEach
((
function
(
t
){
Object
.
defineProperty
(
e
,
t
,
Object
.
getOwnPropertyDescriptor
(
n
,
t
))}))}
return
e
}
var
u
=
{
loginUserMenu
:
"/login-user-menu"
,
loginUserMenuOfApp
:
"/login-user-menu-of-app"
},
s
=
{
getSubappList
:
"/area/member-cards"
},
l
=
{
getRelationId
:
"/notice-widget/generate-relation-id"
,
getAppInfo
:{
url
:
"/enterprise-serve-info"
,
alertError
:
!
1
},
getMallShopList
:
"/outer/all-mall-shop"
,
activityList
:
"/activity/list-marketing-page"
,
getActivityInfo
:
"/activity/get-marketing-activity"
};
s
=
Object
(
a
[
"a"
])(
s
,
c
[
"f"
]),
u
=
Object
(
a
[
"a"
])(
u
,
c
[
"b"
]),
l
=
Object
(
a
[
"a"
])(
l
,
c
[
"d"
]),
t
[
"a"
]
=
o
(
o
(
o
({},
u
),
l
),
s
);
c
[
"d"
]},
"3f0c"
:
function
(
e
,
t
,
n
){
e
.
exports
=
n
.
p
+
"img/w-card-package.31146dff.svg"
},
4360
:
function
(
e
,
t
,
n
){
"use strict"
;
n
(
"96cf"
);
var
r
=
n
(
"1da1"
),
a
=
(
n
(
"7514"
),
n
(
"20d6"
),
n
(
"8bbf"
)),
c
=
n
.
n
(
a
),
i
=
n
(
"5880"
),
o
=
n
.
n
(
i
),
u
=
n
(
"cf45"
);
c
.
a
.
use
(
o
.
a
),
t
[
"a"
]
=
new
o
.
a
.
Store
({
state
:{
lock
:
!
1
,
loading
:
!
1
,
defaultAreaId
:
""
,
currentAreaName
:
""
,
currentAreaId
:
""
,
deleteFlag
:
!
1
,
areaSubList
:[],
moduleCode
:
"welfare"
,
project
:
""
,
menu
:{},
extraHideLeft
:
""
,
mainHeight
:
0
,
routePath
:[]},
mutations
:{
updateRoutePath
:
function
(
e
,
t
){
e
.
routePath
=
t
},
updateMainHeight
:
function
(
e
,
t
){
e
.
mainHeight
=
t
},
updateLock
:
function
(
e
,
t
){
e
.
lock
=
t
},
updateAreaName
:
function
(
e
,
t
){
var
n
=
t
.
areaId
,
r
=
t
.
areaName
,
a
=
e
.
areaSubList
.
findIndex
((
function
(
e
){
return
e
.
areaId
===
n
}));
-
1
!==
a
&&
(
e
.
areaSubList
[
a
].
areaName
=
r
,
e
.
currentAreaId
===
n
&&
(
e
.
currentAreaName
=
r
))},
setSubAppList
:
function
(
e
,
t
){
e
.
areaSubList
=
t
},
setDefaultSubAppId
:
function
(
e
,
t
){},
setCurrentSubApp
:
function
(
e
,
t
){
var
n
=
e
.
areaSubList
.
find
((
function
(
e
){
return
e
.
areaId
===
t
}))
||
{};
Object
(
u
[
"b"
])(
e
.
moduleCode
,
"set"
,
t
),
e
.
currentAreaId
=
n
.
areaId
||
""
,
e
.
currentAreaName
=
n
.
areaName
||
""
,
e
.
deleteFlag
=
n
.
deleteFlag
||!
1
},
setProject
:
function
(
e
,
t
){
e
.
project
=
t
||
""
},
updateExtraHideLeft
:
function
(
e
,
t
){
e
.
extraHideLeft
=
t
||
""
}},
actions
:{
setDefaultAppId
:
function
(){
var
e
=
Object
(
r
[
"a"
])(
regeneratorRuntime
.
mark
((
function
e
(
t
,
n
){
return
regeneratorRuntime
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
this
.
commit
(
"setDefaultSubAppId"
,
n
);
case
1
:
case
"end"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(
t
,
n
){
return
e
.
apply
(
this
,
arguments
)}
return
t
}()},
plugins
:[]})},
"46f7"
:
function
(
e
,
t
,
n
){
e
.
exports
=
n
.
p
+
"img/w-virtual-gifts.99089b8c.svg"
},
"4c57"
:
function
(
e
,
t
,
n
){
e
.
exports
=
n
.
p
+
"img/w-real-gifts.f14bcf5b.svg"
},
"56d7"
:
function
(
e
,
t
,
n
){
"use strict"
;
n
.
r
(
t
);
n
(
"7f7f"
),
n
(
"ac6a"
),
n
(
"456d"
),
n
(
"cadf"
),
n
(
"551c"
),
n
(
"f751"
),
n
(
"097d"
),
n
(
"1f99"
),
n
(
"88ed"
),
n
(
"6861"
);
var
r
=
n
(
"5c96"
),
a
=
n
.
n
(
r
),
c
=
n
(
"cebe"
),
i
=
n
.
n
(
c
),
o
=
n
(
"8bbf"
),
u
=
n
.
n
(
o
),
s
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
n
=
e
.
_self
.
_c
||
t
;
return
n
(
"div"
,{
staticClass
:
"dm-reset"
,
attrs
:{
id
:
"app"
}},[
n
(
"router-view"
)],
1
)},
l
=
[],
d
=
(
n
(
"28a5"
),{
name
:
"App"
,
data
:
function
(){
return
{
isRouterAlive
:
!
0
}},
mounted
:
function
(){
this
.
$store
.
commit
(
"updateMainHeight"
,
document
.
body
.
offsetHeight
-
180
)},
watch
:{
$route
:{
handler
:
function
(
e
){
e
.
path
.
split
(
"/"
)[
1
]
&&
this
.
$store
.
commit
(
"setProject"
,
window
.
location
.
pathname
.
split
(
"/"
)[
2
])},
deep
:
!
0
,
immediate
:
!
0
}}}),
f
=
d
,
p
=
n
(
"2877"
),
g
=
Object
(
p
[
"a"
])(
f
,
s
,
l
,
!
1
,
null
,
null
,
null
),
m
=
g
.
exports
,
h
=
n
(
"a18c"
),
b
=
n
(
"d046"
),
v
=
(
n
(
"6c7b"
),
n
(
"c5f6"
),
n
(
"ed08"
)),
y
=
function
(
e
){
var
t
=
arguments
.
length
>
1
&&
void
0
!==
arguments
[
1
]?
arguments
[
1
]:
"¥"
,
n
=
arguments
.
length
>
2
&&
void
0
!==
arguments
[
2
]?
arguments
[
2
]:
2
,
r
=!
(
arguments
.
length
>
3
&&
void
0
!==
arguments
[
3
])
||
arguments
[
3
],
a
=
Number
(
e
);
return
isNaN
(
a
)?
e
:
""
.
concat
(
r
?
t
:
""
).
concat
(
Object
(
v
[
"d"
])(
a
,
n
))},
w
=
{
amountFormat
:
y
},
O
=
{
computed
:{
currentAreaId
:
function
(){
return
this
.
$store
.
state
.
currentAreaId
},
currentAreaIds
:
function
(){
return
this
.
$store
.
state
.
currentAreaId
?[
this
.
$store
.
state
.
currentAreaId
]:[]},
currentAreaDelete
:
function
(){
return
this
.
$store
.
state
.
delete_flag
}}},
k
=
n
(
"4360"
),
j
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
n
=
e
.
_self
.
_c
||
t
;
return
n
(
"dm-perm-button"
,{
attrs
:{
"perm-tip"
:
e
.
permTip
,
"perm-tip-placement"
:
e
.
permTipPlacement
,
size
:
e
.
size
,
type
:
e
.
type
,
plain
:
e
.
plain
,
round
:
e
.
round
,
loading
:
e
.
loading
,
disabled
:
e
.
disabled
,
icon
:
e
.
icon
,
autofocus
:
e
.
autofocus
,
"native-type"
:
e
.
nativeType
},
nativeOn
:{
click
:
function
(
t
){
return
e
.
handleClick
(
t
)}}},[
e
.
_t
(
"default"
)],
2
)},
x
=
[],
S
=
{
name
:
"MkButton"
,
props
:{
effect
:{
type
:
String
,
default
:
"dark"
},
delayTimes
:{
type
:
Number
,
default
:
300
},
permTipPlacement
:{
type
:
String
,
default
:
"top"
},
size
:
String
,
type
:
String
,
plain
:{
type
:
Boolean
,
default
:
!
1
},
round
:{
type
:
Boolean
,
default
:
!
1
},
circle
:{
type
:
Boolean
,
default
:
!
1
},
loading
:{
type
:
Boolean
,
default
:
!
1
},
icon
:
String
,
autofocus
:{
type
:
Boolean
,
default
:
!
1
},
nativeType
:{
type
:
String
,
default
:
"button"
},
option
:{
type
:
Object
,
default
:
function
(){
return
{}}}},
data
:
function
(){
return
{
permTip
:
""
,
disabled
:
!
1
}},
mounted
:
function
(){
return
this
.
option
.
perm
?(
this
.
permTip
=
"您无该操作权限,请联系超管!"
,
void
(
this
.
disabled
=!
0
)):
this
.
option
.
deleteFlag
?(
this
.
disabled
=!
0
,
void
(
this
.
permTip
=
this
.
option
.
deleteRemark
||
"域已被删除"
)):
void
0
},
methods
:{
handleClick
:
function
(){
this
.
disabled
||
this
.
$emit
(
"click"
)}}},
C
=
S
,
P
=
Object
(
p
[
"a"
])(
C
,
j
,
x
,
!
1
,
null
,
null
,
null
),
A
=
P
.
exports
,
I
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
n
=
e
.
_self
.
_c
||
t
;
return
n
(
"el-image"
,{
attrs
:{
src
:
e
.
src
,
fit
:
e
.
fit
,
lazy
:
e
.
lazy
,
"scroll-container"
:
e
.
scrollContainer
,
"preview-src-list"
:
e
.
previewSrcList
,
"z-index"
:
e
.
zIndex
},
on
:{
click
:
e
.
viewClick
},
scopedSlots
:
e
.
_u
([{
key
:
"error"
,
fn
:
function
(){
return
[
e
.
_t
(
"error"
)]},
proxy
:
!
0
}],
null
,
!
0
)})},
E
=
[],
_
=
{
name
:
"DmElImageView"
,
props
:{
src
:
String
,
fit
:
String
,
lazy
:
Boolean
,
scrollContainer
:{},
previewSrcList
:{
type
:
Array
,
default
:
function
(){
return
[]}},
zIndex
:{
type
:
Number
,
default
:
2
e3
}},
methods
:{
viewClick
:
function
(){
this
.
$emit
(
"click"
),
document
.
body
.
style
=
""
}}},
D
=
_
,
L
=
Object
(
p
[
"a"
])(
D
,
I
,
E
,
!
1
,
null
,
null
,
null
),
$
=
L
.
exports
,
M
=
{
gicCardFormAdd
:
"gicCardFormAdd"
,
gicCardFormCopy
:
"gicCardFormCopy"
,
gicCardFormInfo
:
"gicCardFormInfo"
,
gicCardFormEdit
:
"gicCardFormEdit"
,
gicCardFormDel
:
"gicCardFormDel"
,
gicCardGroupBtn
:
"gicCardGroupBtn"
,
gicCardMemberGetExport
:
"gicCardMemberGetExport"
,
gicCardGiveLogExport
:
"gicCardGiveLogExport"
,
gicCardGroupSendForm
:
"gicCardGroupSendForm"
,
gicCardGroupSendInfo
:
"gicCardGroupSendInfo"
,
gicCardGroupSendInfoLog
:
"gicCardGroupSendInfoLog"
,
gicCardStopGroupSend
:
"gicCardStopGroupSend"
,
gicCardSyncStock
:
"gicCardSyncStock"
,
gicCardDestory
:
"gicCardDestory"
,
gicCardDestoryExport
:
"gicCardDestoryExport"
,
gicAddPackage
:
"gicAddPackage"
,
gicEditPackage
:
"gicEditPackage"
,
gicDeletePackage
:
"gicDeletePackage"
,
gicSyncStockPack
:
"gicSyncStockPack"
,
gicAdjustStockPack
:
"gicAdjustStockPack"
,
gicCardShelfLogExportBtn
:
"gicCardShelfLogExportBtn"
},
T
=
(
n
(
"a481"
),
n
(
"96cf"
),
n
(
"1da1"
)),
N
=
(
n
(
"5df3"
),
n
(
"b775"
)),
F
=
""
,
U
=
[],
H
=
[],
B
=
{},
R
=
G
();
function
G
(){
var
e
=
window
.
location
.
origin
;
return
(
e
.
indexOf
(
"localhost"
)
>=
0
||
e
.
indexOf
(
"192.168"
)
>=
0
)
&&
(
e
=
"https://four.gicdev.com"
),
e
}
function
z
(){
return
Object
(
N
[
"a"
])({
url
:
"/gic-auth-web/get-login-user-info"
})}
function
V
(){
var
e
=
Object
(
N
[
"a"
])({
url
:
"/gic-auth-web/login-user-menu"
}).
then
((
function
(
e
){
H
=
W
(
e
.
result
||
[])})),
t
=
Object
(
N
[
"a"
])({
url
:
"/gic-auth-web/login-user-operation-item"
}).
then
((
function
(
e
){
B
=
K
(
e
.
result
||
[])}));
return
Promise
.
all
([
e
,
t
])}
function
q
(
e
){
return
J
.
apply
(
this
,
arguments
)}
function
J
(){
return
J
=
Object
(
T
[
"a"
])(
regeneratorRuntime
.
mark
((
function
e
(
t
){
var
n
,
r
,
a
,
c
,
i
;
return
regeneratorRuntime
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
n
=
""
,
e
.
next
=
3
,
Object
(
N
[
"a"
])({
url
:
"/gic-auth-web/get-app-by-code"
},{
menuCode
:
t
}).
then
((
function
(
e
){
n
=
e
.
result
}));
case
3
:
return
r
=
{
menu
:[
"/gic-auth-web/login-user-menu-of-app"
,
"/gic-auth-web/login-collaborator-menu-of-app"
],
opera
:[
"/gic-auth-web/login-user-operation-item-of-app"
,
"/gic-auth-web/login-collaborator-operation-item"
]},
a
=
0
,
e
.
next
=
7
,
Object
(
N
[
"a"
])({
url
:
"/application-center-web/business/cooperation-application/find-list"
}).
then
((
function
(
e
){
var
t
=
e
.
result
||
[];
t
.
some
((
function
(
e
){
return
e
.
applicationId
==
n
}))
&&
(
a
=
1
)}));
case
7
:
return
c
=
Object
(
N
[
"a"
])({
url
:
r
.
menu
[
a
]},{
appId
:
n
}).
then
((
function
(
e
){(
e
.
result
||
[]).
length
||
(
window
.
location
.
href
=
""
.
concat
(
R
,
"/damo-system/no-access"
)),
H
=
W
(
e
.
result
||
[]),
k
[
"a"
].
commit
(
"updateRoutePath"
,
e
.
result
?
e
.
result
[
0
].
children
:[])})),
i
=
Object
(
N
[
"a"
])({
url
:
r
.
opera
[
a
]},{
appId
:
n
}).
then
((
function
(
e
){(
e
.
result
||
[]).
length
||
(
window
.
location
.
href
=
""
.
concat
(
R
,
"/damo-system/no-access"
)),
B
=
K
(
e
.
result
||
[])})),
e
.
abrupt
(
"return"
,
Promise
.
all
([
c
,
i
]));
case
10
:
case
"end"
:
return
e
.
stop
()}}),
e
)}))),
J
.
apply
(
this
,
arguments
)}
function
W
(
e
){
var
t
=
[];
return
e
.
forEach
((
function
(
e
){
e
.
projectUrlForWeb
==
F
&&
e
.
menuUrl
&&
t
.
push
(
e
.
menuUrl
),
Array
.
isArray
(
e
.
children
)
&&
(
t
=
t
.
concat
(
W
(
e
.
children
)))})),
t
}
function
K
(
e
){
var
t
=
{};
return
e
.
forEach
((
function
(
e
){
t
[
e
.
menuCode
]
=!
0
})),
t
}
function
Y
(
e
){
var
t
=
[];
return
e
.
forEach
((
function
(
e
){
Array
.
isArray
(
e
.
children
)
&&
(
t
=
t
.
concat
(
Y
(
e
.
children
))),
t
.
push
(
e
.
path
)})),
t
}
function
Q
(
e
,
t
,
n
){
var
r
=
H
.
some
((
function
(
t
){
return
t
.
indexOf
(
"/#"
)
>=
0
?
t
==
"/#"
.
concat
(
e
.
path
):
t
==
e
.
path
}));
if
(
r
)
return
Object
.
assign
(
i
.
a
.
defaults
.
headers
.
common
,{
route
:
e
.
path
}),
n
();
U
.
some
((
function
(
t
){
return
t
==
e
.
path
}))
||
0
==
H
.
length
?
window
.
location
.
href
=
""
.
concat
(
R
,
"/damo-system/no-access"
):(
Object
.
assign
(
i
.
a
.
defaults
.
headers
.
common
,{
route
:
H
[
0
]}),
n
(
H
[
0
]))}
function
X
(
e
){
return
!!
B
[
e
]}
var
Z
=
function
(
e
){
var
t
=
e
.
projectPath
,
n
=
e
.
isApp
,
r
=
e
.
writeRoute
,
a
=
e
.
router
,
c
=
e
.
routes
,
o
=
e
.
createApp
,
s
=
e
.
menuCode
,
l
=
u
.
a
.
prototype
.
$loading
({
lock
:
!
0
,
customClass
:
"medium"
});
F
=
t
,
window
.
addEventListener
(
"load"
,
Object
(
T
[
"a"
])(
regeneratorRuntime
.
mark
((
function
e
(){
var
u
;
return
regeneratorRuntime
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
if
(
u
=
window
.
location
.
pathname
,
-
1
!=
u
.
indexOf
(
"/login"
)){
e
.
next
=
11
;
break
}
return
e
.
next
=
4
,
z
().
then
((
function
(
e
){
var
n
=
e
.
result
||
{},
r
=
n
.
enterpriseId
;
Object
.
assign
(
i
.
a
.
defaults
.
headers
.
common
,{
sign
:
r
,
project
:
t
.
replace
(
/^
\/
/
,
""
),
route
:
u
.
replace
(
t
,
""
)})}));
case
4
:
if
(
!
n
){
e
.
next
=
9
;
break
}
return
e
.
next
=
7
,
q
(
s
);
case
7
:
e
.
next
=
11
;
break
;
case
9
:
return
e
.
next
=
11
,
V
();
case
11
:
Array
.
isArray
(
r
)
&&
(
H
=
H
.
concat
(
r
)),
Array
.
isArray
(
c
)
&&
(
U
=
Y
(
c
)),
a
.
beforeEach
(
Q
),
"function"
==
typeof
o
&&
(
l
.
close
(),
o
());
case
15
:
case
"end"
:
return
e
.
stop
()}}),
e
)}))))};
u
.
a
.
use
(
a
.
a
),
i
.
a
.
defaults
.
withCredentials
=!
0
,
u
.
a
.
prototype
.
axios
=
i
.
a
,
u
.
a
.
config
.
productionTip
=!
1
,
Object
.
keys
(
w
).
map
((
function
(
e
){
return
u
.
a
.
filter
(
e
,
w
[
e
])})),
u
.
a
.
mixin
(
O
),
u
.
a
.
component
(
"mk-button"
,
A
),
u
.
a
.
component
(
$
.
name
,
$
),
u
.
a
.
prototype
.
axios
.
interceptors
.
request
.
use
((
function
(
e
){
return
e
.
headers
[
"isControl"
]
=!
0
,
e
})),
u
.
a
.
prototype
.
$tips
=
Object
(
v
[
"b"
])(
r
[
"Message"
],
1500
),
u
.
a
.
prototype
.
$itemCode
=
M
,
u
.
a
.
prototype
.
$itemPerm
=
X
,
u
.
a
.
config
.
devtools
=!
1
,
window
.
Promise
.
prototype
.
finally
=
function
(
e
){
var
t
=
this
.
constructor
;
return
this
.
then
((
function
(
n
){
return
t
.
resolve
(
e
()).
then
((
function
(){
return
n
}))}),(
function
(
n
){
return
t
.
resolve
(
e
()).
then
((
function
(){
throw
n
}))}))},
Z
({
router
:
h
[
"a"
],
routes
:
b
[
"a"
],
projectPath
:
"/welfare"
,
writeRoute
:[
"/index"
],
menuCode
:
"welfare"
,
isApp
:
!
0
,
createApp
:
function
(){
new
u
.
a
({
router
:
h
[
"a"
],
store
:
k
[
"a"
],
render
:
function
(
e
){
return
e
(
m
)}}).
$mount
(
"#app"
)}})},
5880
:
function
(
e
,
t
){
e
.
exports
=
Vuex
},
"5a97"
:
function
(
e
,
t
,
n
){},
6389
:
function
(
e
,
t
){
e
.
exports
=
VueRouter
},
6861
:
function
(
e
,
t
,
n
){},
"71f6"
:
function
(
e
,
t
,
n
){
"use strict"
;
n
.
d
(
t
,
"a"
,(
function
(){
return
a
}));
n
(
"ac6a"
),
n
(
"456d"
);
var
r
=
n
(
"b775"
);
function
a
(
e
,
t
){
e
=
e
||
{};
var
n
=
Object
.
keys
(
e
);
return
n
.
forEach
((
function
(
n
){
var
a
=
e
[
n
];
"string"
===
typeof
a
&&
(
a
=
{
url
:
a
}),
a
.
url
=
""
.
concat
(
t
).
concat
(
a
.
url
),
e
[
n
]
=
function
(
e
,
t
){
return
Object
(
r
[
"a"
])(
a
,
e
,
t
)}})),
e
}},
7769
:
function
(
e
,
t
,
n
){
var
r
=
{
"./more.svg"
:
"bf71"
,
"./w-card-package.svg"
:
"3f0c"
,
"./w-gic-card.svg"
:
"903e"
,
"./w-real-gifts.svg"
:
"4c57"
,
"./w-virtual-gifts.svg"
:
"46f7"
};
function
a
(
e
){
var
t
=
c
(
e
);
return
n
(
t
)}
function
c
(
e
){
if
(
!
n
.
o
(
r
,
e
)){
var
t
=
new
Error
(
"Cannot find module '"
+
e
+
"'"
);
throw
t
.
code
=
"MODULE_NOT_FOUND"
,
t
}
return
r
[
e
]}
a
.
keys
=
function
(){
return
Object
.
keys
(
r
)},
a
.
resolve
=
c
,
e
.
exports
=
a
,
a
.
id
=
"7769"
},
"87d1"
:
function
(
e
,
t
,
n
){
"use strict"
;
n
(
"f8f5"
)},
"88ed"
:
function
(
e
,
t
,
n
){},
"8bbf"
:
function
(
e
,
t
){
e
.
exports
=
Vue
},
"903e"
:
function
(
e
,
t
,
n
){
e
.
exports
=
n
.
p
+
"img/w-gic-card.fbf4ef92.svg"
},
a18c
:
function
(
e
,
t
,
n
){
"use strict"
;
var
r
=
n
(
"6389"
),
a
=
n
.
n
(
r
),
c
=
n
(
"d046"
),
i
=
new
a
.
a
({
mode
:
"history"
,
base
:
"/welfare/"
,
routes
:
c
[
"a"
],
scrollBehavior
:
function
(
e
,
t
,
n
){
if
(
n
&&
e
.
meta
.
keepAlive
)
return
n
;
document
.
documentElement
.
scrollTop
=
0
}});
t
[
"a"
]
=
i
},
b775
:
function
(
e
,
t
,
n
){
"use strict"
;
n
.
d
(
t
,
"a"
,(
function
(){
return
f
}));
n
(
"a481"
),
n
(
"ac6a"
),
n
(
"456d"
),
n
(
"6762"
),
n
(
"2fdb"
);
var
r
=
n
(
"cebe"
),
a
=
n
.
n
(
r
),
c
=
n
(
"4328"
),
i
=
n
.
n
(
c
),
o
=
n
(
"5c96"
),
u
=
n
(
"f121"
),
s
=
n
(
"4360"
),
l
=
[
"/gic-auth-web/get-login-user-info"
,
"/api-marketing/enterprise-serve-info"
,
"/gic-auth-web/login-user-menu-of-app"
,
"/api-welfare/area/member-cards"
,
"/gic-auth-web/login-collaborator-operation-item"
,
"/gic-auth-web/login-user-operation-item-of-app"
,
"/gic-auth-web/login-collaborator-menu-of-app"
,
"/gic-auth-web/login-user-operation-item"
,
"/application-center-web/business/cooperation-application/find-list"
,
"/gic-auth-web/get-app-by-code"
];
function
d
(
e
){
switch
(
e
){
case
404
:
window
.
location
.
href
=
u
[
"e"
]
+
"/damo-system/404"
;
break
;
case
403
:
window
.
location
.
href
=
u
[
"e"
]
+
"/damo-system/403"
;
break
;
case
500
:
window
.
location
.
href
=
u
[
"e"
]
+
"/damo-system/500"
;
break
}}
a
.
a
.
defaults
.
baseURL
=
u
[
"e"
];
var
f
=
function
(
e
,
t
,
n
){
if
((
!
s
[
"a"
].
state
.
project
||
s
[
"a"
].
state
.
project
.
includes
(
"card"
)
&&!
s
[
"a"
].
state
.
currentAreaId
)
&&!
l
.
includes
(
e
.
url
))
return
new
Promise
((
function
(
e
,
t
){
t
()}));
if
(
t
=
Object
.
assign
({},
t
),
e
=
Object
.
assign
({},
e
),
e
.
rest
){
delete
e
.
rest
;
var
r
=
e
.
url
;
Object
.
keys
(
n
).
map
((
function
(
e
){
r
=
r
.
replace
(
"{"
.
concat
(
e
,
"}"
),
n
[
e
])})),
e
.
url
=
r
}
var
c
=
void
0
===
e
.
alertError
||
e
.
alertError
;
delete
e
.
alertError
;
var
f
=
{
url
:
""
,
params
:
""
,
data
:
""
,
method
:
"get"
,
useFormData
:
!
1
,
useIntercept
:
!
0
,
headers
:{}};
if
(
f
=
Object
.
assign
(
f
,
e
),
e
.
export
)
f
.
params
=
t
.
listParams
,
f
.
data
=
t
.
excel
;
else
switch
(
f
.
useFormData
&&
(
t
=
i
.
a
.
stringify
(
t
)),
f
.
method
.
toLowerCase
()){
case
"get"
:
f
.
params
=
t
;
break
;
case
"post"
:
f
.
data
=
t
;
break
;
default
:
f
.
data
=
t
;
break
}
return
new
Promise
((
function
(
e
,
t
){
a
()(
f
).
then
((
function
(
n
){
var
r
=
n
.
data
;
if
(
"6666"
==
r
.
code
){
var
a
=
window
.
location
.
origin
;(
a
.
indexOf
(
"localhost"
)
>=
0
||
a
.
indexOf
(
"192.168"
)
>=
0
)
&&
(
a
=
"https://four.gicdev.com"
),
window
.
location
.
href
=
""
.
concat
(
a
,
"/damo-system/login"
)}
if
(
f
.
useIntercept
&&
r
.
code
!=
u
[
"a"
])
return
c
&&
Object
(
o
[
"Message"
])({
message
:(
r
.
message
||
"数据加载失败"
).
slice
(
0
,
300
),
type
:
"warning"
}),
t
(
r
);
e
(
r
)})).
catch
((
function
(
e
){
e
&&
d
(
e
.
response
.
status
),
Object
(
o
[
"Message"
])({
message
:(
e
.
response
.
data
.
message
||
"数据加载失败"
).
slice
(
0
,
300
),
type
:
"warning"
}),
t
(
e
)}))}))}},
bf71
:
function
(
e
,
t
,
n
){
e
.
exports
=
n
.
p
+
"img/more.1eaea93a.svg"
},
cebe
:
function
(
e
,
t
){
e
.
exports
=
axios
},
cf45
:
function
(
e
,
t
,
n
){
"use strict"
;
n
.
d
(
t
,
"d"
,(
function
(){
return
f
})),
n
.
d
(
t
,
"a"
,(
function
(){
return
p
})),
n
.
d
(
t
,
"b"
,(
function
(){
return
g
})),
n
.
d
(
t
,
"c"
,(
function
(){
return
m
}));
n
(
"8e6e"
),
n
(
"ac6a"
),
n
(
"456d"
),
n
(
"20d6"
),
n
(
"28a5"
),
n
(
"6762"
),
n
(
"2fdb"
);
var
r
=
n
(
"ade3"
),
a
=
n
(
"5c96"
),
c
=
n
(
"4360"
),
i
=
n
(
"f121"
),
o
=
n
(
"4328"
),
u
=
n
.
n
(
o
);
function
s
(
e
,
t
){
var
n
=
Object
.
keys
(
e
);
if
(
Object
.
getOwnPropertySymbols
){
var
r
=
Object
.
getOwnPropertySymbols
(
e
);
t
&&
(
r
=
r
.
filter
((
function
(
t
){
return
Object
.
getOwnPropertyDescriptor
(
e
,
t
).
enumerable
}))),
n
.
push
.
apply
(
n
,
r
)}
return
n
}
function
l
(
e
){
for
(
var
t
=
1
;
t
<
arguments
.
length
;
t
++
){
var
n
=
null
!=
arguments
[
t
]?
arguments
[
t
]:{};
t
%
2
?
s
(
Object
(
n
),
!
0
).
forEach
((
function
(
t
){
Object
(
r
[
"a"
])(
e
,
t
,
n
[
t
])})):
Object
.
getOwnPropertyDescriptors
?
Object
.
defineProperties
(
e
,
Object
.
getOwnPropertyDescriptors
(
n
)):
s
(
Object
(
n
)).
forEach
((
function
(
t
){
Object
.
defineProperty
(
e
,
t
,
Object
.
getOwnPropertyDescriptor
(
n
,
t
))}))}
return
e
}
var
d
=
i
[
"c"
],
f
=
function
(
e
,
t
,
n
,
r
){
var
c
=
arguments
.
length
>
4
&&
void
0
!==
arguments
[
4
]?
arguments
[
4
]:{},
i
=
"top-icon"
,
o
=
c
.
dangerouslyUseHTMLString
,
u
=
void
0
===
o
||
o
,
s
=
c
.
title
,
d
=
void
0
===
s
?
""
:
s
,
f
=
c
.
showClose
,
p
=
void
0
!==
f
&&
f
,
g
=
c
.
confirmButtonText
,
m
=
void
0
===
g
?
"确认"
:
g
,
h
=
c
.
cancelButtonText
,
b
=
void
0
===
h
?
"取消"
:
h
,
v
=
c
.
distinguishCancelAndClose
,
y
=
void
0
!==
v
&&
v
;
d
&&
(
i
+=
" show-title"
),
a
[
"MessageBox"
].
confirm
(
e
,
d
,{
customClass
:
i
,
showClose
:
p
,
dangerouslyUseHTMLString
:
u
,
confirmButtonText
:
m
,
cancelButtonText
:
b
,
distinguishCancelAndClose
:
y
,
type
:
"warning"
}).
then
((
function
(){
t
&&
t
(
n
)})).
catch
((
function
(
e
){
r
&&
r
(
l
(
l
({},
n
),{},{
action
:
e
}))}))},
p
=
function
(
e
){
var
t
=
e
.
config
,
n
=
e
.
listParams
,
r
=
e
.
fieldList
,
a
=
e
.
path
,
i
=
e
.
pathName
,
o
=
e
.
query
,
s
=
{},
f
=
l
({},
t
),
p
=
r
.
filter
((
function
(
e
){
return
t
.
fields
.
includes
(
e
.
value
)}))
||
[],
g
=
u
.
a
.
stringify
(
o
);
return
f
.
sensKeys
=
p
.
filter
((
function
(
e
){
return
e
.
sensKey
})).
map
((
function
(
e
){
return
e
.
value
})),
f
.
fieldKeys
=
p
.
map
((
function
(
e
){
return
e
.
value
})),
f
.
fieldNames
=
p
.
map
((
function
(
e
){
return
e
.
label
})),
f
.
dataUrl
=
""
.
concat
(
d
.
api
,
"/welfare"
).
concat
(
a
).
concat
(
g
?
"?"
+
g
:
""
),
f
.
dataContent
=
i
,
delete
f
.
fields
,
s
.
excel
=
f
,
"wechat"
==
c
[
"a"
].
state
.
project
?
n
.
wechatId
=
c
[
"a"
].
state
.
currentAreaId
:
n
.
memberCardId
=
c
[
"a"
].
state
.
currentAreaId
,
s
.
listParams
=
n
,
s
},
g
=
function
(
e
){
var
t
=
arguments
.
length
>
1
&&
void
0
!==
arguments
[
1
]?
arguments
[
1
]:
"get"
,
n
=
arguments
.
length
>
2
?
arguments
[
2
]:
void
0
,
r
=
window
.
localStorage
.
getItem
(
"welfare-ct-id"
)
||
"{}"
;
if
(
r
=
JSON
.
parse
(
r
),
"get"
===
t
)
return
r
[
e
];
"set"
===
t
&&
(
r
[
e
]
=
n
,
window
.
localStorage
.
setItem
(
"welfare-ct-id"
,
JSON
.
stringify
(
r
)))},
m
=
function
(
e
,
t
){
var
n
=
e
?
new
Date
(
e
):
new
Date
;
return
1
==
t
&&
(
n
.
setHours
(
0
),
n
.
setMinutes
(
0
),
n
.
setSeconds
(
0
),
n
.
setMilliseconds
(
0
)),
2
==
t
&&
(
n
.
setHours
(
23
),
n
.
setMinutes
(
59
),
n
.
setSeconds
(
59
),
n
.
setMilliseconds
(
999
)),
n
.
getTime
()}},
d046
:
function
(
e
,
t
,
n
){
"use strict"
;
n
.
d
(
t
,
"a"
,(
function
(){
return
B
}));
var
r
=
n
(
"2909"
),
a
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
n
=
e
.
_self
.
_c
||
t
;
return
n
(
"div"
,[
n
(
"dm-layout"
,{
class
:{
"hide-left"
:
!
e
.
showLeft
},
attrs
:{
"is-app"
:
""
,
"first-menu-code"
:
e
.
menuCode
,
"force-show-aside"
:
e
.
showLeft
}},[
n
(
"div"
,{
attrs
:{
slot
:
"maside"
},
slot
:
"maside"
},[
n
(
"el-dropdown"
,{
staticClass
:
"m-title"
,
attrs
:{
"hide-on-click"
:
!
1
}},[
n
(
"div"
,{
staticClass
:
"el-dropdown-link"
},[
n
(
"div"
,[
n
(
"p"
,{
staticClass
:
"ellipsis"
},[
e
.
_v
(
e
.
_s
(
e
.
currentAreaName
||
"未选择域"
))]),
n
(
"i"
,{
staticClass
:
"el-icon-arrow-down el-icon--right"
})])]),
n
(
"el-dropdown-menu"
,{
staticClass
:
"m-title-menu"
,
attrs
:{
slot
:
"dropdown"
},
slot
:
"dropdown"
},
e
.
_l
(
e
.
areaSubList
,(
function
(
t
,
r
){
return
n
(
"el-dropdown-item"
,{
key
:
t
.
areaId
+
"-"
+
r
,
class
:{
checked
:
t
.
areaId
===
e
.
currentAreaId
}},[
n
(
"dl"
,{
on
:{
click
:
function
(
n
){
return
e
.
setCurrentApp
(
t
)}}},[
n
(
"dd"
,[
n
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
areaName
))]),
t
.
deleteFlag
?
n
(
"el-tag"
,{
staticClass
:
"ml5"
,
attrs
:{
effect
:
"plain"
,
type
:
"info"
}},[
e
.
_v
(
"已删除"
)]):
e
.
_e
()],
1
)]),
n
(
"i"
,{
staticClass
:
"el-icon-check select-icon"
})])})),
1
)],
1
),
n
(
"aside-menu"
,{
ref
:
"asideMenu"
})],
1
),
n
(
"div"
,{
attrs
:{
slot
:
"bread"
},
slot
:
"bread"
},[
n
(
"app-info"
,{
attrs
:{
code
:
e
.
moduleCode
}})],
1
)]),
n
(
"el-dialog"
,{
attrs
:{
visible
:
e
.
noAreaWarnVisible
,
"append-to-body"
:
""
,
width
:
"500px"
,
"close-on-press-escape"
:
!
1
,
"close-on-click-modal"
:
!
0
,
"show-close"
:
!
1
,
"lock-scroll"
:
""
}},[
n
(
"div"
,{
staticClass
:
"text-center"
},[
n
(
"p"
,{
staticClass
:
"gray02 fz16"
,
staticStyle
:{
display
:
"flex"
,
"justify-content"
:
"center"
,
"align-items"
:
"center"
}},[
n
(
"i"
,{
staticClass
:
"el-icon-warning fz30 mr5 warning-color"
}),
e
.
_v
(
"暂无资源权限"
)]),
n
(
"p"
,{
staticClass
:
"fz13 gray03 mt20"
},[
e
.
_v
(
"没有资源权限,如:可操作的会员卡、服务号等,请联系管理员进行配置"
)])]),
n
(
"span"
,{
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
n
(
"div"
,{
staticClass
:
"text-center pb20"
},[
n
(
"el-button"
,{
on
:{
click
:
e
.
toAppCenter
}},[
e
.
_v
(
" 返回应用中心"
)])],
1
)])]),
n
(
"switch-page"
)],
1
)},
c
=
[],
i
=
(
n
(
"8e6e"
),
n
(
"ac6a"
),
n
(
"456d"
),
n
(
"ade3"
)),
o
=
(
n
(
"6762"
),
n
(
"2fdb"
),
n
(
"96cf"
),
n
(
"1da1"
)),
u
=
(
n
(
"28a5"
),
n
(
"5880"
)),
s
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
n
=
e
.
_self
.
_c
||
t
;
return
n
(
"el-menu"
,{
ref
:
"asideMenu"
,
attrs
:{
"default-active"
:
e
.
activeIndex
},
on
:{
select
:
e
.
handleSelect
}},[
e
.
_l
(
e
.
menu
,(
function
(
t
){
return
[
0
!=
t
.
isShow
&&
Array
.
isArray
(
t
.
children
)
&&
t
.
children
.
filter
((
function
(
e
){
return
e
.
isShow
})).
length
>
0
?
n
(
"el-submenu"
,{
key
:
t
.
menuId
,
attrs
:{
"popper-class"
:
"dm-menu-submenu"
,
index
:
""
+
t
.
menuId
}},[
n
(
"template"
,{
slot
:
"title"
},[
n
(
"i"
,{
class
:[
"menu-icon"
,
t
.
iconUrl
]}),
n
(
"span"
,{
staticClass
:
"menu-text"
},[
e
.
_v
(
e
.
_s
(
t
.
menuName
))])]),
e
.
_l
(
t
.
children
,(
function
(
r
){
return
[
0
!=
r
.
isShow
?
n
(
"el-menu-item"
,{
key
:
r
.
menuId
,
attrs
:{
index
:
t
.
menuId
+
"-"
+
r
.
menuId
}},[
n
(
"i"
,{
class
:[
"menu-icon"
,
r
.
iconUrl
]}),
n
(
"span"
,{
staticClass
:
"menu-text"
,
attrs
:{
slot
:
"title"
},
slot
:
"title"
},[
e
.
_v
(
e
.
_s
(
r
.
menuName
))])]):
e
.
_e
()]}))],
2
):
0
!=
t
.
isShow
?
n
(
"el-menu-item"
,{
key
:
t
.
menuId
,
attrs
:{
index
:
""
+
t
.
menuId
}},[
n
(
"i"
,{
class
:[
"menu-icon"
,
t
.
iconUrl
]}),
n
(
"span"
,{
staticClass
:
"menu-text"
,
attrs
:{
slot
:
"title"
},
slot
:
"title"
},[
e
.
_v
(
e
.
_s
(
t
.
menuName
))])]):
e
.
_e
()]}))],
2
)},
l
=
[];
n
(
"7514"
),
n
(
"a481"
);
function
d
(
e
,
t
){
var
n
=
Object
.
keys
(
e
);
if
(
Object
.
getOwnPropertySymbols
){
var
r
=
Object
.
getOwnPropertySymbols
(
e
);
t
&&
(
r
=
r
.
filter
((
function
(
t
){
return
Object
.
getOwnPropertyDescriptor
(
e
,
t
).
enumerable
}))),
n
.
push
.
apply
(
n
,
r
)}
return
n
}
function
f
(
e
){
for
(
var
t
=
1
;
t
<
arguments
.
length
;
t
++
){
var
n
=
null
!=
arguments
[
t
]?
arguments
[
t
]:{};
t
%
2
?
d
(
Object
(
n
),
!
0
).
forEach
((
function
(
t
){
Object
(
i
[
"a"
])(
e
,
t
,
n
[
t
])})):
Object
.
getOwnPropertyDescriptors
?
Object
.
defineProperties
(
e
,
Object
.
getOwnPropertyDescriptors
(
n
)):
d
(
Object
(
n
)).
forEach
((
function
(
t
){
Object
.
defineProperty
(
e
,
t
,
Object
.
getOwnPropertyDescriptor
(
n
,
t
))}))}
return
e
}
var
p
=
{
name
:
"AsideMenu"
,
data
:
function
(){
return
{
menuFlat
:[],
parentdIds
:[],
activeIndex
:
""
}},
methods
:{
flat
:
function
(
e
){
var
t
=
this
;
e
.
forEach
((
function
(
e
){
t
.
menuFlat
.
push
(
e
),
Array
.
isArray
(
e
.
children
)
&&
e
.
children
.
length
>
0
&&
t
.
flat
(
e
.
children
)}))},
handleSelect
:
function
(
e
){
var
t
=
this
,
n
=
window
.
location
.
pathname
;
n
=
n
.
split
(
"/"
)[
1
],
n
=
"/"
.
concat
(
n
);
var
r
=
e
.
split
(
"-"
),
a
=
r
.
length
>
1
?
r
[
1
]:
r
[
0
],
c
=
this
.
menuFlat
.
filter
((
function
(
e
){
return
e
.
menuId
==
a
}))[
0
]
||
{},
i
=
c
.
menuUrl
||
""
,
o
=
c
.
projectUrlForWeb
;
if
(
r
.
length
>
1
){
var
u
=
c
.
children
||
[];
u
[
0
]
&&
u
[
0
].
menuUrl
&&
(
i
=
u
[
0
].
menuUrl
,
o
=
u
[
0
].
projectUrlForWeb
)}
this
.
menu
.
map
((
function
(
e
){
Array
.
isArray
(
e
.
children
)
&&
e
.
children
.
length
>
0
&&
e
.
menuId
!=
r
[
0
]
&&
e
.
children
.
some
((
function
(
e
){
return
e
.
isShow
}))
&&
t
.
$refs
.
asideMenu
.
close
(
""
.
concat
(
e
.
menuId
))})),
n
===
o
?
this
.
$router
.
push
(
i
.
replace
(
"/#"
,
""
)):
window
.
location
.
href
=
""
.
concat
(
o
).
concat
(
i
)},
getActiveIndex
:
function
(){
var
e
=
this
,
t
=
this
.
menu
.
find
((
function
(
t
){
if
(
!
t
.
children
||!
t
.
children
.
filter
((
function
(
e
){
return
e
.
isShow
})).
length
)
return
t
.
menuUrl
===
e
.
$route
.
path
||
t
.
menuUrl
===
e
.
$route
.
meta
.
path
;
var
n
=
t
.
children
.
find
((
function
(
t
){
return
t
.
menuUrl
===
e
.
$route
.
path
||
t
.
menuUrl
===
e
.
$route
.
meta
.
path
}));
return
!!
n
||
void
0
}));
if
(
t
)
if
(
t
.
children
&&
t
.
children
.
filter
((
function
(
e
){
return
e
.
isShow
})).
length
){
var
n
=
t
.
children
.
find
((
function
(
t
){
return
t
.
menuUrl
===
e
.
$route
.
path
||
t
.
menuUrl
===
e
.
$route
.
meta
.
path
}));
this
.
activeIndex
=
""
.
concat
(
t
.
menuId
,
"-"
).
concat
(
n
.
menuId
)}
else
this
.
activeIndex
=
""
.
concat
(
t
.
menuId
)}},
computed
:
f
(
f
({},
Object
(
u
[
"mapState"
])([
"routePath"
,
"menuCode"
,
"project"
])),{},{
menu
:
function
(){
var
e
=
this
.
project
;
if
(
""
==
e
||
"index"
==
e
)
return
[];
var
t
=
e
.
includes
(
"card"
)?
"card"
:
"gift"
,
n
=
this
.
routePath
.
filter
((
function
(
e
){
return
e
.
menuCode
.
includes
(
t
)}));
return
n
||
[]}}),
watch
:{
menu
:{
handler
:
function
(){
this
.
flat
(
this
.
menu
.
slice
()),
this
.
getActiveIndex
()},
deep
:
!
0
,
immediate
:
!
0
},
"$route.path"
:{
handler
:
function
(){}}}},
g
=
p
,
m
=
n
(
"2877"
),
h
=
Object
(
m
[
"a"
])(
g
,
s
,
l
,
!
1
,
null
,
null
,
null
),
b
=
h
.
exports
,
v
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
r
=
e
.
_self
.
_c
||
t
;
return
""
!=
e
.
project
&&
"index"
!=
e
.
project
?
r
(
"el-popover"
,{
attrs
:{
placement
:
"left-end"
,
width
:
"143"
,
trigger
:
"hover"
,
"popper-class"
:
"sw-page-pop"
}},[
r
(
"div"
,
e
.
_l
(
e
.
wfTypes
,(
function
(
t
,
a
){
return
r
(
"ul"
,{
key
:
a
,
staticClass
:
"toggle"
},[
r
(
"li"
,{
directives
:[{
name
:
"show"
,
rawName
:
"v-show"
,
value
:
"w-"
+
e
.
project
!=
t
.
code
,
expression
:
"('w-' + project) != item.code"
}]},[
r
(
"router-link"
,{
attrs
:{
to
:
t
.
target
}},[
r
(
"img"
,{
attrs
:{
src
:
n
(
"7769"
)(
"./"
+
t
.
code
+
".svg"
),
width
:
"16"
}}),
e
.
_v
(
e
.
_s
(
t
.
title
))])],
1
)])})),
0
),
r
(
"div"
,{
staticClass
:
"switch-page"
,
attrs
:{
slot
:
"reference"
},
slot
:
"reference"
},[
r
(
"img"
,{
attrs
:{
src
:
n
(
"bf71"
),
width
:
"30"
,
height
:
"30"
}})])]):
e
.
_e
()},
y
=
[],
w
=
n
(
"f9e4"
),
O
=
{
name
:
"SwitchPage"
,
data
:
function
(){
return
{
wfTypes
:
w
[
"b"
]}},
computed
:{
project
:
function
(){
return
this
.
$store
.
state
.
project
}}},
k
=
O
,
j
=
(
n
(
"fac9"
),
n
(
"87d1"
),
Object
(
m
[
"a"
])(
k
,
v
,
y
,
!
1
,
null
,
"40388a5c"
,
null
)),
x
=
j
.
exports
,
S
=
n
(
"cf45"
),
C
=
n
(
"2934"
);
function
P
(
e
,
t
){
var
n
=
Object
.
keys
(
e
);
if
(
Object
.
getOwnPropertySymbols
){
var
r
=
Object
.
getOwnPropertySymbols
(
e
);
t
&&
(
r
=
r
.
filter
((
function
(
t
){
return
Object
.
getOwnPropertyDescriptor
(
e
,
t
).
enumerable
}))),
n
.
push
.
apply
(
n
,
r
)}
return
n
}
function
A
(
e
){
for
(
var
t
=
1
;
t
<
arguments
.
length
;
t
++
){
var
n
=
null
!=
arguments
[
t
]?
arguments
[
t
]:{};
t
%
2
?
P
(
Object
(
n
),
!
0
).
forEach
((
function
(
t
){
Object
(
i
[
"a"
])(
e
,
t
,
n
[
t
])})):
Object
.
getOwnPropertyDescriptors
?
Object
.
defineProperties
(
e
,
Object
.
getOwnPropertyDescriptors
(
n
)):
P
(
Object
(
n
)).
forEach
((
function
(
t
){
Object
.
defineProperty
(
e
,
t
,
Object
.
getOwnPropertyDescriptor
(
n
,
t
))}))}
return
e
}
var
I
=
C
[
"a"
].
getSubappList
,
E
=
{
name
:
"Layout"
,
components
:{
asideMenu
:
b
,
switchPage
:
x
},
data
:
function
(){
return
{
noAreaWarnVisible
:
!
1
}},
mounted
:
function
(){
this
.
init
()},
methods
:{
toAppCenter
:
function
(){
window
.
location
.
href
=
"/app-center/applyIndex"
},
handleSubApp
:
function
(
e
){
var
t
=
e
.
type
,
n
=
e
.
areaId
,
r
=
e
.
reason
;
this
.
addSubResVisible
=!
0
,
this
.
$refs
.
addSubRes
.
setData
({
type
:
t
,
areaId
:
n
,
reason
:
r
})},
addSubApp
:
function
(){
this
.
subAppDialogVisible
=!
0
},
setCurrentApp
:
function
(
e
){
var
t
=
e
.
areaId
;
this
.
$router
.
push
(
"/"
+
this
.
$route
.
path
.
split
(
"/"
)[
1
]),
this
.
$store
.
commit
(
"setCurrentSubApp"
,
t
)},
init
:
function
(){
var
e
=
Object
(
o
[
"a"
])(
regeneratorRuntime
.
mark
((
function
e
(){
var
t
,
n
,
r
,
a
;
return
regeneratorRuntime
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
t
=
this
.
moduleCode
,
e
.
next
=
3
,
I
();
case
3
:
if
(
n
=
e
.
sent
,
this
.
$store
.
commit
(
"setSubAppList"
,
n
.
result
.
result
||
[]),
!
this
.
areaSubList
.
length
){
e
.
next
=
20
;
break
}
if
(
e
.
prev
=
6
,
r
=
this
.
$route
.
query
.
areaId
||
""
,
!
r
||!
this
.
areaSubList
.
map
((
function
(
e
){
return
e
.
areaId
})).
includes
(
r
)){
e
.
next
=
11
;
break
}
return
this
.
$store
.
commit
(
"setCurrentSubApp"
,
r
),
e
.
abrupt
(
"return"
);
case
11
:
a
=
Object
(
S
[
"b"
])(
t
),
a
&&
this
.
areaSubList
.
some
((
function
(
e
){
return
e
.
areaId
==
a
}))?
this
.
$store
.
commit
(
"setCurrentSubApp"
,
a
):
this
.
$store
.
commit
(
"setCurrentSubApp"
,
this
.
areaSubList
[
0
].
areaId
),
e
.
next
=
18
;
break
;
case
15
:
e
.
prev
=
15
,
e
.
t0
=
e
[
"catch"
](
6
),
this
.
$store
.
commit
(
"setCurrentSubApp"
,
this
.
areaSubList
[
0
].
areaId
);
case
18
:
e
.
next
=
21
;
break
;
case
20
:
this
.
noAreaWarnVisible
=!
0
;
case
21
:
case
"end"
:
return
e
.
stop
()}}),
e
,
this
,[[
6
,
15
]])})));
function
t
(){
return
e
.
apply
(
this
,
arguments
)}
return
t
}()},
computed
:
A
(
A
({},
Object
(
u
[
"mapState"
])([
"default_areaId"
,
"currentAreaName"
,
"currentAreaId"
,
"areaSubList"
,
"project"
,
"menu"
,
"extraHideLeft"
,
"appInfo"
,
"lock"
,
"moduleCode"
])),{},{
showLeft
:
function
(){
return
!
(
""
==
this
.
project
||
"index"
==
this
.
project
)}})},
_
=
E
,
D
=
(
n
(
"d701"
),
Object
(
m
[
"a"
])(
_
,
a
,
c
,
!
1
,
null
,
"59bd0752"
,
null
)),
L
=
D
.
exports
,
$
=
[{
path
:
"/gic-card"
,
component
:
L
,
redirect
:
"/gic-card/list"
,
children
:[{
path
:
"list"
,
component
:
function
(){
return
Promise
.
all
([
n
.
e
(
"card-package~gic-card"
),
n
.
e
(
"gic-card"
)]).
then
(
n
.
bind
(
null
,
"f483"
))}},{
path
:
"member-get"
,
component
:
function
(){
return
Promise
.
all
([
n
.
e
(
"card-package~gic-card"
),
n
.
e
(
"gic-card"
)]).
then
(
n
.
bind
(
null
,
"0b1f"
))},
meta
:{
path
:
"/gic-card/list"
}},{
path
:
"stock-list"
,
component
:
function
(){
return
Promise
.
all
([
n
.
e
(
"card-package~gic-card"
),
n
.
e
(
"gic-card"
)]).
then
(
n
.
bind
(
null
,
"773f"
))},
meta
:{
path
:
"/gic-card/list"
}},{
path
:
"send-list"
,
component
:
function
(){
return
Promise
.
all
([
n
.
e
(
"card-package~gic-card"
),
n
.
e
(
"gic-card"
)]).
then
(
n
.
bind
(
null
,
"e9f9"
))}},{
path
:
"add"
,
component
:
function
(){
return
Promise
.
all
([
n
.
e
(
"card-package~gic-card"
),
n
.
e
(
"gic-card"
)]).
then
(
n
.
bind
(
null
,
"5450"
))},
meta
:{
type
:
"add"
,
path
:
"/gic-card/list"
}},{
path
:
"edit"
,
component
:
function
(){
return
Promise
.
all
([
n
.
e
(
"card-package~gic-card"
),
n
.
e
(
"gic-card"
)]).
then
(
n
.
bind
(
null
,
"5450"
))},
meta
:{
type
:
"edit"
,
path
:
"/gic-card/list"
}},{
path
:
"copy"
,
component
:
function
(){
return
Promise
.
all
([
n
.
e
(
"card-package~gic-card"
),
n
.
e
(
"gic-card"
)]).
then
(
n
.
bind
(
null
,
"5450"
))},
meta
:{
type
:
"copy"
,
path
:
"/gic-card/list"
}},{
path
:
"info"
,
component
:
function
(){
return
Promise
.
all
([
n
.
e
(
"card-package~gic-card"
),
n
.
e
(
"gic-card"
)]).
then
(
n
.
bind
(
null
,
"afae"
))},
meta
:{
type
:
"info"
,
path
:
"/gic-card/list"
}},{
path
:
"info-edit"
,
component
:
function
(){
return
Promise
.
all
([
n
.
e
(
"card-package~gic-card"
),
n
.
e
(
"gic-card"
)]).
then
(
n
.
bind
(
null
,
"afae"
))},
meta
:{
type
:
"edit"
,
path
:
"/gic-card/list"
}},{
path
:
"destory-list"
,
component
:
function
(){
return
Promise
.
all
([
n
.
e
(
"card-package~gic-card"
),
n
.
e
(
"gic-card"
)]).
then
(
n
.
bind
(
null
,
"125f"
))}}]}],
M
=
[{
path
:
"/card-package"
,
component
:
L
,
redirect
:
"/card-package/list"
,
children
:[{
path
:
"list"
,
component
:
function
(){
return
Promise
.
all
([
n
.
e
(
"card-package~gic-card"
),
n
.
e
(
"card-package"
)]).
then
(
n
.
bind
(
null
,
"9922"
))}},{
path
:
"add"
,
component
:
function
(){
return
Promise
.
all
([
n
.
e
(
"card-package~gic-card"
),
n
.
e
(
"card-package"
)]).
then
(
n
.
bind
(
null
,
"6de5"
))},
meta
:{
type
:
"add"
,
path
:
"/card-package/list"
}},{
path
:
"edit"
,
component
:
function
(){
return
Promise
.
all
([
n
.
e
(
"card-package~gic-card"
),
n
.
e
(
"card-package"
)]).
then
(
n
.
bind
(
null
,
"6de5"
))},
meta
:{
type
:
"edit"
,
path
:
"/card-package/list"
}},{
path
:
"send-list"
,
component
:
function
(){
return
Promise
.
all
([
n
.
e
(
"card-package~gic-card"
),
n
.
e
(
"card-package"
)]).
then
(
n
.
bind
(
null
,
"5a8b"
))}}]}],
T
=
[{
path
:
"/gift-manage"
,
component
:
L
,
redirect
:
"/gift-manage/real-gift"
,
children
:[{
path
:
"real-gift"
,
component
:
function
(){
return
Promise
.
all
([
n
.
e
(
"chunk-35ba1f02"
),
n
.
e
(
"chunk-4b84bff4"
)]).
then
(
n
.
bind
(
null
,
"e6de"
))}},{
path
:
"real-gift-detail"
,
component
:
function
(){
return
n
.
e
(
"chunk-2107e6c5"
).
then
(
n
.
bind
(
null
,
"ffec"
))}}]}],
N
=
[{
path
:
"/gift-manage"
,
component
:
L
,
redirect
:
"/gift-manage/virtual-gift"
,
children
:[{
path
:
"virtual-gift"
,
component
:
function
(){
return
Promise
.
all
([
n
.
e
(
"chunk-35ba1f02"
),
n
.
e
(
"chunk-02062f99"
)]).
then
(
n
.
bind
(
null
,
"f011"
))}},{
path
:
"virtual-gift-detail"
,
component
:
function
(){
return
n
.
e
(
"chunk-8a171d34"
).
then
(
n
.
bind
(
null
,
"a0f2"
))}}]}],
F
=
[{
path
:
"/gift-manage"
,
component
:
L
,
redirect
:
"/gift-manage/stock-record"
,
children
:[{
path
:
"stock-record"
,
component
:
function
(){
return
n
.
e
(
"chunk-9f31dcfe"
).
then
(
n
.
bind
(
null
,
"bf73"
))}}]}],
U
=
[].
concat
(
Object
(
r
[
"a"
])(
$
),
Object
(
r
[
"a"
])(
M
),
Object
(
r
[
"a"
])(
T
),
Object
(
r
[
"a"
])(
N
),
Object
(
r
[
"a"
])(
F
)),
H
=
[{
path
:
"/"
,
component
:
L
,
redirect
:
"/gic-card/list"
,
children
:[{
path
:
"/index"
,
component
:
function
(){
return
n
.
e
(
"chunk-53f4695c"
).
then
(
n
.
bind
(
null
,
"1e4b"
))}}]},{
path
:
"*"
,
redirect
:
"/index"
}],
B
=
[].
concat
(
H
,
Object
(
r
[
"a"
])(
U
))},
d701
:
function
(
e
,
t
,
n
){
"use strict"
;
n
(
"1b26"
)},
ed08
:
function
(
e
,
t
,
n
){
"use strict"
;
n
.
d
(
t
,
"a"
,(
function
(){
return
o
})),
n
.
d
(
t
,
"b"
,(
function
(){
return
u
})),
n
.
d
(
t
,
"e"
,(
function
(){
return
l
})),
n
.
d
(
t
,
"d"
,(
function
(){
return
d
})),
n
.
d
(
t
,
"g"
,(
function
(){
return
f
})),
n
.
d
(
t
,
"h"
,(
function
(){
return
p
})),
n
.
d
(
t
,
"c"
,(
function
(){
return
g
})),
n
.
d
(
t
,
"f"
,(
function
(){
return
m
}));
n
(
"8e6e"
),
n
(
"2909"
),
n
(
"5df3"
),
n
(
"4f7f"
),
n
(
"34ef"
),
n
(
"28a5"
),
n
(
"386d"
),
n
(
"4917"
),
n
(
"3b2b"
);
var
r
=
n
(
"ade3"
),
a
=
(
n
(
"53ca"
),
n
(
"456d"
),
n
(
"ac6a"
),
n
(
"a481"
),
n
(
"6b54"
),
n
(
"a18c"
));
function
c
(
e
,
t
){
var
n
=
Object
.
keys
(
e
);
if
(
Object
.
getOwnPropertySymbols
){
var
r
=
Object
.
getOwnPropertySymbols
(
e
);
t
&&
(
r
=
r
.
filter
((
function
(
t
){
return
Object
.
getOwnPropertyDescriptor
(
e
,
t
).
enumerable
}))),
n
.
push
.
apply
(
n
,
r
)}
return
n
}
function
i
(
e
){
for
(
var
t
=
1
;
t
<
arguments
.
length
;
t
++
){
var
n
=
null
!=
arguments
[
t
]?
arguments
[
t
]:{};
t
%
2
?
c
(
Object
(
n
),
!
0
).
forEach
((
function
(
t
){
Object
(
r
[
"a"
])(
e
,
t
,
n
[
t
])})):
Object
.
getOwnPropertyDescriptors
?
Object
.
defineProperties
(
e
,
Object
.
getOwnPropertyDescriptors
(
n
)):
c
(
Object
(
n
)).
forEach
((
function
(
t
){
Object
.
defineProperty
(
e
,
t
,
Object
.
getOwnPropertyDescriptor
(
n
,
t
))}))}
return
e
}
var
o
=
function
(
e
,
t
){
var
n
,
r
=
t
||
200
;
return
function
(){
var
t
=
this
,
a
=
arguments
;
n
&&
clearTimeout
(
n
),
n
=
setTimeout
((
function
(){
n
=
null
,
e
.
apply
(
t
,
a
)}),
r
)}},
u
=
function
(
e
,
t
){
var
n
=
null
,
r
=
new
Date
;
return
function
(){
var
a
=
new
Date
,
c
=
a
-
r
,
i
=
arguments
,
o
=
this
;
c
>=
t
?(
n
&&
clearTimeout
(
n
),
e
.
apply
(
o
,
i
),
r
=
a
):
n
||
(
n
=
setTimeout
((
function
(){
e
.
apply
(
o
,
i
),
r
=
new
Date
}),
t
-
c
))}},
s
=
function
(
e
){
return
e
*=
1
,
e
<
10
?
"0"
+
e
:
e
},
l
=
function
(
e
){
var
t
=
arguments
.
length
>
1
&&
void
0
!==
arguments
[
1
]?
arguments
[
1
]:
"yyyy-MM-dd-HH-mm-ss"
,
n
=
arguments
.
length
>
2
&&
void
0
!==
arguments
[
2
]
&&
arguments
[
2
];
if
(
!
e
)
return
n
?{
y
:
""
,
h
:
""
}:
""
;
"number"
!==
typeof
e
&&
"string"
!==
typeof
e
||
(
e
=
new
Date
(
e
));
try
{
if
(
"string"
===
typeof
e
)
return
n
?{
y
:
e
,
h
:
""
}:
e
;
var
r
=
t
.
indexOf
(
"yyyy"
)
>=
0
?
s
(
e
.
getFullYear
()):
""
,
a
=
t
.
indexOf
(
"MM"
)
>=
0
?
"-"
+
s
(
e
.
getMonth
()
+
1
):
""
,
c
=
t
.
indexOf
(
"dd"
)
>=
0
?
"-"
+
s
(
e
.
getDate
()):
""
,
i
=
t
.
indexOf
(
"HH"
)
>=
0
?
" "
+
s
(
e
.
getHours
()):
""
,
o
=
t
.
indexOf
(
"mm"
)
>=
0
?
":"
+
s
(
e
.
getMinutes
()):
""
,
u
=
t
.
indexOf
(
"ss"
)
>=
0
?
":"
+
s
(
e
.
getSeconds
()):
""
;
return
n
?{
y
:
r
+
a
+
c
,
h
:
i
+
o
+
u
}:
r
+
a
+
c
+
i
+
o
+
u
}
catch
(
l
){
return
n
?{
y
:
e
,
h
:
""
}:
e
}},
d
=
function
(
e
){
var
t
=
arguments
.
length
>
1
&&
void
0
!==
arguments
[
1
]?
arguments
[
1
]:
2
;
try
{
t
>
0
&&
(
e
=
e
.
toFixed
(
t
))}
catch
(
a
){
return
e
}
var
n
=
e
.
toString
(),
r
=
n
.
indexOf
(
"."
)
>-
1
?
/
(\d)(?=(\d{3})
+
\.)
/g
:
/
(\d)(?=(?:\d{3})
+$
)
/g
;
return
n
.
replace
(
r
,
"$1,"
)},
f
=
function
(
e
){
return
e
?
'<p class="cell-time">'
.
concat
(
l
(
e
,
"yyyy-MM-dd-HH-mm-ss"
,
!
0
).
y
,
'</p>
\
n <p class="cell-time">'
).
concat
(
l
(
e
,
"yyyy-MM-dd-HH-mm-ss"
,
!
0
).
h
,
"</p>
\
n "
):
"--"
},
p
=
function
(){
var
e
=
a
[
"a"
].
app
.
_route
,
t
=
i
({},
e
.
query
);
delete
t
.
areaId
;
var
n
=
i
(
i
({},
t
),{},{
timestamp
:(
new
Date
).
getTime
()});
a
[
"a"
].
push
({
path
:
e
.
fullPath
,
query
:
n
})},
g
=
function
(
e
){
return
JSON
.
parse
(
JSON
.
stringify
(
e
))},
m
=
function
(
e
){
return
""
===
e
||
null
==
e
}},
f121
:
function
(
e
,
t
,
n
){
"use strict"
;
n
.
d
(
t
,
"a"
,(
function
(){
return
r
})),
n
.
d
(
t
,
"e"
,(
function
(){
return
c
})),
n
.
d
(
t
,
"d"
,(
function
(){
return
i
})),
n
.
d
(
t
,
"b"
,(
function
(){
return
o
})),
n
.
d
(
t
,
"f"
,(
function
(){
return
u
}));
var
r
=
"0000"
;
function
a
(){
var
e
=
window
.
location
.
origin
;
return
(
e
.
indexOf
(
"localhost"
)
>=
0
||
e
.
indexOf
(
"192.168"
)
>=
0
)
&&
(
e
=
"https://four.gicdev.com"
),
e
}
t
[
"c"
]
=
{
api
:
window
.
location
.
protocol
+
"//"
+
window
.
location
.
host
||
""
};
var
c
=
a
(),
i
=
(
"four.gicdev.com"
===
window
.
location
.
host
||
window
.
location
.
origin
,
"/api-marketing"
),
o
=
"/gic-auth-web"
,
u
=
"/api-welfare"
},
f8f5
:
function
(
e
,
t
,
n
){},
f9e4
:
function
(
e
,
t
,
n
){
"use strict"
;
n
.
d
(
t
,
"b"
,(
function
(){
return
r
})),
n
.
d
(
t
,
"a"
,(
function
(){
return
a
}));
n
(
"6c7b"
),
Array
(
31
).
fill
().
map
((
function
(
e
,
t
){
return
{
label
:
""
.
concat
(
t
+
1
,
"号"
),
value
:
""
.
concat
(
t
+
1
)}})),
Array
(
28
).
fill
().
map
((
function
(
e
,
t
){
return
{
label
:
""
.
concat
(
t
+
1
,
"号"
),
value
:
""
.
concat
(
t
+
1
)}})).
concat
({
label
:
"月底"
,
value
:
"0"
}),
Array
(
12
).
fill
().
map
((
function
(
e
,
t
){
return
{
label
:
""
.
concat
(
t
+
1
,
"月"
),
value
:
""
.
concat
(
t
+
1
)}}));
var
r
=
[{
title
:
"实物礼品"
,
desc
:
"文案描述文案描述文案描述"
,
target
:
"/gift-manage/real-gift"
,
code
:
"w-real-gifts"
},{
title
:
"虚拟礼品"
,
desc
:
"文案描述文案描述文案描述"
,
target
:
"/gift-manage/virtual-gift"
,
code
:
"w-virtual-gifts"
},{
title
:
"GIC 卡券"
,
desc
:
"文案描述文案描述文案描述"
,
target
:
"/gic-card/list"
,
code
:
"w-gic-card"
},{
title
:
"GIC 卡券包"
,
desc
:
"文案描述文案描述文案描述"
,
target
:
"/card-package/list"
,
code
:
"w-card-package"
}],
a
=
{
1
:
"增加"
,
2
:
"减少"
,
3
:
"占用"
,
4
:
"释放"
}},
fac9
:
function
(
e
,
t
,
n
){
"use strict"
;
n
(
"5a97"
)}});
(
function
(
e
){
function
t
(
t
){
for
(
var
r
,
a
,
o
=
t
[
0
],
u
=
t
[
1
],
s
=
t
[
2
],
l
=
0
,
d
=
[];
l
<
o
.
length
;
l
++
)
a
=
o
[
l
],
Object
.
prototype
.
hasOwnProperty
.
call
(
c
,
a
)
&&
c
[
a
]
&&
d
.
push
(
c
[
a
][
0
]),
c
[
a
]
=
0
;
for
(
r
in
u
)
Object
.
prototype
.
hasOwnProperty
.
call
(
u
,
r
)
&&
(
e
[
r
]
=
u
[
r
]);
f
&&
f
(
t
);
while
(
d
.
length
)
d
.
shift
()();
return
i
.
push
.
apply
(
i
,
s
||
[]),
n
()}
function
n
(){
for
(
var
e
,
t
=
0
;
t
<
i
.
length
;
t
++
){
for
(
var
n
=
i
[
t
],
r
=!
0
,
a
=
1
;
a
<
n
.
length
;
a
++
){
var
o
=
n
[
a
];
0
!==
c
[
o
]
&&
(
r
=!
1
)}
r
&&
(
i
.
splice
(
t
--
,
1
),
e
=
u
(
u
.
s
=
n
[
0
]))}
return
e
}
var
r
=
{},
a
=
{
app
:
0
},
c
=
{
app
:
0
},
i
=
[];
function
o
(
e
){
return
u
.
p
+
"js/"
+
({
"card-package~gic-card"
:
"card-package~gic-card"
,
"card-package"
:
"card-package"
,
"gic-card"
:
"gic-card"
}[
e
]
||
e
)
+
"."
+
{
"card-package~gic-card"
:
"dfadd734"
,
"card-package"
:
"c0ec8cb0"
,
"gic-card"
:
"acca0eb0"
,
"chunk-2107e6c5"
:
"f2137ad1"
,
"chunk-35ba1f02"
:
"32555561"
,
"chunk-02062f99"
:
"072e616f"
,
"chunk-4b84bff4"
:
"fc2c14d9"
,
"chunk-53f4695c"
:
"23f8f592"
,
"chunk-8a171d34"
:
"53b72a0e"
,
"chunk-9f31dcfe"
:
"2b85ba0c"
}[
e
]
+
".js"
}
function
u
(
t
){
if
(
r
[
t
])
return
r
[
t
].
exports
;
var
n
=
r
[
t
]
=
{
i
:
t
,
l
:
!
1
,
exports
:{}};
return
e
[
t
].
call
(
n
.
exports
,
n
,
n
.
exports
,
u
),
n
.
l
=!
0
,
n
.
exports
}
u
.
e
=
function
(
e
){
var
t
=
[],
n
=
{
"card-package~gic-card"
:
1
,
"card-package"
:
1
,
"gic-card"
:
1
,
"chunk-2107e6c5"
:
1
,
"chunk-02062f99"
:
1
,
"chunk-4b84bff4"
:
1
,
"chunk-53f4695c"
:
1
,
"chunk-8a171d34"
:
1
,
"chunk-9f31dcfe"
:
1
};
a
[
e
]?
t
.
push
(
a
[
e
]):
0
!==
a
[
e
]
&&
n
[
e
]
&&
t
.
push
(
a
[
e
]
=
new
Promise
((
function
(
t
,
n
){
for
(
var
r
=
"css/"
+
({
"card-package~gic-card"
:
"card-package~gic-card"
,
"card-package"
:
"card-package"
,
"gic-card"
:
"gic-card"
}[
e
]
||
e
)
+
"."
+
{
"card-package~gic-card"
:
"78656863"
,
"card-package"
:
"ac4691b9"
,
"gic-card"
:
"0dafb3e6"
,
"chunk-2107e6c5"
:
"4536701d"
,
"chunk-35ba1f02"
:
"31d6cfe0"
,
"chunk-02062f99"
:
"757fd252"
,
"chunk-4b84bff4"
:
"963b4aa0"
,
"chunk-53f4695c"
:
"9908b7cb"
,
"chunk-8a171d34"
:
"8af5c3d1"
,
"chunk-9f31dcfe"
:
"75b8fd67"
}[
e
]
+
".css"
,
c
=
u
.
p
+
r
,
i
=
document
.
getElementsByTagName
(
"link"
),
o
=
0
;
o
<
i
.
length
;
o
++
){
var
s
=
i
[
o
],
l
=
s
.
getAttribute
(
"data-href"
)
||
s
.
getAttribute
(
"href"
);
if
(
"stylesheet"
===
s
.
rel
&&
(
l
===
r
||
l
===
c
))
return
t
()}
var
d
=
document
.
getElementsByTagName
(
"style"
);
for
(
o
=
0
;
o
<
d
.
length
;
o
++
){
s
=
d
[
o
],
l
=
s
.
getAttribute
(
"data-href"
);
if
(
l
===
r
||
l
===
c
)
return
t
()}
var
f
=
document
.
createElement
(
"link"
);
f
.
rel
=
"stylesheet"
,
f
.
type
=
"text/css"
,
f
.
onload
=
t
,
f
.
onerror
=
function
(
t
){
var
r
=
t
&&
t
.
target
&&
t
.
target
.
src
||
c
,
i
=
new
Error
(
"Loading CSS chunk "
+
e
+
" failed.
\
n("
+
r
+
")"
);
i
.
code
=
"CSS_CHUNK_LOAD_FAILED"
,
i
.
request
=
r
,
delete
a
[
e
],
f
.
parentNode
.
removeChild
(
f
),
n
(
i
)},
f
.
href
=
c
;
var
p
=
document
.
getElementsByTagName
(
"head"
)[
0
];
p
.
appendChild
(
f
)})).
then
((
function
(){
a
[
e
]
=
0
})));
var
r
=
c
[
e
];
if
(
0
!==
r
)
if
(
r
)
t
.
push
(
r
[
2
]);
else
{
var
i
=
new
Promise
((
function
(
t
,
n
){
r
=
c
[
e
]
=
[
t
,
n
]}));
t
.
push
(
r
[
2
]
=
i
);
var
s
,
l
=
document
.
createElement
(
"script"
);
l
.
charset
=
"utf-8"
,
l
.
timeout
=
120
,
u
.
nc
&&
l
.
setAttribute
(
"nonce"
,
u
.
nc
),
l
.
src
=
o
(
e
);
var
d
=
new
Error
;
s
=
function
(
t
){
l
.
onerror
=
l
.
onload
=
null
,
clearTimeout
(
f
);
var
n
=
c
[
e
];
if
(
0
!==
n
){
if
(
n
){
var
r
=
t
&&
(
"load"
===
t
.
type
?
"missing"
:
t
.
type
),
a
=
t
&&
t
.
target
&&
t
.
target
.
src
;
d
.
message
=
"Loading chunk "
+
e
+
" failed.
\
n("
+
r
+
": "
+
a
+
")"
,
d
.
name
=
"ChunkLoadError"
,
d
.
type
=
r
,
d
.
request
=
a
,
n
[
1
](
d
)}
c
[
e
]
=
void
0
}};
var
f
=
setTimeout
((
function
(){
s
({
type
:
"timeout"
,
target
:
l
})}),
12
e4
);
l
.
onerror
=
l
.
onload
=
s
,
document
.
head
.
appendChild
(
l
)}
return
Promise
.
all
(
t
)},
u
.
m
=
e
,
u
.
c
=
r
,
u
.
d
=
function
(
e
,
t
,
n
){
u
.
o
(
e
,
t
)
||
Object
.
defineProperty
(
e
,
t
,{
enumerable
:
!
0
,
get
:
n
})},
u
.
r
=
function
(
e
){
"undefined"
!==
typeof
Symbol
&&
Symbol
.
toStringTag
&&
Object
.
defineProperty
(
e
,
Symbol
.
toStringTag
,{
value
:
"Module"
}),
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
})},
u
.
t
=
function
(
e
,
t
){
if
(
1
&
t
&&
(
e
=
u
(
e
)),
8
&
t
)
return
e
;
if
(
4
&
t
&&
"object"
===
typeof
e
&&
e
&&
e
.
__esModule
)
return
e
;
var
n
=
Object
.
create
(
null
);
if
(
u
.
r
(
n
),
Object
.
defineProperty
(
n
,
"default"
,{
enumerable
:
!
0
,
value
:
e
}),
2
&
t
&&
"string"
!=
typeof
e
)
for
(
var
r
in
e
)
u
.
d
(
n
,
r
,
function
(
t
){
return
e
[
t
]}.
bind
(
null
,
r
));
return
n
},
u
.
n
=
function
(
e
){
var
t
=
e
&&
e
.
__esModule
?
function
(){
return
e
[
"default"
]}:
function
(){
return
e
};
return
u
.
d
(
t
,
"a"
,
t
),
t
},
u
.
o
=
function
(
e
,
t
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
t
)},
u
.
p
=
"/welfare/"
,
u
.
oe
=
function
(
e
){
throw
e
};
var
s
=
window
[
"webpackJsonp"
]
=
window
[
"webpackJsonp"
]
||
[],
l
=
s
.
push
.
bind
(
s
);
s
.
push
=
t
,
s
=
s
.
slice
();
for
(
var
d
=
0
;
d
<
s
.
length
;
d
++
)
t
(
s
[
d
]);
var
f
=
l
;
i
.
push
([
0
,
"chunk-vendors"
]),
n
()})({
0
:
function
(
e
,
t
,
n
){
e
.
exports
=
n
(
"56d7"
)},
"1b26"
:
function
(
e
,
t
,
n
){},
"1f99"
:
function
(
e
,
t
,
n
){},
2934
:
function
(
e
,
t
,
n
){
"use strict"
;
n
(
"8e6e"
),
n
(
"ac6a"
),
n
(
"456d"
);
var
r
=
n
(
"ade3"
),
a
=
n
(
"71f6"
),
c
=
n
(
"f121"
);
function
i
(
e
,
t
){
var
n
=
Object
.
keys
(
e
);
if
(
Object
.
getOwnPropertySymbols
){
var
r
=
Object
.
getOwnPropertySymbols
(
e
);
t
&&
(
r
=
r
.
filter
((
function
(
t
){
return
Object
.
getOwnPropertyDescriptor
(
e
,
t
).
enumerable
}))),
n
.
push
.
apply
(
n
,
r
)}
return
n
}
function
o
(
e
){
for
(
var
t
=
1
;
t
<
arguments
.
length
;
t
++
){
var
n
=
null
!=
arguments
[
t
]?
arguments
[
t
]:{};
t
%
2
?
i
(
Object
(
n
),
!
0
).
forEach
((
function
(
t
){
Object
(
r
[
"a"
])(
e
,
t
,
n
[
t
])})):
Object
.
getOwnPropertyDescriptors
?
Object
.
defineProperties
(
e
,
Object
.
getOwnPropertyDescriptors
(
n
)):
i
(
Object
(
n
)).
forEach
((
function
(
t
){
Object
.
defineProperty
(
e
,
t
,
Object
.
getOwnPropertyDescriptor
(
n
,
t
))}))}
return
e
}
var
u
=
{
loginUserMenu
:
"/login-user-menu"
,
loginUserMenuOfApp
:
"/login-user-menu-of-app"
},
s
=
{
getSubappList
:
"/area/member-cards"
},
l
=
{
getRelationId
:
"/notice-widget/generate-relation-id"
,
getAppInfo
:{
url
:
"/enterprise-serve-info"
,
alertError
:
!
1
},
getMallShopList
:
"/outer/all-mall-shop"
,
activityList
:
"/activity/list-marketing-page"
,
getActivityInfo
:
"/activity/get-marketing-activity"
};
s
=
Object
(
a
[
"a"
])(
s
,
c
[
"f"
]),
u
=
Object
(
a
[
"a"
])(
u
,
c
[
"b"
]),
l
=
Object
(
a
[
"a"
])(
l
,
c
[
"d"
]),
t
[
"a"
]
=
o
(
o
(
o
({},
u
),
l
),
s
);
c
[
"d"
]},
"3f0c"
:
function
(
e
,
t
,
n
){
e
.
exports
=
n
.
p
+
"img/w-card-package.31146dff.svg"
},
4360
:
function
(
e
,
t
,
n
){
"use strict"
;
n
(
"96cf"
);
var
r
=
n
(
"1da1"
),
a
=
(
n
(
"7514"
),
n
(
"20d6"
),
n
(
"8bbf"
)),
c
=
n
.
n
(
a
),
i
=
n
(
"5880"
),
o
=
n
.
n
(
i
),
u
=
n
(
"cf45"
);
c
.
a
.
use
(
o
.
a
),
t
[
"a"
]
=
new
o
.
a
.
Store
({
state
:{
lock
:
!
1
,
loading
:
!
1
,
defaultAreaId
:
""
,
currentAreaName
:
""
,
currentAreaId
:
""
,
deleteFlag
:
!
1
,
areaSubList
:[],
moduleCode
:
"welfare"
,
project
:
""
,
menu
:{},
extraHideLeft
:
""
,
mainHeight
:
0
,
routePath
:[]},
mutations
:{
updateRoutePath
:
function
(
e
,
t
){
e
.
routePath
=
t
},
updateMainHeight
:
function
(
e
,
t
){
e
.
mainHeight
=
t
},
updateLock
:
function
(
e
,
t
){
e
.
lock
=
t
},
updateAreaName
:
function
(
e
,
t
){
var
n
=
t
.
areaId
,
r
=
t
.
areaName
,
a
=
e
.
areaSubList
.
findIndex
((
function
(
e
){
return
e
.
areaId
===
n
}));
-
1
!==
a
&&
(
e
.
areaSubList
[
a
].
areaName
=
r
,
e
.
currentAreaId
===
n
&&
(
e
.
currentAreaName
=
r
))},
setSubAppList
:
function
(
e
,
t
){
e
.
areaSubList
=
t
},
setDefaultSubAppId
:
function
(
e
,
t
){},
setCurrentSubApp
:
function
(
e
,
t
){
var
n
=
e
.
areaSubList
.
find
((
function
(
e
){
return
e
.
areaId
===
t
}))
||
{};
Object
(
u
[
"b"
])(
e
.
moduleCode
,
"set"
,
t
),
e
.
currentAreaId
=
n
.
areaId
||
""
,
e
.
currentAreaName
=
n
.
areaName
||
""
,
e
.
deleteFlag
=
n
.
deleteFlag
||!
1
},
setProject
:
function
(
e
,
t
){
e
.
project
=
t
||
""
},
updateExtraHideLeft
:
function
(
e
,
t
){
e
.
extraHideLeft
=
t
||
""
}},
actions
:{
setDefaultAppId
:
function
(){
var
e
=
Object
(
r
[
"a"
])(
regeneratorRuntime
.
mark
((
function
e
(
t
,
n
){
return
regeneratorRuntime
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
this
.
commit
(
"setDefaultSubAppId"
,
n
);
case
1
:
case
"end"
:
return
e
.
stop
()}}),
e
,
this
)})));
function
t
(
t
,
n
){
return
e
.
apply
(
this
,
arguments
)}
return
t
}()},
plugins
:[]})},
"46f7"
:
function
(
e
,
t
,
n
){
e
.
exports
=
n
.
p
+
"img/w-virtual-gifts.99089b8c.svg"
},
"4c57"
:
function
(
e
,
t
,
n
){
e
.
exports
=
n
.
p
+
"img/w-real-gifts.f14bcf5b.svg"
},
"56d7"
:
function
(
e
,
t
,
n
){
"use strict"
;
n
.
r
(
t
);
n
(
"7f7f"
),
n
(
"ac6a"
),
n
(
"456d"
),
n
(
"cadf"
),
n
(
"551c"
),
n
(
"f751"
),
n
(
"097d"
),
n
(
"1f99"
),
n
(
"88ed"
),
n
(
"6861"
);
var
r
=
n
(
"5c96"
),
a
=
n
.
n
(
r
),
c
=
n
(
"cebe"
),
i
=
n
.
n
(
c
),
o
=
n
(
"8bbf"
),
u
=
n
.
n
(
o
),
s
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
n
=
e
.
_self
.
_c
||
t
;
return
n
(
"div"
,{
staticClass
:
"dm-reset"
,
attrs
:{
id
:
"app"
}},[
n
(
"router-view"
)],
1
)},
l
=
[],
d
=
(
n
(
"28a5"
),{
name
:
"App"
,
data
:
function
(){
return
{
isRouterAlive
:
!
0
}},
mounted
:
function
(){
this
.
$store
.
commit
(
"updateMainHeight"
,
document
.
body
.
offsetHeight
-
180
)},
watch
:{
$route
:{
handler
:
function
(
e
){
e
.
path
.
split
(
"/"
)[
1
]
&&
this
.
$store
.
commit
(
"setProject"
,
window
.
location
.
pathname
.
split
(
"/"
)[
2
])},
deep
:
!
0
,
immediate
:
!
0
}}}),
f
=
d
,
p
=
n
(
"2877"
),
g
=
Object
(
p
[
"a"
])(
f
,
s
,
l
,
!
1
,
null
,
null
,
null
),
m
=
g
.
exports
,
h
=
n
(
"a18c"
),
b
=
n
(
"d046"
),
v
=
(
n
(
"6c7b"
),
n
(
"c5f6"
),
n
(
"ed08"
)),
y
=
function
(
e
){
var
t
=
arguments
.
length
>
1
&&
void
0
!==
arguments
[
1
]?
arguments
[
1
]:
"¥"
,
n
=
arguments
.
length
>
2
&&
void
0
!==
arguments
[
2
]?
arguments
[
2
]:
2
,
r
=!
(
arguments
.
length
>
3
&&
void
0
!==
arguments
[
3
])
||
arguments
[
3
],
a
=
Number
(
e
);
return
isNaN
(
a
)?
e
:
""
.
concat
(
r
?
t
:
""
).
concat
(
Object
(
v
[
"d"
])(
a
,
n
))},
w
=
{
amountFormat
:
y
},
O
=
{
computed
:{
currentAreaId
:
function
(){
return
this
.
$store
.
state
.
currentAreaId
},
currentAreaIds
:
function
(){
return
this
.
$store
.
state
.
currentAreaId
?[
this
.
$store
.
state
.
currentAreaId
]:[]},
currentAreaDelete
:
function
(){
return
this
.
$store
.
state
.
delete_flag
}}},
k
=
n
(
"4360"
),
j
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
n
=
e
.
_self
.
_c
||
t
;
return
n
(
"dm-perm-button"
,{
attrs
:{
"perm-tip"
:
e
.
permTip
,
"perm-tip-placement"
:
e
.
permTipPlacement
,
size
:
e
.
size
,
type
:
e
.
type
,
plain
:
e
.
plain
,
round
:
e
.
round
,
loading
:
e
.
loading
,
disabled
:
e
.
disabled
,
icon
:
e
.
icon
,
autofocus
:
e
.
autofocus
,
"native-type"
:
e
.
nativeType
},
nativeOn
:{
click
:
function
(
t
){
return
e
.
handleClick
(
t
)}}},[
e
.
_t
(
"default"
)],
2
)},
x
=
[],
S
=
{
name
:
"MkButton"
,
props
:{
effect
:{
type
:
String
,
default
:
"dark"
},
delayTimes
:{
type
:
Number
,
default
:
300
},
permTipPlacement
:{
type
:
String
,
default
:
"top"
},
size
:
String
,
type
:
String
,
plain
:{
type
:
Boolean
,
default
:
!
1
},
round
:{
type
:
Boolean
,
default
:
!
1
},
circle
:{
type
:
Boolean
,
default
:
!
1
},
loading
:{
type
:
Boolean
,
default
:
!
1
},
icon
:
String
,
autofocus
:{
type
:
Boolean
,
default
:
!
1
},
nativeType
:{
type
:
String
,
default
:
"button"
},
option
:{
type
:
Object
,
default
:
function
(){
return
{}}}},
data
:
function
(){
return
{
permTip
:
""
,
disabled
:
!
1
}},
mounted
:
function
(){
return
this
.
option
.
perm
?(
this
.
permTip
=
"您无该操作权限,请联系超管!"
,
void
(
this
.
disabled
=!
0
)):
this
.
option
.
deleteFlag
?(
this
.
disabled
=!
0
,
void
(
this
.
permTip
=
this
.
option
.
deleteRemark
||
"域已被删除"
)):
void
0
},
methods
:{
handleClick
:
function
(){
this
.
disabled
||
this
.
$emit
(
"click"
)}}},
C
=
S
,
P
=
Object
(
p
[
"a"
])(
C
,
j
,
x
,
!
1
,
null
,
null
,
null
),
A
=
P
.
exports
,
I
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
n
=
e
.
_self
.
_c
||
t
;
return
n
(
"el-image"
,{
attrs
:{
src
:
e
.
src
,
fit
:
e
.
fit
,
lazy
:
e
.
lazy
,
"scroll-container"
:
e
.
scrollContainer
,
"preview-src-list"
:
e
.
previewSrcList
,
"z-index"
:
e
.
zIndex
},
on
:{
click
:
e
.
viewClick
},
scopedSlots
:
e
.
_u
([{
key
:
"error"
,
fn
:
function
(){
return
[
e
.
_t
(
"error"
)]},
proxy
:
!
0
}],
null
,
!
0
)})},
E
=
[],
_
=
{
name
:
"DmElImageView"
,
props
:{
src
:
String
,
fit
:
String
,
lazy
:
Boolean
,
scrollContainer
:{},
previewSrcList
:{
type
:
Array
,
default
:
function
(){
return
[]}},
zIndex
:{
type
:
Number
,
default
:
2
e3
}},
methods
:{
viewClick
:
function
(){
this
.
$emit
(
"click"
),
document
.
body
.
style
=
""
}}},
D
=
_
,
L
=
Object
(
p
[
"a"
])(
D
,
I
,
E
,
!
1
,
null
,
null
,
null
),
$
=
L
.
exports
,
M
=
{
gicCardFormAdd
:
"gicCardFormAdd"
,
gicCardFormCopy
:
"gicCardFormCopy"
,
gicCardFormInfo
:
"gicCardFormInfo"
,
gicCardFormEdit
:
"gicCardFormEdit"
,
gicCardFormDel
:
"gicCardFormDel"
,
gicCardGroupBtn
:
"gicCardGroupBtn"
,
gicCardMemberGetExport
:
"gicCardMemberGetExport"
,
gicCardGiveLogExport
:
"gicCardGiveLogExport"
,
gicCardGroupSendForm
:
"gicCardGroupSendForm"
,
gicCardGroupSendInfo
:
"gicCardGroupSendInfo"
,
gicCardGroupSendInfoLog
:
"gicCardGroupSendInfoLog"
,
gicCardStopGroupSend
:
"gicCardStopGroupSend"
,
gicCardSyncStock
:
"gicCardSyncStock"
,
gicCardDestory
:
"gicCardDestory"
,
gicCardDestoryExport
:
"gicCardDestoryExport"
,
gicAddPackage
:
"gicAddPackage"
,
gicEditPackage
:
"gicEditPackage"
,
gicDeletePackage
:
"gicDeletePackage"
,
gicSyncStockPack
:
"gicSyncStockPack"
,
gicAdjustStockPack
:
"gicAdjustStockPack"
,
gicCardShelfLogExportBtn
:
"gicCardShelfLogExportBtn"
},
T
=
(
n
(
"a481"
),
n
(
"96cf"
),
n
(
"1da1"
)),
N
=
(
n
(
"5df3"
),
n
(
"b775"
)),
F
=
""
,
U
=
[],
H
=
[],
B
=
{},
R
=
G
();
function
G
(){
var
e
=
window
.
location
.
origin
;
return
(
e
.
indexOf
(
"localhost"
)
>=
0
||
e
.
indexOf
(
"192.168"
)
>=
0
)
&&
(
e
=
"https://four.gicdev.com"
),
e
}
function
z
(){
return
Object
(
N
[
"a"
])({
url
:
"/gic-auth-web/get-login-user-info"
})}
function
V
(){
var
e
=
Object
(
N
[
"a"
])({
url
:
"/gic-auth-web/login-user-menu"
}).
then
((
function
(
e
){
H
=
W
(
e
.
result
||
[])})),
t
=
Object
(
N
[
"a"
])({
url
:
"/gic-auth-web/login-user-operation-item"
}).
then
((
function
(
e
){
B
=
K
(
e
.
result
||
[])}));
return
Promise
.
all
([
e
,
t
])}
function
q
(
e
){
return
J
.
apply
(
this
,
arguments
)}
function
J
(){
return
J
=
Object
(
T
[
"a"
])(
regeneratorRuntime
.
mark
((
function
e
(
t
){
var
n
,
r
,
a
,
c
,
i
;
return
regeneratorRuntime
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
n
=
""
,
e
.
next
=
3
,
Object
(
N
[
"a"
])({
url
:
"/gic-auth-web/get-app-by-code"
},{
menuCode
:
t
}).
then
((
function
(
e
){
n
=
e
.
result
}));
case
3
:
return
r
=
{
menu
:[
"/gic-auth-web/login-user-menu-of-app"
,
"/gic-auth-web/login-collaborator-menu-of-app"
],
opera
:[
"/gic-auth-web/login-user-operation-item-of-app"
,
"/gic-auth-web/login-collaborator-operation-item"
]},
a
=
0
,
e
.
next
=
7
,
Object
(
N
[
"a"
])({
url
:
"/application-center-web/business/cooperation-application/find-list"
}).
then
((
function
(
e
){
var
t
=
e
.
result
||
[];
t
.
some
((
function
(
e
){
return
e
.
applicationId
==
n
}))
&&
(
a
=
1
)}));
case
7
:
return
c
=
Object
(
N
[
"a"
])({
url
:
r
.
menu
[
a
]},{
appId
:
n
}).
then
((
function
(
e
){
H
=
W
(
e
.
result
||
[]),
k
[
"a"
].
commit
(
"updateRoutePath"
,
e
.
result
?
e
.
result
[
0
].
children
:[])})),
i
=
Object
(
N
[
"a"
])({
url
:
r
.
opera
[
a
]},{
appId
:
n
}).
then
((
function
(
e
){
B
=
K
(
e
.
result
||
[])})),
e
.
abrupt
(
"return"
,
Promise
.
all
([
c
,
i
]));
case
10
:
case
"end"
:
return
e
.
stop
()}}),
e
)}))),
J
.
apply
(
this
,
arguments
)}
function
W
(
e
){
var
t
=
[];
return
e
.
forEach
((
function
(
e
){
e
.
projectUrlForWeb
==
F
&&
e
.
menuUrl
&&
t
.
push
(
e
.
menuUrl
),
Array
.
isArray
(
e
.
children
)
&&
(
t
=
t
.
concat
(
W
(
e
.
children
)))})),
t
}
function
K
(
e
){
var
t
=
{};
return
e
.
forEach
((
function
(
e
){
t
[
e
.
menuCode
]
=!
0
})),
t
}
function
Y
(
e
){
var
t
=
[];
return
e
.
forEach
((
function
(
e
){
Array
.
isArray
(
e
.
children
)
&&
(
t
=
t
.
concat
(
Y
(
e
.
children
))),
t
.
push
(
e
.
path
)})),
t
}
function
Q
(
e
,
t
,
n
){
var
r
=
H
.
some
((
function
(
t
){
return
t
.
indexOf
(
"/#"
)
>=
0
?
t
==
"/#"
.
concat
(
e
.
path
):
t
==
e
.
path
}));
if
(
r
)
return
Object
.
assign
(
i
.
a
.
defaults
.
headers
.
common
,{
route
:
e
.
path
}),
n
();
U
.
some
((
function
(
t
){
return
t
==
e
.
path
}))
||
0
==
H
.
length
?
window
.
location
.
href
=
""
.
concat
(
R
,
"/damo-system/no-access"
):(
Object
.
assign
(
i
.
a
.
defaults
.
headers
.
common
,{
route
:
H
[
0
]}),
n
(
H
[
0
]))}
function
X
(
e
){
return
!!
B
[
e
]}
var
Z
=
function
(
e
){
var
t
=
e
.
projectPath
,
n
=
e
.
isApp
,
r
=
e
.
writeRoute
,
a
=
e
.
router
,
c
=
e
.
routes
,
o
=
e
.
createApp
,
s
=
e
.
menuCode
,
l
=
u
.
a
.
prototype
.
$loading
({
lock
:
!
0
,
customClass
:
"medium"
});
F
=
t
,
window
.
addEventListener
(
"load"
,
Object
(
T
[
"a"
])(
regeneratorRuntime
.
mark
((
function
e
(){
var
u
;
return
regeneratorRuntime
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
if
(
u
=
window
.
location
.
pathname
,
-
1
!=
u
.
indexOf
(
"/login"
)){
e
.
next
=
11
;
break
}
return
e
.
next
=
4
,
z
().
then
((
function
(
e
){
var
n
=
e
.
result
||
{},
r
=
n
.
enterpriseId
;
Object
.
assign
(
i
.
a
.
defaults
.
headers
.
common
,{
sign
:
r
,
project
:
t
.
replace
(
/^
\/
/
,
""
),
route
:
u
.
replace
(
t
,
""
)})}));
case
4
:
if
(
!
n
){
e
.
next
=
9
;
break
}
return
e
.
next
=
7
,
q
(
s
);
case
7
:
e
.
next
=
11
;
break
;
case
9
:
return
e
.
next
=
11
,
V
();
case
11
:
Array
.
isArray
(
r
)
&&
(
H
=
H
.
concat
(
r
)),
Array
.
isArray
(
c
)
&&
(
U
=
Y
(
c
)),
a
.
beforeEach
(
Q
),
"function"
==
typeof
o
&&
(
l
.
close
(),
o
());
case
15
:
case
"end"
:
return
e
.
stop
()}}),
e
)}))))};
u
.
a
.
use
(
a
.
a
),
i
.
a
.
defaults
.
withCredentials
=!
0
,
u
.
a
.
prototype
.
axios
=
i
.
a
,
u
.
a
.
config
.
productionTip
=!
1
,
Object
.
keys
(
w
).
map
((
function
(
e
){
return
u
.
a
.
filter
(
e
,
w
[
e
])})),
u
.
a
.
mixin
(
O
),
u
.
a
.
component
(
"mk-button"
,
A
),
u
.
a
.
component
(
$
.
name
,
$
),
u
.
a
.
prototype
.
axios
.
interceptors
.
request
.
use
((
function
(
e
){
return
e
.
headers
[
"isControl"
]
=!
0
,
e
})),
u
.
a
.
prototype
.
$tips
=
Object
(
v
[
"b"
])(
r
[
"Message"
],
1500
),
u
.
a
.
prototype
.
$itemCode
=
M
,
u
.
a
.
prototype
.
$itemPerm
=
X
,
u
.
a
.
config
.
devtools
=!
1
,
window
.
Promise
.
prototype
.
finally
=
function
(
e
){
var
t
=
this
.
constructor
;
return
this
.
then
((
function
(
n
){
return
t
.
resolve
(
e
()).
then
((
function
(){
return
n
}))}),(
function
(
n
){
return
t
.
resolve
(
e
()).
then
((
function
(){
throw
n
}))}))},
Z
({
router
:
h
[
"a"
],
routes
:
b
[
"a"
],
projectPath
:
"/welfare"
,
writeRoute
:[
"/index"
],
menuCode
:
"welfare"
,
isApp
:
!
0
,
createApp
:
function
(){
new
u
.
a
({
router
:
h
[
"a"
],
store
:
k
[
"a"
],
render
:
function
(
e
){
return
e
(
m
)}}).
$mount
(
"#app"
)}})},
5880
:
function
(
e
,
t
){
e
.
exports
=
Vuex
},
"5a97"
:
function
(
e
,
t
,
n
){},
6389
:
function
(
e
,
t
){
e
.
exports
=
VueRouter
},
6861
:
function
(
e
,
t
,
n
){},
"71f6"
:
function
(
e
,
t
,
n
){
"use strict"
;
n
.
d
(
t
,
"a"
,(
function
(){
return
a
}));
n
(
"ac6a"
),
n
(
"456d"
);
var
r
=
n
(
"b775"
);
function
a
(
e
,
t
){
e
=
e
||
{};
var
n
=
Object
.
keys
(
e
);
return
n
.
forEach
((
function
(
n
){
var
a
=
e
[
n
];
"string"
===
typeof
a
&&
(
a
=
{
url
:
a
}),
a
.
url
=
""
.
concat
(
t
).
concat
(
a
.
url
),
e
[
n
]
=
function
(
e
,
t
){
return
Object
(
r
[
"a"
])(
a
,
e
,
t
)}})),
e
}},
7769
:
function
(
e
,
t
,
n
){
var
r
=
{
"./more.svg"
:
"bf71"
,
"./w-card-package.svg"
:
"3f0c"
,
"./w-gic-card.svg"
:
"903e"
,
"./w-real-gifts.svg"
:
"4c57"
,
"./w-virtual-gifts.svg"
:
"46f7"
};
function
a
(
e
){
var
t
=
c
(
e
);
return
n
(
t
)}
function
c
(
e
){
if
(
!
n
.
o
(
r
,
e
)){
var
t
=
new
Error
(
"Cannot find module '"
+
e
+
"'"
);
throw
t
.
code
=
"MODULE_NOT_FOUND"
,
t
}
return
r
[
e
]}
a
.
keys
=
function
(){
return
Object
.
keys
(
r
)},
a
.
resolve
=
c
,
e
.
exports
=
a
,
a
.
id
=
"7769"
},
"87d1"
:
function
(
e
,
t
,
n
){
"use strict"
;
n
(
"f8f5"
)},
"88ed"
:
function
(
e
,
t
,
n
){},
"8bbf"
:
function
(
e
,
t
){
e
.
exports
=
Vue
},
"903e"
:
function
(
e
,
t
,
n
){
e
.
exports
=
n
.
p
+
"img/w-gic-card.fbf4ef92.svg"
},
a18c
:
function
(
e
,
t
,
n
){
"use strict"
;
var
r
=
n
(
"6389"
),
a
=
n
.
n
(
r
),
c
=
n
(
"d046"
),
i
=
new
a
.
a
({
mode
:
"history"
,
base
:
"/welfare/"
,
routes
:
c
[
"a"
],
scrollBehavior
:
function
(
e
,
t
,
n
){
if
(
n
&&
e
.
meta
.
keepAlive
)
return
n
;
document
.
documentElement
.
scrollTop
=
0
}});
t
[
"a"
]
=
i
},
b775
:
function
(
e
,
t
,
n
){
"use strict"
;
n
.
d
(
t
,
"a"
,(
function
(){
return
f
}));
n
(
"a481"
),
n
(
"ac6a"
),
n
(
"456d"
),
n
(
"6762"
),
n
(
"2fdb"
);
var
r
=
n
(
"cebe"
),
a
=
n
.
n
(
r
),
c
=
n
(
"4328"
),
i
=
n
.
n
(
c
),
o
=
n
(
"5c96"
),
u
=
n
(
"f121"
),
s
=
n
(
"4360"
),
l
=
[
"/gic-auth-web/get-login-user-info"
,
"/api-marketing/enterprise-serve-info"
,
"/gic-auth-web/login-user-menu-of-app"
,
"/api-welfare/area/member-cards"
,
"/gic-auth-web/login-collaborator-operation-item"
,
"/gic-auth-web/login-user-operation-item-of-app"
,
"/gic-auth-web/login-collaborator-menu-of-app"
,
"/gic-auth-web/login-user-operation-item"
,
"/application-center-web/business/cooperation-application/find-list"
,
"/gic-auth-web/get-app-by-code"
];
function
d
(
e
){
switch
(
e
){
case
404
:
window
.
location
.
href
=
u
[
"e"
]
+
"/damo-system/404"
;
break
;
case
403
:
window
.
location
.
href
=
u
[
"e"
]
+
"/damo-system/403"
;
break
;
case
500
:
window
.
location
.
href
=
u
[
"e"
]
+
"/damo-system/500"
;
break
}}
a
.
a
.
defaults
.
baseURL
=
u
[
"e"
];
var
f
=
function
(
e
,
t
,
n
){
if
((
!
s
[
"a"
].
state
.
project
||
s
[
"a"
].
state
.
project
.
includes
(
"card"
)
&&!
s
[
"a"
].
state
.
currentAreaId
)
&&!
l
.
includes
(
e
.
url
))
return
new
Promise
((
function
(
e
,
t
){
t
()}));
if
(
t
=
Object
.
assign
({},
t
),
e
=
Object
.
assign
({},
e
),
e
.
rest
){
delete
e
.
rest
;
var
r
=
e
.
url
;
Object
.
keys
(
n
).
map
((
function
(
e
){
r
=
r
.
replace
(
"{"
.
concat
(
e
,
"}"
),
n
[
e
])})),
e
.
url
=
r
}
var
c
=
void
0
===
e
.
alertError
||
e
.
alertError
;
delete
e
.
alertError
;
var
f
=
{
url
:
""
,
params
:
""
,
data
:
""
,
method
:
"get"
,
useFormData
:
!
1
,
useIntercept
:
!
0
,
headers
:{}};
if
(
f
=
Object
.
assign
(
f
,
e
),
e
.
export
)
f
.
params
=
t
.
listParams
,
f
.
data
=
t
.
excel
;
else
switch
(
f
.
useFormData
&&
(
t
=
i
.
a
.
stringify
(
t
)),
f
.
method
.
toLowerCase
()){
case
"get"
:
f
.
params
=
t
;
break
;
case
"post"
:
f
.
data
=
t
;
break
;
default
:
f
.
data
=
t
;
break
}
return
new
Promise
((
function
(
e
,
t
){
a
()(
f
).
then
((
function
(
n
){
var
r
=
n
.
data
;
if
(
"6666"
==
r
.
code
){
var
a
=
window
.
location
.
origin
;(
a
.
indexOf
(
"localhost"
)
>=
0
||
a
.
indexOf
(
"192.168"
)
>=
0
)
&&
(
a
=
"https://four.gicdev.com"
),
window
.
location
.
href
=
""
.
concat
(
a
,
"/damo-system/login"
)}
if
(
f
.
useIntercept
&&
r
.
code
!=
u
[
"a"
])
return
c
&&
Object
(
o
[
"Message"
])({
message
:(
r
.
message
||
"数据加载失败"
).
slice
(
0
,
300
),
type
:
"warning"
}),
t
(
r
);
e
(
r
)})).
catch
((
function
(
e
){
e
&&
d
(
e
.
response
.
status
),
Object
(
o
[
"Message"
])({
message
:(
e
.
response
.
data
.
message
||
"数据加载失败"
).
slice
(
0
,
300
),
type
:
"warning"
}),
t
(
e
)}))}))}},
bf71
:
function
(
e
,
t
,
n
){
e
.
exports
=
n
.
p
+
"img/more.1eaea93a.svg"
},
cebe
:
function
(
e
,
t
){
e
.
exports
=
axios
},
cf45
:
function
(
e
,
t
,
n
){
"use strict"
;
n
.
d
(
t
,
"d"
,(
function
(){
return
f
})),
n
.
d
(
t
,
"a"
,(
function
(){
return
p
})),
n
.
d
(
t
,
"b"
,(
function
(){
return
g
})),
n
.
d
(
t
,
"c"
,(
function
(){
return
m
}));
n
(
"8e6e"
),
n
(
"ac6a"
),
n
(
"456d"
),
n
(
"20d6"
),
n
(
"28a5"
),
n
(
"6762"
),
n
(
"2fdb"
);
var
r
=
n
(
"ade3"
),
a
=
n
(
"5c96"
),
c
=
n
(
"4360"
),
i
=
n
(
"f121"
),
o
=
n
(
"4328"
),
u
=
n
.
n
(
o
);
function
s
(
e
,
t
){
var
n
=
Object
.
keys
(
e
);
if
(
Object
.
getOwnPropertySymbols
){
var
r
=
Object
.
getOwnPropertySymbols
(
e
);
t
&&
(
r
=
r
.
filter
((
function
(
t
){
return
Object
.
getOwnPropertyDescriptor
(
e
,
t
).
enumerable
}))),
n
.
push
.
apply
(
n
,
r
)}
return
n
}
function
l
(
e
){
for
(
var
t
=
1
;
t
<
arguments
.
length
;
t
++
){
var
n
=
null
!=
arguments
[
t
]?
arguments
[
t
]:{};
t
%
2
?
s
(
Object
(
n
),
!
0
).
forEach
((
function
(
t
){
Object
(
r
[
"a"
])(
e
,
t
,
n
[
t
])})):
Object
.
getOwnPropertyDescriptors
?
Object
.
defineProperties
(
e
,
Object
.
getOwnPropertyDescriptors
(
n
)):
s
(
Object
(
n
)).
forEach
((
function
(
t
){
Object
.
defineProperty
(
e
,
t
,
Object
.
getOwnPropertyDescriptor
(
n
,
t
))}))}
return
e
}
var
d
=
i
[
"c"
],
f
=
function
(
e
,
t
,
n
,
r
){
var
c
=
arguments
.
length
>
4
&&
void
0
!==
arguments
[
4
]?
arguments
[
4
]:{},
i
=
"top-icon"
,
o
=
c
.
dangerouslyUseHTMLString
,
u
=
void
0
===
o
||
o
,
s
=
c
.
title
,
d
=
void
0
===
s
?
""
:
s
,
f
=
c
.
showClose
,
p
=
void
0
!==
f
&&
f
,
g
=
c
.
confirmButtonText
,
m
=
void
0
===
g
?
"确认"
:
g
,
h
=
c
.
cancelButtonText
,
b
=
void
0
===
h
?
"取消"
:
h
,
v
=
c
.
distinguishCancelAndClose
,
y
=
void
0
!==
v
&&
v
;
d
&&
(
i
+=
" show-title"
),
a
[
"MessageBox"
].
confirm
(
e
,
d
,{
customClass
:
i
,
showClose
:
p
,
dangerouslyUseHTMLString
:
u
,
confirmButtonText
:
m
,
cancelButtonText
:
b
,
distinguishCancelAndClose
:
y
,
type
:
"warning"
}).
then
((
function
(){
t
&&
t
(
n
)})).
catch
((
function
(
e
){
r
&&
r
(
l
(
l
({},
n
),{},{
action
:
e
}))}))},
p
=
function
(
e
){
var
t
=
e
.
config
,
n
=
e
.
listParams
,
r
=
e
.
fieldList
,
a
=
e
.
path
,
i
=
e
.
pathName
,
o
=
e
.
query
,
s
=
{},
f
=
l
({},
t
),
p
=
r
.
filter
((
function
(
e
){
return
t
.
fields
.
includes
(
e
.
value
)}))
||
[],
g
=
u
.
a
.
stringify
(
o
);
return
f
.
sensKeys
=
p
.
filter
((
function
(
e
){
return
e
.
sensKey
})).
map
((
function
(
e
){
return
e
.
value
})),
f
.
fieldKeys
=
p
.
map
((
function
(
e
){
return
e
.
value
})),
f
.
fieldNames
=
p
.
map
((
function
(
e
){
return
e
.
label
})),
f
.
dataUrl
=
""
.
concat
(
d
.
api
,
"/welfare"
).
concat
(
a
).
concat
(
g
?
"?"
+
g
:
""
),
f
.
dataContent
=
i
,
delete
f
.
fields
,
s
.
excel
=
f
,
"wechat"
==
c
[
"a"
].
state
.
project
?
n
.
wechatId
=
c
[
"a"
].
state
.
currentAreaId
:
n
.
memberCardId
=
c
[
"a"
].
state
.
currentAreaId
,
s
.
listParams
=
n
,
s
},
g
=
function
(
e
){
var
t
=
arguments
.
length
>
1
&&
void
0
!==
arguments
[
1
]?
arguments
[
1
]:
"get"
,
n
=
arguments
.
length
>
2
?
arguments
[
2
]:
void
0
,
r
=
window
.
localStorage
.
getItem
(
"welfare-ct-id"
)
||
"{}"
;
if
(
r
=
JSON
.
parse
(
r
),
"get"
===
t
)
return
r
[
e
];
"set"
===
t
&&
(
r
[
e
]
=
n
,
window
.
localStorage
.
setItem
(
"welfare-ct-id"
,
JSON
.
stringify
(
r
)))},
m
=
function
(
e
,
t
){
var
n
=
e
?
new
Date
(
e
):
new
Date
;
return
1
==
t
&&
(
n
.
setHours
(
0
),
n
.
setMinutes
(
0
),
n
.
setSeconds
(
0
),
n
.
setMilliseconds
(
0
)),
2
==
t
&&
(
n
.
setHours
(
23
),
n
.
setMinutes
(
59
),
n
.
setSeconds
(
59
),
n
.
setMilliseconds
(
999
)),
n
.
getTime
()}},
d046
:
function
(
e
,
t
,
n
){
"use strict"
;
n
.
d
(
t
,
"a"
,(
function
(){
return
B
}));
var
r
=
n
(
"2909"
),
a
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
n
=
e
.
_self
.
_c
||
t
;
return
n
(
"div"
,[
n
(
"dm-layout"
,{
class
:{
"hide-left"
:
!
e
.
showLeft
},
attrs
:{
"is-app"
:
""
,
"first-menu-code"
:
e
.
menuCode
,
"force-show-aside"
:
e
.
showLeft
}},[
n
(
"div"
,{
attrs
:{
slot
:
"maside"
},
slot
:
"maside"
},[
n
(
"el-dropdown"
,{
staticClass
:
"m-title"
,
attrs
:{
"hide-on-click"
:
!
1
}},[
n
(
"div"
,{
staticClass
:
"el-dropdown-link"
},[
n
(
"div"
,[
n
(
"p"
,{
staticClass
:
"ellipsis"
},[
e
.
_v
(
e
.
_s
(
e
.
currentAreaName
||
"未选择域"
))]),
n
(
"i"
,{
staticClass
:
"el-icon-arrow-down el-icon--right"
})])]),
n
(
"el-dropdown-menu"
,{
staticClass
:
"m-title-menu"
,
attrs
:{
slot
:
"dropdown"
},
slot
:
"dropdown"
},
e
.
_l
(
e
.
areaSubList
,(
function
(
t
,
r
){
return
n
(
"el-dropdown-item"
,{
key
:
t
.
areaId
+
"-"
+
r
,
class
:{
checked
:
t
.
areaId
===
e
.
currentAreaId
}},[
n
(
"dl"
,{
on
:{
click
:
function
(
n
){
return
e
.
setCurrentApp
(
t
)}}},[
n
(
"dd"
,[
n
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
areaName
))]),
t
.
deleteFlag
?
n
(
"el-tag"
,{
staticClass
:
"ml5"
,
attrs
:{
effect
:
"plain"
,
type
:
"info"
}},[
e
.
_v
(
"已删除"
)]):
e
.
_e
()],
1
)]),
n
(
"i"
,{
staticClass
:
"el-icon-check select-icon"
})])})),
1
)],
1
),
n
(
"aside-menu"
,{
ref
:
"asideMenu"
})],
1
),
n
(
"div"
,{
attrs
:{
slot
:
"bread"
},
slot
:
"bread"
},[
n
(
"app-info"
,{
attrs
:{
code
:
e
.
moduleCode
}})],
1
)]),
n
(
"el-dialog"
,{
attrs
:{
visible
:
e
.
noAreaWarnVisible
,
"append-to-body"
:
""
,
width
:
"500px"
,
"close-on-press-escape"
:
!
1
,
"close-on-click-modal"
:
!
0
,
"show-close"
:
!
1
,
"lock-scroll"
:
""
}},[
n
(
"div"
,{
staticClass
:
"text-center"
},[
n
(
"p"
,{
staticClass
:
"gray02 fz16"
,
staticStyle
:{
display
:
"flex"
,
"justify-content"
:
"center"
,
"align-items"
:
"center"
}},[
n
(
"i"
,{
staticClass
:
"el-icon-warning fz30 mr5 warning-color"
}),
e
.
_v
(
"暂无资源权限"
)]),
n
(
"p"
,{
staticClass
:
"fz13 gray03 mt20"
},[
e
.
_v
(
"没有资源权限,如:可操作的会员卡、服务号等,请联系管理员进行配置"
)])]),
n
(
"span"
,{
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
n
(
"div"
,{
staticClass
:
"text-center pb20"
},[
n
(
"el-button"
,{
on
:{
click
:
e
.
toAppCenter
}},[
e
.
_v
(
" 返回应用中心"
)])],
1
)])]),
n
(
"switch-page"
)],
1
)},
c
=
[],
i
=
(
n
(
"8e6e"
),
n
(
"ac6a"
),
n
(
"456d"
),
n
(
"ade3"
)),
o
=
(
n
(
"6762"
),
n
(
"2fdb"
),
n
(
"96cf"
),
n
(
"1da1"
)),
u
=
(
n
(
"28a5"
),
n
(
"5880"
)),
s
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
n
=
e
.
_self
.
_c
||
t
;
return
n
(
"el-menu"
,{
ref
:
"asideMenu"
,
attrs
:{
"default-active"
:
e
.
activeIndex
},
on
:{
select
:
e
.
handleSelect
}},[
e
.
_l
(
e
.
menu
,(
function
(
t
){
return
[
0
!=
t
.
isShow
&&
Array
.
isArray
(
t
.
children
)
&&
t
.
children
.
filter
((
function
(
e
){
return
e
.
isShow
})).
length
>
0
?
n
(
"el-submenu"
,{
key
:
t
.
menuId
,
attrs
:{
"popper-class"
:
"dm-menu-submenu"
,
index
:
""
+
t
.
menuId
}},[
n
(
"template"
,{
slot
:
"title"
},[
n
(
"i"
,{
class
:[
"menu-icon"
,
t
.
iconUrl
]}),
n
(
"span"
,{
staticClass
:
"menu-text"
},[
e
.
_v
(
e
.
_s
(
t
.
menuName
))])]),
e
.
_l
(
t
.
children
,(
function
(
r
){
return
[
0
!=
r
.
isShow
?
n
(
"el-menu-item"
,{
key
:
r
.
menuId
,
attrs
:{
index
:
t
.
menuId
+
"-"
+
r
.
menuId
}},[
n
(
"i"
,{
class
:[
"menu-icon"
,
r
.
iconUrl
]}),
n
(
"span"
,{
staticClass
:
"menu-text"
,
attrs
:{
slot
:
"title"
},
slot
:
"title"
},[
e
.
_v
(
e
.
_s
(
r
.
menuName
))])]):
e
.
_e
()]}))],
2
):
0
!=
t
.
isShow
?
n
(
"el-menu-item"
,{
key
:
t
.
menuId
,
attrs
:{
index
:
""
+
t
.
menuId
}},[
n
(
"i"
,{
class
:[
"menu-icon"
,
t
.
iconUrl
]}),
n
(
"span"
,{
staticClass
:
"menu-text"
,
attrs
:{
slot
:
"title"
},
slot
:
"title"
},[
e
.
_v
(
e
.
_s
(
t
.
menuName
))])]):
e
.
_e
()]}))],
2
)},
l
=
[];
n
(
"7514"
),
n
(
"a481"
);
function
d
(
e
,
t
){
var
n
=
Object
.
keys
(
e
);
if
(
Object
.
getOwnPropertySymbols
){
var
r
=
Object
.
getOwnPropertySymbols
(
e
);
t
&&
(
r
=
r
.
filter
((
function
(
t
){
return
Object
.
getOwnPropertyDescriptor
(
e
,
t
).
enumerable
}))),
n
.
push
.
apply
(
n
,
r
)}
return
n
}
function
f
(
e
){
for
(
var
t
=
1
;
t
<
arguments
.
length
;
t
++
){
var
n
=
null
!=
arguments
[
t
]?
arguments
[
t
]:{};
t
%
2
?
d
(
Object
(
n
),
!
0
).
forEach
((
function
(
t
){
Object
(
i
[
"a"
])(
e
,
t
,
n
[
t
])})):
Object
.
getOwnPropertyDescriptors
?
Object
.
defineProperties
(
e
,
Object
.
getOwnPropertyDescriptors
(
n
)):
d
(
Object
(
n
)).
forEach
((
function
(
t
){
Object
.
defineProperty
(
e
,
t
,
Object
.
getOwnPropertyDescriptor
(
n
,
t
))}))}
return
e
}
var
p
=
{
name
:
"AsideMenu"
,
data
:
function
(){
return
{
menuFlat
:[],
parentdIds
:[],
activeIndex
:
""
}},
methods
:{
flat
:
function
(
e
){
var
t
=
this
;
e
.
forEach
((
function
(
e
){
t
.
menuFlat
.
push
(
e
),
Array
.
isArray
(
e
.
children
)
&&
e
.
children
.
length
>
0
&&
t
.
flat
(
e
.
children
)}))},
handleSelect
:
function
(
e
){
var
t
=
this
,
n
=
window
.
location
.
pathname
;
n
=
n
.
split
(
"/"
)[
1
],
n
=
"/"
.
concat
(
n
);
var
r
=
e
.
split
(
"-"
),
a
=
r
.
length
>
1
?
r
[
1
]:
r
[
0
],
c
=
this
.
menuFlat
.
filter
((
function
(
e
){
return
e
.
menuId
==
a
}))[
0
]
||
{},
i
=
c
.
menuUrl
||
""
,
o
=
c
.
projectUrlForWeb
;
if
(
r
.
length
>
1
){
var
u
=
c
.
children
||
[];
u
[
0
]
&&
u
[
0
].
menuUrl
&&
(
i
=
u
[
0
].
menuUrl
,
o
=
u
[
0
].
projectUrlForWeb
)}
this
.
menu
.
map
((
function
(
e
){
Array
.
isArray
(
e
.
children
)
&&
e
.
children
.
length
>
0
&&
e
.
menuId
!=
r
[
0
]
&&
e
.
children
.
some
((
function
(
e
){
return
e
.
isShow
}))
&&
t
.
$refs
.
asideMenu
.
close
(
""
.
concat
(
e
.
menuId
))})),
n
===
o
?
this
.
$router
.
push
(
i
.
replace
(
"/#"
,
""
)):
window
.
location
.
href
=
""
.
concat
(
o
).
concat
(
i
)},
getActiveIndex
:
function
(){
var
e
=
this
,
t
=
this
.
menu
.
find
((
function
(
t
){
if
(
!
t
.
children
||!
t
.
children
.
filter
((
function
(
e
){
return
e
.
isShow
})).
length
)
return
t
.
menuUrl
===
e
.
$route
.
path
||
t
.
menuUrl
===
e
.
$route
.
meta
.
path
;
var
n
=
t
.
children
.
find
((
function
(
t
){
return
t
.
menuUrl
===
e
.
$route
.
path
||
t
.
menuUrl
===
e
.
$route
.
meta
.
path
}));
return
!!
n
||
void
0
}));
if
(
t
)
if
(
t
.
children
&&
t
.
children
.
filter
((
function
(
e
){
return
e
.
isShow
})).
length
){
var
n
=
t
.
children
.
find
((
function
(
t
){
return
t
.
menuUrl
===
e
.
$route
.
path
||
t
.
menuUrl
===
e
.
$route
.
meta
.
path
}));
this
.
activeIndex
=
""
.
concat
(
t
.
menuId
,
"-"
).
concat
(
n
.
menuId
)}
else
this
.
activeIndex
=
""
.
concat
(
t
.
menuId
)}},
computed
:
f
(
f
({},
Object
(
u
[
"mapState"
])([
"routePath"
,
"menuCode"
,
"project"
])),{},{
menu
:
function
(){
var
e
=
this
.
project
;
if
(
""
==
e
||
"index"
==
e
)
return
[];
var
t
=
e
.
includes
(
"card"
)?
"card"
:
"gift"
,
n
=
this
.
routePath
.
filter
((
function
(
e
){
return
e
.
menuCode
.
includes
(
t
)}));
return
n
||
[]}}),
watch
:{
menu
:{
handler
:
function
(){
this
.
flat
(
this
.
menu
.
slice
()),
this
.
getActiveIndex
()},
deep
:
!
0
,
immediate
:
!
0
},
"$route.path"
:{
handler
:
function
(){}}}},
g
=
p
,
m
=
n
(
"2877"
),
h
=
Object
(
m
[
"a"
])(
g
,
s
,
l
,
!
1
,
null
,
null
,
null
),
b
=
h
.
exports
,
v
=
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
r
=
e
.
_self
.
_c
||
t
;
return
""
!=
e
.
project
&&
"index"
!=
e
.
project
?
r
(
"el-popover"
,{
attrs
:{
placement
:
"left-end"
,
width
:
"143"
,
trigger
:
"hover"
,
"popper-class"
:
"sw-page-pop"
}},[
r
(
"div"
,
e
.
_l
(
e
.
wfTypes
,(
function
(
t
,
a
){
return
r
(
"ul"
,{
key
:
a
,
staticClass
:
"toggle"
},[
r
(
"li"
,{
directives
:[{
name
:
"show"
,
rawName
:
"v-show"
,
value
:
"w-"
+
e
.
project
!=
t
.
code
,
expression
:
"('w-' + project) != item.code"
}]},[
r
(
"router-link"
,{
attrs
:{
to
:
t
.
target
}},[
r
(
"img"
,{
attrs
:{
src
:
n
(
"7769"
)(
"./"
+
t
.
code
+
".svg"
),
width
:
"16"
}}),
e
.
_v
(
e
.
_s
(
t
.
title
))])],
1
)])})),
0
),
r
(
"div"
,{
staticClass
:
"switch-page"
,
attrs
:{
slot
:
"reference"
},
slot
:
"reference"
},[
r
(
"img"
,{
attrs
:{
src
:
n
(
"bf71"
),
width
:
"30"
,
height
:
"30"
}})])]):
e
.
_e
()},
y
=
[],
w
=
n
(
"f9e4"
),
O
=
{
name
:
"SwitchPage"
,
data
:
function
(){
return
{
wfTypes
:
w
[
"b"
]}},
computed
:{
project
:
function
(){
return
this
.
$store
.
state
.
project
}}},
k
=
O
,
j
=
(
n
(
"fac9"
),
n
(
"87d1"
),
Object
(
m
[
"a"
])(
k
,
v
,
y
,
!
1
,
null
,
"40388a5c"
,
null
)),
x
=
j
.
exports
,
S
=
n
(
"cf45"
),
C
=
n
(
"2934"
);
function
P
(
e
,
t
){
var
n
=
Object
.
keys
(
e
);
if
(
Object
.
getOwnPropertySymbols
){
var
r
=
Object
.
getOwnPropertySymbols
(
e
);
t
&&
(
r
=
r
.
filter
((
function
(
t
){
return
Object
.
getOwnPropertyDescriptor
(
e
,
t
).
enumerable
}))),
n
.
push
.
apply
(
n
,
r
)}
return
n
}
function
A
(
e
){
for
(
var
t
=
1
;
t
<
arguments
.
length
;
t
++
){
var
n
=
null
!=
arguments
[
t
]?
arguments
[
t
]:{};
t
%
2
?
P
(
Object
(
n
),
!
0
).
forEach
((
function
(
t
){
Object
(
i
[
"a"
])(
e
,
t
,
n
[
t
])})):
Object
.
getOwnPropertyDescriptors
?
Object
.
defineProperties
(
e
,
Object
.
getOwnPropertyDescriptors
(
n
)):
P
(
Object
(
n
)).
forEach
((
function
(
t
){
Object
.
defineProperty
(
e
,
t
,
Object
.
getOwnPropertyDescriptor
(
n
,
t
))}))}
return
e
}
var
I
=
C
[
"a"
].
getSubappList
,
E
=
{
name
:
"Layout"
,
components
:{
asideMenu
:
b
,
switchPage
:
x
},
data
:
function
(){
return
{
noAreaWarnVisible
:
!
1
}},
mounted
:
function
(){
this
.
init
()},
methods
:{
toAppCenter
:
function
(){
window
.
location
.
href
=
"/app-center/applyIndex"
},
handleSubApp
:
function
(
e
){
var
t
=
e
.
type
,
n
=
e
.
areaId
,
r
=
e
.
reason
;
this
.
addSubResVisible
=!
0
,
this
.
$refs
.
addSubRes
.
setData
({
type
:
t
,
areaId
:
n
,
reason
:
r
})},
addSubApp
:
function
(){
this
.
subAppDialogVisible
=!
0
},
setCurrentApp
:
function
(
e
){
var
t
=
e
.
areaId
;
this
.
$router
.
push
(
"/"
+
this
.
$route
.
path
.
split
(
"/"
)[
1
]),
this
.
$store
.
commit
(
"setCurrentSubApp"
,
t
)},
init
:
function
(){
var
e
=
Object
(
o
[
"a"
])(
regeneratorRuntime
.
mark
((
function
e
(){
var
t
,
n
,
r
,
a
;
return
regeneratorRuntime
.
wrap
((
function
(
e
){
while
(
1
)
switch
(
e
.
prev
=
e
.
next
){
case
0
:
return
t
=
this
.
moduleCode
,
e
.
next
=
3
,
I
();
case
3
:
if
(
n
=
e
.
sent
,
this
.
$store
.
commit
(
"setSubAppList"
,
n
.
result
.
result
||
[]),
!
this
.
areaSubList
.
length
){
e
.
next
=
20
;
break
}
if
(
e
.
prev
=
6
,
r
=
this
.
$route
.
query
.
areaId
||
""
,
!
r
||!
this
.
areaSubList
.
map
((
function
(
e
){
return
e
.
areaId
})).
includes
(
r
)){
e
.
next
=
11
;
break
}
return
this
.
$store
.
commit
(
"setCurrentSubApp"
,
r
),
e
.
abrupt
(
"return"
);
case
11
:
a
=
Object
(
S
[
"b"
])(
t
),
a
&&
this
.
areaSubList
.
some
((
function
(
e
){
return
e
.
areaId
==
a
}))?
this
.
$store
.
commit
(
"setCurrentSubApp"
,
a
):
this
.
$store
.
commit
(
"setCurrentSubApp"
,
this
.
areaSubList
[
0
].
areaId
),
e
.
next
=
18
;
break
;
case
15
:
e
.
prev
=
15
,
e
.
t0
=
e
[
"catch"
](
6
),
this
.
$store
.
commit
(
"setCurrentSubApp"
,
this
.
areaSubList
[
0
].
areaId
);
case
18
:
e
.
next
=
21
;
break
;
case
20
:
this
.
noAreaWarnVisible
=!
0
;
case
21
:
case
"end"
:
return
e
.
stop
()}}),
e
,
this
,[[
6
,
15
]])})));
function
t
(){
return
e
.
apply
(
this
,
arguments
)}
return
t
}()},
computed
:
A
(
A
({},
Object
(
u
[
"mapState"
])([
"default_areaId"
,
"currentAreaName"
,
"currentAreaId"
,
"areaSubList"
,
"project"
,
"menu"
,
"extraHideLeft"
,
"appInfo"
,
"lock"
,
"moduleCode"
])),{},{
showLeft
:
function
(){
return
!
(
""
==
this
.
project
||
"index"
==
this
.
project
)}})},
_
=
E
,
D
=
(
n
(
"d701"
),
Object
(
m
[
"a"
])(
_
,
a
,
c
,
!
1
,
null
,
"59bd0752"
,
null
)),
L
=
D
.
exports
,
$
=
[{
path
:
"/gic-card"
,
component
:
L
,
redirect
:
"/gic-card/list"
,
children
:[{
path
:
"list"
,
component
:
function
(){
return
Promise
.
all
([
n
.
e
(
"card-package~gic-card"
),
n
.
e
(
"gic-card"
)]).
then
(
n
.
bind
(
null
,
"f483"
))}},{
path
:
"member-get"
,
component
:
function
(){
return
Promise
.
all
([
n
.
e
(
"card-package~gic-card"
),
n
.
e
(
"gic-card"
)]).
then
(
n
.
bind
(
null
,
"0b1f"
))},
meta
:{
path
:
"/gic-card/list"
}},{
path
:
"stock-list"
,
component
:
function
(){
return
Promise
.
all
([
n
.
e
(
"card-package~gic-card"
),
n
.
e
(
"gic-card"
)]).
then
(
n
.
bind
(
null
,
"773f"
))},
meta
:{
path
:
"/gic-card/list"
}},{
path
:
"send-list"
,
component
:
function
(){
return
Promise
.
all
([
n
.
e
(
"card-package~gic-card"
),
n
.
e
(
"gic-card"
)]).
then
(
n
.
bind
(
null
,
"e9f9"
))}},{
path
:
"add"
,
component
:
function
(){
return
Promise
.
all
([
n
.
e
(
"card-package~gic-card"
),
n
.
e
(
"gic-card"
)]).
then
(
n
.
bind
(
null
,
"5450"
))},
meta
:{
type
:
"add"
,
path
:
"/gic-card/list"
}},{
path
:
"edit"
,
component
:
function
(){
return
Promise
.
all
([
n
.
e
(
"card-package~gic-card"
),
n
.
e
(
"gic-card"
)]).
then
(
n
.
bind
(
null
,
"5450"
))},
meta
:{
type
:
"edit"
,
path
:
"/gic-card/list"
}},{
path
:
"copy"
,
component
:
function
(){
return
Promise
.
all
([
n
.
e
(
"card-package~gic-card"
),
n
.
e
(
"gic-card"
)]).
then
(
n
.
bind
(
null
,
"5450"
))},
meta
:{
type
:
"copy"
,
path
:
"/gic-card/list"
}},{
path
:
"info"
,
component
:
function
(){
return
Promise
.
all
([
n
.
e
(
"card-package~gic-card"
),
n
.
e
(
"gic-card"
)]).
then
(
n
.
bind
(
null
,
"afae"
))},
meta
:{
type
:
"info"
,
path
:
"/gic-card/list"
}},{
path
:
"info-edit"
,
component
:
function
(){
return
Promise
.
all
([
n
.
e
(
"card-package~gic-card"
),
n
.
e
(
"gic-card"
)]).
then
(
n
.
bind
(
null
,
"afae"
))},
meta
:{
type
:
"edit"
,
path
:
"/gic-card/list"
}},{
path
:
"destory-list"
,
component
:
function
(){
return
Promise
.
all
([
n
.
e
(
"card-package~gic-card"
),
n
.
e
(
"gic-card"
)]).
then
(
n
.
bind
(
null
,
"125f"
))}}]}],
M
=
[{
path
:
"/card-package"
,
component
:
L
,
redirect
:
"/card-package/list"
,
children
:[{
path
:
"list"
,
component
:
function
(){
return
Promise
.
all
([
n
.
e
(
"card-package~gic-card"
),
n
.
e
(
"card-package"
)]).
then
(
n
.
bind
(
null
,
"9922"
))}},{
path
:
"add"
,
component
:
function
(){
return
Promise
.
all
([
n
.
e
(
"card-package~gic-card"
),
n
.
e
(
"card-package"
)]).
then
(
n
.
bind
(
null
,
"6de5"
))},
meta
:{
type
:
"add"
,
path
:
"/card-package/list"
}},{
path
:
"edit"
,
component
:
function
(){
return
Promise
.
all
([
n
.
e
(
"card-package~gic-card"
),
n
.
e
(
"card-package"
)]).
then
(
n
.
bind
(
null
,
"6de5"
))},
meta
:{
type
:
"edit"
,
path
:
"/card-package/list"
}},{
path
:
"send-list"
,
component
:
function
(){
return
Promise
.
all
([
n
.
e
(
"card-package~gic-card"
),
n
.
e
(
"card-package"
)]).
then
(
n
.
bind
(
null
,
"5a8b"
))}}]}],
T
=
[{
path
:
"/gift-manage"
,
component
:
L
,
redirect
:
"/gift-manage/real-gift"
,
children
:[{
path
:
"real-gift"
,
component
:
function
(){
return
Promise
.
all
([
n
.
e
(
"chunk-35ba1f02"
),
n
.
e
(
"chunk-4b84bff4"
)]).
then
(
n
.
bind
(
null
,
"e6de"
))}},{
path
:
"real-gift-detail"
,
component
:
function
(){
return
n
.
e
(
"chunk-2107e6c5"
).
then
(
n
.
bind
(
null
,
"ffec"
))}}]}],
N
=
[{
path
:
"/gift-manage"
,
component
:
L
,
redirect
:
"/gift-manage/virtual-gift"
,
children
:[{
path
:
"virtual-gift"
,
component
:
function
(){
return
Promise
.
all
([
n
.
e
(
"chunk-35ba1f02"
),
n
.
e
(
"chunk-02062f99"
)]).
then
(
n
.
bind
(
null
,
"f011"
))}},{
path
:
"virtual-gift-detail"
,
component
:
function
(){
return
n
.
e
(
"chunk-8a171d34"
).
then
(
n
.
bind
(
null
,
"a0f2"
))}}]}],
F
=
[{
path
:
"/gift-manage"
,
component
:
L
,
redirect
:
"/gift-manage/stock-record"
,
children
:[{
path
:
"stock-record"
,
component
:
function
(){
return
n
.
e
(
"chunk-9f31dcfe"
).
then
(
n
.
bind
(
null
,
"bf73"
))}}]}],
U
=
[].
concat
(
Object
(
r
[
"a"
])(
$
),
Object
(
r
[
"a"
])(
M
),
Object
(
r
[
"a"
])(
T
),
Object
(
r
[
"a"
])(
N
),
Object
(
r
[
"a"
])(
F
)),
H
=
[{
path
:
"/"
,
component
:
L
,
redirect
:
"/gic-card/list"
,
children
:[{
path
:
"/index"
,
component
:
function
(){
return
n
.
e
(
"chunk-53f4695c"
).
then
(
n
.
bind
(
null
,
"1e4b"
))}}]},{
path
:
"*"
,
redirect
:
"/index"
}],
B
=
[].
concat
(
H
,
Object
(
r
[
"a"
])(
U
))},
d701
:
function
(
e
,
t
,
n
){
"use strict"
;
n
(
"1b26"
)},
ed08
:
function
(
e
,
t
,
n
){
"use strict"
;
n
.
d
(
t
,
"a"
,(
function
(){
return
o
})),
n
.
d
(
t
,
"b"
,(
function
(){
return
u
})),
n
.
d
(
t
,
"e"
,(
function
(){
return
l
})),
n
.
d
(
t
,
"d"
,(
function
(){
return
d
})),
n
.
d
(
t
,
"g"
,(
function
(){
return
f
})),
n
.
d
(
t
,
"h"
,(
function
(){
return
p
})),
n
.
d
(
t
,
"c"
,(
function
(){
return
g
})),
n
.
d
(
t
,
"f"
,(
function
(){
return
m
}));
n
(
"8e6e"
),
n
(
"2909"
),
n
(
"5df3"
),
n
(
"4f7f"
),
n
(
"34ef"
),
n
(
"28a5"
),
n
(
"386d"
),
n
(
"4917"
),
n
(
"3b2b"
);
var
r
=
n
(
"ade3"
),
a
=
(
n
(
"53ca"
),
n
(
"456d"
),
n
(
"ac6a"
),
n
(
"a481"
),
n
(
"6b54"
),
n
(
"a18c"
));
function
c
(
e
,
t
){
var
n
=
Object
.
keys
(
e
);
if
(
Object
.
getOwnPropertySymbols
){
var
r
=
Object
.
getOwnPropertySymbols
(
e
);
t
&&
(
r
=
r
.
filter
((
function
(
t
){
return
Object
.
getOwnPropertyDescriptor
(
e
,
t
).
enumerable
}))),
n
.
push
.
apply
(
n
,
r
)}
return
n
}
function
i
(
e
){
for
(
var
t
=
1
;
t
<
arguments
.
length
;
t
++
){
var
n
=
null
!=
arguments
[
t
]?
arguments
[
t
]:{};
t
%
2
?
c
(
Object
(
n
),
!
0
).
forEach
((
function
(
t
){
Object
(
r
[
"a"
])(
e
,
t
,
n
[
t
])})):
Object
.
getOwnPropertyDescriptors
?
Object
.
defineProperties
(
e
,
Object
.
getOwnPropertyDescriptors
(
n
)):
c
(
Object
(
n
)).
forEach
((
function
(
t
){
Object
.
defineProperty
(
e
,
t
,
Object
.
getOwnPropertyDescriptor
(
n
,
t
))}))}
return
e
}
var
o
=
function
(
e
,
t
){
var
n
,
r
=
t
||
200
;
return
function
(){
var
t
=
this
,
a
=
arguments
;
n
&&
clearTimeout
(
n
),
n
=
setTimeout
((
function
(){
n
=
null
,
e
.
apply
(
t
,
a
)}),
r
)}},
u
=
function
(
e
,
t
){
var
n
=
null
,
r
=
new
Date
;
return
function
(){
var
a
=
new
Date
,
c
=
a
-
r
,
i
=
arguments
,
o
=
this
;
c
>=
t
?(
n
&&
clearTimeout
(
n
),
e
.
apply
(
o
,
i
),
r
=
a
):
n
||
(
n
=
setTimeout
((
function
(){
e
.
apply
(
o
,
i
),
r
=
new
Date
}),
t
-
c
))}},
s
=
function
(
e
){
return
e
*=
1
,
e
<
10
?
"0"
+
e
:
e
},
l
=
function
(
e
){
var
t
=
arguments
.
length
>
1
&&
void
0
!==
arguments
[
1
]?
arguments
[
1
]:
"yyyy-MM-dd-HH-mm-ss"
,
n
=
arguments
.
length
>
2
&&
void
0
!==
arguments
[
2
]
&&
arguments
[
2
];
if
(
!
e
)
return
n
?{
y
:
""
,
h
:
""
}:
""
;
"number"
!==
typeof
e
&&
"string"
!==
typeof
e
||
(
e
=
new
Date
(
e
));
try
{
if
(
"string"
===
typeof
e
)
return
n
?{
y
:
e
,
h
:
""
}:
e
;
var
r
=
t
.
indexOf
(
"yyyy"
)
>=
0
?
s
(
e
.
getFullYear
()):
""
,
a
=
t
.
indexOf
(
"MM"
)
>=
0
?
"-"
+
s
(
e
.
getMonth
()
+
1
):
""
,
c
=
t
.
indexOf
(
"dd"
)
>=
0
?
"-"
+
s
(
e
.
getDate
()):
""
,
i
=
t
.
indexOf
(
"HH"
)
>=
0
?
" "
+
s
(
e
.
getHours
()):
""
,
o
=
t
.
indexOf
(
"mm"
)
>=
0
?
":"
+
s
(
e
.
getMinutes
()):
""
,
u
=
t
.
indexOf
(
"ss"
)
>=
0
?
":"
+
s
(
e
.
getSeconds
()):
""
;
return
n
?{
y
:
r
+
a
+
c
,
h
:
i
+
o
+
u
}:
r
+
a
+
c
+
i
+
o
+
u
}
catch
(
l
){
return
n
?{
y
:
e
,
h
:
""
}:
e
}},
d
=
function
(
e
){
var
t
=
arguments
.
length
>
1
&&
void
0
!==
arguments
[
1
]?
arguments
[
1
]:
2
;
try
{
t
>
0
&&
(
e
=
e
.
toFixed
(
t
))}
catch
(
a
){
return
e
}
var
n
=
e
.
toString
(),
r
=
n
.
indexOf
(
"."
)
>-
1
?
/
(\d)(?=(\d{3})
+
\.)
/g
:
/
(\d)(?=(?:\d{3})
+$
)
/g
;
return
n
.
replace
(
r
,
"$1,"
)},
f
=
function
(
e
){
return
e
?
'<p class="cell-time">'
.
concat
(
l
(
e
,
"yyyy-MM-dd-HH-mm-ss"
,
!
0
).
y
,
'</p>
\
n <p class="cell-time">'
).
concat
(
l
(
e
,
"yyyy-MM-dd-HH-mm-ss"
,
!
0
).
h
,
"</p>
\
n "
):
"--"
},
p
=
function
(){
var
e
=
a
[
"a"
].
app
.
_route
,
t
=
i
({},
e
.
query
);
delete
t
.
areaId
;
var
n
=
i
(
i
({},
t
),{},{
timestamp
:(
new
Date
).
getTime
()});
a
[
"a"
].
push
({
path
:
e
.
fullPath
,
query
:
n
})},
g
=
function
(
e
){
return
JSON
.
parse
(
JSON
.
stringify
(
e
))},
m
=
function
(
e
){
return
""
===
e
||
null
==
e
}},
f121
:
function
(
e
,
t
,
n
){
"use strict"
;
n
.
d
(
t
,
"a"
,(
function
(){
return
r
})),
n
.
d
(
t
,
"e"
,(
function
(){
return
c
})),
n
.
d
(
t
,
"d"
,(
function
(){
return
i
})),
n
.
d
(
t
,
"b"
,(
function
(){
return
o
})),
n
.
d
(
t
,
"f"
,(
function
(){
return
u
}));
var
r
=
"0000"
;
function
a
(){
var
e
=
window
.
location
.
origin
;
return
(
e
.
indexOf
(
"localhost"
)
>=
0
||
e
.
indexOf
(
"192.168"
)
>=
0
)
&&
(
e
=
"https://four.gicdev.com"
),
e
}
t
[
"c"
]
=
{
api
:
window
.
location
.
protocol
+
"//"
+
window
.
location
.
host
||
""
};
var
c
=
a
(),
i
=
(
"four.gicdev.com"
===
window
.
location
.
host
||
window
.
location
.
origin
,
"/api-marketing"
),
o
=
"/gic-auth-web"
,
u
=
"/api-welfare"
},
f8f5
:
function
(
e
,
t
,
n
){},
f9e4
:
function
(
e
,
t
,
n
){
"use strict"
;
n
.
d
(
t
,
"b"
,(
function
(){
return
r
})),
n
.
d
(
t
,
"a"
,(
function
(){
return
a
}));
n
(
"6c7b"
),
Array
(
31
).
fill
().
map
((
function
(
e
,
t
){
return
{
label
:
""
.
concat
(
t
+
1
,
"号"
),
value
:
""
.
concat
(
t
+
1
)}})),
Array
(
28
).
fill
().
map
((
function
(
e
,
t
){
return
{
label
:
""
.
concat
(
t
+
1
,
"号"
),
value
:
""
.
concat
(
t
+
1
)}})).
concat
({
label
:
"月底"
,
value
:
"0"
}),
Array
(
12
).
fill
().
map
((
function
(
e
,
t
){
return
{
label
:
""
.
concat
(
t
+
1
,
"月"
),
value
:
""
.
concat
(
t
+
1
)}}));
var
r
=
[{
title
:
"实物礼品"
,
desc
:
"文案描述文案描述文案描述"
,
target
:
"/gift-manage/real-gift"
,
code
:
"w-real-gifts"
},{
title
:
"虚拟礼品"
,
desc
:
"文案描述文案描述文案描述"
,
target
:
"/gift-manage/virtual-gift"
,
code
:
"w-virtual-gifts"
},{
title
:
"GIC 卡券"
,
desc
:
"文案描述文案描述文案描述"
,
target
:
"/gic-card/list"
,
code
:
"w-gic-card"
},{
title
:
"GIC 卡券包"
,
desc
:
"文案描述文案描述文案描述"
,
target
:
"/card-package/list"
,
code
:
"w-card-package"
}],
a
=
{
1
:
"增加"
,
2
:
"减少"
,
3
:
"占用"
,
4
:
"释放"
}},
fac9
:
function
(
e
,
t
,
n
){
"use strict"
;
n
(
"5a97"
)}});
\ No newline at end of file
\ No newline at end of file
src/utils/permission.js
View file @
f072691a
...
@@ -56,16 +56,16 @@ async function getAppMenu(menuCode) {
...
@@ -56,16 +56,16 @@ async function getAppMenu(menuCode) {
}
}
});
});
const
getUserMenu
=
request
({
url
:
urlList
.
menu
[
identifier
]
},
{
appId
}).
then
(
res
=>
{
const
getUserMenu
=
request
({
url
:
urlList
.
menu
[
identifier
]
},
{
appId
}).
then
(
res
=>
{
if
(
process
.
env
[
'NODE_ENV'
]
!==
'development'
&&
!
(
res
.
result
||
[]).
length
)
{
// eslint-disable-line
//
if (process.env['NODE_ENV'] !== 'development' && !(res.result || []).length) { // eslint-disable-line
window
.
location
.
href
=
`
${
origin
}
/damo-system/no-access`
;
//
window.location.href = `${origin}/damo-system/no-access`;
}
//
}
accessPath
=
getProjectMenu
(
res
.
result
||
[]);
accessPath
=
getProjectMenu
(
res
.
result
||
[]);
store
.
commit
(
'updateRoutePath'
,
res
.
result
?
res
.
result
[
0
].
children
:
[]);
// warning: 与默认文件不同处 store中放入route信息
store
.
commit
(
'updateRoutePath'
,
res
.
result
?
res
.
result
[
0
].
children
:
[]);
// warning: 与默认文件不同处 store中放入route信息
});
});
const
getUserOperation
=
request
({
url
:
urlList
.
opera
[
identifier
]
},
{
appId
}).
then
(
res
=>
{
const
getUserOperation
=
request
({
url
:
urlList
.
opera
[
identifier
]
},
{
appId
}).
then
(
res
=>
{
if
(
process
.
env
[
'NODE_ENV'
]
!==
'development'
&&
!
(
res
.
result
||
[]).
length
)
{
// eslint-disable-line
//
if (process.env['NODE_ENV'] !== 'development' && !(res.result || []).length) { // eslint-disable-line
window
.
location
.
href
=
`
${
origin
}
/damo-system/no-access`
;
//
window.location.href = `${origin}/damo-system/no-access`;
}
//
}
itemPermission
=
getItemPerm
(
res
.
result
||
[]);
itemPermission
=
getItemPerm
(
res
.
result
||
[]);
});
});
return
Promise
.
all
([
getUserMenu
,
getUserOperation
]);
return
Promise
.
all
([
getUserMenu
,
getUserOperation
]);
...
...
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