Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-3
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
office
haoban-3
Commits
cce654f1
Commit
cce654f1
authored
Mar 09, 2020
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:修改日报模板保存
parent
a1f14278
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
8 additions
and
8 deletions
+8
-8
index.html
dist/index.html
+2
-2
app.36cadf45cbe3ba3c049f8f04864c2fcf.css
dist/static/css/app.36cadf45cbe3ba3c049f8f04864c2fcf.css
+0
-0
2.0ffe921cd69ce7a1cff7.js
dist/static/js/2.0ffe921cd69ce7a1cff7.js
+0
-2
2.525af3dccf4c3bc5cfbe.js
dist/static/js/2.525af3dccf4c3bc5cfbe.js
+2
-0
manifest.61161ae3f24e8b98db73.js
dist/static/js/manifest.61161ae3f24e8b98db73.js
+2
-2
customReportSet.vue
src/views/apps/cloudDaily/customReportSet.vue
+2
-2
No files found.
dist/index.html
View file @
cce654f1
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><link
rel=
"shortcut icon"
href=
./favicon.ico
><title>
好办管理平台
</title><link
rel=
stylesheet
type=
text/css
href=
//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.24.css
><link
href=
./static/css/app.591fe805b92ead687dd103a0ac062273.css
rel=
stylesheet
></head><body
style=
"min-width: 1400px;"
class=
damolish
><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/components/img-preview.2.0.00.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/footer.2.0.04.js
></script><script>
// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();
</script><script
type=
text/javascript
src=
./static/js/manifest.2b6cf427061f4b44d8b6.js
></script><script
type=
text/javascript
src=
./static/js/vendor.e91073f106903eddf860.js
></script><script
type=
text/javascript
src=
./static/js/app.7cca2ca63a73f4cb7db0.js
></script></body></html>
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><link
rel=
"shortcut icon"
href=
./favicon.ico
><title>
好办管理平台
</title><link
rel=
stylesheet
type=
text/css
href=
//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.24.css
><link
href=
./static/css/app.36cadf45cbe3ba3c049f8f04864c2fcf.css
rel=
stylesheet
></head><body
style=
"min-width: 1400px;"
class=
damolish
><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/components/img-preview.2.0.00.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/footer.2.0.04.js
></script><script>
// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();
</script><script
type=
text/javascript
src=
./static/js/manifest.61161ae3f24e8b98db73.js
></script><script
type=
text/javascript
src=
./static/js/vendor.e91073f106903eddf860.js
></script><script
type=
text/javascript
src=
./static/js/app.7cca2ca63a73f4cb7db0.js
></script></body></html>
\ No newline at end of file
\ No newline at end of file
dist/static/css/app.
591fe805b92ead687dd103a0ac062273
.css
→
dist/static/css/app.
36cadf45cbe3ba3c049f8f04864c2fcf
.css
View file @
cce654f1
This source diff could not be displayed because it is too large. You can
view the blob
instead.
dist/static/js/2.0ffe921cd69ce7a1cff7.js
deleted
100644 → 0
View file @
a1f14278
webpackJsonp
([
2
,
29
,
31
,
36
,
38
,
47
],{
"/XIA"
:
function
(
e
,
t
){},
"2WGr"
:
function
(
e
,
t
,
i
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
{
name
:
"date-range-com"
,
props
:{
childItem
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
{}}}},
methods
:{
getZhLen
:
function
(
e
){
for
(
var
t
=
0
,
i
=
0
;
i
<
e
.
length
;
i
++
){
null
!=
e
.
charAt
(
i
).
match
(
/
[^\x
00-
\x
ff
]
/gi
)?
t
+=
1
:
t
+=
.
5
}
return
Math
.
ceil
(
t
)}}},
s
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"div"
,[
i
(
"div"
,{
staticClass
:
"flex"
},[
i
(
"div"
,{
class
:[
"opencard-item-title"
,
e
.
getZhLen
(
e
.
childItem
.
startTitle
)
>=
6
?
"title-pre-wrap"
:
""
]},[
e
.
_v
(
e
.
_s
(
e
.
childItem
.
startTitle
))]),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"draged-item-show"
},[
i
(
"span"
,{
staticClass
:
"show-warm-text show-warm-text-flag select-flag"
},[
e
.
_v
(
e
.
_s
(
e
.
childItem
.
placeholder
)
+
" "
+
e
.
_s
(
e
.
childItem
.
isMust
?
"(必填)"
:
""
)),
i
(
"i"
,{
staticClass
:
"el-icon-arrow-right"
})])])]),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"b-t-1 flex"
},[
i
(
"div"
,{
class
:[
"opencard-item-title"
,
e
.
getZhLen
(
e
.
childItem
.
endTitle
)
>=
6
?
"title-pre-wrap"
:
""
]},[
e
.
_v
(
e
.
_s
(
e
.
childItem
.
endTitle
))]),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"draged-item-show"
},[
i
(
"span"
,{
staticClass
:
"show-warm-text show-warm-text-flag select-flag"
},[
e
.
_v
(
e
.
_s
(
e
.
childItem
.
placeholder
)
+
" "
+
e
.
_s
(
e
.
childItem
.
isMust
?
"(必填)"
:
""
)
+
" "
),
i
(
"i"
,{
staticClass
:
"el-icon-arrow-right"
})])])])])},
staticRenderFns
:[]};
var
n
=
i
(
"VU/8"
)(
a
,
s
,
!
1
,
function
(
e
){
i
(
"JXCd"
)},
"data-v-5106f326"
,
null
);
t
.
default
=
n
.
exports
},
"8dpP"
:
function
(
e
,
t
,
i
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
{
name
:
"image-com"
,
props
:{
childItem
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
{}}}},
methods
:{
getZhLen
:
function
(
e
){
for
(
var
t
=
0
,
i
=
0
;
i
<
e
.
length
;
i
++
){
null
!=
e
.
charAt
(
i
).
match
(
/
[^\x
00-
\x
ff
]
/gi
)?
t
+=
1
:
t
+=
.
5
}
return
Math
.
ceil
(
t
)}}},
s
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"div"
,{
staticClass
:
"image-com flex"
},[
i
(
"div"
,{
class
:[
"opencard-item-title"
,
e
.
getZhLen
(
e
.
childItem
.
title
)
>=
6
?
"title-pre-wrap"
:
""
]},[
e
.
_v
(
e
.
_s
(
e
.
childItem
.
title
))]),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"must"
},[
e
.
_v
(
e
.
_s
(
e
.
childItem
.
isMust
?
"(必填)"
:
""
))]),
e
.
_v
(
" "
),
e
.
_m
(
0
)])},
staticRenderFns
:[
function
(){
var
e
=
this
.
$createElement
,
t
=
this
.
_self
.
_c
||
e
;
return
t
(
"div"
,{
staticClass
:
"draged-item-show"
},[
t
(
"span"
,{
staticClass
:
"show-warm-text show-warm-text-flag select-flag"
},[
t
(
"i"
,{
staticClass
:
"iconfont icon-icon"
})])])}]};
var
n
=
i
(
"VU/8"
)(
a
,
s
,
!
1
,
function
(
e
){
i
(
"/XIA"
)},
"data-v-2858c829"
,
null
);
t
.
default
=
n
.
exports
},
BiUk
:
function
(
e
,
t
){},
Emdx
:
function
(
e
,
t
){},
Isrn
:
function
(
e
,
t
,
i
){
"use strict"
;
var
a
=
i
(
"Mk6G"
),
s
=
{
name
:
"addinput"
,
props
:{
childItem
:
String
,
childIndex
:
Number
,
titleName
:
String
,
inputValue
:
String
,
maxLength
:
Number
,
disFlag
:
Number
,
child
:
String
},
data
:
function
(){
return
{
inputNum
:
0
,
limitLength
:
10
,
itemValue
:
""
,
disableInput
:
!
1
,
c3Flag
:
""
,
c3Index
:
""
,
titleFlag
:
""
,
childFlag
:
""
}},
methods
:{
inputFocus
:
function
(
e
){
console
.
log
(
e
)},
toInput
:
function
(
e
){
var
t
=
""
,
i
=
{};
return
t
=
a
.
a
.
getByteVal
(
e
.
target
.
value
,
this
.
limitLength
),
this
.
itemValue
=
t
.
trim
(),
this
.
inputNum
=
a
.
a
.
getZhLen
(
this
.
itemValue
),
this
.
childFlag
?(
i
.
child
=
this
.
childFlag
,
i
.
value
=
this
.
itemValue
,
"title"
==
this
.
titleFlag
&&
(
i
.
title
=
this
.
titleFlag
),
"k303"
==
this
.
c3Flag
&&
(
i
.
c3Index
=
this
.
c3Index
,
i
.
flag
=
this
.
c3Flag
),
void
this
.
$emit
(
"itemInput"
,
i
)):
"title"
==
this
.
titleFlag
?(
i
.
value
=
this
.
itemValue
,
i
.
title
=
this
.
titleFlag
,
void
this
.
$emit
(
"itemInput"
,
i
)):
"k303"
==
this
.
c3Flag
?(
i
.
value
=
this
.
itemValue
,
i
.
flag
=
this
.
c3Flag
,
i
.
c3Index
=
this
.
c3Index
,
void
this
.
$emit
(
"itemInput"
,
i
)):
void
this
.
$emit
(
"itemInput"
,
this
.
itemValue
)}},
watch
:{
maxLength
:
function
(
e
,
t
){
this
.
limitLength
=
e
},
inputValue
:
function
(
e
,
t
){
this
.
itemValue
=
e
,
this
.
inputNum
=
a
.
a
.
getZhLen
(
this
.
itemValue
)},
disFlag
:
function
(
e
,
t
){
this
.
disableInput
=
e
},
childItem
:
function
(
e
,
t
){
this
.
c3Flag
=
e
},
childIndex
:
function
(
e
,
t
){
this
.
c3Index
=
e
},
titleName
:
function
(
e
,
t
){
this
.
titleFlag
=
e
},
child
:
function
(
e
,
t
){
this
.
childFlag
=
e
}},
mounted
:
function
(){
console
.
log
(
this
.
childIndex
),
this
.
limitLength
=
this
.
maxLength
,
this
.
itemValue
=
this
.
inputValue
||
""
,
this
.
inputNum
=
a
.
a
.
getZhLen
(
this
.
inputValue
),
this
.
disableInput
=
this
.
disFlag
||
0
,
this
.
c3Flag
=
this
.
childItem
||
""
,
this
.
c3Index
=
0
==
this
.
childIndex
?
0
:
this
.
childIndex
,
this
.
titleFlag
=
this
.
titleName
,
this
.
childFlag
=
this
.
child
}},
n
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"div"
,{
staticClass
:
"input-line-cell"
},[
i
(
"el-input"
,{
staticClass
:
"w-340"
,
attrs
:{
placeholder
:
""
,
disabled
:
0
!=
e
.
disableInput
},
on
:{
focus
:
function
(
t
){
e
.
inputFocus
(
e
.
c3Index
)}},
nativeOn
:{
keyup
:
function
(
t
){
return
i
=
t
,
e
.
toInput
(
i
);
var
i
}},
model
:{
value
:
e
.
itemValue
,
callback
:
function
(
t
){
e
.
itemValue
=
t
},
expression
:
"itemValue"
}}),
e
.
_v
(
" "
),
i
(
"span"
,{
staticClass
:
"tip"
},[
i
(
"span"
,{
staticClass
:
"len_span"
},[
e
.
_v
(
e
.
_s
(
e
.
inputNum
))]),
e
.
_v
(
"/"
+
e
.
_s
(
e
.
limitLength
))])],
1
)},
staticRenderFns
:[]};
var
l
=
i
(
"VU/8"
)(
s
,
n
,
!
1
,
function
(
e
){
i
(
"Lz4M"
)},
"data-v-407eef81"
,
null
);
t
.
a
=
l
.
exports
},
JXCd
:
function
(
e
,
t
){},
LTPC
:
function
(
e
,
t
,
i
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
i
(
"//Fk"
),
s
=
i
.
n
(
a
),
n
=
i
(
"Gu7T"
),
l
=
i
.
n
(
n
),
c
=
i
(
"gBtx"
),
r
=
i
.
n
(
c
),
o
=
i
(
"mvHQ"
),
d
=
i
.
n
(
o
),
u
=
i
(
"DAYN"
),
p
=
i
.
n
(
u
),
m
=
i
(
"Isrn"
),
h
=
i
(
"l46T"
),
v
=
i
(
"8dpP"
),
f
=
i
(
"rYZf"
),
g
=
i
(
"2WGr"
),
y
=
i
(
"zHtI"
),
I
=
i
(
"O3gZ"
),
_
=
i
(
"fPyK"
),
b
=
i
(
"fZjL"
),
C
=
i
.
n
(
b
),
x
=
{
props
:{
templateObj
:{
type
:[
Array
,
Object
],
default
:
function
(){
return
{}}},
storeList
:{
type
:[
Array
,
Object
],
default
:
function
(){
return
[]}}},
data
:
function
(){
return
{
setVisible
:
!
0
,
rules
:{
title
:[{
required
:
!
0
,
message
:
"请输入模板名称"
,
trigger
:
"blur"
}],
description
:[{
required
:
!
0
,
message
:
"请输入模板描述"
,
trigger
:
"blur"
}],
storeType
:[{
required
:
!
0
,
message
:
"请选择门店类型"
,
trigger
:
"change"
}]},
ruleForm
:{
title
:
""
,
description
:
""
,
storeType
:
""
}}},
computed
:{},
watch
:{
templateObj
:
function
(
e
){
C
()(
"val"
).
length
&&
(
this
.
ruleForm
=
JSON
.
parse
(
d
()(
e
)))}},
methods
:{
handleClose
:
function
(
e
){
e
(),
this
.
$emit
(
"closeSet"
,
"close"
),
this
.
selectId
=
""
},
cancel
:
function
(){
this
.
$emit
(
"closeSet"
,
"close"
),
this
.
selectId
=
""
},
submitForm
:
function
(
e
){
this
.
$refs
[
e
].
validate
(
function
(
e
){
if
(
!
e
)
return
console
.
log
(
"error submit!!"
),
!
1
;
that
.
$emit
(
"closeSet"
,
that
.
ruleForm
)})}},
components
:{
limitInput
:
h
.
a
},
mounted
:
function
(){
this
.
ruleForm
=
JSON
.
parse
(
d
()(
this
.
templateObj
))}},
k
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"el-dialog"
,{
attrs
:{
width
:
"600px"
,
title
:
"模板设置"
,
visible
:
e
.
setVisible
,
"append-to-body"
:
""
,
"before-close"
:
e
.
handleClose
},
on
:{
"update:visible"
:
function
(
t
){
e
.
setVisible
=
t
}}},[
i
(
"div"
,{
staticClass
:
"m-t-20"
},[
i
(
"el-form"
,{
ref
:
"ruleForm"
,
staticClass
:
"demo-ruleForm"
,
attrs
:{
model
:
e
.
ruleForm
,
rules
:
e
.
rules
,
"label-width"
:
"100px"
}},[
i
(
"el-form-item"
,{
attrs
:{
label
:
"模板名称"
,
prop
:
"title"
}},[
i
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
inputValue
:
e
.
ruleForm
.
title
,
holder
:
""
,
disflag
:
!
1
,
getByType
:
"word"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"title"
,
t
)}}})],
1
),
e
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
"模板描述"
,
prop
:
"description"
}},[
i
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
inputValue
:
e
.
ruleForm
.
description
,
holder
:
""
,
disflag
:
!
1
,
getByType
:
"word"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"description"
,
t
)}}})],
1
),
e
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
"门店类型"
,
prop
:
"storeType"
}},
e
.
_l
(
e
.
storeList
,
function
(
t
,
a
){
return
i
(
"div"
,{
key
:
t
.
name
+
a
,
staticClass
:
"store-type-cell m-b-20"
},[
i
(
"el-radio"
,{
attrs
:{
label
:
t
.
id
,
disabled
:
t
.
disabled
},
model
:{
value
:
e
.
ruleForm
.
storeType
,
callback
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"storeType"
,
t
)},
expression
:
"ruleForm.storeType"
}},[
e
.
_v
(
e
.
_s
(
t
.
name
))])],
1
)}))],
1
)],
1
),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
i
(
"el-button"
,{
on
:{
click
:
e
.
cancel
}},[
e
.
_v
(
"取消"
)]),
e
.
_v
(
" "
),
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
submitForm
(
"ruleForm"
)}}},[
e
.
_v
(
"确定"
)])],
1
)])},
staticRenderFns
:[]};
var
w
=
i
(
"VU/8"
)(
x
,
k
,
!
1
,
function
(
e
){
i
(
"Emdx"
)},
"data-v-5b38d3c7"
,
null
).
exports
,
M
=
i
(
"3E4D"
),
L
=
i
(
"Ch4/"
),
O
=
i
(
"PI0u"
),
F
=
i
(
"P9l9"
),
T
=
{
name
:
"customSetTemplate"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
activeTab
:
1
,
activeName
:
"first"
,
enterpriseId
:
this
.
brandId
,
rightName
:
"second"
,
dialogVisible
:
!
1
,
bodyHeight
:(
document
.
documentElement
.
clientHeight
||
document
.
body
.
clientHeight
)
-
277
+
"px"
,
isDragging
:
!
1
,
delayedDragging
:
!
1
,
leftOption
:{
group
:{
name
:
"people"
,
pull
:
"clone"
,
put
:
!
1
},
sort
:
!
1
,
disabled
:
!
1
},
leftDefineOption
:{
group
:{
name
:
"people"
,
pull
:
"clone"
,
put
:
!
1
},
sort
:
!
1
,
disabled
:
!
1
},
templateId
:
""
,
oparateType
:
""
,
counter
:
1
,
selectKey
:
""
,
tradeInfo
:[],
personInfo
:[],
goodsInfo
:[],
competeInfo
:[],
defineInfo
:[],
currentIndex
:
0
,
currentChildKey
:
null
,
currentChildIndex
:
null
,
childIndex
:
0
,
tempaletDataList
:[],
setList
:[],
templateObj
:{
title
:
""
,
description
:
""
,
storeType
:
""
,
momory
:[]},
storeList
:[{
id
:
"0"
,
name
:
"自营门店"
,
disabled
:
!
1
},{
id
:
"1"
,
name
:
"联营门店"
,
disabled
:
!
1
},{
id
:
"2"
,
name
:
"代理门店"
,
disabled
:
!
1
},{
id
:
"3"
,
name
:
"代销门店"
,
disabled
:
!
1
},{
id
:
"4"
,
name
:
"托管门店"
,
disabled
:
!
1
}],
setVisible
:
!
1
}},
methods
:{
templateSet
:
function
(){
this
.
setVisible
=!
0
},
closeSet
:
function
(
e
){
if
(
this
.
setVisible
=!
1
,
"close"
==
e
)
return
!
1
;
this
.
templateObj
=
e
},
changeTab
:
function
(
e
){
this
.
activeTab
=
e
,
this
.
activeName
=
2
==
e
?
"five"
:
"first"
},
getZhLen
:
function
(
e
){
for
(
var
t
=
0
,
i
=
0
;
i
<
e
.
length
;
i
++
){
null
!=
e
.
charAt
(
i
).
match
(
/
[^\x
00-
\x
ff
]
/gi
)?
t
+=
1
:
t
+=
.
5
}
return
Math
.
ceil
(
t
)},
returnBack
:
function
(){
this
.
changeRoute
(
"/customReport?brandId="
+
this
.
brandId
+
"&appIcon="
+
this
.
$route
.
query
.
appIcon
)},
cloneItem
:
function
(
e
){
var
t
=
JSON
.
parse
(
d
()(
e
));
return
t
.
cid
=
"c"
+
this
.
counter
,
t
.
systemFlag
||
(
t
.
name
.
includes
(
"textc"
)
&&
(
t
.
name
=
"textc"
+
this
.
counter
),
t
.
name
.
includes
(
"paragraphc"
)
&&
(
t
.
name
=
"paragraphc"
+
this
.
counter
),
t
.
name
.
includes
(
"numberc"
)
&&
(
t
.
name
=
"numberc"
+
this
.
counter
),
t
.
name
.
includes
(
"checkboxesOrRadioc"
)
&&
(
t
.
name
=
"checkboxesOrRadioc"
+
this
.
counter
),
t
.
name
.
includes
(
"datec"
)
&&
(
t
.
name
=
"datec"
+
this
.
counter
),
t
.
name
.
includes
(
"dateareac"
)
&&
(
t
.
name
=
"dateareac"
+
this
.
counter
),
t
.
name
.
includes
(
"picc"
)
&&
(
t
.
name
=
"picc"
+
this
.
counter
),
t
.
name
.
includes
(
"introductionc"
)
&&
(
t
.
name
=
"introductionc"
+
this
.
counter
),
t
.
name
.
includes
(
"pricec"
)
&&
(
t
.
name
=
"pricec"
+
this
.
counter
),
t
.
name
.
includes
(
"groupc"
)
&&
(
t
.
name
=
"groupc"
+
this
.
counter
,
t
.
title
=
""
+
t
.
title
+
this
.
counter
)),
t
},
onMove
:
function
(
e
){
var
t
=
e
.
draggedContext
.
element
;
return
!
this
.
tempaletDataList
.
map
(
function
(
e
){
return
e
.
name
}).
includes
(
t
.
name
)
&&!
t
.
fixed
},
onChildMove
:
function
(
e
){
var
t
=!
0
;
return
-
1
!=
e
.
dragged
.
className
.
indexOf
(
"block-class"
)
&&-
1
!=
e
.
to
.
className
.
indexOf
(
"block-wrap"
)
&&
(
t
=!
1
),
t
},
itemMoveEnd
:
function
(
e
){
var
t
=
this
;
function
i
(
e
){
t
[
e
].
forEach
(
function
(
e
,
i
){
e
.
name
==
t
.
selectKey
&&
(
e
.
fixed
=!
0
)})}
t
.
isDragging
=!
1
,
t
.
selectKey
=
""
,
t
.
selectKey
=
e
.
clone
.
dataset
.
name
,
t
.
tempaletDataList
.
forEach
(
function
(
e
,
a
){
e
.
name
==
t
.
selectKey
&&
i
(
e
.
parentCode
),
e
.
children
&&
e
.
children
.
forEach
(
function
(
e
,
a
){
e
.
name
==
t
.
selectKey
&&
i
(
e
.
parentCode
)})}),
t
.
selectKey
=
""
,
t
.
tempaletDataList
=
JSON
.
parse
(
d
()(
t
.
tempaletDataList
)),
t
.
$forceUpdate
(),
t
.
counter
=
t
.
counter
+
1
},
selectItem
:
function
(
e
,
t
){
this
.
currentIndex
=
t
,
this
.
currentChildIndex
=
null
},
deleteItem
:
function
(
e
,
t
,
i
,
a
){
var
s
=
this
;
if
(
s
.
tempaletDataList
.
splice
(
i
,
1
),
s
.
currentIndex
--
,
s
.
currentIndex
<=
0
&&
(
s
.
currentIndex
=
0
),
!
a
.
systemFlag
)
return
a
.
name
.
includes
(
"groupc"
)
&&
a
.
children
.
length
&&
a
.
children
.
forEach
(
function
(
e
){
e
.
systemFlag
&&
s
[
e
.
parentCode
].
forEach
(
function
(
t
){
t
.
name
==
e
.
name
&&
(
t
.
fixed
=!
1
)})}),
!
1
;
s
[
t
].
forEach
(
function
(
t
,
i
){
t
.
name
==
e
&&
(
t
.
fixed
=!
1
)})},
addDragItem
:
function
(
e
){
return
!
1
},
selectChildItem
:
function
(
e
,
t
,
i
,
a
){
this
.
currentIndex
=
null
,
this
.
currentChildKey
=
e
,
this
.
childIndex
=
t
,
this
.
currentChildIndex
=
i
},
deleteChildItem
:
function
(
e
,
t
,
i
,
a
,
s
){
if
(
this
.
childIndex
=
t
,
this
.
currentIndex
=
null
,
this
.
currentChildKey
=
this
.
tempaletDataList
[
t
].
children
[
i
].
name
,
this
.
currentChildIndex
--
,
this
.
currentChildIndex
<=
0
&&
(
this
.
currentChildIndex
=
0
),
this
.
tempaletDataList
=
JSON
.
parse
(
d
()(
this
.
tempaletDataList
)),
this
.
tempaletDataList
[
t
].
children
.
splice
(
i
,
1
),
!
s
.
systemFlag
)
return
!
1
;
this
[
s
.
parentCode
].
forEach
(
function
(
t
,
i
){
t
.
name
===
e
&&
(
t
.
fixed
=!
1
)})},
delChildItem
:
function
(
e
,
t
,
i
){
i
.
list
.
splice
(
t
,
1
)},
addChildItem
:
function
(
e
,
t
,
i
){
if
(
19
!=
t
){
i
.
list
.
push
({
value
:
"选项"
+
(
t
+
2
),
key
:
t
+
2
});
var
a
=
i
.
list
.
map
(
function
(
e
){
return
e
.
value
});
this
.
isRepeat
(
a
)
&&
(
i
.
list
.
splice
(
i
.
list
.
length
-
1
,
1
),
a
.
splice
(
i
.
list
.
length
-
1
,
1
),
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"选项不能重复"
}))}
else
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"最多可添加 20 项"
})},
changeMust
:
function
(
e
,
t
,
i
){
t
&&
i
.
list
.
forEach
(
function
(
t
){
t
.
isMust
=!!
e
})},
isRepeat
:
function
(
e
){
var
t
=
{};
for
(
var
i
in
e
){
if
(
t
[
e
[
i
]])
return
!
0
;
t
[
e
[
i
]]
=!
0
}
return
!
1
},
changeRoute
:
function
(
e
){
this
.
$router
.
push
(
e
)},
checkTag
:
function
(
e
){
var
t
=
{
filedFlag
:
!
0
,
filedRepeat
:
!
1
},
i
=
[];
return
e
.
forEach
(
function
(
e
){
if
(
""
==
e
.
title
)
return
t
.
filedFlag
=!
1
,
t
.
name
=
e
.
title
||
""
,
!
1
;
i
.
push
(
e
.
title
),
e
.
hasOwnProperty
(
"children"
)
&&
e
.
children
.
length
&&
e
.
children
.
forEach
(
function
(
e
){
if
(
e
.
systemFlag
&&
""
==
e
.
title
)
return
t
.
filedFlag
=!
1
,
t
.
name
=
e
.
title
||
""
,
!
1
;
i
.
push
(
e
.
title
)})}),
this
.
isRepeat
(
i
)
&&
(
t
.
filedRepeat
=!
0
),
t
},
checkTemplateObj
:
function
(){
var
e
=!
0
;
return
this
.
templateObj
.
title
&&
this
.
templateObj
.
description
&&
this
.
templateObj
.
storeType
||
(
e
=!
1
),
e
},
getUuid
:
function
(){
return
"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx"
.
replace
(
/
[
xy
]
/g
,
function
(
e
){
var
t
=
16
*
Math
.
random
()
|
0
;
return
(
"x"
==
e
?
t
:
3
&
t
|
8
).
toString
(
16
)})},
saveAndBack
:
Object
(
O
.
a
)(
function
(
e
){
if
(
!
this
.
checkTemplateObj
())
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请完善模板设置内容"
}),
!
1
;
var
t
=
JSON
.
parse
(
d
()(
this
.
tempaletDataList
)),
i
=
this
.
checkTag
(
t
);
if
(
!
i
.
filedFlag
)
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
i
.
name
+
"字段标题不能为空"
}),
!
1
;
if
(
i
.
filedRepeat
)
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"字段标题不能重复"
});
else
{
if
(
t
.
forEach
(
function
(
e
,
t
){
e
.
sort
=
t
,
e
.
isMust
=
e
.
isMust
?
1
:
0
,
e
.
memory
=
e
.
memory
?
1
:
0
,
e
.
hasOwnProperty
(
"openCapitalize"
)
&&
(
e
.
openCapitalize
=
e
.
openCapitalize
?
1
:
0
),
e
.
hasOwnProperty
(
"list"
)
&&
e
.
list
.
forEach
(
function
(
e
){
e
.
isMust
=
e
.
isMust
?
1
:
0
}),
e
.
hasOwnProperty
(
"children"
)
&&
(
e
.
children
.
forEach
(
function
(
e
,
t
){
e
.
sort
=
t
,
e
.
isMust
=
e
.
isMust
?
1
:
0
,
e
.
memory
=
e
.
memory
?
1
:
0
,
e
.
hasOwnProperty
(
"list"
)
&&
e
.
list
.
forEach
(
function
(
e
){
e
.
isMust
=
e
.
isMust
?
1
:
0
}),
e
.
hasOwnProperty
(
"openCapitalize"
)
&&
(
e
.
openCapitalize
=
e
.
openCapitalize
?
1
:
0
)}),
e
.
list
=
e
.
children
)}),
!
t
.
length
)
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请先配置字段"
}),
!
1
;
"save"
===
e
?
this
.
saveAllData
(
t
):
this
.
postPreview
(
t
)}},
500
),
saveAllData
:
function
(
e
){
var
t
=
this
,
i
=
{
status
:
1
,
enterpriseId
:
t
.
enterpriseId
,
templateContent
:
d
()(
e
),
title
:
t
.
templateObj
.
title
,
description
:
t
.
templateObj
.
description
,
storeType
:
t
.
templateObj
.
storeType
,
memory
:[]};
Object
(
F
.
c
)(
"/haoban-app-daily-three-web/daily/save-define-template"
,
i
).
then
(
function
(
e
){
var
i
=
e
.
data
;
if
(
1
==
i
.
errorCode
)
return
M
.
a
.
showmsg
(
"保存成功"
,
"success"
),
void
t
.
changeRoute
(
"/customReport?brandId="
+
t
.
brandId
);
L
.
a
.
errorMsg
(
i
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
postPreview
:
function
(
e
){
var
t
=
this
,
i
=
{
templateType
:
1
,
enterpriseId
:
t
.
enterpriseId
,
templateContent
:
d
()(
e
)};
Object
(
F
.
c
)(
"/haoban-app-daily-three-web/daily/preview-template"
,
i
).
then
(
function
(
e
){
var
i
=
e
.
data
;
if
(
1
==
i
.
errorCode
){
var
a
=
JSON
.
parse
(
localStorage
.
getItem
(
"userInfo"
)).
enterpriseId
,
s
=
window
.
location
.
origin
+
"/office-mobile/#/defineTemplate?enterpriseId="
+
a
+
"&templateId="
+
i
.
result
+
"&brandId="
+
t
.
brandId
;
return
t
.
$refs
.
qrcodePreview
.
qrcode
(
s
,
"daily-preview"
),
void
(
t
.
dialogVisible
=!
0
)}
L
.
a
.
errorMsg
(
i
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
closeDialog
:
function
(){
this
.
dialogVisible
=!
1
},
getHasStores
:
function
(){
var
e
=
this
;
Object
(
F
.
c
)(
"/haoban-app-daily-three-web/daily/has-defined-template-store-type"
,{
enterpriseId
:
e
.
enterpriseId
}).
then
(
function
(
t
){
var
i
=
t
.
data
;
1
!=
i
.
errorCode
?
L
.
a
.
errorMsg
(
i
):
e
.
storeList
.
forEach
(
function
(
t
){
i
.
result
&&
i
.
result
.
length
&&
i
.
result
.
includes
(
r
()(
t
.
id
))
&&
(
t
.
disabled
=!
0
),
"edit"
==
e
.
oparateType
&&
e
.
storeType
==
t
.
id
&&
(
t
.
disabled
=!
1
)})}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getAllFields
:
function
(
e
){
var
t
=
this
;
Object
(
F
.
c
)(
"/haoban-app-daily-three-web/daily/get-template-items"
,{
enterpriseId
:
t
.
enterpriseId
,
type
:
e
}).
then
(
function
(
i
){
var
a
=
i
.
data
;
if
(
1
==
a
.
errorCode
)
return
a
.
result
.
forEach
(
function
(
t
){
t
.
isMust
=!!
t
.
isMust
,
t
.
memory
=!!
t
.
memory
,
t
.
title
=
t
.
title
.
trim
(),
t
.
hasOwnProperty
(
"openCapitalize"
)
&&
(
t
.
openCapitalize
=!!
t
.
openCapitalize
),
t
.
hasOwnProperty
(
"list"
)
&&
t
.
list
&&
t
.
list
.
length
&&
t
.
list
.
forEach
(
function
(
e
){
e
.
isMust
=!!
e
.
isMust
}),
t
.
systemFlag
=
3
!=
e
,
t
.
name
.
includes
(
"groupc"
)
&&
(
t
.
children
=
[])}),
void
(
3
==
e
?
t
.
defineInfo
=
a
.
result
:
t
.
handleAllFields
(
a
.
result
));
L
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
handleAllFields
:
function
(
e
){
var
t
=
this
;
e
.
forEach
(
function
(
e
){
e
.
fixed
=!
1
,
1
==
e
.
classify
&&
(
e
.
parentCode
=
"tradeInfo"
,
t
.
tradeInfo
.
push
(
e
)),
2
==
e
.
classify
&&
(
e
.
parentCode
=
"personInfo"
,
t
.
personInfo
.
push
(
e
)),
3
==
e
.
classify
&&
(
e
.
parentCode
=
"goodsInfo"
,
t
.
goodsInfo
.
push
(
e
)),
4
==
e
.
classify
&&
(
e
.
parentCode
=
"competeInfo"
,
t
.
competeInfo
.
push
(
e
))})},
getInfo
:
function
(){
var
e
=
this
;
Object
(
F
.
c
)(
"/haoban-app-daily-three-web/daily/get-define-template"
,{
templateId
:
e
.
templateId
}).
then
(
function
(
t
){
var
i
=
t
.
data
;
if
(
1
==
i
.
errorCode
)
return
e
.
setList
=
[],
i
.
result
&&
(
e
.
templateObj
.
title
=
i
.
result
.
title
,
e
.
templateObj
.
description
=
i
.
result
.
description
,
e
.
storeType
=
"edit"
==
e
.
oparateType
?
String
(
i
.
result
.
storeType
):
""
,
e
.
templateObj
.
storeType
=
"edit"
==
e
.
oparateType
?
String
(
i
.
result
.
storeType
):
""
,
i
.
result
.
templateContent
&&
i
.
result
.
templateContent
.
length
&&
e
.
handleGetInfo
(
i
.
result
.
templateContent
)),
void
e
.
getHasStores
();
L
.
a
.
errorMsg
(
i
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
treeData
:
function
(
e
){
var
t
=
e
.
filter
(
function
(
t
){
var
i
=
e
.
filter
(
function
(
e
){
return
t
.
fieldCode
==
e
.
parentCode
});
return
i
.
length
>
0
&&
(
t
.
children
=
i
),
0
==
t
.
parentCode
});
return
t
.
sort
(
function
(
e
,
t
){
return
e
.
sort
-
t
.
sort
}),
t
.
forEach
(
function
(
e
,
t
){
e
.
children
.
sort
(
function
(
e
,
t
){
return
e
.
sort
-
t
.
sort
})}),
t
},
handleGetInfo
:
function
(
e
){
var
t
=
this
,
i
=
JSON
.
parse
(
d
()(
e
));
t
.
cids
=
[],
t
.
setParent
=
[],
i
.
forEach
(
function
(
e
,
i
){
e
.
title
=
e
.
title
.
trim
(),
e
.
isMust
=!!
e
.
isMust
,
e
.
memory
=!!
e
.
memory
,
e
.
name
.
includes
(
"textc"
)
||
e
.
name
.
includes
(
"paragraphc"
)
||
e
.
name
.
includes
(
"numberc"
)
||
e
.
name
.
includes
(
"checkboxesOrRadioc"
)
||
e
.
name
.
includes
(
"datec"
)
||
e
.
name
.
includes
(
"dateareac"
)
||
e
.
name
.
includes
(
"picc"
)
||
e
.
name
.
includes
(
"introductionc"
)
||
e
.
name
.
includes
(
"pricec"
)
||
e
.
name
.
includes
(
"groupc"
)?(
e
.
systemFlag
=!
1
,
e
.
parentCode
=
"defineInfo"
):(
t
.
setParent
.
push
(
e
.
name
),
e
.
systemFlag
=!
0
,
1
==
e
.
classify
&&
(
e
.
parentCode
=
"tradeInfo"
),
2
==
e
.
classify
&&
(
e
.
parentCode
=
"personInfo"
),
3
==
e
.
classify
&&
(
e
.
parentCode
=
"goodsInfo"
),
4
==
e
.
classify
&&
(
e
.
parentCode
=
"competeInfo"
)),
e
.
hasOwnProperty
(
"openCapitalize"
)
&&
(
e
.
openCapitalize
=!!
e
.
openCapitalize
),
e
.
hasOwnProperty
(
"list"
)
&&
e
.
list
&&
e
.
list
.
length
&&
(
e
.
list
.
forEach
(
function
(
i
){(
i
.
isMust
=!!
i
.
isMust
,
e
.
name
.
includes
(
"groupc"
))
&&
(
i
.
isMust
=!!
i
.
isMust
,
i
.
memory
=!!
i
.
memory
,
i
.
name
.
includes
(
"textc"
)
||
i
.
name
.
includes
(
"paragraphc"
)
||
i
.
name
.
includes
(
"numberc"
)
||
i
.
name
.
includes
(
"checkboxesOrRadioc"
)
||
i
.
name
.
includes
(
"datec"
)
||
i
.
name
.
includes
(
"dateareac"
)
||
i
.
name
.
includes
(
"picc"
)
||
i
.
name
.
includes
(
"introductionc"
)
||
i
.
name
.
includes
(
"pricec"
)
||
i
.
name
.
includes
(
"groupc"
)?
i
.
systemFlag
=!
1
:(
t
.
setParent
.
push
(
i
.
name
),
i
.
systemFlag
=!
0
,
1
==
i
.
classify
&&
(
i
.
parentCode
=
"tradeInfo"
),
2
==
i
.
classify
&&
(
i
.
parentCode
=
"personInfo"
),
3
==
i
.
classify
&&
(
i
.
parentCode
=
"goodsInfo"
),
4
==
i
.
classify
&&
(
i
.
parentCode
=
"competeInfo"
)))}),
e
.
name
.
includes
(
"groupc"
)
&&
(
e
.
children
=
e
.
list
)),
t
.
cids
.
push
(
r
()(
e
.
cid
.
match
(
/
\d
+/g
))),
e
.
hasOwnProperty
(
"children"
)
&&
e
.
children
.
forEach
(
function
(
e
){
e
.
isMust
=!!
e
.
isMust
,
e
.
memory
=!!
e
.
memory
,
t
.
cids
.
push
(
r
()(
e
.
cid
.
match
(
/
\d
+/g
)))})}),
t
.
counter
=
Math
.
max
.
apply
(
Math
,
l
()(
t
.
cids
)),
t
.
tempaletDataList
=
i
,
setTimeout
(
function
(){
t
.
setFixed
()},
500
)},
setFixed
:
function
(){
var
e
=
this
;[
"tradeInfo"
,
"personInfo"
,
"goodsInfo"
,
"competeInfo"
].
forEach
(
function
(
t
){
e
[
t
].
forEach
(
function
(
t
){
e
.
setParent
.
includes
(
t
.
name
)
&&
(
t
.
fixed
=!
0
)})})}},
watch
:{
isDragging
:
function
(
e
){
var
t
=
this
;
e
?
t
.
delayedDragging
=!
0
:
t
.
$nextTick
(
function
(){
t
.
delayedDragging
=!
1
})},
brandId
:
function
(
e
,
t
){
var
i
=
this
;
e
&&
(
i
.
enterpriseId
=
e
,
i
.
tradeInfo
=
[],
i
.
personInfo
=
[],
i
.
goodsInfo
=
[],
i
.
competeInfo
=
[],
i
.
defineInfo
=
[],
i
.
currentIndex
=
0
,
i
.
tempaletDataList
=
[],
i
.
setList
=
[],
s
.
a
.
all
([
i
.
getAllFields
(
2
)]).
then
(
function
(
e
){
i
.
getAllFields
(
3
),
query
.
hasOwnProperty
(
"templateId"
)?(
i
.
templateId
=
query
.
templateId
,
i
.
oparateType
=
query
.
type
,
i
.
getInfo
()):
i
.
getHasStores
()}).
catch
(
function
(
e
){
console
.
log
(
e
)}))}},
components
:{
draggable
:
p
.
a
,
AddInput
:
m
.
a
,
limitInput
:
h
.
a
,
imageCom
:
v
.
default
,
selectCom
:
f
.
default
,
dateRangeCom
:
g
.
default
,
inputCom
:
y
.
default
,
blockCom
:
I
.
default
,
qrcodeDialog
:
_
.
a
,
customSet
:
w
},
mounted
:
function
(){
var
e
=
this
;
e
.
$emit
(
"showTab"
,
"32"
),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
;
var
t
=
e
.
$route
.
query
;
s
.
a
.
all
([
e
.
getAllFields
(
2
)]).
then
(
function
(
i
){
e
.
getAllFields
(
3
),
t
.
hasOwnProperty
(
"templateId"
)?(
e
.
templateId
=
t
.
templateId
,
e
.
oparateType
=
t
.
type
,
e
.
getInfo
()):
e
.
getHasStores
()}).
catch
(
function
(
e
){
console
.
log
(
e
)}),
document
.
body
.
ondrop
=
function
(
e
){
e
.
preventDefault
(),
e
.
stopPropagation
()}},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
}},
V
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"template-wrap"
,
style
:{
minHeight
:
e
.
bodyHeight
}},[
a
(
"div"
,{
staticClass
:
"template-contain"
},[
a
(
"div"
,{
staticClass
:
"template-head"
},[
a
(
"div"
,{
staticClass
:
"template-title flex-1"
}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"template-btns flex-1 flex-r"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
e
.
templateSet
}},[
e
.
_v
(
"模板设置"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
function
(
t
){
e
.
saveAndBack
(
"preview"
)}}},[
e
.
_v
(
"预 览"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
saveAndBack
(
"save"
)}}},[
e
.
_v
(
"保存并启用"
)])],
1
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"template-body"
},[
a
(
"div"
,{
staticClass
:
"template-cell template-cell-l"
},[
a
(
"div"
,{
staticClass
:
"flex"
},[
a
(
"div"
,{
class
:[
"template-cell-title font-14 "
,
1
==
e
.
activeTab
?
"color-3033133"
:
"color-606266"
],
on
:{
click
:
function
(
t
){
e
.
changeTab
(
"1"
)}}},[
e
.
_v
(
"系统字段"
)]),
e
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"p-l-15 color-dedfe6"
},[
e
.
_v
(
"|"
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
class
:[
"template-cell-title font-14 "
,
2
==
e
.
activeTab
?
"color-3033133"
:
"color-606266"
],
on
:{
click
:
function
(
t
){
e
.
changeTab
(
"2"
)}}},[
e
.
_v
(
"自定义字段"
)])]),
e
.
_v
(
" "
),
a
(
"el-tabs"
,{
model
:{
value
:
e
.
activeName
,
callback
:
function
(
t
){
e
.
activeName
=
t
},
expression
:
"activeName"
}},[
1
==
e
.
activeTab
?
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"交易"
,
name
:
"first"
}},[
a
(
"ul"
,[
a
(
"draggable"
,{
staticClass
:
"compenent"
,
attrs
:{
id
:
"list1"
,
list
:
e
.
tradeInfo
,
options
:
e
.
leftOption
,
clone
:
e
.
cloneItem
,
move
:
e
.
onMove
},
on
:{
start
:
function
(
t
){
e
.
isDragging
=!
0
},
end
:
e
.
itemMoveEnd
}},
e
.
_l
(
e
.
tradeInfo
,
function
(
t
,
i
){
return
a
(
"li"
,{
key
:
i
,
class
:[
"compenent-item"
,
1
==
t
.
fixed
?
"fixed-item"
:
""
],
attrs
:{
"data-name"
:
t
.
name
,
"aria-hidden"
:
"true"
}},[
a
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
title
))])])}))],
1
)]):
e
.
_e
(),
e
.
_v
(
" "
),
1
==
e
.
activeTab
?
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"人员"
,
name
:
"second"
}},[
a
(
"ul"
,[
a
(
"draggable"
,{
staticClass
:
"compenent"
,
attrs
:{
id
:
"list2"
,
list
:
e
.
personInfo
,
options
:
e
.
leftOption
,
clone
:
e
.
cloneItem
,
move
:
e
.
onMove
},
on
:{
start
:
function
(
t
){
e
.
isDragging
=!
0
},
end
:
e
.
itemMoveEnd
}},
e
.
_l
(
e
.
personInfo
,
function
(
t
,
i
){
return
a
(
"li"
,{
key
:
i
,
class
:[
"compenent-item"
,
1
==
t
.
fixed
?
"fixed-item"
:
""
],
attrs
:{
"data-name"
:
t
.
name
}},[
a
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
title
))])])}))],
1
)]):
e
.
_e
(),
e
.
_v
(
" "
),
1
==
e
.
activeTab
?
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"商品"
,
name
:
"third"
}},[
a
(
"ul"
,[
a
(
"draggable"
,{
staticClass
:
"compenent"
,
attrs
:{
id
:
"list3"
,
list
:
e
.
goodsInfo
,
options
:
e
.
leftOption
,
clone
:
e
.
cloneItem
,
move
:
e
.
onMove
},
on
:{
start
:
function
(
t
){
e
.
isDragging
=!
0
},
end
:
e
.
itemMoveEnd
}},
e
.
_l
(
e
.
goodsInfo
,
function
(
t
,
i
){
return
a
(
"li"
,{
key
:
i
,
class
:[
"compenent-item"
,
1
==
t
.
fixed
?
"fixed-item"
:
""
],
attrs
:{
"data-name"
:
t
.
name
}},[
a
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
title
))])])}))],
1
)]):
e
.
_e
(),
e
.
_v
(
" "
),
1
==
e
.
activeTab
?
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"竞品"
,
name
:
"four"
}},[
a
(
"ul"
,[
a
(
"draggable"
,{
staticClass
:
"compenent"
,
attrs
:{
id
:
"list4"
,
list
:
e
.
competeInfo
,
options
:
e
.
leftOption
,
clone
:
e
.
cloneItem
,
move
:
e
.
onMove
},
on
:{
start
:
function
(
t
){
e
.
isDragging
=!
0
},
end
:
e
.
itemMoveEnd
}},
e
.
_l
(
e
.
competeInfo
,
function
(
t
,
i
){
return
a
(
"li"
,{
key
:
i
,
class
:[
"compenent-item"
,
1
==
t
.
fixed
?
"fixed-item"
:
""
],
attrs
:{
"data-name"
:
t
.
name
}},[
a
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
title
))])])}))],
1
)]):
e
.
_e
(),
e
.
_v
(
" "
),
2
==
e
.
activeTab
?
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"自定义字段"
,
name
:
"five"
}},[
a
(
"div"
,{
staticClass
:
"filed-item-title"
}),
e
.
_v
(
" "
),
a
(
"ul"
,[
a
(
"draggable"
,{
staticClass
:
"compenent"
,
attrs
:{
id
:
"list5"
,
list
:
e
.
defineInfo
,
options
:
e
.
leftDefineOption
,
clone
:
e
.
cloneItem
,
move
:
e
.
onChildMove
},
on
:{
start
:
function
(
t
){
e
.
isDragging
=!
0
},
end
:
e
.
itemMoveEnd
}},
e
.
_l
(
e
.
defineInfo
,
function
(
t
,
i
){
return
a
(
"li"
,{
key
:
i
,
class
:[
"compenent-item"
,
1
==
t
.
fixed
?
"fixed-item"
:
""
,
11
==
t
.
type
?
"block-class"
:
""
],
attrs
:{
"data-type"
:
t
.
fieldCode
}},[
0
==
t
.
type
?
a
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
title
))]):
e
.
_e
(),
e
.
_v
(
" "
),
1
==
t
.
type
?
a
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
title
))]):
e
.
_e
(),
e
.
_v
(
" "
),
2
==
t
.
type
?
a
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
title
))]):
e
.
_e
(),
e
.
_v
(
" "
),
3
==
t
.
type
?
a
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
title
))]):
e
.
_e
(),
e
.
_v
(
" "
),
4
==
t
.
type
?
a
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
title
))]):
e
.
_e
(),
e
.
_v
(
" "
),
5
==
t
.
type
?
a
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
title
))]):
e
.
_e
(),
e
.
_v
(
" "
),
6
==
t
.
type
?
a
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
title
))]):
e
.
_e
(),
e
.
_v
(
" "
),
7
==
t
.
type
?
a
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
title
))]):
e
.
_e
(),
e
.
_v
(
" "
),
9
==
t
.
type
?
a
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
title
))]):
e
.
_e
(),
e
.
_v
(
" "
),
10
==
t
.
type
?
a
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
title
))]):
e
.
_e
(),
e
.
_v
(
" "
),
11
==
t
.
type
?
a
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
title
))]):
e
.
_e
(),
e
.
_v
(
" "
),
0
==
t
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-one"
}):
e
.
_e
(),
e
.
_v
(
" "
),
1
==
t
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-two"
}):
e
.
_e
(),
e
.
_v
(
" "
),
2
==
t
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-three"
}):
e
.
_e
(),
e
.
_v
(
" "
),
3
==
t
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-four"
}):
e
.
_e
(),
e
.
_v
(
" "
),
4
==
t
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-five"
}):
e
.
_e
(),
e
.
_v
(
" "
),
5
==
t
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-six"
}):
e
.
_e
(),
e
.
_v
(
" "
),
6
==
t
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-seven"
}):
e
.
_e
(),
e
.
_v
(
" "
),
7
==
t
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-eight"
}):
e
.
_e
(),
e
.
_v
(
" "
),
9
==
t
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-ten"
}):
e
.
_e
(),
e
.
_v
(
" "
),
10
==
t
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-eleven"
}):
e
.
_e
(),
e
.
_v
(
" "
),
11
==
t
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-twelve"
}):
e
.
_e
()])}))],
1
)]):
e
.
_e
()],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"template-cell template-cell-m"
},[
a
(
"div"
,{
staticClass
:
"phone-view"
},[
a
(
"div"
,{
staticClass
:
"phone-show-content"
},[
a
(
"div"
,{
staticClass
:
"drag-show-content"
},[
a
(
"div"
,{
staticClass
:
"view-container"
},[
a
(
"ul"
,{
staticClass
:
"view-content"
,
attrs
:{
id
:
"showPhoneView"
}},[
0
==
e
.
tempaletDataList
.
length
?[
a
(
"img"
,{
staticClass
:
"templet-null-img"
,
attrs
:{
src
:
i
(
"Y7wY"
)}})]:
e
.
_e
(),
e
.
_v
(
" "
),
a
(
"draggable"
,{
staticClass
:
"drag-wrap"
,
attrs
:{
options
:{
group
:{
name
:
"people"
,
pull
:
!
1
,
put
:
!
0
},
sort
:
!
0
}},
model
:{
value
:
e
.
tempaletDataList
,
callback
:
function
(
t
){
e
.
tempaletDataList
=
t
},
expression
:
"tempaletDataList"
}},
e
.
_l
(
e
.
tempaletDataList
,
function
(
t
,
i
){
return
a
(
"li"
,{
key
:
"li1"
+
i
,
class
:[
"filed-item"
,
e
.
currentIndex
==
i
?
"active-item"
:
""
,
"li-block"
],
on
:{
click
:
function
(
a
){
e
.
selectItem
(
t
.
fieldCode
,
i
)}}},[
"baseInfo"
!=
t
.
fieldCode
?
a
(
"span"
,{
staticClass
:
"item-close p-item-close"
,
on
:{
click
:
function
(
a
){
a
.
stopPropagation
(),
e
.
deleteItem
(
t
.
name
,
t
.
parentCode
,
i
,
t
)}}},[
a
(
"i"
,{
staticClass
:
"el-icon-close"
})]):
e
.
_e
(),
e
.
_v
(
" "
),
t
.
systemFlag
||!
t
.
name
.
includes
(
"groupc"
)?
a
(
"div"
,[
1
==
t
.
type
||
2
==
t
.
type
||
3
==
t
.
type
||
10
==
t
.
type
||
9
==
t
.
type
?
a
(
"input-com"
,{
attrs
:{
childItem
:
t
}}):
e
.
_e
(),
e
.
_v
(
" "
),
4
==
t
.
type
||
5
==
t
.
type
?
a
(
"select-com"
,{
attrs
:{
childItem
:
t
}}):
e
.
_e
(),
e
.
_v
(
" "
),
6
==
t
.
type
?
a
(
"date-range-com"
,{
attrs
:{
childItem
:
t
}}):
e
.
_e
(),
e
.
_v
(
" "
),
7
==
t
.
type
?
a
(
"image-com"
,{
attrs
:{
childItem
:
t
}}):
e
.
_e
(),
e
.
_v
(
" "
),
"11"
==
t
.
type
?
a
(
"block-com"
,{
attrs
:{
childItem
:
t
}}):
e
.
_e
()],
1
):
e
.
_e
(),
e
.
_v
(
" "
),[
t
.
name
.
includes
(
"groupc"
)?
a
(
"div"
,{
staticClass
:
"block"
},[
a
(
"div"
,{
staticClass
:
"block-head"
},[
a
(
"div"
,{
class
:[
"opencard-item-title"
,
e
.
getZhLen
(
t
.
title
)
>=
6
?
"title-pre-wrap"
:
""
]},[
e
.
_v
(
e
.
_s
(
t
.
title
))])]),
e
.
_v
(
" "
),
a
(
"ul"
,{
staticClass
:
"view-content"
},[
a
(
"draggable"
,{
class
:[
"drag-wrap"
,
"block-wrap"
,
t
.
fieldCode
],
attrs
:{
options
:{
group
:{
name
:
"people"
,
pull
:
!
1
,
put
:
!
0
},
sort
:
!
0
}},
on
:{
add
:
e
.
addDragItem
},
model
:{
value
:
t
.
children
,
callback
:
function
(
i
){
e
.
$set
(
t
,
"children"
,
i
)},
expression
:
"item.children"
}},
e
.
_l
(
t
.
children
,
function
(
s
,
n
){
return
a
(
"li"
,{
key
:
"li"
+
n
,
class
:[
"filed-item"
,
"child-filed-item"
,
e
.
currentChildKey
==
s
.
name
&&
e
.
currentChildIndex
==
n
?
"active-item"
:
""
],
on
:{
click
:
function
(
a
){
a
.
stopPropagation
(),
e
.
selectChildItem
(
s
.
name
,
i
,
n
,
t
.
children
)}}},[
a
(
"span"
,{
staticClass
:
"item-close child-item-close"
,
on
:{
click
:
function
(
a
){
a
.
stopPropagation
(),
e
.
deleteChildItem
(
s
.
name
,
i
,
n
,
t
.
children
,
s
)}}},[
a
(
"i"
,{
staticClass
:
"el-icon-close"
})]),
e
.
_v
(
" "
),
4
==
s
.
type
||
5
==
s
.
type
?
a
(
"select-com"
,{
attrs
:{
childItem
:
s
}}):
e
.
_e
(),
e
.
_v
(
" "
),
6
==
s
.
type
?
a
(
"date-range-com"
,{
attrs
:{
childItem
:
s
}}):
e
.
_e
(),
e
.
_v
(
" "
),
7
==
s
.
type
?
a
(
"image-com"
,{
attrs
:{
childItem
:
s
}}):
e
.
_e
(),
e
.
_v
(
" "
),
1
==
s
.
type
||
2
==
s
.
type
||
3
==
s
.
type
||
10
==
s
.
type
||
9
==
s
.
type
?
a
(
"input-com"
,{
attrs
:{
childItem
:
s
}}):
e
.
_e
(),
e
.
_v
(
" "
),
"11"
==
s
.
type
&&
s
.
systemFlag
?
a
(
"block-com"
,{
attrs
:{
childItem
:
s
}}):
e
.
_e
()],
1
)}))],
1
)]):
e
.
_e
()]],
2
)}))],
2
)])])])])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"template-cell template-cell-r define-template-tab"
},[
a
(
"div"
,{
staticClass
:
"template-cell-title font-14 color-303133"
},[
e
.
_v
(
"控件设置"
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
attrs
:{
label
:
""
,
name
:
"first"
}},[
a
(
"div"
,{
attrs
:{
id
:
"edit-box"
}},[
a
(
"div"
,{
staticClass
:
"edit-view baby-info-flag baby-info"
},[
e
.
_l
(
e
.
tempaletDataList
,
function
(
t
,
i
){
return
[
e
.
currentIndex
!=
i
||
t
.
systemFlag
||
6
==
t
.
type
?
e
.
_e
():[
a
(
"div"
,{
key
:
"child"
+
i
,
staticClass
:
"edit-item test-title limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
e
.
_v
(
"标题"
)]),
e
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
300
,
inputValue
:
t
.
title
,
holder
:
""
,
disflag
:
t
.
systemFlag
,
getByType
:
"word"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
i
){
e
.
$set
(
t
,
"title"
,
i
)}}}),
e
.
_v
(
" "
),
7
==
t
.
type
?
a
(
"p"
,{
staticStyle
:{
"margin-top"
:
"8px"
,
"font-size"
:
"12px"
,
color
:
"rgba(255, 255, 255, 0.7)"
}},[
e
.
_v
(
"
\
n 图片最多可添加9张
\
n "
)]):
e
.
_e
()],
1
)],
e
.
_v
(
" "
),
e
.
currentIndex
!=
i
||
t
.
systemFlag
||
6
!=
t
.
type
?
e
.
_e
():[
a
(
"div"
,{
key
:
"child62"
+
i
,
staticClass
:
"edit-item test-title limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
e
.
_v
(
"标题 最多10个字"
)]),
e
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
300
,
inputValue
:
t
.
startTitle
,
holder
:
""
,
disflag
:
t
.
systemFlag
,
getByType
:
"word"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
i
){
e
.
$set
(
t
,
"startTitle"
,
i
)}}})],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
key
:
"child64"
+
i
,
staticClass
:
"edit-item test-title limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
e
.
_v
(
"标题2 最多10个字"
)]),
e
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
300
,
inputValue
:
t
.
endTitle
,
holder
:
""
,
disflag
:
t
.
systemFlag
,
getByType
:
"word"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
i
){
e
.
$set
(
t
,
"endTitle"
,
i
)}}})],
1
)],
e
.
_v
(
" "
),
e
.
currentIndex
!=
i
||
t
.
systemFlag
||
11
==
t
.
type
||
5
==
t
.
type
||
7
==
t
.
type
?
e
.
_e
():[
a
(
"div"
,{
key
:
"child1"
+
i
,
staticClass
:
"edit-item test-title limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
e
.
_v
(
"提示文字最多20个字"
)]),
e
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
300
,
inputValue
:
t
.
placeholder
,
holder
:
""
,
disflag
:
!
1
,
getByType
:
"word"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
i
){
e
.
$set
(
t
,
"placeholder"
,
i
)}}}),
e
.
_v
(
" "
),
2
==
t
.
type
||
9
==
t
.
type
?
a
(
"p"
,{
staticClass
:
"font-12 m-t-10"
},[
e
.
_v
(
"内容最多输入500个字"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
1
==
t
.
type
?
a
(
"p"
,{
staticClass
:
"font-12 m-t-10"
},[
e
.
_v
(
"内容最多输入100个字"
)]):
e
.
_e
()],
1
)],
e
.
_v
(
" "
),
e
.
currentIndex
!=
i
||
t
.
systemFlag
||
3
!=
t
.
type
?
e
.
_e
():[
a
(
"div"
,{
key
:
"child11"
+
i
,
staticClass
:
"edit-item test-title limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
e
.
_v
(
"单位最多20个字"
)]),
e
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
300
,
inputValue
:
t
.
placeholder
,
holder
:
""
,
disflag
:
!
1
,
getByType
:
"word"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
i
){
e
.
$set
(
t
,
"placeholder"
,
i
)}}}),
e
.
_v
(
" "
),
a
(
"p"
,{
staticClass
:
"font-12 m-t-10"
},[
e
.
_v
(
"内容最大限制为12位数"
)])],
1
)],
e
.
_v
(
" "
),
e
.
currentIndex
!=
i
||
t
.
systemFlag
||
"4"
!=
t
.
type
?
e
.
_e
():[
a
(
"div"
,{
key
:
"child111"
+
i
,
staticClass
:
"edit-item "
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
e
.
_v
(
"选项 "
),
t
.
systemFlag
?
e
.
_e
():
a
(
"span"
,[
e
.
_v
(
"最多20项,每项最多10个字"
)])]),
e
.
_v
(
" "
),
e
.
_l
(
t
.
list
,
function
(
s
,
n
){
return
[
a
(
"div"
,{
key
:
"child10"
+
n
,
staticClass
:
"margin-t-15 limit-w-340"
,
style
:
0
==
n
?
"margin-top: 0"
:
""
},[
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
300
,
inputValue
:
s
.
value
,
holder
:
""
,
disflag
:
t
.
systemFlag
,
getByType
:
"word"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
s
,
"value"
,
t
)}}}),
e
.
_v
(
" "
),
!
t
.
systemFlag
&&
t
.
list
.
length
>
1
?
a
(
"i"
,{
staticClass
:
"opt-btn el-icon-remove del-item"
,
on
:{
click
:
function
(
a
){
e
.
delChildItem
(
i
,
n
,
t
)}}}):
e
.
_e
(),
e
.
_v
(
" "
),
!
t
.
systemFlag
&&
n
<
19
?[
n
==
t
.
list
.
length
-
1
?
a
(
"i"
,{
staticClass
:
"opt-btn el-icon-circle-plus add-item"
,
on
:{
click
:
function
(
a
){
e
.
addChildItem
(
i
,
n
,
t
)}}}):
e
.
_e
()]:
e
.
_e
()],
2
)]})],
2
),
e
.
_v
(
" "
),
a
(
"div"
,{
key
:
"parent22"
+
i
,
staticClass
:
"edit-item m-b-10"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
e
.
_v
(
"选择框类型"
)]),
e
.
_v
(
" "
),
a
(
"div"
,[
a
(
"el-radio"
,{
attrs
:{
label
:
0
},
model
:{
value
:
t
.
chooseType
,
callback
:
function
(
i
){
e
.
$set
(
t
,
"chooseType"
,
i
)},
expression
:
"item.chooseType"
}},[
e
.
_v
(
"单选"
)]),
e
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
1
},
model
:{
value
:
t
.
chooseType
,
callback
:
function
(
i
){
e
.
$set
(
t
,
"chooseType"
,
i
)},
expression
:
"item.chooseType"
}},[
e
.
_v
(
"多选"
)])],
1
)])],
e
.
_v
(
" "
),
e
.
currentIndex
!=
i
||
t
.
systemFlag
||
5
!=
t
.
type
&&
6
!=
t
.
type
?
e
.
_e
():[
a
(
"div"
,{
key
:
"child117"
+
i
,
staticClass
:
"edit-item "
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
e
.
_v
(
"日期类型"
)]),
e
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
1
},
model
:{
value
:
t
.
dateType
,
callback
:
function
(
i
){
e
.
$set
(
t
,
"dateType"
,
i
)},
expression
:
"item.dateType"
}},[
e
.
_v
(
"
\
n 年-月-日 时 分
\
n "
)]),
e
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
0
},
model
:{
value
:
t
.
dateType
,
callback
:
function
(
i
){
e
.
$set
(
t
,
"dateType"
,
i
)},
expression
:
"item.dateType"
}},[
e
.
_v
(
"
\
n 年-月-日
\
n "
)])],
1
)],
e
.
_v
(
" "
),
e
.
currentIndex
!=
i
||
t
.
systemFlag
||
10
!=
t
.
type
?
e
.
_e
():[
a
(
"div"
,{
key
:
"parent210"
+
i
,
staticClass
:
"edit-item m-b-10"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
e
.
_v
(
"大写"
)]),
e
.
_v
(
" "
),
a
(
"el-checkbox"
,{
model
:{
value
:
t
.
openCapitalize
,
callback
:
function
(
i
){
e
.
$set
(
t
,
"openCapitalize"
,
i
)},
expression
:
"item.openCapitalize"
}},[
e
.
_v
(
"显示大写"
)])],
1
)],
e
.
_v
(
" "
),
e
.
currentIndex
!=
i
||
t
.
name
.
includes
(
"groupc"
)?
e
.
_e
():[
a
(
"div"
,{
key
:
"parent2"
+
i
,
staticClass
:
"edit-item m-b-10"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
e
.
_v
(
"验证"
)]),
e
.
_v
(
" "
),
a
(
"el-checkbox"
,{
on
:{
change
:
function
(
i
){
e
.
changeMust
(
i
,
!!
t
.
list
,
t
)}},
model
:{
value
:
t
.
isMust
,
callback
:
function
(
i
){
e
.
$set
(
t
,
"isMust"
,
i
)},
expression
:
"item.isMust"
}},[
e
.
_v
(
"必填"
)])],
1
)],
e
.
_v
(
" "
),
e
.
currentIndex
!=
i
||
"performanceKing"
!=
t
.
name
&&
"competitorInfo"
!=
t
.
name
?
e
.
_e
():[
a
(
"div"
,{
key
:
"parent21"
+
i
,
staticClass
:
"edit-item m-b-10"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
e
.
_v
(
"验证 是否必填"
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"must-list"
},
e
.
_l
(
t
.
list
,
function
(
t
,
i
){
return
a
(
"div"
,{
key
:
"list"
+
i
,
staticClass
:
"must-list-cell m-b-10"
},[
a
(
"el-checkbox"
,{
model
:{
value
:
t
.
isMust
,
callback
:
function
(
i
){
e
.
$set
(
t
,
"isMust"
,
i
)},
expression
:
"listItem.isMust"
}},[
e
.
_v
(
e
.
_s
(
t
.
title
))])],
1
)}))])],
e
.
_v
(
" "
),
e
.
currentIndex
!=
i
||
t
.
name
.
includes
(
"groupc"
)?
e
.
_e
():[
a
(
"div"
,{
key
:
"parent3"
+
i
,
staticClass
:
"edit-item "
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
e
.
_v
(
"记忆"
)]),
e
.
_v
(
" "
),
a
(
"el-checkbox"
,{
model
:{
value
:
t
.
memory
,
callback
:
function
(
i
){
e
.
$set
(
t
,
"memory"
,
i
)},
expression
:
"item.memory"
}},[
e
.
_v
(
"是否记忆"
)])],
1
)],
e
.
_v
(
" "
),
e
.
childIndex
==
i
&&
t
.
children
&&
t
.
children
.
length
?[
e
.
_l
(
t
.
children
,
function
(
t
,
s
){
return
[
e
.
currentChildIndex
!=
s
||
t
.
systemFlag
||
6
==
t
.
type
?
e
.
_e
():[
a
(
"div"
,{
key
:
"child"
+
s
,
staticClass
:
"edit-item test-title limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
e
.
_v
(
"标题"
)]),
e
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
300
,
inputValue
:
t
.
title
,
holder
:
""
,
disflag
:
t
.
systemFlag
,
getByType
:
"word"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
i
){
e
.
$set
(
t
,
"title"
,
i
)}}}),
e
.
_v
(
" "
),
7
==
t
.
type
?
a
(
"p"
,{
staticStyle
:{
"margin-top"
:
"8px"
,
"font-size"
:
"12px"
,
color
:
"rgba(255, 255, 255, 0.7)"
}},[
e
.
_v
(
"
\
n 图片最多可添加9张
\
n "
)]):
e
.
_e
()],
1
)],
e
.
_v
(
" "
),
e
.
currentChildIndex
!=
s
||
t
.
systemFlag
||
6
!=
t
.
type
?
e
.
_e
():[
a
(
"div"
,{
key
:
"child2"
+
s
,
staticClass
:
"edit-item test-title limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
e
.
_v
(
"标题 最多10个字"
)]),
e
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
300
,
inputValue
:
t
.
startTitle
,
holder
:
""
,
disflag
:
t
.
systemFlag
,
getByType
:
"word"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
i
){
e
.
$set
(
t
,
"startTitle"
,
i
)}}})],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
key
:
"child4"
+
s
,
staticClass
:
"edit-item test-title limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
e
.
_v
(
"标题2 最多10个字"
)]),
e
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
300
,
inputValue
:
t
.
endTitle
,
holder
:
""
,
disflag
:
t
.
systemFlag
,
getByType
:
"word"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
i
){
e
.
$set
(
t
,
"endTitle"
,
i
)}}})],
1
)],
e
.
_v
(
" "
),
e
.
currentChildIndex
!=
s
||
t
.
systemFlag
||
5
==
t
.
type
||
7
==
t
.
type
?
e
.
_e
():[
a
(
"div"
,{
key
:
"child1"
+
s
,
staticClass
:
"edit-item test-title limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
e
.
_v
(
"提示文字最多20个字"
)]),
e
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
300
,
inputValue
:
t
.
placeholder
,
holder
:
""
,
disflag
:
!
1
,
getByType
:
"word"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
i
){
e
.
$set
(
t
,
"placeholder"
,
i
)}}}),
e
.
_v
(
" "
),
2
==
t
.
type
||
9
==
t
.
type
?
a
(
"p"
,{
staticClass
:
"font-12 m-t-10"
},[
e
.
_v
(
"内容最多输入500个字"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
1
==
t
.
type
?
a
(
"p"
,{
staticClass
:
"font-12 m-t-10"
},[
e
.
_v
(
"内容最多输入100个字"
)]):
e
.
_e
()],
1
)],
e
.
_v
(
" "
),
e
.
currentChildIndex
!=
s
||
t
.
systemFlag
||
3
!=
t
.
type
?
e
.
_e
():[
a
(
"div"
,{
key
:
"child6"
+
s
,
staticClass
:
"edit-item test-title limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
e
.
_v
(
"单位最多20个字"
)]),
e
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
300
,
inputValue
:
t
.
unit
,
holder
:
""
,
disflag
:
!
1
,
getByType
:
"word"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
i
){
e
.
$set
(
t
,
"unit"
,
i
)}}}),
e
.
_v
(
" "
),
a
(
"p"
,{
staticClass
:
"font-12 m-t-10"
},[
e
.
_v
(
"内容最大限制为12位数"
)])],
1
)],
e
.
_v
(
" "
),
e
.
currentChildIndex
!=
s
||
t
.
systemFlag
||
5
!=
t
.
type
&&
6
!=
t
.
type
?
e
.
_e
():[
a
(
"div"
,{
key
:
"child7"
+
s
,
staticClass
:
"edit-item "
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
e
.
_v
(
"日期类型"
)]),
e
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
1
},
model
:{
value
:
t
.
dateType
,
callback
:
function
(
i
){
e
.
$set
(
t
,
"dateType"
,
i
)},
expression
:
"childItem.dateType"
}},[
e
.
_v
(
"
\
n 年-月-日 时 分
\
n "
)]),
e
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
0
},
model
:{
value
:
t
.
dateType
,
callback
:
function
(
i
){
e
.
$set
(
t
,
"dateType"
,
i
)},
expression
:
"childItem.dateType"
}},[
e
.
_v
(
"
\
n 年-月-日
\
n "
)])],
1
)],
e
.
_v
(
" "
),
e
.
currentChildIndex
!=
s
||
t
.
systemFlag
||
"4"
!=
t
.
type
?
e
.
_e
():[
a
(
"div"
,{
key
:
"child9"
+
s
,
staticClass
:
"edit-item "
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
e
.
_v
(
"选项 "
),
t
.
systemFlag
?
e
.
_e
():
a
(
"span"
,[
e
.
_v
(
"最多20项,每项最多10个字"
)])]),
e
.
_v
(
" "
),
e
.
_l
(
t
.
list
,
function
(
s
,
n
){
return
[
a
(
"div"
,{
key
:
"child10"
+
n
,
staticClass
:
"margin-t-15 limit-w-340"
,
style
:
0
==
n
?
"margin-top: 0"
:
""
},[
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
300
,
inputValue
:
s
.
value
,
holder
:
""
,
disflag
:
t
.
systemFlag
,
getByType
:
"word"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
s
,
"value"
,
t
)}}}),
e
.
_v
(
" "
),
!
t
.
systemFlag
&&
t
.
list
.
length
>
1
?
a
(
"i"
,{
staticClass
:
"opt-btn el-icon-remove del-item"
,
on
:{
click
:
function
(
a
){
e
.
delChildItem
(
i
,
n
,
t
)}}}):
e
.
_e
(),
e
.
_v
(
" "
),
!
t
.
systemFlag
&&
n
<
19
?[
n
==
t
.
list
.
length
-
1
?
a
(
"i"
,{
staticClass
:
"opt-btn el-icon-circle-plus add-item"
,
on
:{
click
:
function
(
a
){
e
.
addChildItem
(
i
,
n
,
t
)}}}):
e
.
_e
()]:
e
.
_e
()],
2
)]})],
2
),
e
.
_v
(
" "
),
a
(
"div"
,{
key
:
"child922"
+
s
,
staticClass
:
"edit-item m-b-10"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
e
.
_v
(
"选择框类型"
)]),
e
.
_v
(
" "
),
a
(
"div"
,[
a
(
"el-radio"
,{
attrs
:{
label
:
0
},
model
:{
value
:
t
.
chooseType
,
callback
:
function
(
i
){
e
.
$set
(
t
,
"chooseType"
,
i
)},
expression
:
"childItem.chooseType"
}},[
e
.
_v
(
"单选"
)]),
e
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
1
},
model
:{
value
:
t
.
chooseType
,
callback
:
function
(
i
){
e
.
$set
(
t
,
"chooseType"
,
i
)},
expression
:
"childItem.chooseType"
}},[
e
.
_v
(
"多选"
)])],
1
)])],
e
.
_v
(
" "
),
e
.
currentChildIndex
!=
s
||
t
.
systemFlag
||
10
!=
t
.
type
?
e
.
_e
():[
a
(
"div"
,{
key
:
"child910"
+
s
,
staticClass
:
"edit-item m-b-10"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
e
.
_v
(
"大写"
)]),
e
.
_v
(
" "
),
a
(
"el-checkbox"
,{
model
:{
value
:
t
.
openCapitalize
,
callback
:
function
(
i
){
e
.
$set
(
t
,
"openCapitalize"
,
i
)},
expression
:
"childItem.openCapitalize"
}},[
e
.
_v
(
"显示大写"
)])],
1
)],
e
.
_v
(
" "
),
e
.
currentChildIndex
==
s
?[
a
(
"div"
,{
key
:
"child11"
+
s
,
staticClass
:
"edit-item"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
e
.
_v
(
"验证"
)]),
e
.
_v
(
" "
),
a
(
"el-checkbox"
,{
on
:{
change
:
function
(
i
){
e
.
changeMust
(
i
,
!!
t
.
list
,
t
)}},
model
:{
value
:
t
.
isMust
,
callback
:
function
(
i
){
e
.
$set
(
t
,
"isMust"
,
i
)},
expression
:
"childItem.isMust"
}},[
e
.
_v
(
"必填"
)])],
1
)]:
e
.
_e
(),
e
.
_v
(
" "
),
e
.
currentChildIndex
!=
s
||
"performanceKing"
!=
t
.
name
&&
"competitorInfo"
!=
t
.
name
?
e
.
_e
():[
a
(
"div"
,{
key
:
"child111"
+
s
,
staticClass
:
"edit-item m-b-10"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
e
.
_v
(
"验证 是否必填"
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"must-list"
},
e
.
_l
(
t
.
list
,
function
(
t
,
i
){
return
a
(
"div"
,{
key
:
"list111"
+
i
,
staticClass
:
"must-list-cell m-b-10"
},[
a
(
"el-checkbox"
,{
model
:{
value
:
t
.
isMust
,
callback
:
function
(
i
){
e
.
$set
(
t
,
"isMust"
,
i
)},
expression
:
"listItem.isMust"
}},[
e
.
_v
(
e
.
_s
(
t
.
title
))])],
1
)}))])],
e
.
_v
(
" "
),
e
.
currentChildIndex
==
s
?[
a
(
"div"
,{
key
:
"child12"
+
s
,
staticClass
:
"edit-item "
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
e
.
_v
(
"记忆"
)]),
e
.
_v
(
" "
),
a
(
"el-checkbox"
,{
model
:{
value
:
t
.
memory
,
callback
:
function
(
i
){
e
.
$set
(
t
,
"memory"
,
i
)},
expression
:
"childItem.memory"
}},[
e
.
_v
(
"是否记忆"
)])],
1
)]:
e
.
_e
()]})]:
e
.
_e
()]})],
2
)])])])])]),
e
.
_v
(
" "
),
a
(
"qrcode-dialog"
,{
ref
:
"qrcodePreview"
,
model
:{
value
:
e
.
dialogVisible
,
callback
:
function
(
t
){
e
.
dialogVisible
=
t
},
expression
:
"dialogVisible"
}}),
e
.
_v
(
" "
),
e
.
setVisible
?
a
(
"custom-set"
,{
attrs
:{
templateObj
:
e
.
templateObj
,
storeList
:
e
.
storeList
},
on
:{
closeSet
:
e
.
closeSet
}}):
e
.
_e
()],
1
)},
staticRenderFns
:[]};
var
j
=
i
(
"VU/8"
)(
T
,
V
,
!
1
,
function
(
e
){
i
(
"BiUk"
)},
"data-v-e7625adc"
,
null
);
t
.
default
=
j
.
exports
},
Lz4M
:
function
(
e
,
t
){},
O3gZ
:
function
(
e
,
t
,
i
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
{
name
:
"block-com"
,
props
:{
childItem
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
{}}}}},
s
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"div"
,{
staticClass
:
"block block-field"
},[
i
(
"div"
,{
staticClass
:
"block-head"
},[
i
(
"div"
,{
class
:[
"opencard-item-title"
,
e
.
childItem
.
title
.
length
>=
6
?
"title-pre-wrap"
:
""
]},[
e
.
_v
(
e
.
_s
(
e
.
childItem
.
title
))])]),
e
.
_v
(
" "
),
i
(
"ul"
,{
staticClass
:
"view-content"
},
e
.
_l
(
e
.
childItem
.
list
,
function
(
t
,
a
){
return
i
(
"li"
,{
key
:
"performance"
+
a
,
staticClass
:
"block-filed-item border-bottom-1"
},[
i
(
"div"
,{
class
:[
"opencard-item-title"
,
t
.
title
.
length
>=
6
?
"title-pre-wrap"
:
""
]},[
e
.
_v
(
e
.
_s
(
t
.
title
))]),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"draged-item-show"
},[
i
(
"span"
,{
staticClass
:
"show-warm-text show-warm-text-flag "
},[
e
.
_v
(
e
.
_s
(
t
.
placeholder
)
+
" "
+
e
.
_s
(
t
.
isMust
?
"(必填)"
:
""
))])])])})),
e
.
_v
(
" "
),
"competitorInfo"
==
e
.
childItem
.
name
?
i
(
"div"
,{
staticClass
:
"compete-add"
},[
e
.
_v
(
"
\
n +竞品信息
\
n "
)]):
e
.
_e
()])},
staticRenderFns
:[]};
var
n
=
i
(
"VU/8"
)(
a
,
s
,
!
1
,
function
(
e
){
i
(
"gqXI"
)},
"data-v-530ad580"
,
null
);
t
.
default
=
n
.
exports
},
Y7wY
:
function
(
e
,
t
){
e
.
exports
=
"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPkAAACRCAIAAACOionwAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTM4IDc5LjE1OTgyNCwgMjAxNi8wOS8xNC0wMTowOTowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTcgKE1hY2ludG9zaCkiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6ODlGRUMwRjlBNDNCMTFFOEFDNjNEOUI2M0M2ODI3MUMiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6ODlGRUMwRkFBNDNC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wRxXRDEdUF4LfEnAQYA+LOKDxiFWhsAAAAASUVORK5CYII="
},
ZcO4
:
function
(
e
,
t
){},
gqXI
:
function
(
e
,
t
){},
k7oF
:
function
(
e
,
t
){},
rYZf
:
function
(
e
,
t
,
i
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
{
name
:
"select-com"
,
props
:{
childItem
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
{}}}},
methods
:{
getZhLen
:
function
(
e
){
for
(
var
t
=
0
,
i
=
0
;
i
<
e
.
length
;
i
++
){
null
!=
e
.
charAt
(
i
).
match
(
/
[^\x
00-
\x
ff
]
/gi
)?
t
+=
1
:
t
+=
.
5
}
return
Math
.
ceil
(
t
)}}},
s
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"div"
,{
staticClass
:
"flex"
},[
i
(
"div"
,{
class
:[
"opencard-item-title"
,
e
.
getZhLen
(
e
.
childItem
.
title
)
>=
6
?
"title-pre-wrap"
:
""
]},[
e
.
_v
(
e
.
_s
(
e
.
childItem
.
title
))]),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"draged-item-show"
},[
i
(
"span"
,{
staticClass
:
"show-warm-text show-warm-text-flag select-flag"
},[
e
.
_v
(
e
.
_s
(
e
.
childItem
.
placeholder
)
+
" "
+
e
.
_s
(
e
.
childItem
.
isMust
?
"(必填)"
:
""
)
+
" "
),
i
(
"i"
,{
staticClass
:
"el-icon-arrow-right"
})])])])},
staticRenderFns
:[]};
var
n
=
i
(
"VU/8"
)(
a
,
s
,
!
1
,
function
(
e
){
i
(
"ZcO4"
)},
"data-v-337dd046"
,
null
);
t
.
default
=
n
.
exports
},
zHtI
:
function
(
e
,
t
,
i
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
{
name
:
"input-com"
,
props
:{
childItem
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
{}}}},
methods
:{
getZhLen
:
function
(
e
){
for
(
var
t
=
0
,
i
=
0
;
i
<
e
.
length
;
i
++
){
null
!=
e
.
charAt
(
i
).
match
(
/
[^\x
00-
\x
ff
]
/gi
)?
t
+=
1
:
t
+=
.
5
}
return
Math
.
ceil
(
t
)}}},
s
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"div"
,{
class
:[
2
==
e
.
childItem
.
type
?
"h-66"
:
""
]},[
9
!=
e
.
childItem
.
type
?
i
(
"div"
,{
class
:[
"opencard-item-title"
,
e
.
getZhLen
(
e
.
childItem
.
title
)
>=
6
?
"title-pre-wrap"
:
""
]},[
e
.
_v
(
e
.
_s
(
e
.
childItem
.
title
))]):
e
.
_e
(),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"draged-item-show"
},[
i
(
"span"
,{
staticClass
:
"show-warm-text show-warm-text-flag"
,
style
:{
"padding-left"
:
9
==
e
.
childItem
.
type
?
"15px"
:
"0"
}},[
e
.
_v
(
e
.
_s
(
e
.
childItem
.
placeholder
)
+
" "
+
e
.
_s
(
e
.
childItem
.
isMust
?
"(必填)"
:
""
))])]),
e
.
_v
(
" "
),
10
==
e
.
childItem
.
type
&&
e
.
childItem
.
openCapitalize
?
i
(
"div"
,{
staticClass
:
"show-capitalize font-12 color-909399 p-l-10 border-box"
},[
e
.
_v
(
"大写:壹万元整(示例)"
)]):
e
.
_e
()])},
staticRenderFns
:[]};
var
n
=
i
(
"VU/8"
)(
a
,
s
,
!
1
,
function
(
e
){
i
(
"k7oF"
)},
"data-v-09e8bcce"
,
null
);
t
.
default
=
n
.
exports
}});
\ No newline at end of file
dist/static/js/2.525af3dccf4c3bc5cfbe.js
0 → 100644
View file @
cce654f1
webpackJsonp
([
2
,
29
,
31
,
36
,
38
,
47
],{
"/XIA"
:
function
(
e
,
t
){},
"2WGr"
:
function
(
e
,
t
,
i
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
{
name
:
"date-range-com"
,
props
:{
childItem
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
{}}}},
methods
:{
getZhLen
:
function
(
e
){
for
(
var
t
=
0
,
i
=
0
;
i
<
e
.
length
;
i
++
){
null
!=
e
.
charAt
(
i
).
match
(
/
[^\x
00-
\x
ff
]
/gi
)?
t
+=
1
:
t
+=
.
5
}
return
Math
.
ceil
(
t
)}}},
s
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"div"
,[
i
(
"div"
,{
staticClass
:
"flex"
},[
i
(
"div"
,{
class
:[
"opencard-item-title"
,
e
.
getZhLen
(
e
.
childItem
.
startTitle
)
>=
6
?
"title-pre-wrap"
:
""
]},[
e
.
_v
(
e
.
_s
(
e
.
childItem
.
startTitle
))]),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"draged-item-show"
},[
i
(
"span"
,{
staticClass
:
"show-warm-text show-warm-text-flag select-flag"
},[
e
.
_v
(
e
.
_s
(
e
.
childItem
.
placeholder
)
+
" "
+
e
.
_s
(
e
.
childItem
.
isMust
?
"(必填)"
:
""
)),
i
(
"i"
,{
staticClass
:
"el-icon-arrow-right"
})])])]),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"b-t-1 flex"
},[
i
(
"div"
,{
class
:[
"opencard-item-title"
,
e
.
getZhLen
(
e
.
childItem
.
endTitle
)
>=
6
?
"title-pre-wrap"
:
""
]},[
e
.
_v
(
e
.
_s
(
e
.
childItem
.
endTitle
))]),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"draged-item-show"
},[
i
(
"span"
,{
staticClass
:
"show-warm-text show-warm-text-flag select-flag"
},[
e
.
_v
(
e
.
_s
(
e
.
childItem
.
placeholder
)
+
" "
+
e
.
_s
(
e
.
childItem
.
isMust
?
"(必填)"
:
""
)
+
" "
),
i
(
"i"
,{
staticClass
:
"el-icon-arrow-right"
})])])])])},
staticRenderFns
:[]};
var
n
=
i
(
"VU/8"
)(
a
,
s
,
!
1
,
function
(
e
){
i
(
"JXCd"
)},
"data-v-5106f326"
,
null
);
t
.
default
=
n
.
exports
},
"8dpP"
:
function
(
e
,
t
,
i
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
{
name
:
"image-com"
,
props
:{
childItem
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
{}}}},
methods
:{
getZhLen
:
function
(
e
){
for
(
var
t
=
0
,
i
=
0
;
i
<
e
.
length
;
i
++
){
null
!=
e
.
charAt
(
i
).
match
(
/
[^\x
00-
\x
ff
]
/gi
)?
t
+=
1
:
t
+=
.
5
}
return
Math
.
ceil
(
t
)}}},
s
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"div"
,{
staticClass
:
"image-com flex"
},[
i
(
"div"
,{
class
:[
"opencard-item-title"
,
e
.
getZhLen
(
e
.
childItem
.
title
)
>=
6
?
"title-pre-wrap"
:
""
]},[
e
.
_v
(
e
.
_s
(
e
.
childItem
.
title
))]),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"must"
},[
e
.
_v
(
e
.
_s
(
e
.
childItem
.
isMust
?
"(必填)"
:
""
))]),
e
.
_v
(
" "
),
e
.
_m
(
0
)])},
staticRenderFns
:[
function
(){
var
e
=
this
.
$createElement
,
t
=
this
.
_self
.
_c
||
e
;
return
t
(
"div"
,{
staticClass
:
"draged-item-show"
},[
t
(
"span"
,{
staticClass
:
"show-warm-text show-warm-text-flag select-flag"
},[
t
(
"i"
,{
staticClass
:
"iconfont icon-icon"
})])])}]};
var
n
=
i
(
"VU/8"
)(
a
,
s
,
!
1
,
function
(
e
){
i
(
"/XIA"
)},
"data-v-2858c829"
,
null
);
t
.
default
=
n
.
exports
},
Emdx
:
function
(
e
,
t
){},
"IDG+"
:
function
(
e
,
t
){},
Isrn
:
function
(
e
,
t
,
i
){
"use strict"
;
var
a
=
i
(
"Mk6G"
),
s
=
{
name
:
"addinput"
,
props
:{
childItem
:
String
,
childIndex
:
Number
,
titleName
:
String
,
inputValue
:
String
,
maxLength
:
Number
,
disFlag
:
Number
,
child
:
String
},
data
:
function
(){
return
{
inputNum
:
0
,
limitLength
:
10
,
itemValue
:
""
,
disableInput
:
!
1
,
c3Flag
:
""
,
c3Index
:
""
,
titleFlag
:
""
,
childFlag
:
""
}},
methods
:{
inputFocus
:
function
(
e
){
console
.
log
(
e
)},
toInput
:
function
(
e
){
var
t
=
""
,
i
=
{};
return
t
=
a
.
a
.
getByteVal
(
e
.
target
.
value
,
this
.
limitLength
),
this
.
itemValue
=
t
.
trim
(),
this
.
inputNum
=
a
.
a
.
getZhLen
(
this
.
itemValue
),
this
.
childFlag
?(
i
.
child
=
this
.
childFlag
,
i
.
value
=
this
.
itemValue
,
"title"
==
this
.
titleFlag
&&
(
i
.
title
=
this
.
titleFlag
),
"k303"
==
this
.
c3Flag
&&
(
i
.
c3Index
=
this
.
c3Index
,
i
.
flag
=
this
.
c3Flag
),
void
this
.
$emit
(
"itemInput"
,
i
)):
"title"
==
this
.
titleFlag
?(
i
.
value
=
this
.
itemValue
,
i
.
title
=
this
.
titleFlag
,
void
this
.
$emit
(
"itemInput"
,
i
)):
"k303"
==
this
.
c3Flag
?(
i
.
value
=
this
.
itemValue
,
i
.
flag
=
this
.
c3Flag
,
i
.
c3Index
=
this
.
c3Index
,
void
this
.
$emit
(
"itemInput"
,
i
)):
void
this
.
$emit
(
"itemInput"
,
this
.
itemValue
)}},
watch
:{
maxLength
:
function
(
e
,
t
){
this
.
limitLength
=
e
},
inputValue
:
function
(
e
,
t
){
this
.
itemValue
=
e
,
this
.
inputNum
=
a
.
a
.
getZhLen
(
this
.
itemValue
)},
disFlag
:
function
(
e
,
t
){
this
.
disableInput
=
e
},
childItem
:
function
(
e
,
t
){
this
.
c3Flag
=
e
},
childIndex
:
function
(
e
,
t
){
this
.
c3Index
=
e
},
titleName
:
function
(
e
,
t
){
this
.
titleFlag
=
e
},
child
:
function
(
e
,
t
){
this
.
childFlag
=
e
}},
mounted
:
function
(){
console
.
log
(
this
.
childIndex
),
this
.
limitLength
=
this
.
maxLength
,
this
.
itemValue
=
this
.
inputValue
||
""
,
this
.
inputNum
=
a
.
a
.
getZhLen
(
this
.
inputValue
),
this
.
disableInput
=
this
.
disFlag
||
0
,
this
.
c3Flag
=
this
.
childItem
||
""
,
this
.
c3Index
=
0
==
this
.
childIndex
?
0
:
this
.
childIndex
,
this
.
titleFlag
=
this
.
titleName
,
this
.
childFlag
=
this
.
child
}},
n
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"div"
,{
staticClass
:
"input-line-cell"
},[
i
(
"el-input"
,{
staticClass
:
"w-340"
,
attrs
:{
placeholder
:
""
,
disabled
:
0
!=
e
.
disableInput
},
on
:{
focus
:
function
(
t
){
e
.
inputFocus
(
e
.
c3Index
)}},
nativeOn
:{
keyup
:
function
(
t
){
return
i
=
t
,
e
.
toInput
(
i
);
var
i
}},
model
:{
value
:
e
.
itemValue
,
callback
:
function
(
t
){
e
.
itemValue
=
t
},
expression
:
"itemValue"
}}),
e
.
_v
(
" "
),
i
(
"span"
,{
staticClass
:
"tip"
},[
i
(
"span"
,{
staticClass
:
"len_span"
},[
e
.
_v
(
e
.
_s
(
e
.
inputNum
))]),
e
.
_v
(
"/"
+
e
.
_s
(
e
.
limitLength
))])],
1
)},
staticRenderFns
:[]};
var
l
=
i
(
"VU/8"
)(
s
,
n
,
!
1
,
function
(
e
){
i
(
"Lz4M"
)},
"data-v-407eef81"
,
null
);
t
.
a
=
l
.
exports
},
JXCd
:
function
(
e
,
t
){},
LTPC
:
function
(
e
,
t
,
i
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
i
(
"//Fk"
),
s
=
i
.
n
(
a
),
n
=
i
(
"Gu7T"
),
l
=
i
.
n
(
n
),
c
=
i
(
"gBtx"
),
r
=
i
.
n
(
c
),
o
=
i
(
"mvHQ"
),
d
=
i
.
n
(
o
),
u
=
i
(
"DAYN"
),
p
=
i
.
n
(
u
),
m
=
i
(
"Isrn"
),
h
=
i
(
"l46T"
),
v
=
i
(
"8dpP"
),
f
=
i
(
"rYZf"
),
g
=
i
(
"2WGr"
),
y
=
i
(
"zHtI"
),
I
=
i
(
"O3gZ"
),
_
=
i
(
"fPyK"
),
b
=
i
(
"fZjL"
),
C
=
i
.
n
(
b
),
x
=
{
props
:{
templateObj
:{
type
:[
Array
,
Object
],
default
:
function
(){
return
{}}},
storeList
:{
type
:[
Array
,
Object
],
default
:
function
(){
return
[]}}},
data
:
function
(){
return
{
setVisible
:
!
0
,
rules
:{
title
:[{
required
:
!
0
,
message
:
"请输入模板名称"
,
trigger
:
"blur"
}],
description
:[{
required
:
!
0
,
message
:
"请输入模板描述"
,
trigger
:
"blur"
}],
storeType
:[{
required
:
!
0
,
message
:
"请选择门店类型"
,
trigger
:
"change"
}]},
ruleForm
:{
title
:
""
,
description
:
""
,
storeType
:
""
}}},
computed
:{},
watch
:{
templateObj
:
function
(
e
){
C
()(
"val"
).
length
&&
(
this
.
ruleForm
=
JSON
.
parse
(
d
()(
e
)))}},
methods
:{
handleClose
:
function
(
e
){
e
(),
this
.
$emit
(
"closeSet"
,
"close"
),
this
.
selectId
=
""
},
cancel
:
function
(){
this
.
$emit
(
"closeSet"
,
"close"
),
this
.
selectId
=
""
},
submitForm
:
function
(
e
){
this
.
$refs
[
e
].
validate
(
function
(
e
){
if
(
!
e
)
return
console
.
log
(
"error submit!!"
),
!
1
;
that
.
$emit
(
"closeSet"
,
that
.
ruleForm
)})}},
components
:{
limitInput
:
h
.
a
},
mounted
:
function
(){
this
.
ruleForm
=
JSON
.
parse
(
d
()(
this
.
templateObj
))}},
k
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"el-dialog"
,{
attrs
:{
width
:
"600px"
,
title
:
"模板设置"
,
visible
:
e
.
setVisible
,
"append-to-body"
:
""
,
"before-close"
:
e
.
handleClose
},
on
:{
"update:visible"
:
function
(
t
){
e
.
setVisible
=
t
}}},[
i
(
"div"
,{
staticClass
:
"m-t-20"
},[
i
(
"el-form"
,{
ref
:
"ruleForm"
,
staticClass
:
"demo-ruleForm"
,
attrs
:{
model
:
e
.
ruleForm
,
rules
:
e
.
rules
,
"label-width"
:
"100px"
}},[
i
(
"el-form-item"
,{
attrs
:{
label
:
"模板名称"
,
prop
:
"title"
}},[
i
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
inputValue
:
e
.
ruleForm
.
title
,
holder
:
""
,
disflag
:
!
1
,
getByType
:
"word"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"title"
,
t
)}}})],
1
),
e
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
"模板描述"
,
prop
:
"description"
}},[
i
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
inputValue
:
e
.
ruleForm
.
description
,
holder
:
""
,
disflag
:
!
1
,
getByType
:
"word"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"description"
,
t
)}}})],
1
),
e
.
_v
(
" "
),
i
(
"el-form-item"
,{
attrs
:{
label
:
"门店类型"
,
prop
:
"storeType"
}},
e
.
_l
(
e
.
storeList
,
function
(
t
,
a
){
return
i
(
"div"
,{
key
:
t
.
name
+
a
,
staticClass
:
"store-type-cell m-b-20"
},[
i
(
"el-radio"
,{
attrs
:{
label
:
t
.
id
,
disabled
:
t
.
disabled
},
model
:{
value
:
e
.
ruleForm
.
storeType
,
callback
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"storeType"
,
t
)},
expression
:
"ruleForm.storeType"
}},[
e
.
_v
(
e
.
_s
(
t
.
name
))])],
1
)}))],
1
)],
1
),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
i
(
"el-button"
,{
on
:{
click
:
e
.
cancel
}},[
e
.
_v
(
"取消"
)]),
e
.
_v
(
" "
),
i
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
submitForm
(
"ruleForm"
)}}},[
e
.
_v
(
"确定"
)])],
1
)])},
staticRenderFns
:[]};
var
w
=
i
(
"VU/8"
)(
x
,
k
,
!
1
,
function
(
e
){
i
(
"Emdx"
)},
"data-v-5b38d3c7"
,
null
).
exports
,
M
=
i
(
"3E4D"
),
L
=
i
(
"Ch4/"
),
O
=
i
(
"PI0u"
),
F
=
i
(
"P9l9"
),
T
=
{
name
:
"customSetTemplate"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
activeTab
:
1
,
activeName
:
"first"
,
enterpriseId
:
this
.
brandId
,
rightName
:
"second"
,
dialogVisible
:
!
1
,
bodyHeight
:(
document
.
documentElement
.
clientHeight
||
document
.
body
.
clientHeight
)
-
277
+
"px"
,
isDragging
:
!
1
,
delayedDragging
:
!
1
,
leftOption
:{
group
:{
name
:
"people"
,
pull
:
"clone"
,
put
:
!
1
},
sort
:
!
1
,
disabled
:
!
1
},
leftDefineOption
:{
group
:{
name
:
"people"
,
pull
:
"clone"
,
put
:
!
1
},
sort
:
!
1
,
disabled
:
!
1
},
templateId
:
""
,
oparateType
:
""
,
counter
:
1
,
selectKey
:
""
,
tradeInfo
:[],
personInfo
:[],
goodsInfo
:[],
competeInfo
:[],
defineInfo
:[],
currentIndex
:
0
,
currentChildKey
:
null
,
currentChildIndex
:
null
,
childIndex
:
0
,
tempaletDataList
:[],
setList
:[],
templateObj
:{
title
:
""
,
description
:
""
,
storeType
:
""
,
momory
:[]},
storeList
:[{
id
:
"0"
,
name
:
"自营门店"
,
disabled
:
!
1
},{
id
:
"1"
,
name
:
"联营门店"
,
disabled
:
!
1
},{
id
:
"2"
,
name
:
"代理门店"
,
disabled
:
!
1
},{
id
:
"3"
,
name
:
"代销门店"
,
disabled
:
!
1
},{
id
:
"4"
,
name
:
"托管门店"
,
disabled
:
!
1
}],
setVisible
:
!
1
}},
methods
:{
templateSet
:
function
(){
this
.
setVisible
=!
0
},
closeSet
:
function
(
e
){
if
(
this
.
setVisible
=!
1
,
"close"
==
e
)
return
!
1
;
this
.
templateObj
=
e
},
changeTab
:
function
(
e
){
this
.
activeTab
=
e
,
this
.
activeName
=
2
==
e
?
"five"
:
"first"
},
getZhLen
:
function
(
e
){
for
(
var
t
=
0
,
i
=
0
;
i
<
e
.
length
;
i
++
){
null
!=
e
.
charAt
(
i
).
match
(
/
[^\x
00-
\x
ff
]
/gi
)?
t
+=
1
:
t
+=
.
5
}
return
Math
.
ceil
(
t
)},
returnBack
:
function
(){
this
.
changeRoute
(
"/customReport?brandId="
+
this
.
brandId
+
"&appIcon="
+
this
.
$route
.
query
.
appIcon
)},
cloneItem
:
function
(
e
){
var
t
=
JSON
.
parse
(
d
()(
e
));
return
t
.
cid
=
"c"
+
this
.
counter
,
t
.
systemFlag
||
(
t
.
name
.
includes
(
"textc"
)
&&
(
t
.
name
=
"textc"
+
this
.
counter
),
t
.
name
.
includes
(
"paragraphc"
)
&&
(
t
.
name
=
"paragraphc"
+
this
.
counter
),
t
.
name
.
includes
(
"numberc"
)
&&
(
t
.
name
=
"numberc"
+
this
.
counter
),
t
.
name
.
includes
(
"checkboxesOrRadioc"
)
&&
(
t
.
name
=
"checkboxesOrRadioc"
+
this
.
counter
),
t
.
name
.
includes
(
"datec"
)
&&
(
t
.
name
=
"datec"
+
this
.
counter
),
t
.
name
.
includes
(
"dateareac"
)
&&
(
t
.
name
=
"dateareac"
+
this
.
counter
),
t
.
name
.
includes
(
"picc"
)
&&
(
t
.
name
=
"picc"
+
this
.
counter
),
t
.
name
.
includes
(
"introductionc"
)
&&
(
t
.
name
=
"introductionc"
+
this
.
counter
),
t
.
name
.
includes
(
"pricec"
)
&&
(
t
.
name
=
"pricec"
+
this
.
counter
),
t
.
name
.
includes
(
"groupc"
)
&&
(
t
.
name
=
"groupc"
+
this
.
counter
,
t
.
title
=
""
+
t
.
title
+
this
.
counter
)),
t
},
onMove
:
function
(
e
){
var
t
=
e
.
draggedContext
.
element
;
return
!
this
.
tempaletDataList
.
map
(
function
(
e
){
return
e
.
name
}).
includes
(
t
.
name
)
&&!
t
.
fixed
},
onChildMove
:
function
(
e
){
var
t
=!
0
;
return
-
1
!=
e
.
dragged
.
className
.
indexOf
(
"block-class"
)
&&-
1
!=
e
.
to
.
className
.
indexOf
(
"block-wrap"
)
&&
(
t
=!
1
),
t
},
itemMoveEnd
:
function
(
e
){
var
t
=
this
;
function
i
(
e
){
t
[
e
].
forEach
(
function
(
e
,
i
){
e
.
name
==
t
.
selectKey
&&
(
e
.
fixed
=!
0
)})}
t
.
isDragging
=!
1
,
t
.
selectKey
=
""
,
t
.
selectKey
=
e
.
clone
.
dataset
.
name
,
t
.
tempaletDataList
.
forEach
(
function
(
e
,
a
){
e
.
name
==
t
.
selectKey
&&
i
(
e
.
parentCode
),
e
.
children
&&
e
.
children
.
forEach
(
function
(
e
,
a
){
e
.
name
==
t
.
selectKey
&&
i
(
e
.
parentCode
)})}),
t
.
selectKey
=
""
,
t
.
tempaletDataList
=
JSON
.
parse
(
d
()(
t
.
tempaletDataList
)),
t
.
$forceUpdate
(),
t
.
counter
=
t
.
counter
+
1
},
selectItem
:
function
(
e
,
t
){
this
.
currentIndex
=
t
,
this
.
currentChildIndex
=
null
},
deleteItem
:
function
(
e
,
t
,
i
,
a
){
var
s
=
this
;
if
(
s
.
tempaletDataList
.
splice
(
i
,
1
),
s
.
currentIndex
--
,
s
.
currentIndex
<=
0
&&
(
s
.
currentIndex
=
0
),
!
a
.
systemFlag
)
return
a
.
name
.
includes
(
"groupc"
)
&&
a
.
children
.
length
&&
a
.
children
.
forEach
(
function
(
e
){
e
.
systemFlag
&&
s
[
e
.
parentCode
].
forEach
(
function
(
t
){
t
.
name
==
e
.
name
&&
(
t
.
fixed
=!
1
)})}),
!
1
;
s
[
t
].
forEach
(
function
(
t
,
i
){
t
.
name
==
e
&&
(
t
.
fixed
=!
1
)})},
addDragItem
:
function
(
e
){
return
!
1
},
selectChildItem
:
function
(
e
,
t
,
i
,
a
){
this
.
currentIndex
=
null
,
this
.
currentChildKey
=
e
,
this
.
childIndex
=
t
,
this
.
currentChildIndex
=
i
},
deleteChildItem
:
function
(
e
,
t
,
i
,
a
,
s
){
if
(
this
.
childIndex
=
t
,
this
.
currentIndex
=
null
,
this
.
currentChildKey
=
this
.
tempaletDataList
[
t
].
children
[
i
].
name
,
this
.
currentChildIndex
--
,
this
.
currentChildIndex
<=
0
&&
(
this
.
currentChildIndex
=
0
),
this
.
tempaletDataList
=
JSON
.
parse
(
d
()(
this
.
tempaletDataList
)),
this
.
tempaletDataList
[
t
].
children
.
splice
(
i
,
1
),
!
s
.
systemFlag
)
return
!
1
;
this
[
s
.
parentCode
].
forEach
(
function
(
t
,
i
){
t
.
name
===
e
&&
(
t
.
fixed
=!
1
)})},
delChildItem
:
function
(
e
,
t
,
i
){
i
.
list
.
splice
(
t
,
1
)},
addChildItem
:
function
(
e
,
t
,
i
){
if
(
19
!=
t
){
i
.
list
.
push
({
value
:
"选项"
+
(
t
+
2
),
key
:
t
+
2
});
var
a
=
i
.
list
.
map
(
function
(
e
){
return
e
.
value
});
this
.
isRepeat
(
a
)
&&
(
i
.
list
.
splice
(
i
.
list
.
length
-
1
,
1
),
a
.
splice
(
i
.
list
.
length
-
1
,
1
),
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"选项不能重复"
}))}
else
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"最多可添加 20 项"
})},
changeMust
:
function
(
e
,
t
,
i
){
t
&&
i
.
list
.
forEach
(
function
(
t
){
t
.
isMust
=!!
e
})},
isRepeat
:
function
(
e
){
var
t
=
{};
for
(
var
i
in
e
){
if
(
t
[
e
[
i
]])
return
!
0
;
t
[
e
[
i
]]
=!
0
}
return
!
1
},
changeRoute
:
function
(
e
){
this
.
$router
.
push
(
e
)},
checkTag
:
function
(
e
){
var
t
=
{
filedFlag
:
!
0
,
filedRepeat
:
!
1
},
i
=
[];
return
e
.
forEach
(
function
(
e
){
if
(
""
==
e
.
title
)
return
t
.
filedFlag
=!
1
,
t
.
name
=
e
.
title
||
""
,
!
1
;
i
.
push
(
e
.
title
),
e
.
hasOwnProperty
(
"children"
)
&&
e
.
children
.
length
&&
e
.
children
.
forEach
(
function
(
e
){
if
(
e
.
systemFlag
&&
""
==
e
.
title
)
return
t
.
filedFlag
=!
1
,
t
.
name
=
e
.
title
||
""
,
!
1
;
i
.
push
(
e
.
title
)})}),
this
.
isRepeat
(
i
)
&&
(
t
.
filedRepeat
=!
0
),
t
},
checkTemplateObj
:
function
(){
var
e
=!
0
;
return
this
.
templateObj
.
title
&&
this
.
templateObj
.
description
&&
this
.
templateObj
.
storeType
||
(
e
=!
1
),
e
},
getUuid
:
function
(){
return
"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx"
.
replace
(
/
[
xy
]
/g
,
function
(
e
){
var
t
=
16
*
Math
.
random
()
|
0
;
return
(
"x"
==
e
?
t
:
3
&
t
|
8
).
toString
(
16
)})},
saveAndBack
:
Object
(
O
.
a
)(
function
(
e
){
if
(
!
this
.
checkTemplateObj
())
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请完善模板设置内容"
}),
!
1
;
var
t
=
JSON
.
parse
(
d
()(
this
.
tempaletDataList
)),
i
=
this
.
checkTag
(
t
);
if
(
!
i
.
filedFlag
)
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
i
.
name
+
"字段标题不能为空"
}),
!
1
;
if
(
i
.
filedRepeat
)
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"字段标题不能重复"
});
else
{
if
(
t
.
forEach
(
function
(
e
,
t
){
e
.
sort
=
t
,
e
.
isMust
=
e
.
isMust
?
1
:
0
,
e
.
memory
=
e
.
memory
?
1
:
0
,
e
.
hasOwnProperty
(
"openCapitalize"
)
&&
(
e
.
openCapitalize
=
e
.
openCapitalize
?
1
:
0
),
e
.
hasOwnProperty
(
"list"
)
&&
e
.
list
.
forEach
(
function
(
e
){
e
.
isMust
=
e
.
isMust
?
1
:
0
}),
e
.
hasOwnProperty
(
"children"
)
&&
(
e
.
children
.
forEach
(
function
(
e
,
t
){
e
.
sort
=
t
,
e
.
isMust
=
e
.
isMust
?
1
:
0
,
e
.
memory
=
e
.
memory
?
1
:
0
,
e
.
hasOwnProperty
(
"list"
)
&&
e
.
list
.
forEach
(
function
(
e
){
e
.
isMust
=
e
.
isMust
?
1
:
0
}),
e
.
hasOwnProperty
(
"openCapitalize"
)
&&
(
e
.
openCapitalize
=
e
.
openCapitalize
?
1
:
0
)}),
e
.
list
=
e
.
children
)}),
!
t
.
length
)
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请先配置字段"
}),
!
1
;
"save"
===
e
?
this
.
saveAllData
(
t
):
this
.
postPreview
(
t
)}},
500
),
saveAllData
:
function
(
e
){
var
t
=
this
,
i
=
{
status
:
1
,
enterpriseId
:
t
.
enterpriseId
,
templateContent
:
d
()(
e
),
title
:
t
.
templateObj
.
title
,
description
:
t
.
templateObj
.
description
,
storeType
:
t
.
templateObj
.
storeType
,
memory
:[]};
Object
(
F
.
c
)(
"/haoban-app-daily-three-web/daily/save-define-template"
,
i
).
then
(
function
(
e
){
var
t
=
e
.
data
;
1
!=
t
.
errorCode
?
L
.
a
.
errorMsg
(
t
):
M
.
a
.
showmsg
(
"保存成功"
,
"success"
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
postPreview
:
function
(
e
){
var
t
=
this
,
i
=
{
templateType
:
1
,
enterpriseId
:
t
.
enterpriseId
,
templateContent
:
d
()(
e
)};
Object
(
F
.
c
)(
"/haoban-app-daily-three-web/daily/preview-template"
,
i
).
then
(
function
(
e
){
var
i
=
e
.
data
;
if
(
1
==
i
.
errorCode
){
var
a
=
JSON
.
parse
(
localStorage
.
getItem
(
"userInfo"
)).
enterpriseId
,
s
=
window
.
location
.
origin
+
"/office-mobile/#/defineTemplate?enterpriseId="
+
a
+
"&templateId="
+
i
.
result
+
"&brandId="
+
t
.
brandId
;
return
t
.
$refs
.
qrcodePreview
.
qrcode
(
s
,
"daily-preview"
),
void
(
t
.
dialogVisible
=!
0
)}
L
.
a
.
errorMsg
(
i
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
closeDialog
:
function
(){
this
.
dialogVisible
=!
1
},
getHasStores
:
function
(){
var
e
=
this
;
Object
(
F
.
c
)(
"/haoban-app-daily-three-web/daily/has-defined-template-store-type"
,{
enterpriseId
:
e
.
enterpriseId
}).
then
(
function
(
t
){
var
i
=
t
.
data
;
1
!=
i
.
errorCode
?
L
.
a
.
errorMsg
(
i
):
e
.
storeList
.
forEach
(
function
(
t
){
i
.
result
&&
i
.
result
.
length
&&
i
.
result
.
includes
(
r
()(
t
.
id
))
&&
(
t
.
disabled
=!
0
),
"edit"
==
e
.
oparateType
&&
e
.
storeType
==
t
.
id
&&
(
t
.
disabled
=!
1
)})}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getAllFields
:
function
(
e
){
var
t
=
this
;
Object
(
F
.
c
)(
"/haoban-app-daily-three-web/daily/get-template-items"
,{
enterpriseId
:
t
.
enterpriseId
,
type
:
e
}).
then
(
function
(
i
){
var
a
=
i
.
data
;
if
(
1
==
a
.
errorCode
)
return
a
.
result
.
forEach
(
function
(
t
){
t
.
isMust
=!!
t
.
isMust
,
t
.
memory
=!!
t
.
memory
,
t
.
title
=
t
.
title
.
trim
(),
t
.
hasOwnProperty
(
"openCapitalize"
)
&&
(
t
.
openCapitalize
=!!
t
.
openCapitalize
),
t
.
hasOwnProperty
(
"list"
)
&&
t
.
list
&&
t
.
list
.
length
&&
t
.
list
.
forEach
(
function
(
e
){
e
.
isMust
=!!
e
.
isMust
}),
t
.
systemFlag
=
3
!=
e
,
t
.
name
.
includes
(
"groupc"
)
&&
(
t
.
children
=
[])}),
void
(
3
==
e
?
t
.
defineInfo
=
a
.
result
:
t
.
handleAllFields
(
a
.
result
));
L
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
handleAllFields
:
function
(
e
){
var
t
=
this
;
e
.
forEach
(
function
(
e
){
e
.
fixed
=!
1
,
1
==
e
.
classify
&&
(
e
.
parentCode
=
"tradeInfo"
,
t
.
tradeInfo
.
push
(
e
)),
2
==
e
.
classify
&&
(
e
.
parentCode
=
"personInfo"
,
t
.
personInfo
.
push
(
e
)),
3
==
e
.
classify
&&
(
e
.
parentCode
=
"goodsInfo"
,
t
.
goodsInfo
.
push
(
e
)),
4
==
e
.
classify
&&
(
e
.
parentCode
=
"competeInfo"
,
t
.
competeInfo
.
push
(
e
))})},
getInfo
:
function
(){
var
e
=
this
;
Object
(
F
.
c
)(
"/haoban-app-daily-three-web/daily/get-define-template"
,{
templateId
:
e
.
templateId
}).
then
(
function
(
t
){
var
i
=
t
.
data
;
if
(
1
==
i
.
errorCode
)
return
e
.
setList
=
[],
i
.
result
&&
(
e
.
templateObj
.
title
=
i
.
result
.
title
,
e
.
templateObj
.
description
=
i
.
result
.
description
,
e
.
storeType
=
"edit"
==
e
.
oparateType
?
String
(
i
.
result
.
storeType
):
""
,
e
.
templateObj
.
storeType
=
"edit"
==
e
.
oparateType
?
String
(
i
.
result
.
storeType
):
""
,
i
.
result
.
templateContent
&&
i
.
result
.
templateContent
.
length
&&
e
.
handleGetInfo
(
i
.
result
.
templateContent
)),
void
e
.
getHasStores
();
L
.
a
.
errorMsg
(
i
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
treeData
:
function
(
e
){
var
t
=
e
.
filter
(
function
(
t
){
var
i
=
e
.
filter
(
function
(
e
){
return
t
.
fieldCode
==
e
.
parentCode
});
return
i
.
length
>
0
&&
(
t
.
children
=
i
),
0
==
t
.
parentCode
});
return
t
.
sort
(
function
(
e
,
t
){
return
e
.
sort
-
t
.
sort
}),
t
.
forEach
(
function
(
e
,
t
){
e
.
children
.
sort
(
function
(
e
,
t
){
return
e
.
sort
-
t
.
sort
})}),
t
},
handleGetInfo
:
function
(
e
){
var
t
=
this
,
i
=
JSON
.
parse
(
d
()(
e
));
t
.
cids
=
[],
t
.
setParent
=
[],
i
.
forEach
(
function
(
e
,
i
){
e
.
title
=
e
.
title
.
trim
(),
e
.
isMust
=!!
e
.
isMust
,
e
.
memory
=!!
e
.
memory
,
e
.
name
.
includes
(
"textc"
)
||
e
.
name
.
includes
(
"paragraphc"
)
||
e
.
name
.
includes
(
"numberc"
)
||
e
.
name
.
includes
(
"checkboxesOrRadioc"
)
||
e
.
name
.
includes
(
"datec"
)
||
e
.
name
.
includes
(
"dateareac"
)
||
e
.
name
.
includes
(
"picc"
)
||
e
.
name
.
includes
(
"introductionc"
)
||
e
.
name
.
includes
(
"pricec"
)
||
e
.
name
.
includes
(
"groupc"
)?(
e
.
systemFlag
=!
1
,
e
.
parentCode
=
"defineInfo"
):(
t
.
setParent
.
push
(
e
.
name
),
e
.
systemFlag
=!
0
,
1
==
e
.
classify
&&
(
e
.
parentCode
=
"tradeInfo"
),
2
==
e
.
classify
&&
(
e
.
parentCode
=
"personInfo"
),
3
==
e
.
classify
&&
(
e
.
parentCode
=
"goodsInfo"
),
4
==
e
.
classify
&&
(
e
.
parentCode
=
"competeInfo"
)),
e
.
hasOwnProperty
(
"openCapitalize"
)
&&
(
e
.
openCapitalize
=!!
e
.
openCapitalize
),
e
.
hasOwnProperty
(
"list"
)
&&
e
.
list
&&
e
.
list
.
length
&&
(
e
.
list
.
forEach
(
function
(
i
){(
i
.
isMust
=!!
i
.
isMust
,
e
.
name
.
includes
(
"groupc"
))
&&
(
i
.
isMust
=!!
i
.
isMust
,
i
.
memory
=!!
i
.
memory
,
i
.
name
.
includes
(
"textc"
)
||
i
.
name
.
includes
(
"paragraphc"
)
||
i
.
name
.
includes
(
"numberc"
)
||
i
.
name
.
includes
(
"checkboxesOrRadioc"
)
||
i
.
name
.
includes
(
"datec"
)
||
i
.
name
.
includes
(
"dateareac"
)
||
i
.
name
.
includes
(
"picc"
)
||
i
.
name
.
includes
(
"introductionc"
)
||
i
.
name
.
includes
(
"pricec"
)
||
i
.
name
.
includes
(
"groupc"
)?
i
.
systemFlag
=!
1
:(
t
.
setParent
.
push
(
i
.
name
),
i
.
systemFlag
=!
0
,
1
==
i
.
classify
&&
(
i
.
parentCode
=
"tradeInfo"
),
2
==
i
.
classify
&&
(
i
.
parentCode
=
"personInfo"
),
3
==
i
.
classify
&&
(
i
.
parentCode
=
"goodsInfo"
),
4
==
i
.
classify
&&
(
i
.
parentCode
=
"competeInfo"
)))}),
e
.
name
.
includes
(
"groupc"
)
&&
(
e
.
children
=
e
.
list
)),
t
.
cids
.
push
(
r
()(
e
.
cid
.
match
(
/
\d
+/g
))),
e
.
hasOwnProperty
(
"children"
)
&&
e
.
children
.
forEach
(
function
(
e
){
e
.
isMust
=!!
e
.
isMust
,
e
.
memory
=!!
e
.
memory
,
t
.
cids
.
push
(
r
()(
e
.
cid
.
match
(
/
\d
+/g
)))})}),
t
.
counter
=
Math
.
max
.
apply
(
Math
,
l
()(
t
.
cids
)),
t
.
tempaletDataList
=
i
,
setTimeout
(
function
(){
t
.
setFixed
()},
500
)},
setFixed
:
function
(){
var
e
=
this
;[
"tradeInfo"
,
"personInfo"
,
"goodsInfo"
,
"competeInfo"
].
forEach
(
function
(
t
){
e
[
t
].
forEach
(
function
(
t
){
e
.
setParent
.
includes
(
t
.
name
)
&&
(
t
.
fixed
=!
0
)})})}},
watch
:{
isDragging
:
function
(
e
){
var
t
=
this
;
e
?
t
.
delayedDragging
=!
0
:
t
.
$nextTick
(
function
(){
t
.
delayedDragging
=!
1
})},
brandId
:
function
(
e
,
t
){
var
i
=
this
;
e
&&
(
i
.
enterpriseId
=
e
,
i
.
tradeInfo
=
[],
i
.
personInfo
=
[],
i
.
goodsInfo
=
[],
i
.
competeInfo
=
[],
i
.
defineInfo
=
[],
i
.
currentIndex
=
0
,
i
.
tempaletDataList
=
[],
i
.
setList
=
[],
s
.
a
.
all
([
i
.
getAllFields
(
2
)]).
then
(
function
(
e
){
i
.
getAllFields
(
3
),
query
.
hasOwnProperty
(
"templateId"
)?(
i
.
templateId
=
query
.
templateId
,
i
.
oparateType
=
query
.
type
,
i
.
getInfo
()):
i
.
getHasStores
()}).
catch
(
function
(
e
){
console
.
log
(
e
)}))}},
components
:{
draggable
:
p
.
a
,
AddInput
:
m
.
a
,
limitInput
:
h
.
a
,
imageCom
:
v
.
default
,
selectCom
:
f
.
default
,
dateRangeCom
:
g
.
default
,
inputCom
:
y
.
default
,
blockCom
:
I
.
default
,
qrcodeDialog
:
_
.
a
,
customSet
:
w
},
mounted
:
function
(){
var
e
=
this
;
e
.
$emit
(
"showTab"
,
"32"
),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
;
var
t
=
e
.
$route
.
query
;
s
.
a
.
all
([
e
.
getAllFields
(
2
)]).
then
(
function
(
i
){
e
.
getAllFields
(
3
),
t
.
hasOwnProperty
(
"templateId"
)?(
e
.
templateId
=
t
.
templateId
,
e
.
oparateType
=
t
.
type
,
e
.
getInfo
()):
e
.
getHasStores
()}).
catch
(
function
(
e
){
console
.
log
(
e
)}),
document
.
body
.
ondrop
=
function
(
e
){
e
.
preventDefault
(),
e
.
stopPropagation
()}},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
}},
V
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"template-wrap"
,
style
:{
minHeight
:
e
.
bodyHeight
}},[
a
(
"div"
,{
staticClass
:
"template-contain"
},[
a
(
"div"
,{
staticClass
:
"template-head"
},[
a
(
"div"
,{
staticClass
:
"template-title flex-1"
}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"template-btns flex-1 flex-r"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
e
.
templateSet
}},[
e
.
_v
(
"模板设置"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
function
(
t
){
e
.
saveAndBack
(
"preview"
)}}},[
e
.
_v
(
"预 览"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
saveAndBack
(
"save"
)}}},[
e
.
_v
(
"保存并启用"
)])],
1
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"template-body"
},[
a
(
"div"
,{
staticClass
:
"template-cell template-cell-l"
},[
a
(
"div"
,{
staticClass
:
"flex"
},[
a
(
"div"
,{
class
:[
"template-cell-title font-14 "
,
1
==
e
.
activeTab
?
"color-3033133"
:
"color-606266"
],
on
:{
click
:
function
(
t
){
e
.
changeTab
(
"1"
)}}},[
e
.
_v
(
"系统字段"
)]),
e
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"p-l-15 color-dedfe6"
},[
e
.
_v
(
"|"
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
class
:[
"template-cell-title font-14 "
,
2
==
e
.
activeTab
?
"color-3033133"
:
"color-606266"
],
on
:{
click
:
function
(
t
){
e
.
changeTab
(
"2"
)}}},[
e
.
_v
(
"自定义字段"
)])]),
e
.
_v
(
" "
),
a
(
"el-tabs"
,{
model
:{
value
:
e
.
activeName
,
callback
:
function
(
t
){
e
.
activeName
=
t
},
expression
:
"activeName"
}},[
1
==
e
.
activeTab
?
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"交易"
,
name
:
"first"
}},[
a
(
"ul"
,[
a
(
"draggable"
,{
staticClass
:
"compenent"
,
attrs
:{
id
:
"list1"
,
list
:
e
.
tradeInfo
,
options
:
e
.
leftOption
,
clone
:
e
.
cloneItem
,
move
:
e
.
onMove
},
on
:{
start
:
function
(
t
){
e
.
isDragging
=!
0
},
end
:
e
.
itemMoveEnd
}},
e
.
_l
(
e
.
tradeInfo
,
function
(
t
,
i
){
return
a
(
"li"
,{
key
:
i
,
class
:[
"compenent-item"
,
1
==
t
.
fixed
?
"fixed-item"
:
""
],
attrs
:{
"data-name"
:
t
.
name
,
"aria-hidden"
:
"true"
}},[
a
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
title
))])])}))],
1
)]):
e
.
_e
(),
e
.
_v
(
" "
),
1
==
e
.
activeTab
?
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"人员"
,
name
:
"second"
}},[
a
(
"ul"
,[
a
(
"draggable"
,{
staticClass
:
"compenent"
,
attrs
:{
id
:
"list2"
,
list
:
e
.
personInfo
,
options
:
e
.
leftOption
,
clone
:
e
.
cloneItem
,
move
:
e
.
onMove
},
on
:{
start
:
function
(
t
){
e
.
isDragging
=!
0
},
end
:
e
.
itemMoveEnd
}},
e
.
_l
(
e
.
personInfo
,
function
(
t
,
i
){
return
a
(
"li"
,{
key
:
i
,
class
:[
"compenent-item"
,
1
==
t
.
fixed
?
"fixed-item"
:
""
],
attrs
:{
"data-name"
:
t
.
name
}},[
a
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
title
))])])}))],
1
)]):
e
.
_e
(),
e
.
_v
(
" "
),
1
==
e
.
activeTab
?
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"商品"
,
name
:
"third"
}},[
a
(
"ul"
,[
a
(
"draggable"
,{
staticClass
:
"compenent"
,
attrs
:{
id
:
"list3"
,
list
:
e
.
goodsInfo
,
options
:
e
.
leftOption
,
clone
:
e
.
cloneItem
,
move
:
e
.
onMove
},
on
:{
start
:
function
(
t
){
e
.
isDragging
=!
0
},
end
:
e
.
itemMoveEnd
}},
e
.
_l
(
e
.
goodsInfo
,
function
(
t
,
i
){
return
a
(
"li"
,{
key
:
i
,
class
:[
"compenent-item"
,
1
==
t
.
fixed
?
"fixed-item"
:
""
],
attrs
:{
"data-name"
:
t
.
name
}},[
a
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
title
))])])}))],
1
)]):
e
.
_e
(),
e
.
_v
(
" "
),
1
==
e
.
activeTab
?
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"竞品"
,
name
:
"four"
}},[
a
(
"ul"
,[
a
(
"draggable"
,{
staticClass
:
"compenent"
,
attrs
:{
id
:
"list4"
,
list
:
e
.
competeInfo
,
options
:
e
.
leftOption
,
clone
:
e
.
cloneItem
,
move
:
e
.
onMove
},
on
:{
start
:
function
(
t
){
e
.
isDragging
=!
0
},
end
:
e
.
itemMoveEnd
}},
e
.
_l
(
e
.
competeInfo
,
function
(
t
,
i
){
return
a
(
"li"
,{
key
:
i
,
class
:[
"compenent-item"
,
1
==
t
.
fixed
?
"fixed-item"
:
""
],
attrs
:{
"data-name"
:
t
.
name
}},[
a
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
title
))])])}))],
1
)]):
e
.
_e
(),
e
.
_v
(
" "
),
2
==
e
.
activeTab
?
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"自定义字段"
,
name
:
"five"
}},[
a
(
"div"
,{
staticClass
:
"filed-item-title"
}),
e
.
_v
(
" "
),
a
(
"ul"
,[
a
(
"draggable"
,{
staticClass
:
"compenent"
,
attrs
:{
id
:
"list5"
,
list
:
e
.
defineInfo
,
options
:
e
.
leftDefineOption
,
clone
:
e
.
cloneItem
,
move
:
e
.
onChildMove
},
on
:{
start
:
function
(
t
){
e
.
isDragging
=!
0
},
end
:
e
.
itemMoveEnd
}},
e
.
_l
(
e
.
defineInfo
,
function
(
t
,
i
){
return
a
(
"li"
,{
key
:
i
,
class
:[
"compenent-item"
,
1
==
t
.
fixed
?
"fixed-item"
:
""
,
11
==
t
.
type
?
"block-class"
:
""
],
attrs
:{
"data-type"
:
t
.
fieldCode
}},[
0
==
t
.
type
?
a
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
title
))]):
e
.
_e
(),
e
.
_v
(
" "
),
1
==
t
.
type
?
a
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
title
))]):
e
.
_e
(),
e
.
_v
(
" "
),
2
==
t
.
type
?
a
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
title
))]):
e
.
_e
(),
e
.
_v
(
" "
),
3
==
t
.
type
?
a
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
title
))]):
e
.
_e
(),
e
.
_v
(
" "
),
4
==
t
.
type
?
a
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
title
))]):
e
.
_e
(),
e
.
_v
(
" "
),
5
==
t
.
type
?
a
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
title
))]):
e
.
_e
(),
e
.
_v
(
" "
),
6
==
t
.
type
?
a
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
title
))]):
e
.
_e
(),
e
.
_v
(
" "
),
7
==
t
.
type
?
a
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
title
))]):
e
.
_e
(),
e
.
_v
(
" "
),
9
==
t
.
type
?
a
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
title
))]):
e
.
_e
(),
e
.
_v
(
" "
),
10
==
t
.
type
?
a
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
title
))]):
e
.
_e
(),
e
.
_v
(
" "
),
11
==
t
.
type
?
a
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
title
))]):
e
.
_e
(),
e
.
_v
(
" "
),
0
==
t
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-one"
}):
e
.
_e
(),
e
.
_v
(
" "
),
1
==
t
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-two"
}):
e
.
_e
(),
e
.
_v
(
" "
),
2
==
t
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-three"
}):
e
.
_e
(),
e
.
_v
(
" "
),
3
==
t
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-four"
}):
e
.
_e
(),
e
.
_v
(
" "
),
4
==
t
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-five"
}):
e
.
_e
(),
e
.
_v
(
" "
),
5
==
t
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-six"
}):
e
.
_e
(),
e
.
_v
(
" "
),
6
==
t
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-seven"
}):
e
.
_e
(),
e
.
_v
(
" "
),
7
==
t
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-eight"
}):
e
.
_e
(),
e
.
_v
(
" "
),
9
==
t
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-ten"
}):
e
.
_e
(),
e
.
_v
(
" "
),
10
==
t
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-eleven"
}):
e
.
_e
(),
e
.
_v
(
" "
),
11
==
t
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-twelve"
}):
e
.
_e
()])}))],
1
)]):
e
.
_e
()],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"template-cell template-cell-m"
},[
a
(
"div"
,{
staticClass
:
"phone-view"
},[
a
(
"div"
,{
staticClass
:
"phone-show-content"
},[
a
(
"div"
,{
staticClass
:
"drag-show-content"
},[
a
(
"div"
,{
staticClass
:
"view-container"
},[
a
(
"ul"
,{
staticClass
:
"view-content"
,
attrs
:{
id
:
"showPhoneView"
}},[
0
==
e
.
tempaletDataList
.
length
?[
a
(
"img"
,{
staticClass
:
"templet-null-img"
,
attrs
:{
src
:
i
(
"Y7wY"
)}})]:
e
.
_e
(),
e
.
_v
(
" "
),
a
(
"draggable"
,{
staticClass
:
"drag-wrap"
,
attrs
:{
options
:{
group
:{
name
:
"people"
,
pull
:
!
1
,
put
:
!
0
},
sort
:
!
0
}},
model
:{
value
:
e
.
tempaletDataList
,
callback
:
function
(
t
){
e
.
tempaletDataList
=
t
},
expression
:
"tempaletDataList"
}},
e
.
_l
(
e
.
tempaletDataList
,
function
(
t
,
i
){
return
a
(
"li"
,{
key
:
"li1"
+
i
,
class
:[
"filed-item"
,
e
.
currentIndex
==
i
?
"active-item"
:
""
,
"li-block"
],
on
:{
click
:
function
(
a
){
e
.
selectItem
(
t
.
fieldCode
,
i
)}}},[
"baseInfo"
!=
t
.
fieldCode
?
a
(
"span"
,{
staticClass
:
"item-close p-item-close"
,
on
:{
click
:
function
(
a
){
a
.
stopPropagation
(),
e
.
deleteItem
(
t
.
name
,
t
.
parentCode
,
i
,
t
)}}},[
a
(
"i"
,{
staticClass
:
"el-icon-close"
})]):
e
.
_e
(),
e
.
_v
(
" "
),
t
.
systemFlag
||!
t
.
name
.
includes
(
"groupc"
)?
a
(
"div"
,[
1
==
t
.
type
||
2
==
t
.
type
||
3
==
t
.
type
||
10
==
t
.
type
||
9
==
t
.
type
?
a
(
"input-com"
,{
attrs
:{
childItem
:
t
}}):
e
.
_e
(),
e
.
_v
(
" "
),
4
==
t
.
type
||
5
==
t
.
type
?
a
(
"select-com"
,{
attrs
:{
childItem
:
t
}}):
e
.
_e
(),
e
.
_v
(
" "
),
6
==
t
.
type
?
a
(
"date-range-com"
,{
attrs
:{
childItem
:
t
}}):
e
.
_e
(),
e
.
_v
(
" "
),
7
==
t
.
type
?
a
(
"image-com"
,{
attrs
:{
childItem
:
t
}}):
e
.
_e
(),
e
.
_v
(
" "
),
"11"
==
t
.
type
?
a
(
"block-com"
,{
attrs
:{
childItem
:
t
}}):
e
.
_e
()],
1
):
e
.
_e
(),
e
.
_v
(
" "
),[
t
.
name
.
includes
(
"groupc"
)?
a
(
"div"
,{
staticClass
:
"block"
},[
a
(
"div"
,{
staticClass
:
"block-head"
},[
a
(
"div"
,{
class
:[
"opencard-item-title"
,
e
.
getZhLen
(
t
.
title
)
>=
6
?
"title-pre-wrap"
:
""
]},[
e
.
_v
(
e
.
_s
(
t
.
title
))])]),
e
.
_v
(
" "
),
a
(
"ul"
,{
staticClass
:
"view-content"
},[
a
(
"draggable"
,{
class
:[
"drag-wrap"
,
"block-wrap"
,
t
.
fieldCode
],
attrs
:{
options
:{
group
:{
name
:
"people"
,
pull
:
!
1
,
put
:
!
0
},
sort
:
!
0
}},
on
:{
add
:
e
.
addDragItem
},
model
:{
value
:
t
.
children
,
callback
:
function
(
i
){
e
.
$set
(
t
,
"children"
,
i
)},
expression
:
"item.children"
}},
e
.
_l
(
t
.
children
,
function
(
s
,
n
){
return
a
(
"li"
,{
key
:
"li"
+
n
,
class
:[
"filed-item"
,
"child-filed-item"
,
e
.
currentChildKey
==
s
.
name
&&
e
.
currentChildIndex
==
n
?
"active-item"
:
""
],
on
:{
click
:
function
(
a
){
a
.
stopPropagation
(),
e
.
selectChildItem
(
s
.
name
,
i
,
n
,
t
.
children
)}}},[
a
(
"span"
,{
staticClass
:
"item-close child-item-close"
,
on
:{
click
:
function
(
a
){
a
.
stopPropagation
(),
e
.
deleteChildItem
(
s
.
name
,
i
,
n
,
t
.
children
,
s
)}}},[
a
(
"i"
,{
staticClass
:
"el-icon-close"
})]),
e
.
_v
(
" "
),
4
==
s
.
type
||
5
==
s
.
type
?
a
(
"select-com"
,{
attrs
:{
childItem
:
s
}}):
e
.
_e
(),
e
.
_v
(
" "
),
6
==
s
.
type
?
a
(
"date-range-com"
,{
attrs
:{
childItem
:
s
}}):
e
.
_e
(),
e
.
_v
(
" "
),
7
==
s
.
type
?
a
(
"image-com"
,{
attrs
:{
childItem
:
s
}}):
e
.
_e
(),
e
.
_v
(
" "
),
1
==
s
.
type
||
2
==
s
.
type
||
3
==
s
.
type
||
10
==
s
.
type
||
9
==
s
.
type
?
a
(
"input-com"
,{
attrs
:{
childItem
:
s
}}):
e
.
_e
(),
e
.
_v
(
" "
),
"11"
==
s
.
type
&&
s
.
systemFlag
?
a
(
"block-com"
,{
attrs
:{
childItem
:
s
}}):
e
.
_e
()],
1
)}))],
1
)]):
e
.
_e
()]],
2
)}))],
2
)])])])])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"template-cell template-cell-r define-template-tab"
},[
a
(
"div"
,{
staticClass
:
"template-cell-title font-14 color-303133"
},[
e
.
_v
(
"控件设置"
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
attrs
:{
label
:
""
,
name
:
"first"
}},[
a
(
"div"
,{
attrs
:{
id
:
"edit-box"
}},[
a
(
"div"
,{
staticClass
:
"edit-view baby-info-flag baby-info"
},[
e
.
_l
(
e
.
tempaletDataList
,
function
(
t
,
i
){
return
[
e
.
currentIndex
!=
i
||
t
.
systemFlag
||
6
==
t
.
type
?
e
.
_e
():[
a
(
"div"
,{
key
:
"child"
+
i
,
staticClass
:
"edit-item test-title limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
e
.
_v
(
"标题"
)]),
e
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
300
,
inputValue
:
t
.
title
,
holder
:
""
,
disflag
:
t
.
systemFlag
,
getByType
:
"word"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
i
){
e
.
$set
(
t
,
"title"
,
i
)}}}),
e
.
_v
(
" "
),
7
==
t
.
type
?
a
(
"p"
,{
staticStyle
:{
"margin-top"
:
"8px"
,
"font-size"
:
"12px"
,
color
:
"rgba(255, 255, 255, 0.7)"
}},[
e
.
_v
(
"
\
n 图片最多可添加9张
\
n "
)]):
e
.
_e
()],
1
)],
e
.
_v
(
" "
),
e
.
currentIndex
!=
i
||
t
.
systemFlag
||
6
!=
t
.
type
?
e
.
_e
():[
a
(
"div"
,{
key
:
"child62"
+
i
,
staticClass
:
"edit-item test-title limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
e
.
_v
(
"标题 最多10个字"
)]),
e
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
300
,
inputValue
:
t
.
startTitle
,
holder
:
""
,
disflag
:
t
.
systemFlag
,
getByType
:
"word"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
i
){
e
.
$set
(
t
,
"startTitle"
,
i
)}}})],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
key
:
"child64"
+
i
,
staticClass
:
"edit-item test-title limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
e
.
_v
(
"标题2 最多10个字"
)]),
e
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
300
,
inputValue
:
t
.
endTitle
,
holder
:
""
,
disflag
:
t
.
systemFlag
,
getByType
:
"word"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
i
){
e
.
$set
(
t
,
"endTitle"
,
i
)}}})],
1
)],
e
.
_v
(
" "
),
e
.
currentIndex
!=
i
||
t
.
systemFlag
||
11
==
t
.
type
||
5
==
t
.
type
||
7
==
t
.
type
?
e
.
_e
():[
a
(
"div"
,{
key
:
"child1"
+
i
,
staticClass
:
"edit-item test-title limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
e
.
_v
(
"提示文字最多20个字"
)]),
e
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
300
,
inputValue
:
t
.
placeholder
,
holder
:
""
,
disflag
:
!
1
,
getByType
:
"word"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
i
){
e
.
$set
(
t
,
"placeholder"
,
i
)}}}),
e
.
_v
(
" "
),
2
==
t
.
type
||
9
==
t
.
type
?
a
(
"p"
,{
staticClass
:
"font-12 m-t-10"
},[
e
.
_v
(
"内容最多输入500个字"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
1
==
t
.
type
?
a
(
"p"
,{
staticClass
:
"font-12 m-t-10"
},[
e
.
_v
(
"内容最多输入100个字"
)]):
e
.
_e
()],
1
)],
e
.
_v
(
" "
),
e
.
currentIndex
!=
i
||
t
.
systemFlag
||
3
!=
t
.
type
?
e
.
_e
():[
a
(
"div"
,{
key
:
"child11"
+
i
,
staticClass
:
"edit-item test-title limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
e
.
_v
(
"单位最多20个字"
)]),
e
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
300
,
inputValue
:
t
.
placeholder
,
holder
:
""
,
disflag
:
!
1
,
getByType
:
"word"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
i
){
e
.
$set
(
t
,
"placeholder"
,
i
)}}}),
e
.
_v
(
" "
),
a
(
"p"
,{
staticClass
:
"font-12 m-t-10"
},[
e
.
_v
(
"内容最大限制为12位数"
)])],
1
)],
e
.
_v
(
" "
),
e
.
currentIndex
!=
i
||
t
.
systemFlag
||
"4"
!=
t
.
type
?
e
.
_e
():[
a
(
"div"
,{
key
:
"child111"
+
i
,
staticClass
:
"edit-item "
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
e
.
_v
(
"选项 "
),
t
.
systemFlag
?
e
.
_e
():
a
(
"span"
,[
e
.
_v
(
"最多20项,每项最多10个字"
)])]),
e
.
_v
(
" "
),
e
.
_l
(
t
.
list
,
function
(
s
,
n
){
return
[
a
(
"div"
,{
key
:
"child10"
+
n
,
staticClass
:
"margin-t-15 limit-w-340"
,
style
:
0
==
n
?
"margin-top: 0"
:
""
},[
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
300
,
inputValue
:
s
.
value
,
holder
:
""
,
disflag
:
t
.
systemFlag
,
getByType
:
"word"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
s
,
"value"
,
t
)}}}),
e
.
_v
(
" "
),
!
t
.
systemFlag
&&
t
.
list
.
length
>
1
?
a
(
"i"
,{
staticClass
:
"opt-btn el-icon-remove del-item"
,
on
:{
click
:
function
(
a
){
e
.
delChildItem
(
i
,
n
,
t
)}}}):
e
.
_e
(),
e
.
_v
(
" "
),
!
t
.
systemFlag
&&
n
<
19
?[
n
==
t
.
list
.
length
-
1
?
a
(
"i"
,{
staticClass
:
"opt-btn el-icon-circle-plus add-item"
,
on
:{
click
:
function
(
a
){
e
.
addChildItem
(
i
,
n
,
t
)}}}):
e
.
_e
()]:
e
.
_e
()],
2
)]})],
2
),
e
.
_v
(
" "
),
a
(
"div"
,{
key
:
"parent22"
+
i
,
staticClass
:
"edit-item m-b-10"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
e
.
_v
(
"选择框类型"
)]),
e
.
_v
(
" "
),
a
(
"div"
,[
a
(
"el-radio"
,{
attrs
:{
label
:
0
},
model
:{
value
:
t
.
chooseType
,
callback
:
function
(
i
){
e
.
$set
(
t
,
"chooseType"
,
i
)},
expression
:
"item.chooseType"
}},[
e
.
_v
(
"单选"
)]),
e
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
1
},
model
:{
value
:
t
.
chooseType
,
callback
:
function
(
i
){
e
.
$set
(
t
,
"chooseType"
,
i
)},
expression
:
"item.chooseType"
}},[
e
.
_v
(
"多选"
)])],
1
)])],
e
.
_v
(
" "
),
e
.
currentIndex
!=
i
||
t
.
systemFlag
||
5
!=
t
.
type
&&
6
!=
t
.
type
?
e
.
_e
():[
a
(
"div"
,{
key
:
"child117"
+
i
,
staticClass
:
"edit-item "
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
e
.
_v
(
"日期类型"
)]),
e
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
1
},
model
:{
value
:
t
.
dateType
,
callback
:
function
(
i
){
e
.
$set
(
t
,
"dateType"
,
i
)},
expression
:
"item.dateType"
}},[
e
.
_v
(
"
\
n 年-月-日 时 分
\
n "
)]),
e
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
0
},
model
:{
value
:
t
.
dateType
,
callback
:
function
(
i
){
e
.
$set
(
t
,
"dateType"
,
i
)},
expression
:
"item.dateType"
}},[
e
.
_v
(
"
\
n 年-月-日
\
n "
)])],
1
)],
e
.
_v
(
" "
),
e
.
currentIndex
!=
i
||
t
.
systemFlag
||
10
!=
t
.
type
?
e
.
_e
():[
a
(
"div"
,{
key
:
"parent210"
+
i
,
staticClass
:
"edit-item m-b-10"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
e
.
_v
(
"大写"
)]),
e
.
_v
(
" "
),
a
(
"el-checkbox"
,{
model
:{
value
:
t
.
openCapitalize
,
callback
:
function
(
i
){
e
.
$set
(
t
,
"openCapitalize"
,
i
)},
expression
:
"item.openCapitalize"
}},[
e
.
_v
(
"显示大写"
)])],
1
)],
e
.
_v
(
" "
),
e
.
currentIndex
!=
i
||
t
.
name
.
includes
(
"groupc"
)?
e
.
_e
():[
a
(
"div"
,{
key
:
"parent2"
+
i
,
staticClass
:
"edit-item m-b-10"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
e
.
_v
(
"验证"
)]),
e
.
_v
(
" "
),
a
(
"el-checkbox"
,{
on
:{
change
:
function
(
i
){
e
.
changeMust
(
i
,
!!
t
.
list
,
t
)}},
model
:{
value
:
t
.
isMust
,
callback
:
function
(
i
){
e
.
$set
(
t
,
"isMust"
,
i
)},
expression
:
"item.isMust"
}},[
e
.
_v
(
"必填"
)])],
1
)],
e
.
_v
(
" "
),
e
.
currentIndex
!=
i
||
"performanceKing"
!=
t
.
name
&&
"competitorInfo"
!=
t
.
name
?
e
.
_e
():[
a
(
"div"
,{
key
:
"parent21"
+
i
,
staticClass
:
"edit-item m-b-10"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
e
.
_v
(
"验证 是否必填"
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"must-list"
},
e
.
_l
(
t
.
list
,
function
(
t
,
i
){
return
a
(
"div"
,{
key
:
"list"
+
i
,
staticClass
:
"must-list-cell m-b-10"
},[
a
(
"el-checkbox"
,{
model
:{
value
:
t
.
isMust
,
callback
:
function
(
i
){
e
.
$set
(
t
,
"isMust"
,
i
)},
expression
:
"listItem.isMust"
}},[
e
.
_v
(
e
.
_s
(
t
.
title
))])],
1
)}))])],
e
.
_v
(
" "
),
e
.
currentIndex
!=
i
||
t
.
name
.
includes
(
"groupc"
)?
e
.
_e
():[
a
(
"div"
,{
key
:
"parent3"
+
i
,
staticClass
:
"edit-item "
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
e
.
_v
(
"记忆"
)]),
e
.
_v
(
" "
),
a
(
"el-checkbox"
,{
model
:{
value
:
t
.
memory
,
callback
:
function
(
i
){
e
.
$set
(
t
,
"memory"
,
i
)},
expression
:
"item.memory"
}},[
e
.
_v
(
"是否记忆"
)])],
1
)],
e
.
_v
(
" "
),
e
.
childIndex
==
i
&&
t
.
children
&&
t
.
children
.
length
?[
e
.
_l
(
t
.
children
,
function
(
t
,
s
){
return
[
e
.
currentChildIndex
!=
s
||
t
.
systemFlag
||
6
==
t
.
type
?
e
.
_e
():[
a
(
"div"
,{
key
:
"child"
+
s
,
staticClass
:
"edit-item test-title limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
e
.
_v
(
"标题"
)]),
e
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
300
,
inputValue
:
t
.
title
,
holder
:
""
,
disflag
:
t
.
systemFlag
,
getByType
:
"word"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
i
){
e
.
$set
(
t
,
"title"
,
i
)}}}),
e
.
_v
(
" "
),
7
==
t
.
type
?
a
(
"p"
,{
staticStyle
:{
"margin-top"
:
"8px"
,
"font-size"
:
"12px"
,
color
:
"rgba(255, 255, 255, 0.7)"
}},[
e
.
_v
(
"
\
n 图片最多可添加9张
\
n "
)]):
e
.
_e
()],
1
)],
e
.
_v
(
" "
),
e
.
currentChildIndex
!=
s
||
t
.
systemFlag
||
6
!=
t
.
type
?
e
.
_e
():[
a
(
"div"
,{
key
:
"child2"
+
s
,
staticClass
:
"edit-item test-title limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
e
.
_v
(
"标题 最多10个字"
)]),
e
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
300
,
inputValue
:
t
.
startTitle
,
holder
:
""
,
disflag
:
t
.
systemFlag
,
getByType
:
"word"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
i
){
e
.
$set
(
t
,
"startTitle"
,
i
)}}})],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
key
:
"child4"
+
s
,
staticClass
:
"edit-item test-title limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
e
.
_v
(
"标题2 最多10个字"
)]),
e
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
300
,
inputValue
:
t
.
endTitle
,
holder
:
""
,
disflag
:
t
.
systemFlag
,
getByType
:
"word"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
i
){
e
.
$set
(
t
,
"endTitle"
,
i
)}}})],
1
)],
e
.
_v
(
" "
),
e
.
currentChildIndex
!=
s
||
t
.
systemFlag
||
5
==
t
.
type
||
7
==
t
.
type
?
e
.
_e
():[
a
(
"div"
,{
key
:
"child1"
+
s
,
staticClass
:
"edit-item test-title limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
e
.
_v
(
"提示文字最多20个字"
)]),
e
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
300
,
inputValue
:
t
.
placeholder
,
holder
:
""
,
disflag
:
!
1
,
getByType
:
"word"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
i
){
e
.
$set
(
t
,
"placeholder"
,
i
)}}}),
e
.
_v
(
" "
),
2
==
t
.
type
||
9
==
t
.
type
?
a
(
"p"
,{
staticClass
:
"font-12 m-t-10"
},[
e
.
_v
(
"内容最多输入500个字"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
1
==
t
.
type
?
a
(
"p"
,{
staticClass
:
"font-12 m-t-10"
},[
e
.
_v
(
"内容最多输入100个字"
)]):
e
.
_e
()],
1
)],
e
.
_v
(
" "
),
e
.
currentChildIndex
!=
s
||
t
.
systemFlag
||
3
!=
t
.
type
?
e
.
_e
():[
a
(
"div"
,{
key
:
"child6"
+
s
,
staticClass
:
"edit-item test-title limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
e
.
_v
(
"单位最多20个字"
)]),
e
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
300
,
inputValue
:
t
.
unit
,
holder
:
""
,
disflag
:
!
1
,
getByType
:
"word"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
i
){
e
.
$set
(
t
,
"unit"
,
i
)}}}),
e
.
_v
(
" "
),
a
(
"p"
,{
staticClass
:
"font-12 m-t-10"
},[
e
.
_v
(
"内容最大限制为12位数"
)])],
1
)],
e
.
_v
(
" "
),
e
.
currentChildIndex
!=
s
||
t
.
systemFlag
||
5
!=
t
.
type
&&
6
!=
t
.
type
?
e
.
_e
():[
a
(
"div"
,{
key
:
"child7"
+
s
,
staticClass
:
"edit-item "
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
e
.
_v
(
"日期类型"
)]),
e
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
1
},
model
:{
value
:
t
.
dateType
,
callback
:
function
(
i
){
e
.
$set
(
t
,
"dateType"
,
i
)},
expression
:
"childItem.dateType"
}},[
e
.
_v
(
"
\
n 年-月-日 时 分
\
n "
)]),
e
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
0
},
model
:{
value
:
t
.
dateType
,
callback
:
function
(
i
){
e
.
$set
(
t
,
"dateType"
,
i
)},
expression
:
"childItem.dateType"
}},[
e
.
_v
(
"
\
n 年-月-日
\
n "
)])],
1
)],
e
.
_v
(
" "
),
e
.
currentChildIndex
!=
s
||
t
.
systemFlag
||
"4"
!=
t
.
type
?
e
.
_e
():[
a
(
"div"
,{
key
:
"child9"
+
s
,
staticClass
:
"edit-item "
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
e
.
_v
(
"选项 "
),
t
.
systemFlag
?
e
.
_e
():
a
(
"span"
,[
e
.
_v
(
"最多20项,每项最多10个字"
)])]),
e
.
_v
(
" "
),
e
.
_l
(
t
.
list
,
function
(
s
,
n
){
return
[
a
(
"div"
,{
key
:
"child10"
+
n
,
staticClass
:
"margin-t-15 limit-w-340"
,
style
:
0
==
n
?
"margin-top: 0"
:
""
},[
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
300
,
inputValue
:
s
.
value
,
holder
:
""
,
disflag
:
t
.
systemFlag
,
getByType
:
"word"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
s
,
"value"
,
t
)}}}),
e
.
_v
(
" "
),
!
t
.
systemFlag
&&
t
.
list
.
length
>
1
?
a
(
"i"
,{
staticClass
:
"opt-btn el-icon-remove del-item"
,
on
:{
click
:
function
(
a
){
e
.
delChildItem
(
i
,
n
,
t
)}}}):
e
.
_e
(),
e
.
_v
(
" "
),
!
t
.
systemFlag
&&
n
<
19
?[
n
==
t
.
list
.
length
-
1
?
a
(
"i"
,{
staticClass
:
"opt-btn el-icon-circle-plus add-item"
,
on
:{
click
:
function
(
a
){
e
.
addChildItem
(
i
,
n
,
t
)}}}):
e
.
_e
()]:
e
.
_e
()],
2
)]})],
2
),
e
.
_v
(
" "
),
a
(
"div"
,{
key
:
"child922"
+
s
,
staticClass
:
"edit-item m-b-10"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
e
.
_v
(
"选择框类型"
)]),
e
.
_v
(
" "
),
a
(
"div"
,[
a
(
"el-radio"
,{
attrs
:{
label
:
0
},
model
:{
value
:
t
.
chooseType
,
callback
:
function
(
i
){
e
.
$set
(
t
,
"chooseType"
,
i
)},
expression
:
"childItem.chooseType"
}},[
e
.
_v
(
"单选"
)]),
e
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
1
},
model
:{
value
:
t
.
chooseType
,
callback
:
function
(
i
){
e
.
$set
(
t
,
"chooseType"
,
i
)},
expression
:
"childItem.chooseType"
}},[
e
.
_v
(
"多选"
)])],
1
)])],
e
.
_v
(
" "
),
e
.
currentChildIndex
!=
s
||
t
.
systemFlag
||
10
!=
t
.
type
?
e
.
_e
():[
a
(
"div"
,{
key
:
"child910"
+
s
,
staticClass
:
"edit-item m-b-10"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
e
.
_v
(
"大写"
)]),
e
.
_v
(
" "
),
a
(
"el-checkbox"
,{
model
:{
value
:
t
.
openCapitalize
,
callback
:
function
(
i
){
e
.
$set
(
t
,
"openCapitalize"
,
i
)},
expression
:
"childItem.openCapitalize"
}},[
e
.
_v
(
"显示大写"
)])],
1
)],
e
.
_v
(
" "
),
e
.
currentChildIndex
==
s
?[
a
(
"div"
,{
key
:
"child11"
+
s
,
staticClass
:
"edit-item"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
e
.
_v
(
"验证"
)]),
e
.
_v
(
" "
),
a
(
"el-checkbox"
,{
on
:{
change
:
function
(
i
){
e
.
changeMust
(
i
,
!!
t
.
list
,
t
)}},
model
:{
value
:
t
.
isMust
,
callback
:
function
(
i
){
e
.
$set
(
t
,
"isMust"
,
i
)},
expression
:
"childItem.isMust"
}},[
e
.
_v
(
"必填"
)])],
1
)]:
e
.
_e
(),
e
.
_v
(
" "
),
e
.
currentChildIndex
!=
s
||
"performanceKing"
!=
t
.
name
&&
"competitorInfo"
!=
t
.
name
?
e
.
_e
():[
a
(
"div"
,{
key
:
"child111"
+
s
,
staticClass
:
"edit-item m-b-10"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
e
.
_v
(
"验证 是否必填"
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"must-list"
},
e
.
_l
(
t
.
list
,
function
(
t
,
i
){
return
a
(
"div"
,{
key
:
"list111"
+
i
,
staticClass
:
"must-list-cell m-b-10"
},[
a
(
"el-checkbox"
,{
model
:{
value
:
t
.
isMust
,
callback
:
function
(
i
){
e
.
$set
(
t
,
"isMust"
,
i
)},
expression
:
"listItem.isMust"
}},[
e
.
_v
(
e
.
_s
(
t
.
title
))])],
1
)}))])],
e
.
_v
(
" "
),
e
.
currentChildIndex
==
s
?[
a
(
"div"
,{
key
:
"child12"
+
s
,
staticClass
:
"edit-item "
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
e
.
_v
(
"记忆"
)]),
e
.
_v
(
" "
),
a
(
"el-checkbox"
,{
model
:{
value
:
t
.
memory
,
callback
:
function
(
i
){
e
.
$set
(
t
,
"memory"
,
i
)},
expression
:
"childItem.memory"
}},[
e
.
_v
(
"是否记忆"
)])],
1
)]:
e
.
_e
()]})]:
e
.
_e
()]})],
2
)])])])])]),
e
.
_v
(
" "
),
a
(
"qrcode-dialog"
,{
ref
:
"qrcodePreview"
,
model
:{
value
:
e
.
dialogVisible
,
callback
:
function
(
t
){
e
.
dialogVisible
=
t
},
expression
:
"dialogVisible"
}}),
e
.
_v
(
" "
),
e
.
setVisible
?
a
(
"custom-set"
,{
attrs
:{
templateObj
:
e
.
templateObj
,
storeList
:
e
.
storeList
},
on
:{
closeSet
:
e
.
closeSet
}}):
e
.
_e
()],
1
)},
staticRenderFns
:[]};
var
j
=
i
(
"VU/8"
)(
T
,
V
,
!
1
,
function
(
e
){
i
(
"IDG+"
)},
"data-v-3e35c7d8"
,
null
);
t
.
default
=
j
.
exports
},
Lz4M
:
function
(
e
,
t
){},
O3gZ
:
function
(
e
,
t
,
i
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
{
name
:
"block-com"
,
props
:{
childItem
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
{}}}}},
s
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"div"
,{
staticClass
:
"block block-field"
},[
i
(
"div"
,{
staticClass
:
"block-head"
},[
i
(
"div"
,{
class
:[
"opencard-item-title"
,
e
.
childItem
.
title
.
length
>=
6
?
"title-pre-wrap"
:
""
]},[
e
.
_v
(
e
.
_s
(
e
.
childItem
.
title
))])]),
e
.
_v
(
" "
),
i
(
"ul"
,{
staticClass
:
"view-content"
},
e
.
_l
(
e
.
childItem
.
list
,
function
(
t
,
a
){
return
i
(
"li"
,{
key
:
"performance"
+
a
,
staticClass
:
"block-filed-item border-bottom-1"
},[
i
(
"div"
,{
class
:[
"opencard-item-title"
,
t
.
title
.
length
>=
6
?
"title-pre-wrap"
:
""
]},[
e
.
_v
(
e
.
_s
(
t
.
title
))]),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"draged-item-show"
},[
i
(
"span"
,{
staticClass
:
"show-warm-text show-warm-text-flag "
},[
e
.
_v
(
e
.
_s
(
t
.
placeholder
)
+
" "
+
e
.
_s
(
t
.
isMust
?
"(必填)"
:
""
))])])])})),
e
.
_v
(
" "
),
"competitorInfo"
==
e
.
childItem
.
name
?
i
(
"div"
,{
staticClass
:
"compete-add"
},[
e
.
_v
(
"
\
n +竞品信息
\
n "
)]):
e
.
_e
()])},
staticRenderFns
:[]};
var
n
=
i
(
"VU/8"
)(
a
,
s
,
!
1
,
function
(
e
){
i
(
"gqXI"
)},
"data-v-530ad580"
,
null
);
t
.
default
=
n
.
exports
},
Y7wY
:
function
(
e
,
t
){
e
.
exports
=
"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPkAAACRCAIAAACOionwAAAAGXRFWHRT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ZybNz9gzxfMULo6miGUiVxpW+AzpQj8YJ5XXLHBtpkZ2bYC07/Ld3Fb25G1jecj6iynazwoRaj1mZSvqamqhVcPJKOp6eHGxrW2a+7OE3UUQlhiu/jQN1zSkNB6e2NhInIl+ZPKqvVwqxO5pIJCE7l+/etdVWPXsGqor/Wd5KsMi8ZXtjt3bKfmDlSeUMVaMtoYNN6Uzi+sCcLw83JssJD+yle+hOWErmtSOUnucp3um65+s61XmMTpd2ym4Xp7exusRRr9IsEeVrkWxJ4S2+4SZln8uf14V5ZxHtJ/9CMfR8/CwReodP3mmlsTS5YZqZ6bmh664T03utrUOnf0A4q4Wov0Z2w2bTM/Ysa999wX2LDbtm0ro2E2RRfJlOxB02k3be9oN977G6yQym1cBB5zTrsbDavIdUl3YFk8i14mZURnFu4B7dRu5qN42H3GATMiUw+k0A5mx0vQjrnAe2hkbZm/ZKvXNDICBArU2S4eiEN7WucDNw4NDZpsW4EaEGCCx/amyBiUi64pghu2JTVtv/5ygxE7cejQQSvkPnf3vUZl2+km/uPxOIzCzwyFD7/6tX9DfNM0OdMi+f8asN7IaOE2j5yJeNBWGk/ZZgvX2wOXpBOb6RNW3EeXSUX4xo1v8ifmtpOQIrzMHVl45MRdE5b8pLeGKIi9rZYxwz1Vtni2CaZJINydm1qo+OEd8FgqWJmbqtphXoEnr25LjuIVs63BdVsx9lGc8GPRyNSeurMwLH7uKW+gFTEn+G7J5GMU/qc8/KEoF+2M+ZMb+e9yXPIjjT7ELVDgdknbmzT+nJ7rgpB90OfXBXFdEMR1QRDXBUFcFwRxXRDEdUF4LfEnAQYA+LOKDxiFWhsAAAAASUVORK5CYII="
},
ZcO4
:
function
(
e
,
t
){},
gqXI
:
function
(
e
,
t
){},
k7oF
:
function
(
e
,
t
){},
rYZf
:
function
(
e
,
t
,
i
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
{
name
:
"select-com"
,
props
:{
childItem
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
{}}}},
methods
:{
getZhLen
:
function
(
e
){
for
(
var
t
=
0
,
i
=
0
;
i
<
e
.
length
;
i
++
){
null
!=
e
.
charAt
(
i
).
match
(
/
[^\x
00-
\x
ff
]
/gi
)?
t
+=
1
:
t
+=
.
5
}
return
Math
.
ceil
(
t
)}}},
s
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"div"
,{
staticClass
:
"flex"
},[
i
(
"div"
,{
class
:[
"opencard-item-title"
,
e
.
getZhLen
(
e
.
childItem
.
title
)
>=
6
?
"title-pre-wrap"
:
""
]},[
e
.
_v
(
e
.
_s
(
e
.
childItem
.
title
))]),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"draged-item-show"
},[
i
(
"span"
,{
staticClass
:
"show-warm-text show-warm-text-flag select-flag"
},[
e
.
_v
(
e
.
_s
(
e
.
childItem
.
placeholder
)
+
" "
+
e
.
_s
(
e
.
childItem
.
isMust
?
"(必填)"
:
""
)
+
" "
),
i
(
"i"
,{
staticClass
:
"el-icon-arrow-right"
})])])])},
staticRenderFns
:[]};
var
n
=
i
(
"VU/8"
)(
a
,
s
,
!
1
,
function
(
e
){
i
(
"ZcO4"
)},
"data-v-337dd046"
,
null
);
t
.
default
=
n
.
exports
},
zHtI
:
function
(
e
,
t
,
i
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
{
name
:
"input-com"
,
props
:{
childItem
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
{}}}},
methods
:{
getZhLen
:
function
(
e
){
for
(
var
t
=
0
,
i
=
0
;
i
<
e
.
length
;
i
++
){
null
!=
e
.
charAt
(
i
).
match
(
/
[^\x
00-
\x
ff
]
/gi
)?
t
+=
1
:
t
+=
.
5
}
return
Math
.
ceil
(
t
)}}},
s
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"div"
,{
class
:[
2
==
e
.
childItem
.
type
?
"h-66"
:
""
]},[
9
!=
e
.
childItem
.
type
?
i
(
"div"
,{
class
:[
"opencard-item-title"
,
e
.
getZhLen
(
e
.
childItem
.
title
)
>=
6
?
"title-pre-wrap"
:
""
]},[
e
.
_v
(
e
.
_s
(
e
.
childItem
.
title
))]):
e
.
_e
(),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"draged-item-show"
},[
i
(
"span"
,{
staticClass
:
"show-warm-text show-warm-text-flag"
,
style
:{
"padding-left"
:
9
==
e
.
childItem
.
type
?
"15px"
:
"0"
}},[
e
.
_v
(
e
.
_s
(
e
.
childItem
.
placeholder
)
+
" "
+
e
.
_s
(
e
.
childItem
.
isMust
?
"(必填)"
:
""
))])]),
e
.
_v
(
" "
),
10
==
e
.
childItem
.
type
&&
e
.
childItem
.
openCapitalize
?
i
(
"div"
,{
staticClass
:
"show-capitalize font-12 color-909399 p-l-10 border-box"
},[
e
.
_v
(
"大写:壹万元整(示例)"
)]):
e
.
_e
()])},
staticRenderFns
:[]};
var
n
=
i
(
"VU/8"
)(
a
,
s
,
!
1
,
function
(
e
){
i
(
"k7oF"
)},
"data-v-09e8bcce"
,
null
);
t
.
default
=
n
.
exports
}});
\ No newline at end of file
dist/static/js/manifest.
2b6cf427061f4b44d8b6
.js
→
dist/static/js/manifest.
61161ae3f24e8b98db73
.js
View file @
cce654f1
!
function
(
e
){
var
a
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
c
,
d
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
c
.
length
;
i
++
)
t
=
c
[
i
],
f
[
t
]
&&
u
.
push
(
f
[
t
][
0
]),
f
[
t
]
=
0
;
for
(
r
in
d
)
Object
.
prototype
.
hasOwnProperty
.
call
(
d
,
r
)
&&
(
e
[
r
]
=
d
[
r
]);
for
(
a
&&
a
(
c
,
d
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
b
(
b
.
s
=
n
[
i
]);
return
o
};
var
c
=
{},
f
=
{
51
:
0
};
function
b
(
a
){
if
(
c
[
a
])
return
c
[
a
].
exports
;
var
f
=
c
[
a
]
=
{
i
:
a
,
l
:
!
1
,
exports
:{}};
return
e
[
a
].
call
(
f
.
exports
,
f
,
f
.
exports
,
b
),
f
.
l
=!
0
,
f
.
exports
}
b
.
e
=
function
(
e
){
var
a
=
f
[
e
];
if
(
0
===
a
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
a
)
return
a
[
2
];
var
c
=
new
Promise
(
function
(
c
,
b
){
a
=
f
[
e
]
=
[
c
,
b
]});
a
[
2
]
=
c
;
var
d
=
document
.
getElementsByTagName
(
"head"
)[
0
],
n
=
document
.
createElement
(
"script"
);
n
.
type
=
"text/javascript"
,
n
.
charset
=
"utf-8"
,
n
.
async
=!
0
,
n
.
timeout
=
12
e4
,
b
.
nc
&&
n
.
setAttribute
(
"nonce"
,
b
.
nc
),
n
.
src
=
b
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"255279f3c7e211e15372"
,
1
:
"06c4e42e62c1f75191f0"
,
2
:
"0ffe921cd69ce7a1cff7"
,
3
:
"edbca100e837b95f44a7"
,
4
:
"eca86cac3c54fcaa8626"
,
5
:
"fa01c215121a76bb6d55"
,
6
:
"b748d7ac73a6d6700725"
,
7
:
"ee9b4ffcf8a8cc2fde16"
,
8
:
"bda5789112a4386ac684"
,
9
:
"5e6b743726e7d8438871"
,
10
:
"cdc6733af07fe3483e78"
,
11
:
"529019747940d70381f8"
,
12
:
"8c2e25b234e6c994122b"
,
13
:
"7142f1b6a2ad2a2cd1ac"
,
14
:
"a034fd161b8c1b267354"
,
15
:
"fe7adb86092d73ec2e30"
,
16
:
"2bd6970e2743e4b098ae"
,
17
:
"95d3d2b81b6732c899cb"
,
18
:
"60c4a5b5e95e2bedf55b"
,
19
:
"01478f74b11f4c5331f5"
,
20
:
"0102a2f1b04064870dd6"
,
21
:
"3f61875b9947db83f539"
,
22
:
"8a878bc68d8e77242e86"
,
23
:
"b461f6f69b6e10b17d9e"
,
24
:
"c3c4183c2d16bc4122ef"
,
25
:
"ba5d34435c4883ae9830"
,
26
:
"fb6ea4351fc707198373"
,
27
:
"b9ff5ff2edab607b85a7"
,
28
:
"4f6a94f55be21b7d981b"
,
29
:
"7230ee80eb87622574bf"
,
30
:
"a738e3eece7f36ed2a49"
,
31
:
"173a8de29e234a01b5b5"
,
32
:
"f2abb1a885f7699bd7e6"
,
33
:
"eb76237602d8de1fbd56"
,
34
:
"6cfbb247fbb23212e1ea"
,
35
:
"ed9ebdd61aa7a7301b39"
,
36
:
"e86539c9400400aeca81"
,
37
:
"1145a4a2c5b1fcff9f42"
,
38
:
"b2f8249a4fae8e857393"
,
39
:
"3e41ffd585dc93ab1737"
,
40
:
"3780b61e4643f698c49c"
,
41
:
"0a7e6003bd8dd1ee7ccb"
,
42
:
"5c52b5e60f51341e59ba"
,
43
:
"c7dd7f301d4b783a8f21"
,
44
:
"d54c40b3a3000921b29f"
,
45
:
"0e2304df3af9e2d961ba"
,
46
:
"b8a25437acb57de97830"
,
47
:
"da9b899d98080bcbc0a4"
,
48
:
"750f3261e51d2d100d96"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
a
=
f
[
e
];
0
!==
a
&&
(
a
&&
a
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
f
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
d
.
appendChild
(
n
),
c
},
b
.
m
=
e
,
b
.
c
=
c
,
b
.
d
=
function
(
e
,
a
,
c
){
b
.
o
(
e
,
a
)
||
Object
.
defineProperty
(
e
,
a
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
c
})},
b
.
n
=
function
(
e
){
var
a
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
b
.
d
(
a
,
"a"
,
a
),
a
},
b
.
o
=
function
(
e
,
a
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
a
)},
b
.
p
=
"./"
,
b
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
!
function
(
e
){
var
a
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
c
,
d
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
c
.
length
;
i
++
)
t
=
c
[
i
],
f
[
t
]
&&
u
.
push
(
f
[
t
][
0
]),
f
[
t
]
=
0
;
for
(
r
in
d
)
Object
.
prototype
.
hasOwnProperty
.
call
(
d
,
r
)
&&
(
e
[
r
]
=
d
[
r
]);
for
(
a
&&
a
(
c
,
d
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
b
(
b
.
s
=
n
[
i
]);
return
o
};
var
c
=
{},
f
=
{
51
:
0
};
function
b
(
a
){
if
(
c
[
a
])
return
c
[
a
].
exports
;
var
f
=
c
[
a
]
=
{
i
:
a
,
l
:
!
1
,
exports
:{}};
return
e
[
a
].
call
(
f
.
exports
,
f
,
f
.
exports
,
b
),
f
.
l
=!
0
,
f
.
exports
}
b
.
e
=
function
(
e
){
var
a
=
f
[
e
];
if
(
0
===
a
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
a
)
return
a
[
2
];
var
c
=
new
Promise
(
function
(
c
,
b
){
a
=
f
[
e
]
=
[
c
,
b
]});
a
[
2
]
=
c
;
var
d
=
document
.
getElementsByTagName
(
"head"
)[
0
],
n
=
document
.
createElement
(
"script"
);
n
.
type
=
"text/javascript"
,
n
.
charset
=
"utf-8"
,
n
.
async
=!
0
,
n
.
timeout
=
12
e4
,
b
.
nc
&&
n
.
setAttribute
(
"nonce"
,
b
.
nc
),
n
.
src
=
b
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"255279f3c7e211e15372"
,
1
:
"06c4e42e62c1f75191f0"
,
2
:
"525af3dccf4c3bc5cfbe"
,
3
:
"edbca100e837b95f44a7"
,
4
:
"eca86cac3c54fcaa8626"
,
5
:
"fa01c215121a76bb6d55"
,
6
:
"b748d7ac73a6d6700725"
,
7
:
"ee9b4ffcf8a8cc2fde16"
,
8
:
"bda5789112a4386ac684"
,
9
:
"5e6b743726e7d8438871"
,
10
:
"cdc6733af07fe3483e78"
,
11
:
"529019747940d70381f8"
,
12
:
"8c2e25b234e6c994122b"
,
13
:
"7142f1b6a2ad2a2cd1ac"
,
14
:
"a034fd161b8c1b267354"
,
15
:
"fe7adb86092d73ec2e30"
,
16
:
"2bd6970e2743e4b098ae"
,
17
:
"95d3d2b81b6732c899cb"
,
18
:
"60c4a5b5e95e2bedf55b"
,
19
:
"01478f74b11f4c5331f5"
,
20
:
"0102a2f1b04064870dd6"
,
21
:
"3f61875b9947db83f539"
,
22
:
"8a878bc68d8e77242e86"
,
23
:
"b461f6f69b6e10b17d9e"
,
24
:
"c3c4183c2d16bc4122ef"
,
25
:
"ba5d34435c4883ae9830"
,
26
:
"fb6ea4351fc707198373"
,
27
:
"b9ff5ff2edab607b85a7"
,
28
:
"4f6a94f55be21b7d981b"
,
29
:
"7230ee80eb87622574bf"
,
30
:
"a738e3eece7f36ed2a49"
,
31
:
"173a8de29e234a01b5b5"
,
32
:
"f2abb1a885f7699bd7e6"
,
33
:
"eb76237602d8de1fbd56"
,
34
:
"6cfbb247fbb23212e1ea"
,
35
:
"ed9ebdd61aa7a7301b39"
,
36
:
"e86539c9400400aeca81"
,
37
:
"1145a4a2c5b1fcff9f42"
,
38
:
"b2f8249a4fae8e857393"
,
39
:
"3e41ffd585dc93ab1737"
,
40
:
"3780b61e4643f698c49c"
,
41
:
"0a7e6003bd8dd1ee7ccb"
,
42
:
"5c52b5e60f51341e59ba"
,
43
:
"c7dd7f301d4b783a8f21"
,
44
:
"d54c40b3a3000921b29f"
,
45
:
"0e2304df3af9e2d961ba"
,
46
:
"b8a25437acb57de97830"
,
47
:
"da9b899d98080bcbc0a4"
,
48
:
"750f3261e51d2d100d96"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
a
=
f
[
e
];
0
!==
a
&&
(
a
&&
a
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
f
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
d
.
appendChild
(
n
),
c
},
b
.
m
=
e
,
b
.
c
=
c
,
b
.
d
=
function
(
e
,
a
,
c
){
b
.
o
(
e
,
a
)
||
Object
.
defineProperty
(
e
,
a
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
c
})},
b
.
n
=
function
(
e
){
var
a
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
b
.
d
(
a
,
"a"
,
a
),
a
},
b
.
o
=
function
(
e
,
a
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
a
)},
b
.
p
=
"./"
,
b
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
\ No newline at end of file
src/views/apps/cloudDaily/customReportSet.vue
View file @
cce654f1
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Author: 无尘
* @Date: 2019-03-20 14:36:37
* @Date: 2019-03-20 14:36:37
* @LastEditors: 无尘
* @LastEditors: 无尘
* @LastEditTime: 2020-03-09 1
3:42:47
* @LastEditTime: 2020-03-09 1
4:08:02
-->
-->
<
template
>
<
template
>
<div
class=
"template-wrap"
:style=
"
{ minHeight: bodyHeight }">
<div
class=
"template-wrap"
:style=
"
{ minHeight: bodyHeight }">
...
@@ -977,7 +977,7 @@ export default {
...
@@ -977,7 +977,7 @@ export default {
let
resData
=
res
.
data
;
let
resData
=
res
.
data
;
if
(
resData
.
errorCode
==
1
)
{
if
(
resData
.
errorCode
==
1
)
{
showMsg
.
showmsg
(
'保存成功'
,
'success'
);
showMsg
.
showmsg
(
'保存成功'
,
'success'
);
that
.
changeRoute
(
`/customReport?brandId=
${
that
.
brandId
}
`
);
//
that.changeRoute(`/customReport?brandId=${that.brandId}`);
return
;
return
;
}
}
errMsg
.
errorMsg
(
resData
);
errMsg
.
errorMsg
(
resData
);
...
...
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