Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
memberTag-web
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
memberTag
memberTag-web
Commits
48b3200f
Commit
48b3200f
authored
Feb 26, 2019
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 更新 cdn 公共组件
parent
c931e927
Hide whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
31 additions
and
31 deletions
+31
-31
index.html
dist/index.html
+2
-2
app.40facf101d75f588066fbbd8dbbb464c.css
dist/static/css/app.40facf101d75f588066fbbd8dbbb464c.css
+0
-0
13.3977c99f046a0a83bc66.js
dist/static/js/13.3977c99f046a0a83bc66.js
+2
-2
14.5d0583cce164751ef21d.js
dist/static/js/14.5d0583cce164751ef21d.js
+2
-2
15.e054914147987d5fdff4.js
dist/static/js/15.e054914147987d5fdff4.js
+2
-2
16.fec0731264e2f0dafda4.js
dist/static/js/16.fec0731264e2f0dafda4.js
+2
-2
17.7fd866c078469a0c4dd6.js
dist/static/js/17.7fd866c078469a0c4dd6.js
+2
-2
18.3eb67a4633441e04fc8d.js
dist/static/js/18.3eb67a4633441e04fc8d.js
+2
-2
19.54ac05445ba078945752.js
dist/static/js/19.54ac05445ba078945752.js
+2
-2
20.1946712fb38c8c21216c.js
dist/static/js/20.1946712fb38c8c21216c.js
+2
-2
21.cddba7dc7ab68dc8a3b0.js
dist/static/js/21.cddba7dc7ab68dc8a3b0.js
+2
-2
22.1dc079dea6c2a278c842.js
dist/static/js/22.1dc079dea6c2a278c842.js
+2
-2
23.b5f73790a9e56c25ae74.js
dist/static/js/23.b5f73790a9e56c25ae74.js
+2
-2
24.fded9a13ed71f9f15272.js
dist/static/js/24.fded9a13ed71f9f15272.js
+2
-2
27.05fc6ac37ece00041190.js
dist/static/js/27.05fc6ac37ece00041190.js
+0
-0
app.8e3a79326e176fe1fee9.js
dist/static/js/app.8e3a79326e176fe1fee9.js
+2
-2
manifest.0d206eb708d4c63d6607.js
dist/static/js/manifest.0d206eb708d4c63d6607.js
+0
-2
manifest.b927f1b297b94f7b3866.js
dist/static/js/manifest.b927f1b297b94f7b3866.js
+2
-0
index.html
index.html
+1
-1
No files found.
dist/index.html
View file @
48b3200f
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><link
rel=
"shortcut icon"
href=
./favicon.ico
><title>
GIC-会员标签
</title><link
href=
./static/css/app.065fea123b696e639e06ebc9add11d75.css
rel=
stylesheet
></head><body
style=
"background-color: #f0f2f5;min-width: 1400px;"
><div
id=
app
></div><script
src=
//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/elementUI/index.2.5.4.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/header.2.0.01.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/footer.2.0.02.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/store-new.2.0.00.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/aside-menu.2.0.02.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/area-ab.2.0.00.js
></script><script
type=
text/javascript
src=
./static/js/manifest.0d206eb708d4c63d6607.js
></script><script
type=
text/javascript
src=
./static/js/vendor.ba739340d6634defcc3c.js
></script><script
type=
text/javascript
src=
./static/js/app.73fde9af31619c4680ad.js
></script></body></html>
\ No newline at end of file
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><link
rel=
"shortcut icon"
href=
./favicon.ico
><title>
GIC-会员标签
</title><link
href=
./static/css/app.40facf101d75f588066fbbd8dbbb464c.css
rel=
stylesheet
></head><body
style=
"background-color: #f0f2f5;min-width: 1400px;"
><div
id=
app
></div><script
src=
//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/elementUI/index.2.5.4.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/header.2.0.03.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/footer.2.0.02.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/store-new.2.0.00.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/aside-menu.2.0.02.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/area-ab.2.0.00.js
></script><script
type=
text/javascript
src=
./static/js/manifest.b927f1b297b94f7b3866.js
></script><script
type=
text/javascript
src=
./static/js/vendor.ba739340d6634defcc3c.js
></script><script
type=
text/javascript
src=
./static/js/app.8e3a79326e176fe1fee9.js
></script></body></html>
\ No newline at end of file
dist/static/css/app.
065fea123b696e639e06ebc9add11d75
.css
→
dist/static/css/app.
40facf101d75f588066fbbd8dbbb464c
.css
View file @
48b3200f
This source diff could not be displayed because it is too large. You can
view the blob
instead.
dist/static/js/
24.8ec910d63478e58f6789
.js
→
dist/static/js/
13.3977c99f046a0a83bc66
.js
View file @
48b3200f
webpackJsonp
([
24
],{
iafF
:
function
(
e
,
t
){},
ijla
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
l
=
a
(
"mvHQ"
),
i
=
a
.
n
(
l
),
s
=
a
(
"mw3O"
),
n
=
a
.
n
(
s
),
o
=
a
(
"3Xzz"
),
c
=
a
(
"Tja3"
),
r
=
a
(
"M2/U"
),
d
=
a
(
"3fED"
),
m
=
a
(
"DMDI"
),
u
=
(
a
(
"Mk6G"
),
a
(
"3E4D"
)),
p
=
a
(
"Ch4/"
),
v
=
a
(
"PI0u"
),
g
=
a
(
"P9l9"
),
b
=
{
name
:
"myTagDetail"
,
mixins
:[
m
.
a
],
data
:
function
(){
return
{
showTagDetail
:
!
1
,
tagShortDetailId
:
""
,
fromFlag
:
"myTag"
,
tagId
:
""
,
tagFlag
:
!
1
,
addFlag
:
!
1
,
templateCode
:
""
,
addTempFlag
:
!
1
,
searchFlag
:
!
1
,
postCompute
:
""
,
currentKey
:
null
,
currentComputeType
:
""
,
postTemplateData
:{
selectedVal
:[],
template
:[]},
templateData
:[],
tag001
:{
checkeditems
:[],
isIndeterminate
:
!
1
,
checkAll
:
!
1
,
options
:[],
compute
:
"in"
},
tag002
:{
computeRadio
:
"in"
},
tag003
:{
numRange
:[
""
,
""
]},
tag004
:{
fixedRecentRadio
:
"1"
,
fixedRecentRangeValue
:[],
fixedRecentTimeRecent
:
""
},
tag005
:{
timeRecent
:
""
,
timeType
:
"lastday"
},
tag006
:{
timeAfter
:
""
,
timeType
:
"afterday"
},
tag007
:{
addInputValue
:
""
,
addTags
:[]},
tag008
:{
searchModel
:[],
searchOptions
:[],
addSelectTags
:[]},
tag009
:{
allSelectActive
:
"first"
,
inputSearch
:
""
,
allSelectOptions
:[],
selectedOptions
:[]},
tag010
:{
citySelectActive
:
"first"
,
isIndeterminateCity
:
!
1
,
checkAllCity
:
!
1
,
citySelectOptions
:[{
provinceId
:
1
,
check
:
!
1
,
provinceName
:
"北京"
,
showCity
:
!
1
,
children
:[{
cityId
:
11
,
cityName
:
"北京"
,
check
:
!
1
}]}],
checkeditemsCity
:[],
citySelectedOptions
:[]},
tag011
:{
uuid
:
""
,
uuidOptions
:[
0
,
1
,
2
,
3
,
4
,
5
],
isAdd
:
!
0
},
tag012
:{
selectOne
:
"all"
,
selectTwo
:
"in"
,
selectLabel
:
"曾经消费门店"
,
selectLabelTip
:
"注:存在其一即会员至少有一个字段值满足所选条件;所有即会员的所有字段值满足所选条件"
},
tag013
:{
checkeditems
:[],
isIndeterminate
:
!
1
,
checkAll
:
!
1
,
options
:[]},
tag014
:{
radio
:
"1"
,
dateRangeValue
:[],
timeRadio
:
"1"
,
timeChecked
:
"1"
,
timeSelect
:
"1"
,
timeInput
:
""
},
tag015
:{
radio
:
"1"
,
monthDayRange
:[],
timeRadio
:
"1"
,
timeChecked
:
"1"
,
timeSelect
:
"1"
,
timeInput
:
""
},
tag016
:{
dateRangeValue
:[]},
tag017
:{
radio
:
"1"
,
dateRangeValue
:[],
timeRadio
:
"1"
,
timeChecked
:
"1"
,
timeSelect
:
"1"
,
timeInput
:
""
},
tag019
:{
radio
:
"1"
,
dateRangeValue
:[],
timeRadio
:
"1"
,
timeChecked
:
"1"
,
timeSelect
:
"1"
,
timeInput
:
""
},
tagData
:{
tagId
:
""
,
tagName
:
""
,
tagDescribe
:
""
,
isActive
:
0
,
inputSearch
:
""
},
baseUrl
:
""
}},
computed
:{
navpath
:
function
(){
var
e
=
this
.
$route
.
query
.
navSign
,
t
=
"platformTag"
==
e
?{
name
:
"平台标签列表"
,
path
:
"/platformTagList"
}:
"manualTag"
==
e
?{
name
:
"手工标签列表"
,
path
:
"/manualTagList"
}:{
name
:
"我的标签列表"
,
path
:
"/myTagList"
};
return
[{
name
:
"首页"
,
path
:
window
.
origin
+
"/report/#/memberSummary"
,
relocation
:
!
0
},{
name
:
"会员管理"
,
path
:
""
},{
name
:
"会员标签"
,
path
:
""
},
t
,{
name
:
"标签详情"
,
path
:
""
}]}},
beforeMount
:
function
(){
var
e
=
window
.
location
.
origin
;
"-1"
!=
e
.
indexOf
(
"localhost"
)?
this
.
baseUrl
=
"http://gicdev.demogic.com"
:
this
.
baseUrl
=
e
},
methods
:{
addMytag
:
function
(){
var
e
=
this
,
t
=
{
tagId
:
e
.
tagId
};
Object
(
g
.
a
)(
"/enterpriseMemberTag/addByTagId"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
u
.
a
.
showmsg
(
"添加成功"
,
"success"
),
void
(
e
.
addFlag
=!
0
);
p
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
addTemporary
:
Object
(
v
.
a
)(
function
(){
this
.
confirmPost
()},
500
),
addToTemp
:
function
(
e
,
t
){
var
a
=
this
,
l
=
{
tagId
:
a
.
tagShortId
,
tagValue
:
i
()(
e
),
tagParams
:
i
()(
t
)};
Object
(
g
.
b
)(
"/member-tag-value/add.json"
,
l
).
then
(
function
(
e
){
var
t
=
e
.
data
;
if
(
1
==
t
.
errorCode
)
return
u
.
a
.
showmsg
(
"添加成功"
,
"success"
),
a
.
addTempFlag
=!
0
,
void
a
.
updateTemp
();
p
.
a
.
errorMsg
(
t
)}).
catch
(
function
(
e
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
checkTagTemplate
:
function
(
e
){
var
t
=
this
;
t
.
templateData
=
[],
t
.
postCompute
=
null
;
var
a
=
JSON
.
parse
(
e
);
if
(
a
){
var
l
=
a
.
val
[
0
],
i
=
a
.
time
;
if
(
t
.
currentComputeType
=
parseInt
(
l
.
compute
.
computeType
),
0
===
parseInt
(
l
.
compute
.
computeType
)
&&
l
.
compute
.
computeWidgetId
&&
t
.
getTemplateCodeById
(
l
.
compute
.
computeWidgetId
),
1
===
parseInt
(
l
.
compute
.
computeType
)
&&
(
t
.
postCompute
=
l
.
compute
.
compute
),
l
.
valWidgetId
&&
setTimeout
(
function
(){
t
.
getTemplateCodeById
(
l
.
valWidgetId
)},
50
),
i
.
length
){
if
(
1
===
parseInt
(
l
.
compute
.
computeType
))
return
void
setTimeout
(
function
(){
i
.
forEach
(
function
(
e
,
a
){
e
.
timeWidgetId
&&
t
.
getTemplateCodeById
(
e
.
timeWidgetId
)})},
60
);
i
.
forEach
(
function
(
e
,
a
){
e
.
timeWidgetId
&&
t
.
getTemplateCodeById
(
e
.
timeWidgetId
)})}}},
getTemplateCodeById
:
function
(
e
){
var
t
=
this
,
a
=
{
widgetId
:
e
};
Object
(
g
.
a
)(
"/memberTag/findWidget"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
){
for
(
var
l
in
a
.
result
)
t
[
a
.
result
.
templateCode
][
l
]
=
a
.
result
[
l
];
return
"tag010"
===
a
.
result
.
templateCode
&&
t
.
getcityData
(),
t
.
postCompute
&&
(
t
[
a
.
result
.
templateCode
].
postCompute
=
t
.
postCompute
),
0
===
parseInt
(
a
.
result
.
sourceFlag
)
&&
(
a
.
result
.
widgetValues
=
JSON
.
parse
(
a
.
result
.
widgetValues
),
t
[
a
.
result
.
templateCode
].
options
=
a
.
result
.
widgetValues
),
1
===
parseInt
(
a
.
result
.
sourceFlag
)?(
a
.
result
.
widgetParam
=
JSON
.
parse
(
a
.
result
.
widgetParam
),
t
.
getAsyncList
(
a
.
result
.
widgetParam
[
0
].
value
,
t
[
a
.
result
.
templateCode
]),
"tag009"
!==
a
.
result
.
templateCode
&&
"tag010"
!==
a
.
result
.
templateCode
||
(
t
.
searchFlag
=!
0
),
!
1
):(
t
.
templateData
.
push
(
t
[
a
.
result
.
templateCode
]),
t
.
getExistData
(
t
.
tagData
.
tagId
),
void
(
"tag009"
!==
a
.
result
.
templateCode
&&
"tag010"
!==
a
.
result
.
templateCode
||
(
t
.
searchFlag
=!
0
)))}
p
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
isContained
:
function
(
e
,
t
){
if
(
!
(
e
instanceof
Array
&&
t
instanceof
Array
))
return
!
1
;
if
(
e
.
length
<
t
.
length
)
return
!
1
;
if
(
!
t
.
length
)
return
!
1
;
for
(
var
a
=
e
.
toString
(),
l
=
0
,
i
=
t
.
length
;
l
<
i
;
l
++
)
if
(
-
1
==
a
.
indexOf
(
t
[
l
]))
return
!
1
;
return
!
0
},
getAsyncList
:
function
(
e
,
t
){
var
a
=
this
,
l
=
{
key
:
1
==
a
.
tagData
.
tagType
?
a
.
tagData
.
tagId
:
a
.
currentKey
,
requestProject
:
"member-tag"
};
a
.
axios
.
post
(
a
.
baseUrl
+
e
,
n
.
a
.
stringify
(
l
)).
then
(
function
(
e
){
var
l
=
e
.
data
;
if
(
1
!=
a
.
tagData
.
tagType
&&
"tag"
!=
a
.
currentKey
){
if
(
0
==
l
.
errorCode
)
return
t
.
options
=
l
.
result
,
a
.
templateData
.
push
(
t
),
void
a
.
getExistData
(
a
.
tagData
.
tagId
,
t
.
options
)}
else
if
(
1
==
l
.
errorCode
)
return
t
.
options
=
l
.
result
,
a
.
templateData
.
push
(
t
),
void
a
.
getExistData
(
a
.
tagData
.
tagId
,
t
.
options
);
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
l
.
message
})}).
catch
(
function
(
e
){
console
.
log
(
e
),
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getExistData
:
function
(
e
,
t
){
var
a
=
this
,
l
=
{
tagId
:
e
};
Object
(
g
.
a
)(
"/member-tag-value/findOne.json"
,
l
).
then
(
function
(
e
){
var
l
=
e
.
data
;
if
(
1
==
l
.
errorCode
){
if
(
!
l
.
result
||
"[]"
==
l
.
result
.
tagParams
)
return
a
.
addTempFlag
=!
1
,
!
1
;
a
.
addTempFlag
=!
0
;
var
i
=
JSON
.
parse
(
l
.
result
.
tagParams
).
template
;
return
t
&&
i
.
forEach
(
function
(
e
,
l
){
if
(
"tag013"
==
e
.
templateCode
){
e
.
options
=
t
;
var
i
=
t
.
map
(
function
(
e
){
return
e
.
key
}),
s
=!
0
;
t
.
forEach
(
function
(
t
,
a
){
-
1
!=
e
.
checkeditems
.
indexOf
(
t
.
key
)
&&
(
s
=!
1
)});
var
n
=
e
.
checkeditems
.
length
;
if
(
a
.
isContained
(
e
.
checkeditems
,
i
))
return
e
.
checkAll
=!
0
,
e
.
isIndeterminate
=!
1
,
!
1
;
if
(
s
&&
t
.
length
<
n
)
return
e
.
checkAll
=!
1
,
e
.
isIndeterminate
=!
1
,
!
1
;
if
(
!
s
&&
t
.
length
>=
n
)
return
e
.
checkAll
=!
1
,
e
.
isIndeterminate
=!
0
,
!
1
;
if
(
s
&&
t
.
length
>=
n
)
return
e
.
checkAll
=!
1
,
e
.
isIndeterminate
=!
1
,
!
1
}}),
void
(
a
.
templateData
=
i
)}
p
.
a
.
errorMsg
(
l
)}).
catch
(
function
(
e
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getTagData
:
function
(
e
){
var
t
=
this
;
t
.
searchFlag
=!
1
;
var
a
=
{
tagId
:
e
};
Object
(
g
.
a
)(
"/memberTag/getTagById"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
!=
a
.
errorCode
)
p
.
a
.
errorMsg
(
a
);
else
{
t
.
tagData
.
tagId
=
a
.
result
.
tagId
,
t
.
tagData
.
tagName
=
a
.
result
.
tagName
,
t
.
tagData
.
tagDescribe
=
a
.
result
.
tagDescribe
,
t
.
tagData
.
isActive
=
a
.
result
.
isActive
,
t
.
tagData
.
tagType
=
a
.
result
.
tagType
,
t
.
currentKey
=
a
.
result
.
columnKey
;
var
l
=
a
.
result
.
template
;
l
&&
t
.
checkTagTemplate
(
l
.
templateContent
)}}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
handleShowTag
:
function
(){
this
.
showTagDetail
=!
0
},
handleHideTag
:
function
(
e
){
this
.
showTagDetail
=!
1
},
showShortDetail
:
function
(
e
){
this
.
showTagDetail
=!
0
,
this
.
tagShortDetailId
=
e
},
updateTemp
:
function
(){
this
.
$refs
.
tagTemp
.
getTagList
(),
this
.
$refs
.
tagTemp
.
showTagList
(),
this
.
updataTagDetail
()},
updataTagDetail
:
function
(){
this
.
getTagData
(
this
.
tagId
)}},
watch
:{
$route
:{
handler
:
function
(
e
,
t
){
window
.
location
.
reload
()},
deep
:
!
0
}},
mounted
:
function
(){
this
.
tagFlag
=-
1
==
this
.
$route
.
fullPath
.
indexOf
(
"notMyTag"
),
this
.
$route
.
query
.
tagId
&&
(
this
.
tagId
=
this
.
$route
.
query
.
tagId
,
this
.
tagShortId
=
this
.
$route
.
query
.
tagId
,
this
.
getTagData
(
this
.
tagId
),
document
.
getElementById
(
"app"
).
style
.
zIndex
=
1
),
this
.
addFlag
=!!
this
.
$route
.
query
.
addFlag
},
components
:{
navCrumb
:
o
.
a
,
checkboxOption
:
c
.
a
,
tagShortDetail
:
d
.
a
,
tagTemporary
:
r
.
a
},
beforeDestroy
:
function
(){
document
.
removeEventListener
(
"mousedown"
,
function
(){}),
document
.
getElementById
(
"app"
).
style
.
zIndex
=
"auto"
},
destroyed
:
function
(){
document
.
removeEventListener
(
"mousedown"
,
function
(){}),
document
.
getElementById
(
"app"
).
style
.
zIndex
=
"auto"
}},
_
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"myTagDetail-wrap common-wrap"
},[
a
(
"nav-crumb"
,{
attrs
:{
navpath
:
e
.
navpath
}}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"right-content"
},[
a
(
"div"
,{
staticClass
:
"right-box"
},[
a
(
"div"
,{
staticClass
:
"checkboxOption-wrap"
},[
a
(
"div"
,{
staticClass
:
"checkboxOption-wrap__head"
},[
a
(
"div"
,{
staticClass
:
"checkboxOption-wrap__head__title"
},[
e
.
_v
(
"
\
n "
+
e
.
_s
(
e
.
tagData
.
tagName
)
+
"
\
n "
),
a
(
"span"
,{
staticClass
:
"realtime-span border-box"
},[
e
.
_v
(
e
.
_s
(
1
==
e
.
tagData
.
isActive
?
"实时"
:
"非实时"
))])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"checkboxOption-wrap__head__describe"
},[
e
.
_v
(
e
.
_s
(
e
.
tagData
.
tagDescribe
))])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"checkboxOption-wrap__body"
},[
a
(
"div"
,{
staticClass
:
"checkboxOption-wrap__body__title"
},[
e
.
_v
(
"标签值设置"
)]),
e
.
_v
(
" "
),
e
.
_l
(
e
.
templateData
,
function
(
t
,
l
){
return
a
(
"div"
,{
key
:
l
},[
"tag001"
==
t
.
templateCode
?[
a
(
"div"
,{
key
:
"tag1"
+
l
,
staticClass
:
"m-b-20"
},[
a
(
"div"
,{
staticClass
:
"checkboxOption-wrap__body__checkAll border-box"
},[
a
(
"el-checkbox"
,{
attrs
:{
indeterminate
:
t
.
isIndeterminate
},
on
:{
change
:
function
(
a
){
e
.
handleCheckAllChange
(
a
,
t
)}},
model
:{
value
:
t
.
checkAll
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"checkAll"
,
a
)},
expression
:
"parent.checkAll"
}},[
e
.
_v
(
"全选"
)])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"checkboxOption-wrap__body__options border-box"
},[
a
(
"el-checkbox-group"
,{
on
:{
change
:
function
(
a
){
e
.
handleCheckedChange
(
a
,
t
)}},
model
:{
value
:
t
.
checkeditems
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"checkeditems"
,
a
)},
expression
:
"parent.checkeditems"
}},
e
.
_l
(
t
.
options
,
function
(
t
,
l
){
return
a
(
"el-checkbox"
,{
key
:
t
.
key
+
l
,
attrs
:{
label
:
t
.
key
}},[
e
.
_v
(
e
.
_s
(
t
.
value
))])}))],
1
)])]:
e
.
_e
(),
e
.
_v
(
" "
),
"tag003"
==
t
.
templateCode
?[
a
(
"div"
,{
key
:
"tag2"
+
l
,
staticClass
:
"m-b-20"
},[
a
(
"el-input"
,{
staticClass
:
"select-wrap-input"
,
staticStyle
:{
width
:
"100px"
,
"margin-right"
:
"0"
},
attrs
:{
placeholder
:
"请输入数字"
},
on
:{
blur
:
function
(
a
){
e
.
blurFrom
(
a
,
t
)}},
model
:{
value
:
t
.
numRange
[
0
],
callback
:
function
(
a
){
e
.
$set
(
t
.
numRange
,
0
,
a
)},
expression
:
"parent.numRange[0]"
}}),
e
.
_v
(
" "
),
a
(
"label"
,[
e
.
_v
(
" - "
)]),
e
.
_v
(
" "
),
a
(
"el-input"
,{
staticClass
:
"select-wrap-input"
,
staticStyle
:{
width
:
"100px"
,
"margin-right"
:
"0"
},
attrs
:{
placeholder
:
"请输入数字"
},
on
:{
blur
:
function
(
a
){
e
.
blurTo
(
a
,
t
)}},
model
:{
value
:
t
.
numRange
[
1
],
callback
:
function
(
a
){
e
.
$set
(
t
.
numRange
,
1
,
a
)},
expression
:
"parent.numRange[1]"
}})],
1
)]:
e
.
_e
(),
e
.
_v
(
" "
),
"tag014"
==
t
.
templateCode
?[
a
(
"div"
,{
key
:
"tag3"
+
l
,
staticClass
:
"m-b-20"
},[
a
(
"el-radio"
,{
attrs
:{
label
:
"1"
},
model
:{
value
:
t
.
radio
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"radio"
,
a
)},
expression
:
"parent.radio"
}},[
e
.
_v
(
"固定时段"
)]),
e
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
"2"
},
model
:{
value
:
t
.
radio
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"radio"
,
a
)},
expression
:
"parent.radio"
}},[
e
.
_v
(
"相对时段"
)]),
e
.
_v
(
" "
),
1
==
t
.
radio
?
a
(
"div"
,{
staticClass
:
"m-t-18 w-438 p-20 border-box bg-f3f6f9"
},[
a
(
"el-date-picker"
,{
attrs
:{
type
:
"daterange"
,
editable
:
!
1
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始时间"
,
"end-placeholder"
:
"结束时间"
,
format
:
"yyyyMMdd"
,
"value-format"
:
"yyyyMMdd"
,
"default-time"
:[
"000000"
,
"235959"
]},
model
:{
value
:
t
.
dateRangeValue
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"dateRangeValue"
,
a
)},
expression
:
"parent.dateRangeValue"
}})],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
1
!=
t
.
radio
?
a
(
"div"
,{
staticClass
:
"relative-range m-t-18 border-box"
},[
a
(
"div"
,[
a
(
"div"
,[
a
(
"label"
,{
staticClass
:
"inline-block w-98 label-unit"
},[
e
.
_v
(
"时间精度"
)]),
e
.
_v
(
" "
),
a
(
"el-radio-group"
,{
on
:{
change
:
function
(
a
){
e
.
timeRadioChange
(
a
,
t
)}},
model
:{
value
:
t
.
timeRadio
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"timeRadio"
,
a
)},
expression
:
"parent.timeRadio"
}},[
a
(
"el-radio"
,{
attrs
:{
label
:
"1"
}},[
e
.
_v
(
"天"
)]),
e
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
"2"
}},[
e
.
_v
(
"月"
)]),
e
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
"3"
}},[
e
.
_v
(
"年"
)])],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-t-20"
},[
a
(
"label"
,{
staticClass
:
"inline-block w-98"
}),
e
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
"1"
},
on
:{
change
:
function
(
a
){
e
.
currentDayChange
(
a
,
t
)}},
model
:{
value
:
t
.
timeChecked
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"timeChecked"
,
a
)},
expression
:
"parent.timeChecked"
}},[
e
.
_v
(
" 当"
+
e
.
_s
(
1
==
t
.
timeRadio
?
"天"
:
2
==
t
.
timeRadio
?
"月"
:
"年"
))])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-t-20"
},[
a
(
"label"
,{
staticClass
:
"inline-block w-98"
}),
e
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
"2"
},
model
:{
value
:
t
.
timeChecked
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"timeChecked"
,
a
)},
expression
:
"parent.timeChecked"
}},[
e
.
_v
(
"{{}}"
)]),
e
.
_v
(
" "
),
a
(
"el-select"
,{
staticClass
:
"w-86 m-l-8"
,
attrs
:{
placeholder
:
"请选择"
},
model
:{
value
:
t
.
timeSelect
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"timeSelect"
,
a
)},
expression
:
"parent.timeSelect"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"最近"
,
value
:
"1"
}}),
e
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"之后"
,
value
:
"2"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-input"
,{
staticClass
:
"w-90"
,
attrs
:{
placeholder
:
"请输入"
,
disabled
:
1
==
t
.
timeChecked
},
on
:{
blur
:
function
(
a
){
return
e
.
toEditDateInput
(
a
,
t
.
timeRadio
,
t
)}},
model
:{
value
:
t
.
timeInput
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"timeInput"
,
a
)},
expression
:
"parent.timeInput"
}}),
e
.
_v
(
" "
),
1
==
t
.
timeRadio
?[
a
(
"label"
,{
staticClass
:
"inline-block middle label-unit m-l-8"
},[
e
.
_v
(
"天"
)]),
e
.
_v
(
" "
),
a
(
"label"
,{
staticClass
:
"inline-block middle label-tip"
},[
e
.
_v
(
"正整数,最大365"
)])]:
e
.
_e
(),
e
.
_v
(
" "
),
2
==
t
.
timeRadio
?[
a
(
"label"
,{
staticClass
:
"inline-block middle label-unit m-l-8"
},[
e
.
_v
(
"月"
)]),
e
.
_v
(
" "
),
a
(
"label"
,{
staticClass
:
"inline-block middle label-tip"
},[
e
.
_v
(
"正整数,最大12"
)])]:
e
.
_e
(),
e
.
_v
(
" "
),
3
==
t
.
timeRadio
?[
a
(
"label"
,{
staticClass
:
"inline-block middle label-unit m-l-8"
},[
e
.
_v
(
"年"
)]),
e
.
_v
(
" "
),
a
(
"label"
,{
staticClass
:
"inline-block middle label-tip"
},[
e
.
_v
(
"正整数,最大2"
)])]:
e
.
_e
()],
2
)])]):
e
.
_e
()],
1
)]:
e
.
_e
(),
e
.
_v
(
" "
),
"tag005"
==
t
.
templateCode
?[
a
(
"div"
,{
key
:
"tag4"
+
l
,
staticClass
:
"m-b-20"
},[
a
(
"label"
,{
staticClass
:
"inline-block middle label-unit"
},[
e
.
_v
(
"最近"
)]),
a
(
"el-input"
,{
staticClass
:
"w-90 m-r-20 m-l-20"
,
attrs
:{
placeholder
:
"请输入"
},
on
:{
blur
:
function
(
a
){
return
e
.
toEditInput
(
a
,
"timeRecent"
,
t
)}},
model
:{
value
:
t
.
timeRecent
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"timeRecent"
,
a
)},
expression
:
"parent.timeRecent"
}}),
a
(
"label"
,{
staticClass
:
"inline-block middle label-unit"
},[
e
.
_v
(
"天"
)])],
1
)]:
e
.
_e
(),
e
.
_v
(
" "
),
"tag006"
==
t
.
templateCode
?[
a
(
"div"
,{
key
:
"tag5"
+
l
,
staticClass
:
"m-b-20"
},[
a
(
"label"
,{
staticClass
:
"inline-block middle label-unit"
},[
e
.
_v
(
"之后"
)]),
a
(
"el-input"
,{
staticClass
:
"w-90 m-r-20 m-l-20"
,
attrs
:{
placeholder
:
"请输入"
},
on
:{
blur
:
function
(
a
){
return
e
.
toEditInput
(
a
,
"timeAfter"
,
t
)}},
model
:{
value
:
t
.
timeAfter
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"timeAfter"
,
a
)},
expression
:
"parent.timeAfter"
}}),
a
(
"label"
,{
staticClass
:
"inline-block middle label-unit"
},[
e
.
_v
(
"天"
)])],
1
)]:
e
.
_e
(),
e
.
_v
(
" "
),
"tag002"
==
t
.
templateCode
?[
a
(
"div"
,{
key
:
"tag6"
+
l
,
staticClass
:
"m-b-20"
},[
a
(
"el-radio"
,{
attrs
:{
label
:
"in"
},
model
:{
value
:
t
.
computeRadio
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"computeRadio"
,
a
)},
expression
:
"parent.computeRadio"
}},[
e
.
_v
(
"属于"
)]),
e
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
"notIn"
},
model
:{
value
:
t
.
computeRadio
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"computeRadio"
,
a
)},
expression
:
"parent.computeRadio"
}},[
e
.
_v
(
"不属于"
)])],
1
)]:
e
.
_e
(),
e
.
_v
(
" "
),
"tag004"
==
t
.
templateCode
?[
a
(
"div"
,{
key
:
"tag7"
+
l
,
staticClass
:
"m-b-20"
},[
a
(
"div"
,[
a
(
"el-radio"
,{
attrs
:{
label
:
"1"
},
model
:{
value
:
t
.
fixedRecentRadio
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"fixedRecentRadio"
,
a
)},
expression
:
"parent.fixedRecentRadio"
}},[
e
.
_v
(
"固定时段"
)]),
e
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
"2"
},
model
:{
value
:
t
.
fixedRecentRadio
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"fixedRecentRadio"
,
a
)},
expression
:
"parent.fixedRecentRadio"
}},[
e
.
_v
(
"最近时段"
)])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-t-18 w-500 h-80 fixed-date-picker border-box bg-f3f6f9"
},[
1
==
t
.
fixedRecentRadio
?
a
(
"label"
,{
staticClass
:
"inline-block middle label-unit m-r-8"
},[
e
.
_v
(
"时间范围"
)]):
e
.
_e
(),
1
==
t
.
fixedRecentRadio
?
a
(
"el-date-picker"
,{
attrs
:{
type
:
"daterange"
,
editable
:
!
1
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始时间"
,
"end-placeholder"
:
"结束时间"
,
format
:
"yyyyMMdd"
,
"value-format"
:
"yyyyMMdd"
,
"default-time"
:[
"000000"
,
"235959"
]},
model
:{
value
:
t
.
fixedRecentRangeValue
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"fixedRecentRangeValue"
,
a
)},
expression
:
"parent.fixedRecentRangeValue"
}}):
e
.
_e
(),
e
.
_v
(
" "
),
2
==
t
.
fixedRecentRadio
?
a
(
"div"
,[
a
(
"label"
,{
staticClass
:
"inline-block middle label-unit m-r-8"
},[
e
.
_v
(
"最近"
)]),
a
(
"el-input"
,{
staticClass
:
"w-90 m-r-8"
,
attrs
:{
placeholder
:
"请输入"
},
on
:{
blur
:
function
(
a
){
return
e
.
toEditInput
(
a
,
"fixedRecentTimeRecent"
,
t
)}},
model
:{
value
:
t
.
fixedRecentTimeRecent
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"fixedRecentTimeRecent"
,
a
)},
expression
:
"parent.fixedRecentTimeRecent"
}}),
a
(
"label"
,{
staticClass
:
"inline-block middle label-unit"
},[
e
.
_v
(
"天"
)])],
1
):
e
.
_e
()],
1
)])]:
e
.
_e
(),
e
.
_v
(
" "
),
"tag007"
==
t
.
templateCode
?[
a
(
"div"
,{
key
:
"tag8"
+
l
,
staticClass
:
"m-b-20"
},[
a
(
"div"
,[
a
(
"el-input"
,{
staticClass
:
"w-184 m-r-8"
,
attrs
:{
placeholder
:
"请输入"
},
model
:{
value
:
t
.
addInputValue
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"addInputValue"
,
a
)},
expression
:
"parent.addInputValue"
}}),
a
(
"el-button"
,{
staticClass
:
"middle"
,
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
a
.
stopPropagation
(),
e
.
addInputVal
(
t
)}}},[
e
.
_v
(
"添加"
)])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-t-18 add-tags-wrap"
},[
e
.
_l
(
t
.
addTags
,
function
(
l
,
i
){
return
[
a
(
"span"
,{
key
:
l
.
value
+
i
,
staticClass
:
"el-tag el-tag--small"
},[
e
.
_v
(
e
.
_s
(
l
.
value
)),
a
(
"i"
,{
staticClass
:
"el-tag__close el-icon-close"
,
on
:{
click
:
function
(
a
){
e
.
delInputVal
(
i
,
t
)}}})])]})],
2
)])]:
e
.
_e
(),
e
.
_v
(
" "
),
"tag008"
==
t
.
templateCode
?[
a
(
"div"
,{
key
:
"tag9"
+
l
,
staticClass
:
"m-b-20"
},[
a
(
"div"
,{
staticClass
:
"add-search-select"
},[
a
(
"el-select"
,{
staticClass
:
"el-select--small"
,
attrs
:{
size
:
"small"
,
multiple
:
""
,
filterable
:
""
,
remote
:
""
,
placeholder
:
"请输入关键词"
,
"reserve-keyword"
:
!
1
,
"remote-method"
:
e
.
remoteMethod
},
on
:{
focus
:
function
(
a
){
e
.
remoteMethodFocus
(
a
,
t
,
l
)},
change
:
function
(
a
){
e
.
changeRemoteMethod
(
a
,
t
)}},
model
:{
value
:
t
.
searchModel
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"searchModel"
,
a
)},
expression
:
"parent.searchModel"
}},
e
.
_l
(
t
.
searchOptions
,
function
(
e
){
return
a
(
"el-option"
,{
key
:
e
.
key
,
attrs
:{
label
:
e
.
value
,
value
:
e
.
key
}})})),
a
(
"el-button"
,{
staticClass
:
"m-l-8 middle"
,
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
a
.
stopPropagation
(),
e
.
addSearchSelectVal
(
t
)}}},[
e
.
_v
(
"添加"
)])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-t-18 add-tags-wrap"
},[
e
.
_l
(
t
.
addSelectTags
,
function
(
l
,
i
){
return
[
a
(
"span"
,{
key
:
l
.
value
+
i
,
staticClass
:
"el-tag el-tag--small"
},[
e
.
_v
(
e
.
_s
(
l
.
value
)),
a
(
"i"
,{
staticClass
:
"el-tag__close el-icon-close"
,
on
:{
click
:
function
(
a
){
e
.
delSearchSelectVal
(
i
,
t
)}}})])]})],
2
)])]:
e
.
_e
(),
e
.
_v
(
" "
),
"tag012"
==
t
.
templateCode
?[
a
(
"div"
,{
key
:
"tag10"
+
l
,
staticClass
:
"m-b-20"
},[
a
(
"el-select"
,{
staticClass
:
"w-98"
,
attrs
:{
placeholder
:
"请选择"
},
model
:{
value
:
t
.
selectOne
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"selectOne"
,
a
)},
expression
:
"parent.selectOne"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"所有"
,
value
:
"all"
}}),
e
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"存在其一"
,
value
:
"in"
}})],
1
),
a
(
"label"
,{
staticClass
:
"inline-block middle label-unit m-l-8"
},[
e
.
_v
(
e
.
_s
(
e
.
tagData
.
tagName
))]),
a
(
"el-select"
,{
staticClass
:
"w-98 m-l-8"
,
attrs
:{
placeholder
:
"请选择"
},
model
:{
value
:
t
.
selectTwo
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"selectTwo"
,
a
)},
expression
:
"parent.selectTwo"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"属于"
,
value
:
"in"
}}),
e
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"不属于"
,
value
:
"notin"
}})],
1
)],
1
)]:
e
.
_e
(),
e
.
_v
(
" "
),
"tag011"
==
t
.
templateCode
?
a
(
"div"
,[
a
(
"div"
,{
key
:
"tag11"
+
l
,
staticClass
:
"m-b-20"
},[
a
(
"vue-gic-store-new"
,{
ref
:
"storeNew"
,
refInFor
:
!
0
,
attrs
:{
options
:
t
.
uuidOptions
,
uuid
:
t
.
uuid
,
isAdd
:
t
.
isAdd
},
on
:{
"update:uuid"
:
function
(
a
){
e
.
$set
(
t
,
"uuid"
,
a
)}}})],
1
)]):
e
.
_e
(),
e
.
_v
(
" "
),
"tag009"
==
t
.
templateCode
?[
a
(
"div"
,{
key
:
"tag12"
+
l
,
staticClass
:
"multiple-select-wrap m-b-20"
},[
a
(
"div"
,{
staticClass
:
"multiple-select-wrap__body"
},[
a
(
"div"
,{
staticClass
:
"multiple-select-wrap__tab"
},[
a
(
"el-tabs"
,{
model
:{
value
:
t
.
allSelectActive
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"allSelectActive"
,
a
)},
expression
:
"parent.allSelectActive"
}},[
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"全部选项"
,
name
:
"first"
}},[
a
(
"div"
,{
staticClass
:
"all-select-options"
},[
e
.
_l
(
t
.
allSelectOptions
,
function
(
l
,
i
){
return
[
a
(
"el-checkbox"
,{
key
:
l
.
check
+
i
,
on
:{
change
:
function
(
a
){
e
.
allSelectChange
(
a
,
i
,
l
,
t
)}},
model
:{
value
:
l
.
check
,
callback
:
function
(
t
){
e
.
$set
(
l
,
"check"
,
t
)},
expression
:
"item.check"
}},[
e
.
_v
(
e
.
_s
(
l
.
name
))])]})],
2
)]),
e
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"已选选项("
+
t
.
selectedOptions
.
length
+
")"
,
name
:
"second"
}},[
a
(
"div"
,{
staticClass
:
"slected-opyions"
},[
e
.
_l
(
t
.
selectedOptions
,
function
(
l
,
i
){
return
[
a
(
"span"
,{
key
:
l
.
name
+
i
,
staticClass
:
"el-tag el-tag--small"
},[
e
.
_v
(
e
.
_s
(
l
.
name
)),
a
(
"i"
,{
staticClass
:
"el-tag__close el-icon-close"
,
on
:{
click
:
function
(
a
){
e
.
delallSelectVal
(
i
,
l
,
t
)}}})])]})],
2
)])],
1
)],
1
)])])]:
e
.
_e
(),
e
.
_v
(
" "
),
"tag010"
==
t
.
templateCode
?[
a
(
"div"
,{
key
:
"tag13"
+
l
,
staticClass
:
"multiple-select-wrap city-select-wrap m-b-20"
},[
a
(
"div"
,{
staticClass
:
"multiple-select-wrap__body"
},[
a
(
"div"
,{
staticClass
:
"multiple-select-wrap__tab"
},[
a
(
"el-tabs"
,{
model
:{
value
:
t
.
citySelectActive
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"citySelectActive"
,
a
)},
expression
:
"parent.citySelectActive"
}},[
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"全部选项"
,
name
:
"first"
}},[
a
(
"div"
,{
staticClass
:
"all-select-options all-select-options__city"
},[
a
(
"div"
,{
staticClass
:
"city-checkbox city-checkbox-all border-box"
},[
a
(
"el-checkbox"
,{
attrs
:{
indeterminate
:
t
.
isIndeterminateCity
},
on
:{
change
:
function
(
a
){
e
.
cityCheckAllChange
(
a
,
t
)}},
model
:{
value
:
t
.
checkAllCity
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"checkAllCity"
,
a
)},
expression
:
"parent.checkAllCity"
}},[
e
.
_v
(
"全选"
)])],
1
),
e
.
_v
(
" "
),
a
(
"el-checkbox-group"
,{
on
:{
change
:
function
(
a
){
e
.
citySelectChange
(
a
,
t
)}},
model
:{
value
:
t
.
checkeditemsCity
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"checkeditemsCity"
,
a
)},
expression
:
"parent.checkeditemsCity"
}},[
e
.
_l
(
t
.
citySelectOptions
,
function
(
l
,
i
){
return
[
a
(
"div"
,{
key
:
l
.
provinceId
+
i
,
staticClass
:
"city-checkbox border-box border-t-e4e7ed"
},[
a
(
"el-checkbox"
,{
key
:
l
.
provinceId
,
attrs
:{
label
:
l
.
provinceId
}},[
e
.
_v
(
"{{}}"
)]),
a
(
"label"
,{
staticClass
:
"inline-block middle font-14 pointer city-name"
,
on
:{
click
:
function
(
a
){
a
.
stopPropagation
(),
e
.
toggleCity
(
l
.
provinceId
,
l
,
t
)}}},[
e
.
_v
(
e
.
_s
(
l
.
provinceName
))]),
e
.
_v
(
" "
),
l
.
showCity
?
a
(
"div"
,{
staticClass
:
"el-select-dropdown el-popper is-multiple"
,
staticStyle
:{
"min-width"
:
"240px"
,
position
:
"absolute"
,
top
:
"30px"
,
left
:
"20px"
,
"transform-origin"
:
"center top 0px"
,
"z-index"
:
"2215"
},
attrs
:{
"x-placement"
:
"bottom-start"
}},[
a
(
"div"
,{
staticClass
:
"el-scrollbar"
},[
a
(
"div"
,{
staticClass
:
"el-select-dropdown__wrap el-scrollbar__wrap"
,
staticStyle
:{
"margin-right"
:
"-17px"
}},[
a
(
"ul"
,{
staticClass
:
"el-scrollbar__view el-select-dropdown__list"
},[
e
.
_l
(
l
.
children
,
function
(
i
,
s
){
return
[
a
(
"li"
,{
key
:
i
.
check
+
s
,
class
:[
"el-select-dropdown__item"
,
"city-name"
,
i
.
check
?
"selected"
:
""
],
on
:{
click
:
function
(
a
){
a
.
stopPropagation
(),
e
.
toggleClickCity
(
i
,
l
,
t
)}}},[
a
(
"span"
,{
staticClass
:
"city-name"
},[
e
.
_v
(
e
.
_s
(
i
.
cityName
))])])]})],
2
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-scrollbar__bar is-horizontal"
},[
a
(
"div"
,{
staticClass
:
"el-scrollbar__thumb"
,
staticStyle
:{
transform
:
"translateX(0%)"
}})]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-scrollbar__bar is-vertical"
},[
a
(
"div"
,{
staticClass
:
"el-scrollbar__thumb"
,
staticStyle
:{
transform
:
"translateY(0%)"
}})])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"popper__arrow"
,
staticStyle
:{
left
:
"35px"
},
attrs
:{
"x-arrow"
:
""
}})]):
e
.
_e
()],
1
)]})],
2
)],
1
)]),
e
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"已选选项("
+
t
.
citySelectedOptions
.
length
+
")"
,
name
:
"second"
}},[
a
(
"div"
,{
staticClass
:
"slected-opyions city-slected-opyions"
},[
e
.
_l
(
t
.
citySelectedOptions
,
function
(
l
,
i
){
return
[
a
(
"span"
,{
key
:
l
.
selected
+
i
,
staticClass
:
"el-tag el-tag--small"
},[
e
.
_v
(
e
.
_s
(
l
.
selected
)),
a
(
"i"
,{
staticClass
:
"el-tag__close el-icon-close"
,
on
:{
click
:
function
(
a
){
e
.
delcitySelectVal
(
i
,
l
,
t
)}}})])]})],
2
)])],
1
)],
1
)])])]:
e
.
_e
(),
e
.
_v
(
" "
),
"tag013"
==
t
.
templateCode
?[
a
(
"div"
,{
key
:
"tag14"
+
l
,
staticClass
:
"m-b-20"
},[
a
(
"div"
,{
staticClass
:
"checkboxOption-wrap__body__checkAll border-box"
},[
a
(
"el-checkbox"
,{
attrs
:{
indeterminate
:
t
.
isIndeterminate
},
on
:{
change
:
function
(
a
){
e
.
handleCheckAllChange
(
a
,
t
)}},
model
:{
value
:
t
.
checkAll
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"checkAll"
,
a
)},
expression
:
"parent.checkAll"
}},[
e
.
_v
(
"全选"
)])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"checkboxOption-wrap__body__options border-box"
},[
a
(
"el-checkbox-group"
,{
on
:{
change
:
function
(
a
){
e
.
handleCheckedChange
(
a
,
t
)}},
model
:{
value
:
t
.
checkeditems
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"checkeditems"
,
a
)},
expression
:
"parent.checkeditems"
}},
e
.
_l
(
t
.
options
,
function
(
t
,
l
){
return
a
(
"el-checkbox"
,{
key
:
t
.
key
+
l
,
attrs
:{
label
:
t
.
key
}},[
e
.
_v
(
e
.
_s
(
t
.
value
))])}))],
1
)])]:
e
.
_e
(),
e
.
_v
(
" "
),
"tag015"
==
t
.
templateCode
?[
a
(
"div"
,{
key
:
"tag15"
+
l
,
staticClass
:
"m-b-20"
},[
a
(
"el-radio"
,{
attrs
:{
label
:
"1"
},
model
:{
value
:
t
.
radio
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"radio"
,
a
)},
expression
:
"parent.radio"
}},[
e
.
_v
(
"固定时段"
)]),
e
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
"2"
},
model
:{
value
:
t
.
radio
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"radio"
,
a
)},
expression
:
"parent.radio"
}},[
e
.
_v
(
"相对时段"
)]),
e
.
_v
(
" "
),
1
==
t
.
radio
?
a
(
"div"
,{
staticClass
:
"m-t-18 w-438 p-20 border-box bg-f3f6f9"
},[
a
(
"vue-gic-datepicker"
,{
attrs
:{
type
:
"daterange"
,
editable
:
!
1
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
,
format
:
"MMdd"
,
"value-format"
:
"MMdd"
},
model
:{
value
:
t
.
monthDayRange
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"monthDayRange"
,
a
)},
expression
:
"parent.monthDayRange"
}})],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
1
!=
t
.
radio
?
a
(
"div"
,{
staticClass
:
"relative-range m-t-18 border-box"
},[
a
(
"div"
,[
a
(
"div"
,[
a
(
"label"
,{
staticClass
:
"inline-block w-98 label-unit"
},[
e
.
_v
(
"时间精度"
)]),
e
.
_v
(
" "
),
a
(
"el-radio-group"
,{
on
:{
change
:
function
(
a
){
e
.
timeRadioChange
(
a
,
t
)}},
model
:{
value
:
t
.
timeRadio
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"timeRadio"
,
a
)},
expression
:
"parent.timeRadio"
}},[
a
(
"el-radio"
,{
attrs
:{
label
:
"1"
}},[
e
.
_v
(
"天"
)]),
e
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
"2"
}},[
e
.
_v
(
"月"
)])],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-t-20"
},[
a
(
"label"
,{
staticClass
:
"inline-block w-98"
}),
e
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
"1"
},
on
:{
change
:
function
(
a
){
e
.
currentDayChange
(
a
,
t
)}},
model
:{
value
:
t
.
timeChecked
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"timeChecked"
,
a
)},
expression
:
"parent.timeChecked"
}},[
e
.
_v
(
" 当"
+
e
.
_s
(
1
==
t
.
timeRadio
?
"天"
:
"月"
))])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-t-20"
},[
a
(
"label"
,{
staticClass
:
"inline-block w-98"
}),
e
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
"2"
},
model
:{
value
:
t
.
timeChecked
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"timeChecked"
,
a
)},
expression
:
"parent.timeChecked"
}},[
e
.
_v
(
"{{}}"
)]),
e
.
_v
(
" "
),
a
(
"el-select"
,{
staticClass
:
"w-86 m-l-8"
,
attrs
:{
placeholder
:
"请选择"
},
model
:{
value
:
t
.
timeSelect
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"timeSelect"
,
a
)},
expression
:
"parent.timeSelect"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"最近"
,
value
:
"1"
}}),
e
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"之后"
,
value
:
"2"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-input"
,{
staticClass
:
"w-90"
,
attrs
:{
placeholder
:
"请输入"
,
disabled
:
1
==
t
.
timeChecked
},
on
:{
blur
:
function
(
a
){
return
e
.
toEditDateInput
(
a
,
t
.
timeRadio
,
t
)}},
model
:{
value
:
t
.
timeInput
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"timeInput"
,
a
)},
expression
:
"parent.timeInput"
}}),
e
.
_v
(
" "
),
1
==
t
.
timeRadio
?[
a
(
"label"
,{
staticClass
:
"inline-block middle label-unit m-l-8"
},[
e
.
_v
(
"天"
)]),
e
.
_v
(
" "
),
a
(
"label"
,{
staticClass
:
"inline-block middle label-tip"
},[
e
.
_v
(
"正整数,最大365"
)])]:
e
.
_e
(),
e
.
_v
(
" "
),
2
==
t
.
timeRadio
?[
a
(
"label"
,{
staticClass
:
"inline-block middle label-unit m-l-8"
},[
e
.
_v
(
"月"
)]),
e
.
_v
(
" "
),
a
(
"label"
,{
staticClass
:
"inline-block middle label-tip"
},[
e
.
_v
(
"正整数,最大12"
)])]:
e
.
_e
()],
2
)])]):
e
.
_e
()],
1
)]:
e
.
_e
(),
e
.
_v
(
" "
),
"tag016"
==
t
.
templateCode
?[
a
(
"div"
,{
key
:
"tag16"
+
l
,
staticClass
:
"m-b-20"
},[
a
(
"el-date-picker"
,{
attrs
:{
type
:
"daterange"
,
editable
:
!
1
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始时间"
,
"end-placeholder"
:
"结束时间"
,
format
:
"yyyyMMdd"
,
"value-format"
:
"yyyyMMdd"
,
"default-time"
:[
"000000"
,
"235959"
]},
model
:{
value
:
t
.
dateRangeValue
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"dateRangeValue"
,
a
)},
expression
:
"parent.dateRangeValue"
}})],
1
)]:
e
.
_e
(),
e
.
_v
(
" "
),
"tag019"
==
t
.
templateCode
?[
a
(
"div"
,{
key
:
"tag17"
+
l
,
staticClass
:
"m-b-20"
},[
a
(
"el-radio"
,{
attrs
:{
label
:
"1"
},
model
:{
value
:
t
.
radio
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"radio"
,
a
)},
expression
:
"parent.radio"
}},[
e
.
_v
(
"固定时段"
)]),
e
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
"2"
},
model
:{
value
:
t
.
radio
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"radio"
,
a
)},
expression
:
"parent.radio"
}},[
e
.
_v
(
"相对时段"
)]),
e
.
_v
(
" "
),
1
==
t
.
radio
?
a
(
"div"
,{
staticClass
:
"m-t-18 w-438 p-20 border-box bg-f3f6f9"
},[
a
(
"el-date-picker"
,{
attrs
:{
type
:
"daterange"
,
editable
:
!
1
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始时间"
,
"end-placeholder"
:
"结束时间"
,
format
:
"yyyyMMdd"
,
"value-format"
:
"yyyy-MM-dd HH:mm:ss"
,
"default-time"
:[
"00:00:00"
,
"23:59:59"
]},
model
:{
value
:
t
.
dateRangeValue
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"dateRangeValue"
,
a
)},
expression
:
"parent.dateRangeValue"
}})],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
1
!=
t
.
radio
?
a
(
"div"
,{
staticClass
:
"relative-range m-t-18 border-box"
},[
a
(
"div"
,[
a
(
"div"
,[
a
(
"label"
,{
staticClass
:
"inline-block w-98 label-unit"
},[
e
.
_v
(
"时间精度"
)]),
e
.
_v
(
" "
),
a
(
"el-radio-group"
,{
on
:{
change
:
function
(
a
){
e
.
timeRadioChange
(
a
,
t
)}},
model
:{
value
:
t
.
timeRadio
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"timeRadio"
,
a
)},
expression
:
"parent.timeRadio"
}},[
a
(
"el-radio"
,{
attrs
:{
label
:
"1"
}},[
e
.
_v
(
"天"
)]),
e
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
"2"
}},[
e
.
_v
(
"月"
)]),
e
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
"3"
}},[
e
.
_v
(
"年"
)])],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-t-20"
},[
a
(
"label"
,{
staticClass
:
"inline-block w-98"
}),
e
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
"1"
},
on
:{
change
:
function
(
a
){
e
.
currentDayChange
(
a
,
t
)}},
model
:{
value
:
t
.
timeChecked
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"timeChecked"
,
a
)},
expression
:
"parent.timeChecked"
}},[
e
.
_v
(
" 当"
+
e
.
_s
(
1
==
t
.
timeRadio
?
"天"
:
2
==
t
.
timeRadio
?
"月"
:
"年"
))])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-t-20"
},[
a
(
"label"
,{
staticClass
:
"inline-block w-98"
}),
e
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
"2"
},
model
:{
value
:
t
.
timeChecked
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"timeChecked"
,
a
)},
expression
:
"parent.timeChecked"
}},[
e
.
_v
(
"{{}}"
)]),
e
.
_v
(
" "
),
a
(
"el-select"
,{
staticClass
:
"w-86 m-l-8"
,
attrs
:{
placeholder
:
"请选择"
},
model
:{
value
:
t
.
timeSelect
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"timeSelect"
,
a
)},
expression
:
"parent.timeSelect"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"最近"
,
value
:
"1"
}}),
e
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"之后"
,
value
:
"2"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-input"
,{
staticClass
:
"w-90"
,
attrs
:{
placeholder
:
"请输入"
,
disabled
:
1
==
t
.
timeChecked
},
on
:{
blur
:
function
(
a
){
return
e
.
toEditDateInput
(
a
,
t
.
timeRadio
,
t
)}},
model
:{
value
:
t
.
timeInput
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"timeInput"
,
a
)},
expression
:
"parent.timeInput"
}}),
e
.
_v
(
" "
),
1
==
t
.
timeRadio
?[
a
(
"label"
,{
staticClass
:
"inline-block middle label-unit m-l-8"
},[
e
.
_v
(
"天"
)]),
e
.
_v
(
" "
),
a
(
"label"
,{
staticClass
:
"inline-block middle label-tip"
},[
e
.
_v
(
"正整数,最大365"
)])]:
e
.
_e
(),
e
.
_v
(
" "
),
2
==
t
.
timeRadio
?[
a
(
"label"
,{
staticClass
:
"inline-block middle label-unit m-l-8"
},[
e
.
_v
(
"月"
)]),
e
.
_v
(
" "
),
a
(
"label"
,{
staticClass
:
"inline-block middle label-tip"
},[
e
.
_v
(
"正整数,最大12"
)])]:
e
.
_e
(),
e
.
_v
(
" "
),
3
==
t
.
timeRadio
?[
a
(
"label"
,{
staticClass
:
"inline-block middle label-unit m-l-8"
},[
e
.
_v
(
"年"
)]),
e
.
_v
(
" "
),
a
(
"label"
,{
staticClass
:
"inline-block middle label-tip"
},[
e
.
_v
(
"正整数,最大2"
)])]:
e
.
_e
()],
2
)])]):
e
.
_e
()],
1
)]:
e
.
_e
(),
e
.
_v
(
" "
),
"tag017"
==
t
.
templateCode
?[
a
(
"div"
,{
key
:
"tag18"
+
l
,
staticClass
:
"m-b-20"
},[
a
(
"el-radio"
,{
attrs
:{
label
:
"1"
},
model
:{
value
:
t
.
radio
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"radio"
,
a
)},
expression
:
"parent.radio"
}},[
e
.
_v
(
"固定时段"
)]),
e
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
"2"
},
model
:{
value
:
t
.
radio
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"radio"
,
a
)},
expression
:
"parent.radio"
}},[
e
.
_v
(
"相对时段"
)]),
e
.
_v
(
" "
),
1
==
t
.
radio
?
a
(
"div"
,{
staticClass
:
"m-t-18 w-438 p-20 border-box bg-f3f6f9"
},[
a
(
"el-date-picker"
,{
attrs
:{
type
:
"daterange"
,
editable
:
!
1
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始时间"
,
"end-placeholder"
:
"结束时间"
,
format
:
"yyyyMMdd"
,
"value-format"
:
"yyyyMMdd"
,
"default-time"
:[
"000000"
,
"235959"
]},
model
:{
value
:
t
.
dateRangeValue
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"dateRangeValue"
,
a
)},
expression
:
"parent.dateRangeValue"
}})],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
1
!=
t
.
radio
?
a
(
"div"
,{
staticClass
:
"relative-range m-t-18 border-box"
},[
a
(
"div"
,[
a
(
"div"
,[
a
(
"label"
,{
staticClass
:
"inline-block w-98 label-unit"
},[
e
.
_v
(
"时间精度"
)]),
e
.
_v
(
" "
),
a
(
"el-radio-group"
,{
on
:{
change
:
function
(
a
){
e
.
timeRadioChange
(
a
,
t
)}},
model
:{
value
:
t
.
timeRadio
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"timeRadio"
,
a
)},
expression
:
"parent.timeRadio"
}},[
a
(
"el-radio"
,{
attrs
:{
label
:
"1"
}},[
e
.
_v
(
"天"
)]),
e
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
"2"
}},[
e
.
_v
(
"月"
)]),
e
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
"3"
}},[
e
.
_v
(
"年"
)])],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-t-20"
},[
a
(
"label"
,{
staticClass
:
"inline-block w-98"
}),
e
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
"1"
},
on
:{
change
:
function
(
a
){
e
.
currentDayChange
(
a
,
t
)}},
model
:{
value
:
t
.
timeChecked
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"timeChecked"
,
a
)},
expression
:
"parent.timeChecked"
}},[
e
.
_v
(
" 当"
+
e
.
_s
(
1
==
t
.
timeRadio
?
"天"
:
2
==
t
.
timeRadio
?
"月"
:
"年"
))])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-t-20"
},[
a
(
"label"
,{
staticClass
:
"inline-block w-98"
}),
e
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
"2"
},
model
:{
value
:
t
.
timeChecked
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"timeChecked"
,
a
)},
expression
:
"parent.timeChecked"
}},[
e
.
_v
(
"{{}}"
)]),
e
.
_v
(
" "
),
a
(
"el-select"
,{
staticClass
:
"w-86 m-l-8"
,
attrs
:{
placeholder
:
"请选择"
},
model
:{
value
:
t
.
timeSelect
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"timeSelect"
,
a
)},
expression
:
"parent.timeSelect"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"最近"
,
value
:
"1"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-input"
,{
staticClass
:
"w-90"
,
attrs
:{
placeholder
:
"请输入"
,
disabled
:
1
==
t
.
timeChecked
},
on
:{
blur
:
function
(
a
){
return
e
.
toEditDateInput
(
a
,
t
.
timeRadio
,
t
)}},
model
:{
value
:
t
.
timeInput
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"timeInput"
,
a
)},
expression
:
"parent.timeInput"
}}),
e
.
_v
(
" "
),
1
==
t
.
timeRadio
?[
a
(
"label"
,{
staticClass
:
"inline-block middle label-unit m-l-8"
},[
e
.
_v
(
"天"
)]),
e
.
_v
(
" "
),
a
(
"label"
,{
staticClass
:
"inline-block middle label-tip"
},[
e
.
_v
(
"正整数,最大365"
)])]:
e
.
_e
(),
e
.
_v
(
" "
),
2
==
t
.
timeRadio
?[
a
(
"label"
,{
staticClass
:
"inline-block middle label-unit m-l-8"
},[
e
.
_v
(
"月"
)]),
e
.
_v
(
" "
),
a
(
"label"
,{
staticClass
:
"inline-block middle label-tip"
},[
e
.
_v
(
"正整数,最大12"
)])]:
e
.
_e
(),
e
.
_v
(
" "
),
3
==
t
.
timeRadio
?[
a
(
"label"
,{
staticClass
:
"inline-block middle label-unit m-l-8"
},[
e
.
_v
(
"年"
)]),
e
.
_v
(
" "
),
a
(
"label"
,{
staticClass
:
"inline-block middle label-tip"
},[
e
.
_v
(
"正整数,最大2"
)])]:
e
.
_e
()],
2
)])]):
e
.
_e
()],
1
)]:
e
.
_e
()],
2
)})],
2
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"myTagDetail-wrap__btn"
},[
e
.
tagFlag
?
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
addTemporary
}},[
e
.
_v
(
"
\
n "
+
e
.
_s
(
e
.
addTempFlag
?
"更新标签选项"
:
"添加到暂存架"
)
+
"
\
n "
)]):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
tagFlag
?
e
.
_e
():
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
disabled
:
!!
e
.
addFlag
},
on
:{
click
:
e
.
addMytag
}},[
e
.
_v
(
"
\
n "
+
e
.
_s
(
e
.
addFlag
?
"已添加至我的标签库"
:
"添加至我的标签库"
)
+
"
\
n "
)])],
1
)])]),
e
.
_v
(
" "
),
a
(
"vue-gic-footer"
),
e
.
_v
(
" "
),
a
(
"tagShortDetail"
,{
attrs
:{
fromFlag
:
e
.
fromFlag
,
tagShortId
:
e
.
tagShortDetailId
,
showTagDetail
:
e
.
showTagDetail
},
on
:{
"update:tagShortId"
:
function
(
t
){
e
.
tagShortDetailId
=
t
},
hideTag
:
e
.
handleHideTag
,
updateTemp
:
e
.
updateTemp
}}),
e
.
_v
(
" "
),
a
(
"tag-temporary"
,{
ref
:
"tagTemp"
,
on
:{
showShortDetail
:
e
.
showShortDetail
}})],
1
)},
staticRenderFns
:[]};
var
h
=
a
(
"VU/8"
)(
b
,
_
,
!
1
,
function
(
e
){
a
(
"iafF"
)},
"data-v-05aacf12"
,
null
);
t
.
default
=
h
.
exports
}});
\ No newline at end of file
webpackJsonp
([
13
],{
LYW7
:
function
(
e
,
t
){},
ijla
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
l
=
a
(
"mvHQ"
),
i
=
a
.
n
(
l
),
s
=
a
(
"mw3O"
),
n
=
a
.
n
(
s
),
o
=
a
(
"3Xzz"
),
c
=
a
(
"Tja3"
),
r
=
a
(
"M2/U"
),
d
=
a
(
"3fED"
),
m
=
a
(
"DMDI"
),
u
=
(
a
(
"Mk6G"
),
a
(
"3E4D"
)),
p
=
a
(
"Ch4/"
),
v
=
a
(
"PI0u"
),
g
=
a
(
"P9l9"
),
b
=
{
name
:
"myTagDetail"
,
mixins
:[
m
.
a
],
data
:
function
(){
return
{
showTagDetail
:
!
1
,
tagShortDetailId
:
""
,
fromFlag
:
"myTag"
,
tagId
:
""
,
tagFlag
:
!
1
,
addFlag
:
!
1
,
templateCode
:
""
,
addTempFlag
:
!
1
,
searchFlag
:
!
1
,
postCompute
:
""
,
currentKey
:
null
,
currentComputeType
:
""
,
postTemplateData
:{
selectedVal
:[],
template
:[]},
templateData
:[],
tag001
:{
checkeditems
:[],
isIndeterminate
:
!
1
,
checkAll
:
!
1
,
options
:[],
compute
:
"in"
},
tag002
:{
computeRadio
:
"in"
},
tag003
:{
numRange
:[
""
,
""
]},
tag004
:{
fixedRecentRadio
:
"1"
,
fixedRecentRangeValue
:[],
fixedRecentTimeRecent
:
""
},
tag005
:{
timeRecent
:
""
,
timeType
:
"lastday"
},
tag006
:{
timeAfter
:
""
,
timeType
:
"afterday"
},
tag007
:{
addInputValue
:
""
,
addTags
:[]},
tag008
:{
searchModel
:[],
searchOptions
:[],
addSelectTags
:[]},
tag009
:{
allSelectActive
:
"first"
,
inputSearch
:
""
,
allSelectOptions
:[],
selectedOptions
:[]},
tag010
:{
citySelectActive
:
"first"
,
isIndeterminateCity
:
!
1
,
checkAllCity
:
!
1
,
citySelectOptions
:[{
provinceId
:
1
,
check
:
!
1
,
provinceName
:
"北京"
,
showCity
:
!
1
,
children
:[{
cityId
:
11
,
cityName
:
"北京"
,
check
:
!
1
}]}],
checkeditemsCity
:[],
citySelectedOptions
:[]},
tag011
:{
uuid
:
""
,
uuidOptions
:[
0
,
1
,
2
,
3
,
4
,
5
],
isAdd
:
!
0
},
tag012
:{
selectOne
:
"all"
,
selectTwo
:
"in"
,
selectLabel
:
"曾经消费门店"
,
selectLabelTip
:
"注:存在其一即会员至少有一个字段值满足所选条件;所有即会员的所有字段值满足所选条件"
},
tag013
:{
checkeditems
:[],
isIndeterminate
:
!
1
,
checkAll
:
!
1
,
options
:[]},
tag014
:{
radio
:
"1"
,
dateRangeValue
:[],
timeRadio
:
"1"
,
timeChecked
:
"1"
,
timeSelect
:
"1"
,
timeInput
:
""
},
tag015
:{
radio
:
"1"
,
monthDayRange
:[],
timeRadio
:
"1"
,
timeChecked
:
"1"
,
timeSelect
:
"1"
,
timeInput
:
""
},
tag016
:{
dateRangeValue
:[]},
tag017
:{
radio
:
"1"
,
dateRangeValue
:[],
timeRadio
:
"1"
,
timeChecked
:
"1"
,
timeSelect
:
"1"
,
timeInput
:
""
},
tag019
:{
radio
:
"1"
,
dateRangeValue
:[],
timeRadio
:
"1"
,
timeChecked
:
"1"
,
timeSelect
:
"1"
,
timeInput
:
""
},
tagData
:{
tagId
:
""
,
tagName
:
""
,
tagDescribe
:
""
,
isActive
:
0
,
inputSearch
:
""
},
baseUrl
:
""
}},
computed
:{
navpath
:
function
(){
var
e
=
this
.
$route
.
query
.
navSign
,
t
=
"platformTag"
==
e
?{
name
:
"平台标签列表"
,
path
:
"/platformTagList"
}:
"manualTag"
==
e
?{
name
:
"手工标签列表"
,
path
:
"/manualTagList"
}:{
name
:
"我的标签列表"
,
path
:
"/myTagList"
};
return
[{
name
:
"首页"
,
path
:
window
.
origin
+
"/report/#/memberSummary"
,
relocation
:
!
0
},{
name
:
"会员管理"
,
path
:
""
},{
name
:
"会员标签"
,
path
:
""
},
t
,{
name
:
"标签详情"
,
path
:
""
}]}},
beforeMount
:
function
(){
var
e
=
window
.
location
.
origin
;
"-1"
!=
e
.
indexOf
(
"localhost"
)?
this
.
baseUrl
=
"http://gicdev.demogic.com"
:
this
.
baseUrl
=
e
},
methods
:{
addMytag
:
function
(){
var
e
=
this
,
t
=
{
tagId
:
e
.
tagId
};
Object
(
g
.
a
)(
"/enterpriseMemberTag/addByTagId"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
u
.
a
.
showmsg
(
"添加成功"
,
"success"
),
void
(
e
.
addFlag
=!
0
);
p
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
addTemporary
:
Object
(
v
.
a
)(
function
(){
this
.
confirmPost
()},
500
),
addToTemp
:
function
(
e
,
t
){
var
a
=
this
,
l
=
{
tagId
:
a
.
tagShortId
,
tagValue
:
i
()(
e
),
tagParams
:
i
()(
t
)};
Object
(
g
.
b
)(
"/member-tag-value/add.json"
,
l
).
then
(
function
(
e
){
var
t
=
e
.
data
;
if
(
1
==
t
.
errorCode
)
return
u
.
a
.
showmsg
(
"添加成功"
,
"success"
),
a
.
addTempFlag
=!
0
,
void
a
.
updateTemp
();
p
.
a
.
errorMsg
(
t
)}).
catch
(
function
(
e
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
checkTagTemplate
:
function
(
e
){
var
t
=
this
;
t
.
templateData
=
[],
t
.
postCompute
=
null
;
var
a
=
JSON
.
parse
(
e
);
if
(
a
){
var
l
=
a
.
val
[
0
],
i
=
a
.
time
;
if
(
t
.
currentComputeType
=
parseInt
(
l
.
compute
.
computeType
),
0
===
parseInt
(
l
.
compute
.
computeType
)
&&
l
.
compute
.
computeWidgetId
&&
t
.
getTemplateCodeById
(
l
.
compute
.
computeWidgetId
),
1
===
parseInt
(
l
.
compute
.
computeType
)
&&
(
t
.
postCompute
=
l
.
compute
.
compute
),
l
.
valWidgetId
&&
setTimeout
(
function
(){
t
.
getTemplateCodeById
(
l
.
valWidgetId
)},
50
),
i
.
length
){
if
(
1
===
parseInt
(
l
.
compute
.
computeType
))
return
void
setTimeout
(
function
(){
i
.
forEach
(
function
(
e
,
a
){
e
.
timeWidgetId
&&
t
.
getTemplateCodeById
(
e
.
timeWidgetId
)})},
60
);
i
.
forEach
(
function
(
e
,
a
){
e
.
timeWidgetId
&&
t
.
getTemplateCodeById
(
e
.
timeWidgetId
)})}}},
getTemplateCodeById
:
function
(
e
){
var
t
=
this
,
a
=
{
widgetId
:
e
};
Object
(
g
.
a
)(
"/memberTag/findWidget"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
){
for
(
var
l
in
a
.
result
)
t
[
a
.
result
.
templateCode
][
l
]
=
a
.
result
[
l
];
return
"tag010"
===
a
.
result
.
templateCode
&&
t
.
getcityData
(),
t
.
postCompute
&&
(
t
[
a
.
result
.
templateCode
].
postCompute
=
t
.
postCompute
),
0
===
parseInt
(
a
.
result
.
sourceFlag
)
&&
(
a
.
result
.
widgetValues
=
JSON
.
parse
(
a
.
result
.
widgetValues
),
t
[
a
.
result
.
templateCode
].
options
=
a
.
result
.
widgetValues
),
1
===
parseInt
(
a
.
result
.
sourceFlag
)?(
a
.
result
.
widgetParam
=
JSON
.
parse
(
a
.
result
.
widgetParam
),
t
.
getAsyncList
(
a
.
result
.
widgetParam
[
0
].
value
,
t
[
a
.
result
.
templateCode
]),
"tag009"
!==
a
.
result
.
templateCode
&&
"tag010"
!==
a
.
result
.
templateCode
||
(
t
.
searchFlag
=!
0
),
!
1
):(
t
.
templateData
.
push
(
t
[
a
.
result
.
templateCode
]),
t
.
getExistData
(
t
.
tagData
.
tagId
),
void
(
"tag009"
!==
a
.
result
.
templateCode
&&
"tag010"
!==
a
.
result
.
templateCode
||
(
t
.
searchFlag
=!
0
)))}
p
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
isContained
:
function
(
e
,
t
){
if
(
!
(
e
instanceof
Array
&&
t
instanceof
Array
))
return
!
1
;
if
(
e
.
length
<
t
.
length
)
return
!
1
;
if
(
!
t
.
length
)
return
!
1
;
for
(
var
a
=
e
.
toString
(),
l
=
0
,
i
=
t
.
length
;
l
<
i
;
l
++
)
if
(
-
1
==
a
.
indexOf
(
t
[
l
]))
return
!
1
;
return
!
0
},
getAsyncList
:
function
(
e
,
t
){
var
a
=
this
,
l
=
{
key
:
1
==
a
.
tagData
.
tagType
?
a
.
tagData
.
tagId
:
a
.
currentKey
,
requestProject
:
"member-tag"
};
a
.
axios
.
post
(
a
.
baseUrl
+
e
,
n
.
a
.
stringify
(
l
)).
then
(
function
(
e
){
var
l
=
e
.
data
;
if
(
1
!=
a
.
tagData
.
tagType
&&
"tag"
!=
a
.
currentKey
){
if
(
0
==
l
.
errorCode
)
return
t
.
options
=
l
.
result
,
a
.
templateData
.
push
(
t
),
void
a
.
getExistData
(
a
.
tagData
.
tagId
,
t
.
options
)}
else
if
(
1
==
l
.
errorCode
)
return
t
.
options
=
l
.
result
,
a
.
templateData
.
push
(
t
),
void
a
.
getExistData
(
a
.
tagData
.
tagId
,
t
.
options
);
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
l
.
message
})}).
catch
(
function
(
e
){
console
.
log
(
e
),
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getExistData
:
function
(
e
,
t
){
var
a
=
this
,
l
=
{
tagId
:
e
};
Object
(
g
.
a
)(
"/member-tag-value/findOne.json"
,
l
).
then
(
function
(
e
){
var
l
=
e
.
data
;
if
(
1
==
l
.
errorCode
){
if
(
!
l
.
result
||
"[]"
==
l
.
result
.
tagParams
)
return
a
.
addTempFlag
=!
1
,
!
1
;
a
.
addTempFlag
=!
0
;
var
i
=
JSON
.
parse
(
l
.
result
.
tagParams
).
template
;
return
t
&&
i
.
forEach
(
function
(
e
,
l
){
if
(
"tag013"
==
e
.
templateCode
){
e
.
options
=
t
;
var
i
=
t
.
map
(
function
(
e
){
return
e
.
key
}),
s
=!
0
;
t
.
forEach
(
function
(
t
,
a
){
-
1
!=
e
.
checkeditems
.
indexOf
(
t
.
key
)
&&
(
s
=!
1
)});
var
n
=
e
.
checkeditems
.
length
;
if
(
a
.
isContained
(
e
.
checkeditems
,
i
))
return
e
.
checkAll
=!
0
,
e
.
isIndeterminate
=!
1
,
!
1
;
if
(
s
&&
t
.
length
<
n
)
return
e
.
checkAll
=!
1
,
e
.
isIndeterminate
=!
1
,
!
1
;
if
(
!
s
&&
t
.
length
>=
n
)
return
e
.
checkAll
=!
1
,
e
.
isIndeterminate
=!
0
,
!
1
;
if
(
s
&&
t
.
length
>=
n
)
return
e
.
checkAll
=!
1
,
e
.
isIndeterminate
=!
1
,
!
1
}}),
void
(
a
.
templateData
=
i
)}
p
.
a
.
errorMsg
(
l
)}).
catch
(
function
(
e
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getTagData
:
function
(
e
){
var
t
=
this
;
t
.
searchFlag
=!
1
;
var
a
=
{
tagId
:
e
};
Object
(
g
.
a
)(
"/memberTag/getTagById"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
!=
a
.
errorCode
)
p
.
a
.
errorMsg
(
a
);
else
{
t
.
tagData
.
tagId
=
a
.
result
.
tagId
,
t
.
tagData
.
tagName
=
a
.
result
.
tagName
,
t
.
tagData
.
tagDescribe
=
a
.
result
.
tagDescribe
,
t
.
tagData
.
isActive
=
a
.
result
.
isActive
,
t
.
tagData
.
tagType
=
a
.
result
.
tagType
,
t
.
currentKey
=
a
.
result
.
columnKey
;
var
l
=
a
.
result
.
template
;
l
&&
t
.
checkTagTemplate
(
l
.
templateContent
)}}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
handleShowTag
:
function
(){
this
.
showTagDetail
=!
0
},
handleHideTag
:
function
(
e
){
this
.
showTagDetail
=!
1
},
showShortDetail
:
function
(
e
){
this
.
showTagDetail
=!
0
,
this
.
tagShortDetailId
=
e
},
updateTemp
:
function
(){
this
.
$refs
.
tagTemp
.
getTagList
(),
this
.
$refs
.
tagTemp
.
showTagList
(),
this
.
updataTagDetail
()},
updataTagDetail
:
function
(){
this
.
getTagData
(
this
.
tagId
)}},
watch
:{
$route
:{
handler
:
function
(
e
,
t
){
window
.
location
.
reload
()},
deep
:
!
0
}},
mounted
:
function
(){
this
.
tagFlag
=-
1
==
this
.
$route
.
fullPath
.
indexOf
(
"notMyTag"
),
this
.
$route
.
query
.
tagId
&&
(
this
.
tagId
=
this
.
$route
.
query
.
tagId
,
this
.
tagShortId
=
this
.
$route
.
query
.
tagId
,
this
.
getTagData
(
this
.
tagId
),
document
.
getElementById
(
"app"
).
style
.
zIndex
=
1
),
this
.
addFlag
=!!
this
.
$route
.
query
.
addFlag
},
components
:{
navCrumb
:
o
.
a
,
checkboxOption
:
c
.
a
,
tagShortDetail
:
d
.
a
,
tagTemporary
:
r
.
a
},
beforeDestroy
:
function
(){
document
.
removeEventListener
(
"mousedown"
,
function
(){}),
document
.
getElementById
(
"app"
).
style
.
zIndex
=
"auto"
},
destroyed
:
function
(){
document
.
removeEventListener
(
"mousedown"
,
function
(){}),
document
.
getElementById
(
"app"
).
style
.
zIndex
=
"auto"
}},
_
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"myTagDetail-wrap common-wrap"
},[
a
(
"nav-crumb"
,{
attrs
:{
navpath
:
e
.
navpath
}}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"right-content"
},[
a
(
"div"
,{
staticClass
:
"right-box"
},[
a
(
"div"
,{
staticClass
:
"checkboxOption-wrap"
},[
a
(
"div"
,{
staticClass
:
"checkboxOption-wrap__head"
},[
a
(
"div"
,{
staticClass
:
"checkboxOption-wrap__head__title"
},[
e
.
_v
(
"
\
n "
+
e
.
_s
(
e
.
tagData
.
tagName
)
+
"
\
n "
),
a
(
"span"
,{
staticClass
:
"realtime-span border-box"
},[
e
.
_v
(
e
.
_s
(
1
==
e
.
tagData
.
isActive
?
"实时"
:
"非实时"
))])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"checkboxOption-wrap__head__describe"
},[
e
.
_v
(
e
.
_s
(
e
.
tagData
.
tagDescribe
))])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"checkboxOption-wrap__body"
},[
a
(
"div"
,{
staticClass
:
"checkboxOption-wrap__body__title"
},[
e
.
_v
(
"标签值设置"
)]),
e
.
_v
(
" "
),
e
.
_l
(
e
.
templateData
,
function
(
t
,
l
){
return
a
(
"div"
,{
key
:
l
},[
"tag001"
==
t
.
templateCode
?[
a
(
"div"
,{
key
:
"tag1"
+
l
,
staticClass
:
"m-b-20"
},[
a
(
"div"
,{
staticClass
:
"checkboxOption-wrap__body__checkAll border-box"
},[
a
(
"el-checkbox"
,{
attrs
:{
indeterminate
:
t
.
isIndeterminate
},
on
:{
change
:
function
(
a
){
e
.
handleCheckAllChange
(
a
,
t
)}},
model
:{
value
:
t
.
checkAll
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"checkAll"
,
a
)},
expression
:
"parent.checkAll"
}},[
e
.
_v
(
"全选"
)])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"checkboxOption-wrap__body__options border-box"
},[
a
(
"el-checkbox-group"
,{
on
:{
change
:
function
(
a
){
e
.
handleCheckedChange
(
a
,
t
)}},
model
:{
value
:
t
.
checkeditems
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"checkeditems"
,
a
)},
expression
:
"parent.checkeditems"
}},
e
.
_l
(
t
.
options
,
function
(
t
,
l
){
return
a
(
"el-checkbox"
,{
key
:
t
.
key
+
l
,
attrs
:{
label
:
t
.
key
}},[
e
.
_v
(
e
.
_s
(
t
.
value
))])}))],
1
)])]:
e
.
_e
(),
e
.
_v
(
" "
),
"tag003"
==
t
.
templateCode
?[
a
(
"div"
,{
key
:
"tag2"
+
l
,
staticClass
:
"m-b-20"
},[
a
(
"el-input"
,{
staticClass
:
"select-wrap-input"
,
staticStyle
:{
width
:
"100px"
,
"margin-right"
:
"0"
},
attrs
:{
placeholder
:
"请输入数字"
},
on
:{
blur
:
function
(
a
){
e
.
blurFrom
(
a
,
t
)}},
model
:{
value
:
t
.
numRange
[
0
],
callback
:
function
(
a
){
e
.
$set
(
t
.
numRange
,
0
,
a
)},
expression
:
"parent.numRange[0]"
}}),
e
.
_v
(
" "
),
a
(
"label"
,[
e
.
_v
(
" - "
)]),
e
.
_v
(
" "
),
a
(
"el-input"
,{
staticClass
:
"select-wrap-input"
,
staticStyle
:{
width
:
"100px"
,
"margin-right"
:
"0"
},
attrs
:{
placeholder
:
"请输入数字"
},
on
:{
blur
:
function
(
a
){
e
.
blurTo
(
a
,
t
)}},
model
:{
value
:
t
.
numRange
[
1
],
callback
:
function
(
a
){
e
.
$set
(
t
.
numRange
,
1
,
a
)},
expression
:
"parent.numRange[1]"
}})],
1
)]:
e
.
_e
(),
e
.
_v
(
" "
),
"tag014"
==
t
.
templateCode
?[
a
(
"div"
,{
key
:
"tag3"
+
l
,
staticClass
:
"m-b-20"
},[
a
(
"el-radio"
,{
attrs
:{
label
:
"1"
},
model
:{
value
:
t
.
radio
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"radio"
,
a
)},
expression
:
"parent.radio"
}},[
e
.
_v
(
"固定时段"
)]),
e
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
"2"
},
model
:{
value
:
t
.
radio
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"radio"
,
a
)},
expression
:
"parent.radio"
}},[
e
.
_v
(
"相对时段"
)]),
e
.
_v
(
" "
),
1
==
t
.
radio
?
a
(
"div"
,{
staticClass
:
"m-t-18 w-438 p-20 border-box bg-f3f6f9"
},[
a
(
"el-date-picker"
,{
attrs
:{
type
:
"daterange"
,
editable
:
!
1
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始时间"
,
"end-placeholder"
:
"结束时间"
,
format
:
"yyyyMMdd"
,
"value-format"
:
"yyyyMMdd"
,
"default-time"
:[
"000000"
,
"235959"
]},
model
:{
value
:
t
.
dateRangeValue
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"dateRangeValue"
,
a
)},
expression
:
"parent.dateRangeValue"
}})],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
1
!=
t
.
radio
?
a
(
"div"
,{
staticClass
:
"relative-range m-t-18 border-box"
},[
a
(
"div"
,[
a
(
"div"
,[
a
(
"label"
,{
staticClass
:
"inline-block w-98 label-unit"
},[
e
.
_v
(
"时间精度"
)]),
e
.
_v
(
" "
),
a
(
"el-radio-group"
,{
on
:{
change
:
function
(
a
){
e
.
timeRadioChange
(
a
,
t
)}},
model
:{
value
:
t
.
timeRadio
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"timeRadio"
,
a
)},
expression
:
"parent.timeRadio"
}},[
a
(
"el-radio"
,{
attrs
:{
label
:
"1"
}},[
e
.
_v
(
"天"
)]),
e
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
"2"
}},[
e
.
_v
(
"月"
)]),
e
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
"3"
}},[
e
.
_v
(
"年"
)])],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-t-20"
},[
a
(
"label"
,{
staticClass
:
"inline-block w-98"
}),
e
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
"1"
},
on
:{
change
:
function
(
a
){
e
.
currentDayChange
(
a
,
t
)}},
model
:{
value
:
t
.
timeChecked
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"timeChecked"
,
a
)},
expression
:
"parent.timeChecked"
}},[
e
.
_v
(
" 当"
+
e
.
_s
(
1
==
t
.
timeRadio
?
"天"
:
2
==
t
.
timeRadio
?
"月"
:
"年"
))])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-t-20"
},[
a
(
"label"
,{
staticClass
:
"inline-block w-98"
}),
e
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
"2"
},
model
:{
value
:
t
.
timeChecked
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"timeChecked"
,
a
)},
expression
:
"parent.timeChecked"
}},[
e
.
_v
(
"{{}}"
)]),
e
.
_v
(
" "
),
a
(
"el-select"
,{
staticClass
:
"w-86 m-l-8"
,
attrs
:{
placeholder
:
"请选择"
},
model
:{
value
:
t
.
timeSelect
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"timeSelect"
,
a
)},
expression
:
"parent.timeSelect"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"最近"
,
value
:
"1"
}}),
e
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"之后"
,
value
:
"2"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-input"
,{
staticClass
:
"w-90"
,
attrs
:{
placeholder
:
"请输入"
,
disabled
:
1
==
t
.
timeChecked
},
on
:{
blur
:
function
(
a
){
return
e
.
toEditDateInput
(
a
,
t
.
timeRadio
,
t
)}},
model
:{
value
:
t
.
timeInput
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"timeInput"
,
a
)},
expression
:
"parent.timeInput"
}}),
e
.
_v
(
" "
),
1
==
t
.
timeRadio
?[
a
(
"label"
,{
staticClass
:
"inline-block middle label-unit m-l-8"
},[
e
.
_v
(
"天"
)]),
e
.
_v
(
" "
),
a
(
"label"
,{
staticClass
:
"inline-block middle label-tip"
},[
e
.
_v
(
"正整数,最大365"
)])]:
e
.
_e
(),
e
.
_v
(
" "
),
2
==
t
.
timeRadio
?[
a
(
"label"
,{
staticClass
:
"inline-block middle label-unit m-l-8"
},[
e
.
_v
(
"月"
)]),
e
.
_v
(
" "
),
a
(
"label"
,{
staticClass
:
"inline-block middle label-tip"
},[
e
.
_v
(
"正整数,最大12"
)])]:
e
.
_e
(),
e
.
_v
(
" "
),
3
==
t
.
timeRadio
?[
a
(
"label"
,{
staticClass
:
"inline-block middle label-unit m-l-8"
},[
e
.
_v
(
"年"
)]),
e
.
_v
(
" "
),
a
(
"label"
,{
staticClass
:
"inline-block middle label-tip"
},[
e
.
_v
(
"正整数,最大2"
)])]:
e
.
_e
()],
2
)])]):
e
.
_e
()],
1
)]:
e
.
_e
(),
e
.
_v
(
" "
),
"tag005"
==
t
.
templateCode
?[
a
(
"div"
,{
key
:
"tag4"
+
l
,
staticClass
:
"m-b-20"
},[
a
(
"label"
,{
staticClass
:
"inline-block middle label-unit"
},[
e
.
_v
(
"最近"
)]),
a
(
"el-input"
,{
staticClass
:
"w-90 m-r-20 m-l-20"
,
attrs
:{
placeholder
:
"请输入"
},
on
:{
blur
:
function
(
a
){
return
e
.
toEditInput
(
a
,
"timeRecent"
,
t
)}},
model
:{
value
:
t
.
timeRecent
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"timeRecent"
,
a
)},
expression
:
"parent.timeRecent"
}}),
a
(
"label"
,{
staticClass
:
"inline-block middle label-unit"
},[
e
.
_v
(
"天"
)])],
1
)]:
e
.
_e
(),
e
.
_v
(
" "
),
"tag006"
==
t
.
templateCode
?[
a
(
"div"
,{
key
:
"tag5"
+
l
,
staticClass
:
"m-b-20"
},[
a
(
"label"
,{
staticClass
:
"inline-block middle label-unit"
},[
e
.
_v
(
"之后"
)]),
a
(
"el-input"
,{
staticClass
:
"w-90 m-r-20 m-l-20"
,
attrs
:{
placeholder
:
"请输入"
},
on
:{
blur
:
function
(
a
){
return
e
.
toEditInput
(
a
,
"timeAfter"
,
t
)}},
model
:{
value
:
t
.
timeAfter
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"timeAfter"
,
a
)},
expression
:
"parent.timeAfter"
}}),
a
(
"label"
,{
staticClass
:
"inline-block middle label-unit"
},[
e
.
_v
(
"天"
)])],
1
)]:
e
.
_e
(),
e
.
_v
(
" "
),
"tag002"
==
t
.
templateCode
?[
a
(
"div"
,{
key
:
"tag6"
+
l
,
staticClass
:
"m-b-20"
},[
a
(
"el-radio"
,{
attrs
:{
label
:
"in"
},
model
:{
value
:
t
.
computeRadio
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"computeRadio"
,
a
)},
expression
:
"parent.computeRadio"
}},[
e
.
_v
(
"属于"
)]),
e
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
"notIn"
},
model
:{
value
:
t
.
computeRadio
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"computeRadio"
,
a
)},
expression
:
"parent.computeRadio"
}},[
e
.
_v
(
"不属于"
)])],
1
)]:
e
.
_e
(),
e
.
_v
(
" "
),
"tag004"
==
t
.
templateCode
?[
a
(
"div"
,{
key
:
"tag7"
+
l
,
staticClass
:
"m-b-20"
},[
a
(
"div"
,[
a
(
"el-radio"
,{
attrs
:{
label
:
"1"
},
model
:{
value
:
t
.
fixedRecentRadio
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"fixedRecentRadio"
,
a
)},
expression
:
"parent.fixedRecentRadio"
}},[
e
.
_v
(
"固定时段"
)]),
e
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
"2"
},
model
:{
value
:
t
.
fixedRecentRadio
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"fixedRecentRadio"
,
a
)},
expression
:
"parent.fixedRecentRadio"
}},[
e
.
_v
(
"最近时段"
)])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-t-18 w-500 h-80 fixed-date-picker border-box bg-f3f6f9"
},[
1
==
t
.
fixedRecentRadio
?
a
(
"label"
,{
staticClass
:
"inline-block middle label-unit m-r-8"
},[
e
.
_v
(
"时间范围"
)]):
e
.
_e
(),
1
==
t
.
fixedRecentRadio
?
a
(
"el-date-picker"
,{
attrs
:{
type
:
"daterange"
,
editable
:
!
1
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始时间"
,
"end-placeholder"
:
"结束时间"
,
format
:
"yyyyMMdd"
,
"value-format"
:
"yyyyMMdd"
,
"default-time"
:[
"000000"
,
"235959"
]},
model
:{
value
:
t
.
fixedRecentRangeValue
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"fixedRecentRangeValue"
,
a
)},
expression
:
"parent.fixedRecentRangeValue"
}}):
e
.
_e
(),
e
.
_v
(
" "
),
2
==
t
.
fixedRecentRadio
?
a
(
"div"
,[
a
(
"label"
,{
staticClass
:
"inline-block middle label-unit m-r-8"
},[
e
.
_v
(
"最近"
)]),
a
(
"el-input"
,{
staticClass
:
"w-90 m-r-8"
,
attrs
:{
placeholder
:
"请输入"
},
on
:{
blur
:
function
(
a
){
return
e
.
toEditInput
(
a
,
"fixedRecentTimeRecent"
,
t
)}},
model
:{
value
:
t
.
fixedRecentTimeRecent
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"fixedRecentTimeRecent"
,
a
)},
expression
:
"parent.fixedRecentTimeRecent"
}}),
a
(
"label"
,{
staticClass
:
"inline-block middle label-unit"
},[
e
.
_v
(
"天"
)])],
1
):
e
.
_e
()],
1
)])]:
e
.
_e
(),
e
.
_v
(
" "
),
"tag007"
==
t
.
templateCode
?[
a
(
"div"
,{
key
:
"tag8"
+
l
,
staticClass
:
"m-b-20"
},[
a
(
"div"
,[
a
(
"el-input"
,{
staticClass
:
"w-184 m-r-8"
,
attrs
:{
placeholder
:
"请输入"
},
model
:{
value
:
t
.
addInputValue
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"addInputValue"
,
a
)},
expression
:
"parent.addInputValue"
}}),
a
(
"el-button"
,{
staticClass
:
"middle"
,
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
a
.
stopPropagation
(),
e
.
addInputVal
(
t
)}}},[
e
.
_v
(
"添加"
)])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-t-18 add-tags-wrap"
},[
e
.
_l
(
t
.
addTags
,
function
(
l
,
i
){
return
[
a
(
"span"
,{
key
:
l
.
value
+
i
,
staticClass
:
"el-tag el-tag--small"
},[
e
.
_v
(
e
.
_s
(
l
.
value
)),
a
(
"i"
,{
staticClass
:
"el-tag__close el-icon-close"
,
on
:{
click
:
function
(
a
){
e
.
delInputVal
(
i
,
t
)}}})])]})],
2
)])]:
e
.
_e
(),
e
.
_v
(
" "
),
"tag008"
==
t
.
templateCode
?[
a
(
"div"
,{
key
:
"tag9"
+
l
,
staticClass
:
"m-b-20"
},[
a
(
"div"
,{
staticClass
:
"add-search-select"
},[
a
(
"el-select"
,{
staticClass
:
"el-select--small"
,
attrs
:{
size
:
"small"
,
multiple
:
""
,
filterable
:
""
,
remote
:
""
,
placeholder
:
"请输入关键词"
,
"reserve-keyword"
:
!
1
,
"remote-method"
:
e
.
remoteMethod
},
on
:{
focus
:
function
(
a
){
e
.
remoteMethodFocus
(
a
,
t
,
l
)},
change
:
function
(
a
){
e
.
changeRemoteMethod
(
a
,
t
)}},
model
:{
value
:
t
.
searchModel
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"searchModel"
,
a
)},
expression
:
"parent.searchModel"
}},
e
.
_l
(
t
.
searchOptions
,
function
(
e
){
return
a
(
"el-option"
,{
key
:
e
.
key
,
attrs
:{
label
:
e
.
value
,
value
:
e
.
key
}})})),
a
(
"el-button"
,{
staticClass
:
"m-l-8 middle"
,
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
a
.
stopPropagation
(),
e
.
addSearchSelectVal
(
t
)}}},[
e
.
_v
(
"添加"
)])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-t-18 add-tags-wrap"
},[
e
.
_l
(
t
.
addSelectTags
,
function
(
l
,
i
){
return
[
a
(
"span"
,{
key
:
l
.
value
+
i
,
staticClass
:
"el-tag el-tag--small"
},[
e
.
_v
(
e
.
_s
(
l
.
value
)),
a
(
"i"
,{
staticClass
:
"el-tag__close el-icon-close"
,
on
:{
click
:
function
(
a
){
e
.
delSearchSelectVal
(
i
,
t
)}}})])]})],
2
)])]:
e
.
_e
(),
e
.
_v
(
" "
),
"tag012"
==
t
.
templateCode
?[
a
(
"div"
,{
key
:
"tag10"
+
l
,
staticClass
:
"m-b-20"
},[
a
(
"el-select"
,{
staticClass
:
"w-98"
,
attrs
:{
placeholder
:
"请选择"
},
model
:{
value
:
t
.
selectOne
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"selectOne"
,
a
)},
expression
:
"parent.selectOne"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"所有"
,
value
:
"all"
}}),
e
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"存在其一"
,
value
:
"in"
}})],
1
),
a
(
"label"
,{
staticClass
:
"inline-block middle label-unit m-l-8"
},[
e
.
_v
(
e
.
_s
(
e
.
tagData
.
tagName
))]),
a
(
"el-select"
,{
staticClass
:
"w-98 m-l-8"
,
attrs
:{
placeholder
:
"请选择"
},
model
:{
value
:
t
.
selectTwo
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"selectTwo"
,
a
)},
expression
:
"parent.selectTwo"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"属于"
,
value
:
"in"
}}),
e
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"不属于"
,
value
:
"notin"
}})],
1
)],
1
)]:
e
.
_e
(),
e
.
_v
(
" "
),
"tag011"
==
t
.
templateCode
?
a
(
"div"
,[
a
(
"div"
,{
key
:
"tag11"
+
l
,
staticClass
:
"m-b-20"
},[
a
(
"vue-gic-store-new"
,{
ref
:
"storeNew"
,
refInFor
:
!
0
,
attrs
:{
options
:
t
.
uuidOptions
,
uuid
:
t
.
uuid
,
isAdd
:
t
.
isAdd
},
on
:{
"update:uuid"
:
function
(
a
){
e
.
$set
(
t
,
"uuid"
,
a
)}}})],
1
)]):
e
.
_e
(),
e
.
_v
(
" "
),
"tag009"
==
t
.
templateCode
?[
a
(
"div"
,{
key
:
"tag12"
+
l
,
staticClass
:
"multiple-select-wrap m-b-20"
},[
a
(
"div"
,{
staticClass
:
"multiple-select-wrap__body"
},[
a
(
"div"
,{
staticClass
:
"multiple-select-wrap__tab"
},[
a
(
"el-tabs"
,{
model
:{
value
:
t
.
allSelectActive
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"allSelectActive"
,
a
)},
expression
:
"parent.allSelectActive"
}},[
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"全部选项"
,
name
:
"first"
}},[
a
(
"div"
,{
staticClass
:
"all-select-options"
},[
e
.
_l
(
t
.
allSelectOptions
,
function
(
l
,
i
){
return
[
a
(
"el-checkbox"
,{
key
:
l
.
check
+
i
,
on
:{
change
:
function
(
a
){
e
.
allSelectChange
(
a
,
i
,
l
,
t
)}},
model
:{
value
:
l
.
check
,
callback
:
function
(
t
){
e
.
$set
(
l
,
"check"
,
t
)},
expression
:
"item.check"
}},[
e
.
_v
(
e
.
_s
(
l
.
name
))])]})],
2
)]),
e
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"已选选项("
+
t
.
selectedOptions
.
length
+
")"
,
name
:
"second"
}},[
a
(
"div"
,{
staticClass
:
"slected-opyions"
},[
e
.
_l
(
t
.
selectedOptions
,
function
(
l
,
i
){
return
[
a
(
"span"
,{
key
:
l
.
name
+
i
,
staticClass
:
"el-tag el-tag--small"
},[
e
.
_v
(
e
.
_s
(
l
.
name
)),
a
(
"i"
,{
staticClass
:
"el-tag__close el-icon-close"
,
on
:{
click
:
function
(
a
){
e
.
delallSelectVal
(
i
,
l
,
t
)}}})])]})],
2
)])],
1
)],
1
)])])]:
e
.
_e
(),
e
.
_v
(
" "
),
"tag010"
==
t
.
templateCode
?[
a
(
"div"
,{
key
:
"tag13"
+
l
,
staticClass
:
"multiple-select-wrap city-select-wrap m-b-20"
},[
a
(
"div"
,{
staticClass
:
"multiple-select-wrap__body"
},[
a
(
"div"
,{
staticClass
:
"multiple-select-wrap__tab"
},[
a
(
"el-tabs"
,{
model
:{
value
:
t
.
citySelectActive
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"citySelectActive"
,
a
)},
expression
:
"parent.citySelectActive"
}},[
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"全部选项"
,
name
:
"first"
}},[
a
(
"div"
,{
staticClass
:
"all-select-options all-select-options__city"
},[
a
(
"div"
,{
staticClass
:
"city-checkbox city-checkbox-all border-box"
},[
a
(
"el-checkbox"
,{
attrs
:{
indeterminate
:
t
.
isIndeterminateCity
},
on
:{
change
:
function
(
a
){
e
.
cityCheckAllChange
(
a
,
t
)}},
model
:{
value
:
t
.
checkAllCity
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"checkAllCity"
,
a
)},
expression
:
"parent.checkAllCity"
}},[
e
.
_v
(
"全选"
)])],
1
),
e
.
_v
(
" "
),
a
(
"el-checkbox-group"
,{
on
:{
change
:
function
(
a
){
e
.
citySelectChange
(
a
,
t
)}},
model
:{
value
:
t
.
checkeditemsCity
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"checkeditemsCity"
,
a
)},
expression
:
"parent.checkeditemsCity"
}},[
e
.
_l
(
t
.
citySelectOptions
,
function
(
l
,
i
){
return
[
a
(
"div"
,{
key
:
l
.
provinceId
+
i
,
staticClass
:
"city-checkbox border-box border-t-e4e7ed"
},[
a
(
"el-checkbox"
,{
key
:
l
.
provinceId
,
attrs
:{
label
:
l
.
provinceId
}},[
e
.
_v
(
"{{}}"
)]),
a
(
"label"
,{
staticClass
:
"inline-block middle font-14 pointer city-name"
,
on
:{
click
:
function
(
a
){
a
.
stopPropagation
(),
e
.
toggleCity
(
l
.
provinceId
,
l
,
t
)}}},[
e
.
_v
(
e
.
_s
(
l
.
provinceName
))]),
e
.
_v
(
" "
),
l
.
showCity
?
a
(
"div"
,{
staticClass
:
"el-select-dropdown el-popper is-multiple"
,
staticStyle
:{
"min-width"
:
"240px"
,
position
:
"absolute"
,
top
:
"30px"
,
left
:
"20px"
,
"transform-origin"
:
"center top 0px"
,
"z-index"
:
"2215"
},
attrs
:{
"x-placement"
:
"bottom-start"
}},[
a
(
"div"
,{
staticClass
:
"el-scrollbar"
},[
a
(
"div"
,{
staticClass
:
"el-select-dropdown__wrap el-scrollbar__wrap"
,
staticStyle
:{
"margin-right"
:
"-17px"
}},[
a
(
"ul"
,{
staticClass
:
"el-scrollbar__view el-select-dropdown__list"
},[
e
.
_l
(
l
.
children
,
function
(
i
,
s
){
return
[
a
(
"li"
,{
key
:
i
.
check
+
s
,
class
:[
"el-select-dropdown__item"
,
"city-name"
,
i
.
check
?
"selected"
:
""
],
on
:{
click
:
function
(
a
){
a
.
stopPropagation
(),
e
.
toggleClickCity
(
i
,
l
,
t
)}}},[
a
(
"span"
,{
staticClass
:
"city-name"
},[
e
.
_v
(
e
.
_s
(
i
.
cityName
))])])]})],
2
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-scrollbar__bar is-horizontal"
},[
a
(
"div"
,{
staticClass
:
"el-scrollbar__thumb"
,
staticStyle
:{
transform
:
"translateX(0%)"
}})]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-scrollbar__bar is-vertical"
},[
a
(
"div"
,{
staticClass
:
"el-scrollbar__thumb"
,
staticStyle
:{
transform
:
"translateY(0%)"
}})])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"popper__arrow"
,
staticStyle
:{
left
:
"35px"
},
attrs
:{
"x-arrow"
:
""
}})]):
e
.
_e
()],
1
)]})],
2
)],
1
)]),
e
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"已选选项("
+
t
.
citySelectedOptions
.
length
+
")"
,
name
:
"second"
}},[
a
(
"div"
,{
staticClass
:
"slected-opyions city-slected-opyions"
},[
e
.
_l
(
t
.
citySelectedOptions
,
function
(
l
,
i
){
return
[
a
(
"span"
,{
key
:
l
.
selected
+
i
,
staticClass
:
"el-tag el-tag--small"
},[
e
.
_v
(
e
.
_s
(
l
.
selected
)),
a
(
"i"
,{
staticClass
:
"el-tag__close el-icon-close"
,
on
:{
click
:
function
(
a
){
e
.
delcitySelectVal
(
i
,
l
,
t
)}}})])]})],
2
)])],
1
)],
1
)])])]:
e
.
_e
(),
e
.
_v
(
" "
),
"tag013"
==
t
.
templateCode
?[
a
(
"div"
,{
key
:
"tag14"
+
l
,
staticClass
:
"m-b-20"
},[
a
(
"div"
,{
staticClass
:
"checkboxOption-wrap__body__checkAll border-box"
},[
a
(
"el-checkbox"
,{
attrs
:{
indeterminate
:
t
.
isIndeterminate
},
on
:{
change
:
function
(
a
){
e
.
handleCheckAllChange
(
a
,
t
)}},
model
:{
value
:
t
.
checkAll
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"checkAll"
,
a
)},
expression
:
"parent.checkAll"
}},[
e
.
_v
(
"全选"
)])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"checkboxOption-wrap__body__options border-box"
},[
a
(
"el-checkbox-group"
,{
on
:{
change
:
function
(
a
){
e
.
handleCheckedChange
(
a
,
t
)}},
model
:{
value
:
t
.
checkeditems
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"checkeditems"
,
a
)},
expression
:
"parent.checkeditems"
}},
e
.
_l
(
t
.
options
,
function
(
t
,
l
){
return
a
(
"el-checkbox"
,{
key
:
t
.
key
+
l
,
attrs
:{
label
:
t
.
key
}},[
e
.
_v
(
e
.
_s
(
t
.
value
))])}))],
1
)])]:
e
.
_e
(),
e
.
_v
(
" "
),
"tag015"
==
t
.
templateCode
?[
a
(
"div"
,{
key
:
"tag15"
+
l
,
staticClass
:
"m-b-20"
},[
a
(
"el-radio"
,{
attrs
:{
label
:
"1"
},
model
:{
value
:
t
.
radio
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"radio"
,
a
)},
expression
:
"parent.radio"
}},[
e
.
_v
(
"固定时段"
)]),
e
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
"2"
},
model
:{
value
:
t
.
radio
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"radio"
,
a
)},
expression
:
"parent.radio"
}},[
e
.
_v
(
"相对时段"
)]),
e
.
_v
(
" "
),
1
==
t
.
radio
?
a
(
"div"
,{
staticClass
:
"m-t-18 w-438 p-20 border-box bg-f3f6f9"
},[
a
(
"vue-gic-datepicker"
,{
attrs
:{
type
:
"daterange"
,
editable
:
!
1
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
,
format
:
"MMdd"
,
"value-format"
:
"MMdd"
},
model
:{
value
:
t
.
monthDayRange
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"monthDayRange"
,
a
)},
expression
:
"parent.monthDayRange"
}})],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
1
!=
t
.
radio
?
a
(
"div"
,{
staticClass
:
"relative-range m-t-18 border-box"
},[
a
(
"div"
,[
a
(
"div"
,[
a
(
"label"
,{
staticClass
:
"inline-block w-98 label-unit"
},[
e
.
_v
(
"时间精度"
)]),
e
.
_v
(
" "
),
a
(
"el-radio-group"
,{
on
:{
change
:
function
(
a
){
e
.
timeRadioChange
(
a
,
t
)}},
model
:{
value
:
t
.
timeRadio
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"timeRadio"
,
a
)},
expression
:
"parent.timeRadio"
}},[
a
(
"el-radio"
,{
attrs
:{
label
:
"1"
}},[
e
.
_v
(
"天"
)]),
e
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
"2"
}},[
e
.
_v
(
"月"
)])],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-t-20"
},[
a
(
"label"
,{
staticClass
:
"inline-block w-98"
}),
e
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
"1"
},
on
:{
change
:
function
(
a
){
e
.
currentDayChange
(
a
,
t
)}},
model
:{
value
:
t
.
timeChecked
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"timeChecked"
,
a
)},
expression
:
"parent.timeChecked"
}},[
e
.
_v
(
" 当"
+
e
.
_s
(
1
==
t
.
timeRadio
?
"天"
:
"月"
))])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-t-20"
},[
a
(
"label"
,{
staticClass
:
"inline-block w-98"
}),
e
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
"2"
},
model
:{
value
:
t
.
timeChecked
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"timeChecked"
,
a
)},
expression
:
"parent.timeChecked"
}},[
e
.
_v
(
"{{}}"
)]),
e
.
_v
(
" "
),
a
(
"el-select"
,{
staticClass
:
"w-86 m-l-8"
,
attrs
:{
placeholder
:
"请选择"
},
model
:{
value
:
t
.
timeSelect
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"timeSelect"
,
a
)},
expression
:
"parent.timeSelect"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"最近"
,
value
:
"1"
}}),
e
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"之后"
,
value
:
"2"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-input"
,{
staticClass
:
"w-90"
,
attrs
:{
placeholder
:
"请输入"
,
disabled
:
1
==
t
.
timeChecked
},
on
:{
blur
:
function
(
a
){
return
e
.
toEditDateInput
(
a
,
t
.
timeRadio
,
t
)}},
model
:{
value
:
t
.
timeInput
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"timeInput"
,
a
)},
expression
:
"parent.timeInput"
}}),
e
.
_v
(
" "
),
1
==
t
.
timeRadio
?[
a
(
"label"
,{
staticClass
:
"inline-block middle label-unit m-l-8"
},[
e
.
_v
(
"天"
)]),
e
.
_v
(
" "
),
a
(
"label"
,{
staticClass
:
"inline-block middle label-tip"
},[
e
.
_v
(
"正整数,最大365"
)])]:
e
.
_e
(),
e
.
_v
(
" "
),
2
==
t
.
timeRadio
?[
a
(
"label"
,{
staticClass
:
"inline-block middle label-unit m-l-8"
},[
e
.
_v
(
"月"
)]),
e
.
_v
(
" "
),
a
(
"label"
,{
staticClass
:
"inline-block middle label-tip"
},[
e
.
_v
(
"正整数,最大12"
)])]:
e
.
_e
()],
2
)])]):
e
.
_e
()],
1
)]:
e
.
_e
(),
e
.
_v
(
" "
),
"tag016"
==
t
.
templateCode
?[
a
(
"div"
,{
key
:
"tag16"
+
l
,
staticClass
:
"m-b-20"
},[
a
(
"el-date-picker"
,{
attrs
:{
type
:
"daterange"
,
editable
:
!
1
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始时间"
,
"end-placeholder"
:
"结束时间"
,
format
:
"yyyyMMdd"
,
"value-format"
:
"yyyyMMdd"
,
"default-time"
:[
"000000"
,
"235959"
]},
model
:{
value
:
t
.
dateRangeValue
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"dateRangeValue"
,
a
)},
expression
:
"parent.dateRangeValue"
}})],
1
)]:
e
.
_e
(),
e
.
_v
(
" "
),
"tag019"
==
t
.
templateCode
?[
a
(
"div"
,{
key
:
"tag17"
+
l
,
staticClass
:
"m-b-20"
},[
a
(
"el-radio"
,{
attrs
:{
label
:
"1"
},
model
:{
value
:
t
.
radio
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"radio"
,
a
)},
expression
:
"parent.radio"
}},[
e
.
_v
(
"固定时段"
)]),
e
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
"2"
},
model
:{
value
:
t
.
radio
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"radio"
,
a
)},
expression
:
"parent.radio"
}},[
e
.
_v
(
"相对时段"
)]),
e
.
_v
(
" "
),
1
==
t
.
radio
?
a
(
"div"
,{
staticClass
:
"m-t-18 w-438 p-20 border-box bg-f3f6f9"
},[
a
(
"el-date-picker"
,{
attrs
:{
type
:
"daterange"
,
editable
:
!
1
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始时间"
,
"end-placeholder"
:
"结束时间"
,
format
:
"yyyyMMdd"
,
"value-format"
:
"yyyy-MM-dd HH:mm:ss"
,
"default-time"
:[
"00:00:00"
,
"23:59:59"
]},
model
:{
value
:
t
.
dateRangeValue
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"dateRangeValue"
,
a
)},
expression
:
"parent.dateRangeValue"
}})],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
1
!=
t
.
radio
?
a
(
"div"
,{
staticClass
:
"relative-range m-t-18 border-box"
},[
a
(
"div"
,[
a
(
"div"
,[
a
(
"label"
,{
staticClass
:
"inline-block w-98 label-unit"
},[
e
.
_v
(
"时间精度"
)]),
e
.
_v
(
" "
),
a
(
"el-radio-group"
,{
on
:{
change
:
function
(
a
){
e
.
timeRadioChange
(
a
,
t
)}},
model
:{
value
:
t
.
timeRadio
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"timeRadio"
,
a
)},
expression
:
"parent.timeRadio"
}},[
a
(
"el-radio"
,{
attrs
:{
label
:
"1"
}},[
e
.
_v
(
"天"
)]),
e
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
"2"
}},[
e
.
_v
(
"月"
)]),
e
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
"3"
}},[
e
.
_v
(
"年"
)])],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-t-20"
},[
a
(
"label"
,{
staticClass
:
"inline-block w-98"
}),
e
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
"1"
},
on
:{
change
:
function
(
a
){
e
.
currentDayChange
(
a
,
t
)}},
model
:{
value
:
t
.
timeChecked
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"timeChecked"
,
a
)},
expression
:
"parent.timeChecked"
}},[
e
.
_v
(
" 当"
+
e
.
_s
(
1
==
t
.
timeRadio
?
"天"
:
2
==
t
.
timeRadio
?
"月"
:
"年"
))])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-t-20"
},[
a
(
"label"
,{
staticClass
:
"inline-block w-98"
}),
e
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
"2"
},
model
:{
value
:
t
.
timeChecked
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"timeChecked"
,
a
)},
expression
:
"parent.timeChecked"
}},[
e
.
_v
(
"{{}}"
)]),
e
.
_v
(
" "
),
a
(
"el-select"
,{
staticClass
:
"w-86 m-l-8"
,
attrs
:{
placeholder
:
"请选择"
},
model
:{
value
:
t
.
timeSelect
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"timeSelect"
,
a
)},
expression
:
"parent.timeSelect"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"最近"
,
value
:
"1"
}}),
e
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"之后"
,
value
:
"2"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-input"
,{
staticClass
:
"w-90"
,
attrs
:{
placeholder
:
"请输入"
,
disabled
:
1
==
t
.
timeChecked
},
on
:{
blur
:
function
(
a
){
return
e
.
toEditDateInput
(
a
,
t
.
timeRadio
,
t
)}},
model
:{
value
:
t
.
timeInput
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"timeInput"
,
a
)},
expression
:
"parent.timeInput"
}}),
e
.
_v
(
" "
),
1
==
t
.
timeRadio
?[
a
(
"label"
,{
staticClass
:
"inline-block middle label-unit m-l-8"
},[
e
.
_v
(
"天"
)]),
e
.
_v
(
" "
),
a
(
"label"
,{
staticClass
:
"inline-block middle label-tip"
},[
e
.
_v
(
"正整数,最大365"
)])]:
e
.
_e
(),
e
.
_v
(
" "
),
2
==
t
.
timeRadio
?[
a
(
"label"
,{
staticClass
:
"inline-block middle label-unit m-l-8"
},[
e
.
_v
(
"月"
)]),
e
.
_v
(
" "
),
a
(
"label"
,{
staticClass
:
"inline-block middle label-tip"
},[
e
.
_v
(
"正整数,最大12"
)])]:
e
.
_e
(),
e
.
_v
(
" "
),
3
==
t
.
timeRadio
?[
a
(
"label"
,{
staticClass
:
"inline-block middle label-unit m-l-8"
},[
e
.
_v
(
"年"
)]),
e
.
_v
(
" "
),
a
(
"label"
,{
staticClass
:
"inline-block middle label-tip"
},[
e
.
_v
(
"正整数,最大2"
)])]:
e
.
_e
()],
2
)])]):
e
.
_e
()],
1
)]:
e
.
_e
(),
e
.
_v
(
" "
),
"tag017"
==
t
.
templateCode
?[
a
(
"div"
,{
key
:
"tag18"
+
l
,
staticClass
:
"m-b-20"
},[
a
(
"el-radio"
,{
attrs
:{
label
:
"1"
},
model
:{
value
:
t
.
radio
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"radio"
,
a
)},
expression
:
"parent.radio"
}},[
e
.
_v
(
"固定时段"
)]),
e
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
"2"
},
model
:{
value
:
t
.
radio
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"radio"
,
a
)},
expression
:
"parent.radio"
}},[
e
.
_v
(
"相对时段"
)]),
e
.
_v
(
" "
),
1
==
t
.
radio
?
a
(
"div"
,{
staticClass
:
"m-t-18 w-438 p-20 border-box bg-f3f6f9"
},[
a
(
"el-date-picker"
,{
attrs
:{
type
:
"daterange"
,
editable
:
!
1
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始时间"
,
"end-placeholder"
:
"结束时间"
,
format
:
"yyyyMMdd"
,
"value-format"
:
"yyyyMMdd"
,
"default-time"
:[
"000000"
,
"235959"
]},
model
:{
value
:
t
.
dateRangeValue
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"dateRangeValue"
,
a
)},
expression
:
"parent.dateRangeValue"
}})],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
1
!=
t
.
radio
?
a
(
"div"
,{
staticClass
:
"relative-range m-t-18 border-box"
},[
a
(
"div"
,[
a
(
"div"
,[
a
(
"label"
,{
staticClass
:
"inline-block w-98 label-unit"
},[
e
.
_v
(
"时间精度"
)]),
e
.
_v
(
" "
),
a
(
"el-radio-group"
,{
on
:{
change
:
function
(
a
){
e
.
timeRadioChange
(
a
,
t
)}},
model
:{
value
:
t
.
timeRadio
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"timeRadio"
,
a
)},
expression
:
"parent.timeRadio"
}},[
a
(
"el-radio"
,{
attrs
:{
label
:
"1"
}},[
e
.
_v
(
"天"
)]),
e
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
"2"
}},[
e
.
_v
(
"月"
)]),
e
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
"3"
}},[
e
.
_v
(
"年"
)])],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-t-20"
},[
a
(
"label"
,{
staticClass
:
"inline-block w-98"
}),
e
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
"1"
},
on
:{
change
:
function
(
a
){
e
.
currentDayChange
(
a
,
t
)}},
model
:{
value
:
t
.
timeChecked
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"timeChecked"
,
a
)},
expression
:
"parent.timeChecked"
}},[
e
.
_v
(
" 当"
+
e
.
_s
(
1
==
t
.
timeRadio
?
"天"
:
2
==
t
.
timeRadio
?
"月"
:
"年"
))])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-t-20"
},[
a
(
"label"
,{
staticClass
:
"inline-block w-98"
}),
e
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
"2"
},
model
:{
value
:
t
.
timeChecked
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"timeChecked"
,
a
)},
expression
:
"parent.timeChecked"
}},[
e
.
_v
(
"{{}}"
)]),
e
.
_v
(
" "
),
a
(
"el-select"
,{
staticClass
:
"w-86 m-l-8"
,
attrs
:{
placeholder
:
"请选择"
},
model
:{
value
:
t
.
timeSelect
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"timeSelect"
,
a
)},
expression
:
"parent.timeSelect"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"最近"
,
value
:
"1"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-input"
,{
staticClass
:
"w-90"
,
attrs
:{
placeholder
:
"请输入"
,
disabled
:
1
==
t
.
timeChecked
},
on
:{
blur
:
function
(
a
){
return
e
.
toEditDateInput
(
a
,
t
.
timeRadio
,
t
)}},
model
:{
value
:
t
.
timeInput
,
callback
:
function
(
a
){
e
.
$set
(
t
,
"timeInput"
,
a
)},
expression
:
"parent.timeInput"
}}),
e
.
_v
(
" "
),
1
==
t
.
timeRadio
?[
a
(
"label"
,{
staticClass
:
"inline-block middle label-unit m-l-8"
},[
e
.
_v
(
"天"
)]),
e
.
_v
(
" "
),
a
(
"label"
,{
staticClass
:
"inline-block middle label-tip"
},[
e
.
_v
(
"正整数,最大365"
)])]:
e
.
_e
(),
e
.
_v
(
" "
),
2
==
t
.
timeRadio
?[
a
(
"label"
,{
staticClass
:
"inline-block middle label-unit m-l-8"
},[
e
.
_v
(
"月"
)]),
e
.
_v
(
" "
),
a
(
"label"
,{
staticClass
:
"inline-block middle label-tip"
},[
e
.
_v
(
"正整数,最大12"
)])]:
e
.
_e
(),
e
.
_v
(
" "
),
3
==
t
.
timeRadio
?[
a
(
"label"
,{
staticClass
:
"inline-block middle label-unit m-l-8"
},[
e
.
_v
(
"年"
)]),
e
.
_v
(
" "
),
a
(
"label"
,{
staticClass
:
"inline-block middle label-tip"
},[
e
.
_v
(
"正整数,最大2"
)])]:
e
.
_e
()],
2
)])]):
e
.
_e
()],
1
)]:
e
.
_e
()],
2
)})],
2
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"myTagDetail-wrap__btn"
},[
e
.
tagFlag
?
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
addTemporary
}},[
e
.
_v
(
"
\
n "
+
e
.
_s
(
e
.
addTempFlag
?
"更新标签选项"
:
"添加到暂存架"
)
+
"
\
n "
)]):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
tagFlag
?
e
.
_e
():
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
disabled
:
!!
e
.
addFlag
},
on
:{
click
:
e
.
addMytag
}},[
e
.
_v
(
"
\
n "
+
e
.
_s
(
e
.
addFlag
?
"已添加至我的标签库"
:
"添加至我的标签库"
)
+
"
\
n "
)])],
1
)])]),
e
.
_v
(
" "
),
a
(
"vue-gic-footer"
),
e
.
_v
(
" "
),
a
(
"tagShortDetail"
,{
attrs
:{
fromFlag
:
e
.
fromFlag
,
tagShortId
:
e
.
tagShortDetailId
,
showTagDetail
:
e
.
showTagDetail
},
on
:{
"update:tagShortId"
:
function
(
t
){
e
.
tagShortDetailId
=
t
},
hideTag
:
e
.
handleHideTag
,
updateTemp
:
e
.
updateTemp
}}),
e
.
_v
(
" "
),
a
(
"tag-temporary"
,{
ref
:
"tagTemp"
,
on
:{
showShortDetail
:
e
.
showShortDetail
}})],
1
)},
staticRenderFns
:[]};
var
h
=
a
(
"VU/8"
)(
b
,
_
,
!
1
,
function
(
e
){
a
(
"LYW7"
)},
"data-v-9717fa84"
,
null
);
t
.
default
=
h
.
exports
}});
\ No newline at end of file
dist/static/js/1
3.2ff9d2ac9f168cddb7af
.js
→
dist/static/js/1
4.5d0583cce164751ef21d
.js
View file @
48b3200f
webpackJsonp
([
13
],{
"6Qob"
:
function
(
t
,
e
,
i
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
s
=
i
(
"mvHQ"
),
n
=
i
.
n
(
s
),
o
=
i
(
"5reh"
),
a
=
i
(
"zL8q"
);
function
r
(
t
){
return
t
?(
a
.
Message
.
warning
(
t
),
!
1
):(
a
.
Message
.
warning
(
"操作失败"
),
!
1
)}
function
l
(
t
){
return
"cancel"
==
t
?(
a
.
Message
.
info
(
t
||
"cancel"
),
!
1
):
t
.
hasOwnProperty
(
"response"
)?
401
==
t
.
response
.
status
?(
a
.
Message
.
error
(
"登录过期"
),
!
1
):
500
==
t
.
response
.
status
?(
a
.
Message
.
error
(
"服务器错误500"
),
!
1
):
void
0
:(
a
.
Message
.
error
(
t
),
!
1
)}
var
c
=
i
(
"mw3O"
),
u
=
{
name
:
"login"
,
data
:
function
(){
return
{
redirect
:
this
.
$route
.
query
.
redirect
,
token
:
""
,
form
:{
loginName
:
"damogic"
,
password
:
"1"
,
eid
:
"ff808081593917d90159398ec6340012"
}}},
computed
:{
imgHeight
:
function
(){
return
document
.
body
.
clientHeight
},
imgWidth
:
function
(){
return
document
.
body
.
clientWidth
}},
methods
:{
loginAnimate
:
function
(){
new
LoginAnimate
(
loginwrap
,{
length
:
90
,
LineWeight
:.
1
,
clicked
:
!
0
,
moveon
:
!
0
}).
Run
()},
submitLogin
:
function
(){
var
t
=
this
;
this
.
axios
.
post
(
"/api-auth/do-login"
,
c
.
stringify
({
loginName
:
this
.
form
.
loginName
,
password
:
this
.
form
.
password
,
eid
:
"ff808081593917d90159398ec6340012"
})).
then
(
function
(
e
){
if
(
e
.
data
.
success
){(
s
=
e
.
data
.
message
)?
a
.
Message
.
success
(
s
):
a
.
Message
.
success
(
"操作成功"
);
var
i
=
decodeURIComponent
(
t
.
$route
.
query
.
redirect
||
"/index"
);
t
.
$router
.
push
({
path
:
i
})}
else
r
(
e
.
data
.
message
);
var
s
}).
catch
(
function
(
t
){
l
(
t
)})},
getMenu
:
function
(){
var
t
=
this
;
this
.
axios
.
get
(
"/gic/get-menu"
).
then
(
function
(
e
){
if
(
e
.
data
.
success
){
t
.
menuList
=
e
.
data
.
list
,
sessionStorage
.
setItem
(
"menuList"
,
n
()(
t
.
menuList
));
var
i
=
t
.
$route
.
query
.
redirect
||
"/index"
;
t
.
$router
.
push
({
path
:
i
})}
else
r
(
e
.
data
.
errorMessage
)}).
catch
(
function
(
t
){
l
(
t
)})}},
mounted
:
function
(){
this
.
$store
.
commit
(
o
.
d
,
"login"
),
document
.
title
=
this
.
$store
.
state
.
title
,
this
.
loginAnimate
()}},
m
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
i
=
t
.
_self
.
_c
||
e
;
return
i
(
"div"
,{
staticClass
:
"loginwrap"
,
style
:{
height
:
t
.
imgHeight
+
"px"
}},[
i
(
"div"
,{
staticStyle
:{
position
:
"absolute"
,
left
:
"0"
,
height
:
"0"
,
width
:
"100%"
}},[
i
(
"canvas"
,{
attrs
:{
id
:
"loginwrap"
,
width
:
t
.
imgWidth
,
height
:
t
.
imgHeight
}})]),
t
.
_v
(
" "
),
t
.
_m
(
0
),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"login_contetnt"
},[
i
(
"h3"
,{
staticClass
:
"login-top"
},[
t
.
_v
(
"让信息连接一切"
)]),
t
.
_v
(
" "
),
i
(
"h4"
,{
staticClass
:
"login-bottom"
},[
t
.
_v
(
"GIC商户后台"
)]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"formlogin"
},[
i
(
"el-form"
,{
ref
:
"form"
,
attrs
:{
model
:
t
.
form
,
"label-width"
:
""
}},[
i
(
"el-form-item"
,{
attrs
:{
label
:
""
}},[
i
(
"el-input"
,{
staticClass
:
"forminput"
,
attrs
:{
placeholder
:
"账号"
},
model
:{
value
:
t
.
form
.
loginName
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form
,
"loginName"
,
e
)},
expression
:
"form.loginName"
}})],
1
),
t
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
""
}},[
i
(
"el-input"
,{
attrs
:{
type
:
"password"
,
placeholder
:
"密码"
},
nativeOn
:{
keyup
:
function
(
e
){
if
(
!
(
"button"
in
e
)
&&
t
.
_k
(
e
.
keyCode
,
"enter"
,
13
,
e
.
key
,
"Enter"
))
return
null
;
t
.
submitLogin
(
"form"
)}},
model
:{
value
:
t
.
form
.
password
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form
,
"password"
,
e
)},
expression
:
"form.password"
}})],
1
),
t
.
_v
(
" "
),
i
(
"el-form-item"
,[
i
(
"button"
,{
staticClass
:
"submit"
,
on
:{
click
:
function
(
e
){
e
.
preventDefault
(),
t
.
submitLogin
(
"form"
)}}},[
t
.
_v
(
"立即登录"
)])])],
1
)],
1
)])])},
staticRenderFns
:[
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,{
staticClass
:
"logintop"
},[
e
(
"div"
,{
staticClass
:
"fl loginlogo"
},[
e
(
"a"
,{
staticClass
:
"fr logo"
,
attrs
:{
href
:
"#"
}},[
this
.
_v
(
"login_logo.png"
)])]),
this
.
_v
(
" "
),
e
(
"a"
,{
staticClass
:
"home-link fr"
,
attrs
:{
href
:
"http://www.demogic.com/"
}},[
this
.
_v
(
"返回首页"
)])])}]};
var
d
=
i
(
"VU/8"
)(
u
,
m
,
!
1
,
function
(
t
){
i
(
"Z8Lf"
)},
null
,
null
);
e
.
default
=
d
.
exports
},
Z8Lf
:
function
(
t
,
e
){}});
\ No newline at end of file
webpackJsonp
([
14
],{
"6Qob"
:
function
(
t
,
e
,
i
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
s
=
i
(
"mvHQ"
),
n
=
i
.
n
(
s
),
o
=
i
(
"5reh"
),
a
=
i
(
"zL8q"
);
function
r
(
t
){
return
t
?(
a
.
Message
.
warning
(
t
),
!
1
):(
a
.
Message
.
warning
(
"操作失败"
),
!
1
)}
function
l
(
t
){
return
"cancel"
==
t
?(
a
.
Message
.
info
(
t
||
"cancel"
),
!
1
):
t
.
hasOwnProperty
(
"response"
)?
401
==
t
.
response
.
status
?(
a
.
Message
.
error
(
"登录过期"
),
!
1
):
500
==
t
.
response
.
status
?(
a
.
Message
.
error
(
"服务器错误500"
),
!
1
):
void
0
:(
a
.
Message
.
error
(
t
),
!
1
)}
var
c
=
i
(
"mw3O"
),
u
=
{
name
:
"login"
,
data
:
function
(){
return
{
redirect
:
this
.
$route
.
query
.
redirect
,
token
:
""
,
form
:{
loginName
:
"damogic"
,
password
:
"1"
,
eid
:
"ff808081593917d90159398ec6340012"
}}},
computed
:{
imgHeight
:
function
(){
return
document
.
body
.
clientHeight
},
imgWidth
:
function
(){
return
document
.
body
.
clientWidth
}},
methods
:{
loginAnimate
:
function
(){
new
LoginAnimate
(
loginwrap
,{
length
:
90
,
LineWeight
:.
1
,
clicked
:
!
0
,
moveon
:
!
0
}).
Run
()},
submitLogin
:
function
(){
var
t
=
this
;
this
.
axios
.
post
(
"/api-auth/do-login"
,
c
.
stringify
({
loginName
:
this
.
form
.
loginName
,
password
:
this
.
form
.
password
,
eid
:
"ff808081593917d90159398ec6340012"
})).
then
(
function
(
e
){
if
(
e
.
data
.
success
){(
s
=
e
.
data
.
message
)?
a
.
Message
.
success
(
s
):
a
.
Message
.
success
(
"操作成功"
);
var
i
=
decodeURIComponent
(
t
.
$route
.
query
.
redirect
||
"/index"
);
t
.
$router
.
push
({
path
:
i
})}
else
r
(
e
.
data
.
message
);
var
s
}).
catch
(
function
(
t
){
l
(
t
)})},
getMenu
:
function
(){
var
t
=
this
;
this
.
axios
.
get
(
"/gic/get-menu"
).
then
(
function
(
e
){
if
(
e
.
data
.
success
){
t
.
menuList
=
e
.
data
.
list
,
sessionStorage
.
setItem
(
"menuList"
,
n
()(
t
.
menuList
));
var
i
=
t
.
$route
.
query
.
redirect
||
"/index"
;
t
.
$router
.
push
({
path
:
i
})}
else
r
(
e
.
data
.
errorMessage
)}).
catch
(
function
(
t
){
l
(
t
)})}},
mounted
:
function
(){
this
.
$store
.
commit
(
o
.
d
,
"login"
),
document
.
title
=
this
.
$store
.
state
.
title
,
this
.
loginAnimate
()}},
m
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
i
=
t
.
_self
.
_c
||
e
;
return
i
(
"div"
,{
staticClass
:
"loginwrap"
,
style
:{
height
:
t
.
imgHeight
+
"px"
}},[
i
(
"div"
,{
staticStyle
:{
position
:
"absolute"
,
left
:
"0"
,
height
:
"0"
,
width
:
"100%"
}},[
i
(
"canvas"
,{
attrs
:{
id
:
"loginwrap"
,
width
:
t
.
imgWidth
,
height
:
t
.
imgHeight
}})]),
t
.
_v
(
" "
),
t
.
_m
(
0
),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"login_contetnt"
},[
i
(
"h3"
,{
staticClass
:
"login-top"
},[
t
.
_v
(
"让信息连接一切"
)]),
t
.
_v
(
" "
),
i
(
"h4"
,{
staticClass
:
"login-bottom"
},[
t
.
_v
(
"GIC商户后台"
)]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"formlogin"
},[
i
(
"el-form"
,{
ref
:
"form"
,
attrs
:{
model
:
t
.
form
,
"label-width"
:
""
}},[
i
(
"el-form-item"
,{
attrs
:{
label
:
""
}},[
i
(
"el-input"
,{
staticClass
:
"forminput"
,
attrs
:{
placeholder
:
"账号"
},
model
:{
value
:
t
.
form
.
loginName
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form
,
"loginName"
,
e
)},
expression
:
"form.loginName"
}})],
1
),
t
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
""
}},[
i
(
"el-input"
,{
attrs
:{
type
:
"password"
,
placeholder
:
"密码"
},
nativeOn
:{
keyup
:
function
(
e
){
if
(
!
(
"button"
in
e
)
&&
t
.
_k
(
e
.
keyCode
,
"enter"
,
13
,
e
.
key
,
"Enter"
))
return
null
;
t
.
submitLogin
(
"form"
)}},
model
:{
value
:
t
.
form
.
password
,
callback
:
function
(
e
){
t
.
$set
(
t
.
form
,
"password"
,
e
)},
expression
:
"form.password"
}})],
1
),
t
.
_v
(
" "
),
i
(
"el-form-item"
,[
i
(
"button"
,{
staticClass
:
"submit"
,
on
:{
click
:
function
(
e
){
e
.
preventDefault
(),
t
.
submitLogin
(
"form"
)}}},[
t
.
_v
(
"立即登录"
)])])],
1
)],
1
)])])},
staticRenderFns
:[
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,{
staticClass
:
"logintop"
},[
e
(
"div"
,{
staticClass
:
"fl loginlogo"
},[
e
(
"a"
,{
staticClass
:
"fr logo"
,
attrs
:{
href
:
"#"
}},[
this
.
_v
(
"login_logo.png"
)])]),
this
.
_v
(
" "
),
e
(
"a"
,{
staticClass
:
"home-link fr"
,
attrs
:{
href
:
"http://www.demogic.com/"
}},[
this
.
_v
(
"返回首页"
)])])}]};
var
d
=
i
(
"VU/8"
)(
u
,
m
,
!
1
,
function
(
t
){
i
(
"Z8Lf"
)},
null
,
null
);
e
.
default
=
d
.
exports
},
Z8Lf
:
function
(
t
,
e
){}});
\ No newline at end of file
dist/static/js/1
4.5bb5e452f9105fa8c5b7
.js
→
dist/static/js/1
5.e054914147987d5fdff4
.js
View file @
48b3200f
webpackJsonp
([
14
],{
XXBq
:
function
(
e
,
t
){},
f0o3
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
r
=
a
(
"mvHQ"
),
o
=
a
.
n
(
r
),
n
=
a
(
"3Xzz"
),
i
=
a
(
"5QTb"
),
s
=
a
(
"Mk6G"
),
l
=
a
(
"3E4D"
),
c
=
a
(
"Ch4/"
),
u
=
(
a
(
"PI0u"
),
a
(
"P9l9"
)),
g
=
{
name
:
"manualTagList"
,
data
:
function
(){
return
{
navpath
:[{
name
:
"首页"
,
path
:
window
.
origin
+
"/report/#/memberSummary"
,
relocation
:
!
0
},{
name
:
"会员管理"
,
path
:
""
},{
name
:
"会员标签"
,
path
:
""
},{
name
:
"手工标签库"
,
path
:
"/manualTagLib"
},{
name
:
"手工标签列表"
,
path
:
""
}],
tagLibName
:
"manualTag"
,
tagSearch
:
""
,
tagTableData
:[],
selTagTableData
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
currentGroupId
:
0
,
cateTableVisible
:
!
1
,
inputNum
:
0
,
limitLength
:
10
,
cateForm
:{
cateTwo
:
""
,
cateThree
:
""
},
rules
:{
cateTwo
:[{
required
:
!
0
,
message
:
"请选择分类"
,
trigger
:
"blur"
}],
cateThree
:[{
required
:
!
0
,
message
:
"请输入分类名称"
,
trigger
:
"blur"
}]},
cateTwOptions
:[],
cateTableData
:[]}},
methods
:{
changeRoute
:
function
(
e
){
this
.
$router
.
push
(
e
)},
toAddMyTagLib
:
function
(
e
,
t
){
console
.
log
(
t
);
var
a
=
{};
if
(
"mult"
===
e
){
if
(
!
this
.
selTagTableData
.
length
)
return
this
.
$message
.
error
({
message
:
"请选择标签"
}),
!
1
;
a
.
tagIds
=
[],
this
.
selTagTableData
.
forEach
(
function
(
e
,
t
){
a
.
tagIds
.
push
(
e
.
tagId
)}),
console
.
log
(
a
),
a
.
tagIds
=
a
.
tagIds
.
join
(
","
),
this
.
addByTagId
(
"addByTagIds"
,
a
)}
else
a
.
tagId
=
t
,
this
.
addByTagId
(
"addByTagId"
,
a
)},
addByTagId
:
function
(
e
,
t
){
var
a
=
this
;
Object
(
u
.
a
)(
"/enterpriseMemberTag/"
+
e
,
t
).
then
(
function
(
e
){
var
t
=
e
.
data
;
if
(
1
==
t
.
errorCode
)
return
l
.
a
.
showmsg
(
"添加成功"
,
"success"
),
void
a
.
getTagList
();
c
.
a
.
errorMsg
(
t
)}).
catch
(
function
(
e
){
console
.
log
(
e
),
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
searchEnterFun
:
function
(
e
){
console
.
log
(
e
),
this
.
currentPage
=
1
,
this
.
getTagList
()},
clearSearch
:
function
(){
this
.
currentPage
=
1
,
this
.
getTagList
()},
handleSelectChange
:
function
(
e
){
this
.
selTagTableData
=
e
},
handleSizeChange
:
function
(
e
){
this
.
pageSize
=
e
,
this
.
getTagList
()},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
$route
.
fullPath
.
includes
(
"?"
)
&&
this
.
$router
.
push
(
this
.
$route
.
path
+
"?tagLevelGroupId="
+
this
.
$route
.
query
.
tagLevelGroupId
+
"¤tPage="
+
e
),
this
.
getTagList
()},
getTagList
:
function
(
e
){
var
t
=
this
,
a
=
{
tagName
:
t
.
tagSearch
,
tagLevelGroupId
:
t
.
currentGroupId
,
pageNum
:
t
.
currentPage
,
pageSize
:
t
.
pageSize
};
Object
(
u
.
a
)(
"/memberTag/handTagPageList"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
t
.
tagTableData
=
a
.
result
.
result
,
void
(
t
.
total
=
a
.
result
.
totalCount
);
c
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
console
.
log
(
e
),
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
cancelDelTag
:
function
(
e
,
t
){
t
.
popVisible
=!
1
},
toDelTag
:
function
(
e
,
t
){
var
a
=
this
;
a
.
$confirm
(
"删除标签后,符合该标签值的会员对应标签值将同步删除。一旦删除将无法恢复,确认要删除吗?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
postDelTag
(
e
,
t
)}).
catch
(
function
(){})},
postDelTag
:
function
(
e
,
t
){
var
a
=
this
,
r
=
{
tagId
:
t
.
tagId
};
Object
(
u
.
a
)(
"/memberTag/delHandMemberTag"
,
r
).
then
(
function
(
t
){
var
r
=
t
.
data
;
if
(
1
==
r
.
errorCode
)
return
a
.
tagTableData
.
splice
(
e
,
1
),
void
l
.
a
.
showmsg
(
"删除成功"
,
"success"
);
100005
!=
r
.
errorCode
?
c
.
a
.
errorMsg
(
r
):
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
"该标签正在被会员分组使用,无法删除!"
})}).
catch
(
function
(
e
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
toManualTagEdit
:
function
(){
this
.
changeRoute
(
"/manualTagEdit"
)},
isRepeat
:
function
(
e
){
var
t
=
{};
for
(
var
a
in
e
){
if
(
t
[
e
[
a
]])
return
!
0
;
t
[
e
[
a
]]
=!
0
}
return
!
1
},
showCateDialog
:
function
(){
this
.
cateTableVisible
=!
0
,
this
.
getTWoLevel
()},
cateTwoChange
:
function
(
e
){
this
.
cateForm
.
cateThree
=
""
,
this
.
inputNum
=
0
,
this
.
getThreeLevel
(
e
)},
toAddCate
:
function
(
e
){
var
t
=
this
;
t
.
$refs
[
e
].
validate
(
function
(
e
){
if
(
!
e
)
return
!
1
;
t
.
cateForm
.
levelName
=
t
.
cateForm
.
cateThree
,
t
.
cateForm
.
editAble
=!
1
,
t
.
cateForm
.
inputValue
=
""
;
var
a
=
JSON
.
parse
(
o
()(
t
.
cateTableData
));
a
.
push
(
JSON
.
parse
(
o
()(
t
.
cateForm
)));
var
r
=
a
.
map
(
function
(
e
){
return
e
.
levelName
});
if
(
t
.
isRepeat
(
r
))
return
a
.
splice
(
t
.
cateTableData
.
length
-
1
,
1
),
void
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
"名称不能重复"
});
t
.
postAdd
()})},
postAdd
:
function
(){
var
e
=
this
,
t
=
{
parentLevelGroupId
:
e
.
cateForm
.
cateTwo
,
levelName
:
e
.
cateForm
.
cateThree
};
Object
(
u
.
a
)(
"/tagLevel/addHand"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
e
.
$refs
.
tagCategoryCom
.
refreshData
(),
l
.
a
.
showmsg
(
"添加成功"
,
"success"
),
void
e
.
getThreeLevel
(
e
.
cateForm
.
cateTwo
);
c
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
toEditCate
:
function
(
e
,
t
){
t
.
editAble
=!
0
,
t
.
inputValue
=
t
.
levelName
},
toDelCate
:
function
(
e
,
t
){
var
a
=
this
;
a
.
$confirm
(
"删除分类后,该分类下所有标签进入未分类,确认要删除吗?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
postDel
(
e
,
t
)}).
catch
(
function
(){})},
postDel
:
function
(
e
,
t
){
var
a
=
this
,
r
=
{
tagLevelGroupId
:
t
.
tagLevelGroupId
};
Object
(
u
.
a
)(
"/tagLevel/delHand"
,
r
).
then
(
function
(
t
){
var
r
=
t
.
data
;
if
(
1
==
r
.
errorCode
)
return
a
.
cateTableData
.
splice
(
e
,
1
),
a
.
$refs
.
tagCategoryCom
.
refreshData
(),
void
l
.
a
.
showmsg
(
"删除成功"
,
"success"
);
200001
!=
r
.
errorCode
?
c
.
a
.
errorMsg
(
r
):
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
"该标签被会员分组使用,无法删除!"
})}).
catch
(
function
(
e
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
confirmEdit
:
function
(
e
,
t
){
if
(
!
t
.
inputValue
.
trim
())
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请输入分类名称"
}),
!
1
;
var
a
=
JSON
.
parse
(
o
()(
this
.
cateTableData
));
a
[
e
].
levelName
=
t
.
inputValue
;
var
r
=
a
.
map
(
function
(
e
){
return
e
.
levelName
});
this
.
isRepeat
(
r
)?
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"名称不能重复"
}):
this
.
postEdit
(
t
)},
postEdit
:
function
(
e
){
var
t
=
this
,
a
=
{
tagLevelGroupId
:
e
.
tagLevelGroupId
,
levelName
:
e
.
inputValue
};
Object
(
u
.
a
)(
"/tagLevel/editHand"
,
a
).
then
(
function
(
a
){
var
r
=
a
.
data
;
if
(
1
==
r
.
errorCode
)
return
e
.
levelName
=
e
.
inputValue
,
e
.
editAble
=!
1
,
t
.
$refs
.
tagCategoryCom
.
refreshData
(),
void
l
.
a
.
showmsg
(
"保存成功"
,
"success"
);
c
.
a
.
errorMsg
(
r
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
cancleEdit
:
function
(
e
,
t
){
t
.
editAble
=!
1
},
toInput
:
function
(
e
){
var
t
=
""
;
t
=
s
.
a
.
getByteVal
(
e
.
target
.
value
,
this
.
limitLength
),
this
.
cateForm
.
cateThree
=
t
.
trim
(),
this
.
inputNum
=
s
.
a
.
getZhLen
(
t
.
trim
())},
toEditInput
:
function
(
e
,
t
,
a
){
var
r
=
""
;
r
=
s
.
a
.
getByteVal
(
e
.
target
.
value
,
this
.
limitLength
),
a
.
inputValue
=
r
.
trim
()},
closeCateDialog
:
function
(){
this
.
cateTableVisible
=!
1
,
this
.
cateForm
.
cateTwo
=
""
,
this
.
cateForm
.
cateThree
=
""
,
this
.
cateTableData
=
[],
this
.
inputNum
=
0
},
cancelDialog
:
function
(){
this
.
closeCateDialog
()},
confirmDialog
:
function
(){
this
.
closeCateDialog
()},
getTWoLevel
:
function
(){
var
e
=
this
;
Object
(
u
.
a
)(
"/tagLevel/handSecondLevel"
,{}).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
e
.
cateTwOptions
=
a
.
result
,
e
.
cateForm
.
cateTwo
=
e
.
cateTwOptions
[
0
].
tagLevelGroupId
,
void
e
.
getThreeLevel
(
e
.
cateForm
.
cateTwo
);
c
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getThreeLevel
:
function
(
e
){
var
t
=
this
,
a
=
{
tagLevelGroupId
:
e
};
t
.
cateTableData
=
[],
Object
(
u
.
a
)(
"/tagLevel/handThirdLevel"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
a
.
result
.
forEach
(
function
(
e
,
t
){
e
.
inputValue
=
""
,
e
.
editAble
=!
1
}),
void
(
t
.
cateTableData
=
a
.
result
);
c
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getUrlParams
:
function
(){
this
.
tagSearch
=
this
.
$route
.
query
.
searchName
?
this
.
$route
.
query
.
searchName
:
""
,
this
.
currentGroupId
=
this
.
$route
.
query
.
tagLevelGroupId
?
this
.
$route
.
query
.
tagLevelGroupId
:
0
,
this
.
currentPage
=
this
.
$route
.
query
.
currentPage
?
parseInt
(
this
.
$route
.
query
.
currentPage
):
1
,
document
.
getElementById
(
"app"
).
style
.
zIndex
=
"auto"
,
this
.
getTagList
()}},
watch
:{
$route
:{
handler
:
function
(
e
,
t
){
this
.
getUrlParams
()},
deep
:
!
0
}},
mounted
:
function
(){
this
.
getUrlParams
()},
components
:{
navCrumb
:
n
.
a
,
tagCategory
:
i
.
a
}},
d
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"manualTagList-wrap common-wrap"
},[
a
(
"nav-crumb"
,{
attrs
:{
navpath
:
e
.
navpath
}}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"right-content"
},[
a
(
"div"
,{
staticClass
:
"right-box"
},[
a
(
"div"
,{
staticClass
:
"common-wrap__cateTags"
},[
a
(
"tag-category"
,{
ref
:
"tagCategoryCom"
,
attrs
:{
tagLibName
:
e
.
tagLibName
}})],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"common-wrap__opt"
},[
a
(
"el-input"
,{
staticClass
:
"w-184"
,
attrs
:{
placeholder
:
"搜索标签"
,
"prefix-icon"
:
"el-icon-search"
,
clearable
:
""
},
on
:{
clear
:
e
.
clearSearch
},
nativeOn
:{
keyup
:
function
(
t
){
return
"button"
in
t
||!
e
.
_k
(
t
.
keyCode
,
"enter"
,
13
,
t
.
key
,
"Enter"
)?
e
.
searchEnterFun
(
t
):
null
}},
model
:{
value
:
e
.
tagSearch
,
callback
:
function
(
t
){
e
.
tagSearch
=
t
},
expression
:
"tagSearch"
}}),
e
.
_v
(
" "
),
a
(
"el-button"
,{
staticClass
:
"fr m-l-8"
,
on
:{
click
:
function
(
t
){
e
.
toAddMyTagLib
(
"mult"
)}}},[
e
.
_v
(
"添加至我的标签库"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
staticClass
:
"fr"
,
on
:{
click
:
e
.
showCateDialog
}},[
e
.
_v
(
"分类设置"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
staticClass
:
"fr"
,
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
toManualTagEdit
}},[
e
.
_v
(
"新增标签"
)])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"common-wrap__table m-t-20"
},[
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tagTableData
,
"tooltip-effect"
:
"dark"
},
on
:{
"selection-change"
:
e
.
handleSelectChange
}},[
a
(
"el-table-column"
,{
attrs
:{
type
:
"selection"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"tagName"
,
label
:
"标签名称"
,
"show-overflow-tooltip"
:
""
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"tagDescribe"
,
label
:
"标签描述"
,
"show-overflow-tooltip"
:
""
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"是否实时"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
1
==
t
.
row
.
isActive
?
"实时"
:
"非实时"
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
width
:
"320"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"router-link"
,{
staticClass
:
"edit-btn el-button--text"
,
attrs
:{
to
:{
path
:
"/manualTagDetail"
,
query
:{
tagId
:
t
.
row
.
tagId
,
addFlag
:
t
.
row
.
isAdd
,
form
:
"notMyTag"
,
navSign
:
"manualTag"
}}}},[
e
.
_v
(
"详情"
)]),
e
.
_v
(
" "
),
a
(
"router-link"
,{
staticClass
:
"edit-btn el-button--text p-l-10"
,
attrs
:{
to
:{
path
:
"/manualTagEdit"
,
query
:{
tagId
:
t
.
row
.
tagId
}}}},[
e
.
_v
(
"编辑"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
staticClass
:
"p-l-10"
,
attrs
:{
slot
:
"reference"
,
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
toDelTag
(
t
.
$index
,
t
.
row
)}},
slot
:
"reference"
},[
e
.
_v
(
"
\
n 删除
\
n "
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
,
disabled
:
1
==
t
.
row
.
isAdd
},
on
:{
click
:
function
(
a
){
e
.
toAddMyTagLib
(
"single"
,
t
.
row
.
tagId
)}}},[
e
.
_v
(
"
\
n "
+
e
.
_s
(
1
==
t
.
row
.
isAdd
?
"已"
:
""
)
+
"添加至我的标签库
\
n "
)])]}}])})],
1
)],
1
),
e
.
_v
(
" "
),
0
!=
e
.
tagTableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right"
},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
e
.
currentPage
,
"page-sizes"
:[
10
,
20
,
30
,
40
],
"page-size"
:
e
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
e
.
total
},
on
:{
"size-change"
:
e
.
handleSizeChange
,
"current-change"
:
e
.
handleCurrentChange
}})],
1
):
e
.
_e
()])]),
e
.
_v
(
" "
),
a
(
"vue-gic-footer"
),
e
.
_v
(
" "
),
a
(
"el-dialog"
,{
staticClass
:
"cate-dialog"
,
attrs
:{
title
:
"分类设置"
,
visible
:
e
.
cateTableVisible
,
width
:
"543px"
,
"before-close"
:
e
.
closeCateDialog
},
on
:{
"update:visible"
:
function
(
t
){
e
.
cateTableVisible
=
t
}}},[
a
(
"el-form"
,{
ref
:
"cateForm"
,
attrs
:{
model
:
e
.
cateForm
,
rules
:
e
.
rules
,
"label-width"
:
"80px"
,
"label-position"
:
"left"
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"二级分类"
,
prop
:
"cateTwo"
}},[
a
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
e
.
cateTwoChange
},
model
:{
value
:
e
.
cateForm
.
cateTwo
,
callback
:
function
(
t
){
e
.
$set
(
e
.
cateForm
,
"cateTwo"
,
t
)},
expression
:
"cateForm.cateTwo"
}},
e
.
_l
(
e
.
cateTwOptions
,
function
(
e
){
return
a
(
"el-option"
,{
key
:
e
.
tagLevelGroupId
,
attrs
:{
label
:
e
.
levelName
,
value
:
e
.
tagLevelGroupId
}})}))],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"三级分类"
,
prop
:
"cateThree"
}},[
a
(
"el-input"
,{
attrs
:{
"auto-complete"
:
"off"
,
placeholder
:
"请输入分类名称"
},
nativeOn
:{
keyup
:
function
(
t
){
return
a
=
t
,
e
.
toInput
(
a
);
var
a
}},
model
:{
value
:
e
.
cateForm
.
cateThree
,
callback
:
function
(
t
){
e
.
$set
(
e
.
cateForm
,
"cateThree"
,
t
)},
expression
:
"cateForm.cateThree"
}}),
e
.
_v
(
" "
),
a
(
"label"
,{
staticClass
:
"input-label"
},[
e
.
_v
(
e
.
_s
(
e
.
inputNum
)
+
"/"
+
e
.
_s
(
e
.
limitLength
))]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
t
){
e
.
toAddCate
(
"cateForm"
)}}},[
e
.
_v
(
"添加"
)])],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"el-table"
,{
attrs
:{
data
:
e
.
cateTableData
,
height
:
"275"
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"分类名称"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
editAble
?
""
:
t
.
row
.
levelName
)
+
"
\
n "
),
t
.
row
.
editAble
?
a
(
"el-input"
,{
staticClass
:
"h5-el-input"
,
attrs
:{
size
:
"small"
,
type
:
"text"
,
placeholder
:
"请输入分类名称"
},
nativeOn
:{
keyup
:
function
(
a
){
return
r
=
a
,
e
.
toEditInput
(
r
,
t
.
$index
,
t
.
row
);
var
r
}},
model
:{
value
:
t
.
row
.
inputValue
,
callback
:
function
(
a
){
e
.
$set
(
t
.
row
,
"inputValue"
,
a
)},
expression
:
"scope.row.inputValue"
}}):
e
.
_e
()]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
t
.
row
.
editAble
?
e
.
_e
():
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
,
disabled
:
!
t
.
row
.
enterpriseId
},
on
:{
click
:
function
(
a
){
e
.
toEditCate
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"编辑"
)]),
e
.
_v
(
" "
),
t
.
row
.
editAble
?
e
.
_e
():
a
(
"el-button"
,{
attrs
:{
slot
:
"reference"
,
type
:
"text"
,
size
:
"small"
,
disabled
:
!
t
.
row
.
enterpriseId
},
on
:{
click
:
function
(
a
){
e
.
toDelCate
(
t
.
$index
,
t
.
row
)}},
slot
:
"reference"
},[
e
.
_v
(
"删除"
)]),
e
.
_v
(
" "
),
t
.
row
.
editAble
?
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
a
.
stopPropagation
(),
e
.
confirmEdit
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"确认"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
t
.
row
.
editAble
?
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
a
.
stopPropagation
(),
e
.
cancleEdit
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"取消"
)]):
e
.
_e
()]}}])})],
1
)],
1
)],
1
)},
staticRenderFns
:[]};
var
h
=
a
(
"VU/8"
)(
g
,
d
,
!
1
,
function
(
e
){
a
(
"XXBq"
)},
"data-v-5b5aebaa"
,
null
);
t
.
default
=
h
.
exports
}});
\ No newline at end of file
webpackJsonp
([
15
],{
XXBq
:
function
(
e
,
t
){},
f0o3
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
r
=
a
(
"mvHQ"
),
o
=
a
.
n
(
r
),
n
=
a
(
"3Xzz"
),
i
=
a
(
"5QTb"
),
s
=
a
(
"Mk6G"
),
l
=
a
(
"3E4D"
),
c
=
a
(
"Ch4/"
),
u
=
(
a
(
"PI0u"
),
a
(
"P9l9"
)),
g
=
{
name
:
"manualTagList"
,
data
:
function
(){
return
{
navpath
:[{
name
:
"首页"
,
path
:
window
.
origin
+
"/report/#/memberSummary"
,
relocation
:
!
0
},{
name
:
"会员管理"
,
path
:
""
},{
name
:
"会员标签"
,
path
:
""
},{
name
:
"手工标签库"
,
path
:
"/manualTagLib"
},{
name
:
"手工标签列表"
,
path
:
""
}],
tagLibName
:
"manualTag"
,
tagSearch
:
""
,
tagTableData
:[],
selTagTableData
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
currentGroupId
:
0
,
cateTableVisible
:
!
1
,
inputNum
:
0
,
limitLength
:
10
,
cateForm
:{
cateTwo
:
""
,
cateThree
:
""
},
rules
:{
cateTwo
:[{
required
:
!
0
,
message
:
"请选择分类"
,
trigger
:
"blur"
}],
cateThree
:[{
required
:
!
0
,
message
:
"请输入分类名称"
,
trigger
:
"blur"
}]},
cateTwOptions
:[],
cateTableData
:[]}},
methods
:{
changeRoute
:
function
(
e
){
this
.
$router
.
push
(
e
)},
toAddMyTagLib
:
function
(
e
,
t
){
console
.
log
(
t
);
var
a
=
{};
if
(
"mult"
===
e
){
if
(
!
this
.
selTagTableData
.
length
)
return
this
.
$message
.
error
({
message
:
"请选择标签"
}),
!
1
;
a
.
tagIds
=
[],
this
.
selTagTableData
.
forEach
(
function
(
e
,
t
){
a
.
tagIds
.
push
(
e
.
tagId
)}),
console
.
log
(
a
),
a
.
tagIds
=
a
.
tagIds
.
join
(
","
),
this
.
addByTagId
(
"addByTagIds"
,
a
)}
else
a
.
tagId
=
t
,
this
.
addByTagId
(
"addByTagId"
,
a
)},
addByTagId
:
function
(
e
,
t
){
var
a
=
this
;
Object
(
u
.
a
)(
"/enterpriseMemberTag/"
+
e
,
t
).
then
(
function
(
e
){
var
t
=
e
.
data
;
if
(
1
==
t
.
errorCode
)
return
l
.
a
.
showmsg
(
"添加成功"
,
"success"
),
void
a
.
getTagList
();
c
.
a
.
errorMsg
(
t
)}).
catch
(
function
(
e
){
console
.
log
(
e
),
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
searchEnterFun
:
function
(
e
){
console
.
log
(
e
),
this
.
currentPage
=
1
,
this
.
getTagList
()},
clearSearch
:
function
(){
this
.
currentPage
=
1
,
this
.
getTagList
()},
handleSelectChange
:
function
(
e
){
this
.
selTagTableData
=
e
},
handleSizeChange
:
function
(
e
){
this
.
pageSize
=
e
,
this
.
getTagList
()},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
$route
.
fullPath
.
includes
(
"?"
)
&&
this
.
$router
.
push
(
this
.
$route
.
path
+
"?tagLevelGroupId="
+
this
.
$route
.
query
.
tagLevelGroupId
+
"¤tPage="
+
e
),
this
.
getTagList
()},
getTagList
:
function
(
e
){
var
t
=
this
,
a
=
{
tagName
:
t
.
tagSearch
,
tagLevelGroupId
:
t
.
currentGroupId
,
pageNum
:
t
.
currentPage
,
pageSize
:
t
.
pageSize
};
Object
(
u
.
a
)(
"/memberTag/handTagPageList"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
t
.
tagTableData
=
a
.
result
.
result
,
void
(
t
.
total
=
a
.
result
.
totalCount
);
c
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
console
.
log
(
e
),
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
cancelDelTag
:
function
(
e
,
t
){
t
.
popVisible
=!
1
},
toDelTag
:
function
(
e
,
t
){
var
a
=
this
;
a
.
$confirm
(
"删除标签后,符合该标签值的会员对应标签值将同步删除。一旦删除将无法恢复,确认要删除吗?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
postDelTag
(
e
,
t
)}).
catch
(
function
(){})},
postDelTag
:
function
(
e
,
t
){
var
a
=
this
,
r
=
{
tagId
:
t
.
tagId
};
Object
(
u
.
a
)(
"/memberTag/delHandMemberTag"
,
r
).
then
(
function
(
t
){
var
r
=
t
.
data
;
if
(
1
==
r
.
errorCode
)
return
a
.
tagTableData
.
splice
(
e
,
1
),
void
l
.
a
.
showmsg
(
"删除成功"
,
"success"
);
100005
!=
r
.
errorCode
?
c
.
a
.
errorMsg
(
r
):
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
"该标签正在被会员分组使用,无法删除!"
})}).
catch
(
function
(
e
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
toManualTagEdit
:
function
(){
this
.
changeRoute
(
"/manualTagEdit"
)},
isRepeat
:
function
(
e
){
var
t
=
{};
for
(
var
a
in
e
){
if
(
t
[
e
[
a
]])
return
!
0
;
t
[
e
[
a
]]
=!
0
}
return
!
1
},
showCateDialog
:
function
(){
this
.
cateTableVisible
=!
0
,
this
.
getTWoLevel
()},
cateTwoChange
:
function
(
e
){
this
.
cateForm
.
cateThree
=
""
,
this
.
inputNum
=
0
,
this
.
getThreeLevel
(
e
)},
toAddCate
:
function
(
e
){
var
t
=
this
;
t
.
$refs
[
e
].
validate
(
function
(
e
){
if
(
!
e
)
return
!
1
;
t
.
cateForm
.
levelName
=
t
.
cateForm
.
cateThree
,
t
.
cateForm
.
editAble
=!
1
,
t
.
cateForm
.
inputValue
=
""
;
var
a
=
JSON
.
parse
(
o
()(
t
.
cateTableData
));
a
.
push
(
JSON
.
parse
(
o
()(
t
.
cateForm
)));
var
r
=
a
.
map
(
function
(
e
){
return
e
.
levelName
});
if
(
t
.
isRepeat
(
r
))
return
a
.
splice
(
t
.
cateTableData
.
length
-
1
,
1
),
void
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
"名称不能重复"
});
t
.
postAdd
()})},
postAdd
:
function
(){
var
e
=
this
,
t
=
{
parentLevelGroupId
:
e
.
cateForm
.
cateTwo
,
levelName
:
e
.
cateForm
.
cateThree
};
Object
(
u
.
a
)(
"/tagLevel/addHand"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
e
.
$refs
.
tagCategoryCom
.
refreshData
(),
l
.
a
.
showmsg
(
"添加成功"
,
"success"
),
void
e
.
getThreeLevel
(
e
.
cateForm
.
cateTwo
);
c
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
toEditCate
:
function
(
e
,
t
){
t
.
editAble
=!
0
,
t
.
inputValue
=
t
.
levelName
},
toDelCate
:
function
(
e
,
t
){
var
a
=
this
;
a
.
$confirm
(
"删除分类后,该分类下所有标签进入未分类,确认要删除吗?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
postDel
(
e
,
t
)}).
catch
(
function
(){})},
postDel
:
function
(
e
,
t
){
var
a
=
this
,
r
=
{
tagLevelGroupId
:
t
.
tagLevelGroupId
};
Object
(
u
.
a
)(
"/tagLevel/delHand"
,
r
).
then
(
function
(
t
){
var
r
=
t
.
data
;
if
(
1
==
r
.
errorCode
)
return
a
.
cateTableData
.
splice
(
e
,
1
),
a
.
$refs
.
tagCategoryCom
.
refreshData
(),
void
l
.
a
.
showmsg
(
"删除成功"
,
"success"
);
200001
!=
r
.
errorCode
?
c
.
a
.
errorMsg
(
r
):
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
"该标签被会员分组使用,无法删除!"
})}).
catch
(
function
(
e
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
confirmEdit
:
function
(
e
,
t
){
if
(
!
t
.
inputValue
.
trim
())
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请输入分类名称"
}),
!
1
;
var
a
=
JSON
.
parse
(
o
()(
this
.
cateTableData
));
a
[
e
].
levelName
=
t
.
inputValue
;
var
r
=
a
.
map
(
function
(
e
){
return
e
.
levelName
});
this
.
isRepeat
(
r
)?
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"名称不能重复"
}):
this
.
postEdit
(
t
)},
postEdit
:
function
(
e
){
var
t
=
this
,
a
=
{
tagLevelGroupId
:
e
.
tagLevelGroupId
,
levelName
:
e
.
inputValue
};
Object
(
u
.
a
)(
"/tagLevel/editHand"
,
a
).
then
(
function
(
a
){
var
r
=
a
.
data
;
if
(
1
==
r
.
errorCode
)
return
e
.
levelName
=
e
.
inputValue
,
e
.
editAble
=!
1
,
t
.
$refs
.
tagCategoryCom
.
refreshData
(),
void
l
.
a
.
showmsg
(
"保存成功"
,
"success"
);
c
.
a
.
errorMsg
(
r
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
cancleEdit
:
function
(
e
,
t
){
t
.
editAble
=!
1
},
toInput
:
function
(
e
){
var
t
=
""
;
t
=
s
.
a
.
getByteVal
(
e
.
target
.
value
,
this
.
limitLength
),
this
.
cateForm
.
cateThree
=
t
.
trim
(),
this
.
inputNum
=
s
.
a
.
getZhLen
(
t
.
trim
())},
toEditInput
:
function
(
e
,
t
,
a
){
var
r
=
""
;
r
=
s
.
a
.
getByteVal
(
e
.
target
.
value
,
this
.
limitLength
),
a
.
inputValue
=
r
.
trim
()},
closeCateDialog
:
function
(){
this
.
cateTableVisible
=!
1
,
this
.
cateForm
.
cateTwo
=
""
,
this
.
cateForm
.
cateThree
=
""
,
this
.
cateTableData
=
[],
this
.
inputNum
=
0
},
cancelDialog
:
function
(){
this
.
closeCateDialog
()},
confirmDialog
:
function
(){
this
.
closeCateDialog
()},
getTWoLevel
:
function
(){
var
e
=
this
;
Object
(
u
.
a
)(
"/tagLevel/handSecondLevel"
,{}).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
e
.
cateTwOptions
=
a
.
result
,
e
.
cateForm
.
cateTwo
=
e
.
cateTwOptions
[
0
].
tagLevelGroupId
,
void
e
.
getThreeLevel
(
e
.
cateForm
.
cateTwo
);
c
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getThreeLevel
:
function
(
e
){
var
t
=
this
,
a
=
{
tagLevelGroupId
:
e
};
t
.
cateTableData
=
[],
Object
(
u
.
a
)(
"/tagLevel/handThirdLevel"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
a
.
result
.
forEach
(
function
(
e
,
t
){
e
.
inputValue
=
""
,
e
.
editAble
=!
1
}),
void
(
t
.
cateTableData
=
a
.
result
);
c
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getUrlParams
:
function
(){
this
.
tagSearch
=
this
.
$route
.
query
.
searchName
?
this
.
$route
.
query
.
searchName
:
""
,
this
.
currentGroupId
=
this
.
$route
.
query
.
tagLevelGroupId
?
this
.
$route
.
query
.
tagLevelGroupId
:
0
,
this
.
currentPage
=
this
.
$route
.
query
.
currentPage
?
parseInt
(
this
.
$route
.
query
.
currentPage
):
1
,
document
.
getElementById
(
"app"
).
style
.
zIndex
=
"auto"
,
this
.
getTagList
()}},
watch
:{
$route
:{
handler
:
function
(
e
,
t
){
this
.
getUrlParams
()},
deep
:
!
0
}},
mounted
:
function
(){
this
.
getUrlParams
()},
components
:{
navCrumb
:
n
.
a
,
tagCategory
:
i
.
a
}},
d
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"manualTagList-wrap common-wrap"
},[
a
(
"nav-crumb"
,{
attrs
:{
navpath
:
e
.
navpath
}}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"right-content"
},[
a
(
"div"
,{
staticClass
:
"right-box"
},[
a
(
"div"
,{
staticClass
:
"common-wrap__cateTags"
},[
a
(
"tag-category"
,{
ref
:
"tagCategoryCom"
,
attrs
:{
tagLibName
:
e
.
tagLibName
}})],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"common-wrap__opt"
},[
a
(
"el-input"
,{
staticClass
:
"w-184"
,
attrs
:{
placeholder
:
"搜索标签"
,
"prefix-icon"
:
"el-icon-search"
,
clearable
:
""
},
on
:{
clear
:
e
.
clearSearch
},
nativeOn
:{
keyup
:
function
(
t
){
return
"button"
in
t
||!
e
.
_k
(
t
.
keyCode
,
"enter"
,
13
,
t
.
key
,
"Enter"
)?
e
.
searchEnterFun
(
t
):
null
}},
model
:{
value
:
e
.
tagSearch
,
callback
:
function
(
t
){
e
.
tagSearch
=
t
},
expression
:
"tagSearch"
}}),
e
.
_v
(
" "
),
a
(
"el-button"
,{
staticClass
:
"fr m-l-8"
,
on
:{
click
:
function
(
t
){
e
.
toAddMyTagLib
(
"mult"
)}}},[
e
.
_v
(
"添加至我的标签库"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
staticClass
:
"fr"
,
on
:{
click
:
e
.
showCateDialog
}},[
e
.
_v
(
"分类设置"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
staticClass
:
"fr"
,
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
toManualTagEdit
}},[
e
.
_v
(
"新增标签"
)])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"common-wrap__table m-t-20"
},[
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tagTableData
,
"tooltip-effect"
:
"dark"
},
on
:{
"selection-change"
:
e
.
handleSelectChange
}},[
a
(
"el-table-column"
,{
attrs
:{
type
:
"selection"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"tagName"
,
label
:
"标签名称"
,
"show-overflow-tooltip"
:
""
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"tagDescribe"
,
label
:
"标签描述"
,
"show-overflow-tooltip"
:
""
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"是否实时"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
1
==
t
.
row
.
isActive
?
"实时"
:
"非实时"
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
width
:
"320"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"router-link"
,{
staticClass
:
"edit-btn el-button--text"
,
attrs
:{
to
:{
path
:
"/manualTagDetail"
,
query
:{
tagId
:
t
.
row
.
tagId
,
addFlag
:
t
.
row
.
isAdd
,
form
:
"notMyTag"
,
navSign
:
"manualTag"
}}}},[
e
.
_v
(
"详情"
)]),
e
.
_v
(
" "
),
a
(
"router-link"
,{
staticClass
:
"edit-btn el-button--text p-l-10"
,
attrs
:{
to
:{
path
:
"/manualTagEdit"
,
query
:{
tagId
:
t
.
row
.
tagId
}}}},[
e
.
_v
(
"编辑"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
staticClass
:
"p-l-10"
,
attrs
:{
slot
:
"reference"
,
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
toDelTag
(
t
.
$index
,
t
.
row
)}},
slot
:
"reference"
},[
e
.
_v
(
"
\
n 删除
\
n "
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
,
disabled
:
1
==
t
.
row
.
isAdd
},
on
:{
click
:
function
(
a
){
e
.
toAddMyTagLib
(
"single"
,
t
.
row
.
tagId
)}}},[
e
.
_v
(
"
\
n "
+
e
.
_s
(
1
==
t
.
row
.
isAdd
?
"已"
:
""
)
+
"添加至我的标签库
\
n "
)])]}}])})],
1
)],
1
),
e
.
_v
(
" "
),
0
!=
e
.
tagTableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right"
},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
e
.
currentPage
,
"page-sizes"
:[
10
,
20
,
30
,
40
],
"page-size"
:
e
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
e
.
total
},
on
:{
"size-change"
:
e
.
handleSizeChange
,
"current-change"
:
e
.
handleCurrentChange
}})],
1
):
e
.
_e
()])]),
e
.
_v
(
" "
),
a
(
"vue-gic-footer"
),
e
.
_v
(
" "
),
a
(
"el-dialog"
,{
staticClass
:
"cate-dialog"
,
attrs
:{
title
:
"分类设置"
,
visible
:
e
.
cateTableVisible
,
width
:
"543px"
,
"before-close"
:
e
.
closeCateDialog
},
on
:{
"update:visible"
:
function
(
t
){
e
.
cateTableVisible
=
t
}}},[
a
(
"el-form"
,{
ref
:
"cateForm"
,
attrs
:{
model
:
e
.
cateForm
,
rules
:
e
.
rules
,
"label-width"
:
"80px"
,
"label-position"
:
"left"
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"二级分类"
,
prop
:
"cateTwo"
}},[
a
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
e
.
cateTwoChange
},
model
:{
value
:
e
.
cateForm
.
cateTwo
,
callback
:
function
(
t
){
e
.
$set
(
e
.
cateForm
,
"cateTwo"
,
t
)},
expression
:
"cateForm.cateTwo"
}},
e
.
_l
(
e
.
cateTwOptions
,
function
(
e
){
return
a
(
"el-option"
,{
key
:
e
.
tagLevelGroupId
,
attrs
:{
label
:
e
.
levelName
,
value
:
e
.
tagLevelGroupId
}})}))],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"三级分类"
,
prop
:
"cateThree"
}},[
a
(
"el-input"
,{
attrs
:{
"auto-complete"
:
"off"
,
placeholder
:
"请输入分类名称"
},
nativeOn
:{
keyup
:
function
(
t
){
return
a
=
t
,
e
.
toInput
(
a
);
var
a
}},
model
:{
value
:
e
.
cateForm
.
cateThree
,
callback
:
function
(
t
){
e
.
$set
(
e
.
cateForm
,
"cateThree"
,
t
)},
expression
:
"cateForm.cateThree"
}}),
e
.
_v
(
" "
),
a
(
"label"
,{
staticClass
:
"input-label"
},[
e
.
_v
(
e
.
_s
(
e
.
inputNum
)
+
"/"
+
e
.
_s
(
e
.
limitLength
))]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
t
){
e
.
toAddCate
(
"cateForm"
)}}},[
e
.
_v
(
"添加"
)])],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"el-table"
,{
attrs
:{
data
:
e
.
cateTableData
,
height
:
"275"
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"分类名称"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
editAble
?
""
:
t
.
row
.
levelName
)
+
"
\
n "
),
t
.
row
.
editAble
?
a
(
"el-input"
,{
staticClass
:
"h5-el-input"
,
attrs
:{
size
:
"small"
,
type
:
"text"
,
placeholder
:
"请输入分类名称"
},
nativeOn
:{
keyup
:
function
(
a
){
return
r
=
a
,
e
.
toEditInput
(
r
,
t
.
$index
,
t
.
row
);
var
r
}},
model
:{
value
:
t
.
row
.
inputValue
,
callback
:
function
(
a
){
e
.
$set
(
t
.
row
,
"inputValue"
,
a
)},
expression
:
"scope.row.inputValue"
}}):
e
.
_e
()]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
t
.
row
.
editAble
?
e
.
_e
():
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
,
disabled
:
!
t
.
row
.
enterpriseId
},
on
:{
click
:
function
(
a
){
e
.
toEditCate
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"编辑"
)]),
e
.
_v
(
" "
),
t
.
row
.
editAble
?
e
.
_e
():
a
(
"el-button"
,{
attrs
:{
slot
:
"reference"
,
type
:
"text"
,
size
:
"small"
,
disabled
:
!
t
.
row
.
enterpriseId
},
on
:{
click
:
function
(
a
){
e
.
toDelCate
(
t
.
$index
,
t
.
row
)}},
slot
:
"reference"
},[
e
.
_v
(
"删除"
)]),
e
.
_v
(
" "
),
t
.
row
.
editAble
?
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
a
.
stopPropagation
(),
e
.
confirmEdit
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"确认"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
t
.
row
.
editAble
?
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
a
.
stopPropagation
(),
e
.
cancleEdit
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"取消"
)]):
e
.
_e
()]}}])})],
1
)],
1
)],
1
)},
staticRenderFns
:[]};
var
h
=
a
(
"VU/8"
)(
g
,
d
,
!
1
,
function
(
e
){
a
(
"XXBq"
)},
"data-v-5b5aebaa"
,
null
);
t
.
default
=
h
.
exports
}});
\ No newline at end of file
dist/static/js/1
5.eb2458777a32ff9d6509
.js
→
dist/static/js/1
6.fec0731264e2f0dafda4
.js
View file @
48b3200f
webpackJsonp
([
15
],{
"/8lq"
:
function
(
e
,
l
,
t
){
"use strict"
;
Object
.
defineProperty
(
l
,
"__esModule"
,{
value
:
!
0
});
var
a
=
t
(
"GXH0"
),
s
=
{
name
:
"links"
,
props
:[
"linkToolsVisible"
],
data
:
function
(){
return
{
twoLevelVisible
:
!
0
,
threeLevelVisible
:
!
0
,
linksType
:
""
,
linksTypeOptions
:[{
id
:
"1"
,
value
:
"shoplink"
,
label
:
"商城链接"
},{
id
:
"2"
,
value
:
"memberlink"
,
label
:
"会员功能链接"
},{
id
:
"3"
,
value
:
"definelink"
,
label
:
"自定义页面"
},{
id
:
"4"
,
value
:
"h5link"
,
label
:
"H5页面"
},{
id
:
"5"
,
value
:
"otherlink"
,
label
:
"其他小程序"
}],
twoLevelValue
:
""
,
twoLevelOptions
:[{
id
:
"1"
,
value
:
"shoplink"
,
label
:
"商城链接"
}],
threeLevelValue
:
""
,
threeLevelOptions
:[{
id
:
"1"
,
value
:
"shoplink"
,
label
:
"商城链接"
}],
h5linkVisible
:
!
1
,
h5linkObj
:{
name
:
""
,
url
:
""
,
fixParam
:
""
,
dynamicPara
:
""
,
dynamicParaOptions
:[]},
activeName
:
"first"
,
mylinkToolsVisible
:
this
.
linkToolsVisible
,
selectType
:
1
,
searchGoods
:
""
,
category
:
null
,
categoryOptions
:[{
key
:
"a"
,
name
:
"a"
,
subOptions
:[{
key
:
"aa"
,
name
:
"aa"
}]}],
normalizer
:
function
(
e
){
return
{
id
:
e
.
key
,
label
:
e
.
name
,
children
:
e
.
subOptions
}},
goodsList
:[{
id
:
"111"
,
name
:
"美商海盗船Gaming系列 K70 RGB Rapidfire"
,
goodsNum
:
"errerr"
,
src
:
"https://pic01-10001430.image.myqcloud.com/adb6387e-a3f4-4b7f-a7dd-1b7fe242f9f7"
,
price
:
567
},{
id
:
"112"
,
name
:
"美商海盗船Gaming系列 K70 RGB Rapidfire"
,
goodsNum
:
"errerr"
,
src
:
"https://pic01-10001430.image.myqcloud.com/adb6387e-a3f4-4b7f-a7dd-1b7fe242f9f7"
,
price
:
567
},{
id
:
"113"
,
name
:
"美商海盗船Gaming系列 K70 RGB Rapidfire"
,
goodsNum
:
"errerr"
,
src
:
"https://pic01-10001430.image.myqcloud.com/adb6387e-a3f4-4b7f-a7dd-1b7fe242f9f7"
,
price
:
567
},{
id
:
"112"
,
name
:
"美商海盗船Gaming系列 K70 RGB Rapidfire"
,
goodsNum
:
"errerr"
,
src
:
"https://pic01-10001430.image.myqcloud.com/adb6387e-a3f4-4b7f-a7dd-1b7fe242f9f7"
,
price
:
567
},{
id
:
"113"
,
name
:
"美商海盗船Gaming系列 K70 RGB Rapidfire"
,
goodsNum
:
"errerr"
,
src
:
"https://pic01-10001430.image.myqcloud.com/adb6387e-a3f4-4b7f-a7dd-1b7fe242f9f7"
,
price
:
567
}],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
classify
:
null
,
classifyOptions
:[{
key
:
"b"
,
name
:
"b"
,
subOptions
:[{
key
:
"bb"
,
name
:
"bb"
}]}],
goodsCategory
:
null
,
goodsCategoryOptions
:[{
key
:
"a"
,
name
:
"a"
,
subOptions
:[{
key
:
"aa"
,
name
:
"aa"
},{
key
:
"a1"
,
name
:
"a1"
},{
key
:
"a2"
,
name
:
"a2"
}]}],
mainFunctionPage
:[{
label
:
"一级 1"
,
children
:[{
label
:
"二级 1-1"
,
children
:[{
label
:
"三级 1-1-1"
}]}]},{
label
:
"一级 2"
,
children
:[{
label
:
"二级 2-1"
,
children
:[{
label
:
"三级 2-1-1"
}]},{
label
:
"二级 2-2"
,
children
:[{
label
:
"三级 2-2-1"
}]}]}],
defaultMainPageProps
:{
children
:
"children"
,
label
:
"label"
},
definePageList
:[{
id
:
"111"
,
name
:
"测试1"
,
src
:
""
},{
id
:
"112"
,
name
:
"测试2"
,
src
:
""
},{
id
:
"113"
,
name
:
"测试3"
,
src
:
""
},{
id
:
"114"
,
name
:
"测试4"
,
src
:
""
},{
id
:
"115"
,
name
:
"测试5"
,
src
:
""
},{
id
:
"116"
,
name
:
"测试6"
,
src
:
""
},{
id
:
"117"
,
name
:
"测试7"
,
src
:
""
},{
id
:
"118"
,
name
:
"测试8"
,
src
:
""
},{
id
:
"119"
,
name
:
"测试9"
,
src
:
""
}]}},
methods
:{
linksTypeChange
:
function
(
e
){},
twoLevelValueChange
:
function
(
e
){},
threeLevelValueChange
:
function
(
e
){},
cancelLinkSelect
:
function
(){
var
e
=
this
;
e
.
$confirm
(
"确认关闭?"
,
""
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
""
}).
then
(
function
(){
console
.
log
(
"点起确认"
),
e
.
$emit
(
"linkSelect"
)}).
catch
(
function
(){
console
.
log
(
"取消 取消关闭"
)})},
confirmLinkSelect
:
function
(){
console
.
log
(
this
.
linksType
,
this
.
twoLevelValue
,
this
.
threeLevelValue
),
this
.
$emit
(
"linkSelect"
)},
handleClick
:
function
(
e
,
l
){
console
.
log
(
e
,
l
);
switch
(
this
.
activeName
){
case
"first"
:
this
.
selectType
=
1
;
break
;
case
"second"
:
this
.
selectType
=
2
;
break
;
case
"third"
:
case
"fourth"
:
this
.
selectType
=
3
}
console
.
log
(
this
.
selectType
)},
categorySelect
:
function
(
e
,
l
){
console
.
log
(
e
,
l
),
this
.
getGoodsList
()},
classifySelect
:
function
(
e
,
l
){
console
.
log
(
e
,
l
),
this
.
getGoodsList
()},
goodsCategorySelect
:
function
(
e
,
l
){
console
.
log
(
e
,
l
),
this
.
selectLinkItem
()},
handleClose
:
function
(
e
){
var
l
=
this
,
t
=
this
;
t
.
$confirm
(
"确认关闭?"
).
then
(
function
(
a
){
e
(),
t
.
mylinkToolsVisible
=!
1
,
console
.
log
(
l
.
mylinkToolsVisible
),
t
.
$emit
(
"linkSelect"
)}).
catch
(
function
(
e
){})},
linkSizeChange
:
function
(
e
){
console
.
log
(
"每页 "
+
e
+
" 条"
,
this
.
pageSize
),
this
.
pageSize
=
e
},
linkCurrentChange
:
function
(
e
){
console
.
log
(
"当前页: "
+
e
,
this
.
currentPage
),
this
.
currentPage
=
e
},
selectLinkItem
:
function
(
e
){
var
l
=
this
;
console
.
log
(
e
);
var
t
=
null
;
switch
(
this
.
selectType
){
case
1
:
t
=
"商品"
;
break
;
case
2
:
t
=
"分类"
;
break
;
case
3
:
case
4
:
t
=
"页面"
}
console
.
log
(
this
.
selectType
,
t
),
this
.
$confirm
(
"确认选择"
+
t
,
""
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
""
}).
then
(
function
(){
l
.
$message
({
type
:
"success"
,
message
:
"确定"
})}).
catch
(
function
(){})},
toSearchInput
:
function
(
e
){
console
.
log
(
this
.
searchGoods
,
e
),
1
==
this
.
currentPage
?
this
.
getGoodsList
():
this
.
currentPage
=
1
},
clearInput
:
function
(
e
){
console
.
log
(
e
,
this
.
searchGoods
),
1
==
this
.
currentPage
?
this
.
getGoodsList
():
this
.
currentPage
=
1
},
getGoodsList
:
function
(){},
mainPageNodeClick
:
function
(
e
){
console
.
log
(
e
),
this
.
selectLinkItem
()},
definePageClick
:
function
(
e
){
console
.
log
(
e
),
this
.
selectLinkItem
()}},
watch
:{
linkToolsVisible
:
function
(
e
){
console
.
log
(
e
),
this
.
mylinkToolsVisible
=
e
}},
mounted
:
function
(){
console
.
log
(
"00000"
)},
components
:{
Treeselect
:
t
.
n
(
a
).
a
}},
i
=
{
render
:
function
(){
var
e
=
this
,
l
=
e
.
$createElement
,
t
=
e
.
_self
.
_c
||
l
;
return
t
(
"div"
,{
staticClass
:
"link-tools-contain"
},[
t
(
"el-dialog"
,{
class
:
"first"
==
e
.
activeName
?
"min-1051"
:
"min-720"
,
attrs
:{
title
:
"链接小工具"
,
visible
:
e
.
mylinkToolsVisible
,
"before-close"
:
e
.
handleClose
},
on
:{
"update:visible"
:
function
(
l
){
e
.
mylinkToolsVisible
=
l
}}},[
t
(
"div"
,{
staticClass
:
"links-types"
},[
t
(
"label"
,{
staticClass
:
"types-title"
},[
e
.
_v
(
"链接类型:"
)]),
e
.
_v
(
" "
),
t
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
e
.
linksTypeChange
},
model
:{
value
:
e
.
linksType
,
callback
:
function
(
l
){
e
.
linksType
=
l
},
expression
:
"linksType"
}},
e
.
_l
(
e
.
linksTypeOptions
,
function
(
e
){
return
t
(
"el-option"
,{
key
:
e
.
value
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})})),
e
.
_v
(
" "
),
e
.
twoLevelVisible
?
t
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
e
.
twoLevelValueChange
},
model
:{
value
:
e
.
twoLevelValue
,
callback
:
function
(
l
){
e
.
twoLevelValue
=
l
},
expression
:
"twoLevelValue"
}},
e
.
_l
(
e
.
twoLevelOptions
,
function
(
e
){
return
t
(
"el-option"
,{
key
:
e
.
value
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})})):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
threeLevelVisible
?
t
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
e
.
threeLevelValueChange
},
model
:{
value
:
e
.
threeLevelValue
,
callback
:
function
(
l
){
e
.
threeLevelValue
=
l
},
expression
:
"threeLevelValue"
}},
e
.
_l
(
e
.
threeLevelOptions
,
function
(
e
){
return
t
(
"el-option"
,{
key
:
e
.
value
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})})):
e
.
_e
(),
e
.
_v
(
" "
),
t
(
"div"
,{
staticClass
:
"goods-category"
},[
t
(
"treeselect"
,{
attrs
:{
options
:
e
.
goodsCategoryOptions
,
normalizer
:
e
.
normalizer
,
"default-expand-level"
:
1
,
placeholder
:
"所有品类"
,
noOptionsText
:
"暂无数据"
,
noResultsText
:
"无数据"
},
on
:{
select
:
e
.
goodsCategorySelect
},
model
:{
value
:
e
.
goodsCategory
,
callback
:
function
(
l
){
e
.
goodsCategory
=
l
},
expression
:
"goodsCategory"
}})],
1
)],
1
),
e
.
_v
(
" "
),
e
.
h5linkVisible
?
t
(
"div"
,{
staticClass
:
"h5link-contain"
},[
t
(
"div"
,{
staticClass
:
"h5link-row"
},[
t
(
"label"
,{
staticClass
:
"h5link-title"
},[
e
.
_v
(
"名字:"
)]),
e
.
_v
(
" "
),
t
(
"el-input"
,{
attrs
:{
placeholder
:
"请输入网址"
},
model
:{
value
:
e
.
h5linkObj
.
name
,
callback
:
function
(
l
){
e
.
$set
(
e
.
h5linkObj
,
"name"
,
l
)},
expression
:
"h5linkObj.name"
}})],
1
),
e
.
_v
(
" "
),
t
(
"div"
,{
staticClass
:
"h5link-row"
},[
t
(
"label"
,{
staticClass
:
"h5link-title"
},[
e
.
_v
(
"网址:"
)]),
e
.
_v
(
" "
),
t
(
"el-input"
,{
attrs
:{
placeholder
:
"请输入网址"
},
model
:{
value
:
e
.
h5linkObj
.
url
,
callback
:
function
(
l
){
e
.
$set
(
e
.
h5linkObj
,
"url"
,
l
)},
expression
:
"h5linkObj.url"
}})],
1
),
e
.
_v
(
" "
),
t
(
"div"
,{
staticClass
:
"h5link-row"
},[
t
(
"label"
,{
staticClass
:
"h5link-title"
},[
e
.
_v
(
"固定参数:"
)]),
e
.
_v
(
" "
),
t
(
"el-input"
,{
attrs
:{
type
:
"textarea"
,
resize
:
"none"
,
rows
:
4
,
placeholder
:
"请输入固定参数(可选)"
},
model
:{
value
:
e
.
h5linkObj
.
fixParam
,
callback
:
function
(
l
){
e
.
$set
(
e
.
h5linkObj
,
"fixParam"
,
l
)},
expression
:
"h5linkObj.fixParam"
}})],
1
),
e
.
_v
(
" "
),
t
(
"div"
,{
staticClass
:
"h5link-row"
},[
t
(
"label"
,{
staticClass
:
"h5link-title"
},[
e
.
_v
(
"动态参数:"
)]),
e
.
_v
(
" "
),
t
(
"el-select"
,{
attrs
:{
multiple
:
""
,
placeholder
:
"请选择"
},
model
:{
value
:
e
.
h5linkObj
.
dynamicPara
,
callback
:
function
(
l
){
e
.
$set
(
e
.
h5linkObj
,
"dynamicPara"
,
l
)},
expression
:
"h5linkObj.dynamicPara"
}},
e
.
_l
(
e
.
dynamicParaOptions
,
function
(
e
){
return
t
(
"el-option"
,{
key
:
e
.
value
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})}))],
1
)]):
e
.
_e
(),
e
.
_v
(
" "
),
t
(
"div"
,{
staticClass
:
"goods-links-contian"
},[
t
(
"div"
,{
staticClass
:
"links-tools-row"
},[
t
(
"treeselect"
,{
attrs
:{
value
:
e
.
category
,
options
:
e
.
categoryOptions
,
normalizer
:
e
.
normalizer
,
"default-expand-level"
:
1
,
placeholder
:
"所有品类"
,
noOptionsText
:
"暂无数据"
,
noResultsText
:
"无数据"
},
on
:{
select
:
e
.
categorySelect
}}),
e
.
_v
(
" "
),
t
(
"treeselect"
,{
attrs
:{
options
:
e
.
classifyOptions
,
normalizer
:
e
.
normalizer
,
"default-expand-level"
:
1
,
placeholder
:
"所有分类"
,
noOptionsText
:
"暂无数据"
,
noResultsText
:
"无数据"
},
on
:{
select
:
e
.
classifySelect
},
model
:{
value
:
e
.
classify
,
callback
:
function
(
l
){
e
.
classify
=
l
},
expression
:
"classify"
}}),
e
.
_v
(
" "
),
t
(
"el-input"
,{
staticClass
:
"links-tools-input"
,
attrs
:{
placeholder
:
"请输入商品名称/货号"
,
clearable
:
""
},
on
:{
clear
:
e
.
clearInput
},
nativeOn
:{
keyup
:
function
(
l
){
return
t
=
l
,
e
.
toSearchInput
(
t
);
var
t
}},
model
:{
value
:
e
.
searchGoods
,
callback
:
function
(
l
){
e
.
searchGoods
=
l
},
expression
:
"searchGoods"
}},[
t
(
"i"
,{
staticClass
:
"el-input__icon el-icon-search"
,
attrs
:{
slot
:
"prefix"
},
slot
:
"prefix"
})])],
1
),
e
.
_v
(
" "
),
t
(
"div"
,{
staticClass
:
"goods-link-content"
},[
t
(
"ul"
,{
staticClass
:
"goods-link-list"
},
e
.
_l
(
e
.
goodsList
,
function
(
l
,
a
){
return
t
(
"li"
,{
key
:
l
.
name
+
a
,
staticClass
:
"goods-link-item"
,
on
:{
click
:
function
(
t
){
e
.
selectLinkItem
(
l
)}}},[
t
(
"img"
,{
attrs
:{
src
:
l
.
src
,
alt
:
"商品图片"
}}),
e
.
_v
(
" "
),
t
(
"div"
,{
staticClass
:
"inline-block goods-message"
},[
t
(
"p"
,{
staticClass
:
"limit-2"
},[
e
.
_v
(
e
.
_s
(
l
.
name
))]),
e
.
_v
(
" "
),
t
(
"p"
,{
staticClass
:
"gray-color"
},[
e
.
_v
(
"货号:"
+
e
.
_s
(
l
.
goodsNum
))]),
e
.
_v
(
" "
),
t
(
"span"
,[
e
.
_v
(
"¥"
+
e
.
_s
(
l
.
price
))])])])}))]),
e
.
_v
(
" "
),
t
(
"div"
,{
staticClass
:
"links-tools-page"
},[
t
(
"el-pagination"
,{
attrs
:{
"current-page"
:
e
.
currentPage
,
"page-sizes"
:[
20
,
30
,
40
,
50
],
"page-size"
:
e
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
e
.
total
},
on
:{
"size-change"
:
e
.
linkSizeChange
,
"current-change"
:
e
.
linkCurrentChange
}})],
1
)]),
e
.
_v
(
" "
),
t
(
"el-tabs"
,{
on
:{
"tab-click"
:
e
.
handleClick
},
model
:{
value
:
e
.
activeName
,
callback
:
function
(
l
){
e
.
activeName
=
l
},
expression
:
"activeName"
}},[
t
(
"el-tab-pane"
,{
attrs
:{
label
:
"商品链接"
,
name
:
"first"
}},[
t
(
"div"
,{
staticClass
:
"links-tools-row"
},[
t
(
"treeselect"
,{
attrs
:{
value
:
e
.
category
,
options
:
e
.
categoryOptions
,
normalizer
:
e
.
normalizer
,
"default-expand-level"
:
1
,
placeholder
:
"所有品类"
,
noOptionsText
:
"暂无数据"
,
noResultsText
:
"无数据"
},
on
:{
select
:
e
.
categorySelect
}}),
e
.
_v
(
" "
),
t
(
"treeselect"
,{
attrs
:{
options
:
e
.
classifyOptions
,
normalizer
:
e
.
normalizer
,
"default-expand-level"
:
1
,
placeholder
:
"所有分类"
,
noOptionsText
:
"暂无数据"
,
noResultsText
:
"无数据"
},
on
:{
select
:
e
.
classifySelect
},
model
:{
value
:
e
.
classify
,
callback
:
function
(
l
){
e
.
classify
=
l
},
expression
:
"classify"
}}),
e
.
_v
(
" "
),
t
(
"el-input"
,{
staticClass
:
"links-tools-input"
,
attrs
:{
placeholder
:
"请输入商品名称/货号"
,
clearable
:
""
},
on
:{
clear
:
e
.
clearInput
},
nativeOn
:{
keyup
:
function
(
l
){
return
t
=
l
,
e
.
toSearchInput
(
t
);
var
t
}},
model
:{
value
:
e
.
searchGoods
,
callback
:
function
(
l
){
e
.
searchGoods
=
l
},
expression
:
"searchGoods"
}},[
t
(
"i"
,{
staticClass
:
"el-input__icon el-icon-search"
,
attrs
:{
slot
:
"prefix"
},
slot
:
"prefix"
})])],
1
),
e
.
_v
(
" "
),
t
(
"div"
,{
staticClass
:
"goods-link-content"
},[
t
(
"ul"
,{
staticClass
:
"goods-link-list"
},
e
.
_l
(
e
.
goodsList
,
function
(
l
,
a
){
return
t
(
"li"
,{
key
:
l
.
name
+
a
,
staticClass
:
"goods-link-item"
,
on
:{
click
:
function
(
t
){
e
.
selectLinkItem
(
l
)}}},[
t
(
"img"
,{
attrs
:{
src
:
l
.
src
,
alt
:
"商品图片"
}}),
e
.
_v
(
" "
),
t
(
"div"
,{
staticClass
:
"inline-block goods-message"
},[
t
(
"p"
,{
staticClass
:
"limit-2"
},[
e
.
_v
(
e
.
_s
(
l
.
name
))]),
e
.
_v
(
" "
),
t
(
"p"
,{
staticClass
:
"gray-color"
},[
e
.
_v
(
"货号:"
+
e
.
_s
(
l
.
goodsNum
))]),
e
.
_v
(
" "
),
t
(
"span"
,[
e
.
_v
(
"¥"
+
e
.
_s
(
l
.
price
))])])])}))]),
e
.
_v
(
" "
),
t
(
"div"
,{
staticClass
:
"links-tools-page"
},[
t
(
"el-pagination"
,{
attrs
:{
"current-page"
:
e
.
currentPage
,
"page-sizes"
:[
20
,
30
,
40
,
50
],
"page-size"
:
e
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
e
.
total
},
on
:{
"size-change"
:
e
.
linkSizeChange
,
"current-change"
:
e
.
linkCurrentChange
}})],
1
)]),
e
.
_v
(
" "
),
t
(
"el-tab-pane"
,{
attrs
:{
label
:
"商品分类链接"
,
name
:
"second"
}},[
t
(
"div"
,{
staticClass
:
"goods-category"
},[
t
(
"treeselect"
,{
attrs
:{
options
:
e
.
goodsCategoryOptions
,
normalizer
:
e
.
normalizer
,
"default-expand-level"
:
1
,
placeholder
:
"所有品类"
,
noOptionsText
:
"暂无数据"
,
noResultsText
:
"无数据"
},
on
:{
select
:
e
.
goodsCategorySelect
},
model
:{
value
:
e
.
goodsCategory
,
callback
:
function
(
l
){
e
.
goodsCategory
=
l
},
expression
:
"goodsCategory"
}})],
1
)]),
e
.
_v
(
" "
),
t
(
"el-tab-pane"
,{
attrs
:{
label
:
"主功能页面链接"
,
name
:
"third"
}},[
t
(
"div"
,{
staticClass
:
"main-function-page"
},[
t
(
"el-tree"
,{
attrs
:{
data
:
e
.
mainFunctionPage
,
"expand-on-click-node"
:
!
1
,
props
:
e
.
defaultMainPageProps
},
on
:{
"node-click"
:
e
.
mainPageNodeClick
}})],
1
)]),
e
.
_v
(
" "
),
t
(
"el-tab-pane"
,{
attrs
:{
label
:
"自定义页面链接"
,
name
:
"fourth"
}},[
t
(
"div"
,{
staticClass
:
"definepage"
},[
t
(
"ul"
,{
staticClass
:
"definepage-ul"
},
e
.
_l
(
e
.
definePageList
,
function
(
l
,
a
){
return
t
(
"li"
,{
key
:
l
.
name
+
a
,
staticClass
:
"definepage-ul-li"
,
on
:{
click
:
function
(
t
){
e
.
definePageClick
(
l
)}}},[
e
.
_v
(
"
\
n "
+
e
.
_s
(
l
.
name
)
+
"
\
n "
)])}))])])],
1
),
e
.
_v
(
" "
),
t
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
t
(
"el-button"
,{
on
:{
click
:
e
.
cancelLinkSelect
}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
t
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
confirmLinkSelect
}},[
e
.
_v
(
"确 定"
)])],
1
)],
1
)],
1
)},
staticRenderFns
:[]};
var
n
=
t
(
"VU/8"
)(
s
,
i
,
!
1
,
function
(
e
){
t
(
"2Uo+"
)},
"data-v-58b7f38c"
,
null
);
l
.
default
=
n
.
exports
},
"2Uo+"
:
function
(
e
,
l
){}});
\ No newline at end of file
webpackJsonp
([
16
],{
"/8lq"
:
function
(
e
,
l
,
t
){
"use strict"
;
Object
.
defineProperty
(
l
,
"__esModule"
,{
value
:
!
0
});
var
a
=
t
(
"GXH0"
),
s
=
{
name
:
"links"
,
props
:[
"linkToolsVisible"
],
data
:
function
(){
return
{
twoLevelVisible
:
!
0
,
threeLevelVisible
:
!
0
,
linksType
:
""
,
linksTypeOptions
:[{
id
:
"1"
,
value
:
"shoplink"
,
label
:
"商城链接"
},{
id
:
"2"
,
value
:
"memberlink"
,
label
:
"会员功能链接"
},{
id
:
"3"
,
value
:
"definelink"
,
label
:
"自定义页面"
},{
id
:
"4"
,
value
:
"h5link"
,
label
:
"H5页面"
},{
id
:
"5"
,
value
:
"otherlink"
,
label
:
"其他小程序"
}],
twoLevelValue
:
""
,
twoLevelOptions
:[{
id
:
"1"
,
value
:
"shoplink"
,
label
:
"商城链接"
}],
threeLevelValue
:
""
,
threeLevelOptions
:[{
id
:
"1"
,
value
:
"shoplink"
,
label
:
"商城链接"
}],
h5linkVisible
:
!
1
,
h5linkObj
:{
name
:
""
,
url
:
""
,
fixParam
:
""
,
dynamicPara
:
""
,
dynamicParaOptions
:[]},
activeName
:
"first"
,
mylinkToolsVisible
:
this
.
linkToolsVisible
,
selectType
:
1
,
searchGoods
:
""
,
category
:
null
,
categoryOptions
:[{
key
:
"a"
,
name
:
"a"
,
subOptions
:[{
key
:
"aa"
,
name
:
"aa"
}]}],
normalizer
:
function
(
e
){
return
{
id
:
e
.
key
,
label
:
e
.
name
,
children
:
e
.
subOptions
}},
goodsList
:[{
id
:
"111"
,
name
:
"美商海盗船Gaming系列 K70 RGB Rapidfire"
,
goodsNum
:
"errerr"
,
src
:
"https://pic01-10001430.image.myqcloud.com/adb6387e-a3f4-4b7f-a7dd-1b7fe242f9f7"
,
price
:
567
},{
id
:
"112"
,
name
:
"美商海盗船Gaming系列 K70 RGB Rapidfire"
,
goodsNum
:
"errerr"
,
src
:
"https://pic01-10001430.image.myqcloud.com/adb6387e-a3f4-4b7f-a7dd-1b7fe242f9f7"
,
price
:
567
},{
id
:
"113"
,
name
:
"美商海盗船Gaming系列 K70 RGB Rapidfire"
,
goodsNum
:
"errerr"
,
src
:
"https://pic01-10001430.image.myqcloud.com/adb6387e-a3f4-4b7f-a7dd-1b7fe242f9f7"
,
price
:
567
},{
id
:
"112"
,
name
:
"美商海盗船Gaming系列 K70 RGB Rapidfire"
,
goodsNum
:
"errerr"
,
src
:
"https://pic01-10001430.image.myqcloud.com/adb6387e-a3f4-4b7f-a7dd-1b7fe242f9f7"
,
price
:
567
},{
id
:
"113"
,
name
:
"美商海盗船Gaming系列 K70 RGB Rapidfire"
,
goodsNum
:
"errerr"
,
src
:
"https://pic01-10001430.image.myqcloud.com/adb6387e-a3f4-4b7f-a7dd-1b7fe242f9f7"
,
price
:
567
}],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
classify
:
null
,
classifyOptions
:[{
key
:
"b"
,
name
:
"b"
,
subOptions
:[{
key
:
"bb"
,
name
:
"bb"
}]}],
goodsCategory
:
null
,
goodsCategoryOptions
:[{
key
:
"a"
,
name
:
"a"
,
subOptions
:[{
key
:
"aa"
,
name
:
"aa"
},{
key
:
"a1"
,
name
:
"a1"
},{
key
:
"a2"
,
name
:
"a2"
}]}],
mainFunctionPage
:[{
label
:
"一级 1"
,
children
:[{
label
:
"二级 1-1"
,
children
:[{
label
:
"三级 1-1-1"
}]}]},{
label
:
"一级 2"
,
children
:[{
label
:
"二级 2-1"
,
children
:[{
label
:
"三级 2-1-1"
}]},{
label
:
"二级 2-2"
,
children
:[{
label
:
"三级 2-2-1"
}]}]}],
defaultMainPageProps
:{
children
:
"children"
,
label
:
"label"
},
definePageList
:[{
id
:
"111"
,
name
:
"测试1"
,
src
:
""
},{
id
:
"112"
,
name
:
"测试2"
,
src
:
""
},{
id
:
"113"
,
name
:
"测试3"
,
src
:
""
},{
id
:
"114"
,
name
:
"测试4"
,
src
:
""
},{
id
:
"115"
,
name
:
"测试5"
,
src
:
""
},{
id
:
"116"
,
name
:
"测试6"
,
src
:
""
},{
id
:
"117"
,
name
:
"测试7"
,
src
:
""
},{
id
:
"118"
,
name
:
"测试8"
,
src
:
""
},{
id
:
"119"
,
name
:
"测试9"
,
src
:
""
}]}},
methods
:{
linksTypeChange
:
function
(
e
){},
twoLevelValueChange
:
function
(
e
){},
threeLevelValueChange
:
function
(
e
){},
cancelLinkSelect
:
function
(){
var
e
=
this
;
e
.
$confirm
(
"确认关闭?"
,
""
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
""
}).
then
(
function
(){
console
.
log
(
"点起确认"
),
e
.
$emit
(
"linkSelect"
)}).
catch
(
function
(){
console
.
log
(
"取消 取消关闭"
)})},
confirmLinkSelect
:
function
(){
console
.
log
(
this
.
linksType
,
this
.
twoLevelValue
,
this
.
threeLevelValue
),
this
.
$emit
(
"linkSelect"
)},
handleClick
:
function
(
e
,
l
){
console
.
log
(
e
,
l
);
switch
(
this
.
activeName
){
case
"first"
:
this
.
selectType
=
1
;
break
;
case
"second"
:
this
.
selectType
=
2
;
break
;
case
"third"
:
case
"fourth"
:
this
.
selectType
=
3
}
console
.
log
(
this
.
selectType
)},
categorySelect
:
function
(
e
,
l
){
console
.
log
(
e
,
l
),
this
.
getGoodsList
()},
classifySelect
:
function
(
e
,
l
){
console
.
log
(
e
,
l
),
this
.
getGoodsList
()},
goodsCategorySelect
:
function
(
e
,
l
){
console
.
log
(
e
,
l
),
this
.
selectLinkItem
()},
handleClose
:
function
(
e
){
var
l
=
this
,
t
=
this
;
t
.
$confirm
(
"确认关闭?"
).
then
(
function
(
a
){
e
(),
t
.
mylinkToolsVisible
=!
1
,
console
.
log
(
l
.
mylinkToolsVisible
),
t
.
$emit
(
"linkSelect"
)}).
catch
(
function
(
e
){})},
linkSizeChange
:
function
(
e
){
console
.
log
(
"每页 "
+
e
+
" 条"
,
this
.
pageSize
),
this
.
pageSize
=
e
},
linkCurrentChange
:
function
(
e
){
console
.
log
(
"当前页: "
+
e
,
this
.
currentPage
),
this
.
currentPage
=
e
},
selectLinkItem
:
function
(
e
){
var
l
=
this
;
console
.
log
(
e
);
var
t
=
null
;
switch
(
this
.
selectType
){
case
1
:
t
=
"商品"
;
break
;
case
2
:
t
=
"分类"
;
break
;
case
3
:
case
4
:
t
=
"页面"
}
console
.
log
(
this
.
selectType
,
t
),
this
.
$confirm
(
"确认选择"
+
t
,
""
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
""
}).
then
(
function
(){
l
.
$message
({
type
:
"success"
,
message
:
"确定"
})}).
catch
(
function
(){})},
toSearchInput
:
function
(
e
){
console
.
log
(
this
.
searchGoods
,
e
),
1
==
this
.
currentPage
?
this
.
getGoodsList
():
this
.
currentPage
=
1
},
clearInput
:
function
(
e
){
console
.
log
(
e
,
this
.
searchGoods
),
1
==
this
.
currentPage
?
this
.
getGoodsList
():
this
.
currentPage
=
1
},
getGoodsList
:
function
(){},
mainPageNodeClick
:
function
(
e
){
console
.
log
(
e
),
this
.
selectLinkItem
()},
definePageClick
:
function
(
e
){
console
.
log
(
e
),
this
.
selectLinkItem
()}},
watch
:{
linkToolsVisible
:
function
(
e
){
console
.
log
(
e
),
this
.
mylinkToolsVisible
=
e
}},
mounted
:
function
(){
console
.
log
(
"00000"
)},
components
:{
Treeselect
:
t
.
n
(
a
).
a
}},
i
=
{
render
:
function
(){
var
e
=
this
,
l
=
e
.
$createElement
,
t
=
e
.
_self
.
_c
||
l
;
return
t
(
"div"
,{
staticClass
:
"link-tools-contain"
},[
t
(
"el-dialog"
,{
class
:
"first"
==
e
.
activeName
?
"min-1051"
:
"min-720"
,
attrs
:{
title
:
"链接小工具"
,
visible
:
e
.
mylinkToolsVisible
,
"before-close"
:
e
.
handleClose
},
on
:{
"update:visible"
:
function
(
l
){
e
.
mylinkToolsVisible
=
l
}}},[
t
(
"div"
,{
staticClass
:
"links-types"
},[
t
(
"label"
,{
staticClass
:
"types-title"
},[
e
.
_v
(
"链接类型:"
)]),
e
.
_v
(
" "
),
t
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
e
.
linksTypeChange
},
model
:{
value
:
e
.
linksType
,
callback
:
function
(
l
){
e
.
linksType
=
l
},
expression
:
"linksType"
}},
e
.
_l
(
e
.
linksTypeOptions
,
function
(
e
){
return
t
(
"el-option"
,{
key
:
e
.
value
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})})),
e
.
_v
(
" "
),
e
.
twoLevelVisible
?
t
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
e
.
twoLevelValueChange
},
model
:{
value
:
e
.
twoLevelValue
,
callback
:
function
(
l
){
e
.
twoLevelValue
=
l
},
expression
:
"twoLevelValue"
}},
e
.
_l
(
e
.
twoLevelOptions
,
function
(
e
){
return
t
(
"el-option"
,{
key
:
e
.
value
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})})):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
threeLevelVisible
?
t
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
e
.
threeLevelValueChange
},
model
:{
value
:
e
.
threeLevelValue
,
callback
:
function
(
l
){
e
.
threeLevelValue
=
l
},
expression
:
"threeLevelValue"
}},
e
.
_l
(
e
.
threeLevelOptions
,
function
(
e
){
return
t
(
"el-option"
,{
key
:
e
.
value
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})})):
e
.
_e
(),
e
.
_v
(
" "
),
t
(
"div"
,{
staticClass
:
"goods-category"
},[
t
(
"treeselect"
,{
attrs
:{
options
:
e
.
goodsCategoryOptions
,
normalizer
:
e
.
normalizer
,
"default-expand-level"
:
1
,
placeholder
:
"所有品类"
,
noOptionsText
:
"暂无数据"
,
noResultsText
:
"无数据"
},
on
:{
select
:
e
.
goodsCategorySelect
},
model
:{
value
:
e
.
goodsCategory
,
callback
:
function
(
l
){
e
.
goodsCategory
=
l
},
expression
:
"goodsCategory"
}})],
1
)],
1
),
e
.
_v
(
" "
),
e
.
h5linkVisible
?
t
(
"div"
,{
staticClass
:
"h5link-contain"
},[
t
(
"div"
,{
staticClass
:
"h5link-row"
},[
t
(
"label"
,{
staticClass
:
"h5link-title"
},[
e
.
_v
(
"名字:"
)]),
e
.
_v
(
" "
),
t
(
"el-input"
,{
attrs
:{
placeholder
:
"请输入网址"
},
model
:{
value
:
e
.
h5linkObj
.
name
,
callback
:
function
(
l
){
e
.
$set
(
e
.
h5linkObj
,
"name"
,
l
)},
expression
:
"h5linkObj.name"
}})],
1
),
e
.
_v
(
" "
),
t
(
"div"
,{
staticClass
:
"h5link-row"
},[
t
(
"label"
,{
staticClass
:
"h5link-title"
},[
e
.
_v
(
"网址:"
)]),
e
.
_v
(
" "
),
t
(
"el-input"
,{
attrs
:{
placeholder
:
"请输入网址"
},
model
:{
value
:
e
.
h5linkObj
.
url
,
callback
:
function
(
l
){
e
.
$set
(
e
.
h5linkObj
,
"url"
,
l
)},
expression
:
"h5linkObj.url"
}})],
1
),
e
.
_v
(
" "
),
t
(
"div"
,{
staticClass
:
"h5link-row"
},[
t
(
"label"
,{
staticClass
:
"h5link-title"
},[
e
.
_v
(
"固定参数:"
)]),
e
.
_v
(
" "
),
t
(
"el-input"
,{
attrs
:{
type
:
"textarea"
,
resize
:
"none"
,
rows
:
4
,
placeholder
:
"请输入固定参数(可选)"
},
model
:{
value
:
e
.
h5linkObj
.
fixParam
,
callback
:
function
(
l
){
e
.
$set
(
e
.
h5linkObj
,
"fixParam"
,
l
)},
expression
:
"h5linkObj.fixParam"
}})],
1
),
e
.
_v
(
" "
),
t
(
"div"
,{
staticClass
:
"h5link-row"
},[
t
(
"label"
,{
staticClass
:
"h5link-title"
},[
e
.
_v
(
"动态参数:"
)]),
e
.
_v
(
" "
),
t
(
"el-select"
,{
attrs
:{
multiple
:
""
,
placeholder
:
"请选择"
},
model
:{
value
:
e
.
h5linkObj
.
dynamicPara
,
callback
:
function
(
l
){
e
.
$set
(
e
.
h5linkObj
,
"dynamicPara"
,
l
)},
expression
:
"h5linkObj.dynamicPara"
}},
e
.
_l
(
e
.
dynamicParaOptions
,
function
(
e
){
return
t
(
"el-option"
,{
key
:
e
.
value
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})}))],
1
)]):
e
.
_e
(),
e
.
_v
(
" "
),
t
(
"div"
,{
staticClass
:
"goods-links-contian"
},[
t
(
"div"
,{
staticClass
:
"links-tools-row"
},[
t
(
"treeselect"
,{
attrs
:{
value
:
e
.
category
,
options
:
e
.
categoryOptions
,
normalizer
:
e
.
normalizer
,
"default-expand-level"
:
1
,
placeholder
:
"所有品类"
,
noOptionsText
:
"暂无数据"
,
noResultsText
:
"无数据"
},
on
:{
select
:
e
.
categorySelect
}}),
e
.
_v
(
" "
),
t
(
"treeselect"
,{
attrs
:{
options
:
e
.
classifyOptions
,
normalizer
:
e
.
normalizer
,
"default-expand-level"
:
1
,
placeholder
:
"所有分类"
,
noOptionsText
:
"暂无数据"
,
noResultsText
:
"无数据"
},
on
:{
select
:
e
.
classifySelect
},
model
:{
value
:
e
.
classify
,
callback
:
function
(
l
){
e
.
classify
=
l
},
expression
:
"classify"
}}),
e
.
_v
(
" "
),
t
(
"el-input"
,{
staticClass
:
"links-tools-input"
,
attrs
:{
placeholder
:
"请输入商品名称/货号"
,
clearable
:
""
},
on
:{
clear
:
e
.
clearInput
},
nativeOn
:{
keyup
:
function
(
l
){
return
t
=
l
,
e
.
toSearchInput
(
t
);
var
t
}},
model
:{
value
:
e
.
searchGoods
,
callback
:
function
(
l
){
e
.
searchGoods
=
l
},
expression
:
"searchGoods"
}},[
t
(
"i"
,{
staticClass
:
"el-input__icon el-icon-search"
,
attrs
:{
slot
:
"prefix"
},
slot
:
"prefix"
})])],
1
),
e
.
_v
(
" "
),
t
(
"div"
,{
staticClass
:
"goods-link-content"
},[
t
(
"ul"
,{
staticClass
:
"goods-link-list"
},
e
.
_l
(
e
.
goodsList
,
function
(
l
,
a
){
return
t
(
"li"
,{
key
:
l
.
name
+
a
,
staticClass
:
"goods-link-item"
,
on
:{
click
:
function
(
t
){
e
.
selectLinkItem
(
l
)}}},[
t
(
"img"
,{
attrs
:{
src
:
l
.
src
,
alt
:
"商品图片"
}}),
e
.
_v
(
" "
),
t
(
"div"
,{
staticClass
:
"inline-block goods-message"
},[
t
(
"p"
,{
staticClass
:
"limit-2"
},[
e
.
_v
(
e
.
_s
(
l
.
name
))]),
e
.
_v
(
" "
),
t
(
"p"
,{
staticClass
:
"gray-color"
},[
e
.
_v
(
"货号:"
+
e
.
_s
(
l
.
goodsNum
))]),
e
.
_v
(
" "
),
t
(
"span"
,[
e
.
_v
(
"¥"
+
e
.
_s
(
l
.
price
))])])])}))]),
e
.
_v
(
" "
),
t
(
"div"
,{
staticClass
:
"links-tools-page"
},[
t
(
"el-pagination"
,{
attrs
:{
"current-page"
:
e
.
currentPage
,
"page-sizes"
:[
20
,
30
,
40
,
50
],
"page-size"
:
e
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
e
.
total
},
on
:{
"size-change"
:
e
.
linkSizeChange
,
"current-change"
:
e
.
linkCurrentChange
}})],
1
)]),
e
.
_v
(
" "
),
t
(
"el-tabs"
,{
on
:{
"tab-click"
:
e
.
handleClick
},
model
:{
value
:
e
.
activeName
,
callback
:
function
(
l
){
e
.
activeName
=
l
},
expression
:
"activeName"
}},[
t
(
"el-tab-pane"
,{
attrs
:{
label
:
"商品链接"
,
name
:
"first"
}},[
t
(
"div"
,{
staticClass
:
"links-tools-row"
},[
t
(
"treeselect"
,{
attrs
:{
value
:
e
.
category
,
options
:
e
.
categoryOptions
,
normalizer
:
e
.
normalizer
,
"default-expand-level"
:
1
,
placeholder
:
"所有品类"
,
noOptionsText
:
"暂无数据"
,
noResultsText
:
"无数据"
},
on
:{
select
:
e
.
categorySelect
}}),
e
.
_v
(
" "
),
t
(
"treeselect"
,{
attrs
:{
options
:
e
.
classifyOptions
,
normalizer
:
e
.
normalizer
,
"default-expand-level"
:
1
,
placeholder
:
"所有分类"
,
noOptionsText
:
"暂无数据"
,
noResultsText
:
"无数据"
},
on
:{
select
:
e
.
classifySelect
},
model
:{
value
:
e
.
classify
,
callback
:
function
(
l
){
e
.
classify
=
l
},
expression
:
"classify"
}}),
e
.
_v
(
" "
),
t
(
"el-input"
,{
staticClass
:
"links-tools-input"
,
attrs
:{
placeholder
:
"请输入商品名称/货号"
,
clearable
:
""
},
on
:{
clear
:
e
.
clearInput
},
nativeOn
:{
keyup
:
function
(
l
){
return
t
=
l
,
e
.
toSearchInput
(
t
);
var
t
}},
model
:{
value
:
e
.
searchGoods
,
callback
:
function
(
l
){
e
.
searchGoods
=
l
},
expression
:
"searchGoods"
}},[
t
(
"i"
,{
staticClass
:
"el-input__icon el-icon-search"
,
attrs
:{
slot
:
"prefix"
},
slot
:
"prefix"
})])],
1
),
e
.
_v
(
" "
),
t
(
"div"
,{
staticClass
:
"goods-link-content"
},[
t
(
"ul"
,{
staticClass
:
"goods-link-list"
},
e
.
_l
(
e
.
goodsList
,
function
(
l
,
a
){
return
t
(
"li"
,{
key
:
l
.
name
+
a
,
staticClass
:
"goods-link-item"
,
on
:{
click
:
function
(
t
){
e
.
selectLinkItem
(
l
)}}},[
t
(
"img"
,{
attrs
:{
src
:
l
.
src
,
alt
:
"商品图片"
}}),
e
.
_v
(
" "
),
t
(
"div"
,{
staticClass
:
"inline-block goods-message"
},[
t
(
"p"
,{
staticClass
:
"limit-2"
},[
e
.
_v
(
e
.
_s
(
l
.
name
))]),
e
.
_v
(
" "
),
t
(
"p"
,{
staticClass
:
"gray-color"
},[
e
.
_v
(
"货号:"
+
e
.
_s
(
l
.
goodsNum
))]),
e
.
_v
(
" "
),
t
(
"span"
,[
e
.
_v
(
"¥"
+
e
.
_s
(
l
.
price
))])])])}))]),
e
.
_v
(
" "
),
t
(
"div"
,{
staticClass
:
"links-tools-page"
},[
t
(
"el-pagination"
,{
attrs
:{
"current-page"
:
e
.
currentPage
,
"page-sizes"
:[
20
,
30
,
40
,
50
],
"page-size"
:
e
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
e
.
total
},
on
:{
"size-change"
:
e
.
linkSizeChange
,
"current-change"
:
e
.
linkCurrentChange
}})],
1
)]),
e
.
_v
(
" "
),
t
(
"el-tab-pane"
,{
attrs
:{
label
:
"商品分类链接"
,
name
:
"second"
}},[
t
(
"div"
,{
staticClass
:
"goods-category"
},[
t
(
"treeselect"
,{
attrs
:{
options
:
e
.
goodsCategoryOptions
,
normalizer
:
e
.
normalizer
,
"default-expand-level"
:
1
,
placeholder
:
"所有品类"
,
noOptionsText
:
"暂无数据"
,
noResultsText
:
"无数据"
},
on
:{
select
:
e
.
goodsCategorySelect
},
model
:{
value
:
e
.
goodsCategory
,
callback
:
function
(
l
){
e
.
goodsCategory
=
l
},
expression
:
"goodsCategory"
}})],
1
)]),
e
.
_v
(
" "
),
t
(
"el-tab-pane"
,{
attrs
:{
label
:
"主功能页面链接"
,
name
:
"third"
}},[
t
(
"div"
,{
staticClass
:
"main-function-page"
},[
t
(
"el-tree"
,{
attrs
:{
data
:
e
.
mainFunctionPage
,
"expand-on-click-node"
:
!
1
,
props
:
e
.
defaultMainPageProps
},
on
:{
"node-click"
:
e
.
mainPageNodeClick
}})],
1
)]),
e
.
_v
(
" "
),
t
(
"el-tab-pane"
,{
attrs
:{
label
:
"自定义页面链接"
,
name
:
"fourth"
}},[
t
(
"div"
,{
staticClass
:
"definepage"
},[
t
(
"ul"
,{
staticClass
:
"definepage-ul"
},
e
.
_l
(
e
.
definePageList
,
function
(
l
,
a
){
return
t
(
"li"
,{
key
:
l
.
name
+
a
,
staticClass
:
"definepage-ul-li"
,
on
:{
click
:
function
(
t
){
e
.
definePageClick
(
l
)}}},[
e
.
_v
(
"
\
n "
+
e
.
_s
(
l
.
name
)
+
"
\
n "
)])}))])])],
1
),
e
.
_v
(
" "
),
t
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
t
(
"el-button"
,{
on
:{
click
:
e
.
cancelLinkSelect
}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
t
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
confirmLinkSelect
}},[
e
.
_v
(
"确 定"
)])],
1
)],
1
)],
1
)},
staticRenderFns
:[]};
var
n
=
t
(
"VU/8"
)(
s
,
i
,
!
1
,
function
(
e
){
t
(
"2Uo+"
)},
"data-v-58b7f38c"
,
null
);
l
.
default
=
n
.
exports
},
"2Uo+"
:
function
(
e
,
l
){}});
\ No newline at end of file
dist/static/js/1
6.3a54c1cd1283d3db922c
.js
→
dist/static/js/1
7.7fd866c078469a0c4dd6
.js
View file @
48b3200f
webpackJsonp
([
16
],{
"kV+b"
:
function
(
t
,
a
){},
twLH
:
function
(
t
,
a
,
n
){
"use strict"
;
Object
.
defineProperty
(
a
,
"__esModule"
,{
value
:
!
0
});
var
e
=
n
(
"3Xzz"
),
i
=
n
(
"BdFv"
),
r
=
(
n
(
"Mk6G"
),
n
(
"3E4D"
),
n
(
"Ch4/"
),
n
(
"PI0u"
),
n
(
"P9l9"
),{
name
:
"myTagLib"
,
data
:
function
(){
return
{
navpath
:[{
name
:
"首页"
,
path
:
window
.
origin
+
"/report/#/memberSummary"
,
relocation
:
!
0
},{
name
:
"会员管理"
,
path
:
""
},{
name
:
"会员标签"
,
path
:
""
},{
name
:
"我的标签库"
,
path
:
""
}],
tagCategory
:
"myTagList"
}},
methods
:{
toAddMyTagLib
:
function
(){}},
mounted
:
function
(){},
components
:{
navCrumb
:
e
.
a
,
tagLib
:
i
.
a
}}),
o
=
{
render
:
function
(){
var
t
=
this
.
$createElement
,
a
=
this
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"myTagLib-wrap common-wrap"
},[
a
(
"nav-crumb"
,{
attrs
:{
navpath
:
this
.
navpath
}}),
this
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"right-content"
},[
a
(
"div"
,{
staticClass
:
"right-box"
},[
a
(
"tag-lib"
,{
attrs
:{
tagCategory
:
this
.
tagCategory
}})],
1
)]),
this
.
_v
(
" "
),
a
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[]};
var
s
=
n
(
"VU/8"
)(
r
,
o
,
!
1
,
function
(
t
){
n
(
"kV+b"
)},
"data-v-58354cde"
,
null
);
a
.
default
=
s
.
exports
}});
\ No newline at end of file
webpackJsonp
([
17
],{
"kV+b"
:
function
(
t
,
a
){},
twLH
:
function
(
t
,
a
,
n
){
"use strict"
;
Object
.
defineProperty
(
a
,
"__esModule"
,{
value
:
!
0
});
var
e
=
n
(
"3Xzz"
),
i
=
n
(
"BdFv"
),
r
=
(
n
(
"Mk6G"
),
n
(
"3E4D"
),
n
(
"Ch4/"
),
n
(
"PI0u"
),
n
(
"P9l9"
),{
name
:
"myTagLib"
,
data
:
function
(){
return
{
navpath
:[{
name
:
"首页"
,
path
:
window
.
origin
+
"/report/#/memberSummary"
,
relocation
:
!
0
},{
name
:
"会员管理"
,
path
:
""
},{
name
:
"会员标签"
,
path
:
""
},{
name
:
"我的标签库"
,
path
:
""
}],
tagCategory
:
"myTagList"
}},
methods
:{
toAddMyTagLib
:
function
(){}},
mounted
:
function
(){},
components
:{
navCrumb
:
e
.
a
,
tagLib
:
i
.
a
}}),
o
=
{
render
:
function
(){
var
t
=
this
.
$createElement
,
a
=
this
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"myTagLib-wrap common-wrap"
},[
a
(
"nav-crumb"
,{
attrs
:{
navpath
:
this
.
navpath
}}),
this
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"right-content"
},[
a
(
"div"
,{
staticClass
:
"right-box"
},[
a
(
"tag-lib"
,{
attrs
:{
tagCategory
:
this
.
tagCategory
}})],
1
)]),
this
.
_v
(
" "
),
a
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[]};
var
s
=
n
(
"VU/8"
)(
r
,
o
,
!
1
,
function
(
t
){
n
(
"kV+b"
)},
"data-v-58354cde"
,
null
);
a
.
default
=
s
.
exports
}});
\ No newline at end of file
dist/static/js/1
7.fec964db5534595d5866
.js
→
dist/static/js/1
8.3eb67a4633441e04fc8d
.js
View file @
48b3200f
webpackJsonp
([
17
],{
ZG18
:
function
(
t
,
a
){},
puJc
:
function
(
t
,
a
,
e
){
"use strict"
;
Object
.
defineProperty
(
a
,
"__esModule"
,{
value
:
!
0
});
var
n
=
e
(
"3Xzz"
),
r
=
e
(
"BdFv"
),
i
=
(
e
(
"Mk6G"
),
e
(
"3E4D"
),
e
(
"Ch4/"
),
e
(
"PI0u"
),
e
(
"P9l9"
),{
name
:
"platformTagLib"
,
data
:
function
(){
return
{
navpath
:[{
name
:
"首页"
,
path
:
window
.
origin
+
"/report/#/memberSummary"
,
relocation
:
!
0
},{
name
:
"会员管理"
,
path
:
""
},{
name
:
"会员标签"
,
path
:
""
},{
name
:
"平台标签库"
,
path
:
""
}],
tagCategory
:
"platformTagList"
}},
methods
:{},
mounted
:
function
(){},
components
:{
navCrumb
:
n
.
a
,
tagLib
:
r
.
a
}}),
o
=
{
render
:
function
(){
var
t
=
this
.
$createElement
,
a
=
this
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"platformTagLib-wrap common-wrap"
},[
a
(
"nav-crumb"
,{
attrs
:{
navpath
:
this
.
navpath
}}),
this
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"right-content"
},[
a
(
"div"
,{
staticClass
:
"right-box"
},[
a
(
"tag-lib"
,{
attrs
:{
tagCategory
:
this
.
tagCategory
}})],
1
)]),
this
.
_v
(
" "
),
a
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[]};
var
s
=
e
(
"VU/8"
)(
i
,
o
,
!
1
,
function
(
t
){
e
(
"ZG18"
)},
"data-v-4e16d35f"
,
null
);
a
.
default
=
s
.
exports
}});
\ No newline at end of file
webpackJsonp
([
18
],{
ZG18
:
function
(
t
,
a
){},
puJc
:
function
(
t
,
a
,
e
){
"use strict"
;
Object
.
defineProperty
(
a
,
"__esModule"
,{
value
:
!
0
});
var
n
=
e
(
"3Xzz"
),
r
=
e
(
"BdFv"
),
i
=
(
e
(
"Mk6G"
),
e
(
"3E4D"
),
e
(
"Ch4/"
),
e
(
"PI0u"
),
e
(
"P9l9"
),{
name
:
"platformTagLib"
,
data
:
function
(){
return
{
navpath
:[{
name
:
"首页"
,
path
:
window
.
origin
+
"/report/#/memberSummary"
,
relocation
:
!
0
},{
name
:
"会员管理"
,
path
:
""
},{
name
:
"会员标签"
,
path
:
""
},{
name
:
"平台标签库"
,
path
:
""
}],
tagCategory
:
"platformTagList"
}},
methods
:{},
mounted
:
function
(){},
components
:{
navCrumb
:
n
.
a
,
tagLib
:
r
.
a
}}),
o
=
{
render
:
function
(){
var
t
=
this
.
$createElement
,
a
=
this
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"platformTagLib-wrap common-wrap"
},[
a
(
"nav-crumb"
,{
attrs
:{
navpath
:
this
.
navpath
}}),
this
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"right-content"
},[
a
(
"div"
,{
staticClass
:
"right-box"
},[
a
(
"tag-lib"
,{
attrs
:{
tagCategory
:
this
.
tagCategory
}})],
1
)]),
this
.
_v
(
" "
),
a
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[]};
var
s
=
e
(
"VU/8"
)(
i
,
o
,
!
1
,
function
(
t
){
e
(
"ZG18"
)},
"data-v-4e16d35f"
,
null
);
a
.
default
=
s
.
exports
}});
\ No newline at end of file
dist/static/js/1
8.cf7ea9cb6b4f2a57f4ed
.js
→
dist/static/js/1
9.54ac05445ba078945752
.js
View file @
48b3200f
webpackJsonp
([
18
],{
NJTp
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
r
=
a
(
"3Xzz"
),
n
=
a
(
"5QTb"
),
o
=
a
(
"M2/U"
),
i
=
a
(
"3fED"
),
s
=
(
a
(
"Mk6G"
),
a
(
"3E4D"
)),
l
=
a
(
"Ch4/"
),
u
=
a
(
"PI0u"
),
g
=
a
(
"P9l9"
),
c
=
{
name
:
"myTagList"
,
data
:
function
(){
return
{
navpath
:[{
name
:
"首页"
,
path
:
window
.
origin
+
"/report/#/memberSummary"
,
relocation
:
!
0
},{
name
:
"会员管理"
,
path
:
""
},{
name
:
"会员标签"
,
path
:
""
},{
name
:
"我的标签库"
,
path
:
"/myTagLib"
},{
name
:
"我的标签列表"
,
path
:
""
}],
showTagDetail
:
!
1
,
tagShortDetailId
:
""
,
fromFlag
:
"myTag"
,
tagLibName
:
"myTag"
,
tagSearch
:
""
,
tagTableData
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
currentGroupId
:
0
}},
methods
:{
changeRoute
:
function
(
t
){
this
.
$router
.
push
(
t
)},
handleShowTag
:
function
(){
this
.
showTagDetail
=!
0
},
handleHideTag
:
function
(
t
){
this
.
showTagDetail
=!
1
},
toManualTagLib
:
function
(){
this
.
changeRoute
(
"/manualTagList"
)},
toPlatformTagLib
:
function
(){
this
.
changeRoute
(
"/platformTagList"
)},
searchEnterFun
:
Object
(
u
.
a
)(
function
(
t
){
this
.
currentPage
=
1
,
this
.
getTagList
()},
500
),
clearSearch
:
function
(){
this
.
currentPage
=
1
,
this
.
getTagList
()},
handleSizeChange
:
function
(
t
){
this
.
pageSize
=
t
,
this
.
getTagList
()},
handleCurrentChange
:
function
(
t
){
this
.
currentPage
=
t
,
this
.
$route
.
fullPath
.
includes
(
"?"
)
&&
this
.
$router
.
push
(
this
.
$route
.
path
+
"?tagLevelGroupId="
+
this
.
$route
.
query
.
tagLevelGroupId
+
"¤tPage="
+
t
),
this
.
getTagList
()},
getTagList
:
function
(){
var
t
=
this
,
e
=
{
tagName
:
t
.
tagSearch
,
tagLevelGroupId
:
t
.
currentGroupId
,
pageNum
:
t
.
currentPage
,
pageSize
:
t
.
pageSize
};
Object
(
g
.
a
)(
"/enterpriseMemberTag/pageList"
,
e
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
a
.
result
.
result
&&
a
.
result
.
result
.
length
?(
a
.
result
.
result
.
forEach
(
function
(
t
,
e
){
t
.
popVisible
=!
1
}),
t
.
tagTableData
=
a
.
result
.
result
):(
t
.
tagTableData
=
[],
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
"未找到数据"
})),
void
(
t
.
total
=
a
.
result
.
totalCount
);
l
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
addTemporary
:
function
(
t
){
this
.
tagShortDetailId
=
t
,
this
.
showTagDetail
=!
0
,
this
.
$refs
.
tagTemp
.
hideTagList
()},
cancelDelTag
:
function
(
t
,
e
){
e
.
popVisible
=!
1
},
toDelTag
:
function
(
t
,
e
){
var
a
=
this
;
a
.
$confirm
(
"确认要删除此标签吗?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
postToDelTag
(
t
,
e
)}).
catch
(
function
(){})},
postToDelTag
:
function
(
t
,
e
){
var
a
=
this
,
r
=
{
enterpriseMemberTagId
:
e
.
enterpriseMemberTagId
};
Object
(
g
.
a
)(
"/enterpriseMemberTag/del"
,
r
).
then
(
function
(
e
){
var
r
=
e
.
data
;
if
(
1
==
r
.
errorCode
)
return
s
.
a
.
showmsg
(
"删除成功"
,
"success"
),
a
.
tagTableData
.
splice
(
t
,
1
),
void
a
.
$refs
.
tagTemp
.
getTagList
();
l
.
a
.
errorMsg
(
r
)}).
catch
(
function
(
t
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
showShortDetail
:
function
(
t
){
this
.
showTagDetail
=!
0
,
this
.
tagShortDetailId
=
t
},
updateTemp
:
function
(){
this
.
$refs
.
tagTemp
.
getTagList
(),
this
.
$refs
.
tagTemp
.
showTagList
()},
getUrlParams
:
function
(){
this
.
tagSearch
=
this
.
$route
.
query
.
searchName
?
this
.
$route
.
query
.
searchName
:
""
,
this
.
currentGroupId
=
this
.
$route
.
query
.
tagLevelGroupId
?
this
.
$route
.
query
.
tagLevelGroupId
:
0
,
this
.
currentPage
=
this
.
$route
.
query
.
currentPage
?
parseInt
(
this
.
$route
.
query
.
currentPage
):
1
,
this
.
getTagList
()}},
watch
:{
$route
:{
handler
:
function
(
t
,
e
){
this
.
getUrlParams
()},
deep
:
!
0
}},
mounted
:
function
(){
this
.
getUrlParams
()},
components
:{
navCrumb
:
r
.
a
,
tagShortDetail
:
i
.
a
,
tagCategory
:
n
.
a
,
tagTemporary
:
o
.
a
}},
h
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"myTagList-wrap common-wrap"
},[
a
(
"nav-crumb"
,{
attrs
:{
navpath
:
t
.
navpath
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"right-content"
},[
a
(
"div"
,{
staticClass
:
"right-box"
},[
a
(
"div"
,{
staticClass
:
"common-wrap__cateTags"
},[
a
(
"tag-category"
,{
attrs
:{
tagLibName
:
t
.
tagLibName
}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"common-wrap__opt"
},[
a
(
"el-input"
,{
staticClass
:
"w-184"
,
attrs
:{
placeholder
:
"搜索标签"
,
"prefix-icon"
:
"el-icon-search"
,
clearable
:
""
},
on
:{
clear
:
t
.
clearSearch
},
nativeOn
:{
keyup
:
function
(
e
){
return
"button"
in
e
||!
t
.
_k
(
e
.
keyCode
,
"enter"
,
13
,
e
.
key
,
"Enter"
)?(
a
=
e
,
t
.
searchEnterFun
(
a
)):
null
;
var
a
}},
model
:{
value
:
t
.
tagSearch
,
callback
:
function
(
e
){
t
.
tagSearch
=
e
},
expression
:
"tagSearch"
}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"common-wrap__table m-t-20"
},[
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
tagTableData
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"标签名称"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"span"
,{
staticClass
:
"pointer name-hover"
,
on
:{
click
:
function
(
a
){
t
.
addTemporary
(
e
.
row
.
tagId
)}}},[
t
.
_v
(
t
.
_s
(
e
.
row
.
tagName
))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"tagDescribe"
,
label
:
"标签描述"
,
"show-overflow-tooltip"
:
""
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"是否实时"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\
n "
+
t
.
_s
(
1
==
e
.
row
.
isActive
?
"实时"
:
"非实时"
)
+
"
\
n "
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"router-link"
,{
staticClass
:
"edit-btn el-button--text"
,
attrs
:{
to
:{
path
:
"/myTagDetail"
,
query
:{
tagId
:
e
.
row
.
tagId
}}}},[
t
.
_v
(
"详情"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
staticClass
:
"p-l-10"
,
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
t
.
addTemporary
(
e
.
row
.
tagId
)}}},[
t
.
_v
(
"添加至暂存架"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
slot
:
"reference"
,
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
toDelTag
(
e
.
$index
,
e
.
row
)}},
slot
:
"reference"
},[
t
.
_v
(
"
\
n 删除
\
n "
)])]}}])})],
1
)],
1
),
t
.
_v
(
" "
),
0
!=
t
.
tagTableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right"
},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
t
.
currentPage
,
"page-sizes"
:[
10
,
20
,
30
,
40
],
"page-size"
:
t
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
t
.
total
},
on
:{
"size-change"
:
t
.
handleSizeChange
,
"current-change"
:
t
.
handleCurrentChange
}})],
1
):
t
.
_e
()])]),
t
.
_v
(
" "
),
a
(
"vue-gic-footer"
),
t
.
_v
(
" "
),
a
(
"tagShortDetail"
,{
attrs
:{
fromFlag
:
t
.
fromFlag
,
tagShortId
:
t
.
tagShortDetailId
,
showTagDetail
:
t
.
showTagDetail
},
on
:{
"update:tagShortId"
:
function
(
e
){
t
.
tagShortDetailId
=
e
},
hideTag
:
t
.
handleHideTag
,
updateTemp
:
t
.
updateTemp
}}),
t
.
_v
(
" "
),
a
(
"tag-temporary"
,{
ref
:
"tagTemp"
,
on
:{
showShortDetail
:
t
.
showShortDetail
}})],
1
)},
staticRenderFns
:[]};
var
p
=
a
(
"VU/8"
)(
c
,
h
,
!
1
,
function
(
t
){
a
(
"t93m"
)},
"data-v-3a7d50ff"
,
null
);
e
.
default
=
p
.
exports
},
t93m
:
function
(
t
,
e
){}});
\ No newline at end of file
webpackJsonp
([
19
],{
NJTp
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
r
=
a
(
"3Xzz"
),
n
=
a
(
"5QTb"
),
o
=
a
(
"M2/U"
),
i
=
a
(
"3fED"
),
s
=
(
a
(
"Mk6G"
),
a
(
"3E4D"
)),
l
=
a
(
"Ch4/"
),
u
=
a
(
"PI0u"
),
g
=
a
(
"P9l9"
),
c
=
{
name
:
"myTagList"
,
data
:
function
(){
return
{
navpath
:[{
name
:
"首页"
,
path
:
window
.
origin
+
"/report/#/memberSummary"
,
relocation
:
!
0
},{
name
:
"会员管理"
,
path
:
""
},{
name
:
"会员标签"
,
path
:
""
},{
name
:
"我的标签库"
,
path
:
"/myTagLib"
},{
name
:
"我的标签列表"
,
path
:
""
}],
showTagDetail
:
!
1
,
tagShortDetailId
:
""
,
fromFlag
:
"myTag"
,
tagLibName
:
"myTag"
,
tagSearch
:
""
,
tagTableData
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
currentGroupId
:
0
}},
methods
:{
changeRoute
:
function
(
t
){
this
.
$router
.
push
(
t
)},
handleShowTag
:
function
(){
this
.
showTagDetail
=!
0
},
handleHideTag
:
function
(
t
){
this
.
showTagDetail
=!
1
},
toManualTagLib
:
function
(){
this
.
changeRoute
(
"/manualTagList"
)},
toPlatformTagLib
:
function
(){
this
.
changeRoute
(
"/platformTagList"
)},
searchEnterFun
:
Object
(
u
.
a
)(
function
(
t
){
this
.
currentPage
=
1
,
this
.
getTagList
()},
500
),
clearSearch
:
function
(){
this
.
currentPage
=
1
,
this
.
getTagList
()},
handleSizeChange
:
function
(
t
){
this
.
pageSize
=
t
,
this
.
getTagList
()},
handleCurrentChange
:
function
(
t
){
this
.
currentPage
=
t
,
this
.
$route
.
fullPath
.
includes
(
"?"
)
&&
this
.
$router
.
push
(
this
.
$route
.
path
+
"?tagLevelGroupId="
+
this
.
$route
.
query
.
tagLevelGroupId
+
"¤tPage="
+
t
),
this
.
getTagList
()},
getTagList
:
function
(){
var
t
=
this
,
e
=
{
tagName
:
t
.
tagSearch
,
tagLevelGroupId
:
t
.
currentGroupId
,
pageNum
:
t
.
currentPage
,
pageSize
:
t
.
pageSize
};
Object
(
g
.
a
)(
"/enterpriseMemberTag/pageList"
,
e
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
a
.
result
.
result
&&
a
.
result
.
result
.
length
?(
a
.
result
.
result
.
forEach
(
function
(
t
,
e
){
t
.
popVisible
=!
1
}),
t
.
tagTableData
=
a
.
result
.
result
):(
t
.
tagTableData
=
[],
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
"未找到数据"
})),
void
(
t
.
total
=
a
.
result
.
totalCount
);
l
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
addTemporary
:
function
(
t
){
this
.
tagShortDetailId
=
t
,
this
.
showTagDetail
=!
0
,
this
.
$refs
.
tagTemp
.
hideTagList
()},
cancelDelTag
:
function
(
t
,
e
){
e
.
popVisible
=!
1
},
toDelTag
:
function
(
t
,
e
){
var
a
=
this
;
a
.
$confirm
(
"确认要删除此标签吗?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
postToDelTag
(
t
,
e
)}).
catch
(
function
(){})},
postToDelTag
:
function
(
t
,
e
){
var
a
=
this
,
r
=
{
enterpriseMemberTagId
:
e
.
enterpriseMemberTagId
};
Object
(
g
.
a
)(
"/enterpriseMemberTag/del"
,
r
).
then
(
function
(
e
){
var
r
=
e
.
data
;
if
(
1
==
r
.
errorCode
)
return
s
.
a
.
showmsg
(
"删除成功"
,
"success"
),
a
.
tagTableData
.
splice
(
t
,
1
),
void
a
.
$refs
.
tagTemp
.
getTagList
();
l
.
a
.
errorMsg
(
r
)}).
catch
(
function
(
t
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
showShortDetail
:
function
(
t
){
this
.
showTagDetail
=!
0
,
this
.
tagShortDetailId
=
t
},
updateTemp
:
function
(){
this
.
$refs
.
tagTemp
.
getTagList
(),
this
.
$refs
.
tagTemp
.
showTagList
()},
getUrlParams
:
function
(){
this
.
tagSearch
=
this
.
$route
.
query
.
searchName
?
this
.
$route
.
query
.
searchName
:
""
,
this
.
currentGroupId
=
this
.
$route
.
query
.
tagLevelGroupId
?
this
.
$route
.
query
.
tagLevelGroupId
:
0
,
this
.
currentPage
=
this
.
$route
.
query
.
currentPage
?
parseInt
(
this
.
$route
.
query
.
currentPage
):
1
,
this
.
getTagList
()}},
watch
:{
$route
:{
handler
:
function
(
t
,
e
){
this
.
getUrlParams
()},
deep
:
!
0
}},
mounted
:
function
(){
this
.
getUrlParams
()},
components
:{
navCrumb
:
r
.
a
,
tagShortDetail
:
i
.
a
,
tagCategory
:
n
.
a
,
tagTemporary
:
o
.
a
}},
h
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"myTagList-wrap common-wrap"
},[
a
(
"nav-crumb"
,{
attrs
:{
navpath
:
t
.
navpath
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"right-content"
},[
a
(
"div"
,{
staticClass
:
"right-box"
},[
a
(
"div"
,{
staticClass
:
"common-wrap__cateTags"
},[
a
(
"tag-category"
,{
attrs
:{
tagLibName
:
t
.
tagLibName
}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"common-wrap__opt"
},[
a
(
"el-input"
,{
staticClass
:
"w-184"
,
attrs
:{
placeholder
:
"搜索标签"
,
"prefix-icon"
:
"el-icon-search"
,
clearable
:
""
},
on
:{
clear
:
t
.
clearSearch
},
nativeOn
:{
keyup
:
function
(
e
){
return
"button"
in
e
||!
t
.
_k
(
e
.
keyCode
,
"enter"
,
13
,
e
.
key
,
"Enter"
)?(
a
=
e
,
t
.
searchEnterFun
(
a
)):
null
;
var
a
}},
model
:{
value
:
t
.
tagSearch
,
callback
:
function
(
e
){
t
.
tagSearch
=
e
},
expression
:
"tagSearch"
}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"common-wrap__table m-t-20"
},[
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
t
.
tagTableData
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"标签名称"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"span"
,{
staticClass
:
"pointer name-hover"
,
on
:{
click
:
function
(
a
){
t
.
addTemporary
(
e
.
row
.
tagId
)}}},[
t
.
_v
(
t
.
_s
(
e
.
row
.
tagName
))])]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"tagDescribe"
,
label
:
"标签描述"
,
"show-overflow-tooltip"
:
""
}}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"是否实时"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
t
.
_v
(
"
\
n "
+
t
.
_s
(
1
==
e
.
row
.
isActive
?
"实时"
:
"非实时"
)
+
"
\
n "
)]}}])}),
t
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
},
scopedSlots
:
t
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"router-link"
,{
staticClass
:
"edit-btn el-button--text"
,
attrs
:{
to
:{
path
:
"/myTagDetail"
,
query
:{
tagId
:
e
.
row
.
tagId
}}}},[
t
.
_v
(
"详情"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
staticClass
:
"p-l-10"
,
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
t
.
addTemporary
(
e
.
row
.
tagId
)}}},[
t
.
_v
(
"添加至暂存架"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
slot
:
"reference"
,
type
:
"text"
},
on
:{
click
:
function
(
a
){
t
.
toDelTag
(
e
.
$index
,
e
.
row
)}},
slot
:
"reference"
},[
t
.
_v
(
"
\
n 删除
\
n "
)])]}}])})],
1
)],
1
),
t
.
_v
(
" "
),
0
!=
t
.
tagTableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right"
},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
t
.
currentPage
,
"page-sizes"
:[
10
,
20
,
30
,
40
],
"page-size"
:
t
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
t
.
total
},
on
:{
"size-change"
:
t
.
handleSizeChange
,
"current-change"
:
t
.
handleCurrentChange
}})],
1
):
t
.
_e
()])]),
t
.
_v
(
" "
),
a
(
"vue-gic-footer"
),
t
.
_v
(
" "
),
a
(
"tagShortDetail"
,{
attrs
:{
fromFlag
:
t
.
fromFlag
,
tagShortId
:
t
.
tagShortDetailId
,
showTagDetail
:
t
.
showTagDetail
},
on
:{
"update:tagShortId"
:
function
(
e
){
t
.
tagShortDetailId
=
e
},
hideTag
:
t
.
handleHideTag
,
updateTemp
:
t
.
updateTemp
}}),
t
.
_v
(
" "
),
a
(
"tag-temporary"
,{
ref
:
"tagTemp"
,
on
:{
showShortDetail
:
t
.
showShortDetail
}})],
1
)},
staticRenderFns
:[]};
var
p
=
a
(
"VU/8"
)(
c
,
h
,
!
1
,
function
(
t
){
a
(
"t93m"
)},
"data-v-3a7d50ff"
,
null
);
e
.
default
=
p
.
exports
},
t93m
:
function
(
t
,
e
){}});
\ No newline at end of file
dist/static/js/
19.cc399b1ad6cf5d45b9c1
.js
→
dist/static/js/
20.1946712fb38c8c21216c
.js
View file @
48b3200f
webpackJsonp
([
19
],{
FgjO
:
function
(
t
,
e
){},
Gy5W
:
function
(
t
,
e
,
n
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
o
=
n
(
"5reh"
),
i
=
{
name
:
"App"
,
data
:
function
(){
return
{
projectName
:
"member-tag"
,
contentHeight
:
"0px"
,
collapseFlag
:
!
1
,
leftModulesName
:
"会员标签"
}},
methods
:{
toRouterView
:
function
(
t
){
this
.
$router
.
push
({
path
:
t
.
path
})},
collapseTag
:
function
(
t
){
this
.
collapseFlag
=
t
}},
mounted
:
function
(){
this
.
$store
.
commit
(
o
.
d
,
"达摩GIC"
),
document
.
title
=
this
.
$store
.
state
.
title
,
this
.
pathName
=
window
.
location
.
hash
.
split
(
"/"
)[
1
],
this
.
contentHeight
=
(
document
.
documentElement
.
clientHeight
||
document
.
body
.
clientHeight
)
-
64
+
"px"
},
components
:{}},
s
=
{
render
:
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,{
attrs
:{
id
:
"index"
}},[
e
(
"vue-gic-header"
,{
attrs
:{
projectName
:
this
.
projectName
,
collapseFlag
:
this
.
collapseFlag
},
on
:{
collapseTag
:
this
.
collapseTag
,
toRouterView
:
this
.
toRouterView
}}),
this
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"content"
,
attrs
:{
id
:
"content"
}},[
e
(
"div"
,{
staticClass
:
"content-body"
,
style
:{
height
:
this
.
contentHeight
}},[
e
(
"transition"
,{
attrs
:{
name
:
"fade"
,
mode
:
"out-in"
}},[
e
(
"router-view"
)],
1
)],
1
)])],
1
)},
staticRenderFns
:[]};
var
a
=
n
(
"VU/8"
)(
i
,
s
,
!
1
,
function
(
t
){
n
(
"FgjO"
)},
null
,
null
);
e
.
default
=
a
.
exports
}});
\ No newline at end of file
webpackJsonp
([
20
],{
FgjO
:
function
(
t
,
e
){},
Gy5W
:
function
(
t
,
e
,
n
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
o
=
n
(
"5reh"
),
i
=
{
name
:
"App"
,
data
:
function
(){
return
{
projectName
:
"member-tag"
,
contentHeight
:
"0px"
,
collapseFlag
:
!
1
,
leftModulesName
:
"会员标签"
}},
methods
:{
toRouterView
:
function
(
t
){
this
.
$router
.
push
({
path
:
t
.
path
})},
collapseTag
:
function
(
t
){
this
.
collapseFlag
=
t
}},
mounted
:
function
(){
this
.
$store
.
commit
(
o
.
d
,
"达摩GIC"
),
document
.
title
=
this
.
$store
.
state
.
title
,
this
.
pathName
=
window
.
location
.
hash
.
split
(
"/"
)[
1
],
this
.
contentHeight
=
(
document
.
documentElement
.
clientHeight
||
document
.
body
.
clientHeight
)
-
64
+
"px"
},
components
:{}},
s
=
{
render
:
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,{
attrs
:{
id
:
"index"
}},[
e
(
"vue-gic-header"
,{
attrs
:{
projectName
:
this
.
projectName
,
collapseFlag
:
this
.
collapseFlag
},
on
:{
collapseTag
:
this
.
collapseTag
,
toRouterView
:
this
.
toRouterView
}}),
this
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"content"
,
attrs
:{
id
:
"content"
}},[
e
(
"div"
,{
staticClass
:
"content-body"
,
style
:{
height
:
this
.
contentHeight
}},[
e
(
"transition"
,{
attrs
:{
name
:
"fade"
,
mode
:
"out-in"
}},[
e
(
"router-view"
)],
1
)],
1
)])],
1
)},
staticRenderFns
:[]};
var
a
=
n
(
"VU/8"
)(
i
,
s
,
!
1
,
function
(
t
){
n
(
"FgjO"
)},
null
,
null
);
e
.
default
=
a
.
exports
}});
\ No newline at end of file
dist/static/js/2
0.c0fd20c776f2a12eb487
.js
→
dist/static/js/2
1.cddba7dc7ab68dc8a3b0
.js
View file @
48b3200f
webpackJsonp
([
20
],{
bFqx
:
function
(
e
,
t
){},
oVck
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
r
=
a
(
"3Xzz"
),
o
=
(
a
(
"Mk6G"
),
a
(
"3E4D"
),
a
(
"Ch4/"
)),
n
=
function
(
e
,
t
){
function
a
(
e
){
return
(
e
=
e
.
toString
())[
1
]?
e
:
"0"
+
e
}
if
(
null
!=
e
){
var
r
=
new
Date
(
e
),
o
=
r
.
getFullYear
(),
n
=
r
.
getMonth
()
+
1
,
s
=
r
.
getDate
(),
i
=
r
.
getHours
(),
u
=
r
.
getMinutes
(),
l
=
r
.
getSeconds
();
return
[
o
,
n
,
s
].
map
(
a
).
join
(
t
||
"-"
)
+
" "
+
[
i
,
u
,
l
].
map
(
a
).
join
(
":"
)}
return
"--"
},
s
=
(
a
(
"PI0u"
),
a
(
"P9l9"
)),
i
=
{
name
:
"memberGroupList"
,
components
:{
navCrumb
:
r
.
a
},
data
:
function
(){
return
{
dialogVisible
:
!
0
,
navpath
:[{
name
:
"首页"
,
path
:
window
.
origin
+
"/report/#/memberSummary"
,
relocation
:
!
0
},{
name
:
"会员管理"
,
path
:
""
},{
name
:
"会员分组"
,
path
:
""
}],
tagSearch
:
""
,
groupTableData
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
groupSetShow
:
!
1
,
loading
:
!
1
,
statusSelect
:
""
}},
created
:
function
(){
this
.
loading
=!
0
},
filters
:{
formatTimeYMD
:
function
(
e
){
return
e
&&
"- -"
!=
e
?
e
.
split
(
" "
)[
0
]:
"--"
},
formatTimeHMS
:
function
(
e
){
return
e
&&
"- -"
!=
e
?
e
.
split
(
" "
)[
1
]:
"--"
},
formatNum
:
function
(
e
){
return
(
e
+
""
).
replace
(
/
\d{1,3}(?=(\d{3})
+$
)
/g
,
"$&,"
)},
formatUpdateFrequency
:
function
(
e
,
t
){
switch
(
e
){
case
1
:
return
"每天一次"
;
case
2
:
return
t
?
"每周"
+
[
"一"
,
"二"
,
"三"
,
"四"
,
"五"
,
"六"
,
"日"
][
t
-
1
]:
"每周一次"
;
case
3
:
return
t
?
"每月"
+
t
+
"号"
:
"每月一次"
;
default
:
return
"--"
}}},
methods
:{
setRowClassName
:
function
(
e
){
e
.
row
,
e
.
rowIndex
},
showGroupSet
:
function
(){
this
.
groupSetShow
=!
0
},
changeRoute
:
function
(
e
){
this
.
$router
.
push
(
e
)},
toAddGroup
:
function
(){
this
.
changeRoute
(
"/memberGroupEdit"
)},
clearSearch
:
function
(){
this
.
currentPage
=
1
,
this
.
getGroupList
()},
searchEnterFun
:
function
(
e
){
this
.
currentPage
=
1
,
this
.
getGroupList
()},
handleSizeChange
:
function
(
e
){
this
.
pageSize
=
e
,
this
.
getGroupList
()},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getGroupList
()},
toInvalid
:
function
(
e
){
var
t
=
this
;
t
.
$confirm
(
"该分组失效后,不再更新数据,确认要失效吗?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
t
.
loading
=!
0
;
var
a
=
{
effectiveStatus
:
"0"
,
memberTagGroupId
:
e
.
memberTagGroupId
};
t
.
updateGroup
(
a
,
e
)}).
catch
(
function
(){})},
switchAppStatus
:
function
(
e
,
t
){
console
.
log
(
e
,
t
);
this
.
loading
=!
0
;
var
a
=
{
memberTagGroupId
:
t
.
memberTagGroupId
,
appStatus
:
e
};
this
.
updateGroup
(
a
,
t
)},
refreshGroup
:
function
(
e
){
var
t
=
this
;
t
.
loading
=!
0
;
var
a
=
{
memberTagGroupId
:
e
.
memberTagGroupId
};
Object
(
s
.
a
)(
"/member-tag-member/getMemberCountByGroupId.json"
,
a
).
then
(
function
(
a
){
e
.
memberCount
=
a
.
data
.
result
,
t
.
loading
=!
1
}).
catch
(
function
(
e
){
t
.
loading
=!
1
})},
updateGroup
:
function
(
e
,
t
){
var
a
=
this
;
Object
(
s
.
a
)(
"/member-tag-group/simpleUpdate.json"
,
e
).
then
(
function
(
r
){
t
.
effectiveStatus
=
e
.
effectiveStatus
||
t
.
effectiveStatus
,
t
.
memberCount
=
e
.
memberCount
||
0
==
e
.
memberCount
?
e
.
memberCount
:
t
.
memberCount
,
a
.
loading
=!
1
,
a
.
$message
.
success
({
duration
:
1
e3
,
message
:
"操作成功!"
}),
a
.
loading
=!
1
}).
catch
(
function
(
e
){
a
.
loading
=!
1
})},
cancelDelTag
:
function
(
e
,
t
){
t
.
popVisible
=!
1
},
toDelTag
:
function
(
e
,
t
){
var
a
=
this
;
a
.
$confirm
(
"该分组覆盖"
+
a
.
$options
.
filters
.
formatNum
(
e
.
memberCount
||
0
)
+
"人,一旦删除无法恢复,确认要删除吗?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
loading
=!
0
,
a
.
delGroup
(
e
.
memberTagGroupId
,
t
)}).
catch
(
function
(){})},
delGroup
:
function
(
e
,
t
){
var
a
=
this
,
r
=
{
memberTagGroupId
:
e
};
Object
(
s
.
a
)(
"/member-tag-group/delete.json"
,
r
).
then
(
function
(
e
){
var
r
=
e
.
data
;
if
(
a
.
loading
=!
1
,
1
==
r
.
errorCode
)
return
a
.
groupTableData
.
splice
(
t
,
1
),
void
a
.
$message
.
success
({
duration
:
1
e3
,
message
:
"删除成功!"
});
200003
!=
r
.
errorCode
?
o
.
a
.
errorMsg
(
r
):
a
.
$confirm
(
"该分组正在被活动使用,无法删除!"
,
"提示"
,{
confirmButtonText
:
"确定"
,
type
:
"warning"
})}).
catch
(
function
(
e
){
a
.
loading
=!
1
,
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
searchByStatus
:
function
(
e
){
this
.
loading
=!
0
,
console
.
log
(
e
,
this
.
statusSelect
),
this
.
getGroupList
()},
getGroupList
:
function
(){
var
e
=
this
,
t
=
{
groupName
:
e
.
tagSearch
,
pageSize
:
e
.
pageSize
,
pageNum
:
e
.
currentPage
,
effectiveStatus
:
e
.
statusSelect
};
Object
(
s
.
a
)(
"/member-tag-group/findList.json"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
e
.
total
=
a
.
result
.
totalCount
,
a
.
result
.
result
.
forEach
(
function
(
e
,
t
){
e
.
latestUpdateTime
||
(
e
.
latestUpdateTime
=
"- -"
),
e
.
createTime
&&
(
e
.
createTime
=
n
(
e
.
createTime
))}),
e
.
groupTableData
=
a
.
result
.
result
,
void
(
e
.
loading
=!
1
);
e
.
loading
=!
1
,
o
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
loading
=!
1
,
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
mounted
:
function
(){
this
.
getGroupList
()}},
u
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"memberGroupList-wrap common-wrap"
},[
a
(
"nav-crumb"
,{
attrs
:{
navpath
:
e
.
navpath
}}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"right-content"
},[
a
(
"div"
,{
staticClass
:
"right-box"
},[
a
(
"div"
,{
staticClass
:
"common-wrap__opt"
},[
a
(
"el-input"
,{
staticClass
:
"w-220 m-r-8"
,
attrs
:{
placeholder
:
"请输入关键字搜索人群"
,
"prefix-icon"
:
"el-icon-search"
,
clearable
:
""
},
on
:{
clear
:
e
.
clearSearch
},
nativeOn
:{
keyup
:
function
(
t
){
return
"button"
in
t
||!
e
.
_k
(
t
.
keyCode
,
"enter"
,
13
,
t
.
key
,
"Enter"
)?
e
.
searchEnterFun
(
t
):
null
}},
model
:{
value
:
e
.
tagSearch
,
callback
:
function
(
t
){
e
.
tagSearch
=
t
},
expression
:
"tagSearch"
}}),
e
.
_v
(
" "
),
a
(
"el-select"
,{
staticClass
:
"w-220 m-l-0"
,
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
e
.
searchByStatus
},
model
:{
value
:
e
.
statusSelect
,
callback
:
function
(
t
){
e
.
statusSelect
=
t
},
expression
:
"statusSelect"
}},[
a
(
"el-option"
,{
key
:
0
,
attrs
:{
label
:
"失效"
,
value
:
0
}}),
e
.
_v
(
" "
),
a
(
"el-option"
,{
key
:
1
,
attrs
:{
label
:
"有效"
,
value
:
1
}}),
e
.
_v
(
" "
),
a
(
"el-option"
,{
key
:
""
,
attrs
:{
label
:
"全部"
,
value
:
""
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-button"
,{
staticClass
:
"fr"
,
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
toAddGroup
}},[
e
.
_v
(
"新增分组"
)])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"common-wrap__table m-t-20"
},[
a
(
"el-table"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
e
.
loading
,
expression
:
"loading"
}],
ref
:
"multipleTable"
,
staticStyle
:{
width
:
"100%"
},
attrs
:{
"row-class-name"
:
e
.
setRowClassName
,
data
:
e
.
groupTableData
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"分组名称"
,
width
:
"150px"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-popover"
,{
attrs
:{
placement
:
"top-start"
,
width
:
"200"
,
trigger
:
"hover"
}},[
a
(
"div"
,[
a
(
"p"
,[
e
.
_v
(
"名称:"
+
e
.
_s
(
t
.
row
.
groupName
))]),
e
.
_v
(
" "
),
a
(
"p"
,[
e
.
_v
(
"描述:"
+
e
.
_s
(
t
.
row
.
describle
))])]),
e
.
_v
(
" "
),
a
(
"a"
,{
staticClass
:
"pointer a-href"
,
attrs
:{
slot
:
"reference"
,
href
:
"#/memberGroupDetail?memberTagGroupId="
+
t
.
row
.
memberTagGroupId
},
slot
:
"reference"
},[
e
.
_v
(
e
.
_s
(
t
.
row
.
groupName
))])])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"是否实时"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
1
==
t
.
row
.
isRealTime
?
"实时"
:
"非实时"
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"最近更新时间"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"p"
,{
staticClass
:
"h-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeYMD"
)(
t
.
row
.
latestUpdateTime
)))]),
e
.
_v
(
" "
),
a
(
"p"
,{
staticClass
:
"h-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeHMS"
)(
t
.
row
.
latestUpdateTime
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"更新频率"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
0
==
t
.
row
.
isRealTime
?[
e
.
_v
(
"
\
n "
+
e
.
_s
((
t
.
row
.
updateType
,
t
.
row
.
updateDay
|
e
.
formatUpdateFrequency
))
+
"
\
n "
)]:[
e
.
_v
(
"
\
n --
\
n "
)]]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"state"
,
label
:
"状态"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
1
==
t
.
row
.
effectiveStatus
?
"有效"
:
"失效"
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"peopleCover"
,
label
:
"覆盖人数"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
e
.
_f
(
"formatNum"
)(
t
.
row
.
memberCount
||
0
))
+
" 人
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"appStatus"
,
label
:
"好办展示"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-switch"
,{
attrs
:{
"active-value"
:
1
,
"inactive-value"
:
0
,
"active-color"
:
"#1890ff"
},
on
:{
change
:
function
(
a
){
e
.
switchAppStatus
(
t
.
row
.
appStatus
,
t
.
row
)}},
model
:{
value
:
t
.
row
.
appStatus
,
callback
:
function
(
a
){
e
.
$set
(
t
.
row
,
"appStatus"
,
a
)},
expression
:
"scope.row.appStatus"
}})]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"createTime"
,
label
:
"创建时间"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"p"
,{
staticClass
:
"h-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeYMD"
)(
t
.
row
.
createTime
)))]),
e
.
_v
(
" "
),
a
(
"p"
,{
staticClass
:
"h-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeHMS"
)(
t
.
row
.
createTime
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"recentUpdateDate"
,
label
:
"到期时间"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"p"
,{
staticClass
:
"h-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeYMD"
)(
t
.
row
.
effectiveDate
)))]),
e
.
_v
(
" "
),
a
(
"p"
,{
staticClass
:
"h-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeHMS"
)(
t
.
row
.
effectiveDate
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
width
:
"257px"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
1
==
t
.
row
.
effectiveStatus
?
a
(
"el-button"
,{
staticClass
:
"p-r-12"
,
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
e
.
toInvalid
(
t
.
row
)}}},[
e
.
_v
(
"失效"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
a
(
"router-link"
,{
staticClass
:
"edit-btn el-button--text p-r-12"
,
attrs
:{
to
:{
path
:
"/memberGroupDetail"
,
query
:{
memberTagGroupId
:
t
.
row
.
memberTagGroupId
}}}},[
e
.
_v
(
"详情"
)]),
e
.
_v
(
" "
),
a
(
"router-link"
,{
staticClass
:
"edit-btn el-button--text p-r-12"
,
attrs
:{
to
:{
path
:
"/memberGroupEdit"
,
query
:{
memberTagGroupId
:
t
.
row
.
memberTagGroupId
}}}},[
e
.
_v
(
"编辑"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
staticClass
:
"p-r-12"
,
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
e
.
toDelTag
(
t
.
row
,
t
.
$index
)}}},[
e
.
_v
(
"删除"
)]),
e
.
_v
(
" "
),
a
(
"el-popover"
,{
attrs
:{
placement
:
"top"
,
width
:
"50"
,
trigger
:
"hover"
}},[
e
.
_v
(
"
\
n 刷新覆盖人数
\
n "
),
a
(
"el-button"
,{
attrs
:{
slot
:
"reference"
,
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
e
.
refreshGroup
(
t
.
row
)}},
slot
:
"reference"
},[
e
.
_v
(
"刷新"
)])],
1
)]}}])})],
1
)],
1
),
e
.
_v
(
" "
),
0
!=
e
.
groupTableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right"
},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
e
.
currentPage
,
"page-sizes"
:[
10
,
20
,
30
,
40
],
"page-size"
:
e
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
e
.
total
},
on
:{
"size-change"
:
e
.
handleSizeChange
,
"current-change"
:
e
.
handleCurrentChange
}})],
1
):
e
.
_e
()])]),
e
.
_v
(
" "
),
a
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[]};
var
l
=
a
(
"VU/8"
)(
i
,
u
,
!
1
,
function
(
e
){
a
(
"bFqx"
)},
null
,
null
);
t
.
default
=
l
.
exports
}});
\ No newline at end of file
webpackJsonp
([
21
],{
bFqx
:
function
(
e
,
t
){},
oVck
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
r
=
a
(
"3Xzz"
),
o
=
(
a
(
"Mk6G"
),
a
(
"3E4D"
),
a
(
"Ch4/"
)),
n
=
function
(
e
,
t
){
function
a
(
e
){
return
(
e
=
e
.
toString
())[
1
]?
e
:
"0"
+
e
}
if
(
null
!=
e
){
var
r
=
new
Date
(
e
),
o
=
r
.
getFullYear
(),
n
=
r
.
getMonth
()
+
1
,
s
=
r
.
getDate
(),
i
=
r
.
getHours
(),
u
=
r
.
getMinutes
(),
l
=
r
.
getSeconds
();
return
[
o
,
n
,
s
].
map
(
a
).
join
(
t
||
"-"
)
+
" "
+
[
i
,
u
,
l
].
map
(
a
).
join
(
":"
)}
return
"--"
},
s
=
(
a
(
"PI0u"
),
a
(
"P9l9"
)),
i
=
{
name
:
"memberGroupList"
,
components
:{
navCrumb
:
r
.
a
},
data
:
function
(){
return
{
dialogVisible
:
!
0
,
navpath
:[{
name
:
"首页"
,
path
:
window
.
origin
+
"/report/#/memberSummary"
,
relocation
:
!
0
},{
name
:
"会员管理"
,
path
:
""
},{
name
:
"会员分组"
,
path
:
""
}],
tagSearch
:
""
,
groupTableData
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
groupSetShow
:
!
1
,
loading
:
!
1
,
statusSelect
:
""
}},
created
:
function
(){
this
.
loading
=!
0
},
filters
:{
formatTimeYMD
:
function
(
e
){
return
e
&&
"- -"
!=
e
?
e
.
split
(
" "
)[
0
]:
"--"
},
formatTimeHMS
:
function
(
e
){
return
e
&&
"- -"
!=
e
?
e
.
split
(
" "
)[
1
]:
"--"
},
formatNum
:
function
(
e
){
return
(
e
+
""
).
replace
(
/
\d{1,3}(?=(\d{3})
+$
)
/g
,
"$&,"
)},
formatUpdateFrequency
:
function
(
e
,
t
){
switch
(
e
){
case
1
:
return
"每天一次"
;
case
2
:
return
t
?
"每周"
+
[
"一"
,
"二"
,
"三"
,
"四"
,
"五"
,
"六"
,
"日"
][
t
-
1
]:
"每周一次"
;
case
3
:
return
t
?
"每月"
+
t
+
"号"
:
"每月一次"
;
default
:
return
"--"
}}},
methods
:{
setRowClassName
:
function
(
e
){
e
.
row
,
e
.
rowIndex
},
showGroupSet
:
function
(){
this
.
groupSetShow
=!
0
},
changeRoute
:
function
(
e
){
this
.
$router
.
push
(
e
)},
toAddGroup
:
function
(){
this
.
changeRoute
(
"/memberGroupEdit"
)},
clearSearch
:
function
(){
this
.
currentPage
=
1
,
this
.
getGroupList
()},
searchEnterFun
:
function
(
e
){
this
.
currentPage
=
1
,
this
.
getGroupList
()},
handleSizeChange
:
function
(
e
){
this
.
pageSize
=
e
,
this
.
getGroupList
()},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getGroupList
()},
toInvalid
:
function
(
e
){
var
t
=
this
;
t
.
$confirm
(
"该分组失效后,不再更新数据,确认要失效吗?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
t
.
loading
=!
0
;
var
a
=
{
effectiveStatus
:
"0"
,
memberTagGroupId
:
e
.
memberTagGroupId
};
t
.
updateGroup
(
a
,
e
)}).
catch
(
function
(){})},
switchAppStatus
:
function
(
e
,
t
){
console
.
log
(
e
,
t
);
this
.
loading
=!
0
;
var
a
=
{
memberTagGroupId
:
t
.
memberTagGroupId
,
appStatus
:
e
};
this
.
updateGroup
(
a
,
t
)},
refreshGroup
:
function
(
e
){
var
t
=
this
;
t
.
loading
=!
0
;
var
a
=
{
memberTagGroupId
:
e
.
memberTagGroupId
};
Object
(
s
.
a
)(
"/member-tag-member/getMemberCountByGroupId.json"
,
a
).
then
(
function
(
a
){
e
.
memberCount
=
a
.
data
.
result
,
t
.
loading
=!
1
}).
catch
(
function
(
e
){
t
.
loading
=!
1
})},
updateGroup
:
function
(
e
,
t
){
var
a
=
this
;
Object
(
s
.
a
)(
"/member-tag-group/simpleUpdate.json"
,
e
).
then
(
function
(
r
){
t
.
effectiveStatus
=
e
.
effectiveStatus
||
t
.
effectiveStatus
,
t
.
memberCount
=
e
.
memberCount
||
0
==
e
.
memberCount
?
e
.
memberCount
:
t
.
memberCount
,
a
.
loading
=!
1
,
a
.
$message
.
success
({
duration
:
1
e3
,
message
:
"操作成功!"
}),
a
.
loading
=!
1
}).
catch
(
function
(
e
){
a
.
loading
=!
1
})},
cancelDelTag
:
function
(
e
,
t
){
t
.
popVisible
=!
1
},
toDelTag
:
function
(
e
,
t
){
var
a
=
this
;
a
.
$confirm
(
"该分组覆盖"
+
a
.
$options
.
filters
.
formatNum
(
e
.
memberCount
||
0
)
+
"人,一旦删除无法恢复,确认要删除吗?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
loading
=!
0
,
a
.
delGroup
(
e
.
memberTagGroupId
,
t
)}).
catch
(
function
(){})},
delGroup
:
function
(
e
,
t
){
var
a
=
this
,
r
=
{
memberTagGroupId
:
e
};
Object
(
s
.
a
)(
"/member-tag-group/delete.json"
,
r
).
then
(
function
(
e
){
var
r
=
e
.
data
;
if
(
a
.
loading
=!
1
,
1
==
r
.
errorCode
)
return
a
.
groupTableData
.
splice
(
t
,
1
),
void
a
.
$message
.
success
({
duration
:
1
e3
,
message
:
"删除成功!"
});
200003
!=
r
.
errorCode
?
o
.
a
.
errorMsg
(
r
):
a
.
$confirm
(
"该分组正在被活动使用,无法删除!"
,
"提示"
,{
confirmButtonText
:
"确定"
,
type
:
"warning"
})}).
catch
(
function
(
e
){
a
.
loading
=!
1
,
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
searchByStatus
:
function
(
e
){
this
.
loading
=!
0
,
console
.
log
(
e
,
this
.
statusSelect
),
this
.
getGroupList
()},
getGroupList
:
function
(){
var
e
=
this
,
t
=
{
groupName
:
e
.
tagSearch
,
pageSize
:
e
.
pageSize
,
pageNum
:
e
.
currentPage
,
effectiveStatus
:
e
.
statusSelect
};
Object
(
s
.
a
)(
"/member-tag-group/findList.json"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
e
.
total
=
a
.
result
.
totalCount
,
a
.
result
.
result
.
forEach
(
function
(
e
,
t
){
e
.
latestUpdateTime
||
(
e
.
latestUpdateTime
=
"- -"
),
e
.
createTime
&&
(
e
.
createTime
=
n
(
e
.
createTime
))}),
e
.
groupTableData
=
a
.
result
.
result
,
void
(
e
.
loading
=!
1
);
e
.
loading
=!
1
,
o
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
loading
=!
1
,
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
mounted
:
function
(){
this
.
getGroupList
()}},
u
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"memberGroupList-wrap common-wrap"
},[
a
(
"nav-crumb"
,{
attrs
:{
navpath
:
e
.
navpath
}}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"right-content"
},[
a
(
"div"
,{
staticClass
:
"right-box"
},[
a
(
"div"
,{
staticClass
:
"common-wrap__opt"
},[
a
(
"el-input"
,{
staticClass
:
"w-220 m-r-8"
,
attrs
:{
placeholder
:
"请输入关键字搜索人群"
,
"prefix-icon"
:
"el-icon-search"
,
clearable
:
""
},
on
:{
clear
:
e
.
clearSearch
},
nativeOn
:{
keyup
:
function
(
t
){
return
"button"
in
t
||!
e
.
_k
(
t
.
keyCode
,
"enter"
,
13
,
t
.
key
,
"Enter"
)?
e
.
searchEnterFun
(
t
):
null
}},
model
:{
value
:
e
.
tagSearch
,
callback
:
function
(
t
){
e
.
tagSearch
=
t
},
expression
:
"tagSearch"
}}),
e
.
_v
(
" "
),
a
(
"el-select"
,{
staticClass
:
"w-220 m-l-0"
,
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
e
.
searchByStatus
},
model
:{
value
:
e
.
statusSelect
,
callback
:
function
(
t
){
e
.
statusSelect
=
t
},
expression
:
"statusSelect"
}},[
a
(
"el-option"
,{
key
:
0
,
attrs
:{
label
:
"失效"
,
value
:
0
}}),
e
.
_v
(
" "
),
a
(
"el-option"
,{
key
:
1
,
attrs
:{
label
:
"有效"
,
value
:
1
}}),
e
.
_v
(
" "
),
a
(
"el-option"
,{
key
:
""
,
attrs
:{
label
:
"全部"
,
value
:
""
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-button"
,{
staticClass
:
"fr"
,
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
toAddGroup
}},[
e
.
_v
(
"新增分组"
)])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"common-wrap__table m-t-20"
},[
a
(
"el-table"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
e
.
loading
,
expression
:
"loading"
}],
ref
:
"multipleTable"
,
staticStyle
:{
width
:
"100%"
},
attrs
:{
"row-class-name"
:
e
.
setRowClassName
,
data
:
e
.
groupTableData
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"分组名称"
,
width
:
"150px"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-popover"
,{
attrs
:{
placement
:
"top-start"
,
width
:
"200"
,
trigger
:
"hover"
}},[
a
(
"div"
,[
a
(
"p"
,[
e
.
_v
(
"名称:"
+
e
.
_s
(
t
.
row
.
groupName
))]),
e
.
_v
(
" "
),
a
(
"p"
,[
e
.
_v
(
"描述:"
+
e
.
_s
(
t
.
row
.
describle
))])]),
e
.
_v
(
" "
),
a
(
"a"
,{
staticClass
:
"pointer a-href"
,
attrs
:{
slot
:
"reference"
,
href
:
"#/memberGroupDetail?memberTagGroupId="
+
t
.
row
.
memberTagGroupId
},
slot
:
"reference"
},[
e
.
_v
(
e
.
_s
(
t
.
row
.
groupName
))])])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"是否实时"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
1
==
t
.
row
.
isRealTime
?
"实时"
:
"非实时"
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"最近更新时间"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"p"
,{
staticClass
:
"h-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeYMD"
)(
t
.
row
.
latestUpdateTime
)))]),
e
.
_v
(
" "
),
a
(
"p"
,{
staticClass
:
"h-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeHMS"
)(
t
.
row
.
latestUpdateTime
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"更新频率"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
0
==
t
.
row
.
isRealTime
?[
e
.
_v
(
"
\
n "
+
e
.
_s
((
t
.
row
.
updateType
,
t
.
row
.
updateDay
|
e
.
formatUpdateFrequency
))
+
"
\
n "
)]:[
e
.
_v
(
"
\
n --
\
n "
)]]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"state"
,
label
:
"状态"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
1
==
t
.
row
.
effectiveStatus
?
"有效"
:
"失效"
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"peopleCover"
,
label
:
"覆盖人数"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
e
.
_f
(
"formatNum"
)(
t
.
row
.
memberCount
||
0
))
+
" 人
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"appStatus"
,
label
:
"好办展示"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-switch"
,{
attrs
:{
"active-value"
:
1
,
"inactive-value"
:
0
,
"active-color"
:
"#1890ff"
},
on
:{
change
:
function
(
a
){
e
.
switchAppStatus
(
t
.
row
.
appStatus
,
t
.
row
)}},
model
:{
value
:
t
.
row
.
appStatus
,
callback
:
function
(
a
){
e
.
$set
(
t
.
row
,
"appStatus"
,
a
)},
expression
:
"scope.row.appStatus"
}})]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"createTime"
,
label
:
"创建时间"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"p"
,{
staticClass
:
"h-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeYMD"
)(
t
.
row
.
createTime
)))]),
e
.
_v
(
" "
),
a
(
"p"
,{
staticClass
:
"h-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeHMS"
)(
t
.
row
.
createTime
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"recentUpdateDate"
,
label
:
"到期时间"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"p"
,{
staticClass
:
"h-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeYMD"
)(
t
.
row
.
effectiveDate
)))]),
e
.
_v
(
" "
),
a
(
"p"
,{
staticClass
:
"h-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeHMS"
)(
t
.
row
.
effectiveDate
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
width
:
"257px"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
1
==
t
.
row
.
effectiveStatus
?
a
(
"el-button"
,{
staticClass
:
"p-r-12"
,
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
e
.
toInvalid
(
t
.
row
)}}},[
e
.
_v
(
"失效"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
a
(
"router-link"
,{
staticClass
:
"edit-btn el-button--text p-r-12"
,
attrs
:{
to
:{
path
:
"/memberGroupDetail"
,
query
:{
memberTagGroupId
:
t
.
row
.
memberTagGroupId
}}}},[
e
.
_v
(
"详情"
)]),
e
.
_v
(
" "
),
a
(
"router-link"
,{
staticClass
:
"edit-btn el-button--text p-r-12"
,
attrs
:{
to
:{
path
:
"/memberGroupEdit"
,
query
:{
memberTagGroupId
:
t
.
row
.
memberTagGroupId
}}}},[
e
.
_v
(
"编辑"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
staticClass
:
"p-r-12"
,
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
e
.
toDelTag
(
t
.
row
,
t
.
$index
)}}},[
e
.
_v
(
"删除"
)]),
e
.
_v
(
" "
),
a
(
"el-popover"
,{
attrs
:{
placement
:
"top"
,
width
:
"50"
,
trigger
:
"hover"
}},[
e
.
_v
(
"
\
n 刷新覆盖人数
\
n "
),
a
(
"el-button"
,{
attrs
:{
slot
:
"reference"
,
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
e
.
refreshGroup
(
t
.
row
)}},
slot
:
"reference"
},[
e
.
_v
(
"刷新"
)])],
1
)]}}])})],
1
)],
1
),
e
.
_v
(
" "
),
0
!=
e
.
groupTableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right"
},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
e
.
currentPage
,
"page-sizes"
:[
10
,
20
,
30
,
40
],
"page-size"
:
e
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
e
.
total
},
on
:{
"size-change"
:
e
.
handleSizeChange
,
"current-change"
:
e
.
handleCurrentChange
}})],
1
):
e
.
_e
()])]),
e
.
_v
(
" "
),
a
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[]};
var
l
=
a
(
"VU/8"
)(
i
,
u
,
!
1
,
function
(
e
){
a
(
"bFqx"
)},
null
,
null
);
t
.
default
=
l
.
exports
}});
\ No newline at end of file
dist/static/js/2
1.e0dc2ef9bacf12967984
.js
→
dist/static/js/2
2.1dc079dea6c2a278c842
.js
View file @
48b3200f
webpackJsonp
([
21
],{
HLON
:
function
(
e
,
t
,
i
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
s
=
i
(
"GXH0"
),
l
=
i
.
n
(
s
),
a
=
i
(
"mw3O"
),
n
=
i
.
n
(
a
),
o
=
{
name
:
"links"
,
props
:[
"linkToolsVisible"
],
data
:
function
(){
return
{
activeName
:
"first"
,
twoLevelVisible
:
!
1
,
threeLevelVisible
:
!
1
,
linksType
:
""
,
linksTypeOptions
:[],
twoLevelValue
:
""
,
twoLevelOptions
:[],
threeLeveloneVisible
:
!
1
,
threeLevelTreeVisible
:
!
1
,
threeLevelSearchVisible
:
!
1
,
threeLevelValue
:
""
,
threeLevelOptions
:[],
h5linkVisible
:
!
1
,
h5linkObj
:{
name
:
""
,
url
:
""
,
fixParam
:
""
,
dynamicPara
:
""
,
dynamicParaOptions
:[{
value
:
"openid"
,
label
:
"openid"
},{
value
:
"unionid"
,
label
:
"unionid"
},{
value
:
"wxOpenid"
,
label
:
"wxOpenid"
},{
value
:
"appkey"
,
label
:
"appkey"
},{
value
:
"enterpriseId"
,
label
:
"enterpriseId"
},{
value
:
"appid"
,
label
:
"appid"
},{
value
:
"memberID"
,
label
:
"memberID"
}]},
mylinkToolsVisible
:
this
.
linkToolsVisible
,
goodsLinksVisible
:
!
1
,
searchGoods
:
""
,
category
:
null
,
categoryOptions
:[],
normalizer
:
function
(
e
){
return
{
id
:
e
.
key
,
label
:
e
.
name
,
children
:
e
.
subOptions
}},
selectGoodId
:
""
,
goodsList
:[],
currentPage
:
1
,
pageSize
:
9
,
total
:
0
,
classify
:
null
,
classifyOptions
:[],
goodsCategory
:
null
,
goodsCategoryOptions
:[],
oneLevelTypeValue
:
""
,
twoLevelSelectValue
:
""
,
threeLevelSelectValue
:
""
,
selectLinkObj
:{
name
:
""
,
url
:
""
}}},
methods
:{
linksTypeChange
:
function
(
e
){
var
t
=
""
;
this
.
linksTypeOptions
.
forEach
(
function
(
i
,
s
){
i
.
linkId
==
e
&&
(
t
=
i
)}),
this
.
oneLevelTypeValue
=
t
.
type
;
var
i
=
5
==
t
.
type
;
this
.
setOneLevelVisible
(
i
,
t
),
this
.
selectLinkObj
.
name
=
""
,
this
.
selectLinkObj
.
url
=
""
,
this
.
twoLevelSelectValue
=
""
,
this
.
threeLevelSelectValue
=
""
},
setOneLevelVisible
:
function
(
e
,
t
){
e
?(
this
.
h5linkVisible
=!
0
,
this
.
twoLevelVisible
=!
1
,
this
.
threeLevelVisible
=!
1
,
this
.
goodsLinksVisible
=!
1
):(
this
.
h5linkVisible
=!
1
,
this
.
twoLevelVisible
=!
0
,
this
.
threeLevelVisible
=!
1
,
this
.
goodsLinksVisible
=!
1
,
this
.
twoLevelValue
=
""
,
this
.
threeLevelValue
=
""
,
this
.
getLinksList
(
t
.
linkId
,
2
))},
twoLevelValueChange
:
function
(
e
){
var
t
=
this
,
i
=
""
;
if
(
t
.
twoLevelOptions
.
forEach
(
function
(
t
,
s
){
e
==
t
.
linkId
&&
(
i
=
t
)}),
1
==
i
.
type
||
4
==
i
.
type
||
6
==
i
.
type
){
if
(
t
.
threeLevelVisible
=!
1
,
t
.
threeLevelValue
=
""
,
t
.
twoLevelSelectValue
=
""
,
t
.
threeLevelSelectValue
=
""
,
t
.
selectLinkObj
.
name
=
""
,
t
.
selectLinkObj
.
url
=
""
,
4
==
i
.
type
)
return
t
.
getGoodsList
(),
t
.
getGoodsCategory
(),
t
.
getGoodsClassify
(),
t
.
threeLevelVisible
=!
1
,
t
.
goodsLinksVisible
=!
0
,
!
1
;
t
.
twoLevelOptions
.
forEach
(
function
(
i
,
s
){
e
==
i
.
value
&&
(
t
.
selectLinkObj
.
name
=
i
.
label
,
t
.
selectLinkObj
.
url
=
i
.
content
)})}
else
{
t
.
goodsLinksVisible
=!
1
,
t
.
threeLevelVisible
=!
0
,
t
.
threeLevelValue
=
""
,
t
.
twoLevelSelectValue
=
""
,
t
.
threeLevelSelectValue
=
""
;
var
s
=
i
.
type
;
if
(
t
.
setThreeVisible
(
s
,
i
),
2
==
s
)
return
t
.
twoLevelSelectValue
=
"sign"
,
!
1
;
if
(
3
==
s
)
return
t
.
twoLevelSelectValue
=
"goodsCate"
,
t
.
getGoodsClassify
(),
!
1
;
t
.
getLinksList
(
i
.
linkId
,
3
,
s
)}},
setThreeVisible
:
function
(
e
,
t
){
switch
(
e
){
case
0
:
this
.
threeLeveloneVisible
=!
0
,
this
.
threeLevelTreeVisible
=!
1
,
this
.
threeLevelSearchVisible
=!
1
;
break
;
case
2
:
this
.
threeLeveloneVisible
=!
1
,
this
.
threeLevelTreeVisible
=!
1
,
this
.
threeLevelSearchVisible
=!
0
,
this
.
selectLinkObj
.
name
=
t
.
name
,
this
.
selectLinkObj
.
url
=
t
.
content
;
break
;
case
3
:
this
.
threeLevelValue
=
null
,
this
.
threeLeveloneVisible
=!
1
,
this
.
threeLevelTreeVisible
=!
0
,
this
.
threeLevelSearchVisible
=!
1
,
this
.
selectLinkObj
.
name
=
t
.
name
,
this
.
selectLinkObj
.
url
=
t
.
content
}},
getGoodsCategory
:
function
(){
var
e
=
this
;
e
.
axios
.
post
(
"http://gicdev.demogic.com:9310/api-mall/list_mall_goods_category"
,
n
.
a
.
stringify
({
filterGoods
:
1
,
parentId
:
"tb-cid-11"
})).
then
(
function
(
t
){
var
i
=
t
.
data
,
s
=
""
;
if
(
0
==
i
.
errorCode
){
i
.
result
.
forEach
(
function
(
e
,
t
){
"-1"
==
e
.
parentId
&&
(
e
.
subOptions
=
[],
e
.
key
=
e
.
mallCategoryId
,
s
=
e
,
i
.
result
.
splice
(
t
,
1
))});
var
l
=
i
.
result
,
a
=
i
.
result
;
return
l
.
forEach
(
function
(
e
,
t
){
0
==
e
.
isLeaf
&&
(
e
.
subOptions
=
null
),
e
.
key
=
e
.
mallCategoryId
,
a
.
forEach
(
function
(
t
,
i
){
t
.
key
=
t
.
mallCategoryId
,
t
.
parentId
==
e
.
mallCategoryId
&&
(
e
.
subOptions
=
[],
e
.
subOptions
.
push
(
t
),
l
.
splice
(
i
,
1
))})}),
l
.
forEach
(
function
(
e
,
t
){
s
.
subOptions
.
push
(
e
)}),
e
.
categoryOptions
=
[],
e
.
categoryOptions
.
push
(
s
),
!
1
}
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
i
.
message
})}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getGoodsClassify
:
function
(){
var
e
=
this
;
e
.
axios
.
post
(
"http://gicdev.demogic.com:9310/api-mall/list_mall_goods_tag_tree"
,
n
.
a
.
stringify
({})).
then
(
function
(
t
){
var
i
=
t
.
data
;
if
(
0
==
i
.
errorCode
){
var
s
=
[
i
.
result
];
return
s
.
forEach
(
function
(
t
,
i
){
t
.
name
=
t
.
tagName
,
t
.
key
=
t
.
mallProTagId
,
t
.
childTagList
&&
(
t
.
subOptions
=
e
.
checkChildren
(
t
.
childTagList
))}),
e
.
goodsCategoryOptions
=
s
,
e
.
classifyOptions
=
s
,
!
1
}
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
i
.
message
})}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
checkChildren
:
function
(
e
){
var
t
=
this
;
return
e
&&
e
.
forEach
(
function
(
e
,
i
){
e
.
name
=
e
.
tagName
,
e
.
key
=
e
.
mallProTagId
,
e
.
childTagList
&&
(
e
.
subOptions
=
t
.
checkChildren
(
e
.
childTagList
))}),
e
},
threeLevelValueChange
:
function
(
e
){},
categorySelect
:
function
(
e
,
t
){
this
.
category
=
e
.
key
,
this
.
getGoodsList
()},
beforeClearCategory
:
function
(
e
,
t
){
this
.
category
=
null
,
this
.
getGoodsList
()},
loadOptions
:
function
(
e
){
var
t
=
e
.
action
,
i
=
e
.
parentNode
;
e
.
callback
;
"LOAD_CHILDREN_OPTIONS"
===
t
&&
i
.
key
&&
this
.
getChildrenNode
(
i
,
i
.
key
)},
getChildrenNode
:
function
(
e
,
t
){
var
i
=
this
,
s
=
{
filterGoods
:
1
,
parentId
:
t
};
i
.
axios
.
post
(
"http://gicdev.demogic.com:9310/api-mall/list_mall_goods_category"
,
n
.
a
.
stringify
(
s
)).
then
(
function
(
t
){
var
s
=
t
.
data
;
0
!=
s
.
errorCode
?
i
.
$message
.
error
({
duration
:
1
e3
,
message
:
s
.
message
}):
e
.
subOptions
=
s
.
result
}).
catch
(
function
(
e
){
i
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
classifySelect
:
function
(
e
,
t
){
this
.
classify
=
e
.
key
,
this
.
getGoodsList
()},
beforeClearClassify
:
function
(
e
,
t
){
this
.
classify
=
null
,
this
.
getGoodsList
()},
goodsCategorySelect
:
function
(
e
,
t
){},
handleClose
:
function
(
e
){
var
t
=
this
;
t
.
$confirm
(
"确认关闭?"
).
then
(
function
(
i
){
e
(),
t
.
mylinkToolsVisible
=!
1
,
t
.
$emit
(
"linkSelect"
)}).
catch
(
function
(
e
){})},
linkSizeChange
:
function
(
e
){
this
.
pageSize
=
e
,
this
.
getGoodsList
()},
linkCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getGoodsList
()},
selectGoodLinkItem
:
function
(
e
){
this
.
selectGoodId
=
e
.
mallProId
,
this
.
selectLinkItem
(
e
)},
selectLinkItem
:
function
(
e
){
this
.
selectLinkObj
.
name
=
e
.
proName
,
this
.
selectLinkObj
.
url
=
e
.
mallProImageUrl
},
toSearchInput
:
function
(
e
){
1
==
this
.
currentPage
?
this
.
getGoodsList
():
this
.
currentPage
=
1
},
clearInput
:
function
(
e
){
1
==
this
.
currentPage
?
this
.
getGoodsList
():
this
.
currentPage
=
1
},
getGoodsList
:
function
(){
var
e
=
this
,
t
=
{
pageNum
:
e
.
currentPage
,
searchparams
:
e
.
searchGoods
||
""
,
pageSize
:
e
.
pageSize
,
mallCategoryId
:
e
.
category
,
tagId
:
e
.
classify
};
e
.
axios
.
post
(
"http://gicdev.demogic.com:9310/api-mall/page-mall-goods"
,
n
.
a
.
stringify
(
t
)).
then
(
function
(
t
){
var
i
=
t
.
data
;
if
(
0
==
i
.
errorCode
)
return
e
.
goodsList
=
i
.
result
.
result
,
void
(
e
.
total
=
i
.
result
.
totalCount
);
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
i
.
message
})}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
remoteMethod
:
function
(
e
){
""
!==
e
?
this
.
getStoreList
(
e
,
this
.
threeLevelValue
):
this
.
threeLevelOptions
=
[]},
cancelLinkSelect
:
function
(){
var
e
=
this
;
e
.
$confirm
(
"确认关闭?"
,
""
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
""
}).
then
(
function
(){
e
.
$emit
(
"linkSelect"
)}).
catch
(
function
(){})},
confirmLinkSelect
:
function
(){
return
5
==
this
.
oneLevelTypeValue
?
this
.
h5linkObj
.
name
.
trim
()
&&
this
.
h5linkObj
.
url
.
trim
()?(
this
.
selectLinkObj
.
name
=
this
.
h5linkObj
.
name
,
this
.
selectLinkObj
.
url
=
this
.
h5linkObj
.
url
+
"?"
+
this
.
h5linkObj
.
fixParam
+
"&"
+
this
.
h5linkObj
.
dynamicPara
,
void
this
.
transData
()):
void
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请填写链接内容"
}):
"sign"
==
this
.
twoLevelSelectValue
?(
this
.
checkTwoLevel
(
this
.
twoLevelSelectValue
),
!
1
):
"goodsCate"
==
this
.
twoLevelSelectValue
?(
this
.
checkTwoLevel
(
this
.
twoLevelSelectValue
),
!
1
):
void
(
this
.
selectLinkObj
.
name
&&
this
.
selectLinkObj
.
url
?
this
.
transData
():
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请选择链接"
}))},
checkTwoLevel
:
function
(
e
){
if
(
!
this
.
threeLevelValue
||!
this
.
threeLevelValue
.
length
)
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请选择"
+
(
"sign"
==
e
?
"门店"
:
"商品分类"
)}),
!
1
;
this
.
selectLinkObj
.
url
=
this
.
selectLinkObj
.
url
+
"?"
+
this
.
threeLevelValue
,
this
.
transData
()},
resetAll
:
function
(){
this
.
h5linkVisible
=!
1
,
this
.
linksType
=
""
,
this
.
twoLevelVisible
=!
1
,
this
.
threeLevelVisible
=!
1
,
this
.
goodsLinksVisible
=!
1
,
this
.
twoLevelValue
=
""
,
this
.
twoLevelSelectValue
=
""
,
this
.
threeLevelValue
=
""
,
this
.
selectLinkObj
=
{
url
:
""
,
name
:
""
},
this
.
currentPage
=
1
,
this
.
total
=
0
,
this
.
pageSize
=
9
,
this
.
searchGoods
=
""
,
this
.
classify
=
null
,
this
.
category
=
null
,
this
.
h5linkObj
.
name
=
""
,
this
.
h5linkObj
.
url
=
""
,
this
.
h5linkObj
.
fixParam
=
""
,
this
.
h5linkObj
.
dynamicPara
=
""
},
transData
:
function
(){
this
.
$emit
(
"linkSelect"
,
this
.
selectLinkObj
),
this
.
resetAll
()},
getLinksList
:
function
(
e
,
t
,
i
){
var
s
=
this
;
i
=
i
||
""
;
var
l
=
{
parentId
:
e
};
s
.
axios
.
post
(
"http://gicdev.demogic.com:9310/api-plug/list-link-data"
,
n
.
a
.
stringify
(
l
)).
then
(
function
(
l
){
var
a
=
l
.
data
;
0
!=
a
.
errorCode
?
s
.
$message
.
error
({
duration
:
1
e3
,
message
:
a
.
message
}):
s
.
setLevelListOptions
(
e
,
a
.
result
,
t
,
i
)}).
catch
(
function
(
e
){
s
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
setLevelListOptions
:
function
(
e
,
t
,
i
,
s
){
return
0
==
e
?(
t
.
forEach
(
function
(
e
,
t
){
e
.
id
=
e
.
linkId
,
e
.
label
=
e
.
name
,
e
.
value
=
e
.
linkId
}),
void
(
this
.
linksTypeOptions
=
t
)):
2
==
i
&&
t
[
0
]?(
t
.
forEach
(
function
(
e
,
t
){
e
.
id
=
e
.
linkId
,
e
.
label
=
e
.
name
,
e
.
value
=
e
.
linkId
}),
void
(
this
.
twoLevelOptions
=
t
)):
void
0
},
getStoreList
:
function
(
e
,
t
){
var
i
=
this
,
s
=
{
searchParam
:
e
,
selectedIds
:
t
.
toString
(),
flag
:
null
};
i
.
axios
.
post
(
"http://gicdev.demogic.com:9310/api-plug/query-store-by-code-name"
,
n
.
a
.
stringify
(
s
)).
then
(
function
(
e
){
var
t
=
e
.
data
;
if
(
0
==
t
.
errorCode
)
return
t
.
result
.
forEach
(
function
(
e
,
t
){
e
.
id
=
e
.
storeId
,
e
.
label
=
e
.
storeName
,
e
.
value
=
e
.
storeId
}),
void
(
i
.
threeLevelOptions
=
t
.
result
);
i
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})}).
catch
(
function
(
e
){
i
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
toLogin
:
function
(){
var
e
=
this
;
e
.
axios
.
post
(
"http://gicdev.demogic.com:9310/api-auth/do-login"
,
n
.
a
.
stringify
({
loginName
:
"damogic"
,
password
:
"1"
,
eid
:
"ff808081593917d90159398ec6340012"
})).
then
(
function
(
t
){
e
.
getLinksList
(
0
,
1
)}).
catch
(
function
(
e
){})}},
watch
:{
linkToolsVisible
:
function
(
e
){
this
.
mylinkToolsVisible
=
e
}},
mounted
:
function
(){
this
.
toLogin
()},
components
:{
Treeselect
:
l
.
a
}},
r
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"div"
,{
staticClass
:
"link-tools-contain"
},[
i
(
"div"
,{
class
:
"first"
==
e
.
activeName
?
"min-1028"
:
"min-720"
},[
i
(
"div"
,{
staticClass
:
"el-dialog"
},[
i
(
"div"
,{
staticClass
:
"el-dialog__body"
},[
i
(
"div"
,{
staticClass
:
"links-types"
},[
i
(
"label"
,{
staticClass
:
"types-title"
},[
e
.
_v
(
"链接类型:"
)]),
e
.
_v
(
" "
),
i
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
e
.
linksTypeChange
},
model
:{
value
:
e
.
linksType
,
callback
:
function
(
t
){
e
.
linksType
=
t
},
expression
:
"linksType"
}},
e
.
_l
(
e
.
linksTypeOptions
,
function
(
e
){
return
i
(
"el-option"
,{
key
:
e
.
value
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})})),
e
.
_v
(
" "
),
e
.
twoLevelVisible
?
i
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
e
.
twoLevelValueChange
},
model
:{
value
:
e
.
twoLevelValue
,
callback
:
function
(
t
){
e
.
twoLevelValue
=
t
},
expression
:
"twoLevelValue"
}},
e
.
_l
(
e
.
twoLevelOptions
,
function
(
e
){
return
i
(
"el-option"
,{
key
:
e
.
value
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})})):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
threeLevelVisible
?
i
(
"div"
,{
staticClass
:
"three-level-wrap"
},[
e
.
threeLevelTreeVisible
?
i
(
"treeselect"
,{
attrs
:{
options
:
e
.
goodsCategoryOptions
,
normalizer
:
e
.
normalizer
,
"default-expand-level"
:
1
,
placeholder
:
"所有分类"
,
noOptionsText
:
"暂无数据"
,
noResultsText
:
"无数据"
},
on
:{
select
:
e
.
goodsCategorySelect
},
model
:{
value
:
e
.
threeLevelValue
,
callback
:
function
(
t
){
e
.
threeLevelValue
=
t
},
expression
:
"threeLevelValue"
}}):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
threeLevelSearchVisible
?
i
(
"el-select"
,{
attrs
:{
multiple
:
""
,
filterable
:
""
,
remote
:
""
,
"reserve-keyword"
:
""
,
placeholder
:
"请输入关键词"
,
"remote-method"
:
e
.
remoteMethod
},
on
:{
change
:
e
.
threeLevelValueChange
},
model
:{
value
:
e
.
threeLevelValue
,
callback
:
function
(
t
){
e
.
threeLevelValue
=
t
},
expression
:
"threeLevelValue"
}},
e
.
_l
(
e
.
threeLevelOptions
,
function
(
e
){
return
i
(
"el-option"
,{
key
:
e
.
value
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})})):
e
.
_e
()],
1
):
e
.
_e
()],
1
),
e
.
_v
(
" "
),
e
.
h5linkVisible
?
i
(
"div"
,{
staticClass
:
"h5link-contain"
},[
i
(
"div"
,{
staticClass
:
"h5link-row"
},[
i
(
"label"
,{
staticClass
:
"h5link-title"
},[
e
.
_v
(
"名称:"
)]),
e
.
_v
(
" "
),
i
(
"el-input"
,{
attrs
:{
placeholder
:
"请输入名称"
},
model
:{
value
:
e
.
h5linkObj
.
name
,
callback
:
function
(
t
){
e
.
$set
(
e
.
h5linkObj
,
"name"
,
t
)},
expression
:
"h5linkObj.name"
}})],
1
),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"h5link-row"
},[
i
(
"label"
,{
staticClass
:
"h5link-title"
},[
e
.
_v
(
"网址:"
)]),
e
.
_v
(
" "
),
i
(
"el-input"
,{
attrs
:{
placeholder
:
"请输入网址"
},
model
:{
value
:
e
.
h5linkObj
.
url
,
callback
:
function
(
t
){
e
.
$set
(
e
.
h5linkObj
,
"url"
,
t
)},
expression
:
"h5linkObj.url"
}}),
i
(
"a"
,{
staticClass
:
"h5link-help"
,
attrs
:{
href
:
"http://doc.demogic.com/doc/index.php?s=/41&page_id=441"
,
target
:
"_blank"
}},[
e
.
_v
(
"【帮助文档】请联系公司技术人员查看文档配置标准链接"
)])],
1
),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"h5link-row"
},[
i
(
"label"
,{
staticClass
:
"h5link-title"
},[
e
.
_v
(
"固定参数:"
)]),
e
.
_v
(
" "
),
i
(
"el-input"
,{
attrs
:{
type
:
"textarea"
,
resize
:
"none"
,
rows
:
4
,
placeholder
:
"请输入固定参数(可选)"
},
model
:{
value
:
e
.
h5linkObj
.
fixParam
,
callback
:
function
(
t
){
e
.
$set
(
e
.
h5linkObj
,
"fixParam"
,
t
)},
expression
:
"h5linkObj.fixParam"
}})],
1
),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"h5link-row"
},[
i
(
"label"
,{
staticClass
:
"h5link-title"
},[
e
.
_v
(
"动态参数:"
)]),
e
.
_v
(
" "
),
i
(
"el-select"
,{
staticClass
:
"dynamic-param-select"
,
attrs
:{
multiple
:
""
,
placeholder
:
"请选择动态参数(可选)"
},
model
:{
value
:
e
.
h5linkObj
.
dynamicPara
,
callback
:
function
(
t
){
e
.
$set
(
e
.
h5linkObj
,
"dynamicPara"
,
t
)},
expression
:
"h5linkObj.dynamicPara"
}},
e
.
_l
(
e
.
h5linkObj
.
dynamicParaOptions
,
function
(
e
){
return
i
(
"el-option"
,{
key
:
e
.
value
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})}))],
1
)]):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
goodsLinksVisible
?
i
(
"div"
,{
staticClass
:
"goods-links-contian"
},[
i
(
"div"
,{
staticClass
:
"links-tools-row"
},[
i
(
"treeselect"
,{
attrs
:{
options
:
e
.
categoryOptions
,
normalizer
:
e
.
normalizer
,
"default-expand-level"
:
1
,
flat
:
!
0
,
placeholder
:
"所有品类"
,
noOptionsText
:
"暂无数据"
,
noResultsText
:
"无数据"
,
"no-children-text"
:
"无数据"
,
"load-options"
:
e
.
loadOptions
,
beforeClearAll
:
e
.
beforeClearCategory
},
on
:{
select
:
e
.
categorySelect
},
model
:{
value
:
e
.
category
,
callback
:
function
(
t
){
e
.
category
=
t
},
expression
:
"category"
}}),
e
.
_v
(
" "
),
i
(
"treeselect"
,{
attrs
:{
options
:
e
.
classifyOptions
,
normalizer
:
e
.
normalizer
,
"default-expand-level"
:
1
,
placeholder
:
"所有分类"
,
noOptionsText
:
"暂无数据"
,
noResultsText
:
"无数据"
,
noChildrenText
:
"无数据"
,
beforeClearAll
:
e
.
beforeClearClassify
},
on
:{
select
:
e
.
classifySelect
},
model
:{
value
:
e
.
classify
,
callback
:
function
(
t
){
e
.
classify
=
t
},
expression
:
"classify"
}}),
e
.
_v
(
" "
),
i
(
"el-input"
,{
staticClass
:
"links-tools-input"
,
attrs
:{
placeholder
:
"请输入商品名称/货号"
,
clearable
:
""
},
on
:{
clear
:
e
.
clearInput
},
nativeOn
:{
keyup
:
function
(
t
){
return
i
=
t
,
e
.
toSearchInput
(
i
);
var
i
}},
model
:{
value
:
e
.
searchGoods
,
callback
:
function
(
t
){
e
.
searchGoods
=
t
},
expression
:
"searchGoods"
}},[
i
(
"i"
,{
staticClass
:
"el-input__icon el-icon-search"
,
attrs
:{
slot
:
"prefix"
},
slot
:
"prefix"
})])],
1
),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"goods-link-content"
},[
i
(
"ul"
,{
staticClass
:
"goods-link-list"
},
e
.
_l
(
e
.
goodsList
,
function
(
t
,
s
){
return
i
(
"li"
,{
key
:
t
.
proName
+
s
,
class
:
t
.
mallProId
==
e
.
selectGoodId
?
"goods-link-item goodSelect"
:
"goods-link-item"
,
on
:{
click
:
function
(
i
){
e
.
selectGoodLinkItem
(
t
)}}},[
i
(
"img"
,{
attrs
:{
src
:
t
.
mallProImageUrl
,
alt
:
"商品图片"
}}),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"inline-block goods-message"
},[
i
(
"p"
,{
staticClass
:
"limit-2 pro-name"
},[
e
.
_v
(
e
.
_s
(
t
.
proName
))]),
e
.
_v
(
" "
),
i
(
"p"
,{
staticClass
:
"gray-color pro-code"
},[
e
.
_v
(
"货号:"
+
e
.
_s
(
t
.
proCode
))]),
e
.
_v
(
" "
),
i
(
"span"
,{
staticClass
:
"pro-price"
},[
e
.
_v
(
"¥"
+
e
.
_s
(
t
.
mallProSpuPrice
))])])])}))]),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"links-tools-page"
},[
i
(
"el-pagination"
,{
attrs
:{
"current-page"
:
e
.
currentPage
,
"page-sizes"
:[
9
],
"page-size"
:
e
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
e
.
total
},
on
:{
"size-change"
:
e
.
linkSizeChange
,
"current-change"
:
e
.
linkCurrentChange
}})],
1
)]):
e
.
_e
(),
e
.
_v
(
" "
),
i
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
})])])])])},
staticRenderFns
:[]};
var
c
=
i
(
"VU/8"
)(
o
,
r
,
!
1
,
function
(
e
){
i
(
"uUnm"
)},
"data-v-24a47607"
,
null
);
t
.
default
=
c
.
exports
},
uUnm
:
function
(
e
,
t
){}});
\ No newline at end of file
webpackJsonp
([
22
],{
HLON
:
function
(
e
,
t
,
i
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
s
=
i
(
"GXH0"
),
l
=
i
.
n
(
s
),
a
=
i
(
"mw3O"
),
n
=
i
.
n
(
a
),
o
=
{
name
:
"links"
,
props
:[
"linkToolsVisible"
],
data
:
function
(){
return
{
activeName
:
"first"
,
twoLevelVisible
:
!
1
,
threeLevelVisible
:
!
1
,
linksType
:
""
,
linksTypeOptions
:[],
twoLevelValue
:
""
,
twoLevelOptions
:[],
threeLeveloneVisible
:
!
1
,
threeLevelTreeVisible
:
!
1
,
threeLevelSearchVisible
:
!
1
,
threeLevelValue
:
""
,
threeLevelOptions
:[],
h5linkVisible
:
!
1
,
h5linkObj
:{
name
:
""
,
url
:
""
,
fixParam
:
""
,
dynamicPara
:
""
,
dynamicParaOptions
:[{
value
:
"openid"
,
label
:
"openid"
},{
value
:
"unionid"
,
label
:
"unionid"
},{
value
:
"wxOpenid"
,
label
:
"wxOpenid"
},{
value
:
"appkey"
,
label
:
"appkey"
},{
value
:
"enterpriseId"
,
label
:
"enterpriseId"
},{
value
:
"appid"
,
label
:
"appid"
},{
value
:
"memberID"
,
label
:
"memberID"
}]},
mylinkToolsVisible
:
this
.
linkToolsVisible
,
goodsLinksVisible
:
!
1
,
searchGoods
:
""
,
category
:
null
,
categoryOptions
:[],
normalizer
:
function
(
e
){
return
{
id
:
e
.
key
,
label
:
e
.
name
,
children
:
e
.
subOptions
}},
selectGoodId
:
""
,
goodsList
:[],
currentPage
:
1
,
pageSize
:
9
,
total
:
0
,
classify
:
null
,
classifyOptions
:[],
goodsCategory
:
null
,
goodsCategoryOptions
:[],
oneLevelTypeValue
:
""
,
twoLevelSelectValue
:
""
,
threeLevelSelectValue
:
""
,
selectLinkObj
:{
name
:
""
,
url
:
""
}}},
methods
:{
linksTypeChange
:
function
(
e
){
var
t
=
""
;
this
.
linksTypeOptions
.
forEach
(
function
(
i
,
s
){
i
.
linkId
==
e
&&
(
t
=
i
)}),
this
.
oneLevelTypeValue
=
t
.
type
;
var
i
=
5
==
t
.
type
;
this
.
setOneLevelVisible
(
i
,
t
),
this
.
selectLinkObj
.
name
=
""
,
this
.
selectLinkObj
.
url
=
""
,
this
.
twoLevelSelectValue
=
""
,
this
.
threeLevelSelectValue
=
""
},
setOneLevelVisible
:
function
(
e
,
t
){
e
?(
this
.
h5linkVisible
=!
0
,
this
.
twoLevelVisible
=!
1
,
this
.
threeLevelVisible
=!
1
,
this
.
goodsLinksVisible
=!
1
):(
this
.
h5linkVisible
=!
1
,
this
.
twoLevelVisible
=!
0
,
this
.
threeLevelVisible
=!
1
,
this
.
goodsLinksVisible
=!
1
,
this
.
twoLevelValue
=
""
,
this
.
threeLevelValue
=
""
,
this
.
getLinksList
(
t
.
linkId
,
2
))},
twoLevelValueChange
:
function
(
e
){
var
t
=
this
,
i
=
""
;
if
(
t
.
twoLevelOptions
.
forEach
(
function
(
t
,
s
){
e
==
t
.
linkId
&&
(
i
=
t
)}),
1
==
i
.
type
||
4
==
i
.
type
||
6
==
i
.
type
){
if
(
t
.
threeLevelVisible
=!
1
,
t
.
threeLevelValue
=
""
,
t
.
twoLevelSelectValue
=
""
,
t
.
threeLevelSelectValue
=
""
,
t
.
selectLinkObj
.
name
=
""
,
t
.
selectLinkObj
.
url
=
""
,
4
==
i
.
type
)
return
t
.
getGoodsList
(),
t
.
getGoodsCategory
(),
t
.
getGoodsClassify
(),
t
.
threeLevelVisible
=!
1
,
t
.
goodsLinksVisible
=!
0
,
!
1
;
t
.
twoLevelOptions
.
forEach
(
function
(
i
,
s
){
e
==
i
.
value
&&
(
t
.
selectLinkObj
.
name
=
i
.
label
,
t
.
selectLinkObj
.
url
=
i
.
content
)})}
else
{
t
.
goodsLinksVisible
=!
1
,
t
.
threeLevelVisible
=!
0
,
t
.
threeLevelValue
=
""
,
t
.
twoLevelSelectValue
=
""
,
t
.
threeLevelSelectValue
=
""
;
var
s
=
i
.
type
;
if
(
t
.
setThreeVisible
(
s
,
i
),
2
==
s
)
return
t
.
twoLevelSelectValue
=
"sign"
,
!
1
;
if
(
3
==
s
)
return
t
.
twoLevelSelectValue
=
"goodsCate"
,
t
.
getGoodsClassify
(),
!
1
;
t
.
getLinksList
(
i
.
linkId
,
3
,
s
)}},
setThreeVisible
:
function
(
e
,
t
){
switch
(
e
){
case
0
:
this
.
threeLeveloneVisible
=!
0
,
this
.
threeLevelTreeVisible
=!
1
,
this
.
threeLevelSearchVisible
=!
1
;
break
;
case
2
:
this
.
threeLeveloneVisible
=!
1
,
this
.
threeLevelTreeVisible
=!
1
,
this
.
threeLevelSearchVisible
=!
0
,
this
.
selectLinkObj
.
name
=
t
.
name
,
this
.
selectLinkObj
.
url
=
t
.
content
;
break
;
case
3
:
this
.
threeLevelValue
=
null
,
this
.
threeLeveloneVisible
=!
1
,
this
.
threeLevelTreeVisible
=!
0
,
this
.
threeLevelSearchVisible
=!
1
,
this
.
selectLinkObj
.
name
=
t
.
name
,
this
.
selectLinkObj
.
url
=
t
.
content
}},
getGoodsCategory
:
function
(){
var
e
=
this
;
e
.
axios
.
post
(
"http://gicdev.demogic.com:9310/api-mall/list_mall_goods_category"
,
n
.
a
.
stringify
({
filterGoods
:
1
,
parentId
:
"tb-cid-11"
})).
then
(
function
(
t
){
var
i
=
t
.
data
,
s
=
""
;
if
(
0
==
i
.
errorCode
){
i
.
result
.
forEach
(
function
(
e
,
t
){
"-1"
==
e
.
parentId
&&
(
e
.
subOptions
=
[],
e
.
key
=
e
.
mallCategoryId
,
s
=
e
,
i
.
result
.
splice
(
t
,
1
))});
var
l
=
i
.
result
,
a
=
i
.
result
;
return
l
.
forEach
(
function
(
e
,
t
){
0
==
e
.
isLeaf
&&
(
e
.
subOptions
=
null
),
e
.
key
=
e
.
mallCategoryId
,
a
.
forEach
(
function
(
t
,
i
){
t
.
key
=
t
.
mallCategoryId
,
t
.
parentId
==
e
.
mallCategoryId
&&
(
e
.
subOptions
=
[],
e
.
subOptions
.
push
(
t
),
l
.
splice
(
i
,
1
))})}),
l
.
forEach
(
function
(
e
,
t
){
s
.
subOptions
.
push
(
e
)}),
e
.
categoryOptions
=
[],
e
.
categoryOptions
.
push
(
s
),
!
1
}
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
i
.
message
})}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getGoodsClassify
:
function
(){
var
e
=
this
;
e
.
axios
.
post
(
"http://gicdev.demogic.com:9310/api-mall/list_mall_goods_tag_tree"
,
n
.
a
.
stringify
({})).
then
(
function
(
t
){
var
i
=
t
.
data
;
if
(
0
==
i
.
errorCode
){
var
s
=
[
i
.
result
];
return
s
.
forEach
(
function
(
t
,
i
){
t
.
name
=
t
.
tagName
,
t
.
key
=
t
.
mallProTagId
,
t
.
childTagList
&&
(
t
.
subOptions
=
e
.
checkChildren
(
t
.
childTagList
))}),
e
.
goodsCategoryOptions
=
s
,
e
.
classifyOptions
=
s
,
!
1
}
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
i
.
message
})}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
checkChildren
:
function
(
e
){
var
t
=
this
;
return
e
&&
e
.
forEach
(
function
(
e
,
i
){
e
.
name
=
e
.
tagName
,
e
.
key
=
e
.
mallProTagId
,
e
.
childTagList
&&
(
e
.
subOptions
=
t
.
checkChildren
(
e
.
childTagList
))}),
e
},
threeLevelValueChange
:
function
(
e
){},
categorySelect
:
function
(
e
,
t
){
this
.
category
=
e
.
key
,
this
.
getGoodsList
()},
beforeClearCategory
:
function
(
e
,
t
){
this
.
category
=
null
,
this
.
getGoodsList
()},
loadOptions
:
function
(
e
){
var
t
=
e
.
action
,
i
=
e
.
parentNode
;
e
.
callback
;
"LOAD_CHILDREN_OPTIONS"
===
t
&&
i
.
key
&&
this
.
getChildrenNode
(
i
,
i
.
key
)},
getChildrenNode
:
function
(
e
,
t
){
var
i
=
this
,
s
=
{
filterGoods
:
1
,
parentId
:
t
};
i
.
axios
.
post
(
"http://gicdev.demogic.com:9310/api-mall/list_mall_goods_category"
,
n
.
a
.
stringify
(
s
)).
then
(
function
(
t
){
var
s
=
t
.
data
;
0
!=
s
.
errorCode
?
i
.
$message
.
error
({
duration
:
1
e3
,
message
:
s
.
message
}):
e
.
subOptions
=
s
.
result
}).
catch
(
function
(
e
){
i
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
classifySelect
:
function
(
e
,
t
){
this
.
classify
=
e
.
key
,
this
.
getGoodsList
()},
beforeClearClassify
:
function
(
e
,
t
){
this
.
classify
=
null
,
this
.
getGoodsList
()},
goodsCategorySelect
:
function
(
e
,
t
){},
handleClose
:
function
(
e
){
var
t
=
this
;
t
.
$confirm
(
"确认关闭?"
).
then
(
function
(
i
){
e
(),
t
.
mylinkToolsVisible
=!
1
,
t
.
$emit
(
"linkSelect"
)}).
catch
(
function
(
e
){})},
linkSizeChange
:
function
(
e
){
this
.
pageSize
=
e
,
this
.
getGoodsList
()},
linkCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getGoodsList
()},
selectGoodLinkItem
:
function
(
e
){
this
.
selectGoodId
=
e
.
mallProId
,
this
.
selectLinkItem
(
e
)},
selectLinkItem
:
function
(
e
){
this
.
selectLinkObj
.
name
=
e
.
proName
,
this
.
selectLinkObj
.
url
=
e
.
mallProImageUrl
},
toSearchInput
:
function
(
e
){
1
==
this
.
currentPage
?
this
.
getGoodsList
():
this
.
currentPage
=
1
},
clearInput
:
function
(
e
){
1
==
this
.
currentPage
?
this
.
getGoodsList
():
this
.
currentPage
=
1
},
getGoodsList
:
function
(){
var
e
=
this
,
t
=
{
pageNum
:
e
.
currentPage
,
searchparams
:
e
.
searchGoods
||
""
,
pageSize
:
e
.
pageSize
,
mallCategoryId
:
e
.
category
,
tagId
:
e
.
classify
};
e
.
axios
.
post
(
"http://gicdev.demogic.com:9310/api-mall/page-mall-goods"
,
n
.
a
.
stringify
(
t
)).
then
(
function
(
t
){
var
i
=
t
.
data
;
if
(
0
==
i
.
errorCode
)
return
e
.
goodsList
=
i
.
result
.
result
,
void
(
e
.
total
=
i
.
result
.
totalCount
);
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
i
.
message
})}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
remoteMethod
:
function
(
e
){
""
!==
e
?
this
.
getStoreList
(
e
,
this
.
threeLevelValue
):
this
.
threeLevelOptions
=
[]},
cancelLinkSelect
:
function
(){
var
e
=
this
;
e
.
$confirm
(
"确认关闭?"
,
""
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
""
}).
then
(
function
(){
e
.
$emit
(
"linkSelect"
)}).
catch
(
function
(){})},
confirmLinkSelect
:
function
(){
return
5
==
this
.
oneLevelTypeValue
?
this
.
h5linkObj
.
name
.
trim
()
&&
this
.
h5linkObj
.
url
.
trim
()?(
this
.
selectLinkObj
.
name
=
this
.
h5linkObj
.
name
,
this
.
selectLinkObj
.
url
=
this
.
h5linkObj
.
url
+
"?"
+
this
.
h5linkObj
.
fixParam
+
"&"
+
this
.
h5linkObj
.
dynamicPara
,
void
this
.
transData
()):
void
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请填写链接内容"
}):
"sign"
==
this
.
twoLevelSelectValue
?(
this
.
checkTwoLevel
(
this
.
twoLevelSelectValue
),
!
1
):
"goodsCate"
==
this
.
twoLevelSelectValue
?(
this
.
checkTwoLevel
(
this
.
twoLevelSelectValue
),
!
1
):
void
(
this
.
selectLinkObj
.
name
&&
this
.
selectLinkObj
.
url
?
this
.
transData
():
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请选择链接"
}))},
checkTwoLevel
:
function
(
e
){
if
(
!
this
.
threeLevelValue
||!
this
.
threeLevelValue
.
length
)
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请选择"
+
(
"sign"
==
e
?
"门店"
:
"商品分类"
)}),
!
1
;
this
.
selectLinkObj
.
url
=
this
.
selectLinkObj
.
url
+
"?"
+
this
.
threeLevelValue
,
this
.
transData
()},
resetAll
:
function
(){
this
.
h5linkVisible
=!
1
,
this
.
linksType
=
""
,
this
.
twoLevelVisible
=!
1
,
this
.
threeLevelVisible
=!
1
,
this
.
goodsLinksVisible
=!
1
,
this
.
twoLevelValue
=
""
,
this
.
twoLevelSelectValue
=
""
,
this
.
threeLevelValue
=
""
,
this
.
selectLinkObj
=
{
url
:
""
,
name
:
""
},
this
.
currentPage
=
1
,
this
.
total
=
0
,
this
.
pageSize
=
9
,
this
.
searchGoods
=
""
,
this
.
classify
=
null
,
this
.
category
=
null
,
this
.
h5linkObj
.
name
=
""
,
this
.
h5linkObj
.
url
=
""
,
this
.
h5linkObj
.
fixParam
=
""
,
this
.
h5linkObj
.
dynamicPara
=
""
},
transData
:
function
(){
this
.
$emit
(
"linkSelect"
,
this
.
selectLinkObj
),
this
.
resetAll
()},
getLinksList
:
function
(
e
,
t
,
i
){
var
s
=
this
;
i
=
i
||
""
;
var
l
=
{
parentId
:
e
};
s
.
axios
.
post
(
"http://gicdev.demogic.com:9310/api-plug/list-link-data"
,
n
.
a
.
stringify
(
l
)).
then
(
function
(
l
){
var
a
=
l
.
data
;
0
!=
a
.
errorCode
?
s
.
$message
.
error
({
duration
:
1
e3
,
message
:
a
.
message
}):
s
.
setLevelListOptions
(
e
,
a
.
result
,
t
,
i
)}).
catch
(
function
(
e
){
s
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
setLevelListOptions
:
function
(
e
,
t
,
i
,
s
){
return
0
==
e
?(
t
.
forEach
(
function
(
e
,
t
){
e
.
id
=
e
.
linkId
,
e
.
label
=
e
.
name
,
e
.
value
=
e
.
linkId
}),
void
(
this
.
linksTypeOptions
=
t
)):
2
==
i
&&
t
[
0
]?(
t
.
forEach
(
function
(
e
,
t
){
e
.
id
=
e
.
linkId
,
e
.
label
=
e
.
name
,
e
.
value
=
e
.
linkId
}),
void
(
this
.
twoLevelOptions
=
t
)):
void
0
},
getStoreList
:
function
(
e
,
t
){
var
i
=
this
,
s
=
{
searchParam
:
e
,
selectedIds
:
t
.
toString
(),
flag
:
null
};
i
.
axios
.
post
(
"http://gicdev.demogic.com:9310/api-plug/query-store-by-code-name"
,
n
.
a
.
stringify
(
s
)).
then
(
function
(
e
){
var
t
=
e
.
data
;
if
(
0
==
t
.
errorCode
)
return
t
.
result
.
forEach
(
function
(
e
,
t
){
e
.
id
=
e
.
storeId
,
e
.
label
=
e
.
storeName
,
e
.
value
=
e
.
storeId
}),
void
(
i
.
threeLevelOptions
=
t
.
result
);
i
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})}).
catch
(
function
(
e
){
i
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
toLogin
:
function
(){
var
e
=
this
;
e
.
axios
.
post
(
"http://gicdev.demogic.com:9310/api-auth/do-login"
,
n
.
a
.
stringify
({
loginName
:
"damogic"
,
password
:
"1"
,
eid
:
"ff808081593917d90159398ec6340012"
})).
then
(
function
(
t
){
e
.
getLinksList
(
0
,
1
)}).
catch
(
function
(
e
){})}},
watch
:{
linkToolsVisible
:
function
(
e
){
this
.
mylinkToolsVisible
=
e
}},
mounted
:
function
(){
this
.
toLogin
()},
components
:{
Treeselect
:
l
.
a
}},
r
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"div"
,{
staticClass
:
"link-tools-contain"
},[
i
(
"div"
,{
class
:
"first"
==
e
.
activeName
?
"min-1028"
:
"min-720"
},[
i
(
"div"
,{
staticClass
:
"el-dialog"
},[
i
(
"div"
,{
staticClass
:
"el-dialog__body"
},[
i
(
"div"
,{
staticClass
:
"links-types"
},[
i
(
"label"
,{
staticClass
:
"types-title"
},[
e
.
_v
(
"链接类型:"
)]),
e
.
_v
(
" "
),
i
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
e
.
linksTypeChange
},
model
:{
value
:
e
.
linksType
,
callback
:
function
(
t
){
e
.
linksType
=
t
},
expression
:
"linksType"
}},
e
.
_l
(
e
.
linksTypeOptions
,
function
(
e
){
return
i
(
"el-option"
,{
key
:
e
.
value
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})})),
e
.
_v
(
" "
),
e
.
twoLevelVisible
?
i
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
e
.
twoLevelValueChange
},
model
:{
value
:
e
.
twoLevelValue
,
callback
:
function
(
t
){
e
.
twoLevelValue
=
t
},
expression
:
"twoLevelValue"
}},
e
.
_l
(
e
.
twoLevelOptions
,
function
(
e
){
return
i
(
"el-option"
,{
key
:
e
.
value
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})})):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
threeLevelVisible
?
i
(
"div"
,{
staticClass
:
"three-level-wrap"
},[
e
.
threeLevelTreeVisible
?
i
(
"treeselect"
,{
attrs
:{
options
:
e
.
goodsCategoryOptions
,
normalizer
:
e
.
normalizer
,
"default-expand-level"
:
1
,
placeholder
:
"所有分类"
,
noOptionsText
:
"暂无数据"
,
noResultsText
:
"无数据"
},
on
:{
select
:
e
.
goodsCategorySelect
},
model
:{
value
:
e
.
threeLevelValue
,
callback
:
function
(
t
){
e
.
threeLevelValue
=
t
},
expression
:
"threeLevelValue"
}}):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
threeLevelSearchVisible
?
i
(
"el-select"
,{
attrs
:{
multiple
:
""
,
filterable
:
""
,
remote
:
""
,
"reserve-keyword"
:
""
,
placeholder
:
"请输入关键词"
,
"remote-method"
:
e
.
remoteMethod
},
on
:{
change
:
e
.
threeLevelValueChange
},
model
:{
value
:
e
.
threeLevelValue
,
callback
:
function
(
t
){
e
.
threeLevelValue
=
t
},
expression
:
"threeLevelValue"
}},
e
.
_l
(
e
.
threeLevelOptions
,
function
(
e
){
return
i
(
"el-option"
,{
key
:
e
.
value
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})})):
e
.
_e
()],
1
):
e
.
_e
()],
1
),
e
.
_v
(
" "
),
e
.
h5linkVisible
?
i
(
"div"
,{
staticClass
:
"h5link-contain"
},[
i
(
"div"
,{
staticClass
:
"h5link-row"
},[
i
(
"label"
,{
staticClass
:
"h5link-title"
},[
e
.
_v
(
"名称:"
)]),
e
.
_v
(
" "
),
i
(
"el-input"
,{
attrs
:{
placeholder
:
"请输入名称"
},
model
:{
value
:
e
.
h5linkObj
.
name
,
callback
:
function
(
t
){
e
.
$set
(
e
.
h5linkObj
,
"name"
,
t
)},
expression
:
"h5linkObj.name"
}})],
1
),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"h5link-row"
},[
i
(
"label"
,{
staticClass
:
"h5link-title"
},[
e
.
_v
(
"网址:"
)]),
e
.
_v
(
" "
),
i
(
"el-input"
,{
attrs
:{
placeholder
:
"请输入网址"
},
model
:{
value
:
e
.
h5linkObj
.
url
,
callback
:
function
(
t
){
e
.
$set
(
e
.
h5linkObj
,
"url"
,
t
)},
expression
:
"h5linkObj.url"
}}),
i
(
"a"
,{
staticClass
:
"h5link-help"
,
attrs
:{
href
:
"http://doc.demogic.com/doc/index.php?s=/41&page_id=441"
,
target
:
"_blank"
}},[
e
.
_v
(
"【帮助文档】请联系公司技术人员查看文档配置标准链接"
)])],
1
),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"h5link-row"
},[
i
(
"label"
,{
staticClass
:
"h5link-title"
},[
e
.
_v
(
"固定参数:"
)]),
e
.
_v
(
" "
),
i
(
"el-input"
,{
attrs
:{
type
:
"textarea"
,
resize
:
"none"
,
rows
:
4
,
placeholder
:
"请输入固定参数(可选)"
},
model
:{
value
:
e
.
h5linkObj
.
fixParam
,
callback
:
function
(
t
){
e
.
$set
(
e
.
h5linkObj
,
"fixParam"
,
t
)},
expression
:
"h5linkObj.fixParam"
}})],
1
),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"h5link-row"
},[
i
(
"label"
,{
staticClass
:
"h5link-title"
},[
e
.
_v
(
"动态参数:"
)]),
e
.
_v
(
" "
),
i
(
"el-select"
,{
staticClass
:
"dynamic-param-select"
,
attrs
:{
multiple
:
""
,
placeholder
:
"请选择动态参数(可选)"
},
model
:{
value
:
e
.
h5linkObj
.
dynamicPara
,
callback
:
function
(
t
){
e
.
$set
(
e
.
h5linkObj
,
"dynamicPara"
,
t
)},
expression
:
"h5linkObj.dynamicPara"
}},
e
.
_l
(
e
.
h5linkObj
.
dynamicParaOptions
,
function
(
e
){
return
i
(
"el-option"
,{
key
:
e
.
value
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})}))],
1
)]):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
goodsLinksVisible
?
i
(
"div"
,{
staticClass
:
"goods-links-contian"
},[
i
(
"div"
,{
staticClass
:
"links-tools-row"
},[
i
(
"treeselect"
,{
attrs
:{
options
:
e
.
categoryOptions
,
normalizer
:
e
.
normalizer
,
"default-expand-level"
:
1
,
flat
:
!
0
,
placeholder
:
"所有品类"
,
noOptionsText
:
"暂无数据"
,
noResultsText
:
"无数据"
,
"no-children-text"
:
"无数据"
,
"load-options"
:
e
.
loadOptions
,
beforeClearAll
:
e
.
beforeClearCategory
},
on
:{
select
:
e
.
categorySelect
},
model
:{
value
:
e
.
category
,
callback
:
function
(
t
){
e
.
category
=
t
},
expression
:
"category"
}}),
e
.
_v
(
" "
),
i
(
"treeselect"
,{
attrs
:{
options
:
e
.
classifyOptions
,
normalizer
:
e
.
normalizer
,
"default-expand-level"
:
1
,
placeholder
:
"所有分类"
,
noOptionsText
:
"暂无数据"
,
noResultsText
:
"无数据"
,
noChildrenText
:
"无数据"
,
beforeClearAll
:
e
.
beforeClearClassify
},
on
:{
select
:
e
.
classifySelect
},
model
:{
value
:
e
.
classify
,
callback
:
function
(
t
){
e
.
classify
=
t
},
expression
:
"classify"
}}),
e
.
_v
(
" "
),
i
(
"el-input"
,{
staticClass
:
"links-tools-input"
,
attrs
:{
placeholder
:
"请输入商品名称/货号"
,
clearable
:
""
},
on
:{
clear
:
e
.
clearInput
},
nativeOn
:{
keyup
:
function
(
t
){
return
i
=
t
,
e
.
toSearchInput
(
i
);
var
i
}},
model
:{
value
:
e
.
searchGoods
,
callback
:
function
(
t
){
e
.
searchGoods
=
t
},
expression
:
"searchGoods"
}},[
i
(
"i"
,{
staticClass
:
"el-input__icon el-icon-search"
,
attrs
:{
slot
:
"prefix"
},
slot
:
"prefix"
})])],
1
),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"goods-link-content"
},[
i
(
"ul"
,{
staticClass
:
"goods-link-list"
},
e
.
_l
(
e
.
goodsList
,
function
(
t
,
s
){
return
i
(
"li"
,{
key
:
t
.
proName
+
s
,
class
:
t
.
mallProId
==
e
.
selectGoodId
?
"goods-link-item goodSelect"
:
"goods-link-item"
,
on
:{
click
:
function
(
i
){
e
.
selectGoodLinkItem
(
t
)}}},[
i
(
"img"
,{
attrs
:{
src
:
t
.
mallProImageUrl
,
alt
:
"商品图片"
}}),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"inline-block goods-message"
},[
i
(
"p"
,{
staticClass
:
"limit-2 pro-name"
},[
e
.
_v
(
e
.
_s
(
t
.
proName
))]),
e
.
_v
(
" "
),
i
(
"p"
,{
staticClass
:
"gray-color pro-code"
},[
e
.
_v
(
"货号:"
+
e
.
_s
(
t
.
proCode
))]),
e
.
_v
(
" "
),
i
(
"span"
,{
staticClass
:
"pro-price"
},[
e
.
_v
(
"¥"
+
e
.
_s
(
t
.
mallProSpuPrice
))])])])}))]),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"links-tools-page"
},[
i
(
"el-pagination"
,{
attrs
:{
"current-page"
:
e
.
currentPage
,
"page-sizes"
:[
9
],
"page-size"
:
e
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
e
.
total
},
on
:{
"size-change"
:
e
.
linkSizeChange
,
"current-change"
:
e
.
linkCurrentChange
}})],
1
)]):
e
.
_e
(),
e
.
_v
(
" "
),
i
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
})])])])])},
staticRenderFns
:[]};
var
c
=
i
(
"VU/8"
)(
o
,
r
,
!
1
,
function
(
e
){
i
(
"uUnm"
)},
"data-v-24a47607"
,
null
);
t
.
default
=
c
.
exports
},
uUnm
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/2
2.63829b12fa6923ef6f66
.js
→
dist/static/js/2
3.b5f73790a9e56c25ae74
.js
View file @
48b3200f
webpackJsonp
([
22
],{
Lc2x
:
function
(
e
,
t
,
i
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
l
=
i
(
"GXH0"
),
s
=
i
.
n
(
l
),
a
=
i
(
"mw3O"
),
n
=
i
.
n
(
a
),
o
=
{
name
:
"links"
,
props
:[
"linkToolsVisible"
],
data
:
function
(){
return
{
activeName
:
"first"
,
twoLevelVisible
:
!
1
,
threeLevelVisible
:
!
1
,
linksType
:
""
,
linksTypeOptions
:[],
twoLevelValue
:
""
,
twoLevelOptions
:[],
threeLeveloneVisible
:
!
1
,
threeLevelTreeVisible
:
!
1
,
threeLevelSearchVisible
:
!
1
,
threeLevelValue
:
""
,
threeLevelOptions
:[],
h5linkVisible
:
!
1
,
h5linkObj
:{
name
:
""
,
url
:
""
,
fixParam
:
""
,
dynamicPara
:
""
,
dynamicParaOptions
:[{
value
:
"openid"
,
label
:
"openid"
},{
value
:
"unionid"
,
label
:
"unionid"
},{
value
:
"wxOpenid"
,
label
:
"wxOpenid"
},{
value
:
"appkey"
,
label
:
"appkey"
},{
value
:
"enterpriseId"
,
label
:
"enterpriseId"
},{
value
:
"appid"
,
label
:
"appid"
},{
value
:
"memberID"
,
label
:
"memberID"
}]},
mylinkToolsVisible
:
this
.
linkToolsVisible
,
goodsLinksVisible
:
!
1
,
searchGoods
:
""
,
category
:
null
,
categoryOptions
:[],
normalizer
:
function
(
e
){
return
{
id
:
e
.
key
,
label
:
e
.
name
,
children
:
e
.
subOptions
}},
selectGoodId
:
""
,
goodsList
:[],
currentPage
:
1
,
pageSize
:
9
,
total
:
0
,
classify
:
null
,
classifyOptions
:[],
goodsCategory
:
null
,
goodsCategoryOptions
:[],
oneLevelTypeValue
:
""
,
twoLevelSelectValue
:
""
,
threeLevelSelectValue
:
""
,
selectLinkObj
:{
name
:
""
,
url
:
""
}}},
methods
:{
linksTypeChange
:
function
(
e
){
var
t
=
""
;
this
.
linksTypeOptions
.
forEach
(
function
(
i
,
l
){
i
.
linkId
==
e
&&
(
t
=
i
)}),
this
.
oneLevelTypeValue
=
t
.
type
;
var
i
=
5
==
t
.
type
;
this
.
setOneLevelVisible
(
i
,
t
),
this
.
selectLinkObj
.
name
=
""
,
this
.
selectLinkObj
.
url
=
""
,
this
.
twoLevelSelectValue
=
""
,
this
.
threeLevelSelectValue
=
""
},
setOneLevelVisible
:
function
(
e
,
t
){
e
?(
this
.
h5linkVisible
=!
0
,
this
.
twoLevelVisible
=!
1
,
this
.
threeLevelVisible
=!
1
,
this
.
goodsLinksVisible
=!
1
):(
this
.
h5linkVisible
=!
1
,
this
.
twoLevelVisible
=!
0
,
this
.
threeLevelVisible
=!
1
,
this
.
goodsLinksVisible
=!
1
,
this
.
twoLevelValue
=
""
,
this
.
threeLevelValue
=
""
,
this
.
getLinksList
(
t
.
linkId
,
2
))},
twoLevelValueChange
:
function
(
e
){
var
t
=
this
,
i
=
""
;
if
(
t
.
twoLevelOptions
.
forEach
(
function
(
t
,
l
){
e
==
t
.
linkId
&&
(
i
=
t
)}),
1
==
i
.
type
||
4
==
i
.
type
||
6
==
i
.
type
){
if
(
t
.
threeLevelVisible
=!
1
,
t
.
threeLevelValue
=
""
,
t
.
twoLevelSelectValue
=
""
,
t
.
threeLevelSelectValue
=
""
,
t
.
selectLinkObj
.
name
=
""
,
t
.
selectLinkObj
.
url
=
""
,
4
==
i
.
type
)
return
t
.
getGoodsList
(),
t
.
getGoodsCategory
(),
t
.
getGoodsClassify
(),
t
.
threeLevelVisible
=!
1
,
t
.
goodsLinksVisible
=!
0
,
!
1
;
t
.
twoLevelOptions
.
forEach
(
function
(
i
,
l
){
e
==
i
.
value
&&
(
t
.
selectLinkObj
.
name
=
i
.
label
,
t
.
selectLinkObj
.
url
=
i
.
content
)})}
else
{
t
.
goodsLinksVisible
=!
1
,
t
.
threeLevelVisible
=!
0
,
t
.
threeLevelValue
=
""
,
t
.
twoLevelSelectValue
=
""
,
t
.
threeLevelSelectValue
=
""
;
var
l
=
i
.
type
;
if
(
t
.
setThreeVisible
(
l
,
i
),
2
==
l
)
return
t
.
twoLevelSelectValue
=
"sign"
,
!
1
;
if
(
3
==
l
)
return
t
.
twoLevelSelectValue
=
"goodsCate"
,
t
.
getGoodsClassify
(),
!
1
;
t
.
getLinksList
(
i
.
linkId
,
3
,
l
)}},
setThreeVisible
:
function
(
e
,
t
){
switch
(
e
){
case
0
:
this
.
threeLeveloneVisible
=!
0
,
this
.
threeLevelTreeVisible
=!
1
,
this
.
threeLevelSearchVisible
=!
1
;
break
;
case
2
:
this
.
threeLeveloneVisible
=!
1
,
this
.
threeLevelTreeVisible
=!
1
,
this
.
threeLevelSearchVisible
=!
0
,
this
.
selectLinkObj
.
name
=
t
.
name
,
this
.
selectLinkObj
.
url
=
t
.
content
;
break
;
case
3
:
this
.
threeLevelValue
=
null
,
this
.
threeLeveloneVisible
=!
1
,
this
.
threeLevelTreeVisible
=!
0
,
this
.
threeLevelSearchVisible
=!
1
,
this
.
selectLinkObj
.
name
=
t
.
name
,
this
.
selectLinkObj
.
url
=
t
.
content
}},
getGoodsCategory
:
function
(){
var
e
=
this
;
e
.
axios
.
post
(
"http://gicdev.demogic.com:9310/api-mall/list_mall_goods_category"
,
n
.
a
.
stringify
({
filterGoods
:
1
,
parentId
:
"tb-cid-11"
})).
then
(
function
(
t
){
var
i
=
t
.
data
,
l
=
""
;
if
(
0
==
i
.
errorCode
){
i
.
result
.
forEach
(
function
(
e
,
t
){
"-1"
==
e
.
parentId
&&
(
e
.
subOptions
=
[],
e
.
key
=
e
.
mallCategoryId
,
l
=
e
,
i
.
result
.
splice
(
t
,
1
))});
var
s
=
i
.
result
,
a
=
i
.
result
;
return
s
.
forEach
(
function
(
e
,
t
){
0
==
e
.
isLeaf
&&
(
e
.
subOptions
=
null
),
e
.
key
=
e
.
mallCategoryId
,
a
.
forEach
(
function
(
t
,
i
){
t
.
key
=
t
.
mallCategoryId
,
t
.
parentId
==
e
.
mallCategoryId
&&
(
e
.
subOptions
=
[],
e
.
subOptions
.
push
(
t
),
s
.
splice
(
i
,
1
))})}),
s
.
forEach
(
function
(
e
,
t
){
l
.
subOptions
.
push
(
e
)}),
e
.
categoryOptions
=
[],
e
.
categoryOptions
.
push
(
l
),
!
1
}
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
i
.
message
})}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getGoodsClassify
:
function
(){
var
e
=
this
;
e
.
axios
.
post
(
"http://gicdev.demogic.com:9310/api-mall/list_mall_goods_tag_tree"
,
n
.
a
.
stringify
({})).
then
(
function
(
t
){
var
i
=
t
.
data
;
if
(
0
==
i
.
errorCode
){
var
l
=
[
i
.
result
];
return
l
.
forEach
(
function
(
t
,
i
){
t
.
name
=
t
.
tagName
,
t
.
key
=
t
.
mallProTagId
,
t
.
childTagList
&&
(
t
.
subOptions
=
e
.
checkChildren
(
t
.
childTagList
))}),
e
.
goodsCategoryOptions
=
l
,
void
(
e
.
classifyOptions
=
l
)}
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
i
.
message
})}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
checkChildren
:
function
(
e
){
var
t
=
this
;
return
e
&&
e
.
forEach
(
function
(
e
,
i
){
e
.
name
=
e
.
tagName
,
e
.
key
=
e
.
mallProTagId
,
e
.
childTagList
&&
(
e
.
subOptions
=
t
.
checkChildren
(
e
.
childTagList
))}),
e
},
threeLevelValueChange
:
function
(
e
){},
categorySelect
:
function
(
e
,
t
){
this
.
category
=
e
.
key
,
this
.
getGoodsList
()},
beforeClearCategory
:
function
(
e
,
t
){
this
.
category
=
null
,
this
.
getGoodsList
()},
loadOptions
:
function
(
e
){
var
t
=
e
.
action
,
i
=
e
.
parentNode
;
e
.
callback
;
"LOAD_CHILDREN_OPTIONS"
===
t
&&
i
.
key
&&
this
.
getChildrenNode
(
i
,
i
.
key
)},
getChildrenNode
:
function
(
e
,
t
){
var
i
=
this
,
l
=
{
filterGoods
:
1
,
parentId
:
t
};
i
.
axios
.
post
(
"http://gicdev.demogic.com:9310/api-mall/list_mall_goods_category"
,
n
.
a
.
stringify
(
l
)).
then
(
function
(
t
){
var
l
=
t
.
data
;
0
!=
l
.
errorCode
?
i
.
$message
.
error
({
duration
:
1
e3
,
message
:
l
.
message
}):
e
.
subOptions
=
l
.
result
}).
catch
(
function
(
e
){
i
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
classifySelect
:
function
(
e
,
t
){
this
.
classify
=
e
.
key
,
this
.
getGoodsList
()},
beforeClearClassify
:
function
(
e
,
t
){
this
.
classify
=
null
,
this
.
getGoodsList
()},
goodsCategorySelect
:
function
(
e
,
t
){},
handleClose
:
function
(
e
){
var
t
=
this
;
t
.
$confirm
(
"确认关闭?"
).
then
(
function
(
i
){
e
(),
t
.
mylinkToolsVisible
=!
1
,
t
.
$emit
(
"linkSelect"
)}).
catch
(
function
(
e
){})},
linkSizeChange
:
function
(
e
){
this
.
pageSize
=
e
,
this
.
getGoodsList
()},
linkCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getGoodsList
()},
selectGoodLinkItem
:
function
(
e
){
this
.
selectGoodId
=
e
.
mallProId
,
this
.
selectLinkItem
(
e
)},
selectLinkItem
:
function
(
e
){
this
.
selectLinkObj
.
name
=
e
.
proName
,
this
.
selectLinkObj
.
url
=
e
.
mallProImageUrl
},
toSearchInput
:
function
(
e
){
1
==
this
.
currentPage
?
this
.
getGoodsList
():
this
.
currentPage
=
1
},
clearInput
:
function
(
e
){
1
==
this
.
currentPage
?
this
.
getGoodsList
():
this
.
currentPage
=
1
},
getGoodsList
:
function
(){
var
e
=
this
,
t
=
{
pageNum
:
e
.
currentPage
,
searchparams
:
e
.
searchGoods
||
""
,
pageSize
:
e
.
pageSize
,
mallCategoryId
:
e
.
category
,
tagId
:
e
.
classify
};
e
.
axios
.
post
(
"http://gicdev.demogic.com:9310/api-mall/page-mall-goods"
,
n
.
a
.
stringify
(
t
)).
then
(
function
(
t
){
var
i
=
t
.
data
;
if
(
0
==
i
.
errorCode
)
return
e
.
goodsList
=
i
.
result
.
result
,
void
(
e
.
total
=
i
.
result
.
totalCount
);
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
i
.
message
})}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
remoteMethod
:
function
(
e
){
""
!==
e
?
this
.
getStoreList
(
e
,
this
.
threeLevelValue
):
this
.
threeLevelOptions
=
[]},
cancelLinkSelect
:
function
(){
var
e
=
this
;
this
.
$confirm
(
"确认关闭?"
,
""
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
""
}).
then
(
function
(){
e
.
$emit
(
"linkSelect"
)}).
catch
(
function
(){})},
confirmLinkSelect
:
function
(){
return
5
==
this
.
oneLevelTypeValue
?
this
.
h5linkObj
.
name
.
trim
()
&&
this
.
h5linkObj
.
url
.
trim
()?(
this
.
selectLinkObj
.
name
=
this
.
h5linkObj
.
name
,
this
.
selectLinkObj
.
url
=
this
.
h5linkObj
.
url
+
"?"
+
this
.
h5linkObj
.
fixParam
+
"&"
+
this
.
h5linkObj
.
dynamicPara
,
void
this
.
transData
()):
void
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请填写链接内容"
}):
"sign"
==
this
.
twoLevelSelectValue
?(
this
.
checkTwoLevel
(
this
.
twoLevelSelectValue
),
!
1
):
"goodsCate"
==
this
.
twoLevelSelectValue
?(
this
.
checkTwoLevel
(
this
.
twoLevelSelectValue
),
!
1
):
void
(
this
.
selectLinkObj
.
name
&&
this
.
selectLinkObj
.
url
?
this
.
transData
():
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请选择链接"
}))},
checkTwoLevel
:
function
(
e
){
if
(
!
this
.
threeLevelValue
||!
this
.
threeLevelValue
.
length
)
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请选择"
+
(
"sign"
==
e
?
"门店"
:
"商品分类"
)}),
!
1
;
this
.
selectLinkObj
.
url
=
this
.
selectLinkObj
.
url
+
"?"
+
this
.
threeLevelValue
,
this
.
transData
()},
resetAll
:
function
(){
this
.
h5linkVisible
=!
1
,
this
.
linksType
=
""
,
this
.
twoLevelVisible
=!
1
,
this
.
threeLevelVisible
=!
1
,
this
.
goodsLinksVisible
=!
1
,
this
.
twoLevelValue
=
""
,
this
.
twoLevelSelectValue
=
""
,
this
.
threeLevelValue
=
""
,
this
.
selectLinkObj
=
{
url
:
""
,
name
:
""
},
this
.
currentPage
=
1
,
this
.
total
=
0
,
this
.
pageSize
=
9
,
this
.
searchGoods
=
""
,
this
.
classify
=
null
,
this
.
category
=
null
,
this
.
h5linkObj
.
name
=
""
,
this
.
h5linkObj
.
url
=
""
,
this
.
h5linkObj
.
fixParam
=
""
,
this
.
h5linkObj
.
dynamicPara
=
""
},
transData
:
function
(){
this
.
$emit
(
"linkSelect"
,
this
.
selectLinkObj
),
this
.
resetAll
()},
getLinksList
:
function
(
e
,
t
,
i
){
var
l
=
this
;
i
=
i
||
""
;
var
s
=
{
parentId
:
e
};
l
.
axios
.
post
(
"http://gicdev.demogic.com:9310/api-plug/list-link-data"
,
n
.
a
.
stringify
(
s
)).
then
(
function
(
s
){
var
a
=
s
.
data
;
0
!=
a
.
errorCode
?
l
.
$message
.
error
({
duration
:
1
e3
,
message
:
a
.
message
}):
l
.
setLevelListOptions
(
e
,
a
.
result
,
t
,
i
)}).
catch
(
function
(
e
){
l
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
setLevelListOptions
:
function
(
e
,
t
,
i
,
l
){
return
0
==
e
?(
t
.
forEach
(
function
(
e
,
t
){
e
.
id
=
e
.
linkId
,
e
.
label
=
e
.
name
,
e
.
value
=
e
.
linkId
}),
void
(
this
.
linksTypeOptions
=
t
)):
2
==
i
&&
t
[
0
]?(
t
.
forEach
(
function
(
e
,
t
){
e
.
id
=
e
.
linkId
,
e
.
label
=
e
.
name
,
e
.
value
=
e
.
linkId
}),
void
(
this
.
twoLevelOptions
=
t
)):
void
0
},
getStoreList
:
function
(
e
,
t
){
var
i
=
this
,
l
=
{
searchParam
:
e
,
selectedIds
:
t
.
toString
(),
flag
:
null
};
i
.
axios
.
post
(
"http://gicdev.demogic.com:9310/api-plug/query-store-by-code-name"
,
n
.
a
.
stringify
(
l
)).
then
(
function
(
e
){
var
t
=
e
.
data
;
if
(
0
==
t
.
errorCode
)
return
t
.
result
.
forEach
(
function
(
e
,
t
){
e
.
id
=
e
.
storeId
,
e
.
label
=
e
.
storeName
,
e
.
value
=
e
.
storeId
}),
void
(
i
.
threeLevelOptions
=
t
.
result
);
i
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})}).
catch
(
function
(
e
){
i
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
toLogin
:
function
(){
var
e
=
this
;
e
.
axios
.
post
(
"http://gicdev.demogic.com:9310/api-auth/do-login"
,
n
.
a
.
stringify
({
loginName
:
"damogic"
,
password
:
"1"
,
eid
:
"ff808081593917d90159398ec6340012"
})).
then
(
function
(
t
){
e
.
getLinksList
(
0
,
1
)}).
catch
(
function
(
e
){})}},
watch
:{
linkToolsVisible
:
function
(
e
){
this
.
mylinkToolsVisible
=
e
}},
mounted
:
function
(){
this
.
toLogin
()},
components
:{
Treeselect
:
s
.
a
}},
r
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"div"
,{
staticClass
:
"link-tools-contain"
},[
i
(
"el-dialog"
,{
class
:
"first"
==
e
.
activeName
?
"min-1026"
:
"min-720"
,
attrs
:{
title
:
"链接小工具"
,
visible
:
e
.
mylinkToolsVisible
,
"before-close"
:
e
.
handleClose
},
on
:{
"update:visible"
:
function
(
t
){
e
.
mylinkToolsVisible
=
t
}}},[
i
(
"div"
,{
staticClass
:
"links-types"
},[
i
(
"label"
,{
staticClass
:
"types-title"
},[
e
.
_v
(
"链接类型:"
)]),
e
.
_v
(
" "
),
i
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
e
.
linksTypeChange
},
model
:{
value
:
e
.
linksType
,
callback
:
function
(
t
){
e
.
linksType
=
t
},
expression
:
"linksType"
}},
e
.
_l
(
e
.
linksTypeOptions
,
function
(
e
){
return
i
(
"el-option"
,{
key
:
e
.
value
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})})),
e
.
_v
(
" "
),
e
.
twoLevelVisible
?
i
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
e
.
twoLevelValueChange
},
model
:{
value
:
e
.
twoLevelValue
,
callback
:
function
(
t
){
e
.
twoLevelValue
=
t
},
expression
:
"twoLevelValue"
}},
e
.
_l
(
e
.
twoLevelOptions
,
function
(
e
){
return
i
(
"el-option"
,{
key
:
e
.
value
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})})):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
threeLevelVisible
?
i
(
"div"
,{
staticClass
:
"three-level-wrap"
},[
e
.
threeLevelTreeVisible
?
i
(
"treeselect"
,{
attrs
:{
options
:
e
.
goodsCategoryOptions
,
normalizer
:
e
.
normalizer
,
"default-expand-level"
:
1
,
placeholder
:
"所有分类"
,
noOptionsText
:
"暂无数据"
,
noResultsText
:
"无数据"
},
on
:{
select
:
e
.
goodsCategorySelect
},
model
:{
value
:
e
.
threeLevelValue
,
callback
:
function
(
t
){
e
.
threeLevelValue
=
t
},
expression
:
"threeLevelValue"
}}):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
threeLevelSearchVisible
?
i
(
"el-select"
,{
attrs
:{
multiple
:
""
,
filterable
:
""
,
remote
:
""
,
"reserve-keyword"
:
""
,
placeholder
:
"请输入关键词"
,
"remote-method"
:
e
.
remoteMethod
},
on
:{
change
:
e
.
threeLevelValueChange
},
model
:{
value
:
e
.
threeLevelValue
,
callback
:
function
(
t
){
e
.
threeLevelValue
=
t
},
expression
:
"threeLevelValue"
}},
e
.
_l
(
e
.
threeLevelOptions
,
function
(
e
){
return
i
(
"el-option"
,{
key
:
e
.
value
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})})):
e
.
_e
()],
1
):
e
.
_e
()],
1
),
e
.
_v
(
" "
),
e
.
h5linkVisible
?
i
(
"div"
,{
staticClass
:
"h5link-contain"
},[
i
(
"div"
,{
staticClass
:
"h5link-row"
},[
i
(
"label"
,{
staticClass
:
"h5link-title"
},[
e
.
_v
(
"名称:"
)]),
e
.
_v
(
" "
),
i
(
"el-input"
,{
attrs
:{
placeholder
:
"请输入名称"
},
model
:{
value
:
e
.
h5linkObj
.
name
,
callback
:
function
(
t
){
e
.
$set
(
e
.
h5linkObj
,
"name"
,
t
)},
expression
:
"h5linkObj.name"
}})],
1
),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"h5link-row"
},[
i
(
"label"
,{
staticClass
:
"h5link-title"
},[
e
.
_v
(
"网址:"
)]),
e
.
_v
(
" "
),
i
(
"el-input"
,{
attrs
:{
placeholder
:
"请输入网址"
},
model
:{
value
:
e
.
h5linkObj
.
url
,
callback
:
function
(
t
){
e
.
$set
(
e
.
h5linkObj
,
"url"
,
t
)},
expression
:
"h5linkObj.url"
}}),
i
(
"a"
,{
staticClass
:
"h5link-help"
,
attrs
:{
href
:
"http://doc.demogic.com/doc/index.php?s=/41&page_id=441"
,
target
:
"_blank"
}},[
e
.
_v
(
"【帮助文档】请联系公司技术人员查看文档配置标准链接"
)])],
1
),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"h5link-row"
},[
i
(
"label"
,{
staticClass
:
"h5link-title"
},[
e
.
_v
(
"固定参数:"
)]),
e
.
_v
(
" "
),
i
(
"el-input"
,{
attrs
:{
type
:
"textarea"
,
resize
:
"none"
,
rows
:
4
,
placeholder
:
"请输入固定参数(可选)"
},
model
:{
value
:
e
.
h5linkObj
.
fixParam
,
callback
:
function
(
t
){
e
.
$set
(
e
.
h5linkObj
,
"fixParam"
,
t
)},
expression
:
"h5linkObj.fixParam"
}})],
1
),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"h5link-row"
},[
i
(
"label"
,{
staticClass
:
"h5link-title"
},[
e
.
_v
(
"动态参数:"
)]),
e
.
_v
(
" "
),
i
(
"el-select"
,{
staticClass
:
"dynamic-param-select"
,
attrs
:{
multiple
:
""
,
placeholder
:
"请选择动态参数(可选)"
},
model
:{
value
:
e
.
h5linkObj
.
dynamicPara
,
callback
:
function
(
t
){
e
.
$set
(
e
.
h5linkObj
,
"dynamicPara"
,
t
)},
expression
:
"h5linkObj.dynamicPara"
}},
e
.
_l
(
e
.
h5linkObj
.
dynamicParaOptions
,
function
(
e
){
return
i
(
"el-option"
,{
key
:
e
.
value
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})}))],
1
)]):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
goodsLinksVisible
?
i
(
"div"
,{
staticClass
:
"goods-links-contian"
},[
i
(
"div"
,{
staticClass
:
"links-tools-row"
},[
i
(
"treeselect"
,{
attrs
:{
options
:
e
.
categoryOptions
,
normalizer
:
e
.
normalizer
,
"default-expand-level"
:
1
,
flat
:
!
0
,
placeholder
:
"所有品类"
,
noOptionsText
:
"暂无数据"
,
noResultsText
:
"无数据"
,
"no-children-text"
:
"无数据"
,
"load-options"
:
e
.
loadOptions
,
beforeClearAll
:
e
.
beforeClearCategory
},
on
:{
select
:
e
.
categorySelect
},
model
:{
value
:
e
.
category
,
callback
:
function
(
t
){
e
.
category
=
t
},
expression
:
"category"
}}),
e
.
_v
(
" "
),
i
(
"treeselect"
,{
attrs
:{
options
:
e
.
classifyOptions
,
normalizer
:
e
.
normalizer
,
"default-expand-level"
:
1
,
placeholder
:
"所有分类"
,
noOptionsText
:
"暂无数据"
,
noResultsText
:
"无数据"
,
noChildrenText
:
"无数据"
,
beforeClearAll
:
e
.
beforeClearClassify
},
on
:{
select
:
e
.
classifySelect
},
model
:{
value
:
e
.
classify
,
callback
:
function
(
t
){
e
.
classify
=
t
},
expression
:
"classify"
}}),
e
.
_v
(
" "
),
i
(
"el-input"
,{
staticClass
:
"links-tools-input"
,
attrs
:{
placeholder
:
"请输入商品名称/货号"
,
clearable
:
""
},
on
:{
clear
:
e
.
clearInput
},
nativeOn
:{
keyup
:
function
(
t
){
return
i
=
t
,
e
.
toSearchInput
(
i
);
var
i
}},
model
:{
value
:
e
.
searchGoods
,
callback
:
function
(
t
){
e
.
searchGoods
=
t
},
expression
:
"searchGoods"
}},[
i
(
"i"
,{
staticClass
:
"el-input__icon el-icon-search"
,
attrs
:{
slot
:
"prefix"
},
slot
:
"prefix"
})])],
1
),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"goods-link-content"
},[
i
(
"ul"
,{
staticClass
:
"goods-link-list"
},
e
.
_l
(
e
.
goodsList
,
function
(
t
,
l
){
return
i
(
"li"
,{
key
:
t
.
proName
+
l
,
class
:
t
.
mallProId
==
e
.
selectGoodId
?
"goods-link-item goodSelect"
:
"goods-link-item"
,
on
:{
click
:
function
(
i
){
e
.
selectGoodLinkItem
(
t
)}}},[
i
(
"img"
,{
attrs
:{
src
:
t
.
mallProImageUrl
,
alt
:
"商品图片"
}}),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"inline-block goods-message"
},[
i
(
"p"
,{
staticClass
:
"limit-2 pro-name"
},[
e
.
_v
(
e
.
_s
(
t
.
proName
))]),
e
.
_v
(
" "
),
i
(
"p"
,{
staticClass
:
"gray-color pro-code"
},[
e
.
_v
(
"货号:"
+
e
.
_s
(
t
.
proCode
))]),
e
.
_v
(
" "
),
i
(
"span"
,{
staticClass
:
"pro-price"
},[
e
.
_v
(
"¥"
+
e
.
_s
(
t
.
mallProSpuPrice
))])])])}))]),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"links-tools-page"
},[
i
(
"el-pagination"
,{
attrs
:{
"current-page"
:
e
.
currentPage
,
"page-sizes"
:[
9
],
"page-size"
:
e
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
e
.
total
},
on
:{
"size-change"
:
e
.
linkSizeChange
,
"current-change"
:
e
.
linkCurrentChange
}})],
1
)]):
e
.
_e
(),
e
.
_v
(
" "
),
i
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
i
(
"el-button"
,{
on
:{
click
:
e
.
cancelLinkSelect
}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
confirmLinkSelect
}},[
e
.
_v
(
"确 定"
)])],
1
)])],
1
)},
staticRenderFns
:[]};
var
c
=
i
(
"VU/8"
)(
o
,
r
,
!
1
,
function
(
e
){
i
(
"rtQY"
)},
"data-v-20b2819f"
,
null
);
t
.
default
=
c
.
exports
},
rtQY
:
function
(
e
,
t
){}});
\ No newline at end of file
webpackJsonp
([
23
],{
Lc2x
:
function
(
e
,
t
,
i
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
l
=
i
(
"GXH0"
),
s
=
i
.
n
(
l
),
a
=
i
(
"mw3O"
),
n
=
i
.
n
(
a
),
o
=
{
name
:
"links"
,
props
:[
"linkToolsVisible"
],
data
:
function
(){
return
{
activeName
:
"first"
,
twoLevelVisible
:
!
1
,
threeLevelVisible
:
!
1
,
linksType
:
""
,
linksTypeOptions
:[],
twoLevelValue
:
""
,
twoLevelOptions
:[],
threeLeveloneVisible
:
!
1
,
threeLevelTreeVisible
:
!
1
,
threeLevelSearchVisible
:
!
1
,
threeLevelValue
:
""
,
threeLevelOptions
:[],
h5linkVisible
:
!
1
,
h5linkObj
:{
name
:
""
,
url
:
""
,
fixParam
:
""
,
dynamicPara
:
""
,
dynamicParaOptions
:[{
value
:
"openid"
,
label
:
"openid"
},{
value
:
"unionid"
,
label
:
"unionid"
},{
value
:
"wxOpenid"
,
label
:
"wxOpenid"
},{
value
:
"appkey"
,
label
:
"appkey"
},{
value
:
"enterpriseId"
,
label
:
"enterpriseId"
},{
value
:
"appid"
,
label
:
"appid"
},{
value
:
"memberID"
,
label
:
"memberID"
}]},
mylinkToolsVisible
:
this
.
linkToolsVisible
,
goodsLinksVisible
:
!
1
,
searchGoods
:
""
,
category
:
null
,
categoryOptions
:[],
normalizer
:
function
(
e
){
return
{
id
:
e
.
key
,
label
:
e
.
name
,
children
:
e
.
subOptions
}},
selectGoodId
:
""
,
goodsList
:[],
currentPage
:
1
,
pageSize
:
9
,
total
:
0
,
classify
:
null
,
classifyOptions
:[],
goodsCategory
:
null
,
goodsCategoryOptions
:[],
oneLevelTypeValue
:
""
,
twoLevelSelectValue
:
""
,
threeLevelSelectValue
:
""
,
selectLinkObj
:{
name
:
""
,
url
:
""
}}},
methods
:{
linksTypeChange
:
function
(
e
){
var
t
=
""
;
this
.
linksTypeOptions
.
forEach
(
function
(
i
,
l
){
i
.
linkId
==
e
&&
(
t
=
i
)}),
this
.
oneLevelTypeValue
=
t
.
type
;
var
i
=
5
==
t
.
type
;
this
.
setOneLevelVisible
(
i
,
t
),
this
.
selectLinkObj
.
name
=
""
,
this
.
selectLinkObj
.
url
=
""
,
this
.
twoLevelSelectValue
=
""
,
this
.
threeLevelSelectValue
=
""
},
setOneLevelVisible
:
function
(
e
,
t
){
e
?(
this
.
h5linkVisible
=!
0
,
this
.
twoLevelVisible
=!
1
,
this
.
threeLevelVisible
=!
1
,
this
.
goodsLinksVisible
=!
1
):(
this
.
h5linkVisible
=!
1
,
this
.
twoLevelVisible
=!
0
,
this
.
threeLevelVisible
=!
1
,
this
.
goodsLinksVisible
=!
1
,
this
.
twoLevelValue
=
""
,
this
.
threeLevelValue
=
""
,
this
.
getLinksList
(
t
.
linkId
,
2
))},
twoLevelValueChange
:
function
(
e
){
var
t
=
this
,
i
=
""
;
if
(
t
.
twoLevelOptions
.
forEach
(
function
(
t
,
l
){
e
==
t
.
linkId
&&
(
i
=
t
)}),
1
==
i
.
type
||
4
==
i
.
type
||
6
==
i
.
type
){
if
(
t
.
threeLevelVisible
=!
1
,
t
.
threeLevelValue
=
""
,
t
.
twoLevelSelectValue
=
""
,
t
.
threeLevelSelectValue
=
""
,
t
.
selectLinkObj
.
name
=
""
,
t
.
selectLinkObj
.
url
=
""
,
4
==
i
.
type
)
return
t
.
getGoodsList
(),
t
.
getGoodsCategory
(),
t
.
getGoodsClassify
(),
t
.
threeLevelVisible
=!
1
,
t
.
goodsLinksVisible
=!
0
,
!
1
;
t
.
twoLevelOptions
.
forEach
(
function
(
i
,
l
){
e
==
i
.
value
&&
(
t
.
selectLinkObj
.
name
=
i
.
label
,
t
.
selectLinkObj
.
url
=
i
.
content
)})}
else
{
t
.
goodsLinksVisible
=!
1
,
t
.
threeLevelVisible
=!
0
,
t
.
threeLevelValue
=
""
,
t
.
twoLevelSelectValue
=
""
,
t
.
threeLevelSelectValue
=
""
;
var
l
=
i
.
type
;
if
(
t
.
setThreeVisible
(
l
,
i
),
2
==
l
)
return
t
.
twoLevelSelectValue
=
"sign"
,
!
1
;
if
(
3
==
l
)
return
t
.
twoLevelSelectValue
=
"goodsCate"
,
t
.
getGoodsClassify
(),
!
1
;
t
.
getLinksList
(
i
.
linkId
,
3
,
l
)}},
setThreeVisible
:
function
(
e
,
t
){
switch
(
e
){
case
0
:
this
.
threeLeveloneVisible
=!
0
,
this
.
threeLevelTreeVisible
=!
1
,
this
.
threeLevelSearchVisible
=!
1
;
break
;
case
2
:
this
.
threeLeveloneVisible
=!
1
,
this
.
threeLevelTreeVisible
=!
1
,
this
.
threeLevelSearchVisible
=!
0
,
this
.
selectLinkObj
.
name
=
t
.
name
,
this
.
selectLinkObj
.
url
=
t
.
content
;
break
;
case
3
:
this
.
threeLevelValue
=
null
,
this
.
threeLeveloneVisible
=!
1
,
this
.
threeLevelTreeVisible
=!
0
,
this
.
threeLevelSearchVisible
=!
1
,
this
.
selectLinkObj
.
name
=
t
.
name
,
this
.
selectLinkObj
.
url
=
t
.
content
}},
getGoodsCategory
:
function
(){
var
e
=
this
;
e
.
axios
.
post
(
"http://gicdev.demogic.com:9310/api-mall/list_mall_goods_category"
,
n
.
a
.
stringify
({
filterGoods
:
1
,
parentId
:
"tb-cid-11"
})).
then
(
function
(
t
){
var
i
=
t
.
data
,
l
=
""
;
if
(
0
==
i
.
errorCode
){
i
.
result
.
forEach
(
function
(
e
,
t
){
"-1"
==
e
.
parentId
&&
(
e
.
subOptions
=
[],
e
.
key
=
e
.
mallCategoryId
,
l
=
e
,
i
.
result
.
splice
(
t
,
1
))});
var
s
=
i
.
result
,
a
=
i
.
result
;
return
s
.
forEach
(
function
(
e
,
t
){
0
==
e
.
isLeaf
&&
(
e
.
subOptions
=
null
),
e
.
key
=
e
.
mallCategoryId
,
a
.
forEach
(
function
(
t
,
i
){
t
.
key
=
t
.
mallCategoryId
,
t
.
parentId
==
e
.
mallCategoryId
&&
(
e
.
subOptions
=
[],
e
.
subOptions
.
push
(
t
),
s
.
splice
(
i
,
1
))})}),
s
.
forEach
(
function
(
e
,
t
){
l
.
subOptions
.
push
(
e
)}),
e
.
categoryOptions
=
[],
e
.
categoryOptions
.
push
(
l
),
!
1
}
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
i
.
message
})}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getGoodsClassify
:
function
(){
var
e
=
this
;
e
.
axios
.
post
(
"http://gicdev.demogic.com:9310/api-mall/list_mall_goods_tag_tree"
,
n
.
a
.
stringify
({})).
then
(
function
(
t
){
var
i
=
t
.
data
;
if
(
0
==
i
.
errorCode
){
var
l
=
[
i
.
result
];
return
l
.
forEach
(
function
(
t
,
i
){
t
.
name
=
t
.
tagName
,
t
.
key
=
t
.
mallProTagId
,
t
.
childTagList
&&
(
t
.
subOptions
=
e
.
checkChildren
(
t
.
childTagList
))}),
e
.
goodsCategoryOptions
=
l
,
void
(
e
.
classifyOptions
=
l
)}
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
i
.
message
})}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
checkChildren
:
function
(
e
){
var
t
=
this
;
return
e
&&
e
.
forEach
(
function
(
e
,
i
){
e
.
name
=
e
.
tagName
,
e
.
key
=
e
.
mallProTagId
,
e
.
childTagList
&&
(
e
.
subOptions
=
t
.
checkChildren
(
e
.
childTagList
))}),
e
},
threeLevelValueChange
:
function
(
e
){},
categorySelect
:
function
(
e
,
t
){
this
.
category
=
e
.
key
,
this
.
getGoodsList
()},
beforeClearCategory
:
function
(
e
,
t
){
this
.
category
=
null
,
this
.
getGoodsList
()},
loadOptions
:
function
(
e
){
var
t
=
e
.
action
,
i
=
e
.
parentNode
;
e
.
callback
;
"LOAD_CHILDREN_OPTIONS"
===
t
&&
i
.
key
&&
this
.
getChildrenNode
(
i
,
i
.
key
)},
getChildrenNode
:
function
(
e
,
t
){
var
i
=
this
,
l
=
{
filterGoods
:
1
,
parentId
:
t
};
i
.
axios
.
post
(
"http://gicdev.demogic.com:9310/api-mall/list_mall_goods_category"
,
n
.
a
.
stringify
(
l
)).
then
(
function
(
t
){
var
l
=
t
.
data
;
0
!=
l
.
errorCode
?
i
.
$message
.
error
({
duration
:
1
e3
,
message
:
l
.
message
}):
e
.
subOptions
=
l
.
result
}).
catch
(
function
(
e
){
i
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
classifySelect
:
function
(
e
,
t
){
this
.
classify
=
e
.
key
,
this
.
getGoodsList
()},
beforeClearClassify
:
function
(
e
,
t
){
this
.
classify
=
null
,
this
.
getGoodsList
()},
goodsCategorySelect
:
function
(
e
,
t
){},
handleClose
:
function
(
e
){
var
t
=
this
;
t
.
$confirm
(
"确认关闭?"
).
then
(
function
(
i
){
e
(),
t
.
mylinkToolsVisible
=!
1
,
t
.
$emit
(
"linkSelect"
)}).
catch
(
function
(
e
){})},
linkSizeChange
:
function
(
e
){
this
.
pageSize
=
e
,
this
.
getGoodsList
()},
linkCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getGoodsList
()},
selectGoodLinkItem
:
function
(
e
){
this
.
selectGoodId
=
e
.
mallProId
,
this
.
selectLinkItem
(
e
)},
selectLinkItem
:
function
(
e
){
this
.
selectLinkObj
.
name
=
e
.
proName
,
this
.
selectLinkObj
.
url
=
e
.
mallProImageUrl
},
toSearchInput
:
function
(
e
){
1
==
this
.
currentPage
?
this
.
getGoodsList
():
this
.
currentPage
=
1
},
clearInput
:
function
(
e
){
1
==
this
.
currentPage
?
this
.
getGoodsList
():
this
.
currentPage
=
1
},
getGoodsList
:
function
(){
var
e
=
this
,
t
=
{
pageNum
:
e
.
currentPage
,
searchparams
:
e
.
searchGoods
||
""
,
pageSize
:
e
.
pageSize
,
mallCategoryId
:
e
.
category
,
tagId
:
e
.
classify
};
e
.
axios
.
post
(
"http://gicdev.demogic.com:9310/api-mall/page-mall-goods"
,
n
.
a
.
stringify
(
t
)).
then
(
function
(
t
){
var
i
=
t
.
data
;
if
(
0
==
i
.
errorCode
)
return
e
.
goodsList
=
i
.
result
.
result
,
void
(
e
.
total
=
i
.
result
.
totalCount
);
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
i
.
message
})}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
remoteMethod
:
function
(
e
){
""
!==
e
?
this
.
getStoreList
(
e
,
this
.
threeLevelValue
):
this
.
threeLevelOptions
=
[]},
cancelLinkSelect
:
function
(){
var
e
=
this
;
this
.
$confirm
(
"确认关闭?"
,
""
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
""
}).
then
(
function
(){
e
.
$emit
(
"linkSelect"
)}).
catch
(
function
(){})},
confirmLinkSelect
:
function
(){
return
5
==
this
.
oneLevelTypeValue
?
this
.
h5linkObj
.
name
.
trim
()
&&
this
.
h5linkObj
.
url
.
trim
()?(
this
.
selectLinkObj
.
name
=
this
.
h5linkObj
.
name
,
this
.
selectLinkObj
.
url
=
this
.
h5linkObj
.
url
+
"?"
+
this
.
h5linkObj
.
fixParam
+
"&"
+
this
.
h5linkObj
.
dynamicPara
,
void
this
.
transData
()):
void
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请填写链接内容"
}):
"sign"
==
this
.
twoLevelSelectValue
?(
this
.
checkTwoLevel
(
this
.
twoLevelSelectValue
),
!
1
):
"goodsCate"
==
this
.
twoLevelSelectValue
?(
this
.
checkTwoLevel
(
this
.
twoLevelSelectValue
),
!
1
):
void
(
this
.
selectLinkObj
.
name
&&
this
.
selectLinkObj
.
url
?
this
.
transData
():
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请选择链接"
}))},
checkTwoLevel
:
function
(
e
){
if
(
!
this
.
threeLevelValue
||!
this
.
threeLevelValue
.
length
)
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请选择"
+
(
"sign"
==
e
?
"门店"
:
"商品分类"
)}),
!
1
;
this
.
selectLinkObj
.
url
=
this
.
selectLinkObj
.
url
+
"?"
+
this
.
threeLevelValue
,
this
.
transData
()},
resetAll
:
function
(){
this
.
h5linkVisible
=!
1
,
this
.
linksType
=
""
,
this
.
twoLevelVisible
=!
1
,
this
.
threeLevelVisible
=!
1
,
this
.
goodsLinksVisible
=!
1
,
this
.
twoLevelValue
=
""
,
this
.
twoLevelSelectValue
=
""
,
this
.
threeLevelValue
=
""
,
this
.
selectLinkObj
=
{
url
:
""
,
name
:
""
},
this
.
currentPage
=
1
,
this
.
total
=
0
,
this
.
pageSize
=
9
,
this
.
searchGoods
=
""
,
this
.
classify
=
null
,
this
.
category
=
null
,
this
.
h5linkObj
.
name
=
""
,
this
.
h5linkObj
.
url
=
""
,
this
.
h5linkObj
.
fixParam
=
""
,
this
.
h5linkObj
.
dynamicPara
=
""
},
transData
:
function
(){
this
.
$emit
(
"linkSelect"
,
this
.
selectLinkObj
),
this
.
resetAll
()},
getLinksList
:
function
(
e
,
t
,
i
){
var
l
=
this
;
i
=
i
||
""
;
var
s
=
{
parentId
:
e
};
l
.
axios
.
post
(
"http://gicdev.demogic.com:9310/api-plug/list-link-data"
,
n
.
a
.
stringify
(
s
)).
then
(
function
(
s
){
var
a
=
s
.
data
;
0
!=
a
.
errorCode
?
l
.
$message
.
error
({
duration
:
1
e3
,
message
:
a
.
message
}):
l
.
setLevelListOptions
(
e
,
a
.
result
,
t
,
i
)}).
catch
(
function
(
e
){
l
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
setLevelListOptions
:
function
(
e
,
t
,
i
,
l
){
return
0
==
e
?(
t
.
forEach
(
function
(
e
,
t
){
e
.
id
=
e
.
linkId
,
e
.
label
=
e
.
name
,
e
.
value
=
e
.
linkId
}),
void
(
this
.
linksTypeOptions
=
t
)):
2
==
i
&&
t
[
0
]?(
t
.
forEach
(
function
(
e
,
t
){
e
.
id
=
e
.
linkId
,
e
.
label
=
e
.
name
,
e
.
value
=
e
.
linkId
}),
void
(
this
.
twoLevelOptions
=
t
)):
void
0
},
getStoreList
:
function
(
e
,
t
){
var
i
=
this
,
l
=
{
searchParam
:
e
,
selectedIds
:
t
.
toString
(),
flag
:
null
};
i
.
axios
.
post
(
"http://gicdev.demogic.com:9310/api-plug/query-store-by-code-name"
,
n
.
a
.
stringify
(
l
)).
then
(
function
(
e
){
var
t
=
e
.
data
;
if
(
0
==
t
.
errorCode
)
return
t
.
result
.
forEach
(
function
(
e
,
t
){
e
.
id
=
e
.
storeId
,
e
.
label
=
e
.
storeName
,
e
.
value
=
e
.
storeId
}),
void
(
i
.
threeLevelOptions
=
t
.
result
);
i
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})}).
catch
(
function
(
e
){
i
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
toLogin
:
function
(){
var
e
=
this
;
e
.
axios
.
post
(
"http://gicdev.demogic.com:9310/api-auth/do-login"
,
n
.
a
.
stringify
({
loginName
:
"damogic"
,
password
:
"1"
,
eid
:
"ff808081593917d90159398ec6340012"
})).
then
(
function
(
t
){
e
.
getLinksList
(
0
,
1
)}).
catch
(
function
(
e
){})}},
watch
:{
linkToolsVisible
:
function
(
e
){
this
.
mylinkToolsVisible
=
e
}},
mounted
:
function
(){
this
.
toLogin
()},
components
:{
Treeselect
:
s
.
a
}},
r
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"div"
,{
staticClass
:
"link-tools-contain"
},[
i
(
"el-dialog"
,{
class
:
"first"
==
e
.
activeName
?
"min-1026"
:
"min-720"
,
attrs
:{
title
:
"链接小工具"
,
visible
:
e
.
mylinkToolsVisible
,
"before-close"
:
e
.
handleClose
},
on
:{
"update:visible"
:
function
(
t
){
e
.
mylinkToolsVisible
=
t
}}},[
i
(
"div"
,{
staticClass
:
"links-types"
},[
i
(
"label"
,{
staticClass
:
"types-title"
},[
e
.
_v
(
"链接类型:"
)]),
e
.
_v
(
" "
),
i
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
e
.
linksTypeChange
},
model
:{
value
:
e
.
linksType
,
callback
:
function
(
t
){
e
.
linksType
=
t
},
expression
:
"linksType"
}},
e
.
_l
(
e
.
linksTypeOptions
,
function
(
e
){
return
i
(
"el-option"
,{
key
:
e
.
value
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})})),
e
.
_v
(
" "
),
e
.
twoLevelVisible
?
i
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
e
.
twoLevelValueChange
},
model
:{
value
:
e
.
twoLevelValue
,
callback
:
function
(
t
){
e
.
twoLevelValue
=
t
},
expression
:
"twoLevelValue"
}},
e
.
_l
(
e
.
twoLevelOptions
,
function
(
e
){
return
i
(
"el-option"
,{
key
:
e
.
value
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})})):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
threeLevelVisible
?
i
(
"div"
,{
staticClass
:
"three-level-wrap"
},[
e
.
threeLevelTreeVisible
?
i
(
"treeselect"
,{
attrs
:{
options
:
e
.
goodsCategoryOptions
,
normalizer
:
e
.
normalizer
,
"default-expand-level"
:
1
,
placeholder
:
"所有分类"
,
noOptionsText
:
"暂无数据"
,
noResultsText
:
"无数据"
},
on
:{
select
:
e
.
goodsCategorySelect
},
model
:{
value
:
e
.
threeLevelValue
,
callback
:
function
(
t
){
e
.
threeLevelValue
=
t
},
expression
:
"threeLevelValue"
}}):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
threeLevelSearchVisible
?
i
(
"el-select"
,{
attrs
:{
multiple
:
""
,
filterable
:
""
,
remote
:
""
,
"reserve-keyword"
:
""
,
placeholder
:
"请输入关键词"
,
"remote-method"
:
e
.
remoteMethod
},
on
:{
change
:
e
.
threeLevelValueChange
},
model
:{
value
:
e
.
threeLevelValue
,
callback
:
function
(
t
){
e
.
threeLevelValue
=
t
},
expression
:
"threeLevelValue"
}},
e
.
_l
(
e
.
threeLevelOptions
,
function
(
e
){
return
i
(
"el-option"
,{
key
:
e
.
value
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})})):
e
.
_e
()],
1
):
e
.
_e
()],
1
),
e
.
_v
(
" "
),
e
.
h5linkVisible
?
i
(
"div"
,{
staticClass
:
"h5link-contain"
},[
i
(
"div"
,{
staticClass
:
"h5link-row"
},[
i
(
"label"
,{
staticClass
:
"h5link-title"
},[
e
.
_v
(
"名称:"
)]),
e
.
_v
(
" "
),
i
(
"el-input"
,{
attrs
:{
placeholder
:
"请输入名称"
},
model
:{
value
:
e
.
h5linkObj
.
name
,
callback
:
function
(
t
){
e
.
$set
(
e
.
h5linkObj
,
"name"
,
t
)},
expression
:
"h5linkObj.name"
}})],
1
),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"h5link-row"
},[
i
(
"label"
,{
staticClass
:
"h5link-title"
},[
e
.
_v
(
"网址:"
)]),
e
.
_v
(
" "
),
i
(
"el-input"
,{
attrs
:{
placeholder
:
"请输入网址"
},
model
:{
value
:
e
.
h5linkObj
.
url
,
callback
:
function
(
t
){
e
.
$set
(
e
.
h5linkObj
,
"url"
,
t
)},
expression
:
"h5linkObj.url"
}}),
i
(
"a"
,{
staticClass
:
"h5link-help"
,
attrs
:{
href
:
"http://doc.demogic.com/doc/index.php?s=/41&page_id=441"
,
target
:
"_blank"
}},[
e
.
_v
(
"【帮助文档】请联系公司技术人员查看文档配置标准链接"
)])],
1
),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"h5link-row"
},[
i
(
"label"
,{
staticClass
:
"h5link-title"
},[
e
.
_v
(
"固定参数:"
)]),
e
.
_v
(
" "
),
i
(
"el-input"
,{
attrs
:{
type
:
"textarea"
,
resize
:
"none"
,
rows
:
4
,
placeholder
:
"请输入固定参数(可选)"
},
model
:{
value
:
e
.
h5linkObj
.
fixParam
,
callback
:
function
(
t
){
e
.
$set
(
e
.
h5linkObj
,
"fixParam"
,
t
)},
expression
:
"h5linkObj.fixParam"
}})],
1
),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"h5link-row"
},[
i
(
"label"
,{
staticClass
:
"h5link-title"
},[
e
.
_v
(
"动态参数:"
)]),
e
.
_v
(
" "
),
i
(
"el-select"
,{
staticClass
:
"dynamic-param-select"
,
attrs
:{
multiple
:
""
,
placeholder
:
"请选择动态参数(可选)"
},
model
:{
value
:
e
.
h5linkObj
.
dynamicPara
,
callback
:
function
(
t
){
e
.
$set
(
e
.
h5linkObj
,
"dynamicPara"
,
t
)},
expression
:
"h5linkObj.dynamicPara"
}},
e
.
_l
(
e
.
h5linkObj
.
dynamicParaOptions
,
function
(
e
){
return
i
(
"el-option"
,{
key
:
e
.
value
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})}))],
1
)]):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
goodsLinksVisible
?
i
(
"div"
,{
staticClass
:
"goods-links-contian"
},[
i
(
"div"
,{
staticClass
:
"links-tools-row"
},[
i
(
"treeselect"
,{
attrs
:{
options
:
e
.
categoryOptions
,
normalizer
:
e
.
normalizer
,
"default-expand-level"
:
1
,
flat
:
!
0
,
placeholder
:
"所有品类"
,
noOptionsText
:
"暂无数据"
,
noResultsText
:
"无数据"
,
"no-children-text"
:
"无数据"
,
"load-options"
:
e
.
loadOptions
,
beforeClearAll
:
e
.
beforeClearCategory
},
on
:{
select
:
e
.
categorySelect
},
model
:{
value
:
e
.
category
,
callback
:
function
(
t
){
e
.
category
=
t
},
expression
:
"category"
}}),
e
.
_v
(
" "
),
i
(
"treeselect"
,{
attrs
:{
options
:
e
.
classifyOptions
,
normalizer
:
e
.
normalizer
,
"default-expand-level"
:
1
,
placeholder
:
"所有分类"
,
noOptionsText
:
"暂无数据"
,
noResultsText
:
"无数据"
,
noChildrenText
:
"无数据"
,
beforeClearAll
:
e
.
beforeClearClassify
},
on
:{
select
:
e
.
classifySelect
},
model
:{
value
:
e
.
classify
,
callback
:
function
(
t
){
e
.
classify
=
t
},
expression
:
"classify"
}}),
e
.
_v
(
" "
),
i
(
"el-input"
,{
staticClass
:
"links-tools-input"
,
attrs
:{
placeholder
:
"请输入商品名称/货号"
,
clearable
:
""
},
on
:{
clear
:
e
.
clearInput
},
nativeOn
:{
keyup
:
function
(
t
){
return
i
=
t
,
e
.
toSearchInput
(
i
);
var
i
}},
model
:{
value
:
e
.
searchGoods
,
callback
:
function
(
t
){
e
.
searchGoods
=
t
},
expression
:
"searchGoods"
}},[
i
(
"i"
,{
staticClass
:
"el-input__icon el-icon-search"
,
attrs
:{
slot
:
"prefix"
},
slot
:
"prefix"
})])],
1
),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"goods-link-content"
},[
i
(
"ul"
,{
staticClass
:
"goods-link-list"
},
e
.
_l
(
e
.
goodsList
,
function
(
t
,
l
){
return
i
(
"li"
,{
key
:
t
.
proName
+
l
,
class
:
t
.
mallProId
==
e
.
selectGoodId
?
"goods-link-item goodSelect"
:
"goods-link-item"
,
on
:{
click
:
function
(
i
){
e
.
selectGoodLinkItem
(
t
)}}},[
i
(
"img"
,{
attrs
:{
src
:
t
.
mallProImageUrl
,
alt
:
"商品图片"
}}),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"inline-block goods-message"
},[
i
(
"p"
,{
staticClass
:
"limit-2 pro-name"
},[
e
.
_v
(
e
.
_s
(
t
.
proName
))]),
e
.
_v
(
" "
),
i
(
"p"
,{
staticClass
:
"gray-color pro-code"
},[
e
.
_v
(
"货号:"
+
e
.
_s
(
t
.
proCode
))]),
e
.
_v
(
" "
),
i
(
"span"
,{
staticClass
:
"pro-price"
},[
e
.
_v
(
"¥"
+
e
.
_s
(
t
.
mallProSpuPrice
))])])])}))]),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"links-tools-page"
},[
i
(
"el-pagination"
,{
attrs
:{
"current-page"
:
e
.
currentPage
,
"page-sizes"
:[
9
],
"page-size"
:
e
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
e
.
total
},
on
:{
"size-change"
:
e
.
linkSizeChange
,
"current-change"
:
e
.
linkCurrentChange
}})],
1
)]):
e
.
_e
(),
e
.
_v
(
" "
),
i
(
"span"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
i
(
"el-button"
,{
on
:{
click
:
e
.
cancelLinkSelect
}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
confirmLinkSelect
}},[
e
.
_v
(
"确 定"
)])],
1
)])],
1
)},
staticRenderFns
:[]};
var
c
=
i
(
"VU/8"
)(
o
,
r
,
!
1
,
function
(
e
){
i
(
"rtQY"
)},
"data-v-20b2819f"
,
null
);
t
.
default
=
c
.
exports
},
rtQY
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/2
3.6ea6ddced81dc240c607
.js
→
dist/static/js/2
4.fded9a13ed71f9f15272
.js
View file @
48b3200f
webpackJsonp
([
23
],{
H313
:
function
(
e
,
t
){},
YPWR
:
function
(
e
,
t
,
o
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
n
=
o
(
"5reh"
),
a
=
{
name
:
"App"
,
data
:
function
(){
return
{
projectName
:
"member-tag"
,
contentHeight
:
"0px"
,
collapseFlag
:
!
1
,
leftModulesName
:
"会员标签"
}},
methods
:{
toRouterView
:
function
(
e
){
this
.
$router
.
push
({
path
:
e
.
path
})},
collapseTag
:
function
(
e
){
this
.
collapseFlag
=
e
}},
watch
:{
$route
:{
handler
:
function
(
e
,
t
){
this
.
$refs
.
asideMenu
.
refreshRoute
()},
deep
:
!
0
}},
mounted
:
function
(){
this
.
$store
.
commit
(
n
.
d
,
"达摩GIC"
),
document
.
title
=
this
.
$store
.
state
.
title
,
this
.
pathName
=
window
.
location
.
hash
.
split
(
"/"
)[
1
],
this
.
contentHeight
=
(
document
.
documentElement
.
clientHeight
||
document
.
body
.
clientHeight
)
-
64
+
"px"
},
components
:{}},
i
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
o
=
e
.
_self
.
_c
||
t
;
return
o
(
"div"
,{
attrs
:{
id
:
"index"
}},[
o
(
"vue-gic-header"
,{
attrs
:{
projectName
:
e
.
projectName
,
collapseFlag
:
e
.
collapseFlag
},
on
:{
collapseTag
:
e
.
collapseTag
,
toRouterView
:
e
.
toRouterView
}}),
e
.
_v
(
" "
),
o
(
"div"
,{
staticClass
:
"content"
,
attrs
:{
id
:
"content"
}},[
o
(
"div"
,{
staticClass
:
"content-body"
,
style
:{
height
:
e
.
contentHeight
}},[
o
(
"div"
,{
staticClass
:
"left-menu"
,
style
:{
height
:
e
.
contentHeight
}},[
o
(
"vue-gic-aside-menu"
,{
ref
:
"asideMenu"
,
attrs
:{
projectName
:
e
.
projectName
,
leftModulesName
:
e
.
leftModulesName
,
collapseFlag
:
e
.
collapseFlag
}})],
1
),
e
.
_v
(
" "
),
o
(
"transition"
,{
attrs
:{
name
:
"fade"
,
mode
:
"out-in"
}},[
o
(
"router-view"
)],
1
)],
1
)])],
1
)},
staticRenderFns
:[]};
var
s
=
o
(
"VU/8"
)(
a
,
i
,
!
1
,
function
(
e
){
o
(
"H313"
)},
null
,
null
);
t
.
default
=
s
.
exports
}});
\ No newline at end of file
webpackJsonp
([
24
],{
H313
:
function
(
e
,
t
){},
YPWR
:
function
(
e
,
t
,
o
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
n
=
o
(
"5reh"
),
a
=
{
name
:
"App"
,
data
:
function
(){
return
{
projectName
:
"member-tag"
,
contentHeight
:
"0px"
,
collapseFlag
:
!
1
,
leftModulesName
:
"会员标签"
}},
methods
:{
toRouterView
:
function
(
e
){
this
.
$router
.
push
({
path
:
e
.
path
})},
collapseTag
:
function
(
e
){
this
.
collapseFlag
=
e
}},
watch
:{
$route
:{
handler
:
function
(
e
,
t
){
this
.
$refs
.
asideMenu
.
refreshRoute
()},
deep
:
!
0
}},
mounted
:
function
(){
this
.
$store
.
commit
(
n
.
d
,
"达摩GIC"
),
document
.
title
=
this
.
$store
.
state
.
title
,
this
.
pathName
=
window
.
location
.
hash
.
split
(
"/"
)[
1
],
this
.
contentHeight
=
(
document
.
documentElement
.
clientHeight
||
document
.
body
.
clientHeight
)
-
64
+
"px"
},
components
:{}},
i
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
o
=
e
.
_self
.
_c
||
t
;
return
o
(
"div"
,{
attrs
:{
id
:
"index"
}},[
o
(
"vue-gic-header"
,{
attrs
:{
projectName
:
e
.
projectName
,
collapseFlag
:
e
.
collapseFlag
},
on
:{
collapseTag
:
e
.
collapseTag
,
toRouterView
:
e
.
toRouterView
}}),
e
.
_v
(
" "
),
o
(
"div"
,{
staticClass
:
"content"
,
attrs
:{
id
:
"content"
}},[
o
(
"div"
,{
staticClass
:
"content-body"
,
style
:{
height
:
e
.
contentHeight
}},[
o
(
"div"
,{
staticClass
:
"left-menu"
,
style
:{
height
:
e
.
contentHeight
}},[
o
(
"vue-gic-aside-menu"
,{
ref
:
"asideMenu"
,
attrs
:{
projectName
:
e
.
projectName
,
leftModulesName
:
e
.
leftModulesName
,
collapseFlag
:
e
.
collapseFlag
}})],
1
),
e
.
_v
(
" "
),
o
(
"transition"
,{
attrs
:{
name
:
"fade"
,
mode
:
"out-in"
}},[
o
(
"router-view"
)],
1
)],
1
)])],
1
)},
staticRenderFns
:[]};
var
s
=
o
(
"VU/8"
)(
a
,
i
,
!
1
,
function
(
e
){
o
(
"H313"
)},
null
,
null
);
t
.
default
=
s
.
exports
}});
\ No newline at end of file
dist/static/js/27.0
2b5e0be03d9340bd13
0.js
→
dist/static/js/27.0
5fc6ac37ece0004119
0.js
View file @
48b3200f
File moved
dist/static/js/app.
73fde9af31619c4680ad
.js
→
dist/static/js/app.
8e3a79326e176fe1fee9
.js
View file @
48b3200f
webpackJsonp
([
26
],{
"4qCZ"
:
function
(
e
,
t
){},
"5reh"
:
function
(
e
,
t
,
n
){
"use strict"
;
n
.
d
(
t
,
"a"
,
function
(){
return
a
}),
n
.
d
(
t
,
"b"
,
function
(){
return
o
}),
n
.
d
(
t
,
"d"
,
function
(){
return
r
}),
n
.
d
(
t
,
"c"
,
function
(){
return
i
});
var
a
=
"login"
,
o
=
"logout"
,
r
=
"title"
,
i
=
"show"
},
"5tgt"
:
function
(
e
,
t
,
n
){
e
.
exports
=
function
(
e
,
t
){
return
function
(
a
){
n
(
"Vna/"
)(
"./"
+
e
+
"/"
+
t
+
".vue"
).
then
(
function
(
e
){
a
(
e
)})}}},
NHnr
:
function
(
e
,
t
,
n
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
n
(
"//Fk"
),
o
=
n
.
n
(
a
),
r
=
{
render
:
function
(){
var
e
=
this
.
$createElement
,
t
=
this
.
_self
.
_c
||
e
;
return
t
(
"div"
,{
attrs
:{
id
:
"app"
}},[
t
(
"transition"
,{
attrs
:{
name
:
"fade"
,
mode
:
"out-in"
}},[
t
(
"router-view"
)],
1
)],
1
)},
staticRenderFns
:[]};
var
i
,
u
=
n
(
"VU/8"
)({
name
:
"App"
,
data
:
function
(){
return
{}}},
r
,
!
1
,
function
(
e
){
n
(
"a/Gl"
)},
null
,
null
).
exports
,
m
=
n
(
"pRNm"
),
l
=
n
.
n
(
m
),
p
=
n
(
"5tgt"
),
s
=
n
.
n
(
p
),
c
=
function
(
e
){
n
.
e
(
1
).
then
(
n
.
bind
(
null
,
"EE2z"
)).
then
(
function
(
t
){
e
(
t
)})},
g
=
[{
path
:
"/"
,
name
:
"index"
,
redirect
:
"platformTagLib"
,
component
:
s
()(
"index"
,
"index"
),
children
:[{
path
:
"/platformTagLib"
,
name
:
"平台标签库"
,
component
:
s
()(
"platformTag"
,
"platformTagLib"
),
meta
:{
title
:
"会员标签-平台标签库"
}},{
path
:
"/platformTagList"
,
component
:
s
()(
"platformTag"
,
"platformTagList"
),
name
:
"平台标签列表"
,
meta
:{
title
:
"会员标签-平台标签列表"
}},{
path
:
"/platformTagDetail"
,
component
:
s
()(
"platformTag"
,
"platformTagDetail"
),
name
:
"平台标签详情"
,
meta
:{
title
:
"会员标签-平台标签详情"
}},{
path
:
"/manualTagLib"
,
component
:
s
()(
"manualTag"
,
"manualTagLib"
),
name
:
"手工标签库"
,
meta
:{
title
:
"会员标签-手工标签库"
}},{
path
:
"/manualTagList"
,
component
:
s
()(
"manualTag"
,
"manualTagList"
),
name
:
"手工标签列表"
,
meta
:{
title
:
"会员标签-手工标签列表"
}},{
path
:
"/manualTagEdit"
,
component
:
s
()(
"manualTag"
,
"manualTagEdit"
),
name
:
"编辑手工标签"
,
meta
:{
title
:
"会员标签-编辑手工标签"
}},{
path
:
"/manualTagDetail"
,
component
:
s
()(
"manualTag"
,
"manualTagDetail"
),
name
:
"手工标签详情"
,
meta
:{
title
:
"会员标签-手工标签详情"
}},{
path
:
"/myTagLib"
,
component
:
s
()(
"myTag"
,
"myTagLib"
),
name
:
"我的标签库"
,
meta
:{
title
:
"会员标签-我的标签库"
}},{
path
:
"/myTagList"
,
component
:
s
()(
"myTag"
,
"myTagList"
),
name
:
"我的标签库列表"
,
meta
:{
title
:
"会员标签-我的标签库列表"
}},{
path
:
"/myTagDetail"
,
component
:
s
()(
"myTag"
,
"myTagDetail"
),
name
:
"标签详情"
,
meta
:{
title
:
"会员标签-标签详情"
}}]},{
path
:
"/memberGroupList"
,
name
:
"memberGroupListIndex"
,
redirect
:
"memberGroupList"
,
component
:
s
()(
"memberGroup"
,
"index"
),
children
:[{
path
:
"/memberGroupList"
,
component
:
s
()(
"memberGroup"
,
"memberGroupList"
),
name
:
"会员分组"
,
meta
:{
title
:
"会员标签-会员分组"
}},{
path
:
"/memberGroupDetail"
,
component
:
s
()(
"memberGroup"
,
"memberGroupDetail"
),
name
:
"分组详情"
,
meta
:{
title
:
"会员标签-分组详情"
}},{
path
:
"/memberGroupEdit"
,
component
:
s
()(
"memberGroup"
,
"memberGroupEdit"
),
name
:
"编辑分组"
,
meta
:{
title
:
"会员标签-编辑分组"
}}]},{
path
:
"/403"
,
name
:
"无权访问"
,
component
:
c
},{
path
:
"/404"
,
name
:
"error404"
,
component
:
c
},{
path
:
"/500"
,
name
:
"error500"
,
component
:
c
},{
path
:
"*"
,
redirect
:
"/404"
,
hidden
:
!
0
}],
f
=
new
l
.
a
({
routes
:
g
,
scrollBehavior
:
function
(){
return
{
y
:
0
}}}),
T
=
n
(
"zL8q"
),
d
=
n
(
"Rf8U"
),
b
=
n
.
n
(
d
),
h
=
n
(
"mtWM"
),
v
=
n
.
n
(
h
),
L
=
n
(
"bOdI"
),
G
=
n
.
n
(
L
),
y
=
n
(
"SJI6"
),
x
=
n
.
n
(
y
),
w
=
n
(
"lRwf"
),
k
=
n
.
n
(
w
),
V
=
n
(
"5reh"
);
k
.
a
.
use
(
x
.
a
);
var
D
=
new
x
.
a
.
Store
({
state
:{
user
:{},
token
:
null
,
title
:
""
,
show
:
!
1
},
mutations
:(
i
=
{},
G
()(
i
,
V
.
a
,
function
(
e
,
t
){
sessionStorage
.
token
=
t
,
e
.
token
=
t
}),
G
()(
i
,
V
.
b
,
function
(
e
){
sessionStorage
.
removeItem
(
"token"
),
e
.
token
=
null
}),
G
()(
i
,
V
.
d
,
function
(
e
,
t
){
e
.
title
=
t
}),
G
()(
i
,
V
.
c
,
function
(
e
,
t
){
e
.
show
=
t
}),
i
)}),
E
=
(
n
(
"Xcu2"
),
n
(
"4qCZ"
),
n
(
"uKUT"
),
n
(
"GqmT"
)),
P
=
n
.
n
(
E
);
Vue
.
use
(
P
.
a
),
Vue
.
config
.
productionTip
=!
1
,
Vue
.
use
(
b
.
a
,
v
.
a
),
Vue
.
axios
.
defaults
.
withCredentials
=!
0
,
Vue
.
axios
.
interceptors
.
request
.
use
(
function
(
e
){
return
e
},
function
(
e
){
return
o
.
a
.
reject
(
e
)}),
Vue
.
axios
.
interceptors
.
response
.
use
(
function
(
e
){
return
200
==
e
.
status
&&
e
.
data
.
errorCode
,
e
},
function
(
e
){
if
(
e
.
response
)
switch
(
e
.
response
.
status
){
case
401
:
window
.
location
.
href
=
window
.
location
.
origin
+
"/gic-web/#/"
;
case
500
:
T
.
Message
.
error
(
"服务器500"
)}
return
o
.
a
.
reject
(
e
.
response
.
data
)}),
new
Vue
({
el
:
"#app"
,
router
:
f
,
store
:
D
,
components
:{
App
:
u
},
template
:
"<App/>"
})},
SJI6
:
function
(
e
,
t
){
e
.
exports
=
Vuex
},
"Vna/"
:
function
(
e
,
t
,
n
){
var
a
=
{
"./errorPage/401.vue"
:[
"4KSJ"
,
6
],
"./errorPage/403.vue"
:[
"aM+6"
,
7
],
"./errorPage/404.vue"
:[
"PRsh"
,
5
],
"./errorPage/500.vue"
:[
"/HCr"
,
8
],
"./errorPage/index.vue"
:[
"EE2z"
,
1
],
"./index/index.vue"
:[
"YPWR"
,
23
],
"./linktools/linktools.vue"
:[
"Lc2x"
,
0
,
22
],
"./linktools/linktoolsold.vue"
:[
"/8lq"
,
0
,
15
],
"./linktools/linktoolspage.vue"
:[
"HLON"
,
0
,
21
],
"./login/login.vue"
:[
"6Qob"
,
0
,
13
],
"./manualTag/manualTagDetail.vue"
:[
"Tl/4"
,
0
,
12
],
"./manualTag/manualTagEdit.vue"
:[
"308P"
,
0
,
2
],
"./manualTag/manualTagLib.vue"
:[
"q490"
,
0
,
11
],
"./manualTag/manualTagList.vue"
:[
"f0o3"
,
0
,
14
],
"./memberGroup/index.vue"
:[
"Gy5W"
,
19
],
"./memberGroup/memberGroupDetail.vue"
:[
"+/ey"
,
0
,
4
],
"./memberGroup/memberGroupEdit.vue"
:[
"q0vu"
,
0
,
3
],
"./memberGroup/memberGroupList.vue"
:[
"oVck"
,
0
,
20
],
"./myTag/myTagDetail.vue"
:[
"ijla"
,
0
,
24
],
"./myTag/myTagLib.vue"
:[
"twLH"
,
0
,
16
],
"./myTag/myTagList.vue"
:[
"NJTp"
,
0
,
18
],
"./platformTag/platformTagDetail.vue"
:[
"KN59"
,
0
,
9
],
"./platformTag/platformTagLib.vue"
:[
"puJc"
,
0
,
17
],
"./platformTag/platformTagList.vue"
:[
"G/on"
,
0
,
10
]};
function
o
(
e
){
var
t
=
a
[
e
];
return
t
?
Promise
.
all
(
t
.
slice
(
1
).
map
(
n
.
e
)).
then
(
function
(){
return
n
(
t
[
0
])}):
Promise
.
reject
(
new
Error
(
"Cannot find module '"
+
e
+
"'."
))}
o
.
keys
=
function
(){
return
Object
.
keys
(
a
)},
o
.
id
=
"Vna/"
,
e
.
exports
=
o
},
Xcu2
:
function
(
e
,
t
){},
"a/Gl"
:
function
(
e
,
t
){},
lRwf
:
function
(
e
,
t
){
e
.
exports
=
Vue
},
pRNm
:
function
(
e
,
t
){
e
.
exports
=
VueRouter
},
uKUT
:
function
(
e
,
t
){}},[
"NHnr"
]);
\ No newline at end of file
webpackJsonp
([
26
],{
"4qCZ"
:
function
(
e
,
t
){},
"5reh"
:
function
(
e
,
t
,
n
){
"use strict"
;
n
.
d
(
t
,
"a"
,
function
(){
return
a
}),
n
.
d
(
t
,
"b"
,
function
(){
return
o
}),
n
.
d
(
t
,
"d"
,
function
(){
return
r
}),
n
.
d
(
t
,
"c"
,
function
(){
return
i
});
var
a
=
"login"
,
o
=
"logout"
,
r
=
"title"
,
i
=
"show"
},
"5tgt"
:
function
(
e
,
t
,
n
){
e
.
exports
=
function
(
e
,
t
){
return
function
(
a
){
n
(
"Vna/"
)(
"./"
+
e
+
"/"
+
t
+
".vue"
).
then
(
function
(
e
){
a
(
e
)})}}},
NHnr
:
function
(
e
,
t
,
n
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
n
(
"//Fk"
),
o
=
n
.
n
(
a
),
r
=
{
render
:
function
(){
var
e
=
this
.
$createElement
,
t
=
this
.
_self
.
_c
||
e
;
return
t
(
"div"
,{
attrs
:{
id
:
"app"
}},[
t
(
"transition"
,{
attrs
:{
name
:
"fade"
,
mode
:
"out-in"
}},[
t
(
"router-view"
)],
1
)],
1
)},
staticRenderFns
:[]};
var
i
,
u
=
n
(
"VU/8"
)({
name
:
"App"
,
data
:
function
(){
return
{}}},
r
,
!
1
,
function
(
e
){
n
(
"a/Gl"
)},
null
,
null
).
exports
,
m
=
n
(
"pRNm"
),
l
=
n
.
n
(
m
),
p
=
n
(
"5tgt"
),
s
=
n
.
n
(
p
),
c
=
function
(
e
){
n
.
e
(
1
).
then
(
n
.
bind
(
null
,
"EE2z"
)).
then
(
function
(
t
){
e
(
t
)})},
g
=
[{
path
:
"/"
,
name
:
"index"
,
redirect
:
"platformTagLib"
,
component
:
s
()(
"index"
,
"index"
),
children
:[{
path
:
"/platformTagLib"
,
name
:
"平台标签库"
,
component
:
s
()(
"platformTag"
,
"platformTagLib"
),
meta
:{
title
:
"会员标签-平台标签库"
}},{
path
:
"/platformTagList"
,
component
:
s
()(
"platformTag"
,
"platformTagList"
),
name
:
"平台标签列表"
,
meta
:{
title
:
"会员标签-平台标签列表"
}},{
path
:
"/platformTagDetail"
,
component
:
s
()(
"platformTag"
,
"platformTagDetail"
),
name
:
"平台标签详情"
,
meta
:{
title
:
"会员标签-平台标签详情"
}},{
path
:
"/manualTagLib"
,
component
:
s
()(
"manualTag"
,
"manualTagLib"
),
name
:
"手工标签库"
,
meta
:{
title
:
"会员标签-手工标签库"
}},{
path
:
"/manualTagList"
,
component
:
s
()(
"manualTag"
,
"manualTagList"
),
name
:
"手工标签列表"
,
meta
:{
title
:
"会员标签-手工标签列表"
}},{
path
:
"/manualTagEdit"
,
component
:
s
()(
"manualTag"
,
"manualTagEdit"
),
name
:
"编辑手工标签"
,
meta
:{
title
:
"会员标签-编辑手工标签"
}},{
path
:
"/manualTagDetail"
,
component
:
s
()(
"manualTag"
,
"manualTagDetail"
),
name
:
"手工标签详情"
,
meta
:{
title
:
"会员标签-手工标签详情"
}},{
path
:
"/myTagLib"
,
component
:
s
()(
"myTag"
,
"myTagLib"
),
name
:
"我的标签库"
,
meta
:{
title
:
"会员标签-我的标签库"
}},{
path
:
"/myTagList"
,
component
:
s
()(
"myTag"
,
"myTagList"
),
name
:
"我的标签库列表"
,
meta
:{
title
:
"会员标签-我的标签库列表"
}},{
path
:
"/myTagDetail"
,
component
:
s
()(
"myTag"
,
"myTagDetail"
),
name
:
"标签详情"
,
meta
:{
title
:
"会员标签-标签详情"
}}]},{
path
:
"/memberGroupList"
,
name
:
"memberGroupListIndex"
,
redirect
:
"memberGroupList"
,
component
:
s
()(
"memberGroup"
,
"index"
),
children
:[{
path
:
"/memberGroupList"
,
component
:
s
()(
"memberGroup"
,
"memberGroupList"
),
name
:
"会员分组"
,
meta
:{
title
:
"会员标签-会员分组"
}},{
path
:
"/memberGroupDetail"
,
component
:
s
()(
"memberGroup"
,
"memberGroupDetail"
),
name
:
"分组详情"
,
meta
:{
title
:
"会员标签-分组详情"
}},{
path
:
"/memberGroupEdit"
,
component
:
s
()(
"memberGroup"
,
"memberGroupEdit"
),
name
:
"编辑分组"
,
meta
:{
title
:
"会员标签-编辑分组"
}}]},{
path
:
"/403"
,
name
:
"无权访问"
,
component
:
c
},{
path
:
"/404"
,
name
:
"error404"
,
component
:
c
},{
path
:
"/500"
,
name
:
"error500"
,
component
:
c
},{
path
:
"*"
,
redirect
:
"/404"
,
hidden
:
!
0
}],
f
=
new
l
.
a
({
routes
:
g
,
scrollBehavior
:
function
(){
return
{
y
:
0
}}}),
T
=
n
(
"zL8q"
),
d
=
n
(
"Rf8U"
),
b
=
n
.
n
(
d
),
h
=
n
(
"mtWM"
),
v
=
n
.
n
(
h
),
L
=
n
(
"bOdI"
),
G
=
n
.
n
(
L
),
y
=
n
(
"SJI6"
),
x
=
n
.
n
(
y
),
w
=
n
(
"lRwf"
),
k
=
n
.
n
(
w
),
V
=
n
(
"5reh"
);
k
.
a
.
use
(
x
.
a
);
var
D
=
new
x
.
a
.
Store
({
state
:{
user
:{},
token
:
null
,
title
:
""
,
show
:
!
1
},
mutations
:(
i
=
{},
G
()(
i
,
V
.
a
,
function
(
e
,
t
){
sessionStorage
.
token
=
t
,
e
.
token
=
t
}),
G
()(
i
,
V
.
b
,
function
(
e
){
sessionStorage
.
removeItem
(
"token"
),
e
.
token
=
null
}),
G
()(
i
,
V
.
d
,
function
(
e
,
t
){
e
.
title
=
t
}),
G
()(
i
,
V
.
c
,
function
(
e
,
t
){
e
.
show
=
t
}),
i
)}),
E
=
(
n
(
"Xcu2"
),
n
(
"4qCZ"
),
n
(
"uKUT"
),
n
(
"GqmT"
)),
P
=
n
.
n
(
E
);
Vue
.
use
(
P
.
a
),
Vue
.
config
.
productionTip
=!
1
,
Vue
.
use
(
b
.
a
,
v
.
a
),
Vue
.
axios
.
defaults
.
withCredentials
=!
0
,
Vue
.
axios
.
interceptors
.
request
.
use
(
function
(
e
){
return
e
},
function
(
e
){
return
o
.
a
.
reject
(
e
)}),
Vue
.
axios
.
interceptors
.
response
.
use
(
function
(
e
){
return
200
==
e
.
status
&&
e
.
data
.
errorCode
,
e
},
function
(
e
){
if
(
e
.
response
)
switch
(
e
.
response
.
status
){
case
401
:
window
.
location
.
href
=
window
.
location
.
origin
+
"/gic-web/#/"
;
case
500
:
T
.
Message
.
error
(
"服务器500"
)}
return
o
.
a
.
reject
(
e
.
response
.
data
)}),
new
Vue
({
el
:
"#app"
,
router
:
f
,
store
:
D
,
components
:{
App
:
u
},
template
:
"<App/>"
})},
SJI6
:
function
(
e
,
t
){
e
.
exports
=
Vuex
},
"Vna/"
:
function
(
e
,
t
,
n
){
var
a
=
{
"./errorPage/401.vue"
:[
"4KSJ"
,
6
],
"./errorPage/403.vue"
:[
"aM+6"
,
7
],
"./errorPage/404.vue"
:[
"PRsh"
,
5
],
"./errorPage/500.vue"
:[
"/HCr"
,
8
],
"./errorPage/index.vue"
:[
"EE2z"
,
1
],
"./index/index.vue"
:[
"YPWR"
,
24
],
"./linktools/linktools.vue"
:[
"Lc2x"
,
0
,
23
],
"./linktools/linktoolsold.vue"
:[
"/8lq"
,
0
,
16
],
"./linktools/linktoolspage.vue"
:[
"HLON"
,
0
,
22
],
"./login/login.vue"
:[
"6Qob"
,
0
,
14
],
"./manualTag/manualTagDetail.vue"
:[
"Tl/4"
,
0
,
12
],
"./manualTag/manualTagEdit.vue"
:[
"308P"
,
0
,
2
],
"./manualTag/manualTagLib.vue"
:[
"q490"
,
0
,
11
],
"./manualTag/manualTagList.vue"
:[
"f0o3"
,
0
,
15
],
"./memberGroup/index.vue"
:[
"Gy5W"
,
20
],
"./memberGroup/memberGroupDetail.vue"
:[
"+/ey"
,
0
,
4
],
"./memberGroup/memberGroupEdit.vue"
:[
"q0vu"
,
0
,
3
],
"./memberGroup/memberGroupList.vue"
:[
"oVck"
,
0
,
21
],
"./myTag/myTagDetail.vue"
:[
"ijla"
,
0
,
13
],
"./myTag/myTagLib.vue"
:[
"twLH"
,
0
,
17
],
"./myTag/myTagList.vue"
:[
"NJTp"
,
0
,
19
],
"./platformTag/platformTagDetail.vue"
:[
"KN59"
,
0
,
9
],
"./platformTag/platformTagLib.vue"
:[
"puJc"
,
0
,
18
],
"./platformTag/platformTagList.vue"
:[
"G/on"
,
0
,
10
]};
function
o
(
e
){
var
t
=
a
[
e
];
return
t
?
Promise
.
all
(
t
.
slice
(
1
).
map
(
n
.
e
)).
then
(
function
(){
return
n
(
t
[
0
])}):
Promise
.
reject
(
new
Error
(
"Cannot find module '"
+
e
+
"'."
))}
o
.
keys
=
function
(){
return
Object
.
keys
(
a
)},
o
.
id
=
"Vna/"
,
e
.
exports
=
o
},
Xcu2
:
function
(
e
,
t
){},
"a/Gl"
:
function
(
e
,
t
){},
lRwf
:
function
(
e
,
t
){
e
.
exports
=
Vue
},
pRNm
:
function
(
e
,
t
){
e
.
exports
=
VueRouter
},
uKUT
:
function
(
e
,
t
){}},[
"NHnr"
]);
\ No newline at end of file
dist/static/js/manifest.0d206eb708d4c63d6607.js
deleted
100644 → 0
View file @
c931e927
!
function
(
e
){
var
c
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
n
,
f
,
d
){
for
(
var
a
,
o
,
b
,
i
=
0
,
u
=
[];
i
<
n
.
length
;
i
++
)
o
=
n
[
i
],
r
[
o
]
&&
u
.
push
(
r
[
o
][
0
]),
r
[
o
]
=
0
;
for
(
a
in
f
)
Object
.
prototype
.
hasOwnProperty
.
call
(
f
,
a
)
&&
(
e
[
a
]
=
f
[
a
]);
for
(
c
&&
c
(
n
,
f
,
d
);
u
.
length
;)
u
.
shift
()();
if
(
d
)
for
(
i
=
0
;
i
<
d
.
length
;
i
++
)
b
=
t
(
t
.
s
=
d
[
i
]);
return
b
};
var
n
=
{},
r
=
{
28
:
0
};
function
t
(
c
){
if
(
n
[
c
])
return
n
[
c
].
exports
;
var
r
=
n
[
c
]
=
{
i
:
c
,
l
:
!
1
,
exports
:{}};
return
e
[
c
].
call
(
r
.
exports
,
r
,
r
.
exports
,
t
),
r
.
l
=!
0
,
r
.
exports
}
t
.
e
=
function
(
e
){
var
c
=
r
[
e
];
if
(
0
===
c
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
c
)
return
c
[
2
];
var
n
=
new
Promise
(
function
(
n
,
t
){
c
=
r
[
e
]
=
[
n
,
t
]});
c
[
2
]
=
n
;
var
f
=
document
.
getElementsByTagName
(
"head"
)[
0
],
d
=
document
.
createElement
(
"script"
);
d
.
type
=
"text/javascript"
,
d
.
charset
=
"utf-8"
,
d
.
async
=!
0
,
d
.
timeout
=
12
e4
,
t
.
nc
&&
d
.
setAttribute
(
"nonce"
,
t
.
nc
),
d
.
src
=
t
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"dfeb7e9a359c7e5dbfa4"
,
1
:
"8e23c835820cc702881e"
,
2
:
"c56540133e9c02f8a298"
,
3
:
"0dc290d73f0d9934330e"
,
4
:
"03fb8d5ad670d6585af4"
,
5
:
"919954dc40d2a10d351f"
,
6
:
"df40dd899cd737b6b6aa"
,
7
:
"1559a18a5b4d5427c437"
,
8
:
"229dce31ff2e6126a7ee"
,
9
:
"f73e1ba7cd57f47e37b8"
,
10
:
"d622c925407c3fd3c6e1"
,
11
:
"b69f9d70eaf85be05283"
,
12
:
"d3297c34de789d9b556b"
,
13
:
"2ff9d2ac9f168cddb7af"
,
14
:
"5bb5e452f9105fa8c5b7"
,
15
:
"eb2458777a32ff9d6509"
,
16
:
"3a54c1cd1283d3db922c"
,
17
:
"fec964db5534595d5866"
,
18
:
"cf7ea9cb6b4f2a57f4ed"
,
19
:
"cc399b1ad6cf5d45b9c1"
,
20
:
"c0fd20c776f2a12eb487"
,
21
:
"e0dc2ef9bacf12967984"
,
22
:
"63829b12fa6923ef6f66"
,
23
:
"6ea6ddced81dc240c607"
,
24
:
"8ec910d63478e58f6789"
,
27
:
"02b5e0be03d9340bd130"
}[
e
]
+
".js"
;
var
a
=
setTimeout
(
o
,
12
e4
);
function
o
(){
d
.
onerror
=
d
.
onload
=
null
,
clearTimeout
(
a
);
var
c
=
r
[
e
];
0
!==
c
&&
(
c
&&
c
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
r
[
e
]
=
void
0
)}
return
d
.
onerror
=
d
.
onload
=
o
,
f
.
appendChild
(
d
),
n
},
t
.
m
=
e
,
t
.
c
=
n
,
t
.
d
=
function
(
e
,
c
,
n
){
t
.
o
(
e
,
c
)
||
Object
.
defineProperty
(
e
,
c
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
n
})},
t
.
n
=
function
(
e
){
var
c
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
t
.
d
(
c
,
"a"
,
c
),
c
},
t
.
o
=
function
(
e
,
c
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
c
)},
t
.
p
=
"./"
,
t
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
dist/static/js/manifest.b927f1b297b94f7b3866.js
0 → 100644
View file @
48b3200f
!
function
(
e
){
var
c
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
n
,
a
,
o
){
for
(
var
d
,
f
,
i
,
u
=
0
,
b
=
[];
u
<
n
.
length
;
u
++
)
f
=
n
[
u
],
r
[
f
]
&&
b
.
push
(
r
[
f
][
0
]),
r
[
f
]
=
0
;
for
(
d
in
a
)
Object
.
prototype
.
hasOwnProperty
.
call
(
a
,
d
)
&&
(
e
[
d
]
=
a
[
d
]);
for
(
c
&&
c
(
n
,
a
,
o
);
b
.
length
;)
b
.
shift
()();
if
(
o
)
for
(
u
=
0
;
u
<
o
.
length
;
u
++
)
i
=
t
(
t
.
s
=
o
[
u
]);
return
i
};
var
n
=
{},
r
=
{
28
:
0
};
function
t
(
c
){
if
(
n
[
c
])
return
n
[
c
].
exports
;
var
r
=
n
[
c
]
=
{
i
:
c
,
l
:
!
1
,
exports
:{}};
return
e
[
c
].
call
(
r
.
exports
,
r
,
r
.
exports
,
t
),
r
.
l
=!
0
,
r
.
exports
}
t
.
e
=
function
(
e
){
var
c
=
r
[
e
];
if
(
0
===
c
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
c
)
return
c
[
2
];
var
n
=
new
Promise
(
function
(
n
,
t
){
c
=
r
[
e
]
=
[
n
,
t
]});
c
[
2
]
=
n
;
var
a
=
document
.
getElementsByTagName
(
"head"
)[
0
],
o
=
document
.
createElement
(
"script"
);
o
.
type
=
"text/javascript"
,
o
.
charset
=
"utf-8"
,
o
.
async
=!
0
,
o
.
timeout
=
12
e4
,
t
.
nc
&&
o
.
setAttribute
(
"nonce"
,
t
.
nc
),
o
.
src
=
t
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"dfeb7e9a359c7e5dbfa4"
,
1
:
"8e23c835820cc702881e"
,
2
:
"c56540133e9c02f8a298"
,
3
:
"0dc290d73f0d9934330e"
,
4
:
"03fb8d5ad670d6585af4"
,
5
:
"919954dc40d2a10d351f"
,
6
:
"df40dd899cd737b6b6aa"
,
7
:
"1559a18a5b4d5427c437"
,
8
:
"229dce31ff2e6126a7ee"
,
9
:
"f73e1ba7cd57f47e37b8"
,
10
:
"d622c925407c3fd3c6e1"
,
11
:
"b69f9d70eaf85be05283"
,
12
:
"d3297c34de789d9b556b"
,
13
:
"3977c99f046a0a83bc66"
,
14
:
"5d0583cce164751ef21d"
,
15
:
"e054914147987d5fdff4"
,
16
:
"fec0731264e2f0dafda4"
,
17
:
"7fd866c078469a0c4dd6"
,
18
:
"3eb67a4633441e04fc8d"
,
19
:
"54ac05445ba078945752"
,
20
:
"1946712fb38c8c21216c"
,
21
:
"cddba7dc7ab68dc8a3b0"
,
22
:
"1dc079dea6c2a278c842"
,
23
:
"b5f73790a9e56c25ae74"
,
24
:
"fded9a13ed71f9f15272"
,
27
:
"05fc6ac37ece00041190"
}[
e
]
+
".js"
;
var
d
=
setTimeout
(
f
,
12
e4
);
function
f
(){
o
.
onerror
=
o
.
onload
=
null
,
clearTimeout
(
d
);
var
c
=
r
[
e
];
0
!==
c
&&
(
c
&&
c
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
r
[
e
]
=
void
0
)}
return
o
.
onerror
=
o
.
onload
=
f
,
a
.
appendChild
(
o
),
n
},
t
.
m
=
e
,
t
.
c
=
n
,
t
.
d
=
function
(
e
,
c
,
n
){
t
.
o
(
e
,
c
)
||
Object
.
defineProperty
(
e
,
c
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
n
})},
t
.
n
=
function
(
e
){
var
c
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
t
.
d
(
c
,
"a"
,
c
),
c
},
t
.
o
=
function
(
e
,
c
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
c
)},
t
.
p
=
"./"
,
t
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
index.html
View file @
48b3200f
...
...
@@ -14,7 +14,7 @@
<script
src=
"//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js"
></script>
<script
src=
"//web-1251519181.file.myqcloud.com/lib/elementUI/index.2.5.4.js"
></script>
<!-- 公共组件引用 cdn -->
<script
src=
"//web-1251519181.file.myqcloud.com/components/header.2.0.0
1
.js"
></script>
<script
src=
"//web-1251519181.file.myqcloud.com/components/header.2.0.0
3
.js"
></script>
<script
src=
"//web-1251519181.file.myqcloud.com/components/footer.2.0.02.js"
></script>
<script
src=
"//web-1251519181.file.myqcloud.com/components/store-new.2.0.00.js"
></script>
<!-- <script src="//web-1251519181.file.myqcloud.com/components/datepicker.2.0.00.js"></script> -->
...
...
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