Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
office-web
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
office
office-web
Commits
26eaaffa
Commit
26eaaffa
authored
Aug 28, 2019
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改设置
parent
77e83fb2
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
25 additions
and
25 deletions
+25
-25
index.html
dist/index.html
+2
-2
app.462f22514016289f39a89d46ea325be2.css
dist/static/css/app.462f22514016289f39a89d46ea325be2.css
+0
-0
33.2ef1755b61c325fa49a1.js
dist/static/js/33.2ef1755b61c325fa49a1.js
+2
-2
34.3a93f5c5580364269de2.js
dist/static/js/34.3a93f5c5580364269de2.js
+2
-2
35.32cae9a3f9ba6b187945.js
dist/static/js/35.32cae9a3f9ba6b187945.js
+2
-2
36.d31850464ea8bdf6593f.js
dist/static/js/36.d31850464ea8bdf6593f.js
+2
-2
37.8016d3ac07df8acaf73d.js
dist/static/js/37.8016d3ac07df8acaf73d.js
+2
-2
45.0fe24e1d16072c526787.js
dist/static/js/45.0fe24e1d16072c526787.js
+2
-2
45.59087ce06e533b1bd959.js
dist/static/js/45.59087ce06e533b1bd959.js
+0
-2
46.d3a9c6eba924ac8207b3.js
dist/static/js/46.d3a9c6eba924ac8207b3.js
+2
-2
47.8be44c2f45c0fa3f2798.js
dist/static/js/47.8be44c2f45c0fa3f2798.js
+2
-0
5.068dd45272e96178979f.js
dist/static/js/5.068dd45272e96178979f.js
+2
-2
app.4ab827c84c56aaae997f.js
dist/static/js/app.4ab827c84c56aaae997f.js
+2
-2
manifest.5a5bb42e6d10f3399427.js
dist/static/js/manifest.5a5bb42e6d10f3399427.js
+2
-2
replaceAdmin.vue
src/views/setting/replaceAdmin.vue
+1
-1
No files found.
dist/index.html
View file @
26eaaffa
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><link
rel=
"shortcut icon"
href=
./favicon.ico
><title>
好办管理平台
</title><link
href=
./static/css/app.cd72a6e60d034f4cca20d6cf098dbf5c.css
rel=
stylesheet
></head><body
style=
"min-width: 1400px;"
><div
id=
app
></div><script
src=
//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js
></script><script>
// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();
</script><script
type=
text/javascript
src=
./static/js/manifest.d6c6ea00ef77d7c833c2.js
></script><script
type=
text/javascript
src=
./static/js/vendor.fe563ee1a7b37e2ffba9.js
></script><script
type=
text/javascript
src=
./static/js/app.6e6f12bb6786ade45689.js
></script></body></html>
\ No newline at end of file
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><link
rel=
"shortcut icon"
href=
./favicon.ico
><title>
好办管理平台
</title><link
href=
./static/css/app.462f22514016289f39a89d46ea325be2.css
rel=
stylesheet
></head><body
style=
"min-width: 1400px;"
><div
id=
app
></div><script
src=
//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js
></script><script>
// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();
</script><script
type=
text/javascript
src=
./static/js/manifest.5a5bb42e6d10f3399427.js
></script><script
type=
text/javascript
src=
./static/js/vendor.fe563ee1a7b37e2ffba9.js
></script><script
type=
text/javascript
src=
./static/js/app.4ab827c84c56aaae997f.js
></script></body></html>
\ No newline at end of file
dist/static/css/app.
cd72a6e60d034f4cca20d6cf098dbf5c
.css
→
dist/static/css/app.
462f22514016289f39a89d46ea325be2
.css
View file @
26eaaffa
This source diff could not be displayed because it is too large. You can
view the blob
instead.
dist/static/js/3
7.689fab1090c35b38ed8e
.js
→
dist/static/js/3
3.2ef1755b61c325fa49a1
.js
View file @
26eaaffa
webpackJsonp
([
37
],{
Pk5N
:
function
(
e
,
t
){},
ys9I
:
function
(
e
,
t
,
n
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
r
=
n
(
"fZjL"
),
a
=
n
.
n
(
r
),
o
=
n
(
"3Xzz"
),
s
=
n
(
"c4uw"
),
i
=
n
(
"XDyb"
),
l
=
n
(
"PI0u"
),
c
=
n
(
"Ch4/"
),
u
=
n
(
"3E4D"
),
m
=
n
(
"P9l9"
),
d
=
{
name
:
"replaceAdmin"
,
data
:
function
(){
return
{
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"设置"
,
path
:
"/companyAddress"
},{
name
:
"更换超级管理员"
,
path
:
""
}],
subNavText
:
"更换超级管理员,需要先验证当前超级管理员身份"
,
active
:
0
,
ruleForm
:{
name
:
""
,
phone
:
1334444444
,
code
:
""
,
nationcode
:
""
},
rules
:{
name
:[{
required
:
!
0
,
message
:
"请输入当前绑定账号"
,
trigger
:
"blur"
}],
phone
:[{
required
:
!
0
,
message
:
"请输入手机号"
,
trigger
:
"blur"
}],
code
:[{
required
:
!
0
,
message
:
"请输入验证码"
,
trigger
:
"blur"
}]},
disableBtn
:
!
1
,
countNum
:
60
,
newFormLoad
:
!
1
,
newRuleForm
:{
name
:
""
,
id
:
""
,
label
:
""
,
type
:
""
},
newRules
:{
name
:[{
required
:
!
0
,
message
:
"请输入手机号/姓名"
,
trigger
:[
"blur"
,
"change"
]}]},
treeSet
:{
isSelectPerson
:
!
0
,
dialogVisible
:
!
1
,
isSingle
:
!
0
},
treeData
:{},
defaultSelection
:[],
onlyPerson
:
!
0
,
changed
:
""
}},
computed
:{},
methods
:{
showSelect
:
function
(){
this
.
treeSet
=
{
dialogVisible
:
!
0
,
isSingle
:
!
0
,
isSelectPerson
:
!
0
}},
handleSelectedList
:
function
(
e
){
e
&&
a
()(
e
).
length
&&
(
this
.
defaultSelection
=
[
e
],
this
.
newRuleForm
.
name
=
e
.
name
,
this
.
newRuleForm
.
id
=
e
.
id
)},
countDown
:
function
(){
var
e
=
this
,
t
=
setInterval
(
function
(){
if
(
0
===
e
.
countNum
)
return
clearInterval
(
t
),
e
.
countNum
=
60
,
e
.
disableBtn
=!
1
,
!
1
;
e
.
countNum
--
},
1
e3
)},
sendCode
:
Object
(
l
.
a
)(
function
(
e
){
this
.
disableBtn
=!
0
,
this
.
postSendCode
(
e
)},
500
),
postSendCode
:
function
(
e
){
var
t
=
this
;
Object
(
m
.
e
)(
"/haoban-manage-web/enterprise-setting/send-admin-valid-code"
,{}).
then
(
function
(
n
){
var
r
=
n
.
data
;
if
(
1
!=
r
.
errorCode
)
c
.
a
.
errorMsg
(
r
);
else
{
t
.
countDown
();
var
a
=
String
(
e
).
substr
(
0
,
3
)
+
"****"
+
e
.
substr
(
7
,
e
.
length
-
1
);
t
.
$message
({
message
:
"验证码已发送到您的手机:+"
+
t
.
ruleForm
.
nationcode
+
a
,
type
:
"success"
})}}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
submitForm
:
Object
(
l
.
a
)(
function
(
e
){
var
t
=
this
;
t
.
$refs
[
e
].
validate
(
function
(
e
){
if
(
!
e
)
return
!
1
;
t
.
checkSendCode
()})},
500
),
checkSendCode
:
function
(){
var
e
=
this
,
t
=
{
code
:
e
.
ruleForm
.
code
};
Object
(
m
.
e
)(
"/haoban-manage-web/enterprise-setting/check-admin-valid-code"
,
t
).
then
(
function
(
t
){
var
n
=
t
.
data
;
1
!=
n
.
errorCode
?
c
.
a
.
errorMsg
(
n
):
e
.
active
++>
2
&&
e
.
active
}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
newSubmitForm
:
Object
(
l
.
a
)(
function
(
e
){
var
t
=
this
;
t
.
newRuleForm
.
name
=
t
.
newRuleForm
.
name
.
replace
(
/
(
^
\s
+
)
|
(\s
+$
)
/g
,
""
),
t
.
$refs
[
e
].
validate
(
function
(
e
){
if
(
!
e
)
return
!
1
;
t
.
postReplace
()})},
500
),
postReplace
:
function
(){
var
e
=
this
,
t
=
{
adminClerkId
:
e
.
newRuleForm
.
id
};
Object
(
m
.
e
)(
"/haoban-manage-web/enterprise-setting/change-admin"
,
t
).
then
(
function
(
t
){
var
n
=
t
.
data
;
if
(
1
==
n
.
errorCode
)
return
e
.
active
++
,
u
.
a
.
showmsg
(
"保存成功,请重新登录!"
,
"success"
),
void
e
.
loginOut
();
c
.
a
.
errorMsg
(
n
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
submitFormBack
:
function
(){
this
.
$refs
.
newRuleForm
.
resetFields
(),
this
.
active
&&
this
.
active
--
},
loginOut
:
function
(){
var
e
=
this
;
Object
(
m
.
e
)(
"/haoban-manage-web/logout"
,{}).
then
(
function
(
e
){
var
t
=
e
.
data
;
1
!=
t
.
errorCode
?
c
.
a
.
errorMsg
(
t
):
window
.
location
.
href
=
window
.
location
.
origin
+
"/haoban-web/#/login"
}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getCurrentUser
:
function
(){
var
e
=
this
,
t
=
JSON
.
parse
(
localStorage
.
getItem
(
"userInfo"
));
Object
(
m
.
e
)(
"/haoban-manage-web/enterprise/find-super-manager"
,{}).
then
(
function
(
n
){
var
r
=
n
.
data
;
if
(
1
==
r
.
errorCode
)
return
e
.
ruleForm
.
name
=
r
.
result
.
name
,
e
.
ruleForm
.
phone
=
r
.
result
.
phoneNumber
,
e
.
ruleForm
.
nationcode
=
r
.
result
.
nationcode
,
void
(
t
.
phoneNumber
!=
r
.
result
.
phoneNumber
?
e
.
disableBtn
=!
0
:
e
.
disableBtn
=!
1
);
c
.
a
.
errorMsg
(
r
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
mounted
:
function
(){
this
.
getCurrentUser
()},
components
:{
navCrumb
:
o
.
a
,
vueSelectEmployee
:
s
.
a
,
countryMobile
:
i
.
a
}},
h
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
n
=
e
.
_self
.
_c
||
t
;
return
n
(
"div"
,{
staticClass
:
"replaceAdmin-wrap common-set-wrap"
},[
n
(
"nav-crumb"
,{
attrs
:{
navpath
:
e
.
navpath
}}),
e
.
_v
(
" "
),
n
(
"div"
,{
staticClass
:
"right-content"
},[
n
(
"div"
,{
staticClass
:
"right-box"
,
style
:{
height
:
e
.
$store
.
state
.
bgHeight
}},[
n
(
"el-steps"
,{
attrs
:{
active
:
e
.
active
,
"finish-status"
:
"success"
,
"align-center"
:
""
}},[
n
(
"el-step"
,{
attrs
:{
title
:
"获取验证码"
}}),
e
.
_v
(
" "
),
n
(
"el-step"
,{
attrs
:{
title
:
"绑定新的超级管理员"
}}),
e
.
_v
(
" "
),
n
(
"el-step"
,{
attrs
:{
title
:
"完成"
}})],
1
),
e
.
_v
(
" "
),
n
(
"div"
,{
staticClass
:
"w-514 replaceAdmin-wrap-form m-t-45"
},[
0
==
e
.
active
?
n
(
"el-form"
,{
ref
:
"ruleForm"
,
staticClass
:
"demo-ruleForm"
,
attrs
:{
model
:
e
.
ruleForm
,
rules
:
e
.
rules
,
"label-width"
:
"110px"
}},[
n
(
"el-form-item"
,{
attrs
:{
label
:
"当前绑定账号"
,
prop
:
"name"
}},[
n
(
"el-input"
,{
staticClass
:
"w-280"
,
attrs
:{
disabled
:
""
,
placeholder
:
""
},
model
:{
value
:
e
.
ruleForm
.
name
,
callback
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"name"
,
t
)},
expression
:
"ruleForm.name"
}})],
1
),
e
.
_v
(
" "
),
n
(
"el-form-item"
,{
attrs
:{
label
:
"手机号"
,
prop
:
"phone"
}},[
n
(
"countryMobile"
,{
attrs
:{
inputWidth
:
280
,
nationCode
:
e
.
ruleForm
.
nationcode
,
holder
:
""
,
disflag
:
"true"
},
on
:{
"update:nationCode"
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"nationcode"
,
t
)}},
model
:{
value
:
e
.
ruleForm
.
phone
,
callback
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"phone"
,
t
)},
expression
:
"ruleForm.phone"
}}),
n
(
"el-button"
,{
staticClass
:
"m-l-20 v-align-b"
,
attrs
:{
type
:
"primary"
,
plain
:
""
,
disabled
:
e
.
disableBtn
},
on
:{
click
:
function
(
t
){
e
.
sendCode
(
e
.
ruleForm
.
phone
)}}},[
e
.
_v
(
e
.
_s
(
!
e
.
disableBtn
&&
e
.
countNum
?
"获取验证码"
:
e
.
countNum
+
"s"
)
+
" "
)])],
1
),
e
.
_v
(
" "
),
n
(
"el-form-item"
,{
attrs
:{
label
:
"验证码"
,
prop
:
"code"
}},[
n
(
"el-input"
,{
staticClass
:
"w-280"
,
attrs
:{
placeholder
:
"请输入验证码"
},
model
:{
value
:
e
.
ruleForm
.
code
,
callback
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"code"
,
t
)},
expression
:
"ruleForm.code"
}})],
1
),
e
.
_v
(
" "
),
n
(
"el-form-item"
,[
n
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
submitForm
(
"ruleForm"
)}}},[
e
.
_v
(
"下一步"
)])],
1
)],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
n
(
"el-form"
,{
directives
:[{
name
:
"show"
,
rawName
:
"v-show"
,
value
:
1
==
e
.
active
,
expression
:
"active == 1"
}],
ref
:
"newRuleForm"
,
staticClass
:
"demo-ruleForm"
,
attrs
:{
model
:
e
.
newRuleForm
,
rules
:
e
.
newRules
,
"label-width"
:
"140px"
}},[
n
(
"el-form-item"
,{
attrs
:{
label
:
"新绑定超级管理员"
,
prop
:
"name"
}},[
n
(
"div"
,{
staticClass
:
"master-select w-280"
,
on
:{
click
:
e
.
showSelect
}},[
e
.
_v
(
"
\
n "
+
e
.
_s
(
e
.
newRuleForm
.
name
?
e
.
newRuleForm
.
name
:
"请选择"
)
+
"
\
n "
)])]),
e
.
_v
(
" "
),
n
(
"el-form-item"
,[
n
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
loading
:
e
.
newFormLoad
},
on
:{
click
:
function
(
t
){
e
.
newSubmitForm
(
"newRuleForm"
)}}},[
e
.
_v
(
"提 交"
)]),
e
.
_v
(
" "
),
n
(
"el-button"
,{
attrs
:{
plain
:
""
},
on
:{
click
:
e
.
submitFormBack
}},[
e
.
_v
(
"上一步"
)])],
1
)],
1
),
e
.
_v
(
" "
),
2
==
e
.
active
?
n
(
"div"
,{
staticClass
:
"replaceAdmin-wrap-success"
},[
e
.
_m
(
0
),
e
.
_v
(
" "
),
n
(
"p"
,{
staticClass
:
"font-w-500"
},[
e
.
_v
(
"操作成功"
)])]):
e
.
_e
()],
1
)],
1
)]),
e
.
_v
(
" "
),
n
(
"vue-select-employee"
,{
attrs
:{
defaultSelection
:
e
.
defaultSelection
,
treeSet
:
e
.
treeSet
,
onlyPerson
:
e
.
onlyPerson
,
changed
:
e
.
changed
},
on
:{
handleSelectedList
:
e
.
handleSelectedList
}}),
e
.
_v
(
" "
),
n
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[
function
(){
var
e
=
this
.
$createElement
,
t
=
this
.
_self
.
_c
||
e
;
return
t
(
"div"
,{
staticClass
:
"icon-outer"
},[
t
(
"i"
,{
staticClass
:
"el-icon-success"
})])}]};
var
v
=
n
(
"VU/8"
)(
d
,
h
,
!
1
,
function
(
e
){
n
(
"Pk5N"
)},
"data-v-b783df8c"
,
null
);
t
.
default
=
v
.
exports
}});
\ No newline at end of file
webpackJsonp
([
33
],{
thn2
:
function
(
e
,
t
){},
ys9I
:
function
(
e
,
t
,
n
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
r
=
n
(
"fZjL"
),
a
=
n
.
n
(
r
),
o
=
n
(
"3Xzz"
),
s
=
n
(
"c4uw"
),
i
=
n
(
"XDyb"
),
l
=
n
(
"PI0u"
),
c
=
n
(
"Ch4/"
),
u
=
n
(
"3E4D"
),
m
=
n
(
"P9l9"
),
d
=
{
name
:
"replaceAdmin"
,
data
:
function
(){
return
{
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"设置"
,
path
:
"/companyAddress"
},{
name
:
"更换超级管理员"
,
path
:
""
}],
subNavText
:
"更换超级管理员,需要先验证当前超级管理员身份"
,
active
:
0
,
ruleForm
:{
name
:
""
,
phone
:
1334444444
,
code
:
""
,
nationcode
:
""
},
rules
:{
name
:[{
required
:
!
0
,
message
:
"请输入当前绑定账号"
,
trigger
:
"blur"
}],
phone
:[{
required
:
!
0
,
message
:
"请输入手机号"
,
trigger
:
"blur"
}],
code
:[{
required
:
!
0
,
message
:
"请输入验证码"
,
trigger
:
"blur"
}]},
disableBtn
:
!
1
,
countNum
:
60
,
newFormLoad
:
!
1
,
newRuleForm
:{
name
:
""
,
id
:
""
,
label
:
""
,
type
:
""
},
newRules
:{
name
:[{
required
:
!
0
,
message
:
"请输入手机号/姓名"
,
trigger
:[
"blur"
,
"change"
]}]},
treeSet
:{
isSelectPerson
:
!
0
,
dialogVisible
:
!
1
,
isSingle
:
!
0
},
treeData
:{},
defaultSelection
:[],
onlyPerson
:
!
0
,
changed
:
""
}},
computed
:{},
methods
:{
showSelect
:
function
(){
this
.
treeSet
=
{
dialogVisible
:
!
0
,
isSingle
:
!
0
,
isSelectPerson
:
!
0
}},
handleSelectedList
:
function
(
e
){
e
&&
a
()(
e
).
length
&&
(
this
.
defaultSelection
=
[
e
],
this
.
newRuleForm
.
name
=
e
.
name
,
this
.
newRuleForm
.
id
=
e
.
id
)},
countDown
:
function
(){
var
e
=
this
,
t
=
setInterval
(
function
(){
if
(
0
===
e
.
countNum
)
return
clearInterval
(
t
),
e
.
countNum
=
60
,
e
.
disableBtn
=!
1
,
!
1
;
e
.
countNum
--
},
1
e3
)},
sendCode
:
Object
(
l
.
a
)(
function
(
e
){
this
.
disableBtn
=!
0
,
this
.
postSendCode
(
e
)},
500
),
postSendCode
:
function
(
e
){
var
t
=
this
;
Object
(
m
.
e
)(
"/haoban-manage-web/enterprise-setting/send-admin-valid-code"
,{}).
then
(
function
(
n
){
var
r
=
n
.
data
;
if
(
1
!=
r
.
errorCode
)
c
.
a
.
errorMsg
(
r
);
else
{
t
.
countDown
();
var
a
=
String
(
e
).
substr
(
0
,
3
)
+
"****"
+
e
.
substr
(
7
,
e
.
length
-
1
);
t
.
$message
({
message
:
"验证码已发送到您的手机:+"
+
t
.
ruleForm
.
nationcode
+
a
,
type
:
"success"
})}}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
submitForm
:
Object
(
l
.
a
)(
function
(
e
){
var
t
=
this
;
t
.
$refs
[
e
].
validate
(
function
(
e
){
if
(
!
e
)
return
!
1
;
t
.
checkSendCode
()})},
500
),
checkSendCode
:
function
(){
var
e
=
this
,
t
=
{
code
:
e
.
ruleForm
.
code
};
Object
(
m
.
e
)(
"/haoban-manage-web/enterprise-setting/check-admin-valid-code"
,
t
).
then
(
function
(
t
){
var
n
=
t
.
data
;
1
!=
n
.
errorCode
?
c
.
a
.
errorMsg
(
n
):
e
.
active
++>
2
&&
e
.
active
}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
newSubmitForm
:
Object
(
l
.
a
)(
function
(
e
){
var
t
=
this
;
t
.
newRuleForm
.
name
=
t
.
newRuleForm
.
name
.
replace
(
/
(
^
\s
+
)
|
(\s
+$
)
/g
,
""
),
t
.
$refs
[
e
].
validate
(
function
(
e
){
if
(
!
e
)
return
!
1
;
t
.
postReplace
()})},
500
),
postReplace
:
function
(){
var
e
=
this
,
t
=
{
adminClerkId
:
e
.
newRuleForm
.
id
};
Object
(
m
.
e
)(
"/haoban-manage-web/enterprise-setting/change-admin"
,
t
).
then
(
function
(
t
){
var
n
=
t
.
data
;
if
(
1
==
n
.
errorCode
)
return
e
.
active
++
,
u
.
a
.
showmsg
(
"保存成功,请重新登录!"
,
"success"
),
void
e
.
loginOut
();
c
.
a
.
errorMsg
(
n
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
submitFormBack
:
function
(){
this
.
$refs
.
newRuleForm
.
resetFields
(),
this
.
active
&&
this
.
active
--
},
loginOut
:
function
(){
var
e
=
this
;
Object
(
m
.
e
)(
"/haoban-manage-web/logout"
,{}).
then
(
function
(
e
){
var
t
=
e
.
data
;
1
!=
t
.
errorCode
?
c
.
a
.
errorMsg
(
t
):
window
.
location
.
href
=
window
.
location
.
origin
+
"/haoban-web/#/login"
}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getCurrentUser
:
function
(){
var
e
=
this
,
t
=
JSON
.
parse
(
localStorage
.
getItem
(
"userInfo"
));
Object
(
m
.
e
)(
"/haoban-manage-web/enterprise/find-super-manager"
,{}).
then
(
function
(
n
){
var
r
=
n
.
data
;
if
(
1
==
r
.
errorCode
)
return
e
.
ruleForm
.
name
=
r
.
result
.
name
,
e
.
ruleForm
.
phone
=
r
.
result
.
phoneNumber
,
e
.
ruleForm
.
nationcode
=
r
.
result
.
nationcode
,
void
(
t
.
phoneNumber
!=
r
.
result
.
phoneNumber
?
e
.
disableBtn
=!
0
:
e
.
disableBtn
=!
1
);
c
.
a
.
errorMsg
(
r
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
mounted
:
function
(){
this
.
getCurrentUser
()},
components
:{
navCrumb
:
o
.
a
,
vueSelectEmployee
:
s
.
a
,
countryMobile
:
i
.
a
}},
h
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
n
=
e
.
_self
.
_c
||
t
;
return
n
(
"div"
,{
staticClass
:
"replaceAdmin-wrap common-set-wrap"
},[
n
(
"nav-crumb"
,{
attrs
:{
navpath
:
e
.
navpath
}}),
e
.
_v
(
" "
),
n
(
"div"
,{
staticClass
:
"right-content"
},[
n
(
"div"
,{
staticClass
:
"right-box"
,
style
:{
height
:
e
.
$store
.
state
.
bgHeight
}},[
n
(
"el-steps"
,{
attrs
:{
active
:
e
.
active
,
"finish-status"
:
"success"
,
"align-center"
:
""
}},[
n
(
"el-step"
,{
attrs
:{
title
:
"获取验证码"
}}),
e
.
_v
(
" "
),
n
(
"el-step"
,{
attrs
:{
title
:
"绑定新的超级管理员"
}}),
e
.
_v
(
" "
),
n
(
"el-step"
,{
attrs
:{
title
:
"完成"
}})],
1
),
e
.
_v
(
" "
),
n
(
"div"
,{
staticClass
:
"w-514 replaceAdmin-wrap-form m-t-45"
},[
0
==
e
.
active
?
n
(
"el-form"
,{
ref
:
"ruleForm"
,
staticClass
:
"demo-ruleForm"
,
attrs
:{
model
:
e
.
ruleForm
,
rules
:
e
.
rules
,
"label-width"
:
"110px"
}},[
n
(
"el-form-item"
,{
attrs
:{
label
:
"当前绑定账号"
,
prop
:
"name"
}},[
n
(
"el-input"
,{
staticClass
:
"w-280"
,
attrs
:{
disabled
:
""
,
placeholder
:
""
},
model
:{
value
:
e
.
ruleForm
.
name
,
callback
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"name"
,
t
)},
expression
:
"ruleForm.name"
}})],
1
),
e
.
_v
(
" "
),
n
(
"el-form-item"
,{
attrs
:{
label
:
"手机号"
,
prop
:
"phone"
}},[
n
(
"countryMobile"
,{
attrs
:{
inputWidth
:
280
,
nationCode
:
e
.
ruleForm
.
nationcode
,
holder
:
""
,
disflag
:
"true"
},
on
:{
"update:nationCode"
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"nationcode"
,
t
)}},
model
:{
value
:
e
.
ruleForm
.
phone
,
callback
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"phone"
,
t
)},
expression
:
"ruleForm.phone"
}}),
n
(
"el-button"
,{
staticClass
:
"m-l-20 v-align-b"
,
attrs
:{
type
:
"primary"
,
plain
:
""
,
disabled
:
e
.
disableBtn
},
on
:{
click
:
function
(
t
){
e
.
sendCode
(
e
.
ruleForm
.
phone
)}}},[
e
.
_v
(
e
.
_s
(
e
.
disableBtn
&&
60
==
e
.
countNum
||!
e
.
disableBtn
&&
e
.
countNum
?
"获取验证码"
:
e
.
countNum
+
"s"
)
+
" "
)])],
1
),
e
.
_v
(
" "
),
n
(
"el-form-item"
,{
attrs
:{
label
:
"验证码"
,
prop
:
"code"
}},[
n
(
"el-input"
,{
staticClass
:
"w-280"
,
attrs
:{
placeholder
:
"请输入验证码"
},
model
:{
value
:
e
.
ruleForm
.
code
,
callback
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"code"
,
t
)},
expression
:
"ruleForm.code"
}})],
1
),
e
.
_v
(
" "
),
n
(
"el-form-item"
,[
n
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
submitForm
(
"ruleForm"
)}}},[
e
.
_v
(
"下一步"
)])],
1
)],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
n
(
"el-form"
,{
directives
:[{
name
:
"show"
,
rawName
:
"v-show"
,
value
:
1
==
e
.
active
,
expression
:
"active == 1"
}],
ref
:
"newRuleForm"
,
staticClass
:
"demo-ruleForm"
,
attrs
:{
model
:
e
.
newRuleForm
,
rules
:
e
.
newRules
,
"label-width"
:
"140px"
}},[
n
(
"el-form-item"
,{
attrs
:{
label
:
"新绑定超级管理员"
,
prop
:
"name"
}},[
n
(
"div"
,{
staticClass
:
"master-select w-280"
,
on
:{
click
:
e
.
showSelect
}},[
e
.
_v
(
"
\
n "
+
e
.
_s
(
e
.
newRuleForm
.
name
?
e
.
newRuleForm
.
name
:
"请选择"
)
+
"
\
n "
)])]),
e
.
_v
(
" "
),
n
(
"el-form-item"
,[
n
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
loading
:
e
.
newFormLoad
},
on
:{
click
:
function
(
t
){
e
.
newSubmitForm
(
"newRuleForm"
)}}},[
e
.
_v
(
"提 交"
)]),
e
.
_v
(
" "
),
n
(
"el-button"
,{
attrs
:{
plain
:
""
},
on
:{
click
:
e
.
submitFormBack
}},[
e
.
_v
(
"上一步"
)])],
1
)],
1
),
e
.
_v
(
" "
),
2
==
e
.
active
?
n
(
"div"
,{
staticClass
:
"replaceAdmin-wrap-success"
},[
e
.
_m
(
0
),
e
.
_v
(
" "
),
n
(
"p"
,{
staticClass
:
"font-w-500"
},[
e
.
_v
(
"操作成功"
)])]):
e
.
_e
()],
1
)],
1
)]),
e
.
_v
(
" "
),
n
(
"vue-select-employee"
,{
attrs
:{
defaultSelection
:
e
.
defaultSelection
,
treeSet
:
e
.
treeSet
,
onlyPerson
:
e
.
onlyPerson
,
changed
:
e
.
changed
},
on
:{
handleSelectedList
:
e
.
handleSelectedList
}}),
e
.
_v
(
" "
),
n
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[
function
(){
var
e
=
this
.
$createElement
,
t
=
this
.
_self
.
_c
||
e
;
return
t
(
"div"
,{
staticClass
:
"icon-outer"
},[
t
(
"i"
,{
staticClass
:
"el-icon-success"
})])}]};
var
v
=
n
(
"VU/8"
)(
d
,
h
,
!
1
,
function
(
e
){
n
(
"thn2"
)},
"data-v-e8d1ff36"
,
null
);
t
.
default
=
v
.
exports
}});
\ No newline at end of file
dist/static/js/3
3.7b62b2ff369669fe322c
.js
→
dist/static/js/3
4.3a93f5c5580364269de2
.js
View file @
26eaaffa
webpackJsonp
([
33
],{
"4m/B"
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
o
=
a
(
"fZjL"
),
n
=
a
.
n
(
o
),
l
=
a
(
"2eFk"
),
i
=
a
(
"Ke24"
),
s
=
a
(
"LRn8"
),
r
=
a
(
"fPyK"
),
c
=
a
(
"P9l9"
),
d
=
a
(
"Ch4/"
),
u
=
a
(
"3E4D"
),
f
=
{
name
:
"reviewed"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
filters
:{
formatTimeYMD
:
function
(
e
){
return
e
&&
"- -"
!=
e
?
e
.
split
(
" "
)[
0
]:
"--"
},
formatTimeHMS
:
function
(
e
){
return
e
&&
"- -"
!=
e
?
e
.
split
(
" "
)[
1
]:
"--"
}},
data
:
function
(){
return
{
tableH
:
window
.
screen
.
availHeight
-
464
-
126
,
activeId
:
"2"
,
activeBrand
:
this
.
brandId
,
topMenuData
:[{
id
:
"1"
,
name
:
"不良评价回访记录"
,
path
:
"/badEvaluateRecord"
},{
id
:
"2"
,
name
:
"记录详情"
,
path
:
""
}],
selectRadio
:
0
,
showDialog
:
!
1
,
conditionObj
:{
completed
:
""
,
overdue
:
""
},
completedOptions
:[{
label
:
"已完成"
,
value
:
"1"
},{
label
:
"未完成"
,
value
:
"0"
}],
overOptions
:[{
label
:
"已逾期"
,
value
:
"1"
},{
label
:
"未逾期"
,
value
:
"0"
}],
tableData
:[],
multipleSelection
:[],
dialogVisible
:
!
1
,
currentPage
:
1
,
pageSize
:
20
,
total
:
0
}},
computed
:{},
methods
:{
handleCommand
:
function
(
e
){
this
.
selectRadio
=
e
},
selectBrandId
:
function
(
e
){
this
.
activeBrand
=
e
},
setSelectTab
:
function
(
e
){
this
.
activeTab
=
e
.
tabId
},
changeSelect
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
handleSelectionChange
:
function
(
e
){
this
.
multipleSelection
=
e
},
multDel
:
function
(){
if
(
!
this
.
multipleSelection
.
length
)
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请选择删除项"
}),
!
1
;
this
.
showDialog
=!
0
},
hideDialog
:
function
(
e
){
if
(
this
.
showDialog
=!
1
,
!
n
()(
e
).
length
)
return
!
1
;
this
.
postMultDel
(
e
)},
postMultDel
:
function
(
e
){
var
t
=
this
,
a
=
{
taskType
:
0
,
storeId
:
t
.
conditionObj
.
storeId
,
taskIds
:
t
.
multipleSelection
.
map
(
function
(
e
){
return
e
.
taskIds
})
||
""
,
isOverTime
:
t
.
conditionObj
.
overdue
||
""
,
isCompleted
:
t
.
conditionObj
.
completed
||
""
,
reason
:
e
.
reason
,
brandId
:
t
.
activeBrand
,
isAll
:
t
.
selectRadio
};
Object
(
c
.
e
)(
"/haoban-app-tel-task-web/task/batch-del-clerk-task-list"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
u
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
t
.
getTableList
();
d
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
handleSizeChange
:
function
(
e
){
this
.
pageSize
=
e
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getTableList
()},
handleDel
:
function
(
e
,
t
){
var
a
=
this
;
a
.
$confirm
(
"确认要删除吗?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
postDel
(
e
,
t
)}).
catch
(
function
(){})},
postDel
:
function
(
e
,
t
){
var
a
=
this
,
o
=
{
taskId
:
t
.
taskId
,
brandId
:
a
.
activeBrand
};
Object
(
c
.
a
)(
"/haoban-app-tel-task-web/task/del-one"
,
o
).
then
(
function
(
t
){
var
o
=
t
.
data
;
if
(
1
==
o
.
errorCode
)
return
u
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
a
.
tableData
.
splice
(
e
,
1
);
d
.
a
.
errorMsg
(
o
)}).
catch
(
function
(
e
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
handlePreview
:
function
(
e
,
t
){
this
.
postPreview
(
e
,
t
)},
postPreview
:
function
(
e
,
t
){
var
a
=
""
+
t
.
taskId
;
this
.
$refs
.
qrcodePreview
.
qrcode
(
a
,
"daily-detail"
),
this
.
dialogVisible
=!
0
},
getTableList
:
function
(
e
){
var
t
=
this
,
a
=
{
storeId
:
t
.
conditionObj
.
storeId
||
""
,
isOverTime
:
t
.
conditionObj
.
overdue
||
""
,
isCompleted
:
t
.
conditionObj
.
completed
||
""
,
pageNum
:
t
.
currentPage
,
pageSize
:
t
.
pageSize
,
brandId
:
t
.
activeBrand
,
taskType
:
0
};
Object
(
c
.
a
)(
"/haoban-app-tel-task-web/task/clerk-task-list"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
t
.
tableData
=
a
.
result
.
list
||
[],
void
(
t
.
total
=
a
.
result
.
pageInfo
.
total
);
d
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
brandId
:
function
(
e
,
t
){
e
&&
(
this
.
activeBrand
=
e
,
this
.
getTableList
())}},
mounted
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
$emit
(
"showTab"
,
"1"
),
this
.
activeBrand
=
this
.
brandId
,
this
.
conditionObj
.
storeId
=
this
.
$route
.
query
.
storeId
,
this
.
brandId
&&
this
.
getTableList
()},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
l
.
a
,
commonDetailTop
:
i
.
a
,
multipleDel
:
s
.
a
,
qrcodeDialog
:
r
.
a
}},
p
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"my-customer-wrap common-set-wrap"
},[
a
(
"common-detail-top"
,{
attrs
:{
topMenuData
:
e
.
topMenuData
,
activeId
:
e
.
activeId
}}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"daily-set-content boder-box"
},[
a
(
"div"
,{
staticClass
:
"table-condition flex flex-space-between m-b-23"
},[
a
(
"div"
,{
staticClass
:
"table-condition-left"
},[
a
(
"el-select"
,{
staticClass
:
"w-105"
,
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
e
.
changeSelect
},
model
:{
value
:
e
.
conditionObj
.
completed
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"completed"
,
t
)},
expression
:
"conditionObj.completed"
}},
e
.
_l
(
e
.
completedOptions
,
function
(
e
){
return
a
(
"el-option"
,{
key
:
e
.
value
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})})),
a
(
"el-select"
,{
staticClass
:
"w-105 m-l-10"
,
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
e
.
changeSelect
},
model
:{
value
:
e
.
conditionObj
.
overdue
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"overdue"
,
t
)},
expression
:
"conditionObj.overdue"
}},
e
.
_l
(
e
.
overOptions
,
function
(
e
){
return
a
(
"el-option"
,{
key
:
e
.
value
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})}))],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"table-condition-right"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"danger"
},
on
:{
click
:
e
.
multDel
}},[
e
.
_v
(
"批量删除"
)])],
1
)]),
e
.
_v
(
" "
),
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
,
"tooltip-effect"
:
"dark"
,
height
:
e
.
tableH
},
on
:{
"selection-change"
:
e
.
handleSelectionChange
}},[
a
(
"el-table-column"
,{
attrs
:{
type
:
"selection"
,
width
:
"35"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
width
:
"25"
},
scopedSlots
:
e
.
_u
([{
key
:
"header"
,
fn
:
function
(
t
){
return
[
a
(
"el-dropdown"
,{
staticStyle
:{
"line-height"
:
"10px"
,
padding
:
"0"
,
"margin-left"
:
"-15px"
,
transform
:
"translateY(4px)"
,
"-webkit-transform"
:
"translateY(4px)"
},
attrs
:{
placement
:
"bottom-start"
},
on
:{
command
:
e
.
handleCommand
}},[
a
(
"span"
,{
staticClass
:
"el-dropdown-link"
},[
a
(
"i"
,{
staticClass
:
"el-icon-arrow-down el-icon--right"
})]),
e
.
_v
(
" "
),
a
(
"el-dropdown-menu"
,{
attrs
:{
slot
:
"dropdown"
},
slot
:
"dropdown"
},[
a
(
"el-dropdown-item"
,{
attrs
:{
command
:
"0"
}},[
a
(
"span"
,{
style
:{
color
:
0
==
e
.
selectRadio
?
"#1890ff"
:
"#606266"
}},[
e
.
_v
(
"选择当页"
)])]),
e
.
_v
(
" "
),
a
(
"el-dropdown-item"
,{
attrs
:{
command
:
"1"
}},[
a
(
"span"
,{
style
:{
color
:
1
==
e
.
selectRadio
?
"#1890ff"
:
"#606266"
}},[
e
.
_v
(
"选择全部"
)])])],
1
)],
1
)]}},{
key
:
"default"
,
fn
:
function
(
e
){}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"指派对象"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"flex flex-pack-center flex-start"
},[
a
(
"div"
,{
class
:[
"image-wrap flex flex-align-center flex-pack-center"
,
t
.
row
.
headImgUrl
?
"bg-eceaeb"
:
"bg-82c5ff"
]},[
t
.
row
.
headImgUrl
?
a
(
"img"
,{
attrs
:{
src
:
t
.
row
.
headImgUrl
,
alt
:
""
}}):
a
(
"i"
,{
staticClass
:
"iconfont icon-yewuduanmorentouxian"
})]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"clerk-info flex flex-column flex-space-between m-l-16"
},[
a
(
"p"
,{
staticClass
:
"font-14 color-303133"
},[
e
.
_v
(
e
.
_s
(
t
.
row
.
clerkName
))]),
e
.
_v
(
" "
),
a
(
"p"
,{
staticClass
:
"font-14 color-909399"
},[
e
.
_v
(
e
.
_s
(
t
.
row
.
clerkPhone
))])])])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"name"
,
label
:
"创建时间"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeYMD"
)(
t
.
row
.
createTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeHMS"
)(
t
.
row
.
createTime
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"完成期限"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeYMD"
)(
t
.
row
.
lastTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeHMS"
)(
t
.
row
.
lastTime
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"逾期情况"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
isOverTime
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"完成情况"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
isCompleted
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"完成时间"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeYMD"
)(
t
.
row
.
finishTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeHMS"
)(
t
.
row
.
finishTime
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
align
:
"left"
},
scopedSlots
:
e
.
_u
([{
key
:
"header"
,
fn
:
function
(
t
){
return
[
a
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
row
?
"完成备注"
:
"放弃备注"
))])]}},{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-popover"
,{
attrs
:{
placement
:
"top-start"
,
title
:
""
,
width
:
"200"
,
trigger
:
"hover"
,
content
:
e
.
row
.
reason
}},[
a
(
"i"
,{
staticClass
:
"iconfont icon-beizhu"
})])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"完成备注"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
"已完成"
==
t
.
row
.
isCompleted
?
a
(
"el-popover"
,{
attrs
:{
placement
:
"top-start"
,
title
:
""
,
width
:
"200"
,
trigger
:
"hover"
,
content
:
"已完成"
==
t
.
row
.
isCompleted
?
t
.
row
.
reason
:
""
}},[
a
(
"i"
,{
staticClass
:
"iconfont icon-beizhu"
,
staticStyle
:{
"font-size"
:
"40px"
},
attrs
:{
slot
:
"reference"
},
slot
:
"reference"
})]):
e
.
_e
()]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"放弃备注"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
"未完成"
==
t
.
row
.
isCompleted
?
a
(
"el-popover"
,{
attrs
:{
placement
:
"top-start"
,
title
:
""
,
width
:
"200"
,
trigger
:
"hover"
,
content
:
"已完成"
==
t
.
row
.
isCompleted
?
""
:
t
.
row
.
reason
}},[
a
(
"i"
,{
staticClass
:
"iconfont icon-beizhu"
,
staticStyle
:{
"font-size"
:
"40px"
},
attrs
:{
slot
:
"reference"
},
slot
:
"reference"
})]):
e
.
_e
()]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
e
.
handleDel
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"删除"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
e
.
handlePreview
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"预览"
)])]}}])})],
1
),
e
.
_v
(
" "
),
0
!=
e
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
e
.
currentPage
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
e
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
e
.
total
},
on
:{
"size-change"
:
e
.
handleSizeChange
,
"current-change"
:
e
.
handleCurrentChange
}})],
1
):
e
.
_e
()],
1
),
e
.
_v
(
" "
),
a
(
"multiple-del"
,{
attrs
:{
showDialog
:
e
.
showDialog
,
detailFlag
:
!
0
},
on
:{
hideDialog
:
e
.
hideDialog
}}),
e
.
_v
(
" "
),
a
(
"qrcode-dialog"
,{
ref
:
"qrcodePreview"
,
model
:{
value
:
e
.
dialogVisible
,
callback
:
function
(
t
){
e
.
dialogVisible
=
t
},
expression
:
"dialogVisible"
}})],
1
)},
staticRenderFns
:[]};
var
m
=
a
(
"VU/8"
)(
f
,
p
,
!
1
,
function
(
e
){
a
(
"nS6C"
)},
"data-v-e86f2af2"
,
null
);
t
.
default
=
m
.
exports
},
nS6C
:
function
(
e
,
t
){}});
\ No newline at end of file
webpackJsonp
([
34
],{
"4m/B"
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
o
=
a
(
"fZjL"
),
n
=
a
.
n
(
o
),
l
=
a
(
"2eFk"
),
i
=
a
(
"Ke24"
),
s
=
a
(
"LRn8"
),
r
=
a
(
"fPyK"
),
c
=
a
(
"P9l9"
),
d
=
a
(
"Ch4/"
),
u
=
a
(
"3E4D"
),
f
=
{
name
:
"reviewed"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
filters
:{
formatTimeYMD
:
function
(
e
){
return
e
&&
"- -"
!=
e
?
e
.
split
(
" "
)[
0
]:
"--"
},
formatTimeHMS
:
function
(
e
){
return
e
&&
"- -"
!=
e
?
e
.
split
(
" "
)[
1
]:
"--"
}},
data
:
function
(){
return
{
tableH
:
window
.
screen
.
availHeight
-
464
-
126
,
activeId
:
"2"
,
activeBrand
:
this
.
brandId
,
topMenuData
:[{
id
:
"1"
,
name
:
"不良评价回访记录"
,
path
:
"/badEvaluateRecord"
},{
id
:
"2"
,
name
:
"记录详情"
,
path
:
""
}],
selectRadio
:
0
,
showDialog
:
!
1
,
conditionObj
:{
completed
:
""
,
overdue
:
""
},
completedOptions
:[{
label
:
"已完成"
,
value
:
"1"
},{
label
:
"未完成"
,
value
:
"0"
}],
overOptions
:[{
label
:
"已逾期"
,
value
:
"1"
},{
label
:
"未逾期"
,
value
:
"0"
}],
tableData
:[],
multipleSelection
:[],
dialogVisible
:
!
1
,
currentPage
:
1
,
pageSize
:
20
,
total
:
0
}},
computed
:{},
methods
:{
handleCommand
:
function
(
e
){
this
.
selectRadio
=
e
},
selectBrandId
:
function
(
e
){
this
.
activeBrand
=
e
},
setSelectTab
:
function
(
e
){
this
.
activeTab
=
e
.
tabId
},
changeSelect
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
handleSelectionChange
:
function
(
e
){
this
.
multipleSelection
=
e
},
multDel
:
function
(){
if
(
!
this
.
multipleSelection
.
length
)
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请选择删除项"
}),
!
1
;
this
.
showDialog
=!
0
},
hideDialog
:
function
(
e
){
if
(
this
.
showDialog
=!
1
,
!
n
()(
e
).
length
)
return
!
1
;
this
.
postMultDel
(
e
)},
postMultDel
:
function
(
e
){
var
t
=
this
,
a
=
{
taskType
:
0
,
storeId
:
t
.
conditionObj
.
storeId
,
taskIds
:
t
.
multipleSelection
.
map
(
function
(
e
){
return
e
.
taskIds
})
||
""
,
isOverTime
:
t
.
conditionObj
.
overdue
||
""
,
isCompleted
:
t
.
conditionObj
.
completed
||
""
,
reason
:
e
.
reason
,
brandId
:
t
.
activeBrand
,
isAll
:
t
.
selectRadio
};
Object
(
c
.
e
)(
"/haoban-app-tel-task-web/task/batch-del-clerk-task-list"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
u
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
t
.
getTableList
();
d
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
handleSizeChange
:
function
(
e
){
this
.
pageSize
=
e
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getTableList
()},
handleDel
:
function
(
e
,
t
){
var
a
=
this
;
a
.
$confirm
(
"确认要删除吗?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
postDel
(
e
,
t
)}).
catch
(
function
(){})},
postDel
:
function
(
e
,
t
){
var
a
=
this
,
o
=
{
taskId
:
t
.
taskId
,
brandId
:
a
.
activeBrand
};
Object
(
c
.
a
)(
"/haoban-app-tel-task-web/task/del-one"
,
o
).
then
(
function
(
t
){
var
o
=
t
.
data
;
if
(
1
==
o
.
errorCode
)
return
u
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
a
.
tableData
.
splice
(
e
,
1
);
d
.
a
.
errorMsg
(
o
)}).
catch
(
function
(
e
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
handlePreview
:
function
(
e
,
t
){
this
.
postPreview
(
e
,
t
)},
postPreview
:
function
(
e
,
t
){
var
a
=
""
+
t
.
taskId
;
this
.
$refs
.
qrcodePreview
.
qrcode
(
a
,
"daily-detail"
),
this
.
dialogVisible
=!
0
},
getTableList
:
function
(
e
){
var
t
=
this
,
a
=
{
storeId
:
t
.
conditionObj
.
storeId
||
""
,
isOverTime
:
t
.
conditionObj
.
overdue
||
""
,
isCompleted
:
t
.
conditionObj
.
completed
||
""
,
pageNum
:
t
.
currentPage
,
pageSize
:
t
.
pageSize
,
brandId
:
t
.
activeBrand
,
taskType
:
0
};
Object
(
c
.
a
)(
"/haoban-app-tel-task-web/task/clerk-task-list"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
t
.
tableData
=
a
.
result
.
list
||
[],
void
(
t
.
total
=
a
.
result
.
pageInfo
.
total
);
d
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
brandId
:
function
(
e
,
t
){
e
&&
(
this
.
activeBrand
=
e
,
this
.
getTableList
())}},
mounted
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
$emit
(
"showTab"
,
"1"
),
this
.
activeBrand
=
this
.
brandId
,
this
.
conditionObj
.
storeId
=
this
.
$route
.
query
.
storeId
,
this
.
brandId
&&
this
.
getTableList
()},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
l
.
a
,
commonDetailTop
:
i
.
a
,
multipleDel
:
s
.
a
,
qrcodeDialog
:
r
.
a
}},
p
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"my-customer-wrap common-set-wrap"
},[
a
(
"common-detail-top"
,{
attrs
:{
topMenuData
:
e
.
topMenuData
,
activeId
:
e
.
activeId
}}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"daily-set-content boder-box"
},[
a
(
"div"
,{
staticClass
:
"table-condition flex flex-space-between m-b-23"
},[
a
(
"div"
,{
staticClass
:
"table-condition-left"
},[
a
(
"el-select"
,{
staticClass
:
"w-105"
,
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
e
.
changeSelect
},
model
:{
value
:
e
.
conditionObj
.
completed
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"completed"
,
t
)},
expression
:
"conditionObj.completed"
}},
e
.
_l
(
e
.
completedOptions
,
function
(
e
){
return
a
(
"el-option"
,{
key
:
e
.
value
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})})),
a
(
"el-select"
,{
staticClass
:
"w-105 m-l-10"
,
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
e
.
changeSelect
},
model
:{
value
:
e
.
conditionObj
.
overdue
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"overdue"
,
t
)},
expression
:
"conditionObj.overdue"
}},
e
.
_l
(
e
.
overOptions
,
function
(
e
){
return
a
(
"el-option"
,{
key
:
e
.
value
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})}))],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"table-condition-right"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"danger"
},
on
:{
click
:
e
.
multDel
}},[
e
.
_v
(
"批量删除"
)])],
1
)]),
e
.
_v
(
" "
),
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
,
"tooltip-effect"
:
"dark"
,
height
:
e
.
tableH
},
on
:{
"selection-change"
:
e
.
handleSelectionChange
}},[
a
(
"el-table-column"
,{
attrs
:{
type
:
"selection"
,
width
:
"35"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
width
:
"25"
},
scopedSlots
:
e
.
_u
([{
key
:
"header"
,
fn
:
function
(
t
){
return
[
a
(
"el-dropdown"
,{
staticStyle
:{
"line-height"
:
"10px"
,
padding
:
"0"
,
"margin-left"
:
"-15px"
,
transform
:
"translateY(4px)"
,
"-webkit-transform"
:
"translateY(4px)"
},
attrs
:{
placement
:
"bottom-start"
},
on
:{
command
:
e
.
handleCommand
}},[
a
(
"span"
,{
staticClass
:
"el-dropdown-link"
},[
a
(
"i"
,{
staticClass
:
"el-icon-arrow-down el-icon--right"
})]),
e
.
_v
(
" "
),
a
(
"el-dropdown-menu"
,{
attrs
:{
slot
:
"dropdown"
},
slot
:
"dropdown"
},[
a
(
"el-dropdown-item"
,{
attrs
:{
command
:
"0"
}},[
a
(
"span"
,{
style
:{
color
:
0
==
e
.
selectRadio
?
"#1890ff"
:
"#606266"
}},[
e
.
_v
(
"选择当页"
)])]),
e
.
_v
(
" "
),
a
(
"el-dropdown-item"
,{
attrs
:{
command
:
"1"
}},[
a
(
"span"
,{
style
:{
color
:
1
==
e
.
selectRadio
?
"#1890ff"
:
"#606266"
}},[
e
.
_v
(
"选择全部"
)])])],
1
)],
1
)]}},{
key
:
"default"
,
fn
:
function
(
e
){}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"指派对象"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"flex flex-pack-center flex-start"
},[
a
(
"div"
,{
class
:[
"image-wrap flex flex-align-center flex-pack-center"
,
t
.
row
.
headImgUrl
?
"bg-eceaeb"
:
"bg-82c5ff"
]},[
t
.
row
.
headImgUrl
?
a
(
"img"
,{
attrs
:{
src
:
t
.
row
.
headImgUrl
,
alt
:
""
}}):
a
(
"i"
,{
staticClass
:
"iconfont icon-yewuduanmorentouxian"
})]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"clerk-info flex flex-column flex-space-between m-l-16"
},[
a
(
"p"
,{
staticClass
:
"font-14 color-303133"
},[
e
.
_v
(
e
.
_s
(
t
.
row
.
clerkName
))]),
e
.
_v
(
" "
),
a
(
"p"
,{
staticClass
:
"font-14 color-909399"
},[
e
.
_v
(
e
.
_s
(
t
.
row
.
clerkPhone
))])])])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"name"
,
label
:
"创建时间"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeYMD"
)(
t
.
row
.
createTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeHMS"
)(
t
.
row
.
createTime
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"完成期限"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeYMD"
)(
t
.
row
.
lastTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeHMS"
)(
t
.
row
.
lastTime
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"逾期情况"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
isOverTime
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"完成情况"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
isCompleted
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"完成时间"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeYMD"
)(
t
.
row
.
finishTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeHMS"
)(
t
.
row
.
finishTime
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
align
:
"left"
},
scopedSlots
:
e
.
_u
([{
key
:
"header"
,
fn
:
function
(
t
){
return
[
a
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
row
?
"完成备注"
:
"放弃备注"
))])]}},{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"el-popover"
,{
attrs
:{
placement
:
"top-start"
,
title
:
""
,
width
:
"200"
,
trigger
:
"hover"
,
content
:
e
.
row
.
reason
}},[
a
(
"i"
,{
staticClass
:
"iconfont icon-beizhu"
})])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"完成备注"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
"已完成"
==
t
.
row
.
isCompleted
?
a
(
"el-popover"
,{
attrs
:{
placement
:
"top-start"
,
title
:
""
,
width
:
"200"
,
trigger
:
"hover"
,
content
:
"已完成"
==
t
.
row
.
isCompleted
?
t
.
row
.
reason
:
""
}},[
a
(
"i"
,{
staticClass
:
"iconfont icon-beizhu"
,
staticStyle
:{
"font-size"
:
"40px"
},
attrs
:{
slot
:
"reference"
},
slot
:
"reference"
})]):
e
.
_e
()]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"放弃备注"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
"未完成"
==
t
.
row
.
isCompleted
?
a
(
"el-popover"
,{
attrs
:{
placement
:
"top-start"
,
title
:
""
,
width
:
"200"
,
trigger
:
"hover"
,
content
:
"已完成"
==
t
.
row
.
isCompleted
?
""
:
t
.
row
.
reason
}},[
a
(
"i"
,{
staticClass
:
"iconfont icon-beizhu"
,
staticStyle
:{
"font-size"
:
"40px"
},
attrs
:{
slot
:
"reference"
},
slot
:
"reference"
})]):
e
.
_e
()]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
e
.
handleDel
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"删除"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
,
size
:
"small"
},
on
:{
click
:
function
(
a
){
e
.
handlePreview
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"预览"
)])]}}])})],
1
),
e
.
_v
(
" "
),
0
!=
e
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
e
.
currentPage
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
e
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
e
.
total
},
on
:{
"size-change"
:
e
.
handleSizeChange
,
"current-change"
:
e
.
handleCurrentChange
}})],
1
):
e
.
_e
()],
1
),
e
.
_v
(
" "
),
a
(
"multiple-del"
,{
attrs
:{
showDialog
:
e
.
showDialog
,
detailFlag
:
!
0
},
on
:{
hideDialog
:
e
.
hideDialog
}}),
e
.
_v
(
" "
),
a
(
"qrcode-dialog"
,{
ref
:
"qrcodePreview"
,
model
:{
value
:
e
.
dialogVisible
,
callback
:
function
(
t
){
e
.
dialogVisible
=
t
},
expression
:
"dialogVisible"
}})],
1
)},
staticRenderFns
:[]};
var
m
=
a
(
"VU/8"
)(
f
,
p
,
!
1
,
function
(
e
){
a
(
"nS6C"
)},
"data-v-e86f2af2"
,
null
);
t
.
default
=
m
.
exports
},
nS6C
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/3
4.f9d53c31059aaff9b360
.js
→
dist/static/js/3
5.32cae9a3f9ba6b187945
.js
View file @
26eaaffa
webpackJsonp
([
34
],{
VlR1
:
function
(
t
,
e
,
n
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
a
=
{
name
:
"setting"
,
data
:
function
(){
return
{
projectName
:
"haoban-manage-web"
,
contentHeight
:
"0px"
,
collapseFlag
:
!
1
}},
computed
:{},
methods
:{
toRouterView
:
function
(
t
){
this
.
$router
.
push
({
path
:
t
.
path
})},
collapseTag
:
function
(
t
){
this
.
collapseFlag
=
t
}},
watch
:{
$route
:{
handler
:
function
(
t
,
e
){
this
.
$refs
.
asideMenu
.
refreshRoute
()},
deep
:
!
0
}},
mounted
:
function
(){
this
.
pathName
=
window
.
location
.
hash
.
split
(
"/"
)[
1
],
this
.
contentHeight
=
(
document
.
documentElement
.
clientHeight
||
document
.
body
.
clientHeight
)
-
64
+
"px"
}},
o
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
n
=
t
.
_self
.
_c
||
e
;
return
n
(
"div"
,{
staticClass
:
"setting-wrap"
},[
n
(
"vue-office-header"
,{
attrs
:{
projectName
:
t
.
projectName
},
on
:{
collapseTag
:
t
.
collapseTag
,
toRouterView
:
t
.
toRouterView
}}),
t
.
_v
(
" "
),
n
(
"div"
,{
staticClass
:
"setting-wrap__body"
},[
n
(
"div"
,{
staticClass
:
"content"
,
attrs
:{
id
:
"content"
}},[
n
(
"div"
,{
staticClass
:
"content-body"
,
style
:{
height
:
t
.
contentHeight
}},[
n
(
"div"
,{
staticClass
:
"left-menu"
,
style
:{
height
:
t
.
contentHeight
}},[
n
(
"vue-office-aside"
,{
ref
:
"asideMenu"
,
attrs
:{
projectName
:
t
.
projectName
,
collapseFlag
:
t
.
collapseFlag
}})],
1
),
t
.
_v
(
" "
),
n
(
"transition"
,{
attrs
:{
name
:
"fade"
,
mode
:
"out-in"
}},[
n
(
"router-view"
)],
1
)],
1
)])])],
1
)},
staticRenderFns
:[]};
var
i
=
n
(
"VU/8"
)(
a
,
o
,
!
1
,
function
(
t
){
n
(
"tUyM"
)},
null
,
null
);
e
.
default
=
i
.
exports
},
tUyM
:
function
(
t
,
e
){}});
\ No newline at end of file
webpackJsonp
([
35
],{
VlR1
:
function
(
t
,
e
,
n
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
a
=
{
name
:
"setting"
,
data
:
function
(){
return
{
projectName
:
"haoban-manage-web"
,
contentHeight
:
"0px"
,
collapseFlag
:
!
1
}},
computed
:{},
methods
:{
toRouterView
:
function
(
t
){
this
.
$router
.
push
({
path
:
t
.
path
})},
collapseTag
:
function
(
t
){
this
.
collapseFlag
=
t
}},
watch
:{
$route
:{
handler
:
function
(
t
,
e
){
this
.
$refs
.
asideMenu
.
refreshRoute
()},
deep
:
!
0
}},
mounted
:
function
(){
this
.
pathName
=
window
.
location
.
hash
.
split
(
"/"
)[
1
],
this
.
contentHeight
=
(
document
.
documentElement
.
clientHeight
||
document
.
body
.
clientHeight
)
-
64
+
"px"
}},
o
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
n
=
t
.
_self
.
_c
||
e
;
return
n
(
"div"
,{
staticClass
:
"setting-wrap"
},[
n
(
"vue-office-header"
,{
attrs
:{
projectName
:
t
.
projectName
},
on
:{
collapseTag
:
t
.
collapseTag
,
toRouterView
:
t
.
toRouterView
}}),
t
.
_v
(
" "
),
n
(
"div"
,{
staticClass
:
"setting-wrap__body"
},[
n
(
"div"
,{
staticClass
:
"content"
,
attrs
:{
id
:
"content"
}},[
n
(
"div"
,{
staticClass
:
"content-body"
,
style
:{
height
:
t
.
contentHeight
}},[
n
(
"div"
,{
staticClass
:
"left-menu"
,
style
:{
height
:
t
.
contentHeight
}},[
n
(
"vue-office-aside"
,{
ref
:
"asideMenu"
,
attrs
:{
projectName
:
t
.
projectName
,
collapseFlag
:
t
.
collapseFlag
}})],
1
),
t
.
_v
(
" "
),
n
(
"transition"
,{
attrs
:{
name
:
"fade"
,
mode
:
"out-in"
}},[
n
(
"router-view"
)],
1
)],
1
)])])],
1
)},
staticRenderFns
:[]};
var
i
=
n
(
"VU/8"
)(
a
,
o
,
!
1
,
function
(
t
){
n
(
"tUyM"
)},
null
,
null
);
e
.
default
=
i
.
exports
},
tUyM
:
function
(
t
,
e
){}});
\ No newline at end of file
dist/static/js/3
5.c75699cc6fe47597f200
.js
→
dist/static/js/3
6.d31850464ea8bdf6593f
.js
View file @
26eaaffa
webpackJsonp
([
35
],{
H8Kg
:
function
(
t
,
e
,
i
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
s
=
{
name
:
"image-com"
,
props
:{
childItem
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
{}}}},
methods
:{
getZhLen
:
function
(
t
){
for
(
var
e
=
0
,
i
=
0
;
i
<
t
.
length
;
i
++
){
null
!=
t
.
charAt
(
i
).
match
(
/
[^\x
00-
\x
ff
]
/gi
)?
e
+=
1
:
e
+=
.
5
}
return
Math
.
ceil
(
e
)}}},
a
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
i
=
t
.
_self
.
_c
||
e
;
return
i
(
"div"
,{
staticClass
:
"image-com flex"
},[
i
(
"div"
,{
class
:[
"opencard-item-title"
,
t
.
getZhLen
(
t
.
childItem
.
title
)
>=
6
?
"title-pre-wrap"
:
""
]},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
title
))]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"must"
},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
isMust
?
"(必填)"
:
""
))]),
t
.
_v
(
" "
),
t
.
_m
(
0
)])},
staticRenderFns
:[
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,{
staticClass
:
"draged-item-show"
},[
e
(
"span"
,{
staticClass
:
"show-warm-text show-warm-text-flag select-flag"
},[
e
(
"i"
,{
staticClass
:
"iconfont icon-icon"
})])])}]};
var
n
=
i
(
"VU/8"
)(
s
,
a
,
!
1
,
function
(
t
){
i
(
"o82P"
)},
"data-v-d0955ee0"
,
null
);
e
.
default
=
n
.
exports
},
o82P
:
function
(
t
,
e
){}});
\ No newline at end of file
webpackJsonp
([
36
],{
H8Kg
:
function
(
t
,
e
,
i
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
s
=
{
name
:
"image-com"
,
props
:{
childItem
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
{}}}},
methods
:{
getZhLen
:
function
(
t
){
for
(
var
e
=
0
,
i
=
0
;
i
<
t
.
length
;
i
++
){
null
!=
t
.
charAt
(
i
).
match
(
/
[^\x
00-
\x
ff
]
/gi
)?
e
+=
1
:
e
+=
.
5
}
return
Math
.
ceil
(
e
)}}},
a
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
i
=
t
.
_self
.
_c
||
e
;
return
i
(
"div"
,{
staticClass
:
"image-com flex"
},[
i
(
"div"
,{
class
:[
"opencard-item-title"
,
t
.
getZhLen
(
t
.
childItem
.
title
)
>=
6
?
"title-pre-wrap"
:
""
]},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
title
))]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"must"
},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
isMust
?
"(必填)"
:
""
))]),
t
.
_v
(
" "
),
t
.
_m
(
0
)])},
staticRenderFns
:[
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,{
staticClass
:
"draged-item-show"
},[
e
(
"span"
,{
staticClass
:
"show-warm-text show-warm-text-flag select-flag"
},[
e
(
"i"
,{
staticClass
:
"iconfont icon-icon"
})])])}]};
var
n
=
i
(
"VU/8"
)(
s
,
a
,
!
1
,
function
(
t
){
i
(
"o82P"
)},
"data-v-d0955ee0"
,
null
);
e
.
default
=
n
.
exports
},
o82P
:
function
(
t
,
e
){}});
\ No newline at end of file
dist/static/js/3
6.61a1c2681f78e1fd7e80
.js
→
dist/static/js/3
7.8016d3ac07df8acaf73d
.js
View file @
26eaaffa
webpackJsonp
([
36
],{
CqVe
:
function
(
t
,
e
){},
W0k8
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"2eFk"
),
i
=
a
(
"fvdr"
),
c
=
a
(
"Qie6"
),
o
=
{
name
:
"reviewed"
,
data
:
function
(){
return
{
bgHeight
:
window
.
screen
.
availHeight
-
380
+
"px"
,
appName
:
"不良评价"
,
appIcon
:
"icon-ribao"
,
activeSelTab
:
"1"
,
activeTab
:
"1"
,
tabListData
:[{
tabId
:
"1"
,
tabName
:
"不良评价回访记录"
,
icon
:
"icon-badreviewstatistics"
,
onlyIconActive
:
!
1
}],
activeBrand
:
""
,
activeGroup
:
""
}},
computed
:{},
methods
:{
changeRoute
:
function
(
t
){
this
.
$router
.
push
(
t
)},
selectBrandId
:
function
(
t
,
e
){
this
.
activeBrand
=
t
,
this
.
activeGroup
=
e
},
setSelectTab
:
function
(
t
){
switch
(
this
.
activeTab
=
t
.
tabId
,
t
.
tabId
){
case
"1"
:
this
.
changeRoute
(
"badEvaluateRecord"
);
break
;
case
"2"
:
this
.
changeRoute
(
"badEvaluateSet"
)}},
showTab
:
function
(
t
){
this
.
activeTab
=
t
,
this
.
activeSelTab
=
t
,
this
.
tabListData
.
forEach
(
function
(
e
){
e
.
tabId
==
t
&&
(
e
.
onlyIconActive
=!
1
),
e
.
children
&&
e
.
children
.
forEach
(
function
(
a
){
a
.
tabId
==
t
&&
(
e
.
onlyIconActive
=!
0
),
a
.
children
&&
a
.
children
.
forEach
(
function
(
a
){
a
.
tabId
==
t
&&
(
e
.
onlyIconActive
=!
0
)})})})}},
watch
:{
activeBrand
:
function
(
t
,
e
){
this
.
activeBrand
=
t
},
activeGroup
:
function
(
t
,
e
){
this
.
activeGroup
=
t
}},
mounted
:
function
(){
var
t
=
this
.
$route
.
query
.
appIcon
;
t
&&
(
this
.
appIcon
=
window
.
unescape
(
t
)),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
n
.
a
,
commonAppTop
:
i
.
a
,
commonDetailLeft
:
c
.
a
}},
s
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"my-customer-wrap common-set-wrap"
},[
a
(
"div"
,{
staticClass
:
"right-content"
},[
a
(
"common-app-top"
,{
attrs
:{
appName
:
t
.
appName
,
appIcon
:
t
.
appIcon
},
on
:{
selectBrandId
:
t
.
selectBrandId
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"right-box"
,
style
:{
"min-height"
:
t
.
bgHeight
}},[
a
(
"div"
,{
staticClass
:
"apps-content flex"
,
style
:{
height
:
t
.
bgHeight
}},[
a
(
"div"
,{
staticClass
:
"apps-content-left w-157"
},[
a
(
"common-detail-left"
,{
attrs
:{
tabListData
:
t
.
tabListData
,
activeSelTab
:
t
.
activeSelTab
},
on
:{
setSelectTab
:
t
.
setSelectTab
}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apps-content-right"
},[
a
(
"transition"
,{
attrs
:{
name
:
"fade"
,
mode
:
"out-in"
}},[
a
(
"router-view"
,{
attrs
:{
brandId
:
t
.
activeBrand
,
activeGroupId
:
t
.
activeGroup
,
tabType
:
t
.
activeTab
},
on
:{
showTab
:
t
.
showTab
}})],
1
)],
1
)])])],
1
),
t
.
_v
(
" "
),
a
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[]};
var
r
=
a
(
"VU/8"
)(
o
,
s
,
!
1
,
function
(
t
){
a
(
"CqVe"
)},
"data-v-b841b8f6"
,
null
);
e
.
default
=
r
.
exports
}});
\ No newline at end of file
webpackJsonp
([
37
],{
CqVe
:
function
(
t
,
e
){},
W0k8
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"2eFk"
),
i
=
a
(
"fvdr"
),
c
=
a
(
"Qie6"
),
o
=
{
name
:
"reviewed"
,
data
:
function
(){
return
{
bgHeight
:
window
.
screen
.
availHeight
-
380
+
"px"
,
appName
:
"不良评价"
,
appIcon
:
"icon-ribao"
,
activeSelTab
:
"1"
,
activeTab
:
"1"
,
tabListData
:[{
tabId
:
"1"
,
tabName
:
"不良评价回访记录"
,
icon
:
"icon-badreviewstatistics"
,
onlyIconActive
:
!
1
}],
activeBrand
:
""
,
activeGroup
:
""
}},
computed
:{},
methods
:{
changeRoute
:
function
(
t
){
this
.
$router
.
push
(
t
)},
selectBrandId
:
function
(
t
,
e
){
this
.
activeBrand
=
t
,
this
.
activeGroup
=
e
},
setSelectTab
:
function
(
t
){
switch
(
this
.
activeTab
=
t
.
tabId
,
t
.
tabId
){
case
"1"
:
this
.
changeRoute
(
"badEvaluateRecord"
);
break
;
case
"2"
:
this
.
changeRoute
(
"badEvaluateSet"
)}},
showTab
:
function
(
t
){
this
.
activeTab
=
t
,
this
.
activeSelTab
=
t
,
this
.
tabListData
.
forEach
(
function
(
e
){
e
.
tabId
==
t
&&
(
e
.
onlyIconActive
=!
1
),
e
.
children
&&
e
.
children
.
forEach
(
function
(
a
){
a
.
tabId
==
t
&&
(
e
.
onlyIconActive
=!
0
),
a
.
children
&&
a
.
children
.
forEach
(
function
(
a
){
a
.
tabId
==
t
&&
(
e
.
onlyIconActive
=!
0
)})})})}},
watch
:{
activeBrand
:
function
(
t
,
e
){
this
.
activeBrand
=
t
},
activeGroup
:
function
(
t
,
e
){
this
.
activeGroup
=
t
}},
mounted
:
function
(){
var
t
=
this
.
$route
.
query
.
appIcon
;
t
&&
(
this
.
appIcon
=
window
.
unescape
(
t
)),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
n
.
a
,
commonAppTop
:
i
.
a
,
commonDetailLeft
:
c
.
a
}},
s
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"my-customer-wrap common-set-wrap"
},[
a
(
"div"
,{
staticClass
:
"right-content"
},[
a
(
"common-app-top"
,{
attrs
:{
appName
:
t
.
appName
,
appIcon
:
t
.
appIcon
},
on
:{
selectBrandId
:
t
.
selectBrandId
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"right-box"
,
style
:{
"min-height"
:
t
.
bgHeight
}},[
a
(
"div"
,{
staticClass
:
"apps-content flex"
,
style
:{
height
:
t
.
bgHeight
}},[
a
(
"div"
,{
staticClass
:
"apps-content-left w-157"
},[
a
(
"common-detail-left"
,{
attrs
:{
tabListData
:
t
.
tabListData
,
activeSelTab
:
t
.
activeSelTab
},
on
:{
setSelectTab
:
t
.
setSelectTab
}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apps-content-right"
},[
a
(
"transition"
,{
attrs
:{
name
:
"fade"
,
mode
:
"out-in"
}},[
a
(
"router-view"
,{
attrs
:{
brandId
:
t
.
activeBrand
,
activeGroupId
:
t
.
activeGroup
,
tabType
:
t
.
activeTab
},
on
:{
showTab
:
t
.
showTab
}})],
1
)],
1
)])])],
1
),
t
.
_v
(
" "
),
a
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[]};
var
r
=
a
(
"VU/8"
)(
o
,
s
,
!
1
,
function
(
t
){
a
(
"CqVe"
)},
"data-v-b841b8f6"
,
null
);
e
.
default
=
r
.
exports
}});
\ No newline at end of file
dist/static/js/4
6.319059c73e318e00633c
.js
→
dist/static/js/4
5.0fe24e1d16072c526787
.js
View file @
26eaaffa
webpackJsonp
([
46
],{
"7Wlc"
:
function
(
t
,
a
){},
cuIN
:
function
(
t
,
a
,
e
){
"use strict"
;
Object
.
defineProperty
(
a
,
"__esModule"
,{
value
:
!
0
});
var
n
=
e
(
"2eFk"
),
c
=
e
(
"fvdr"
),
i
=
e
(
"Qie6"
),
o
=
{
name
:
"reviewed"
,
data
:
function
(){
return
{
bgHeight
:
window
.
screen
.
availHeight
-
380
+
"px"
,
appName
:
"我的顾客"
,
appIcon
:
""
,
activeTab
:
"1"
,
tabListData
:[{
tabId
:
"1"
,
tabName
:
"会员基础设置"
,
icon
:
"icon-sousuoshezhi"
},{
tabId
:
"2"
,
tabName
:
"在线沟通设置"
,
icon
:
"icon-zaixiangoutong"
}],
activeBrand
:
"1"
,
activeGroup
:
""
}},
computed
:{},
methods
:{
selectBrandId
:
function
(
t
,
a
){
this
.
activeBrand
=
t
,
this
.
activeGroup
=
a
},
setSelectTab
:
function
(
t
){
this
.
activeTab
=
t
.
tabId
}},
watch
:{
activeBrand
:
function
(
t
,
a
){
this
.
activeBrand
=
t
},
activeGroup
:
function
(
t
,
a
){
this
.
activeGroup
=
t
}},
mounted
:
function
(){
var
t
=
this
.
$route
.
query
.
appIcon
;
t
&&
(
this
.
appIcon
=
window
.
unescape
(
t
)),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
n
.
a
,
commonAppTop
:
c
.
a
,
commonDetailLeft
:
i
.
a
}},
s
=
{
render
:
function
(){
var
t
=
this
,
a
=
t
.
$createElement
,
e
=
t
.
_self
.
_c
||
a
;
return
e
(
"div"
,{
staticClass
:
"my-customer-wrap common-set-wrap"
},[
e
(
"div"
,{
staticClass
:
"right-content"
},[
e
(
"common-app-top"
,{
attrs
:{
appName
:
t
.
appName
,
appIcon
:
t
.
appIcon
},
on
:{
selectBrandId
:
t
.
selectBrandId
}}),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"right-box"
},[
e
(
"div"
,{
staticClass
:
"apps-content flex"
,
style
:{
"min-height"
:
t
.
bgHeight
}},[
e
(
"div"
,{
staticClass
:
"apps-content-left w-157"
},[
e
(
"common-detail-left"
,{
attrs
:{
tabListData
:
t
.
tabListData
},
on
:{
setSelectTab
:
t
.
setSelectTab
}})],
1
),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"apps-content-right"
},[
e
(
"app-detail"
,{
attrs
:{
brandId
:
t
.
activeBrand
,
activeGroupId
:
t
.
activeGroup
,
tabType
:
t
.
activeTab
}})],
1
)])])],
1
),
t
.
_v
(
" "
),
e
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[]};
var
r
=
e
(
"VU/8"
)(
o
,
s
,
!
1
,
function
(
t
){
e
(
"7Wlc"
)},
"data-v-7ddf1a12"
,
null
);
a
.
default
=
r
.
exports
}});
\ No newline at end of file
webpackJsonp
([
45
],{
"7Wlc"
:
function
(
t
,
a
){},
cuIN
:
function
(
t
,
a
,
e
){
"use strict"
;
Object
.
defineProperty
(
a
,
"__esModule"
,{
value
:
!
0
});
var
n
=
e
(
"2eFk"
),
c
=
e
(
"fvdr"
),
i
=
e
(
"Qie6"
),
o
=
{
name
:
"reviewed"
,
data
:
function
(){
return
{
bgHeight
:
window
.
screen
.
availHeight
-
380
+
"px"
,
appName
:
"我的顾客"
,
appIcon
:
""
,
activeTab
:
"1"
,
tabListData
:[{
tabId
:
"1"
,
tabName
:
"会员基础设置"
,
icon
:
"icon-sousuoshezhi"
},{
tabId
:
"2"
,
tabName
:
"在线沟通设置"
,
icon
:
"icon-zaixiangoutong"
}],
activeBrand
:
"1"
,
activeGroup
:
""
}},
computed
:{},
methods
:{
selectBrandId
:
function
(
t
,
a
){
this
.
activeBrand
=
t
,
this
.
activeGroup
=
a
},
setSelectTab
:
function
(
t
){
this
.
activeTab
=
t
.
tabId
}},
watch
:{
activeBrand
:
function
(
t
,
a
){
this
.
activeBrand
=
t
},
activeGroup
:
function
(
t
,
a
){
this
.
activeGroup
=
t
}},
mounted
:
function
(){
var
t
=
this
.
$route
.
query
.
appIcon
;
t
&&
(
this
.
appIcon
=
window
.
unescape
(
t
)),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
appDetail
:
n
.
a
,
commonAppTop
:
c
.
a
,
commonDetailLeft
:
i
.
a
}},
s
=
{
render
:
function
(){
var
t
=
this
,
a
=
t
.
$createElement
,
e
=
t
.
_self
.
_c
||
a
;
return
e
(
"div"
,{
staticClass
:
"my-customer-wrap common-set-wrap"
},[
e
(
"div"
,{
staticClass
:
"right-content"
},[
e
(
"common-app-top"
,{
attrs
:{
appName
:
t
.
appName
,
appIcon
:
t
.
appIcon
},
on
:{
selectBrandId
:
t
.
selectBrandId
}}),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"right-box"
},[
e
(
"div"
,{
staticClass
:
"apps-content flex"
,
style
:{
"min-height"
:
t
.
bgHeight
}},[
e
(
"div"
,{
staticClass
:
"apps-content-left w-157"
},[
e
(
"common-detail-left"
,{
attrs
:{
tabListData
:
t
.
tabListData
},
on
:{
setSelectTab
:
t
.
setSelectTab
}})],
1
),
t
.
_v
(
" "
),
e
(
"div"
,{
staticClass
:
"apps-content-right"
},[
e
(
"app-detail"
,{
attrs
:{
brandId
:
t
.
activeBrand
,
activeGroupId
:
t
.
activeGroup
,
tabType
:
t
.
activeTab
}})],
1
)])])],
1
),
t
.
_v
(
" "
),
e
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[]};
var
r
=
e
(
"VU/8"
)(
o
,
s
,
!
1
,
function
(
t
){
e
(
"7Wlc"
)},
"data-v-7ddf1a12"
,
null
);
a
.
default
=
r
.
exports
}});
\ No newline at end of file
dist/static/js/45.59087ce06e533b1bd959.js
deleted
100644 → 0
View file @
77e83fb2
webpackJsonp
([
45
],{
lFAe
:
function
(
e
,
t
,
i
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
s
=
i
(
"//Fk"
),
a
=
i
.
n
(
s
),
l
=
i
(
"gBtx"
),
n
=
i
.
n
(
l
),
d
=
i
(
"mvHQ"
),
o
=
i
.
n
(
d
),
r
=
i
(
"DAYN"
),
f
=
i
.
n
(
r
),
c
=
i
(
"Isrn"
),
p
=
i
(
"l46T"
),
m
=
i
(
"fPyK"
),
u
=
[{
parentCode
:
"defineInfo"
,
fieldCode
:
"-1"
,
fieldName
:
"单行输入框"
,
systemFlag
:
!
1
,
fieldEdited
:
1
,
fieldType
:
"0"
,
fixed
:
!
1
,
fieldDescription
:
"请输入"
,
fieldOperations
:{
ruleContent
:[],
fieldContent
:[]},
isMust
:
!
1
,
staffRecordsIds
:{
staffVisible
:
"1"
,
staffModify
:
"1"
}},{
parentCode
:
"defineInfo"
,
fieldCode
:
"-1"
,
fieldName
:
"多行输入框"
,
systemFlag
:
!
1
,
fieldEdited
:
1
,
fieldType
:
"1"
,
fixed
:
!
1
,
fieldDescription
:
"请输入"
,
fieldOperations
:{
ruleContent
:[],
fieldContent
:[]},
isMust
:
!
1
,
staffRecordsIds
:{
staffVisible
:
"1"
,
staffModify
:
"1"
}},{
parentCode
:
"defineInfo"
,
fieldCode
:
"-1"
,
fieldName
:
"单选框"
,
systemFlag
:
!
1
,
fieldEdited
:
1
,
fieldType
:
"2"
,
fixed
:
!
1
,
fieldDescription
:
"请选择"
,
fieldOperations
:{
ruleContent
:[],
fieldContent
:[{
type
:
"radio"
,
name
:
"选项1"
},{
type
:
"radio"
,
name
:
"选项2"
},{
type
:
"radio"
,
name
:
"选项3"
}]},
isMust
:
!
1
,
staffRecordsIds
:{
staffVisible
:
"1"
,
staffModify
:
"1"
}},{
parentCode
:
"defineInfo"
,
fieldCode
:
"-1"
,
fieldName
:
"多选框"
,
systemFlag
:
!
1
,
fieldEdited
:
1
,
fieldType
:
"3"
,
fixed
:
!
1
,
fieldDescription
:
"请选择"
,
fieldOperations
:{
ruleContent
:[],
fieldContent
:[{
type
:
"checkbox"
,
name
:
"选项1"
},{
type
:
"checkbox"
,
name
:
"选项2"
},{
type
:
"checkbox"
,
name
:
"选项3"
}]},
isMust
:
!
1
,
staffRecordsIds
:{
staffVisible
:
"1"
,
staffModify
:
"1"
}},{
parentCode
:
"defineInfo"
,
fieldCode
:
"-1"
,
fieldName
:
"日期"
,
systemFlag
:
!
1
,
fieldEdited
:
1
,
fieldType
:
"4"
,
fixed
:
!
1
,
fieldDescription
:
"请选择"
,
fieldOperations
:{
typeValue
:
"yyyy-MM-dd"
,
ruleContent
:[{
type
:
"radio"
,
name
:
"年-月-日"
,
key
:
"yyyy-MM-dd"
,
isEdit
:
1
},{
type
:
"radio"
,
name
:
"年-月"
,
key
:
"yyyy-MM"
,
isEdit
:
1
}],
fieldContent
:[]},
isMust
:
!
1
,
staffRecordsIds
:{
staffVisible
:
"1"
,
staffModify
:
"1"
}},{
parentCode
:
"defineInfo"
,
fieldCode
:
"-1"
,
fieldName
:
"日期区间"
,
systemFlag
:
!
1
,
fieldEdited
:
1
,
fieldType
:
"5"
,
fixed
:
!
1
,
fieldOperations
:{
startName
:
"开始时间"
,
endName
:
"结束时间"
,
startDescription
:
"请选择开始时间"
,
endDescription
:
"请选择结束时间"
,
typeValue
:
"yyyy-MM-dd"
,
ruleContent
:[{
type
:
"radio"
,
name
:
"年-月-日"
,
key
:
"yyyy-MM-dd"
,
isEdit
:
1
},{
type
:
"radio"
,
name
:
"年-月"
,
key
:
"yyyy-MM"
,
isEdit
:
1
}],
fieldContent
:[]},
isMust
:
!
1
,
staffRecordsIds
:{
staffVisible
:
"1"
,
staffModify
:
"1"
}},{
parentCode
:
"defineInfo"
,
fieldCode
:
"-1"
,
fieldName
:
"数字输入框"
,
systemFlag
:
!
1
,
fieldType
:
"6"
,
fieldEdited
:
1
,
fixed
:
!
1
,
fieldDescription
:
"请输入"
,
fieldOperations
:{
ruleContent
:[],
fieldContent
:[],
unit
:
"元"
},
isMust
:
!
1
,
staffRecordsIds
:{
staffVisible
:
"1"
,
staffModify
:
"1"
}},{
parentCode
:
"defineInfo"
,
fieldCode
:
"-1"
,
fieldName
:
"图片"
,
systemFlag
:
!
1
,
fieldType
:
"7"
,
fieldEdited
:
1
,
fixed
:
!
1
,
fieldDescription
:
"最多上传9张图片"
,
fieldOperations
:{
ruleContent
:[],
fieldContent
:[]},
isMust
:
!
1
,
staffRecordsIds
:{
staffVisible
:
"1"
,
staffModify
:
"1"
}}],
v
=
function
(){
return
u
},
g
=
i
(
"3E4D"
),
C
=
i
(
"Ch4/"
),
h
=
i
(
"PI0u"
),
y
=
i
(
"P9l9"
),
_
=
{
name
:
"staffRecordsTemplate"
,
data
:
function
(){
return
{
activeName
:
"first"
,
rightName
:
"first"
,
dialogVisible
:
!
1
,
bodyHeight
:(
document
.
documentElement
.
clientHeight
||
document
.
body
.
clientHeight
)
+
"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
},
selectKey
:
""
,
baseInfo
:[],
jobInfo
:[],
selfInfo
:[],
eduInfo
:[],
contractInfo
:[],
contactInfo
:[],
personalInfo
:[],
defineInfo
:
v
(),
currentIndex
:
0
,
currentChildKey
:
null
,
currentChildIndex
:
null
,
childIndex
:
0
,
tempaletDataList
:[{
parentCode
:
"0"
,
fieldTemplateId
:
""
,
parentFieldTemplateId
:
"0"
,
minCount
:
10
,
maxCount
:
20
,
fieldCode
:
"baseInfo"
,
fieldName
:
"基本信息"
,
fieldEdited
:
!
1
,
fieldOperations
:{
ruleContent
:[],
fieldContent
:[]},
isMust
:
!
1
,
fieldDescription
:
""
,
children
:[],
fieldType
:
""
,
staffRecordsIds
:{},
status
:
""
},{
parentCode
:
"0"
,
fieldTemplateId
:
""
,
parentFieldTemplateId
:
"0"
,
minCount
:
10
,
maxCount
:
20
,
fieldCode
:
"jobInfo"
,
fieldName
:
"工作信息"
,
fieldEdited
:
!
1
,
isMust
:
!
1
,
fieldDescription
:
""
,
children
:[],
fieldType
:
""
,
staffRecordsIds
:{},
status
:
""
},{
parentCode
:
"0"
,
fieldTemplateId
:
""
,
parentFieldTemplateId
:
"0"
,
minCount
:
10
,
maxCount
:
20
,
fieldCode
:
"selfInfo"
,
fieldName
:
"个人信息"
,
fieldEdited
:
!
1
,
isMust
:
!
1
,
fieldDescription
:
""
,
children
:[],
fieldType
:
""
,
staffRecordsIds
:{},
status
:
""
},{
parentCode
:
"0"
,
fieldTemplateId
:
""
,
parentFieldTemplateId
:
"0"
,
minCount
:
10
,
maxCount
:
20
,
fieldCode
:
"eduInfo"
,
fieldName
:
"学历信息"
,
fieldEdited
:
!
1
,
isMust
:
!
1
,
fieldDescription
:
""
,
children
:[],
fieldType
:
""
,
staffRecordsIds
:{},
status
:
""
},{
parentCode
:
"0"
,
fieldTemplateId
:
""
,
parentFieldTemplateId
:
"0"
,
minCount
:
10
,
maxCount
:
20
,
fieldCode
:
"contractInfo"
,
fieldName
:
"合同信息"
,
fieldEdited
:
!
1
,
isMust
:
!
1
,
fieldDescription
:
""
,
children
:[],
fieldType
:
""
,
staffRecordsIds
:{},
status
:
""
},{
parentCode
:
"0"
,
fieldTemplateId
:
""
,
parentFieldTemplateId
:
"0"
,
minCount
:
10
,
maxCount
:
20
,
fieldCode
:
"contactInfo"
,
fieldName
:
"紧急联系人"
,
fieldEdited
:
!
1
,
isMust
:
!
1
,
fieldDescription
:
""
,
children
:[],
fieldType
:
""
,
staffRecordsIds
:{},
status
:
""
},{
parentCode
:
"0"
,
fieldTemplateId
:
""
,
parentFieldTemplateId
:
"0"
,
minCount
:
10
,
maxCount
:
20
,
fieldCode
:
"personalInfo"
,
fieldName
:
"个人资料"
,
fieldEdited
:
!
1
,
isMust
:
!
1
,
fieldDescription
:
""
,
children
:[],
fieldType
:
""
,
staffRecordsIds
:{},
status
:
""
}],
fieldParent
:{
baseInfo
:{},
jobInfo
:{},
selfInfo
:{},
eduInfo
:{},
contractInfo
:{},
contactInfo
:{},
personalInfo
:{}},
setList
:[]}},
created
:
function
(){},
methods
:{
baseInfoClone
:
function
(){},
clickItem
:
function
(
e
){
this
.
tempaletDataList
.
map
(
function
(
e
){
return
e
.
fieldCode
}).
includes
(
e
.
parentCode
)
||
"defineInfo"
===
e
.
parentCode
||
(
this
.
tempaletDataList
.
push
(
this
.
fieldParent
[
e
.
parentCode
]),
this
.
tempaletDataList
=
JSON
.
parse
(
o
()(
this
.
tempaletDataList
)))},
checkMove
:
function
(
e
){
var
t
=!
0
;
return
"baseInfo"
!=
e
.
draggedContext
.
element
.
parentCode
||
e
.
to
.
className
.
includes
(
"baseInfo"
)
||
(
t
=!
1
),
"jobInfo"
!=
e
.
draggedContext
.
element
.
parentCode
||
e
.
to
.
className
.
includes
(
"jobInfo"
)
||
(
t
=!
1
),
"selfInfo"
!=
e
.
draggedContext
.
element
.
parentCode
||
e
.
to
.
className
.
includes
(
"selfInfo"
)
||
(
t
=!
1
),
"eduInfo"
!=
e
.
draggedContext
.
element
.
parentCode
||
e
.
to
.
className
.
includes
(
"eduInfo"
)
||
(
t
=!
1
),
"contractInfo"
!=
e
.
draggedContext
.
element
.
parentCode
||
e
.
to
.
className
.
includes
(
"contractInfo"
)
||
(
t
=!
1
),
"contactInfo"
!=
e
.
draggedContext
.
element
.
parentCode
||
e
.
to
.
className
.
includes
(
"contactInfo"
)
||
(
t
=!
1
),
"personalInfo"
!=
e
.
draggedContext
.
element
.
parentCode
||
e
.
to
.
className
.
includes
(
"personalInfo"
)
||
(
t
=!
1
),
t
},
onMove
:
function
(
e
){
return
!!
this
.
checkMove
(
e
)
&&!
e
.
draggedContext
.
element
.
fixed
},
onChildMove
:
function
(
e
){
return
-
1
!=
e
.
dragged
.
className
.
indexOf
(
"block-class"
)
&&
e
.
to
.
className
.
indexOf
(
"block-wrap"
),
!
0
},
itemMoveEnd
:
function
(
e
){
var
t
=
this
;
t
.
isDragging
=!
1
,
t
.
selectKey
=
""
,
t
.
selectKey
=
e
.
clone
.
dataset
.
type
,
t
.
tempaletDataList
.
forEach
(
function
(
e
,
i
){
e
.
children
.
forEach
(
function
(
e
,
i
){
var
s
;
e
.
systemFlag
&&
e
.
fieldCode
==
t
.
selectKey
&&
(
s
=
e
.
parentCode
,
t
[
s
].
forEach
(
function
(
e
,
i
){
e
.
fieldCode
==
t
.
selectKey
&&
(
e
.
fixed
=!
0
)}))})}),
t
.
selectKey
=
""
,
t
.
tempaletDataList
=
JSON
.
parse
(
o
()(
t
.
tempaletDataList
)),
t
.
$forceUpdate
()},
selectItem
:
function
(
e
,
t
){
this
.
currentIndex
=
t
,
this
.
currentChildIndex
=
null
},
deleteItem
:
function
(
e
,
t
){
this
.
tempaletDataList
.
splice
(
t
,
1
),
this
.
currentIndex
--
,
this
.
currentIndex
<=
0
&&
(
this
.
currentIndex
=
0
),
this
[
e
].
forEach
(
function
(
e
,
t
){
e
.
fixed
=!
1
})},
addDragItem
:
function
(
e
){
return
!
1
},
selectChildItem
:
function
(
e
,
t
,
i
,
s
){
this
.
currentIndex
=
null
,
this
.
currentChildKey
=
e
,
this
.
childIndex
=
t
,
this
.
currentChildIndex
=
i
},
deleteChildItem
:
function
(
e
,
t
,
i
,
s
,
a
){
this
.
childIndex
=
t
,
this
.
currentIndex
=
null
,
this
.
currentChildKey
=
this
.
tempaletDataList
[
t
].
children
[
i
].
fieldCode
,
this
.
currentChildIndex
--
,
this
.
currentChildIndex
<=
0
&&
(
this
.
currentChildIndex
=
0
),
this
.
tempaletDataList
=
JSON
.
parse
(
o
()(
this
.
tempaletDataList
)),
this
.
tempaletDataList
[
t
].
children
.
splice
(
i
,
1
),
this
[
a
.
parentCode
].
forEach
(
function
(
t
,
i
){
t
.
fieldCode
===
e
&&
(
t
.
fixed
=!
1
)})},
delChildItem
:
function
(
e
,
t
,
i
){
i
.
fieldOperations
.
fieldContent
.
splice
(
t
,
1
)},
addChildItem
:
function
(
e
,
t
,
i
){
if
(
19
!=
t
){
var
s
=
"radio"
;
i
.
systemFlag
||
3
!==
parseInt
(
i
.
fieldType
)
||
(
s
=
"checkbox"
),
i
.
fieldOperations
.
fieldContent
.
push
({
type
:
s
,
name
:
"请输入选项"
});
var
a
=
i
.
fieldOperations
.
fieldContent
.
map
(
function
(
e
){
return
e
.
name
});
this
.
isRepeat
(
a
)
&&
(
i
.
fieldOperations
.
fieldContent
.
splice
(
i
.
fieldOperations
.
fieldContent
.
length
-
1
,
1
),
a
.
splice
(
i
.
fieldOperations
.
fieldContent
.
length
-
1
,
1
),
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"选项不能重复"
}))}
else
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"最多可添加 20 项"
})},
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
,
s
){
if
(
""
==
e
.
fieldName
)
return
t
.
filedFlag
=!
1
,
t
.
name
=
e
.
fieldName
||
""
,
!
1
;
e
.
children
.
length
&&
e
.
children
.
forEach
(
function
(
e
,
s
){
if
(
e
.
systemFlag
&&
""
==
e
.
fieldName
)
return
t
.
filedFlag
=!
1
,
t
.
name
=
e
.
fieldName
||
""
,
!
1
;
i
.
push
(
e
.
fieldName
)})}),
this
.
isRepeat
(
i
)
&&
(
t
.
filedRepeat
=!
0
),
t
},
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
(
h
.
a
)(
function
(
e
){
var
t
=
JSON
.
parse
(
o
()(
this
.
tempaletDataList
)),
i
=
this
.
checkTag
(
t
),
s
=
[];
if
(
i
.
filedFlag
)
if
(
i
.
filedRepeat
)
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"字段标题不能重复"
});
else
{
if
(
t
.
forEach
(
function
(
e
,
t
){
e
.
sort
=
t
,
e
.
fixed
=!
0
===
e
.
fixed
?
1
:
0
,
e
.
isMust
=!
0
===
e
.
isMust
?
1
:
0
,
e
.
systemFlag
=!
0
===
e
.
systemFlag
?
1
:
0
,
e
.
parentFieldTemplateId
=
e
.
parentFieldTemplateId
?
e
.
parentFieldTemplateId
:
-
1
,
e
.
fieldTemplateId
=
e
.
fieldTemplateId
?
e
.
fieldTemplateId
:
-
1
,
e
.
children
.
forEach
(
function
(
t
,
i
){
s
.
push
(
t
),
t
.
sort
=
i
,
t
.
fixed
=!
0
===
t
.
fixed
?
1
:
0
,
t
.
isMust
=!
0
===
t
.
isMust
?
1
:
0
,
t
.
systemFlag
=!
0
===
t
.
systemFlag
?
1
:
0
,
e
.
systemFlag
||
(
t
.
fieldEdited
=
1
),
2
!==
parseInt
(
t
.
fieldType
)
&&
3
!==
parseInt
(
t
.
fieldType
)
||
t
.
fieldOperations
.
fieldContent
.
forEach
(
function
(
e
,
i
){
e
.
key
=
String
(
e
.
key
)?
String
(
e
.
key
):
""
,
t
.
systemFlag
||
e
.
hasOwnProperty
(
"key"
)
&&
""
!=
e
.
key
&&
"undefined"
!=
e
.
key
||
(
e
.
key
=
e
.
name
)}),
t
.
systemFlag
||
(
t
.
parentCode
=
e
.
fieldCode
),
t
.
fieldTemplateId
=
t
.
fieldTemplateId
?
t
.
fieldTemplateId
:
-
1
,
t
.
parentFieldTemplateId
=
e
.
fieldTemplateId
})}),
s
.
length
>
40
)
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"最多设置 40 个字段"
}),
!
1
;
"save"
===
e
?
this
.
saveAllData
(
t
):
this
.
postPreview
(
t
)}
else
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
i
.
name
+
"字段标题不能为空"
})},
500
),
saveAllData
:
function
(
e
){
var
t
=
this
,
i
=
{
templateContent
:
o
()(
e
)};
Object
(
y
.
e
)(
"/haoban-manage-web/record/record-template-save.json"
,
i
).
then
(
function
(
e
){
var
i
=
e
.
data
;
if
(
1
==
i
.
errorCode
)
return
g
.
a
.
showmsg
(
"保存成功"
,
"success"
),
void
t
.
changeRoute
(
"/fileSet"
);
C
.
a
.
errorMsg
(
i
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
postPreview
:
function
(
e
){
var
t
=
this
,
i
=
{
templateContent
:
o
()(
e
)};
Object
(
y
.
e
)(
"/haoban-manage-web/record/record-template-preview.json"
,
i
).
then
(
function
(
e
){
var
i
=
e
.
data
;
if
(
1
==
i
.
errorCode
){
var
s
=
window
.
location
.
origin
+
"/office-mobile/#/staffRecordsTemplate?enterpriseId="
+
i
.
result
;
return
t
.
$refs
.
qrcodePreview
.
qrcode
(
s
,
"record"
),
void
(
t
.
dialogVisible
=!
0
)}
C
.
a
.
errorMsg
(
i
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
closeDialog
:
function
(){
this
.
dialogVisible
=!
1
},
getAllFields
:
function
(){
var
e
=
this
;
Object
(
y
.
e
)(
"/haoban-manage-web/record/employee-find-system-template.json"
,{}).
then
(
function
(
t
){
var
i
=
t
.
data
;
1
!=
i
.
errorCode
?
C
.
a
.
errorMsg
(
i
):
e
.
handleAllFields
(
i
.
result
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
handleAllFields
:
function
(
e
){
var
t
=
this
;
e
.
forEach
(
function
(
e
,
i
){
t
.
hasOwnProperty
(
e
.
parentCode
)
&&
(
e
.
fixed
=
1
===
parseInt
(
e
.
fixed
),
e
.
isMust
=
1
===
parseInt
(
e
.
isMust
),
e
.
systemFlag
=!
0
,
e
.
fieldOperations
=
e
.
fieldOperations
?
JSON
.
parse
(
e
.
fieldOperations
):{},
e
.
staffRecordsIds
=
e
.
staffRecordsIds
?
JSON
.
parse
(
e
.
staffRecordsIds
):[],
t
[
e
.
parentCode
].
push
(
e
)),
t
.
fieldParent
.
hasOwnProperty
(
e
.
fieldCode
)
&&
(
e
.
children
=
[],
t
.
fieldParent
[
e
.
fieldCode
]
=
e
,
e
.
systemFlag
=!
0
)})},
getInfo
:
function
(){
var
e
=
this
;
Object
(
y
.
e
)(
"/haoban-manage-web/record/employee-find-template.json"
,{}).
then
(
function
(
t
){
var
i
=
t
.
data
;
if
(
1
==
i
.
errorCode
)
return
e
.
setList
=
[],
void
(
i
.
result
&&
i
.
result
.
length
&&
e
.
handleGetInfo
(
i
.
result
));
C
.
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
:
t
.
children
=
[],
0
==
t
.
parentCode
});
return
t
.
sort
(
function
(
e
,
t
){
return
e
.
sort
-
t
.
sort
}),
t
.
forEach
(
function
(
e
,
t
){
e
.
children
&&
e
.
children
.
length
&&
e
.
children
.
sort
(
function
(
e
,
t
){
return
e
.
sort
-
t
.
sort
})}),
t
},
handleGetInfo
:
function
(
e
){
var
t
=
this
,
i
=
JSON
.
parse
(
o
()(
e
));
t
.
setParent
=
[],
i
.
forEach
(
function
(
e
,
i
){
e
.
fixed
=
1
===
n
()(
e
.
fixed
),
e
.
isMust
=
1
===
n
()(
e
.
isMust
),
e
.
systemFlag
=
1
===
n
()(
e
.
systemFlag
),
e
.
fieldOperations
=
e
.
fieldOperations
?
JSON
.
parse
(
e
.
fieldOperations
):{},
e
.
staffRecordsIds
=
e
.
staffRecordsIds
?
JSON
.
parse
(
e
.
staffRecordsIds
):[],
e
.
systemFlag
&&
0
==
e
.
parentCode
&&
t
.
setParent
.
push
(
e
.
fieldCode
),
e
.
systemFlag
&&
0
!=
e
.
parentCode
&&
t
.
setList
.
push
(
e
.
fieldCode
)}),
t
.
tempaletDataList
=
t
.
treeData
(
i
),
setTimeout
(
function
(){
t
.
setFixed
()},
100
)},
setFixed
:
function
(){
var
e
=
this
;
e
.
setParent
.
forEach
(
function
(
t
,
i
){
e
[
t
].
forEach
(
function
(
t
,
i
){
e
.
setList
.
includes
(
t
.
fieldCode
)
&&
(
t
.
fixed
=!
0
)})})}},
watch
:{
isDragging
:
function
(
e
){
var
t
=
this
;
e
?
t
.
delayedDragging
=!
0
:
t
.
$nextTick
(
function
(){
t
.
delayedDragging
=!
1
})}},
components
:{
draggable
:
f
.
a
,
AddInput
:
c
.
a
,
limitInput
:
p
.
a
,
qrcodeDialog
:
m
.
a
},
mounted
:
function
(){
a
.
a
.
all
([
this
.
getAllFields
(),
this
.
getInfo
()]),
document
.
body
.
ondrop
=
function
(
e
){
e
.
preventDefault
(),
e
.
stopPropagation
()}}},
I
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
s
=
e
.
_self
.
_c
||
t
;
return
s
(
"div"
,{
staticClass
:
"template-wrap"
,
style
:{
height
:
e
.
bodyHeight
}},[
s
(
"div"
,{
staticClass
:
"template-contain"
},[
s
(
"div"
,{
staticClass
:
"template-head"
},[
e
.
_m
(
0
),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"template-btns flex-1 flex-r"
},[
s
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
function
(
t
){
e
.
saveAndBack
(
"preview"
)}}},[
e
.
_v
(
"预 览"
)]),
e
.
_v
(
" "
),
s
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
function
(
t
){
e
.
changeRoute
(
"/fileSet"
)}}},[
e
.
_v
(
"返 回"
)]),
e
.
_v
(
" "
),
s
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
saveAndBack
(
"save"
)}}},[
e
.
_v
(
"保存并启用"
)])],
1
)]),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"template-body"
},[
s
(
"div"
,{
staticClass
:
"template-cell template-cell-l"
},[
s
(
"el-tabs"
,{
model
:{
value
:
e
.
activeName
,
callback
:
function
(
t
){
e
.
activeName
=
t
},
expression
:
"activeName"
}},[
s
(
"el-tab-pane"
,{
attrs
:{
label
:
"系统字段"
,
name
:
"first"
}},[
s
(
"div"
,{
staticClass
:
"filed-item-title"
},[
e
.
_v
(
"基本信息"
)]),
e
.
_v
(
" "
),
s
(
"ul"
,[
s
(
"draggable"
,{
staticClass
:
"compenent"
,
attrs
:{
id
:
"list1"
,
list
:
e
.
baseInfo
,
options
:
e
.
leftOption
,
move
:
e
.
onMove
},
on
:{
clone
:
e
.
baseInfoClone
,
start
:
function
(
t
){
e
.
isDragging
=!
0
},
end
:
e
.
itemMoveEnd
}},
e
.
_l
(
e
.
baseInfo
,
function
(
t
,
i
){
return
s
(
"li"
,{
key
:
i
,
class
:[
"compenent-item"
,
1
==
t
.
fixed
?
"fixed-item"
:
""
],
attrs
:{
"data-type"
:
t
.
fieldCode
,
"aria-hidden"
:
"true"
},
on
:{
mousedown
:
function
(
i
){
e
.
clickItem
(
t
)}}},[
s
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
fieldName
))])])}))],
1
),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"filed-item-title"
},[
e
.
_v
(
"工作信息"
)]),
e
.
_v
(
" "
),
s
(
"ul"
,[
s
(
"draggable"
,{
staticClass
:
"compenent"
,
attrs
:{
id
:
"list2"
,
list
:
e
.
jobInfo
,
options
:
e
.
leftOption
,
move
:
e
.
onMove
},
on
:{
start
:
function
(
t
){
e
.
isDragging
=!
0
},
end
:
e
.
itemMoveEnd
}},
e
.
_l
(
e
.
jobInfo
,
function
(
t
,
i
){
return
s
(
"li"
,{
key
:
i
,
class
:[
"compenent-item"
,
1
==
t
.
fixed
?
"fixed-item"
:
""
],
attrs
:{
"data-type"
:
t
.
fieldCode
},
on
:{
mousedown
:
function
(
i
){
e
.
clickItem
(
t
)}}},[
s
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
fieldName
))])])}))],
1
),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"filed-item-title"
},[
e
.
_v
(
"个人信息"
)]),
e
.
_v
(
" "
),
s
(
"ul"
,[
s
(
"draggable"
,{
staticClass
:
"compenent"
,
attrs
:{
id
:
"list3"
,
list
:
e
.
selfInfo
,
options
:
e
.
leftOption
,
move
:
e
.
onMove
},
on
:{
start
:
function
(
t
){
e
.
isDragging
=!
0
},
end
:
e
.
itemMoveEnd
}},
e
.
_l
(
e
.
selfInfo
,
function
(
t
,
i
){
return
s
(
"li"
,{
key
:
i
,
class
:[
"compenent-item"
,
1
==
t
.
fixed
?
"fixed-item"
:
""
],
attrs
:{
"data-type"
:
t
.
fieldCode
},
on
:{
mousedown
:
function
(
i
){
e
.
clickItem
(
t
)}}},[
s
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
fieldName
))])])}))],
1
),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"filed-item-title"
},[
e
.
_v
(
"学历信息"
)]),
e
.
_v
(
" "
),
s
(
"ul"
,[
s
(
"draggable"
,{
staticClass
:
"compenent"
,
attrs
:{
id
:
"list4"
,
list
:
e
.
eduInfo
,
options
:
e
.
leftOption
,
move
:
e
.
onMove
},
on
:{
start
:
function
(
t
){
e
.
isDragging
=!
0
},
end
:
e
.
itemMoveEnd
}},
e
.
_l
(
e
.
eduInfo
,
function
(
t
,
i
){
return
s
(
"li"
,{
key
:
i
,
class
:[
"compenent-item"
,
1
==
t
.
fixed
?
"fixed-item"
:
""
],
attrs
:{
"data-type"
:
t
.
fieldCode
},
on
:{
mousedown
:
function
(
i
){
e
.
clickItem
(
t
)}}},[
s
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
fieldName
))])])}))],
1
),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"filed-item-title"
},[
e
.
_v
(
"合同信息"
)]),
e
.
_v
(
" "
),
s
(
"ul"
,[
s
(
"draggable"
,{
staticClass
:
"compenent"
,
attrs
:{
id
:
"list5"
,
list
:
e
.
contractInfo
,
options
:
e
.
leftOption
,
move
:
e
.
onMove
},
on
:{
start
:
function
(
t
){
e
.
isDragging
=!
0
},
end
:
e
.
itemMoveEnd
}},
e
.
_l
(
e
.
contractInfo
,
function
(
t
,
i
){
return
s
(
"li"
,{
key
:
i
,
class
:[
"compenent-item"
,
1
==
t
.
fixed
?
"fixed-item"
:
""
],
attrs
:{
"data-type"
:
t
.
fieldCode
},
on
:{
mousedown
:
function
(
i
){
e
.
clickItem
(
t
)}}},[
s
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
fieldName
))])])}))],
1
),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"filed-item-title"
},[
e
.
_v
(
"紧急联系人"
)]),
e
.
_v
(
" "
),
s
(
"ul"
,[
s
(
"draggable"
,{
staticClass
:
"compenent"
,
attrs
:{
id
:
"list5"
,
list
:
e
.
contactInfo
,
options
:
e
.
leftOption
,
move
:
e
.
onMove
},
on
:{
start
:
function
(
t
){
e
.
isDragging
=!
0
},
end
:
e
.
itemMoveEnd
}},
e
.
_l
(
e
.
contactInfo
,
function
(
t
,
i
){
return
s
(
"li"
,{
key
:
i
,
class
:[
"compenent-item"
,
1
==
t
.
fixed
?
"fixed-item"
:
""
],
attrs
:{
"data-type"
:
t
.
fieldCode
},
on
:{
mousedown
:
function
(
i
){
e
.
clickItem
(
t
)}}},[
s
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
fieldName
))])])}))],
1
),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"filed-item-title"
},[
e
.
_v
(
"个人材料"
)]),
e
.
_v
(
" "
),
s
(
"ul"
,[
s
(
"draggable"
,{
staticClass
:
"compenent"
,
attrs
:{
id
:
"list5"
,
list
:
e
.
personalInfo
,
options
:
e
.
leftOption
,
move
:
e
.
onMove
},
on
:{
start
:
function
(
t
){
e
.
isDragging
=!
0
},
end
:
e
.
itemMoveEnd
}},
e
.
_l
(
e
.
personalInfo
,
function
(
t
,
i
){
return
s
(
"li"
,{
key
:
i
,
class
:[
"compenent-item"
,
1
==
t
.
fixed
?
"fixed-item"
:
""
],
attrs
:{
"data-type"
:
t
.
fieldCode
},
on
:{
mousedown
:
function
(
i
){
e
.
clickItem
(
t
)}}},[
s
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
fieldName
))])])}))],
1
)]),
e
.
_v
(
" "
),
s
(
"el-tab-pane"
,{
attrs
:{
label
:
"自定义字段"
,
name
:
"second"
}},[
s
(
"div"
,{
staticClass
:
"filed-item-title"
}),
e
.
_v
(
" "
),
s
(
"ul"
,[
s
(
"draggable"
,{
staticClass
:
"compenent"
,
attrs
:{
id
:
"list5"
,
list
:
e
.
defineInfo
,
options
:
e
.
leftDefineOption
,
move
:
e
.
onChildMove
},
on
:{
start
:
function
(
t
){
e
.
isDragging
=!
0
},
end
:
e
.
itemMoveEnd
}},
e
.
_l
(
e
.
defineInfo
,
function
(
t
,
i
){
return
s
(
"li"
,{
key
:
i
,
class
:[
"compenent-item"
,
1
==
t
.
fixed
?
"fixed-item"
:
""
],
attrs
:{
"data-type"
:
t
.
fieldCode
},
on
:{
mousedown
:
function
(
i
){
e
.
clickItem
(
t
)}}},[
t
.
systemFlag
||
0
!=
t
.
fieldType
?
e
.
_e
():
s
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
fieldName
))]),
e
.
_v
(
" "
),
t
.
systemFlag
||
1
!=
t
.
fieldType
?
e
.
_e
():
s
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
fieldName
))]),
e
.
_v
(
" "
),
t
.
systemFlag
||
2
!=
t
.
fieldType
?
e
.
_e
():
s
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
fieldName
))]),
e
.
_v
(
" "
),
t
.
systemFlag
||
3
!=
t
.
fieldType
?
e
.
_e
():
s
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
fieldName
))]),
e
.
_v
(
" "
),
t
.
systemFlag
||
4
!=
t
.
fieldType
?
e
.
_e
():
s
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
fieldName
))]),
e
.
_v
(
" "
),
t
.
systemFlag
||
5
!=
t
.
fieldType
?
e
.
_e
():
s
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
fieldName
))]),
e
.
_v
(
" "
),
t
.
systemFlag
||
6
!=
t
.
fieldType
?
e
.
_e
():
s
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
fieldName
))]),
e
.
_v
(
" "
),
t
.
systemFlag
||
7
!=
t
.
fieldType
?
e
.
_e
():
s
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
fieldName
))]),
e
.
_v
(
" "
),
t
.
systemFlag
||
0
!=
t
.
fieldType
?
e
.
_e
():
s
(
"i"
,{
staticClass
:
"bg-icon bg-icon-one"
}),
e
.
_v
(
" "
),
t
.
systemFlag
||
1
!=
t
.
fieldType
?
e
.
_e
():
s
(
"i"
,{
staticClass
:
"bg-icon bg-icon-two"
}),
e
.
_v
(
" "
),
t
.
systemFlag
||
2
!=
t
.
fieldType
?
e
.
_e
():
s
(
"i"
,{
staticClass
:
"bg-icon bg-icon-three"
}),
e
.
_v
(
" "
),
t
.
systemFlag
||
3
!=
t
.
fieldType
?
e
.
_e
():
s
(
"i"
,{
staticClass
:
"bg-icon bg-icon-four"
}),
e
.
_v
(
" "
),
t
.
systemFlag
||
4
!=
t
.
fieldType
?
e
.
_e
():
s
(
"i"
,{
staticClass
:
"bg-icon bg-icon-five"
}),
e
.
_v
(
" "
),
t
.
systemFlag
||
5
!=
t
.
fieldType
?
e
.
_e
():
s
(
"i"
,{
staticClass
:
"bg-icon bg-icon-six"
}),
e
.
_v
(
" "
),
t
.
systemFlag
||
6
!=
t
.
fieldType
?
e
.
_e
():
s
(
"i"
,{
staticClass
:
"bg-icon bg-icon-seven"
}),
e
.
_v
(
" "
),
t
.
systemFlag
||
7
!=
t
.
fieldType
?
e
.
_e
():
s
(
"i"
,{
staticClass
:
"bg-icon bg-icon-eight"
})])}))],
1
)])],
1
)],
1
),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"template-cell template-cell-m"
},[
s
(
"div"
,{
staticClass
:
"phone-view"
},[
s
(
"div"
,{
staticClass
:
"phone-show-content"
},[
s
(
"div"
,{
staticClass
:
"drag-show-content"
},[
s
(
"div"
,{
staticClass
:
"view-container"
},[
s
(
"ul"
,{
staticClass
:
"view-content"
,
attrs
:{
id
:
"showPhoneView"
}},[
0
==
e
.
tempaletDataList
.
length
?[
s
(
"img"
,{
staticClass
:
"templet-null-img"
,
attrs
:{
src
:
i
(
"Y7wY"
)}})]:
e
.
_e
(),
e
.
_v
(
" "
),
s
(
"draggable"
,{
staticClass
:
"drag-wrap"
,
attrs
:{
options
:{
group
:{
name
:
"people"
,
pull
:
!
1
,
put
:
!
1
},
sort
:
!
0
}},
model
:{
value
:
e
.
tempaletDataList
,
callback
:
function
(
t
){
e
.
tempaletDataList
=
t
},
expression
:
"tempaletDataList"
}},
e
.
_l
(
e
.
tempaletDataList
,
function
(
t
,
i
){
return
s
(
"li"
,{
key
:
"li1"
+
i
,
class
:[
"filed-item"
,
e
.
currentIndex
==
i
?
"active-item"
:
""
,
"li-block"
],
on
:{
click
:
function
(
s
){
e
.
selectItem
(
t
.
fieldCode
,
i
)}}},[
"baseInfo"
!=
t
.
fieldCode
&&
"jobInfo"
!=
t
.
fieldCode
&&
"selfInfo"
!=
t
.
fieldCode
?
s
(
"span"
,{
staticClass
:
"item-close p-item-close"
,
on
:{
click
:
function
(
s
){
s
.
stopPropagation
(),
e
.
deleteItem
(
t
.
fieldCode
,
i
)}}},[
s
(
"i"
,{
staticClass
:
"el-icon-close"
})]):
e
.
_e
(),
e
.
_v
(
" "
),[
s
(
"div"
,{
staticClass
:
"block"
},[
s
(
"div"
,{
staticClass
:
"block-head"
},[
s
(
"div"
,{
class
:[
"opencard-item-title"
,
t
.
fieldName
.
length
>
6
?
"block-pre-wrap"
:
""
]},[
e
.
_v
(
e
.
_s
(
t
.
fieldName
))])]),
e
.
_v
(
" "
),
s
(
"ul"
,{
staticClass
:
"view-content"
},[
s
(
"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
(
a
,
l
){
return
s
(
"li"
,{
key
:
"li"
+
l
,
class
:[
"filed-item"
,
"child-filed-item"
,
e
.
currentChildKey
==
a
.
fieldCode
&&
e
.
currentChildIndex
==
l
?
"active-item"
:
""
],
on
:{
click
:
function
(
s
){
s
.
stopPropagation
(),
e
.
selectChildItem
(
a
.
fieldCode
,
i
,
l
,
t
.
children
)}}},[
"clerkPhone"
!=
a
.
fieldCode
&&
"clerkName"
!=
a
.
fieldCode
&&
"groupName"
!=
a
.
fieldCode
&&
"clerkCode"
!=
a
.
fieldCode
&&
"positionName"
!=
a
.
fieldCode
&&
"clerkType"
!=
a
.
fieldCode
&&
"clerkStatus"
!=
a
.
fieldCode
&&
"sex"
!=
a
.
fieldCode
&&
"hireDate"
!=
a
.
fieldCode
&&
"nation"
!=
a
.
fieldCode
?
s
(
"span"
,{
staticClass
:
"item-close child-item-close"
,
on
:{
click
:
function
(
s
){
s
.
stopPropagation
(),
e
.
deleteChildItem
(
a
.
fieldCode
,
i
,
l
,
t
.
children
,
a
)}}},[
s
(
"i"
,{
staticClass
:
"el-icon-close"
})]):
e
.
_e
(),
e
.
_v
(
" "
),
2
==
a
.
fieldType
||
3
==
a
.
fieldType
||
4
==
a
.
fieldType
?
s
(
"div"
,{
staticClass
:
"flex"
},[
s
(
"div"
,{
class
:[
"opencard-item-title"
,
a
.
fieldName
.
length
>
6
?
"title-pre-wrap"
:
""
]},[
e
.
_v
(
e
.
_s
(
a
.
fieldName
))]),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"draged-item-show"
},[
s
(
"span"
,{
staticClass
:
"show-warm-text show-warm-text-flag select-flag"
},[
e
.
_v
(
e
.
_s
(
a
.
fieldDescription
)
+
" "
),
s
(
"i"
,{
staticClass
:
"el-icon-arrow-right"
})])])]):
e
.
_e
(),
e
.
_v
(
" "
),
5
==
a
.
fieldType
?
s
(
"div"
,{
staticClass
:
"flex"
},[
s
(
"div"
,[
s
(
"div"
,{
class
:[
"opencard-item-title"
,
a
.
fieldOperations
.
startName
.
length
>
6
?
"title-pre-wrap"
:
""
]},[
e
.
_v
(
e
.
_s
(
a
.
fieldOperations
.
startName
))]),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"draged-item-show"
},[
s
(
"span"
,{
staticClass
:
"show-warm-text show-warm-text-flag select-flag"
},[
e
.
_v
(
e
.
_s
(
a
.
fieldOperations
.
startDescription
)),
s
(
"i"
,{
staticClass
:
"el-icon-arrow-right"
})])])]),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"b-t-1"
},[
s
(
"div"
,{
class
:[
"opencard-item-title"
,
a
.
fieldOperations
.
endName
.
length
>
6
?
"title-pre-wrap"
:
""
]},[
e
.
_v
(
e
.
_s
(
a
.
fieldOperations
.
endName
))]),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"draged-item-show"
},[
s
(
"span"
,{
staticClass
:
"show-warm-text show-warm-text-flag select-flag"
},[
e
.
_v
(
e
.
_s
(
a
.
fieldOperations
.
endDescription
)),
s
(
"i"
,{
staticClass
:
"el-icon-arrow-right"
})])])])]):
e
.
_e
(),
e
.
_v
(
" "
),
7
==
a
.
fieldType
?
s
(
"div"
,{
staticClass
:
"flex"
},[
s
(
"div"
,{
class
:[
"opencard-item-title"
,
a
.
fieldName
.
length
>
6
?
"title-pre-wrap"
:
""
]},[
e
.
_v
(
e
.
_s
(
a
.
fieldName
))]),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"draged-item-show"
},[
s
(
"span"
,{
staticClass
:
"show-warm-text show-warm-text-flag select-flag"
},[
s
(
"i"
,{
staticClass
:
"iconfont icon-icon"
})])])]):
e
.
_e
(),
e
.
_v
(
" "
),
0
==
a
.
fieldType
||
1
==
a
.
fieldType
||
6
==
a
.
fieldType
?
s
(
"div"
,[
s
(
"div"
,{
class
:[
"opencard-item-title"
,
a
.
fieldName
.
length
>
6
?
"title-pre-wrap"
:
""
]},[
e
.
_v
(
e
.
_s
(
a
.
fieldName
))]),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"draged-item-show"
},[
s
(
"span"
,{
staticClass
:
"show-warm-text show-warm-text-flag"
},[
e
.
_v
(
e
.
_s
(
a
.
fieldDescription
))])])]):
e
.
_e
()])}))],
1
)])]],
2
)}))],
2
)])])])])]),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"template-cell template-cell-r"
},[
s
(
"el-tabs"
,{
model
:{
value
:
e
.
rightName
,
callback
:
function
(
t
){
e
.
rightName
=
t
},
expression
:
"rightName"
}},[
s
(
"el-tab-pane"
,{
attrs
:{
label
:
"控件设置"
,
name
:
"first"
}},[
s
(
"div"
,{
attrs
:{
id
:
"edit-box"
}},[
s
(
"div"
,{
staticClass
:
"edit-view baby-info-flag baby-info"
},[
e
.
_l
(
e
.
tempaletDataList
,
function
(
t
,
i
){
return
[
e
.
currentIndex
==
i
&&
"0"
==
t
.
parentCode
?[
s
(
"div"
,{
key
:
"parent"
+
i
,
staticClass
:
"edit-item "
},[
s
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
e
.
_v
(
"标题"
)]),
e
.
_v
(
" "
),
s
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
t
.
fieldName
,
holder
:
""
,
disflag
:
!
0
,
getByType
:
"word"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
i
){
e
.
$set
(
t
,
"fieldName"
,
i
)}}})],
1
)]:
e
.
_e
(),
e
.
_v
(
" "
),
e
.
childIndex
==
i
&&
t
.
children
&&
t
.
children
.
length
?[
e
.
_l
(
t
.
children
,
function
(
t
,
a
){
return
[
e
.
currentChildIndex
==
a
?[
s
(
"div"
,{
key
:
"child"
+
a
,
staticClass
:
"edit-item test-title limit-w-340"
},[
s
(
"div"
,{
staticClass
:
"edit-item-title"
},[
e
.
_v
(
"标题"
)]),
e
.
_v
(
" "
),
s
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
t
.
fieldName
,
holder
:
""
,
disflag
:
t
.
systemFlag
,
getByType
:
"word"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
i
){
e
.
$set
(
t
,
"fieldName"
,
i
)}}}),
e
.
_v
(
" "
),
7
==
t
.
fieldType
?
s
(
"p"
,{
staticStyle
:{
"margin-top"
:
"8px"
,
"font-size"
:
"12px"
,
color
:
"rgba(255, 255, 255, 0.7)"
}},[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
fieldDescription
)
+
"
\
n "
)]):
e
.
_e
()],
1
)]:
e
.
_e
(),
e
.
_v
(
" "
),
e
.
currentChildIndex
==
a
&&
5
!=
t
.
fieldType
&&
7
!=
t
.
fieldType
?[
s
(
"div"
,{
key
:
"child1"
+
a
,
staticClass
:
"edit-item test-title limit-w-340"
},[
s
(
"div"
,{
staticClass
:
"edit-item-title"
},[
e
.
_v
(
"提示文字"
)]),
e
.
_v
(
" "
),
s
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
t
.
fieldDescription
,
holder
:
""
,
disflag
:
!
1
,
getByType
:
"word"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
i
){
e
.
$set
(
t
,
"fieldDescription"
,
i
)}}})],
1
)]:
e
.
_e
(),
e
.
_v
(
" "
),
e
.
currentChildIndex
==
a
&&
5
==
t
.
fieldType
?[
s
(
"div"
,{
key
:
"child2"
+
a
,
staticClass
:
"edit-item test-title limit-w-340"
},[
s
(
"div"
,{
staticClass
:
"edit-item-title"
},[
e
.
_v
(
"开始时间"
)]),
e
.
_v
(
" "
),
s
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
t
.
fieldOperations
.
startName
,
holder
:
""
,
disflag
:
t
.
systemFlag
,
getByType
:
"word"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
i
){
e
.
$set
(
t
.
fieldOperations
,
"startName"
,
i
)}}})],
1
),
e
.
_v
(
" "
),
s
(
"div"
,{
key
:
"child3"
+
a
,
staticClass
:
"edit-item test-title limit-w-340"
},[
s
(
"div"
,{
staticClass
:
"edit-item-title"
},[
e
.
_v
(
"提示文字"
)]),
e
.
_v
(
" "
),
s
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
t
.
fieldOperations
.
startDescription
,
holder
:
""
,
disflag
:
!
1
,
getByType
:
"word"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
i
){
e
.
$set
(
t
.
fieldOperations
,
"startDescription"
,
i
)}}})],
1
),
e
.
_v
(
" "
),
s
(
"div"
,{
key
:
"child4"
+
a
,
staticClass
:
"edit-item test-title limit-w-340"
},[
s
(
"div"
,{
staticClass
:
"edit-item-title"
},[
e
.
_v
(
"结束时间"
)]),
e
.
_v
(
" "
),
s
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
t
.
fieldOperations
.
endName
,
holder
:
""
,
disflag
:
t
.
systemFlag
,
getByType
:
"word"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
i
){
e
.
$set
(
t
.
fieldOperations
,
"endName"
,
i
)}}})],
1
),
e
.
_v
(
" "
),
s
(
"div"
,{
key
:
"child5"
+
a
,
staticClass
:
"edit-item test-title limit-w-340"
},[
s
(
"div"
,{
staticClass
:
"edit-item-title"
},[
e
.
_v
(
"提示文字"
)]),
e
.
_v
(
" "
),
s
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
t
.
fieldOperations
.
endDescription
,
holder
:
""
,
disflag
:
!
1
,
getByType
:
"word"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
i
){
e
.
$set
(
t
.
fieldOperations
,
"endDescription"
,
i
)}}})],
1
)]:
e
.
_e
(),
e
.
_v
(
" "
),
e
.
currentChildIndex
==
a
&&
6
==
t
.
fieldType
?[
s
(
"div"
,{
key
:
"child6"
+
a
,
staticClass
:
"edit-item test-title limit-w-340"
},[
s
(
"div"
,{
staticClass
:
"edit-item-title"
},[
e
.
_v
(
"单位"
)]),
e
.
_v
(
" "
),
s
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
t
.
fieldOperations
.
unit
,
holder
:
""
,
disflag
:
!
1
,
getByType
:
"word"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
i
){
e
.
$set
(
t
.
fieldOperations
,
"unit"
,
i
)}}})],
1
)]:
e
.
_e
(),
e
.
_v
(
" "
),
e
.
currentChildIndex
!=
a
||
4
!=
t
.
fieldType
&&
5
!=
t
.
fieldType
?
e
.
_e
():[
s
(
"div"
,{
key
:
"child7"
+
a
,
staticClass
:
"edit-item "
},[
s
(
"div"
,{
staticClass
:
"edit-item-title"
},[
e
.
_v
(
"日期类型"
)]),
e
.
_v
(
" "
),
e
.
_l
(
t
.
fieldOperations
.
ruleContent
,
function
(
i
,
a
){
return
[
s
(
"el-radio"
,{
key
:
"child8"
+
a
,
attrs
:{
label
:
i
.
key
},
model
:{
value
:
t
.
fieldOperations
.
typeValue
,
callback
:
function
(
i
){
e
.
$set
(
t
.
fieldOperations
,
"typeValue"
,
i
)},
expression
:
"childItem.fieldOperations.typeValue"
}},[
e
.
_v
(
"
\
n "
+
e
.
_s
(
i
.
name
)
+
"
\
n "
)])]})],
2
)],
e
.
_v
(
" "
),
e
.
currentChildIndex
!=
a
||
"2"
!=
t
.
fieldType
&&
"3"
!=
t
.
fieldType
?
e
.
_e
():[
s
(
"div"
,{
key
:
"child9"
+
a
,
staticClass
:
"edit-item "
},[
s
(
"div"
,{
staticClass
:
"edit-item-title"
},[
e
.
_v
(
"选项 "
),
t
.
systemFlag
?
e
.
_e
():
s
(
"span"
,[
e
.
_v
(
"最多20项,每项最多10个字"
)])]),
e
.
_v
(
" "
),
e
.
_l
(
t
.
fieldOperations
.
fieldContent
,
function
(
a
,
l
){
return
[
s
(
"div"
,{
key
:
"child10"
+
l
,
staticClass
:
"margin-t-15 limit-w-340"
,
style
:
0
==
l
?
"margin-top: 0"
:
""
},[
s
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
a
.
name
,
holder
:
""
,
disflag
:
t
.
systemFlag
,
getByType
:
"word"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
a
,
"name"
,
t
)}}}),
e
.
_v
(
" "
),
!
t
.
systemFlag
&&
t
.
fieldOperations
.
fieldContent
.
length
>
1
?
s
(
"i"
,{
staticClass
:
"opt-btn el-icon-remove del-item"
,
on
:{
click
:
function
(
s
){
e
.
delChildItem
(
i
,
l
,
t
)}}}):
e
.
_e
(),
e
.
_v
(
" "
),
!
t
.
systemFlag
&&
l
<
19
?[
l
==
t
.
fieldOperations
.
fieldContent
.
length
-
1
?
s
(
"i"
,{
staticClass
:
"opt-btn el-icon-circle-plus add-item"
,
on
:{
click
:
function
(
s
){
e
.
addChildItem
(
i
,
l
,
t
)}}}):
e
.
_e
()]:
e
.
_e
()],
2
)]})],
2
)],
e
.
_v
(
" "
),
e
.
currentChildIndex
==
a
?[
s
(
"div"
,{
key
:
"child11"
+
a
,
staticClass
:
"edit-item"
},[
s
(
"div"
,{
staticClass
:
"edit-item-title"
},[
e
.
_v
(
"验证"
)]),
e
.
_v
(
" "
),
s
(
"el-checkbox"
,{
model
:{
value
:
t
.
isMust
,
callback
:
function
(
i
){
e
.
$set
(
t
,
"isMust"
,
i
)},
expression
:
"childItem.isMust"
}},[
e
.
_v
(
"必填"
)])],
1
)]:
e
.
_e
(),
e
.
_v
(
" "
),
e
.
currentChildIndex
==
a
?[
s
(
"div"
,{
key
:
"parent2"
+
a
,
staticClass
:
"edit-item "
},[
s
(
"div"
,{
staticClass
:
"edit-item-title"
},[
e
.
_v
(
"员工档案中"
)]),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"staffRecords-limit"
},[
s
(
"el-radio"
,{
staticClass
:
"label-cell"
,
attrs
:{
label
:
"1"
},
model
:{
value
:
t
.
staffRecordsIds
.
staffVisible
,
callback
:
function
(
i
){
e
.
$set
(
t
.
staffRecordsIds
,
"staffVisible"
,
i
)},
expression
:
"childItem.staffRecordsIds.staffVisible"
}},[
e
.
_v
(
"对员工可见"
)]),
e
.
_v
(
" "
),
s
(
"el-radio"
,{
staticClass
:
"label-cell"
,
attrs
:{
label
:
"0"
},
model
:{
value
:
t
.
staffRecordsIds
.
staffVisible
,
callback
:
function
(
i
){
e
.
$set
(
t
.
staffRecordsIds
,
"staffVisible"
,
i
)},
expression
:
"childItem.staffRecordsIds.staffVisible"
}},[
e
.
_v
(
"对员工不可见"
)])],
1
),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"staffRecords-limit"
},[
s
(
"el-radio"
,{
staticClass
:
"label-cell"
,
attrs
:{
label
:
"1"
},
model
:{
value
:
t
.
staffRecordsIds
.
staffModify
,
callback
:
function
(
i
){
e
.
$set
(
t
.
staffRecordsIds
,
"staffModify"
,
i
)},
expression
:
"childItem.staffRecordsIds.staffModify"
}},[
e
.
_v
(
"对员工可修改"
)]),
e
.
_v
(
" "
),
s
(
"el-radio"
,{
staticClass
:
"label-cell"
,
attrs
:{
label
:
"0"
},
model
:{
value
:
t
.
staffRecordsIds
.
staffModify
,
callback
:
function
(
i
){
e
.
$set
(
t
.
staffRecordsIds
,
"staffModify"
,
i
)},
expression
:
"childItem.staffRecordsIds.staffModify"
}},[
e
.
_v
(
"对员工不可修改"
)])],
1
)])]:
e
.
_e
()]})]:
e
.
_e
()]})],
2
)])])],
1
)],
1
)])]),
e
.
_v
(
" "
),
s
(
"qrcode-dialog"
,{
ref
:
"qrcodePreview"
,
model
:{
value
:
e
.
dialogVisible
,
callback
:
function
(
t
){
e
.
dialogVisible
=
t
},
expression
:
"dialogVisible"
}})],
1
)},
staticRenderFns
:[
function
(){
var
e
=
this
.
$createElement
,
t
=
this
.
_self
.
_c
||
e
;
return
t
(
"div"
,{
staticClass
:
"template-title flex-1"
},[
t
(
"img"
,{
attrs
:{
src
:
i
(
"LbEI"
),
alt
:
"logo"
}}),
this
.
_v
(
" "
),
t
(
"span"
,{
staticClass
:
"template-title-span"
},[
this
.
_v
(
"员工档案设置"
)])])}]};
var
x
=
i
(
"VU/8"
)(
_
,
I
,
!
1
,
function
(
e
){
i
(
"xADo"
)},
"data-v-7e7ca203"
,
null
);
t
.
default
=
x
.
exports
},
xADo
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/4
7.ad1d3e7f3e13e438bcbf
.js
→
dist/static/js/4
6.d3a9c6eba924ac8207b3
.js
View file @
26eaaffa
webpackJsonp
([
47
],{
"8U/6"
:
function
(
e
,
t
){},
kCy7
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
o
=
a
(
"Ke24"
),
n
=
a
(
"Ie7z"
),
i
=
a
(
"P9l9"
),
s
=
a
(
"PI0u"
),
r
=
a
(
"Ch4/"
),
c
=
{
name
:
"noticeList"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}},
activeGroupId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
var
e
=
this
;
return
{
topMenuData
:[{
id
:
"1"
,
name
:
"签到记录"
}],
activeId
:
"1"
,
activeBrand
:
this
.
brandId
,
activeGroup
:
this
.
activeGroupId
,
conditionObj
:{
keyword
:
""
,
storeGroup
:[],
signStatus
:
""
,
choiceDate
:[]},
signStatusOptions
:[{
value
:
""
,
label
:
"所有状态"
},{
value
:
"0"
,
label
:
"签到"
},{
value
:
"1"
,
label
:
"签退"
}],
choiceDateCopy
:[],
pickerOptions
:{
onPick
:
function
(
t
){
var
a
=
t
.
maxDate
,
o
=
t
.
minDate
;
e
.
choiceDateCopy
=
[
o
.
getTime
()],
a
&&
(
e
.
choiceDateCopy
=
[])},
disabledDate
:
function
(
t
){
if
(
e
.
choiceDateCopy
.
length
){
var
a
=
e
.
choiceDateCopy
[
0
]
-
2592
e6
,
o
=
e
.
choiceDateCopy
[
0
]
+
2592
e6
;
return
t
.
getTime
()
<
a
||
t
.
getTime
()
>
o
||
t
.
getTime
()
>
Date
.
now
()
-
864
e4
}
return
t
.
getTime
()
>
Date
.
now
()
-
864
e4
}},
tableData
:[],
pageSize
:
20
,
currentPage
:
1
,
totalCount
:
0
,
appScene
:
2
,
defaultStoreList
:[],
storeTreeSet
:{
isSelectPerson
:
!
1
,
dialogVisible
:
!
1
,
isSingle
:
!
1
}}},
filters
:{
formatTimeYMD
:
function
(
e
){
var
t
=
new
Date
(
e
),
a
=
t
.
getMonth
()
+
1
,
o
=
t
.
getDate
()
<
10
?
"0"
+
t
.
getDate
():
t
.
getDate
(),
n
=
a
<
10
?
"0"
+
a
:
a
;
return
t
.
getFullYear
()
+
"-"
+
n
+
"-"
+
o
},
formatTimeHMS
:
function
(
e
){
var
t
=
new
Date
(
e
);
return
(
t
.
getHours
()
<
10
?
"0"
+
t
.
getHours
():
t
.
getHours
())
+
":"
+
(
t
.
getMinutes
()
<
10
?
"0"
+
t
.
getMinutes
():
t
.
getMinutes
())}},
watch
:{
brandId
:
function
(
e
,
t
){
e
&&
(
this
.
activeBrand
=
e
,
this
.
getTableList
())},
activeGroupId
:
function
(
e
,
t
){
e
&&
(
this
.
activeGroup
=
e
)}},
mounted
:
function
(){
var
e
=
this
;
e
.
activeBrand
=
this
.
brandId
;
var
t
=
new
Date
,
a
=
t
.
getTime
()
-
2592
e6
,
o
=
t
.
getFullYear
(),
n
=
t
.
getMonth
()
+
1
,
i
=
t
.
getDate
()
<
10
?
"0"
+
t
.
getDate
():
t
.
getDate
(),
s
=
n
<
10
?
"0"
+
n
:
n
,
r
=
new
Date
(
a
),
c
=
r
.
getFullYear
(),
l
=
r
.
getMonth
()
+
1
,
u
=
r
.
getDate
()
<
10
?
"0"
+
r
.
getDate
():
r
.
getDate
(),
d
=
l
<
10
?
"0"
+
l
:
l
;
e
.
conditionObj
.
choiceDate
=
[
c
+
"-"
+
d
+
"-"
+
u
,
o
+
"-"
+
s
+
"-"
+
i
],
e
.
brandId
&&
e
.
$nextTick
(
function
(
t
){
e
.
getTableList
()})},
methods
:{
showDialogLayer
:
function
(
e
,
t
){
this
.
selectType
=
e
,
this
.
changed
=
e
,
this
.
defaultStoreList
=
t
,
this
.
storeTreeSet
=
{
dialogVisible
:
!
0
,
isSingle
:
!
1
,
isSelectPerson
:
!
1
}},
handleSelectedList
:
function
(
e
){
this
.
conditionObj
.
storeGroup
=
e
,
this
.
getTableList
()},
delDepart
:
function
(
e
,
t
){
t
.
splice
(
e
,
1
),
this
.
currentPage
=
1
,
this
.
getTableList
()},
getTableList
:
function
(){
var
e
=
this
;
e
.
loading
=!
0
;
var
t
=
[],
a
=
[],
o
=
[
"星期天"
,
"星期一"
,
"星期二"
,
"星期三"
,
"星期四"
,
"星期五"
,
"星期六"
];
e
.
conditionObj
.
storeGroup
.
forEach
(
function
(
e
){
2
==
e
.
type
&&
t
.
push
(
e
.
groupId
),
3
==
e
.
type
&&
a
.
push
(
e
.
storeId
)}),
e
.
conditionObj
.
choiceDate
||
(
e
.
conditionObj
.
choiceDate
=
[]);
var
n
=
{
haobanEnterpriseId
:
localStorage
.
getItem
(
"userInfo"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfo"
)).
enterpriseId
:
""
,
search
:
e
.
conditionObj
.
keyword
||
""
,
haobanBrandId
:
e
.
activeBrand
,
storeIds
:
a
.
join
(
","
)
||
""
,
groupIds
:
t
.
join
(
","
)
||
""
,
signType
:
e
.
conditionObj
.
signStatus
||
""
,
startDate
:
e
.
conditionObj
&&
e
.
conditionObj
.
choiceDate
[
0
]?
e
.
conditionObj
.
choiceDate
[
0
]:
""
,
endDate
:
e
.
conditionObj
&&
e
.
conditionObj
.
choiceDate
[
1
]?
e
.
conditionObj
.
choiceDate
[
1
]:
""
,
pageNum
:
e
.
currentPage
,
pageSize
:
e
.
pageSize
};
Object
(
i
.
a
)(
"/haoban-app-sign-web/sign/sign-list"
,
n
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
e
.
loading
=!
1
,
1
==
a
.
errorCode
)
return
a
.
result
.
list
.
forEach
(
function
(
e
){
e
.
week
=
o
[
new
Date
(
e
.
signDay
).
getDay
()]}),
e
.
tableData
=
a
.
result
.
list
||
[],
e
.
totalCount
=
a
.
result
.
pageInfo
.
total
,
!
1
;
r
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
loading
=!
1
,
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
changeDate
:
function
(
e
){
e
||
(
this
.
choiceDateCopy
=
[],
this
.
conditionObj
.
choiceDate
=
[]),
this
.
currentPage
=
1
,
this
.
getTableList
()},
searchPeople
:
Object
(
s
.
a
)(
function
(
e
){
this
.
currentPage
,
this
.
getTableList
()},
500
),
clearInput
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
changeSelect
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
handleSizeChange
:
function
(
e
){
this
.
pageSize
=
e
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getTableList
()},
exportData
:
function
(){
if
(
!
this
.
conditionObj
.
choiceDate
||!
this
.
conditionObj
.
choiceDate
[
0
]
||!
this
.
conditionObj
.
choiceDate
[
1
])
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请选择日期区间"
}),
!
1
;
this
.
postExportData
()},
postExportData
:
function
(){
var
e
=
this
,
t
=
[],
a
=
[];
e
.
conditionObj
.
storeGroup
.
forEach
(
function
(
e
){
2
==
e
.
type
&&
t
.
push
(
e
.
groupId
),
3
==
e
.
type
&&
a
.
push
(
e
.
storeId
)});
var
o
=
{
haobanEnterpriseId
:
localStorage
.
getItem
(
"userInfo"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfo"
)).
enterpriseId
:
""
,
search
:
e
.
conditionObj
.
keyword
||
""
,
storeIds
:
a
.
join
(
","
)
||
""
,
groupIds
:
t
.
join
(
","
)
||
""
,
signType
:
e
.
conditionObj
.
signStatus
||
""
,
startDate
:
e
.
conditionObj
.
choiceDate
[
0
]?
e
.
conditionObj
.
choiceDate
[
0
]:
""
,
endDate
:
e
.
conditionObj
.
choiceDate
[
1
]?
e
.
conditionObj
.
choiceDate
[
1
]:
""
,
haobanBrandId
:
e
.
activeBrand
};
Object
(
i
.
b
)(
"/haoban-app-sign-web/sign/export-sign-list"
,
o
).
then
(
function
(
e
){
if
(
!
e
.
data
)
return
r
.
a
.
errorMsg
(
"暂无数据"
),
!
1
;
var
t
=
new
Blob
([
e
.
data
],{
type
:
"application/vnd.ms-excel"
}),
a
=
o
.
startDate
.
replace
(
/-/g
,
""
)
+
"-"
+
o
.
endDate
.
replace
(
/-/g
,
""
)
+
"签到报表.xlsx"
,
n
=
document
.
createElement
(
"a"
);
n
.
download
=
a
,
n
.
style
.
display
=
"none"
,
n
.
href
=
URL
.
createObjectURL
(
t
),
document
.
body
.
appendChild
(
n
),
n
.
click
(),
URL
.
revokeObjectURL
(
n
.
href
),
document
.
body
.
removeChild
(
n
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
components
:{
vueSelectStore
:
n
.
a
,
commonDetailTop
:
o
.
a
}},
l
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"notice-list-wrap"
},[
a
(
"div"
,{
staticClass
:
"notice-list"
},[
a
(
"common-detail-top"
,{
attrs
:{
topMenuData
:
e
.
topMenuData
,
activeId
:
e
.
activeId
}}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"notice-list-table"
},[
a
(
"div"
,{
staticClass
:
"search-wrap"
},[
a
(
"el-input"
,{
staticClass
:
"search-input"
,
attrs
:{
clearable
:
""
,
placeholder
:
"请输入姓名/员工代码"
,
"prefix-icon"
:
"el-icon-search"
},
on
:{
clear
:
e
.
clearInput
},
nativeOn
:{
keyup
:
function
(
t
){
return
a
=
t
,
e
.
searchPeople
(
a
);
var
a
}},
model
:{
value
:
e
.
conditionObj
.
keyword
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"keyword"
,
t
)},
expression
:
"conditionObj.keyword"
}}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"flex-column item-cell-select inline-block m-l-10"
},[
a
(
"div"
,{
staticClass
:
"depart-item-wrap"
},[
a
(
"div"
,{
staticClass
:
"el-select el-select--large depart-item-content"
,
staticStyle
:{
width
:
"213px"
},
on
:{
click
:
function
(
t
){
e
.
showDialogLayer
(
"store"
,
e
.
conditionObj
.
storeGroup
)}}},[
e
.
conditionObj
.
storeGroup
.
length
?
e
.
_e
():
a
(
"span"
,{
staticClass
:
"font-14 color-c0c4cc"
},[
e
.
_v
(
"请选择门店分组"
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-select__tags"
,
staticStyle
:{
"max-width"
:
"181px"
}},[
a
(
"span"
,[
e
.
_l
(
e
.
conditionObj
.
storeGroup
,
function
(
t
,
o
){
return
[
a
(
"span"
,{
key
:
o
,
staticClass
:
"el-tag el-tag--info el-tag--small"
},[
a
(
"span"
,{
staticClass
:
"el-select__tags-text"
},[
e
.
_v
(
e
.
_s
(
t
.
name
||
t
.
storeName
))]),
a
(
"i"
,{
staticClass
:
"el-tag__close el-icon-close"
,
on
:{
click
:
function
(
t
){
t
.
stopPropagation
(),
e
.
delDepart
(
o
,
e
.
conditionObj
.
storeGroup
)}}})])]})],
2
)])])])]),
e
.
_v
(
" "
),
a
(
"el-select"
,{
staticClass
:
"w-112 m-l-10"
,
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
e
.
changeSelect
},
model
:{
value
:
e
.
conditionObj
.
signStatus
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"signStatus"
,
t
)},
expression
:
"conditionObj.signStatus"
}},
e
.
_l
(
e
.
signStatusOptions
,
function
(
e
){
return
a
(
"el-option"
,{
key
:
e
.
value
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})})),
e
.
_v
(
" "
),
a
(
"el-date-picker"
,{
staticClass
:
"search-date"
,
attrs
:{
format
:
"yyyy-MM-dd"
,
"value-format"
:
"yyyy-MM-dd"
,
editable
:
!
1
,
"picker-options"
:
e
.
pickerOptions
,
type
:
"daterange"
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
},
on
:{
change
:
e
.
changeDate
},
model
:{
value
:
e
.
conditionObj
.
choiceDate
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"choiceDate"
,
t
)},
expression
:
"conditionObj.choiceDate"
}}),
e
.
_v
(
" "
),
a
(
"el-button"
,{
staticClass
:
"fr"
,
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
exportData
}},[
a
(
"i"
,{
staticClass
:
"iconfont icon-icon_yunxiazai p-r-6"
}),
e
.
_v
(
"导出"
)])],
1
),
e
.
_v
(
" "
),
a
(
"el-table"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
e
.
loading
,
expression
:
"loading"
}],
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"storeName"
,
label
:
"门店名称"
,
"show-overflow-tooltip"
:
""
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"姓名"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
clerkName
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"员工代码"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
clerkCode
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"状态"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
1
==
t
.
row
.
signType
?
"签退"
:
"签到"
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"时间"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
t
.
row
.
signDay
?
a
(
"div"
,{
staticClass
:
"time-wrap"
},[
a
(
"p"
,{
class
:[
"星期六"
==
t
.
row
.
week
||
"星期天"
==
t
.
row
.
week
?
"color-f56c6c"
:
""
]},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeYMD"
)(
t
.
row
.
signDay
))
+
" "
+
e
.
_s
(
t
.
row
.
week
))]),
e
.
_v
(
" "
),
a
(
"p"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeHMS"
)(
t
.
row
.
signTime
)))])]):
a
(
"div"
,[
e
.
_v
(
"--"
)])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"打卡坐标"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
signLongitude
||
"-"
)
+
" "
),
t
.
row
.
signLatitude
?
a
(
"span"
,[
e
.
_v
(
","
)]):
e
.
_e
(),
e
.
_v
(
" "
+
e
.
_s
(
t
.
row
.
signLatitude
||
"-"
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"门店坐标"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
storeLongitude
||
"-"
)
+
" "
),
t
.
row
.
storeLatitude
?
a
(
"span"
,[
e
.
_v
(
","
)]):
e
.
_e
(),
e
.
_v
(
" "
+
e
.
_s
(
t
.
row
.
storeLatitude
||
"-"
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"距离"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
distance
||
"--"
)
+
"
\
n "
)]}}])})],
1
),
e
.
_v
(
" "
),
e
.
totalCount
?
a
(
"div"
,{
staticClass
:
"pagination"
},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
e
.
pageSize
,
"current-page"
:
e
.
currentPage
,
layout
:
"total, sizes, prev, pager, next"
,
total
:
e
.
totalCount
},
on
:{
"size-change"
:
e
.
handleSizeChange
,
"current-change"
:
e
.
handleCurrentChange
}})],
1
):
e
.
_e
()],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"vue-select-store"
,{
ref
:
"storeSelector"
,
attrs
:{
currentBrand
:
e
.
activeGroup
,
appScene
:
e
.
appScene
,
treeSet
:
e
.
storeTreeSet
,
selectType
:
"group-store"
,
defaultList
:
e
.
defaultStoreList
},
on
:{
handleSelectedList
:
e
.
handleSelectedList
}})],
1
)},
staticRenderFns
:[]};
var
u
=
a
(
"VU/8"
)(
c
,
l
,
!
1
,
function
(
e
){
a
(
"8U/6"
)},
"data-v-7aa59d90"
,
null
);
t
.
default
=
u
.
exports
}});
\ No newline at end of file
webpackJsonp
([
46
],{
"8U/6"
:
function
(
e
,
t
){},
kCy7
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
o
=
a
(
"Ke24"
),
n
=
a
(
"Ie7z"
),
i
=
a
(
"P9l9"
),
s
=
a
(
"PI0u"
),
r
=
a
(
"Ch4/"
),
c
=
{
name
:
"noticeList"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}},
activeGroupId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
var
e
=
this
;
return
{
topMenuData
:[{
id
:
"1"
,
name
:
"签到记录"
}],
activeId
:
"1"
,
activeBrand
:
this
.
brandId
,
activeGroup
:
this
.
activeGroupId
,
conditionObj
:{
keyword
:
""
,
storeGroup
:[],
signStatus
:
""
,
choiceDate
:[]},
signStatusOptions
:[{
value
:
""
,
label
:
"所有状态"
},{
value
:
"0"
,
label
:
"签到"
},{
value
:
"1"
,
label
:
"签退"
}],
choiceDateCopy
:[],
pickerOptions
:{
onPick
:
function
(
t
){
var
a
=
t
.
maxDate
,
o
=
t
.
minDate
;
e
.
choiceDateCopy
=
[
o
.
getTime
()],
a
&&
(
e
.
choiceDateCopy
=
[])},
disabledDate
:
function
(
t
){
if
(
e
.
choiceDateCopy
.
length
){
var
a
=
e
.
choiceDateCopy
[
0
]
-
2592
e6
,
o
=
e
.
choiceDateCopy
[
0
]
+
2592
e6
;
return
t
.
getTime
()
<
a
||
t
.
getTime
()
>
o
||
t
.
getTime
()
>
Date
.
now
()
-
864
e4
}
return
t
.
getTime
()
>
Date
.
now
()
-
864
e4
}},
tableData
:[],
pageSize
:
20
,
currentPage
:
1
,
totalCount
:
0
,
appScene
:
2
,
defaultStoreList
:[],
storeTreeSet
:{
isSelectPerson
:
!
1
,
dialogVisible
:
!
1
,
isSingle
:
!
1
}}},
filters
:{
formatTimeYMD
:
function
(
e
){
var
t
=
new
Date
(
e
),
a
=
t
.
getMonth
()
+
1
,
o
=
t
.
getDate
()
<
10
?
"0"
+
t
.
getDate
():
t
.
getDate
(),
n
=
a
<
10
?
"0"
+
a
:
a
;
return
t
.
getFullYear
()
+
"-"
+
n
+
"-"
+
o
},
formatTimeHMS
:
function
(
e
){
var
t
=
new
Date
(
e
);
return
(
t
.
getHours
()
<
10
?
"0"
+
t
.
getHours
():
t
.
getHours
())
+
":"
+
(
t
.
getMinutes
()
<
10
?
"0"
+
t
.
getMinutes
():
t
.
getMinutes
())}},
watch
:{
brandId
:
function
(
e
,
t
){
e
&&
(
this
.
activeBrand
=
e
,
this
.
getTableList
())},
activeGroupId
:
function
(
e
,
t
){
e
&&
(
this
.
activeGroup
=
e
)}},
mounted
:
function
(){
var
e
=
this
;
e
.
activeBrand
=
this
.
brandId
;
var
t
=
new
Date
,
a
=
t
.
getTime
()
-
2592
e6
,
o
=
t
.
getFullYear
(),
n
=
t
.
getMonth
()
+
1
,
i
=
t
.
getDate
()
<
10
?
"0"
+
t
.
getDate
():
t
.
getDate
(),
s
=
n
<
10
?
"0"
+
n
:
n
,
r
=
new
Date
(
a
),
c
=
r
.
getFullYear
(),
l
=
r
.
getMonth
()
+
1
,
u
=
r
.
getDate
()
<
10
?
"0"
+
r
.
getDate
():
r
.
getDate
(),
d
=
l
<
10
?
"0"
+
l
:
l
;
e
.
conditionObj
.
choiceDate
=
[
c
+
"-"
+
d
+
"-"
+
u
,
o
+
"-"
+
s
+
"-"
+
i
],
e
.
brandId
&&
e
.
$nextTick
(
function
(
t
){
e
.
getTableList
()})},
methods
:{
showDialogLayer
:
function
(
e
,
t
){
this
.
selectType
=
e
,
this
.
changed
=
e
,
this
.
defaultStoreList
=
t
,
this
.
storeTreeSet
=
{
dialogVisible
:
!
0
,
isSingle
:
!
1
,
isSelectPerson
:
!
1
}},
handleSelectedList
:
function
(
e
){
this
.
conditionObj
.
storeGroup
=
e
,
this
.
getTableList
()},
delDepart
:
function
(
e
,
t
){
t
.
splice
(
e
,
1
),
this
.
currentPage
=
1
,
this
.
getTableList
()},
getTableList
:
function
(){
var
e
=
this
;
e
.
loading
=!
0
;
var
t
=
[],
a
=
[],
o
=
[
"星期天"
,
"星期一"
,
"星期二"
,
"星期三"
,
"星期四"
,
"星期五"
,
"星期六"
];
e
.
conditionObj
.
storeGroup
.
forEach
(
function
(
e
){
2
==
e
.
type
&&
t
.
push
(
e
.
groupId
),
3
==
e
.
type
&&
a
.
push
(
e
.
storeId
)}),
e
.
conditionObj
.
choiceDate
||
(
e
.
conditionObj
.
choiceDate
=
[]);
var
n
=
{
haobanEnterpriseId
:
localStorage
.
getItem
(
"userInfo"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfo"
)).
enterpriseId
:
""
,
search
:
e
.
conditionObj
.
keyword
||
""
,
haobanBrandId
:
e
.
activeBrand
,
storeIds
:
a
.
join
(
","
)
||
""
,
groupIds
:
t
.
join
(
","
)
||
""
,
signType
:
e
.
conditionObj
.
signStatus
||
""
,
startDate
:
e
.
conditionObj
&&
e
.
conditionObj
.
choiceDate
[
0
]?
e
.
conditionObj
.
choiceDate
[
0
]:
""
,
endDate
:
e
.
conditionObj
&&
e
.
conditionObj
.
choiceDate
[
1
]?
e
.
conditionObj
.
choiceDate
[
1
]:
""
,
pageNum
:
e
.
currentPage
,
pageSize
:
e
.
pageSize
};
Object
(
i
.
a
)(
"/haoban-app-sign-web/sign/sign-list"
,
n
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
e
.
loading
=!
1
,
1
==
a
.
errorCode
)
return
a
.
result
.
list
.
forEach
(
function
(
e
){
e
.
week
=
o
[
new
Date
(
e
.
signDay
).
getDay
()]}),
e
.
tableData
=
a
.
result
.
list
||
[],
e
.
totalCount
=
a
.
result
.
pageInfo
.
total
,
!
1
;
r
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
loading
=!
1
,
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
changeDate
:
function
(
e
){
e
||
(
this
.
choiceDateCopy
=
[],
this
.
conditionObj
.
choiceDate
=
[]),
this
.
currentPage
=
1
,
this
.
getTableList
()},
searchPeople
:
Object
(
s
.
a
)(
function
(
e
){
this
.
currentPage
,
this
.
getTableList
()},
500
),
clearInput
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
changeSelect
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
handleSizeChange
:
function
(
e
){
this
.
pageSize
=
e
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getTableList
()},
exportData
:
function
(){
if
(
!
this
.
conditionObj
.
choiceDate
||!
this
.
conditionObj
.
choiceDate
[
0
]
||!
this
.
conditionObj
.
choiceDate
[
1
])
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请选择日期区间"
}),
!
1
;
this
.
postExportData
()},
postExportData
:
function
(){
var
e
=
this
,
t
=
[],
a
=
[];
e
.
conditionObj
.
storeGroup
.
forEach
(
function
(
e
){
2
==
e
.
type
&&
t
.
push
(
e
.
groupId
),
3
==
e
.
type
&&
a
.
push
(
e
.
storeId
)});
var
o
=
{
haobanEnterpriseId
:
localStorage
.
getItem
(
"userInfo"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfo"
)).
enterpriseId
:
""
,
search
:
e
.
conditionObj
.
keyword
||
""
,
storeIds
:
a
.
join
(
","
)
||
""
,
groupIds
:
t
.
join
(
","
)
||
""
,
signType
:
e
.
conditionObj
.
signStatus
||
""
,
startDate
:
e
.
conditionObj
.
choiceDate
[
0
]?
e
.
conditionObj
.
choiceDate
[
0
]:
""
,
endDate
:
e
.
conditionObj
.
choiceDate
[
1
]?
e
.
conditionObj
.
choiceDate
[
1
]:
""
,
haobanBrandId
:
e
.
activeBrand
};
Object
(
i
.
b
)(
"/haoban-app-sign-web/sign/export-sign-list"
,
o
).
then
(
function
(
e
){
if
(
!
e
.
data
)
return
r
.
a
.
errorMsg
(
"暂无数据"
),
!
1
;
var
t
=
new
Blob
([
e
.
data
],{
type
:
"application/vnd.ms-excel"
}),
a
=
o
.
startDate
.
replace
(
/-/g
,
""
)
+
"-"
+
o
.
endDate
.
replace
(
/-/g
,
""
)
+
"签到报表.xlsx"
,
n
=
document
.
createElement
(
"a"
);
n
.
download
=
a
,
n
.
style
.
display
=
"none"
,
n
.
href
=
URL
.
createObjectURL
(
t
),
document
.
body
.
appendChild
(
n
),
n
.
click
(),
URL
.
revokeObjectURL
(
n
.
href
),
document
.
body
.
removeChild
(
n
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
components
:{
vueSelectStore
:
n
.
a
,
commonDetailTop
:
o
.
a
}},
l
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"notice-list-wrap"
},[
a
(
"div"
,{
staticClass
:
"notice-list"
},[
a
(
"common-detail-top"
,{
attrs
:{
topMenuData
:
e
.
topMenuData
,
activeId
:
e
.
activeId
}}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"notice-list-table"
},[
a
(
"div"
,{
staticClass
:
"search-wrap"
},[
a
(
"el-input"
,{
staticClass
:
"search-input"
,
attrs
:{
clearable
:
""
,
placeholder
:
"请输入姓名/员工代码"
,
"prefix-icon"
:
"el-icon-search"
},
on
:{
clear
:
e
.
clearInput
},
nativeOn
:{
keyup
:
function
(
t
){
return
a
=
t
,
e
.
searchPeople
(
a
);
var
a
}},
model
:{
value
:
e
.
conditionObj
.
keyword
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"keyword"
,
t
)},
expression
:
"conditionObj.keyword"
}}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"flex-column item-cell-select inline-block m-l-10"
},[
a
(
"div"
,{
staticClass
:
"depart-item-wrap"
},[
a
(
"div"
,{
staticClass
:
"el-select el-select--large depart-item-content"
,
staticStyle
:{
width
:
"213px"
},
on
:{
click
:
function
(
t
){
e
.
showDialogLayer
(
"store"
,
e
.
conditionObj
.
storeGroup
)}}},[
e
.
conditionObj
.
storeGroup
.
length
?
e
.
_e
():
a
(
"span"
,{
staticClass
:
"font-14 color-c0c4cc"
},[
e
.
_v
(
"请选择门店分组"
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-select__tags"
,
staticStyle
:{
"max-width"
:
"181px"
}},[
a
(
"span"
,[
e
.
_l
(
e
.
conditionObj
.
storeGroup
,
function
(
t
,
o
){
return
[
a
(
"span"
,{
key
:
o
,
staticClass
:
"el-tag el-tag--info el-tag--small"
},[
a
(
"span"
,{
staticClass
:
"el-select__tags-text"
},[
e
.
_v
(
e
.
_s
(
t
.
name
||
t
.
storeName
))]),
a
(
"i"
,{
staticClass
:
"el-tag__close el-icon-close"
,
on
:{
click
:
function
(
t
){
t
.
stopPropagation
(),
e
.
delDepart
(
o
,
e
.
conditionObj
.
storeGroup
)}}})])]})],
2
)])])])]),
e
.
_v
(
" "
),
a
(
"el-select"
,{
staticClass
:
"w-112 m-l-10"
,
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
e
.
changeSelect
},
model
:{
value
:
e
.
conditionObj
.
signStatus
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"signStatus"
,
t
)},
expression
:
"conditionObj.signStatus"
}},
e
.
_l
(
e
.
signStatusOptions
,
function
(
e
){
return
a
(
"el-option"
,{
key
:
e
.
value
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})})),
e
.
_v
(
" "
),
a
(
"el-date-picker"
,{
staticClass
:
"search-date"
,
attrs
:{
format
:
"yyyy-MM-dd"
,
"value-format"
:
"yyyy-MM-dd"
,
editable
:
!
1
,
"picker-options"
:
e
.
pickerOptions
,
type
:
"daterange"
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
},
on
:{
change
:
e
.
changeDate
},
model
:{
value
:
e
.
conditionObj
.
choiceDate
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"choiceDate"
,
t
)},
expression
:
"conditionObj.choiceDate"
}}),
e
.
_v
(
" "
),
a
(
"el-button"
,{
staticClass
:
"fr"
,
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
exportData
}},[
a
(
"i"
,{
staticClass
:
"iconfont icon-icon_yunxiazai p-r-6"
}),
e
.
_v
(
"导出"
)])],
1
),
e
.
_v
(
" "
),
a
(
"el-table"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
e
.
loading
,
expression
:
"loading"
}],
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
}},[
a
(
"el-table-column"
,{
attrs
:{
prop
:
"storeName"
,
label
:
"门店名称"
,
"show-overflow-tooltip"
:
""
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"姓名"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
clerkName
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"员工代码"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
clerkCode
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"状态"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
1
==
t
.
row
.
signType
?
"签退"
:
"签到"
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"时间"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
t
.
row
.
signDay
?
a
(
"div"
,{
staticClass
:
"time-wrap"
},[
a
(
"p"
,{
class
:[
"星期六"
==
t
.
row
.
week
||
"星期天"
==
t
.
row
.
week
?
"color-f56c6c"
:
""
]},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeYMD"
)(
t
.
row
.
signDay
))
+
" "
+
e
.
_s
(
t
.
row
.
week
))]),
e
.
_v
(
" "
),
a
(
"p"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeHMS"
)(
t
.
row
.
signTime
)))])]):
a
(
"div"
,[
e
.
_v
(
"--"
)])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"打卡坐标"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
signLongitude
||
"-"
)
+
" "
),
t
.
row
.
signLatitude
?
a
(
"span"
,[
e
.
_v
(
","
)]):
e
.
_e
(),
e
.
_v
(
" "
+
e
.
_s
(
t
.
row
.
signLatitude
||
"-"
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"门店坐标"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
storeLongitude
||
"-"
)
+
" "
),
t
.
row
.
storeLatitude
?
a
(
"span"
,[
e
.
_v
(
","
)]):
e
.
_e
(),
e
.
_v
(
" "
+
e
.
_s
(
t
.
row
.
storeLatitude
||
"-"
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"距离"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
distance
||
"--"
)
+
"
\
n "
)]}}])})],
1
),
e
.
_v
(
" "
),
e
.
totalCount
?
a
(
"div"
,{
staticClass
:
"pagination"
},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
e
.
pageSize
,
"current-page"
:
e
.
currentPage
,
layout
:
"total, sizes, prev, pager, next"
,
total
:
e
.
totalCount
},
on
:{
"size-change"
:
e
.
handleSizeChange
,
"current-change"
:
e
.
handleCurrentChange
}})],
1
):
e
.
_e
()],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"vue-select-store"
,{
ref
:
"storeSelector"
,
attrs
:{
currentBrand
:
e
.
activeGroup
,
appScene
:
e
.
appScene
,
treeSet
:
e
.
storeTreeSet
,
selectType
:
"group-store"
,
defaultList
:
e
.
defaultStoreList
},
on
:{
handleSelectedList
:
e
.
handleSelectedList
}})],
1
)},
staticRenderFns
:[]};
var
u
=
a
(
"VU/8"
)(
c
,
l
,
!
1
,
function
(
e
){
a
(
"8U/6"
)},
"data-v-7aa59d90"
,
null
);
t
.
default
=
u
.
exports
}});
\ No newline at end of file
dist/static/js/47.8be44c2f45c0fa3f2798.js
0 → 100644
View file @
26eaaffa
webpackJsonp
([
47
],{
"+ZNS"
:
function
(
e
,
t
){},
lFAe
:
function
(
e
,
t
,
i
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
s
=
i
(
"//Fk"
),
a
=
i
.
n
(
s
),
l
=
i
(
"gBtx"
),
n
=
i
.
n
(
l
),
d
=
i
(
"mvHQ"
),
o
=
i
.
n
(
d
),
r
=
i
(
"DAYN"
),
f
=
i
.
n
(
r
),
c
=
i
(
"Isrn"
),
p
=
i
(
"l46T"
),
m
=
i
(
"fPyK"
),
u
=
[{
parentCode
:
"defineInfo"
,
fieldCode
:
"-1"
,
fieldName
:
"单行输入框"
,
systemFlag
:
!
1
,
fieldEdited
:
1
,
fieldType
:
"0"
,
fixed
:
!
1
,
fieldDescription
:
"请输入"
,
fieldOperations
:{
ruleContent
:[],
fieldContent
:[]},
isMust
:
!
1
,
staffRecordsIds
:{
staffVisible
:
"1"
,
staffModify
:
"1"
}},{
parentCode
:
"defineInfo"
,
fieldCode
:
"-1"
,
fieldName
:
"多行输入框"
,
systemFlag
:
!
1
,
fieldEdited
:
1
,
fieldType
:
"1"
,
fixed
:
!
1
,
fieldDescription
:
"请输入"
,
fieldOperations
:{
ruleContent
:[],
fieldContent
:[]},
isMust
:
!
1
,
staffRecordsIds
:{
staffVisible
:
"1"
,
staffModify
:
"1"
}},{
parentCode
:
"defineInfo"
,
fieldCode
:
"-1"
,
fieldName
:
"单选框"
,
systemFlag
:
!
1
,
fieldEdited
:
1
,
fieldType
:
"2"
,
fixed
:
!
1
,
fieldDescription
:
"请选择"
,
fieldOperations
:{
ruleContent
:[],
fieldContent
:[{
type
:
"radio"
,
name
:
"选项1"
},{
type
:
"radio"
,
name
:
"选项2"
},{
type
:
"radio"
,
name
:
"选项3"
}]},
isMust
:
!
1
,
staffRecordsIds
:{
staffVisible
:
"1"
,
staffModify
:
"1"
}},{
parentCode
:
"defineInfo"
,
fieldCode
:
"-1"
,
fieldName
:
"多选框"
,
systemFlag
:
!
1
,
fieldEdited
:
1
,
fieldType
:
"3"
,
fixed
:
!
1
,
fieldDescription
:
"请选择"
,
fieldOperations
:{
ruleContent
:[],
fieldContent
:[{
type
:
"checkbox"
,
name
:
"选项1"
},{
type
:
"checkbox"
,
name
:
"选项2"
},{
type
:
"checkbox"
,
name
:
"选项3"
}]},
isMust
:
!
1
,
staffRecordsIds
:{
staffVisible
:
"1"
,
staffModify
:
"1"
}},{
parentCode
:
"defineInfo"
,
fieldCode
:
"-1"
,
fieldName
:
"日期"
,
systemFlag
:
!
1
,
fieldEdited
:
1
,
fieldType
:
"4"
,
fixed
:
!
1
,
fieldDescription
:
"请选择"
,
fieldOperations
:{
typeValue
:
"yyyy-MM-dd"
,
ruleContent
:[{
type
:
"radio"
,
name
:
"年-月-日"
,
key
:
"yyyy-MM-dd"
,
isEdit
:
1
},{
type
:
"radio"
,
name
:
"年-月"
,
key
:
"yyyy-MM"
,
isEdit
:
1
}],
fieldContent
:[]},
isMust
:
!
1
,
staffRecordsIds
:{
staffVisible
:
"1"
,
staffModify
:
"1"
}},{
parentCode
:
"defineInfo"
,
fieldCode
:
"-1"
,
fieldName
:
"日期区间"
,
systemFlag
:
!
1
,
fieldEdited
:
1
,
fieldType
:
"5"
,
fixed
:
!
1
,
fieldOperations
:{
startName
:
"开始时间"
,
endName
:
"结束时间"
,
startDescription
:
"请选择开始时间"
,
endDescription
:
"请选择结束时间"
,
typeValue
:
"yyyy-MM-dd"
,
ruleContent
:[{
type
:
"radio"
,
name
:
"年-月-日"
,
key
:
"yyyy-MM-dd"
,
isEdit
:
1
},{
type
:
"radio"
,
name
:
"年-月"
,
key
:
"yyyy-MM"
,
isEdit
:
1
}],
fieldContent
:[]},
isMust
:
!
1
,
staffRecordsIds
:{
staffVisible
:
"1"
,
staffModify
:
"1"
}},{
parentCode
:
"defineInfo"
,
fieldCode
:
"-1"
,
fieldName
:
"数字输入框"
,
systemFlag
:
!
1
,
fieldType
:
"6"
,
fieldEdited
:
1
,
fixed
:
!
1
,
fieldDescription
:
"请输入"
,
fieldOperations
:{
ruleContent
:[],
fieldContent
:[],
unit
:
"元"
},
isMust
:
!
1
,
staffRecordsIds
:{
staffVisible
:
"1"
,
staffModify
:
"1"
}},{
parentCode
:
"defineInfo"
,
fieldCode
:
"-1"
,
fieldName
:
"图片"
,
systemFlag
:
!
1
,
fieldType
:
"7"
,
fieldEdited
:
1
,
fixed
:
!
1
,
fieldDescription
:
"最多上传9张图片"
,
fieldOperations
:{
ruleContent
:[],
fieldContent
:[]},
isMust
:
!
1
,
staffRecordsIds
:{
staffVisible
:
"1"
,
staffModify
:
"1"
}}],
v
=
function
(){
return
u
},
g
=
i
(
"3E4D"
),
C
=
i
(
"Ch4/"
),
h
=
i
(
"PI0u"
),
y
=
i
(
"P9l9"
),
_
=
{
name
:
"staffRecordsTemplate"
,
data
:
function
(){
return
{
activeName
:
"first"
,
rightName
:
"first"
,
dialogVisible
:
!
1
,
bodyHeight
:(
document
.
documentElement
.
clientHeight
||
document
.
body
.
clientHeight
)
+
"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
},
selectKey
:
""
,
baseInfo
:[],
jobInfo
:[],
selfInfo
:[],
eduInfo
:[],
contractInfo
:[],
contactInfo
:[],
personalInfo
:[],
defineInfo
:
v
(),
currentIndex
:
0
,
currentChildKey
:
null
,
currentChildIndex
:
null
,
childIndex
:
0
,
tempaletDataList
:[{
parentCode
:
"0"
,
fieldTemplateId
:
""
,
parentFieldTemplateId
:
"0"
,
minCount
:
10
,
maxCount
:
20
,
fieldCode
:
"baseInfo"
,
fieldName
:
"基本信息"
,
fieldEdited
:
!
1
,
fieldOperations
:{
ruleContent
:[],
fieldContent
:[]},
isMust
:
!
1
,
fieldDescription
:
""
,
children
:[],
fieldType
:
""
,
staffRecordsIds
:{},
status
:
""
},{
parentCode
:
"0"
,
fieldTemplateId
:
""
,
parentFieldTemplateId
:
"0"
,
minCount
:
10
,
maxCount
:
20
,
fieldCode
:
"jobInfo"
,
fieldName
:
"工作信息"
,
fieldEdited
:
!
1
,
isMust
:
!
1
,
fieldDescription
:
""
,
children
:[],
fieldType
:
""
,
staffRecordsIds
:{},
status
:
""
},{
parentCode
:
"0"
,
fieldTemplateId
:
""
,
parentFieldTemplateId
:
"0"
,
minCount
:
10
,
maxCount
:
20
,
fieldCode
:
"selfInfo"
,
fieldName
:
"个人信息"
,
fieldEdited
:
!
1
,
isMust
:
!
1
,
fieldDescription
:
""
,
children
:[],
fieldType
:
""
,
staffRecordsIds
:{},
status
:
""
},{
parentCode
:
"0"
,
fieldTemplateId
:
""
,
parentFieldTemplateId
:
"0"
,
minCount
:
10
,
maxCount
:
20
,
fieldCode
:
"eduInfo"
,
fieldName
:
"学历信息"
,
fieldEdited
:
!
1
,
isMust
:
!
1
,
fieldDescription
:
""
,
children
:[],
fieldType
:
""
,
staffRecordsIds
:{},
status
:
""
},{
parentCode
:
"0"
,
fieldTemplateId
:
""
,
parentFieldTemplateId
:
"0"
,
minCount
:
10
,
maxCount
:
20
,
fieldCode
:
"contractInfo"
,
fieldName
:
"合同信息"
,
fieldEdited
:
!
1
,
isMust
:
!
1
,
fieldDescription
:
""
,
children
:[],
fieldType
:
""
,
staffRecordsIds
:{},
status
:
""
},{
parentCode
:
"0"
,
fieldTemplateId
:
""
,
parentFieldTemplateId
:
"0"
,
minCount
:
10
,
maxCount
:
20
,
fieldCode
:
"contactInfo"
,
fieldName
:
"紧急联系人"
,
fieldEdited
:
!
1
,
isMust
:
!
1
,
fieldDescription
:
""
,
children
:[],
fieldType
:
""
,
staffRecordsIds
:{},
status
:
""
},{
parentCode
:
"0"
,
fieldTemplateId
:
""
,
parentFieldTemplateId
:
"0"
,
minCount
:
10
,
maxCount
:
20
,
fieldCode
:
"personalInfo"
,
fieldName
:
"个人资料"
,
fieldEdited
:
!
1
,
isMust
:
!
1
,
fieldDescription
:
""
,
children
:[],
fieldType
:
""
,
staffRecordsIds
:{},
status
:
""
}],
fieldParent
:{
baseInfo
:{},
jobInfo
:{},
selfInfo
:{},
eduInfo
:{},
contractInfo
:{},
contactInfo
:{},
personalInfo
:{}},
setList
:[]}},
created
:
function
(){},
methods
:{
baseInfoClone
:
function
(){},
clickItem
:
function
(
e
){
this
.
tempaletDataList
.
map
(
function
(
e
){
return
e
.
fieldCode
}).
includes
(
e
.
parentCode
)
||
"defineInfo"
===
e
.
parentCode
||
(
this
.
tempaletDataList
.
push
(
this
.
fieldParent
[
e
.
parentCode
]),
this
.
tempaletDataList
=
JSON
.
parse
(
o
()(
this
.
tempaletDataList
)))},
checkMove
:
function
(
e
){
var
t
=!
0
;
return
"baseInfo"
!=
e
.
draggedContext
.
element
.
parentCode
||
e
.
to
.
className
.
includes
(
"baseInfo"
)
||
(
t
=!
1
),
"jobInfo"
!=
e
.
draggedContext
.
element
.
parentCode
||
e
.
to
.
className
.
includes
(
"jobInfo"
)
||
(
t
=!
1
),
"selfInfo"
!=
e
.
draggedContext
.
element
.
parentCode
||
e
.
to
.
className
.
includes
(
"selfInfo"
)
||
(
t
=!
1
),
"eduInfo"
!=
e
.
draggedContext
.
element
.
parentCode
||
e
.
to
.
className
.
includes
(
"eduInfo"
)
||
(
t
=!
1
),
"contractInfo"
!=
e
.
draggedContext
.
element
.
parentCode
||
e
.
to
.
className
.
includes
(
"contractInfo"
)
||
(
t
=!
1
),
"contactInfo"
!=
e
.
draggedContext
.
element
.
parentCode
||
e
.
to
.
className
.
includes
(
"contactInfo"
)
||
(
t
=!
1
),
"personalInfo"
!=
e
.
draggedContext
.
element
.
parentCode
||
e
.
to
.
className
.
includes
(
"personalInfo"
)
||
(
t
=!
1
),
t
},
onMove
:
function
(
e
){
return
!!
this
.
checkMove
(
e
)
&&!
e
.
draggedContext
.
element
.
fixed
},
onChildMove
:
function
(
e
){
return
-
1
!=
e
.
dragged
.
className
.
indexOf
(
"block-class"
)
&&
e
.
to
.
className
.
indexOf
(
"block-wrap"
),
!
0
},
itemMoveEnd
:
function
(
e
){
var
t
=
this
;
t
.
isDragging
=!
1
,
t
.
selectKey
=
""
,
t
.
selectKey
=
e
.
clone
.
dataset
.
type
,
t
.
tempaletDataList
.
forEach
(
function
(
e
,
i
){
e
.
children
.
forEach
(
function
(
e
,
i
){
var
s
;
e
.
systemFlag
&&
e
.
fieldCode
==
t
.
selectKey
&&
(
s
=
e
.
parentCode
,
t
[
s
].
forEach
(
function
(
e
,
i
){
e
.
fieldCode
==
t
.
selectKey
&&
(
e
.
fixed
=!
0
)}))})}),
t
.
selectKey
=
""
,
t
.
tempaletDataList
=
JSON
.
parse
(
o
()(
t
.
tempaletDataList
)),
t
.
$forceUpdate
()},
selectItem
:
function
(
e
,
t
){
this
.
currentIndex
=
t
,
this
.
currentChildIndex
=
null
},
deleteItem
:
function
(
e
,
t
){
this
.
tempaletDataList
.
splice
(
t
,
1
),
this
.
currentIndex
--
,
this
.
currentIndex
<=
0
&&
(
this
.
currentIndex
=
0
),
this
[
e
].
forEach
(
function
(
e
,
t
){
e
.
fixed
=!
1
})},
addDragItem
:
function
(
e
){
return
!
1
},
selectChildItem
:
function
(
e
,
t
,
i
,
s
){
this
.
currentIndex
=
null
,
this
.
currentChildKey
=
e
,
this
.
childIndex
=
t
,
this
.
currentChildIndex
=
i
},
deleteChildItem
:
function
(
e
,
t
,
i
,
s
,
a
){
this
.
childIndex
=
t
,
this
.
currentIndex
=
null
,
this
.
currentChildKey
=
this
.
tempaletDataList
[
t
].
children
[
i
].
fieldCode
,
this
.
currentChildIndex
--
,
this
.
currentChildIndex
<=
0
&&
(
this
.
currentChildIndex
=
0
),
this
.
tempaletDataList
=
JSON
.
parse
(
o
()(
this
.
tempaletDataList
)),
this
.
tempaletDataList
[
t
].
children
.
splice
(
i
,
1
),
this
[
a
.
parentCode
].
forEach
(
function
(
t
,
i
){
t
.
fieldCode
===
e
&&
(
t
.
fixed
=!
1
)})},
delChildItem
:
function
(
e
,
t
,
i
){
i
.
fieldOperations
.
fieldContent
.
splice
(
t
,
1
)},
addChildItem
:
function
(
e
,
t
,
i
){
if
(
19
!=
t
){
var
s
=
"radio"
;
i
.
systemFlag
||
3
!==
parseInt
(
i
.
fieldType
)
||
(
s
=
"checkbox"
),
i
.
fieldOperations
.
fieldContent
.
push
({
type
:
s
,
name
:
"请输入选项"
});
var
a
=
i
.
fieldOperations
.
fieldContent
.
map
(
function
(
e
){
return
e
.
name
});
this
.
isRepeat
(
a
)
&&
(
i
.
fieldOperations
.
fieldContent
.
splice
(
i
.
fieldOperations
.
fieldContent
.
length
-
1
,
1
),
a
.
splice
(
i
.
fieldOperations
.
fieldContent
.
length
-
1
,
1
),
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"选项不能重复"
}))}
else
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"最多可添加 20 项"
})},
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
,
s
){
if
(
""
==
e
.
fieldName
)
return
t
.
filedFlag
=!
1
,
t
.
name
=
e
.
fieldName
||
""
,
!
1
;
e
.
children
.
length
&&
e
.
children
.
forEach
(
function
(
e
,
s
){
if
(
e
.
systemFlag
&&
""
==
e
.
fieldName
)
return
t
.
filedFlag
=!
1
,
t
.
name
=
e
.
fieldName
||
""
,
!
1
;
i
.
push
(
e
.
fieldName
)})}),
this
.
isRepeat
(
i
)
&&
(
t
.
filedRepeat
=!
0
),
t
},
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
(
h
.
a
)(
function
(
e
){
var
t
=
JSON
.
parse
(
o
()(
this
.
tempaletDataList
)),
i
=
this
.
checkTag
(
t
),
s
=
[];
if
(
i
.
filedFlag
)
if
(
i
.
filedRepeat
)
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"字段标题不能重复"
});
else
{
if
(
t
.
forEach
(
function
(
e
,
t
){
e
.
sort
=
t
,
e
.
fixed
=!
0
===
e
.
fixed
?
1
:
0
,
e
.
isMust
=!
0
===
e
.
isMust
?
1
:
0
,
e
.
systemFlag
=!
0
===
e
.
systemFlag
?
1
:
0
,
e
.
parentFieldTemplateId
=
e
.
parentFieldTemplateId
?
e
.
parentFieldTemplateId
:
-
1
,
e
.
fieldTemplateId
=
e
.
fieldTemplateId
?
e
.
fieldTemplateId
:
-
1
,
e
.
children
.
forEach
(
function
(
t
,
i
){
s
.
push
(
t
),
t
.
sort
=
i
,
t
.
fixed
=!
0
===
t
.
fixed
?
1
:
0
,
t
.
isMust
=!
0
===
t
.
isMust
?
1
:
0
,
t
.
systemFlag
=!
0
===
t
.
systemFlag
?
1
:
0
,
e
.
systemFlag
||
(
t
.
fieldEdited
=
1
),
2
!==
parseInt
(
t
.
fieldType
)
&&
3
!==
parseInt
(
t
.
fieldType
)
||
t
.
fieldOperations
.
fieldContent
.
forEach
(
function
(
e
,
i
){
e
.
key
=
String
(
e
.
key
)?
String
(
e
.
key
):
""
,
t
.
systemFlag
||
e
.
hasOwnProperty
(
"key"
)
&&
""
!=
e
.
key
&&
"undefined"
!=
e
.
key
||
(
e
.
key
=
e
.
name
)}),
t
.
systemFlag
||
(
t
.
parentCode
=
e
.
fieldCode
),
t
.
fieldTemplateId
=
t
.
fieldTemplateId
?
t
.
fieldTemplateId
:
-
1
,
t
.
parentFieldTemplateId
=
e
.
fieldTemplateId
})}),
s
.
length
>
40
)
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"最多设置 40 个字段"
}),
!
1
;
"save"
===
e
?
this
.
saveAllData
(
t
):
this
.
postPreview
(
t
)}
else
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
i
.
name
+
"字段标题不能为空"
})},
500
),
saveAllData
:
function
(
e
){
var
t
=
this
,
i
=
{
templateContent
:
o
()(
e
)};
Object
(
y
.
e
)(
"/haoban-manage-web/record/record-template-save.json"
,
i
).
then
(
function
(
e
){
var
i
=
e
.
data
;
if
(
1
==
i
.
errorCode
)
return
g
.
a
.
showmsg
(
"保存成功"
,
"success"
),
void
t
.
changeRoute
(
"/fileSet"
);
C
.
a
.
errorMsg
(
i
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
postPreview
:
function
(
e
){
var
t
=
this
,
i
=
{
templateContent
:
o
()(
e
)};
Object
(
y
.
e
)(
"/haoban-manage-web/record/record-template-preview.json"
,
i
).
then
(
function
(
e
){
var
i
=
e
.
data
;
if
(
1
==
i
.
errorCode
){
var
s
=
window
.
location
.
origin
+
"/office-mobile/#/staffRecordsTemplate?enterpriseId="
+
i
.
result
;
return
t
.
$refs
.
qrcodePreview
.
qrcode
(
s
,
"record"
),
void
(
t
.
dialogVisible
=!
0
)}
C
.
a
.
errorMsg
(
i
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
closeDialog
:
function
(){
this
.
dialogVisible
=!
1
},
getAllFields
:
function
(){
var
e
=
this
;
Object
(
y
.
e
)(
"/haoban-manage-web/record/employee-find-system-template.json"
,{}).
then
(
function
(
t
){
var
i
=
t
.
data
;
1
!=
i
.
errorCode
?
C
.
a
.
errorMsg
(
i
):
e
.
handleAllFields
(
i
.
result
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
handleAllFields
:
function
(
e
){
var
t
=
this
;
e
.
forEach
(
function
(
e
,
i
){
t
.
hasOwnProperty
(
e
.
parentCode
)
&&
(
e
.
fixed
=
1
===
parseInt
(
e
.
fixed
),
e
.
isMust
=
1
===
parseInt
(
e
.
isMust
),
e
.
systemFlag
=!
0
,
e
.
fieldOperations
=
e
.
fieldOperations
?
JSON
.
parse
(
e
.
fieldOperations
):{},
e
.
staffRecordsIds
=
e
.
staffRecordsIds
?
JSON
.
parse
(
e
.
staffRecordsIds
):[],
t
[
e
.
parentCode
].
push
(
e
)),
t
.
fieldParent
.
hasOwnProperty
(
e
.
fieldCode
)
&&
(
e
.
children
=
[],
t
.
fieldParent
[
e
.
fieldCode
]
=
e
,
e
.
systemFlag
=!
0
)})},
getInfo
:
function
(){
var
e
=
this
;
Object
(
y
.
e
)(
"/haoban-manage-web/record/employee-find-template.json"
,{}).
then
(
function
(
t
){
var
i
=
t
.
data
;
if
(
1
==
i
.
errorCode
)
return
e
.
setList
=
[],
void
(
i
.
result
&&
i
.
result
.
length
&&
e
.
handleGetInfo
(
i
.
result
));
C
.
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
:
t
.
children
=
[],
0
==
t
.
parentCode
});
return
t
.
sort
(
function
(
e
,
t
){
return
e
.
sort
-
t
.
sort
}),
t
.
forEach
(
function
(
e
,
t
){
e
.
children
&&
e
.
children
.
length
&&
e
.
children
.
sort
(
function
(
e
,
t
){
return
e
.
sort
-
t
.
sort
})}),
t
},
handleGetInfo
:
function
(
e
){
var
t
=
this
,
i
=
JSON
.
parse
(
o
()(
e
));
t
.
setParent
=
[],
i
.
forEach
(
function
(
e
,
i
){
e
.
fixed
=
1
===
n
()(
e
.
fixed
),
e
.
isMust
=
1
===
n
()(
e
.
isMust
),
e
.
systemFlag
=
1
===
n
()(
e
.
systemFlag
),
e
.
fieldOperations
=
e
.
fieldOperations
?
JSON
.
parse
(
e
.
fieldOperations
):{},
e
.
staffRecordsIds
=
e
.
staffRecordsIds
?
JSON
.
parse
(
e
.
staffRecordsIds
):[],
e
.
systemFlag
&&
0
==
e
.
parentCode
&&
t
.
setParent
.
push
(
e
.
fieldCode
),
e
.
systemFlag
&&
0
!=
e
.
parentCode
&&
t
.
setList
.
push
(
e
.
fieldCode
)}),
t
.
tempaletDataList
=
t
.
treeData
(
i
),
setTimeout
(
function
(){
t
.
setFixed
()},
100
)},
setFixed
:
function
(){
var
e
=
this
;
e
.
setParent
.
forEach
(
function
(
t
,
i
){
e
[
t
].
forEach
(
function
(
t
,
i
){
e
.
setList
.
includes
(
t
.
fieldCode
)
&&
(
t
.
fixed
=!
0
)})})}},
watch
:{
isDragging
:
function
(
e
){
var
t
=
this
;
e
?
t
.
delayedDragging
=!
0
:
t
.
$nextTick
(
function
(){
t
.
delayedDragging
=!
1
})}},
components
:{
draggable
:
f
.
a
,
AddInput
:
c
.
a
,
limitInput
:
p
.
a
,
qrcodeDialog
:
m
.
a
},
mounted
:
function
(){
a
.
a
.
all
([
this
.
getAllFields
(),
this
.
getInfo
()]),
document
.
body
.
ondrop
=
function
(
e
){
e
.
preventDefault
(),
e
.
stopPropagation
()}}},
I
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
s
=
e
.
_self
.
_c
||
t
;
return
s
(
"div"
,{
staticClass
:
"template-wrap"
,
style
:{
height
:
e
.
bodyHeight
}},[
s
(
"div"
,{
staticClass
:
"template-contain"
},[
s
(
"div"
,{
staticClass
:
"template-head"
},[
e
.
_m
(
0
),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"template-btns flex-1 flex-r"
},[
s
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
function
(
t
){
e
.
saveAndBack
(
"preview"
)}}},[
e
.
_v
(
"预 览"
)]),
e
.
_v
(
" "
),
s
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
function
(
t
){
e
.
changeRoute
(
"/fileSet"
)}}},[
e
.
_v
(
"返 回"
)]),
e
.
_v
(
" "
),
s
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
saveAndBack
(
"save"
)}}},[
e
.
_v
(
"保存并启用"
)])],
1
)]),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"template-body"
},[
s
(
"div"
,{
staticClass
:
"template-cell template-cell-l"
},[
s
(
"el-tabs"
,{
model
:{
value
:
e
.
activeName
,
callback
:
function
(
t
){
e
.
activeName
=
t
},
expression
:
"activeName"
}},[
s
(
"el-tab-pane"
,{
attrs
:{
label
:
"系统字段"
,
name
:
"first"
}},[
s
(
"div"
,{
staticClass
:
"filed-item-title"
},[
e
.
_v
(
"基本信息"
)]),
e
.
_v
(
" "
),
s
(
"ul"
,[
s
(
"draggable"
,{
staticClass
:
"compenent"
,
attrs
:{
id
:
"list1"
,
list
:
e
.
baseInfo
,
options
:
e
.
leftOption
,
move
:
e
.
onMove
},
on
:{
clone
:
e
.
baseInfoClone
,
start
:
function
(
t
){
e
.
isDragging
=!
0
},
end
:
e
.
itemMoveEnd
}},
e
.
_l
(
e
.
baseInfo
,
function
(
t
,
i
){
return
s
(
"li"
,{
key
:
i
,
class
:[
"compenent-item"
,
1
==
t
.
fixed
?
"fixed-item"
:
""
],
attrs
:{
"data-type"
:
t
.
fieldCode
,
"aria-hidden"
:
"true"
},
on
:{
mousedown
:
function
(
i
){
e
.
clickItem
(
t
)}}},[
s
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
fieldName
))])])}))],
1
),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"filed-item-title"
},[
e
.
_v
(
"工作信息"
)]),
e
.
_v
(
" "
),
s
(
"ul"
,[
s
(
"draggable"
,{
staticClass
:
"compenent"
,
attrs
:{
id
:
"list2"
,
list
:
e
.
jobInfo
,
options
:
e
.
leftOption
,
move
:
e
.
onMove
},
on
:{
start
:
function
(
t
){
e
.
isDragging
=!
0
},
end
:
e
.
itemMoveEnd
}},
e
.
_l
(
e
.
jobInfo
,
function
(
t
,
i
){
return
s
(
"li"
,{
key
:
i
,
class
:[
"compenent-item"
,
1
==
t
.
fixed
?
"fixed-item"
:
""
],
attrs
:{
"data-type"
:
t
.
fieldCode
},
on
:{
mousedown
:
function
(
i
){
e
.
clickItem
(
t
)}}},[
s
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
fieldName
))])])}))],
1
),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"filed-item-title"
},[
e
.
_v
(
"个人信息"
)]),
e
.
_v
(
" "
),
s
(
"ul"
,[
s
(
"draggable"
,{
staticClass
:
"compenent"
,
attrs
:{
id
:
"list3"
,
list
:
e
.
selfInfo
,
options
:
e
.
leftOption
,
move
:
e
.
onMove
},
on
:{
start
:
function
(
t
){
e
.
isDragging
=!
0
},
end
:
e
.
itemMoveEnd
}},
e
.
_l
(
e
.
selfInfo
,
function
(
t
,
i
){
return
s
(
"li"
,{
key
:
i
,
class
:[
"compenent-item"
,
1
==
t
.
fixed
?
"fixed-item"
:
""
],
attrs
:{
"data-type"
:
t
.
fieldCode
},
on
:{
mousedown
:
function
(
i
){
e
.
clickItem
(
t
)}}},[
s
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
fieldName
))])])}))],
1
),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"filed-item-title"
},[
e
.
_v
(
"学历信息"
)]),
e
.
_v
(
" "
),
s
(
"ul"
,[
s
(
"draggable"
,{
staticClass
:
"compenent"
,
attrs
:{
id
:
"list4"
,
list
:
e
.
eduInfo
,
options
:
e
.
leftOption
,
move
:
e
.
onMove
},
on
:{
start
:
function
(
t
){
e
.
isDragging
=!
0
},
end
:
e
.
itemMoveEnd
}},
e
.
_l
(
e
.
eduInfo
,
function
(
t
,
i
){
return
s
(
"li"
,{
key
:
i
,
class
:[
"compenent-item"
,
1
==
t
.
fixed
?
"fixed-item"
:
""
],
attrs
:{
"data-type"
:
t
.
fieldCode
},
on
:{
mousedown
:
function
(
i
){
e
.
clickItem
(
t
)}}},[
s
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
fieldName
))])])}))],
1
),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"filed-item-title"
},[
e
.
_v
(
"合同信息"
)]),
e
.
_v
(
" "
),
s
(
"ul"
,[
s
(
"draggable"
,{
staticClass
:
"compenent"
,
attrs
:{
id
:
"list5"
,
list
:
e
.
contractInfo
,
options
:
e
.
leftOption
,
move
:
e
.
onMove
},
on
:{
start
:
function
(
t
){
e
.
isDragging
=!
0
},
end
:
e
.
itemMoveEnd
}},
e
.
_l
(
e
.
contractInfo
,
function
(
t
,
i
){
return
s
(
"li"
,{
key
:
i
,
class
:[
"compenent-item"
,
1
==
t
.
fixed
?
"fixed-item"
:
""
],
attrs
:{
"data-type"
:
t
.
fieldCode
},
on
:{
mousedown
:
function
(
i
){
e
.
clickItem
(
t
)}}},[
s
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
fieldName
))])])}))],
1
),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"filed-item-title"
},[
e
.
_v
(
"紧急联系人"
)]),
e
.
_v
(
" "
),
s
(
"ul"
,[
s
(
"draggable"
,{
staticClass
:
"compenent"
,
attrs
:{
id
:
"list5"
,
list
:
e
.
contactInfo
,
options
:
e
.
leftOption
,
move
:
e
.
onMove
},
on
:{
start
:
function
(
t
){
e
.
isDragging
=!
0
},
end
:
e
.
itemMoveEnd
}},
e
.
_l
(
e
.
contactInfo
,
function
(
t
,
i
){
return
s
(
"li"
,{
key
:
i
,
class
:[
"compenent-item"
,
1
==
t
.
fixed
?
"fixed-item"
:
""
],
attrs
:{
"data-type"
:
t
.
fieldCode
},
on
:{
mousedown
:
function
(
i
){
e
.
clickItem
(
t
)}}},[
s
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
fieldName
))])])}))],
1
),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"filed-item-title"
},[
e
.
_v
(
"个人材料"
)]),
e
.
_v
(
" "
),
s
(
"ul"
,[
s
(
"draggable"
,{
staticClass
:
"compenent"
,
attrs
:{
id
:
"list5"
,
list
:
e
.
personalInfo
,
options
:
e
.
leftOption
,
move
:
e
.
onMove
},
on
:{
start
:
function
(
t
){
e
.
isDragging
=!
0
},
end
:
e
.
itemMoveEnd
}},
e
.
_l
(
e
.
personalInfo
,
function
(
t
,
i
){
return
s
(
"li"
,{
key
:
i
,
class
:[
"compenent-item"
,
1
==
t
.
fixed
?
"fixed-item"
:
""
],
attrs
:{
"data-type"
:
t
.
fieldCode
},
on
:{
mousedown
:
function
(
i
){
e
.
clickItem
(
t
)}}},[
s
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
fieldName
))])])}))],
1
)]),
e
.
_v
(
" "
),
s
(
"el-tab-pane"
,{
attrs
:{
label
:
"自定义字段"
,
name
:
"second"
}},[
s
(
"div"
,{
staticClass
:
"filed-item-title"
}),
e
.
_v
(
" "
),
s
(
"ul"
,[
s
(
"draggable"
,{
staticClass
:
"compenent"
,
attrs
:{
id
:
"list5"
,
list
:
e
.
defineInfo
,
options
:
e
.
leftDefineOption
,
move
:
e
.
onChildMove
},
on
:{
start
:
function
(
t
){
e
.
isDragging
=!
0
},
end
:
e
.
itemMoveEnd
}},
e
.
_l
(
e
.
defineInfo
,
function
(
t
,
i
){
return
s
(
"li"
,{
key
:
i
,
class
:[
"compenent-item"
,
1
==
t
.
fixed
?
"fixed-item"
:
""
],
attrs
:{
"data-type"
:
t
.
fieldCode
},
on
:{
mousedown
:
function
(
i
){
e
.
clickItem
(
t
)}}},[
t
.
systemFlag
||
0
!=
t
.
fieldType
?
e
.
_e
():
s
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
fieldName
))]),
e
.
_v
(
" "
),
t
.
systemFlag
||
1
!=
t
.
fieldType
?
e
.
_e
():
s
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
fieldName
))]),
e
.
_v
(
" "
),
t
.
systemFlag
||
2
!=
t
.
fieldType
?
e
.
_e
():
s
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
fieldName
))]),
e
.
_v
(
" "
),
t
.
systemFlag
||
3
!=
t
.
fieldType
?
e
.
_e
():
s
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
fieldName
))]),
e
.
_v
(
" "
),
t
.
systemFlag
||
4
!=
t
.
fieldType
?
e
.
_e
():
s
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
fieldName
))]),
e
.
_v
(
" "
),
t
.
systemFlag
||
5
!=
t
.
fieldType
?
e
.
_e
():
s
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
fieldName
))]),
e
.
_v
(
" "
),
t
.
systemFlag
||
6
!=
t
.
fieldType
?
e
.
_e
():
s
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
fieldName
))]),
e
.
_v
(
" "
),
t
.
systemFlag
||
7
!=
t
.
fieldType
?
e
.
_e
():
s
(
"span"
,[
e
.
_v
(
e
.
_s
(
t
.
fieldName
))]),
e
.
_v
(
" "
),
t
.
systemFlag
||
0
!=
t
.
fieldType
?
e
.
_e
():
s
(
"i"
,{
staticClass
:
"bg-icon bg-icon-one"
}),
e
.
_v
(
" "
),
t
.
systemFlag
||
1
!=
t
.
fieldType
?
e
.
_e
():
s
(
"i"
,{
staticClass
:
"bg-icon bg-icon-two"
}),
e
.
_v
(
" "
),
t
.
systemFlag
||
2
!=
t
.
fieldType
?
e
.
_e
():
s
(
"i"
,{
staticClass
:
"bg-icon bg-icon-three"
}),
e
.
_v
(
" "
),
t
.
systemFlag
||
3
!=
t
.
fieldType
?
e
.
_e
():
s
(
"i"
,{
staticClass
:
"bg-icon bg-icon-four"
}),
e
.
_v
(
" "
),
t
.
systemFlag
||
4
!=
t
.
fieldType
?
e
.
_e
():
s
(
"i"
,{
staticClass
:
"bg-icon bg-icon-five"
}),
e
.
_v
(
" "
),
t
.
systemFlag
||
5
!=
t
.
fieldType
?
e
.
_e
():
s
(
"i"
,{
staticClass
:
"bg-icon bg-icon-six"
}),
e
.
_v
(
" "
),
t
.
systemFlag
||
6
!=
t
.
fieldType
?
e
.
_e
():
s
(
"i"
,{
staticClass
:
"bg-icon bg-icon-seven"
}),
e
.
_v
(
" "
),
t
.
systemFlag
||
7
!=
t
.
fieldType
?
e
.
_e
():
s
(
"i"
,{
staticClass
:
"bg-icon bg-icon-eight"
})])}))],
1
)])],
1
)],
1
),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"template-cell template-cell-m"
},[
s
(
"div"
,{
staticClass
:
"phone-view"
},[
s
(
"div"
,{
staticClass
:
"phone-show-content"
},[
s
(
"div"
,{
staticClass
:
"drag-show-content"
},[
s
(
"div"
,{
staticClass
:
"view-container"
},[
s
(
"ul"
,{
staticClass
:
"view-content"
,
attrs
:{
id
:
"showPhoneView"
}},[
0
==
e
.
tempaletDataList
.
length
?[
s
(
"img"
,{
staticClass
:
"templet-null-img"
,
attrs
:{
src
:
i
(
"Y7wY"
)}})]:
e
.
_e
(),
e
.
_v
(
" "
),
s
(
"draggable"
,{
staticClass
:
"drag-wrap"
,
attrs
:{
options
:{
group
:{
name
:
"people"
,
pull
:
!
1
,
put
:
!
1
},
sort
:
!
0
}},
model
:{
value
:
e
.
tempaletDataList
,
callback
:
function
(
t
){
e
.
tempaletDataList
=
t
},
expression
:
"tempaletDataList"
}},
e
.
_l
(
e
.
tempaletDataList
,
function
(
t
,
i
){
return
s
(
"li"
,{
key
:
"li1"
+
i
,
class
:[
"filed-item"
,
e
.
currentIndex
==
i
?
"active-item"
:
""
,
"li-block"
],
on
:{
click
:
function
(
s
){
e
.
selectItem
(
t
.
fieldCode
,
i
)}}},[
"baseInfo"
!=
t
.
fieldCode
&&
"jobInfo"
!=
t
.
fieldCode
&&
"selfInfo"
!=
t
.
fieldCode
?
s
(
"span"
,{
staticClass
:
"item-close p-item-close"
,
on
:{
click
:
function
(
s
){
s
.
stopPropagation
(),
e
.
deleteItem
(
t
.
fieldCode
,
i
)}}},[
s
(
"i"
,{
staticClass
:
"el-icon-close"
})]):
e
.
_e
(),
e
.
_v
(
" "
),[
s
(
"div"
,{
staticClass
:
"block"
},[
s
(
"div"
,{
staticClass
:
"block-head"
},[
s
(
"div"
,{
class
:[
"opencard-item-title"
,
t
.
fieldName
.
length
>
6
?
"block-pre-wrap"
:
""
]},[
e
.
_v
(
e
.
_s
(
t
.
fieldName
))])]),
e
.
_v
(
" "
),
s
(
"ul"
,{
staticClass
:
"view-content"
},[
s
(
"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
(
a
,
l
){
return
s
(
"li"
,{
key
:
"li"
+
l
,
class
:[
"filed-item"
,
"child-filed-item"
,
e
.
currentChildKey
==
a
.
fieldCode
&&
e
.
currentChildIndex
==
l
?
"active-item"
:
""
],
on
:{
click
:
function
(
s
){
s
.
stopPropagation
(),
e
.
selectChildItem
(
a
.
fieldCode
,
i
,
l
,
t
.
children
)}}},[
"clerkPhone"
!=
a
.
fieldCode
&&
"clerkName"
!=
a
.
fieldCode
&&
"groupName"
!=
a
.
fieldCode
&&
"clerkCode"
!=
a
.
fieldCode
&&
"positionName"
!=
a
.
fieldCode
&&
"clerkType"
!=
a
.
fieldCode
&&
"clerkStatus"
!=
a
.
fieldCode
&&
"sex"
!=
a
.
fieldCode
&&
"hireDate"
!=
a
.
fieldCode
&&
"nation"
!=
a
.
fieldCode
?
s
(
"span"
,{
staticClass
:
"item-close child-item-close"
,
on
:{
click
:
function
(
s
){
s
.
stopPropagation
(),
e
.
deleteChildItem
(
a
.
fieldCode
,
i
,
l
,
t
.
children
,
a
)}}},[
s
(
"i"
,{
staticClass
:
"el-icon-close"
})]):
e
.
_e
(),
e
.
_v
(
" "
),
2
==
a
.
fieldType
||
3
==
a
.
fieldType
||
4
==
a
.
fieldType
?
s
(
"div"
,{
staticClass
:
"flex"
},[
s
(
"div"
,{
class
:[
"opencard-item-title"
,
a
.
fieldName
.
length
>
6
?
"title-pre-wrap"
:
""
]},[
e
.
_v
(
e
.
_s
(
a
.
fieldName
))]),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"draged-item-show"
},[
s
(
"span"
,{
staticClass
:
"show-warm-text show-warm-text-flag select-flag"
},[
e
.
_v
(
e
.
_s
(
a
.
fieldDescription
)
+
" "
),
s
(
"i"
,{
staticClass
:
"el-icon-arrow-right"
})])])]):
e
.
_e
(),
e
.
_v
(
" "
),
5
==
a
.
fieldType
?
s
(
"div"
,{
staticClass
:
"flex"
},[
s
(
"div"
,[
s
(
"div"
,{
class
:[
"opencard-item-title"
,
a
.
fieldOperations
.
startName
.
length
>
6
?
"title-pre-wrap"
:
""
]},[
e
.
_v
(
e
.
_s
(
a
.
fieldOperations
.
startName
))]),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"draged-item-show"
},[
s
(
"span"
,{
staticClass
:
"show-warm-text show-warm-text-flag select-flag"
},[
e
.
_v
(
e
.
_s
(
a
.
fieldOperations
.
startDescription
)),
s
(
"i"
,{
staticClass
:
"el-icon-arrow-right"
})])])]),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"b-t-1"
},[
s
(
"div"
,{
class
:[
"opencard-item-title"
,
a
.
fieldOperations
.
endName
.
length
>
6
?
"title-pre-wrap"
:
""
]},[
e
.
_v
(
e
.
_s
(
a
.
fieldOperations
.
endName
))]),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"draged-item-show"
},[
s
(
"span"
,{
staticClass
:
"show-warm-text show-warm-text-flag select-flag"
},[
e
.
_v
(
e
.
_s
(
a
.
fieldOperations
.
endDescription
)),
s
(
"i"
,{
staticClass
:
"el-icon-arrow-right"
})])])])]):
e
.
_e
(),
e
.
_v
(
" "
),
7
==
a
.
fieldType
?
s
(
"div"
,{
staticClass
:
"flex"
},[
s
(
"div"
,{
class
:[
"opencard-item-title"
,
a
.
fieldName
.
length
>
6
?
"title-pre-wrap"
:
""
]},[
e
.
_v
(
e
.
_s
(
a
.
fieldName
))]),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"draged-item-show"
},[
s
(
"span"
,{
staticClass
:
"show-warm-text show-warm-text-flag select-flag"
},[
s
(
"i"
,{
staticClass
:
"iconfont icon-icon"
})])])]):
e
.
_e
(),
e
.
_v
(
" "
),
0
==
a
.
fieldType
||
1
==
a
.
fieldType
||
6
==
a
.
fieldType
?
s
(
"div"
,[
s
(
"div"
,{
class
:[
"opencard-item-title"
,
a
.
fieldName
.
length
>
6
?
"title-pre-wrap"
:
""
]},[
e
.
_v
(
e
.
_s
(
a
.
fieldName
))]),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"draged-item-show"
},[
s
(
"span"
,{
staticClass
:
"show-warm-text show-warm-text-flag"
},[
e
.
_v
(
e
.
_s
(
a
.
fieldDescription
))])])]):
e
.
_e
()])}))],
1
)])]],
2
)}))],
2
)])])])])]),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"template-cell template-cell-r"
},[
s
(
"el-tabs"
,{
model
:{
value
:
e
.
rightName
,
callback
:
function
(
t
){
e
.
rightName
=
t
},
expression
:
"rightName"
}},[
s
(
"el-tab-pane"
,{
attrs
:{
label
:
"控件设置"
,
name
:
"first"
}},[
s
(
"div"
,{
attrs
:{
id
:
"edit-box"
}},[
s
(
"div"
,{
staticClass
:
"edit-view baby-info-flag baby-info"
},[
e
.
_l
(
e
.
tempaletDataList
,
function
(
t
,
i
){
return
[
e
.
currentIndex
==
i
&&
"0"
==
t
.
parentCode
?[
s
(
"div"
,{
key
:
"parent"
+
i
,
staticClass
:
"edit-item "
},[
s
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
e
.
_v
(
"标题"
)]),
e
.
_v
(
" "
),
s
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
t
.
fieldName
,
holder
:
""
,
disflag
:
!
0
,
getByType
:
"word"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
i
){
e
.
$set
(
t
,
"fieldName"
,
i
)}}})],
1
)]:
e
.
_e
(),
e
.
_v
(
" "
),
e
.
childIndex
==
i
&&
t
.
children
&&
t
.
children
.
length
?[
e
.
_l
(
t
.
children
,
function
(
t
,
a
){
return
[
e
.
currentChildIndex
==
a
?[
s
(
"div"
,{
key
:
"child"
+
a
,
staticClass
:
"edit-item test-title limit-w-340"
},[
s
(
"div"
,{
staticClass
:
"edit-item-title"
},[
e
.
_v
(
"标题"
)]),
e
.
_v
(
" "
),
s
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
t
.
fieldName
,
holder
:
""
,
disflag
:
t
.
systemFlag
,
getByType
:
"word"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
i
){
e
.
$set
(
t
,
"fieldName"
,
i
)}}}),
e
.
_v
(
" "
),
7
==
t
.
fieldType
?
s
(
"p"
,{
staticStyle
:{
"margin-top"
:
"8px"
,
"font-size"
:
"12px"
,
color
:
"rgba(255, 255, 255, 0.7)"
}},[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
fieldDescription
)
+
"
\
n "
)]):
e
.
_e
()],
1
)]:
e
.
_e
(),
e
.
_v
(
" "
),
e
.
currentChildIndex
==
a
&&
5
!=
t
.
fieldType
&&
7
!=
t
.
fieldType
?[
s
(
"div"
,{
key
:
"child1"
+
a
,
staticClass
:
"edit-item test-title limit-w-340"
},[
s
(
"div"
,{
staticClass
:
"edit-item-title"
},[
e
.
_v
(
"提示文字"
)]),
e
.
_v
(
" "
),
s
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
t
.
fieldDescription
,
holder
:
""
,
disflag
:
!
1
,
getByType
:
"word"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
i
){
e
.
$set
(
t
,
"fieldDescription"
,
i
)}}})],
1
)]:
e
.
_e
(),
e
.
_v
(
" "
),
e
.
currentChildIndex
==
a
&&
5
==
t
.
fieldType
?[
s
(
"div"
,{
key
:
"child2"
+
a
,
staticClass
:
"edit-item test-title limit-w-340"
},[
s
(
"div"
,{
staticClass
:
"edit-item-title"
},[
e
.
_v
(
"开始时间"
)]),
e
.
_v
(
" "
),
s
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
t
.
fieldOperations
.
startName
,
holder
:
""
,
disflag
:
t
.
systemFlag
,
getByType
:
"word"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
i
){
e
.
$set
(
t
.
fieldOperations
,
"startName"
,
i
)}}})],
1
),
e
.
_v
(
" "
),
s
(
"div"
,{
key
:
"child3"
+
a
,
staticClass
:
"edit-item test-title limit-w-340"
},[
s
(
"div"
,{
staticClass
:
"edit-item-title"
},[
e
.
_v
(
"提示文字"
)]),
e
.
_v
(
" "
),
s
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
t
.
fieldOperations
.
startDescription
,
holder
:
""
,
disflag
:
!
1
,
getByType
:
"word"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
i
){
e
.
$set
(
t
.
fieldOperations
,
"startDescription"
,
i
)}}})],
1
),
e
.
_v
(
" "
),
s
(
"div"
,{
key
:
"child4"
+
a
,
staticClass
:
"edit-item test-title limit-w-340"
},[
s
(
"div"
,{
staticClass
:
"edit-item-title"
},[
e
.
_v
(
"结束时间"
)]),
e
.
_v
(
" "
),
s
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
t
.
fieldOperations
.
endName
,
holder
:
""
,
disflag
:
t
.
systemFlag
,
getByType
:
"word"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
i
){
e
.
$set
(
t
.
fieldOperations
,
"endName"
,
i
)}}})],
1
),
e
.
_v
(
" "
),
s
(
"div"
,{
key
:
"child5"
+
a
,
staticClass
:
"edit-item test-title limit-w-340"
},[
s
(
"div"
,{
staticClass
:
"edit-item-title"
},[
e
.
_v
(
"提示文字"
)]),
e
.
_v
(
" "
),
s
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
t
.
fieldOperations
.
endDescription
,
holder
:
""
,
disflag
:
!
1
,
getByType
:
"word"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
i
){
e
.
$set
(
t
.
fieldOperations
,
"endDescription"
,
i
)}}})],
1
)]:
e
.
_e
(),
e
.
_v
(
" "
),
e
.
currentChildIndex
==
a
&&
6
==
t
.
fieldType
?[
s
(
"div"
,{
key
:
"child6"
+
a
,
staticClass
:
"edit-item test-title limit-w-340"
},[
s
(
"div"
,{
staticClass
:
"edit-item-title"
},[
e
.
_v
(
"单位"
)]),
e
.
_v
(
" "
),
s
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
t
.
fieldOperations
.
unit
,
holder
:
""
,
disflag
:
!
1
,
getByType
:
"word"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
i
){
e
.
$set
(
t
.
fieldOperations
,
"unit"
,
i
)}}})],
1
)]:
e
.
_e
(),
e
.
_v
(
" "
),
e
.
currentChildIndex
!=
a
||
4
!=
t
.
fieldType
&&
5
!=
t
.
fieldType
?
e
.
_e
():[
s
(
"div"
,{
key
:
"child7"
+
a
,
staticClass
:
"edit-item "
},[
s
(
"div"
,{
staticClass
:
"edit-item-title"
},[
e
.
_v
(
"日期类型"
)]),
e
.
_v
(
" "
),
e
.
_l
(
t
.
fieldOperations
.
ruleContent
,
function
(
i
,
a
){
return
[
s
(
"el-radio"
,{
key
:
"child8"
+
a
,
attrs
:{
label
:
i
.
key
},
model
:{
value
:
t
.
fieldOperations
.
typeValue
,
callback
:
function
(
i
){
e
.
$set
(
t
.
fieldOperations
,
"typeValue"
,
i
)},
expression
:
"childItem.fieldOperations.typeValue"
}},[
e
.
_v
(
"
\
n "
+
e
.
_s
(
i
.
name
)
+
"
\
n "
)])]})],
2
)],
e
.
_v
(
" "
),
e
.
currentChildIndex
!=
a
||
"2"
!=
t
.
fieldType
&&
"3"
!=
t
.
fieldType
?
e
.
_e
():[
s
(
"div"
,{
key
:
"child9"
+
a
,
staticClass
:
"edit-item "
},[
s
(
"div"
,{
staticClass
:
"edit-item-title"
},[
e
.
_v
(
"选项 "
),
t
.
systemFlag
?
e
.
_e
():
s
(
"span"
,[
e
.
_v
(
"最多20项,每项最多10个字"
)])]),
e
.
_v
(
" "
),
e
.
_l
(
t
.
fieldOperations
.
fieldContent
,
function
(
a
,
l
){
return
[
s
(
"div"
,{
key
:
"child10"
+
l
,
staticClass
:
"margin-t-15 limit-w-340"
,
style
:
0
==
l
?
"margin-top: 0"
:
""
},[
s
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
a
.
name
,
holder
:
""
,
disflag
:
t
.
systemFlag
,
getByType
:
"word"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
a
,
"name"
,
t
)}}}),
e
.
_v
(
" "
),
!
t
.
systemFlag
&&
t
.
fieldOperations
.
fieldContent
.
length
>
1
?
s
(
"i"
,{
staticClass
:
"opt-btn el-icon-remove del-item"
,
on
:{
click
:
function
(
s
){
e
.
delChildItem
(
i
,
l
,
t
)}}}):
e
.
_e
(),
e
.
_v
(
" "
),
!
t
.
systemFlag
&&
l
<
19
?[
l
==
t
.
fieldOperations
.
fieldContent
.
length
-
1
?
s
(
"i"
,{
staticClass
:
"opt-btn el-icon-circle-plus add-item"
,
on
:{
click
:
function
(
s
){
e
.
addChildItem
(
i
,
l
,
t
)}}}):
e
.
_e
()]:
e
.
_e
()],
2
)]})],
2
)],
e
.
_v
(
" "
),
e
.
currentChildIndex
==
a
?[
s
(
"div"
,{
key
:
"child11"
+
a
,
staticClass
:
"edit-item"
},[
s
(
"div"
,{
staticClass
:
"edit-item-title"
},[
e
.
_v
(
"验证"
)]),
e
.
_v
(
" "
),
s
(
"el-checkbox"
,{
model
:{
value
:
t
.
isMust
,
callback
:
function
(
i
){
e
.
$set
(
t
,
"isMust"
,
i
)},
expression
:
"childItem.isMust"
}},[
e
.
_v
(
"必填"
)])],
1
)]:
e
.
_e
(),
e
.
_v
(
" "
),
e
.
currentChildIndex
==
a
?[
s
(
"div"
,{
key
:
"parent2"
+
a
,
staticClass
:
"edit-item "
},[
s
(
"div"
,{
staticClass
:
"edit-item-title"
},[
e
.
_v
(
"员工档案中"
)]),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"staffRecords-limit"
},[
s
(
"el-radio"
,{
staticClass
:
"label-cell"
,
attrs
:{
label
:
"1"
},
model
:{
value
:
t
.
staffRecordsIds
.
staffVisible
,
callback
:
function
(
i
){
e
.
$set
(
t
.
staffRecordsIds
,
"staffVisible"
,
i
)},
expression
:
"childItem.staffRecordsIds.staffVisible"
}},[
e
.
_v
(
"对员工可见"
)]),
e
.
_v
(
" "
),
s
(
"el-radio"
,{
staticClass
:
"label-cell"
,
attrs
:{
label
:
"0"
},
model
:{
value
:
t
.
staffRecordsIds
.
staffVisible
,
callback
:
function
(
i
){
e
.
$set
(
t
.
staffRecordsIds
,
"staffVisible"
,
i
)},
expression
:
"childItem.staffRecordsIds.staffVisible"
}},[
e
.
_v
(
"对员工不可见"
)])],
1
),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"staffRecords-limit"
},[
s
(
"el-radio"
,{
staticClass
:
"label-cell"
,
attrs
:{
label
:
"1"
},
model
:{
value
:
t
.
staffRecordsIds
.
staffModify
,
callback
:
function
(
i
){
e
.
$set
(
t
.
staffRecordsIds
,
"staffModify"
,
i
)},
expression
:
"childItem.staffRecordsIds.staffModify"
}},[
e
.
_v
(
"对员工可修改"
)]),
e
.
_v
(
" "
),
s
(
"el-radio"
,{
staticClass
:
"label-cell"
,
attrs
:{
label
:
"0"
},
model
:{
value
:
t
.
staffRecordsIds
.
staffModify
,
callback
:
function
(
i
){
e
.
$set
(
t
.
staffRecordsIds
,
"staffModify"
,
i
)},
expression
:
"childItem.staffRecordsIds.staffModify"
}},[
e
.
_v
(
"对员工不可修改"
)])],
1
)])]:
e
.
_e
()]})]:
e
.
_e
()]})],
2
)])])],
1
)],
1
)])]),
e
.
_v
(
" "
),
s
(
"qrcode-dialog"
,{
ref
:
"qrcodePreview"
,
model
:{
value
:
e
.
dialogVisible
,
callback
:
function
(
t
){
e
.
dialogVisible
=
t
},
expression
:
"dialogVisible"
}})],
1
)},
staticRenderFns
:[
function
(){
var
e
=
this
.
$createElement
,
t
=
this
.
_self
.
_c
||
e
;
return
t
(
"div"
,{
staticClass
:
"template-title flex-1"
},[
t
(
"img"
,{
attrs
:{
src
:
i
(
"LbEI"
),
alt
:
"logo"
}}),
this
.
_v
(
" "
),
t
(
"span"
,{
staticClass
:
"template-title-span"
},[
this
.
_v
(
"员工档案设置"
)])])}]};
var
x
=
i
(
"VU/8"
)(
_
,
I
,
!
1
,
function
(
e
){
i
(
"+ZNS"
)},
"data-v-7900f3fb"
,
null
);
t
.
default
=
x
.
exports
}});
\ No newline at end of file
dist/static/js/5.
96197fd99d3e41d25916
.js
→
dist/static/js/5.
068dd45272e96178979f
.js
View file @
26eaaffa
webpackJsonp
([
5
,
35
,
61
,
64
,
72
,
74
],{
"79Bk"
:
function
(
t
,
e
,
i
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
a
=
{
name
:
"date-range-com"
,
props
:{
childItem
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
{}}}},
methods
:{
getZhLen
:
function
(
t
){
for
(
var
e
=
0
,
i
=
0
;
i
<
t
.
length
;
i
++
){
null
!=
t
.
charAt
(
i
).
match
(
/
[^\x
00-
\x
ff
]
/gi
)?
e
+=
1
:
e
+=
.
5
}
return
Math
.
ceil
(
e
)}}},
s
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
i
=
t
.
_self
.
_c
||
e
;
return
i
(
"div"
,[
i
(
"div"
,{
staticClass
:
"flex"
},[
i
(
"div"
,{
class
:[
"opencard-item-title"
,
t
.
getZhLen
(
t
.
childItem
.
startTitle
)
>=
6
?
"title-pre-wrap"
:
""
]},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
startTitle
))]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"draged-item-show"
},[
i
(
"span"
,{
staticClass
:
"show-warm-text show-warm-text-flag select-flag"
},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
placeholder
)
+
" "
+
t
.
_s
(
t
.
childItem
.
isMust
?
"(必填)"
:
""
)),
i
(
"i"
,{
staticClass
:
"el-icon-arrow-right"
})])])]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"b-t-1 flex"
},[
i
(
"div"
,{
class
:[
"opencard-item-title"
,
t
.
getZhLen
(
t
.
childItem
.
endTitle
)
>=
6
?
"title-pre-wrap"
:
""
]},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
endTitle
))]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"draged-item-show"
},[
i
(
"span"
,{
staticClass
:
"show-warm-text show-warm-text-flag select-flag"
},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
placeholder
)
+
" "
+
t
.
_s
(
t
.
childItem
.
isMust
?
"(必填)"
:
""
)
+
" "
),
i
(
"i"
,{
staticClass
:
"el-icon-arrow-right"
})])])])])},
staticRenderFns
:[]};
var
l
=
i
(
"VU/8"
)(
a
,
s
,
!
1
,
function
(
t
){
i
(
"oS7J"
)},
"data-v-181d007a"
,
null
);
e
.
default
=
l
.
exports
},
C8Hy
:
function
(
t
,
e
){},
H8Kg
:
function
(
t
,
e
,
i
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
a
=
{
name
:
"image-com"
,
props
:{
childItem
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
{}}}},
methods
:{
getZhLen
:
function
(
t
){
for
(
var
e
=
0
,
i
=
0
;
i
<
t
.
length
;
i
++
){
null
!=
t
.
charAt
(
i
).
match
(
/
[^\x
00-
\x
ff
]
/gi
)?
e
+=
1
:
e
+=
.
5
}
return
Math
.
ceil
(
e
)}}},
s
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
i
=
t
.
_self
.
_c
||
e
;
return
i
(
"div"
,{
staticClass
:
"image-com flex"
},[
i
(
"div"
,{
class
:[
"opencard-item-title"
,
t
.
getZhLen
(
t
.
childItem
.
title
)
>=
6
?
"title-pre-wrap"
:
""
]},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
title
))]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"must"
},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
isMust
?
"(必填)"
:
""
))]),
t
.
_v
(
" "
),
t
.
_m
(
0
)])},
staticRenderFns
:[
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,{
staticClass
:
"draged-item-show"
},[
e
(
"span"
,{
staticClass
:
"show-warm-text show-warm-text-flag select-flag"
},[
e
(
"i"
,{
staticClass
:
"iconfont icon-icon"
})])])}]};
var
l
=
i
(
"VU/8"
)(
a
,
s
,
!
1
,
function
(
t
){
i
(
"o82P"
)},
"data-v-d0955ee0"
,
null
);
e
.
default
=
l
.
exports
},
IA9l
:
function
(
t
,
e
,
i
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
a
=
i
(
"//Fk"
),
s
=
i
.
n
(
a
),
l
=
i
(
"Gu7T"
),
n
=
i
.
n
(
l
),
c
=
i
(
"gBtx"
),
o
=
i
.
n
(
c
),
r
=
i
(
"mvHQ"
),
d
=
i
.
n
(
r
),
m
=
i
(
"DAYN"
),
p
=
i
.
n
(
m
),
u
=
i
(
"Isrn"
),
h
=
i
(
"l46T"
),
v
=
i
(
"H8Kg"
),
f
=
i
(
"t0b0"
),
_
=
i
(
"79Bk"
),
g
=
i
(
"s4D+"
),
y
=
i
(
"PAYw"
),
C
=
i
(
"fPyK"
),
b
=
i
(
"3E4D"
),
I
=
i
(
"Ch4/"
),
x
=
i
(
"PI0u"
),
k
=
i
(
"P9l9"
),
w
=
{
name
:
"customSetTemplate"
,
data
:
function
(){
return
{
activeName
:
"first"
,
rightName
:
"second"
,
dialogVisible
:
!
1
,
bodyHeight
:(
document
.
documentElement
.
clientHeight
||
document
.
body
.
clientHeight
)
+
"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
}]}},
methods
:{
getZhLen
:
function
(
t
){
for
(
var
e
=
0
,
i
=
0
;
i
<
t
.
length
;
i
++
){
null
!=
t
.
charAt
(
i
).
match
(
/
[^\x
00-
\x
ff
]
/gi
)?
e
+=
1
:
e
+=
.
5
}
return
Math
.
ceil
(
e
)},
returnBack
:
function
(){
this
.
changeRoute
(
"/customReport?brandId="
+
this
.
brandId
+
"&appIcon="
+
this
.
$route
.
query
.
appIcon
)},
cloneItem
:
function
(
t
){
var
e
=
JSON
.
parse
(
d
()(
t
));
return
e
.
cid
=
"c"
+
this
.
counter
,
e
.
systemFlag
||
(
e
.
name
.
includes
(
"textc"
)
&&
(
e
.
name
=
"textc"
+
this
.
counter
),
e
.
name
.
includes
(
"paragraphc"
)
&&
(
e
.
name
=
"paragraphc"
+
this
.
counter
),
e
.
name
.
includes
(
"numberc"
)
&&
(
e
.
name
=
"numberc"
+
this
.
counter
),
e
.
name
.
includes
(
"checkboxesOrRadioc"
)
&&
(
e
.
name
=
"checkboxesOrRadioc"
+
this
.
counter
),
e
.
name
.
includes
(
"datec"
)
&&
(
e
.
name
=
"datec"
+
this
.
counter
),
e
.
name
.
includes
(
"dateareac"
)
&&
(
e
.
name
=
"dateareac"
+
this
.
counter
),
e
.
name
.
includes
(
"picc"
)
&&
(
e
.
name
=
"picc"
+
this
.
counter
),
e
.
name
.
includes
(
"introductionc"
)
&&
(
e
.
name
=
"introductionc"
+
this
.
counter
),
e
.
name
.
includes
(
"pricec"
)
&&
(
e
.
name
=
"pricec"
+
this
.
counter
),
e
.
name
.
includes
(
"groupc"
)
&&
(
e
.
name
=
"groupc"
+
this
.
counter
,
e
.
title
=
""
+
e
.
title
+
this
.
counter
)),
e
},
onMove
:
function
(
t
){
var
e
=
t
.
draggedContext
.
element
;
return
!
this
.
tempaletDataList
.
map
(
function
(
t
){
return
t
.
name
}).
includes
(
e
.
name
)
&&!
e
.
fixed
},
onChildMove
:
function
(
t
){
var
e
=!
0
;
return
-
1
!=
t
.
dragged
.
className
.
indexOf
(
"block-class"
)
&&-
1
!=
t
.
to
.
className
.
indexOf
(
"block-wrap"
)
&&
(
e
=!
1
),
e
},
itemMoveEnd
:
function
(
t
){
var
e
=
this
;
function
i
(
t
){
e
[
t
].
forEach
(
function
(
t
,
i
){
t
.
name
==
e
.
selectKey
&&
(
t
.
fixed
=!
0
)})}
e
.
isDragging
=!
1
,
e
.
selectKey
=
""
,
e
.
selectKey
=
t
.
clone
.
dataset
.
name
,
e
.
tempaletDataList
.
forEach
(
function
(
t
,
a
){
t
.
name
==
e
.
selectKey
&&
i
(
t
.
parentCode
),
t
.
children
&&
t
.
children
.
forEach
(
function
(
t
,
a
){
t
.
name
==
e
.
selectKey
&&
i
(
t
.
parentCode
)})}),
e
.
selectKey
=
""
,
e
.
tempaletDataList
=
JSON
.
parse
(
d
()(
e
.
tempaletDataList
)),
e
.
$forceUpdate
(),
e
.
counter
=
e
.
counter
+
1
},
selectItem
:
function
(
t
,
e
){
this
.
currentIndex
=
e
,
this
.
currentChildIndex
=
null
},
deleteItem
:
function
(
t
,
e
,
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
(
t
){
t
.
systemFlag
&&
s
[
t
.
parentCode
].
forEach
(
function
(
e
){
e
.
name
==
t
.
name
&&
(
e
.
fixed
=!
1
)})}),
!
1
;
s
[
e
].
forEach
(
function
(
e
,
i
){
e
.
name
==
t
&&
(
e
.
fixed
=!
1
)})},
addDragItem
:
function
(
t
){
return
!
1
},
selectChildItem
:
function
(
t
,
e
,
i
,
a
){
this
.
currentIndex
=
null
,
this
.
currentChildKey
=
t
,
this
.
childIndex
=
e
,
this
.
currentChildIndex
=
i
},
deleteChildItem
:
function
(
t
,
e
,
i
,
a
,
s
){
if
(
this
.
childIndex
=
e
,
this
.
currentIndex
=
null
,
this
.
currentChildKey
=
this
.
tempaletDataList
[
e
].
children
[
i
].
name
,
this
.
currentChildIndex
--
,
this
.
currentChildIndex
<=
0
&&
(
this
.
currentChildIndex
=
0
),
this
.
tempaletDataList
=
JSON
.
parse
(
d
()(
this
.
tempaletDataList
)),
this
.
tempaletDataList
[
e
].
children
.
splice
(
i
,
1
),
!
s
.
systemFlag
)
return
!
1
;
this
[
s
.
parentCode
].
forEach
(
function
(
e
,
i
){
e
.
name
===
t
&&
(
e
.
fixed
=!
1
)})},
delChildItem
:
function
(
t
,
e
,
i
){
i
.
list
.
splice
(
e
,
1
)},
addChildItem
:
function
(
t
,
e
,
i
){
if
(
19
!=
e
){
i
.
list
.
push
({
value
:
"选项"
+
(
e
+
2
),
key
:
e
+
2
});
var
a
=
i
.
list
.
map
(
function
(
t
){
return
t
.
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
(
t
,
e
,
i
){
e
&&
i
.
list
.
forEach
(
function
(
e
){
e
.
isMust
=!!
t
})},
isRepeat
:
function
(
t
){
var
e
=
{};
for
(
var
i
in
t
){
if
(
e
[
t
[
i
]])
return
!
0
;
e
[
t
[
i
]]
=!
0
}
return
!
1
},
changeRoute
:
function
(
t
){
this
.
$router
.
push
(
t
)},
checkTag
:
function
(
t
){
var
e
=
{
filedFlag
:
!
0
,
filedRepeat
:
!
1
},
i
=
[];
return
t
.
forEach
(
function
(
t
){
if
(
""
==
t
.
title
)
return
e
.
filedFlag
=!
1
,
e
.
name
=
t
.
title
||
""
,
!
1
;
i
.
push
(
t
.
title
),
t
.
hasOwnProperty
(
"children"
)
&&
t
.
children
.
length
&&
t
.
children
.
forEach
(
function
(
t
){
if
(
t
.
systemFlag
&&
""
==
t
.
title
)
return
e
.
filedFlag
=!
1
,
e
.
name
=
t
.
title
||
""
,
!
1
;
i
.
push
(
t
.
title
)})}),
this
.
isRepeat
(
i
)
&&
(
e
.
filedRepeat
=!
0
),
e
},
checkTemplateObj
:
function
(){
var
t
=!
0
;
return
this
.
templateObj
.
title
&&
this
.
templateObj
.
description
&&
this
.
templateObj
.
storeType
||
(
t
=!
1
),
t
},
getUuid
:
function
(){
return
"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx"
.
replace
(
/
[
xy
]
/g
,
function
(
t
){
var
e
=
16
*
Math
.
random
()
|
0
;
return
(
"x"
==
t
?
e
:
3
&
e
|
8
).
toString
(
16
)})},
saveAndBack
:
Object
(
x
.
a
)(
function
(
t
){
if
(
!
this
.
checkTemplateObj
())
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请完善模板设置内容"
}),
!
1
;
var
e
=
JSON
.
parse
(
d
()(
this
.
tempaletDataList
)),
i
=
this
.
checkTag
(
e
);
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
(
e
.
forEach
(
function
(
t
,
e
){
t
.
sort
=
e
,
t
.
isMust
=
t
.
isMust
?
1
:
0
,
t
.
memory
=
t
.
memory
?
1
:
0
,
t
.
hasOwnProperty
(
"openCapitalize"
)
&&
(
t
.
openCapitalize
=
t
.
openCapitalize
?
1
:
0
),
t
.
hasOwnProperty
(
"list"
)
&&
t
.
list
.
forEach
(
function
(
t
){
t
.
isMust
=
t
.
isMust
?
1
:
0
}),
t
.
hasOwnProperty
(
"children"
)
&&
(
t
.
children
.
forEach
(
function
(
t
,
e
){
t
.
sort
=
e
,
t
.
isMust
=
t
.
isMust
?
1
:
0
,
t
.
memory
=
t
.
memory
?
1
:
0
,
t
.
hasOwnProperty
(
"list"
)
&&
t
.
list
.
forEach
(
function
(
t
){
t
.
isMust
=
t
.
isMust
?
1
:
0
}),
t
.
hasOwnProperty
(
"openCapitalize"
)
&&
(
t
.
openCapitalize
=
t
.
openCapitalize
?
1
:
0
)}),
t
.
list
=
t
.
children
)}),
!
e
.
length
)
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请先配置字段"
}),
!
1
;
"save"
===
t
?
this
.
saveAllData
(
e
):
this
.
postPreview
(
e
)}},
500
),
saveAllData
:
function
(
t
){
var
e
=
this
,
i
=
{
status
:
1
,
brandId
:
e
.
brandId
,
templateContent
:
d
()(
t
),
title
:
e
.
templateObj
.
title
,
description
:
e
.
templateObj
.
description
,
storeType
:
e
.
templateObj
.
storeType
,
memory
:[]};
Object
(
k
.
e
)(
"/haoban-app-daily-web/daily/save-define-template"
,
i
).
then
(
function
(
t
){
var
i
=
t
.
data
;
if
(
1
==
i
.
errorCode
)
return
b
.
a
.
showmsg
(
"保存成功"
,
"success"
),
void
e
.
changeRoute
(
"/customReport?brandId="
+
e
.
brandId
+
"&appIcon="
+
e
.
$route
.
query
.
appIcon
);
I
.
a
.
errorMsg
(
i
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
postPreview
:
function
(
t
){
var
e
=
this
,
i
=
{
templateType
:
1
,
brandId
:
e
.
brandId
,
templateContent
:
d
()(
t
)};
Object
(
k
.
e
)(
"/haoban-app-daily-web/daily/preview-template"
,
i
).
then
(
function
(
t
){
var
i
=
t
.
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="
+
e
.
brandId
;
return
e
.
$refs
.
qrcodePreview
.
qrcode
(
s
,
"daily-preview"
),
void
(
e
.
dialogVisible
=!
0
)}
I
.
a
.
errorMsg
(
i
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
closeDialog
:
function
(){
this
.
dialogVisible
=!
1
},
getHasStores
:
function
(){
var
t
=
this
;
Object
(
k
.
e
)(
"/haoban-app-daily-web/daily/has-defined-template-store-type"
,{
brandId
:
t
.
brandId
}).
then
(
function
(
e
){
var
i
=
e
.
data
;
1
!=
i
.
errorCode
?
I
.
a
.
errorMsg
(
i
):
t
.
storeList
.
forEach
(
function
(
e
){
i
.
result
&&
i
.
result
.
length
&&
i
.
result
.
includes
(
o
()(
e
.
id
))
&&
(
e
.
disabled
=!
0
),
"edit"
==
t
.
oparateType
&&
t
.
storeType
==
e
.
id
&&
(
e
.
disabled
=!
1
)})}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getAllFields
:
function
(
t
){
var
e
=
this
;
Object
(
k
.
e
)(
"/haoban-app-daily-web/daily/get-template-items"
,{
brandId
:
e
.
brandId
,
type
:
t
}).
then
(
function
(
i
){
var
a
=
i
.
data
;
if
(
1
==
a
.
errorCode
)
return
a
.
result
.
forEach
(
function
(
e
){
e
.
isMust
=!!
e
.
isMust
,
e
.
memory
=!!
e
.
memory
,
e
.
title
=
e
.
title
.
trim
(),
e
.
hasOwnProperty
(
"openCapitalize"
)
&&
(
e
.
openCapitalize
=!!
e
.
openCapitalize
),
e
.
hasOwnProperty
(
"list"
)
&&
e
.
list
&&
e
.
list
.
length
&&
e
.
list
.
forEach
(
function
(
t
){
t
.
isMust
=!!
t
.
isMust
}),
e
.
systemFlag
=
3
!=
t
,
e
.
name
.
includes
(
"groupc"
)
&&
(
e
.
children
=
[])}),
void
(
3
==
t
?
e
.
defineInfo
=
a
.
result
:
e
.
handleAllFields
(
a
.
result
));
I
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
handleAllFields
:
function
(
t
){
var
e
=
this
;
t
.
forEach
(
function
(
t
){
t
.
fixed
=!
1
,
1
==
t
.
classify
&&
(
t
.
parentCode
=
"tradeInfo"
,
e
.
tradeInfo
.
push
(
t
)),
2
==
t
.
classify
&&
(
t
.
parentCode
=
"personInfo"
,
e
.
personInfo
.
push
(
t
)),
3
==
t
.
classify
&&
(
t
.
parentCode
=
"goodsInfo"
,
e
.
goodsInfo
.
push
(
t
)),
4
==
t
.
classify
&&
(
t
.
parentCode
=
"competeInfo"
,
e
.
competeInfo
.
push
(
t
))})},
getInfo
:
function
(){
var
t
=
this
;
Object
(
k
.
e
)(
"/haoban-app-daily-web/daily/get-define-template"
,{
templateId
:
t
.
templateId
}).
then
(
function
(
e
){
var
i
=
e
.
data
;
if
(
1
==
i
.
errorCode
)
return
t
.
setList
=
[],
i
.
result
&&
(
t
.
templateObj
.
title
=
i
.
result
.
title
,
t
.
templateObj
.
description
=
i
.
result
.
description
,
t
.
storeType
=
"edit"
==
t
.
oparateType
?
String
(
i
.
result
.
storeType
):
""
,
t
.
templateObj
.
storeType
=
"edit"
==
t
.
oparateType
?
String
(
i
.
result
.
storeType
):
""
,
i
.
result
.
templateContent
&&
i
.
result
.
templateContent
.
length
&&
t
.
handleGetInfo
(
i
.
result
.
templateContent
)),
void
t
.
getHasStores
();
I
.
a
.
errorMsg
(
i
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
treeData
:
function
(
t
){
var
e
=
t
.
filter
(
function
(
e
){
var
i
=
t
.
filter
(
function
(
t
){
return
e
.
fieldCode
==
t
.
parentCode
});
return
i
.
length
>
0
&&
(
e
.
children
=
i
),
0
==
e
.
parentCode
});
return
e
.
sort
(
function
(
t
,
e
){
return
t
.
sort
-
e
.
sort
}),
e
.
forEach
(
function
(
t
,
e
){
t
.
children
.
sort
(
function
(
t
,
e
){
return
t
.
sort
-
e
.
sort
})}),
e
},
handleGetInfo
:
function
(
t
){
var
e
=
this
,
i
=
JSON
.
parse
(
d
()(
t
));
e
.
cids
=
[],
e
.
setParent
=
[],
i
.
forEach
(
function
(
t
,
i
){
t
.
title
=
t
.
title
.
trim
(),
t
.
isMust
=!!
t
.
isMust
,
t
.
memory
=!!
t
.
memory
,
t
.
name
.
includes
(
"textc"
)
||
t
.
name
.
includes
(
"paragraphc"
)
||
t
.
name
.
includes
(
"numberc"
)
||
t
.
name
.
includes
(
"checkboxesOrRadioc"
)
||
t
.
name
.
includes
(
"datec"
)
||
t
.
name
.
includes
(
"dateareac"
)
||
t
.
name
.
includes
(
"picc"
)
||
t
.
name
.
includes
(
"introductionc"
)
||
t
.
name
.
includes
(
"pricec"
)
||
t
.
name
.
includes
(
"groupc"
)?(
t
.
systemFlag
=!
1
,
t
.
parentCode
=
"defineInfo"
):(
e
.
setParent
.
push
(
t
.
name
),
t
.
systemFlag
=!
0
,
1
==
t
.
classify
&&
(
t
.
parentCode
=
"tradeInfo"
),
2
==
t
.
classify
&&
(
t
.
parentCode
=
"personInfo"
),
3
==
t
.
classify
&&
(
t
.
parentCode
=
"goodsInfo"
),
4
==
t
.
classify
&&
(
t
.
parentCode
=
"competeInfo"
)),
t
.
hasOwnProperty
(
"openCapitalize"
)
&&
(
t
.
openCapitalize
=!!
t
.
openCapitalize
),
t
.
hasOwnProperty
(
"list"
)
&&
t
.
list
&&
t
.
list
.
length
&&
(
t
.
list
.
forEach
(
function
(
i
){(
i
.
isMust
=!!
i
.
isMust
,
t
.
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
:(
e
.
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"
)))}),
t
.
name
.
includes
(
"groupc"
)
&&
(
t
.
children
=
t
.
list
)),
e
.
cids
.
push
(
o
()(
t
.
cid
.
match
(
/
\d
+/g
))),
t
.
hasOwnProperty
(
"children"
)
&&
t
.
children
.
forEach
(
function
(
t
){
t
.
isMust
=!!
t
.
isMust
,
t
.
memory
=!!
t
.
memory
,
e
.
cids
.
push
(
o
()(
t
.
cid
.
match
(
/
\d
+/g
)))})}),
e
.
counter
=
Math
.
max
.
apply
(
Math
,
n
()(
e
.
cids
)),
e
.
tempaletDataList
=
i
,
setTimeout
(
function
(){
e
.
setFixed
()},
500
)},
setFixed
:
function
(){
var
t
=
this
;[
"tradeInfo"
,
"personInfo"
,
"goodsInfo"
,
"competeInfo"
].
forEach
(
function
(
e
){
t
[
e
].
forEach
(
function
(
e
){
t
.
setParent
.
includes
(
e
.
name
)
&&
(
e
.
fixed
=!
0
)})})}},
watch
:{
isDragging
:
function
(
t
){
var
e
=
this
;
t
?
e
.
delayedDragging
=!
0
:
e
.
$nextTick
(
function
(){
e
.
delayedDragging
=!
1
})}},
components
:{
draggable
:
p
.
a
,
AddInput
:
u
.
a
,
limitInput
:
h
.
a
,
imageCom
:
v
.
default
,
selectCom
:
f
.
default
,
dateRangeCom
:
_
.
default
,
inputCom
:
g
.
default
,
blockCom
:
y
.
default
,
qrcodeDialog
:
C
.
a
},
mounted
:
function
(){
var
t
=
this
,
e
=
t
.
$route
.
query
;
t
.
brandId
=
t
.
$route
.
query
.
brandId
,
s
.
a
.
all
([
t
.
getAllFields
(
2
)]).
then
(
function
(
i
){
t
.
getAllFields
(
3
),
e
.
hasOwnProperty
(
"templateId"
)?(
t
.
templateId
=
e
.
templateId
,
t
.
oparateType
=
e
.
type
,
t
.
getInfo
()):
t
.
getHasStores
()}).
catch
(
function
(
t
){
console
.
log
(
t
)}),
document
.
body
.
ondrop
=
function
(
t
){
t
.
preventDefault
(),
t
.
stopPropagation
()}}},
T
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"template-wrap"
,
style
:{
height
:
t
.
bodyHeight
}},[
a
(
"div"
,{
staticClass
:
"template-contain"
},[
a
(
"div"
,{
staticClass
:
"template-head"
},[
t
.
_m
(
0
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"template-btns flex-1 flex-r"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
function
(
e
){
t
.
saveAndBack
(
"preview"
)}}},[
t
.
_v
(
"预 览"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
t
.
returnBack
}},[
t
.
_v
(
"返 回"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
e
){
t
.
saveAndBack
(
"save"
)}}},[
t
.
_v
(
"保存并启用"
)])],
1
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"template-body"
},[
a
(
"div"
,{
staticClass
:
"template-cell template-cell-l"
},[
a
(
"el-tabs"
,{
model
:{
value
:
t
.
activeName
,
callback
:
function
(
e
){
t
.
activeName
=
e
},
expression
:
"activeName"
}},[
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"系统字段"
,
name
:
"first"
}},[
a
(
"div"
,{
staticClass
:
"filed-item-title"
},[
t
.
_v
(
"交易"
)]),
t
.
_v
(
" "
),
a
(
"ul"
,[
a
(
"draggable"
,{
staticClass
:
"compenent"
,
attrs
:{
id
:
"list1"
,
list
:
t
.
tradeInfo
,
options
:
t
.
leftOption
,
clone
:
t
.
cloneItem
,
move
:
t
.
onMove
},
on
:{
start
:
function
(
e
){
t
.
isDragging
=!
0
},
end
:
t
.
itemMoveEnd
}},
t
.
_l
(
t
.
tradeInfo
,
function
(
e
,
i
){
return
a
(
"li"
,{
key
:
i
,
class
:[
"compenent-item"
,
1
==
e
.
fixed
?
"fixed-item"
:
""
],
attrs
:{
"data-name"
:
e
.
name
,
"aria-hidden"
:
"true"
}},[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))])])}))],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"filed-item-title"
},[
t
.
_v
(
"人员"
)]),
t
.
_v
(
" "
),
a
(
"ul"
,[
a
(
"draggable"
,{
staticClass
:
"compenent"
,
attrs
:{
id
:
"list2"
,
list
:
t
.
personInfo
,
options
:
t
.
leftOption
,
clone
:
t
.
cloneItem
,
move
:
t
.
onMove
},
on
:{
start
:
function
(
e
){
t
.
isDragging
=!
0
},
end
:
t
.
itemMoveEnd
}},
t
.
_l
(
t
.
personInfo
,
function
(
e
,
i
){
return
a
(
"li"
,{
key
:
i
,
class
:[
"compenent-item"
,
1
==
e
.
fixed
?
"fixed-item"
:
""
],
attrs
:{
"data-name"
:
e
.
name
}},[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))])])}))],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"filed-item-title"
},[
t
.
_v
(
"商品"
)]),
t
.
_v
(
" "
),
a
(
"ul"
,[
a
(
"draggable"
,{
staticClass
:
"compenent"
,
attrs
:{
id
:
"list3"
,
list
:
t
.
goodsInfo
,
options
:
t
.
leftOption
,
clone
:
t
.
cloneItem
,
move
:
t
.
onMove
},
on
:{
start
:
function
(
e
){
t
.
isDragging
=!
0
},
end
:
t
.
itemMoveEnd
}},
t
.
_l
(
t
.
goodsInfo
,
function
(
e
,
i
){
return
a
(
"li"
,{
key
:
i
,
class
:[
"compenent-item"
,
1
==
e
.
fixed
?
"fixed-item"
:
""
],
attrs
:{
"data-name"
:
e
.
name
}},[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))])])}))],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"filed-item-title"
},[
t
.
_v
(
"竞品"
)]),
t
.
_v
(
" "
),
a
(
"ul"
,[
a
(
"draggable"
,{
staticClass
:
"compenent"
,
attrs
:{
id
:
"list4"
,
list
:
t
.
competeInfo
,
options
:
t
.
leftOption
,
clone
:
t
.
cloneItem
,
move
:
t
.
onMove
},
on
:{
start
:
function
(
e
){
t
.
isDragging
=!
0
},
end
:
t
.
itemMoveEnd
}},
t
.
_l
(
t
.
competeInfo
,
function
(
e
,
i
){
return
a
(
"li"
,{
key
:
i
,
class
:[
"compenent-item"
,
1
==
e
.
fixed
?
"fixed-item"
:
""
],
attrs
:{
"data-name"
:
e
.
name
}},[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))])])}))],
1
)]),
t
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"自定义字段"
,
name
:
"second"
}},[
a
(
"div"
,{
staticClass
:
"filed-item-title"
}),
t
.
_v
(
" "
),
a
(
"ul"
,[
a
(
"draggable"
,{
staticClass
:
"compenent"
,
attrs
:{
id
:
"list5"
,
list
:
t
.
defineInfo
,
options
:
t
.
leftDefineOption
,
clone
:
t
.
cloneItem
,
move
:
t
.
onChildMove
},
on
:{
start
:
function
(
e
){
t
.
isDragging
=!
0
},
end
:
t
.
itemMoveEnd
}},
t
.
_l
(
t
.
defineInfo
,
function
(
e
,
i
){
return
a
(
"li"
,{
key
:
i
,
class
:[
"compenent-item"
,
1
==
e
.
fixed
?
"fixed-item"
:
""
,
11
==
e
.
type
?
"block-class"
:
""
],
attrs
:{
"data-type"
:
e
.
fieldCode
}},[
0
==
e
.
type
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))]):
t
.
_e
(),
t
.
_v
(
" "
),
1
==
e
.
type
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))]):
t
.
_e
(),
t
.
_v
(
" "
),
2
==
e
.
type
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))]):
t
.
_e
(),
t
.
_v
(
" "
),
3
==
e
.
type
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))]):
t
.
_e
(),
t
.
_v
(
" "
),
4
==
e
.
type
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))]):
t
.
_e
(),
t
.
_v
(
" "
),
5
==
e
.
type
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))]):
t
.
_e
(),
t
.
_v
(
" "
),
6
==
e
.
type
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))]):
t
.
_e
(),
t
.
_v
(
" "
),
7
==
e
.
type
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))]):
t
.
_e
(),
t
.
_v
(
" "
),
9
==
e
.
type
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))]):
t
.
_e
(),
t
.
_v
(
" "
),
10
==
e
.
type
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))]):
t
.
_e
(),
t
.
_v
(
" "
),
11
==
e
.
type
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))]):
t
.
_e
(),
t
.
_v
(
" "
),
0
==
e
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-one"
}):
t
.
_e
(),
t
.
_v
(
" "
),
1
==
e
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-two"
}):
t
.
_e
(),
t
.
_v
(
" "
),
2
==
e
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-three"
}):
t
.
_e
(),
t
.
_v
(
" "
),
3
==
e
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-four"
}):
t
.
_e
(),
t
.
_v
(
" "
),
4
==
e
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-five"
}):
t
.
_e
(),
t
.
_v
(
" "
),
5
==
e
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-six"
}):
t
.
_e
(),
t
.
_v
(
" "
),
6
==
e
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-seven"
}):
t
.
_e
(),
t
.
_v
(
" "
),
7
==
e
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-eight"
}):
t
.
_e
(),
t
.
_v
(
" "
),
9
==
e
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-ten"
}):
t
.
_e
(),
t
.
_v
(
" "
),
10
==
e
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-eleven"
}):
t
.
_e
(),
t
.
_v
(
" "
),
11
==
e
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-twelve"
}):
t
.
_e
()])}))],
1
)])],
1
)],
1
),
t
.
_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
==
t
.
tempaletDataList
.
length
?[
a
(
"img"
,{
staticClass
:
"templet-null-img"
,
attrs
:{
src
:
i
(
"Y7wY"
)}})]:
t
.
_e
(),
t
.
_v
(
" "
),
a
(
"draggable"
,{
staticClass
:
"drag-wrap"
,
attrs
:{
options
:{
group
:{
name
:
"people"
,
pull
:
!
1
,
put
:
!
0
},
sort
:
!
0
}},
model
:{
value
:
t
.
tempaletDataList
,
callback
:
function
(
e
){
t
.
tempaletDataList
=
e
},
expression
:
"tempaletDataList"
}},
t
.
_l
(
t
.
tempaletDataList
,
function
(
e
,
i
){
return
a
(
"li"
,{
key
:
"li1"
+
i
,
class
:[
"filed-item"
,
t
.
currentIndex
==
i
?
"active-item"
:
""
,
"li-block"
],
on
:{
click
:
function
(
a
){
t
.
selectItem
(
e
.
fieldCode
,
i
)}}},[
"baseInfo"
!=
e
.
fieldCode
?
a
(
"span"
,{
staticClass
:
"item-close p-item-close"
,
on
:{
click
:
function
(
a
){
a
.
stopPropagation
(),
t
.
deleteItem
(
e
.
name
,
e
.
parentCode
,
i
,
e
)}}},[
a
(
"i"
,{
staticClass
:
"el-icon-close"
})]):
t
.
_e
(),
t
.
_v
(
" "
),
e
.
systemFlag
||!
e
.
name
.
includes
(
"groupc"
)?
a
(
"div"
,[
1
==
e
.
type
||
2
==
e
.
type
||
3
==
e
.
type
||
10
==
e
.
type
||
9
==
e
.
type
?
a
(
"input-com"
,{
attrs
:{
childItem
:
e
}}):
t
.
_e
(),
t
.
_v
(
" "
),
4
==
e
.
type
||
5
==
e
.
type
?
a
(
"select-com"
,{
attrs
:{
childItem
:
e
}}):
t
.
_e
(),
t
.
_v
(
" "
),
6
==
e
.
type
?
a
(
"date-range-com"
,{
attrs
:{
childItem
:
e
}}):
t
.
_e
(),
t
.
_v
(
" "
),
7
==
e
.
type
?
a
(
"image-com"
,{
attrs
:{
childItem
:
e
}}):
t
.
_e
(),
t
.
_v
(
" "
),
"11"
==
e
.
type
?
a
(
"block-com"
,{
attrs
:{
childItem
:
e
}}):
t
.
_e
()],
1
):
t
.
_e
(),
t
.
_v
(
" "
),[
e
.
name
.
includes
(
"groupc"
)?
a
(
"div"
,{
staticClass
:
"block"
},[
a
(
"div"
,{
staticClass
:
"block-head"
},[
a
(
"div"
,{
class
:[
"opencard-item-title"
,
t
.
getZhLen
(
e
.
title
)
>=
6
?
"title-pre-wrap"
:
""
]},[
t
.
_v
(
t
.
_s
(
e
.
title
))])]),
t
.
_v
(
" "
),
a
(
"ul"
,{
staticClass
:
"view-content"
},[
a
(
"draggable"
,{
class
:[
"drag-wrap"
,
"block-wrap"
,
e
.
fieldCode
],
attrs
:{
options
:{
group
:{
name
:
"people"
,
pull
:
!
1
,
put
:
!
0
},
sort
:
!
0
}},
on
:{
add
:
t
.
addDragItem
},
model
:{
value
:
e
.
children
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"children"
,
i
)},
expression
:
"item.children"
}},
t
.
_l
(
e
.
children
,
function
(
s
,
l
){
return
a
(
"li"
,{
key
:
"li"
+
l
,
class
:[
"filed-item"
,
"child-filed-item"
,
t
.
currentChildKey
==
s
.
name
&&
t
.
currentChildIndex
==
l
?
"active-item"
:
""
],
on
:{
click
:
function
(
a
){
a
.
stopPropagation
(),
t
.
selectChildItem
(
s
.
name
,
i
,
l
,
e
.
children
)}}},[
a
(
"span"
,{
staticClass
:
"item-close child-item-close"
,
on
:{
click
:
function
(
a
){
a
.
stopPropagation
(),
t
.
deleteChildItem
(
s
.
name
,
i
,
l
,
e
.
children
,
s
)}}},[
a
(
"i"
,{
staticClass
:
"el-icon-close"
})]),
t
.
_v
(
" "
),
4
==
s
.
type
||
5
==
s
.
type
?
a
(
"select-com"
,{
attrs
:{
childItem
:
s
}}):
t
.
_e
(),
t
.
_v
(
" "
),
6
==
s
.
type
?
a
(
"date-range-com"
,{
attrs
:{
childItem
:
s
}}):
t
.
_e
(),
t
.
_v
(
" "
),
7
==
s
.
type
?
a
(
"image-com"
,{
attrs
:{
childItem
:
s
}}):
t
.
_e
(),
t
.
_v
(
" "
),
1
==
s
.
type
||
2
==
s
.
type
||
3
==
s
.
type
||
10
==
s
.
type
||
9
==
s
.
type
?
a
(
"input-com"
,{
attrs
:{
childItem
:
s
}}):
t
.
_e
(),
t
.
_v
(
" "
),
"11"
==
s
.
type
&&
s
.
systemFlag
?
a
(
"block-com"
,{
attrs
:{
childItem
:
s
}}):
t
.
_e
()],
1
)}))],
1
)]):
t
.
_e
()]],
2
)}))],
2
)])])])])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"template-cell template-cell-r define-template-tab"
},[
a
(
"el-tabs"
,{
model
:{
value
:
t
.
rightName
,
callback
:
function
(
e
){
t
.
rightName
=
e
},
expression
:
"rightName"
}},[
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"控件设置"
,
name
:
"first"
}},[
a
(
"div"
,{
attrs
:{
id
:
"edit-box"
}},[
a
(
"div"
,{
staticClass
:
"edit-view baby-info-flag baby-info"
},[
t
.
_l
(
t
.
tempaletDataList
,
function
(
e
,
i
){
return
[
t
.
currentIndex
!=
i
||
e
.
systemFlag
||
6
==
e
.
type
?
t
.
_e
():[
a
(
"div"
,{
key
:
"child"
+
i
,
staticClass
:
"edit-item test-title limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"标题"
)]),
t
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
e
.
title
,
holder
:
""
,
disflag
:
e
.
systemFlag
,
getByType
:
"char"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
i
){
t
.
$set
(
e
,
"title"
,
i
)}}}),
t
.
_v
(
" "
),
7
==
e
.
type
?
a
(
"p"
,{
staticStyle
:{
"margin-top"
:
"8px"
,
"font-size"
:
"12px"
,
color
:
"rgba(255, 255, 255, 0.7)"
}},[
t
.
_v
(
"
\
n 图片最多可添加9张
\
n "
)]):
t
.
_e
()],
1
)],
t
.
_v
(
" "
),
t
.
currentIndex
!=
i
||
e
.
systemFlag
||
6
!=
e
.
type
?
t
.
_e
():[
a
(
"div"
,{
key
:
"child62"
+
i
,
staticClass
:
"edit-item test-title limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"标题 最多10个字"
)]),
t
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
e
.
startTitle
,
holder
:
""
,
disflag
:
e
.
systemFlag
,
getByType
:
"char"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
i
){
t
.
$set
(
e
,
"startTitle"
,
i
)}}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
key
:
"child64"
+
i
,
staticClass
:
"edit-item test-title limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"标题2 最多10个字"
)]),
t
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
e
.
endTitle
,
holder
:
""
,
disflag
:
e
.
systemFlag
,
getByType
:
"char"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
i
){
t
.
$set
(
e
,
"endTitle"
,
i
)}}})],
1
)],
t
.
_v
(
" "
),
t
.
currentIndex
!=
i
||
e
.
systemFlag
||
11
==
e
.
type
||
5
==
e
.
type
||
7
==
e
.
type
?
t
.
_e
():[
a
(
"div"
,{
key
:
"child1"
+
i
,
staticClass
:
"edit-item test-title limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"提示文字最多20个字"
)]),
t
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
e
.
placeholder
,
holder
:
""
,
disflag
:
!
1
,
getByType
:
"char"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
i
){
t
.
$set
(
e
,
"placeholder"
,
i
)}}}),
t
.
_v
(
" "
),
2
==
e
.
type
||
9
==
e
.
type
?
a
(
"p"
,{
staticClass
:
"font-12 m-t-10"
},[
t
.
_v
(
"内容最多输入500个字"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
1
==
e
.
type
?
a
(
"p"
,{
staticClass
:
"font-12 m-t-10"
},[
t
.
_v
(
"内容最多输入100个字"
)]):
t
.
_e
()],
1
)],
t
.
_v
(
" "
),
t
.
currentIndex
!=
i
||
e
.
systemFlag
||
3
!=
e
.
type
?
t
.
_e
():[
a
(
"div"
,{
key
:
"child11"
+
i
,
staticClass
:
"edit-item test-title limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"单位最多20个字"
)]),
t
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
e
.
placeholder
,
holder
:
""
,
disflag
:
!
1
,
getByType
:
"char"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
i
){
t
.
$set
(
e
,
"placeholder"
,
i
)}}}),
t
.
_v
(
" "
),
a
(
"p"
,{
staticClass
:
"font-12 m-t-10"
},[
t
.
_v
(
"内容最大限制为12位数"
)])],
1
)],
t
.
_v
(
" "
),
t
.
currentIndex
!=
i
||
e
.
systemFlag
||
"4"
!=
e
.
type
?
t
.
_e
():[
a
(
"div"
,{
key
:
"child111"
+
i
,
staticClass
:
"edit-item "
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"选项 "
),
e
.
systemFlag
?
t
.
_e
():
a
(
"span"
,[
t
.
_v
(
"最多20项,每项最多10个字"
)])]),
t
.
_v
(
" "
),
t
.
_l
(
e
.
list
,
function
(
s
,
l
){
return
[
a
(
"div"
,{
key
:
"child10"
+
l
,
staticClass
:
"margin-t-15 limit-w-340"
,
style
:
0
==
l
?
"margin-top: 0"
:
""
},[
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
s
.
value
,
holder
:
""
,
disflag
:
e
.
systemFlag
,
getByType
:
"char"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
e
){
t
.
$set
(
s
,
"value"
,
e
)}}}),
t
.
_v
(
" "
),
!
e
.
systemFlag
&&
e
.
list
.
length
>
1
?
a
(
"i"
,{
staticClass
:
"opt-btn el-icon-remove del-item"
,
on
:{
click
:
function
(
a
){
t
.
delChildItem
(
i
,
l
,
e
)}}}):
t
.
_e
(),
t
.
_v
(
" "
),
!
e
.
systemFlag
&&
l
<
19
?[
l
==
e
.
list
.
length
-
1
?
a
(
"i"
,{
staticClass
:
"opt-btn el-icon-circle-plus add-item"
,
on
:{
click
:
function
(
a
){
t
.
addChildItem
(
i
,
l
,
e
)}}}):
t
.
_e
()]:
t
.
_e
()],
2
)]})],
2
),
t
.
_v
(
" "
),
a
(
"div"
,{
key
:
"parent22"
+
i
,
staticClass
:
"edit-item m-b-10"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
t
.
_v
(
"选择框类型"
)]),
t
.
_v
(
" "
),
a
(
"div"
,[
a
(
"el-radio"
,{
attrs
:{
label
:
0
},
model
:{
value
:
e
.
chooseType
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"chooseType"
,
i
)},
expression
:
"item.chooseType"
}},[
t
.
_v
(
"单选"
)]),
t
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
1
},
model
:{
value
:
e
.
chooseType
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"chooseType"
,
i
)},
expression
:
"item.chooseType"
}},[
t
.
_v
(
"多选"
)])],
1
)])],
t
.
_v
(
" "
),
t
.
currentIndex
!=
i
||
e
.
systemFlag
||
5
!=
e
.
type
&&
6
!=
e
.
type
?
t
.
_e
():[
a
(
"div"
,{
key
:
"child117"
+
i
,
staticClass
:
"edit-item "
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"日期类型"
)]),
t
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
1
},
model
:{
value
:
e
.
dateType
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"dateType"
,
i
)},
expression
:
"item.dateType"
}},[
t
.
_v
(
"
\
n 年-月-日 时 分
\
n "
)]),
t
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
0
},
model
:{
value
:
e
.
dateType
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"dateType"
,
i
)},
expression
:
"item.dateType"
}},[
t
.
_v
(
"
\
n 年-月-日
\
n "
)])],
1
)],
t
.
_v
(
" "
),
t
.
currentIndex
!=
i
||
e
.
systemFlag
||
10
!=
e
.
type
?
t
.
_e
():[
a
(
"div"
,{
key
:
"parent210"
+
i
,
staticClass
:
"edit-item m-b-10"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
t
.
_v
(
"大写"
)]),
t
.
_v
(
" "
),
a
(
"el-checkbox"
,{
model
:{
value
:
e
.
openCapitalize
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"openCapitalize"
,
i
)},
expression
:
"item.openCapitalize"
}},[
t
.
_v
(
"显示大写"
)])],
1
)],
t
.
_v
(
" "
),
t
.
currentIndex
!=
i
||
e
.
name
.
includes
(
"groupc"
)?
t
.
_e
():[
a
(
"div"
,{
key
:
"parent2"
+
i
,
staticClass
:
"edit-item m-b-10"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
t
.
_v
(
"验证"
)]),
t
.
_v
(
" "
),
a
(
"el-checkbox"
,{
on
:{
change
:
function
(
i
){
t
.
changeMust
(
i
,
!!
e
.
list
,
e
)}},
model
:{
value
:
e
.
isMust
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"isMust"
,
i
)},
expression
:
"item.isMust"
}},[
t
.
_v
(
"必填"
)])],
1
)],
t
.
_v
(
" "
),
t
.
currentIndex
!=
i
||
"performanceKing"
!=
e
.
name
&&
"competitorInfo"
!=
e
.
name
?
t
.
_e
():[
a
(
"div"
,{
key
:
"parent21"
+
i
,
staticClass
:
"edit-item m-b-10"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
t
.
_v
(
"验证 是否必填"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"must-list"
},
t
.
_l
(
e
.
list
,
function
(
e
,
i
){
return
a
(
"div"
,{
key
:
"list"
+
i
,
staticClass
:
"must-list-cell m-b-10"
},[
a
(
"el-checkbox"
,{
model
:{
value
:
e
.
isMust
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"isMust"
,
i
)},
expression
:
"listItem.isMust"
}},[
t
.
_v
(
t
.
_s
(
e
.
title
))])],
1
)}))])],
t
.
_v
(
" "
),
t
.
currentIndex
!=
i
||
e
.
name
.
includes
(
"groupc"
)?
t
.
_e
():[
a
(
"div"
,{
key
:
"parent3"
+
i
,
staticClass
:
"edit-item "
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
t
.
_v
(
"记忆"
)]),
t
.
_v
(
" "
),
a
(
"el-checkbox"
,{
model
:{
value
:
e
.
memory
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"memory"
,
i
)},
expression
:
"item.memory"
}},[
t
.
_v
(
"是否记忆"
)])],
1
)],
t
.
_v
(
" "
),
t
.
childIndex
==
i
&&
e
.
children
&&
e
.
children
.
length
?[
t
.
_l
(
e
.
children
,
function
(
e
,
s
){
return
[
t
.
currentChildIndex
!=
s
||
e
.
systemFlag
||
6
==
e
.
type
?
t
.
_e
():[
a
(
"div"
,{
key
:
"child"
+
s
,
staticClass
:
"edit-item test-title limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"标题"
)]),
t
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
e
.
title
,
holder
:
""
,
disflag
:
e
.
systemFlag
,
getByType
:
"word"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
i
){
t
.
$set
(
e
,
"title"
,
i
)}}}),
t
.
_v
(
" "
),
7
==
e
.
type
?
a
(
"p"
,{
staticStyle
:{
"margin-top"
:
"8px"
,
"font-size"
:
"12px"
,
color
:
"rgba(255, 255, 255, 0.7)"
}},[
t
.
_v
(
"
\
n 图片最多可添加9张
\
n "
)]):
t
.
_e
()],
1
)],
t
.
_v
(
" "
),
t
.
currentChildIndex
!=
s
||
e
.
systemFlag
||
6
!=
e
.
type
?
t
.
_e
():[
a
(
"div"
,{
key
:
"child2"
+
s
,
staticClass
:
"edit-item test-title limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"标题 最多10个字"
)]),
t
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
e
.
startTitle
,
holder
:
""
,
disflag
:
e
.
systemFlag
,
getByType
:
"char"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
i
){
t
.
$set
(
e
,
"startTitle"
,
i
)}}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
key
:
"child4"
+
s
,
staticClass
:
"edit-item test-title limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"标题2 最多10个字"
)]),
t
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
e
.
endTitle
,
holder
:
""
,
disflag
:
e
.
systemFlag
,
getByType
:
"char"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
i
){
t
.
$set
(
e
,
"endTitle"
,
i
)}}})],
1
)],
t
.
_v
(
" "
),
t
.
currentChildIndex
!=
s
||
e
.
systemFlag
||
5
==
e
.
type
||
7
==
e
.
type
?
t
.
_e
():[
a
(
"div"
,{
key
:
"child1"
+
s
,
staticClass
:
"edit-item test-title limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"提示文字最多20个字"
)]),
t
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
e
.
placeholder
,
holder
:
""
,
disflag
:
!
1
,
getByType
:
"word"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
i
){
t
.
$set
(
e
,
"placeholder"
,
i
)}}}),
t
.
_v
(
" "
),
2
==
e
.
type
||
9
==
e
.
type
?
a
(
"p"
,{
staticClass
:
"font-12 m-t-10"
},[
t
.
_v
(
"内容最多输入500个字"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
1
==
e
.
type
?
a
(
"p"
,{
staticClass
:
"font-12 m-t-10"
},[
t
.
_v
(
"内容最多输入100个字"
)]):
t
.
_e
()],
1
)],
t
.
_v
(
" "
),
t
.
currentChildIndex
!=
s
||
e
.
systemFlag
||
3
!=
e
.
type
?
t
.
_e
():[
a
(
"div"
,{
key
:
"child6"
+
s
,
staticClass
:
"edit-item test-title limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"单位最多20个字"
)]),
t
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
e
.
unit
,
holder
:
""
,
disflag
:
!
1
,
getByType
:
"word"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
i
){
t
.
$set
(
e
,
"unit"
,
i
)}}}),
t
.
_v
(
" "
),
a
(
"p"
,{
staticClass
:
"font-12 m-t-10"
},[
t
.
_v
(
"内容最大限制为12位数"
)])],
1
)],
t
.
_v
(
" "
),
t
.
currentChildIndex
!=
s
||
e
.
systemFlag
||
5
!=
e
.
type
&&
6
!=
e
.
type
?
t
.
_e
():[
a
(
"div"
,{
key
:
"child7"
+
s
,
staticClass
:
"edit-item "
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"日期类型"
)]),
t
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
1
},
model
:{
value
:
e
.
dateType
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"dateType"
,
i
)},
expression
:
"childItem.dateType"
}},[
t
.
_v
(
"
\
n 年-月-日 时 分
\
n "
)]),
t
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
0
},
model
:{
value
:
e
.
dateType
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"dateType"
,
i
)},
expression
:
"childItem.dateType"
}},[
t
.
_v
(
"
\
n 年-月-日
\
n "
)])],
1
)],
t
.
_v
(
" "
),
t
.
currentChildIndex
!=
s
||
e
.
systemFlag
||
"4"
!=
e
.
type
?
t
.
_e
():[
a
(
"div"
,{
key
:
"child9"
+
s
,
staticClass
:
"edit-item "
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"选项 "
),
e
.
systemFlag
?
t
.
_e
():
a
(
"span"
,[
t
.
_v
(
"最多20项,每项最多10个字"
)])]),
t
.
_v
(
" "
),
t
.
_l
(
e
.
list
,
function
(
s
,
l
){
return
[
a
(
"div"
,{
key
:
"child10"
+
l
,
staticClass
:
"margin-t-15 limit-w-340"
,
style
:
0
==
l
?
"margin-top: 0"
:
""
},[
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
s
.
value
,
holder
:
""
,
disflag
:
e
.
systemFlag
,
getByType
:
"char"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
e
){
t
.
$set
(
s
,
"value"
,
e
)}}}),
t
.
_v
(
" "
),
!
e
.
systemFlag
&&
e
.
list
.
length
>
1
?
a
(
"i"
,{
staticClass
:
"opt-btn el-icon-remove del-item"
,
on
:{
click
:
function
(
a
){
t
.
delChildItem
(
i
,
l
,
e
)}}}):
t
.
_e
(),
t
.
_v
(
" "
),
!
e
.
systemFlag
&&
l
<
19
?[
l
==
e
.
list
.
length
-
1
?
a
(
"i"
,{
staticClass
:
"opt-btn el-icon-circle-plus add-item"
,
on
:{
click
:
function
(
a
){
t
.
addChildItem
(
i
,
l
,
e
)}}}):
t
.
_e
()]:
t
.
_e
()],
2
)]})],
2
),
t
.
_v
(
" "
),
a
(
"div"
,{
key
:
"child922"
+
s
,
staticClass
:
"edit-item m-b-10"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
t
.
_v
(
"选择框类型"
)]),
t
.
_v
(
" "
),
a
(
"div"
,[
a
(
"el-radio"
,{
attrs
:{
label
:
0
},
model
:{
value
:
e
.
chooseType
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"chooseType"
,
i
)},
expression
:
"childItem.chooseType"
}},[
t
.
_v
(
"单选"
)]),
t
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
1
},
model
:{
value
:
e
.
chooseType
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"chooseType"
,
i
)},
expression
:
"childItem.chooseType"
}},[
t
.
_v
(
"多选"
)])],
1
)])],
t
.
_v
(
" "
),
t
.
currentChildIndex
!=
s
||
e
.
systemFlag
||
10
!=
e
.
type
?
t
.
_e
():[
a
(
"div"
,{
key
:
"child910"
+
s
,
staticClass
:
"edit-item m-b-10"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
t
.
_v
(
"大写"
)]),
t
.
_v
(
" "
),
a
(
"el-checkbox"
,{
model
:{
value
:
e
.
openCapitalize
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"openCapitalize"
,
i
)},
expression
:
"childItem.openCapitalize"
}},[
t
.
_v
(
"显示大写"
)])],
1
)],
t
.
_v
(
" "
),
t
.
currentChildIndex
==
s
?[
a
(
"div"
,{
key
:
"child11"
+
s
,
staticClass
:
"edit-item"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"验证"
)]),
t
.
_v
(
" "
),
a
(
"el-checkbox"
,{
on
:{
change
:
function
(
i
){
t
.
changeMust
(
i
,
!!
e
.
list
,
e
)}},
model
:{
value
:
e
.
isMust
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"isMust"
,
i
)},
expression
:
"childItem.isMust"
}},[
t
.
_v
(
"必填"
)])],
1
)]:
t
.
_e
(),
t
.
_v
(
" "
),
t
.
currentChildIndex
!=
s
||
"performanceKing"
!=
e
.
name
&&
"competitorInfo"
!=
e
.
name
?
t
.
_e
():[
a
(
"div"
,{
key
:
"child111"
+
s
,
staticClass
:
"edit-item m-b-10"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
t
.
_v
(
"验证 是否必填"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"must-list"
},
t
.
_l
(
e
.
list
,
function
(
e
,
i
){
return
a
(
"div"
,{
key
:
"list111"
+
i
,
staticClass
:
"must-list-cell m-b-10"
},[
a
(
"el-checkbox"
,{
model
:{
value
:
e
.
isMust
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"isMust"
,
i
)},
expression
:
"listItem.isMust"
}},[
t
.
_v
(
t
.
_s
(
e
.
title
))])],
1
)}))])],
t
.
_v
(
" "
),
t
.
currentChildIndex
==
s
?[
a
(
"div"
,{
key
:
"child12"
+
s
,
staticClass
:
"edit-item "
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
t
.
_v
(
"记忆"
)]),
t
.
_v
(
" "
),
a
(
"el-checkbox"
,{
model
:{
value
:
e
.
memory
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"memory"
,
i
)},
expression
:
"childItem.memory"
}},[
t
.
_v
(
"是否记忆"
)])],
1
)]:
t
.
_e
()]})]:
t
.
_e
()]})],
2
)])]),
t
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"模板设置"
,
name
:
"second"
}},[
a
(
"div"
,{
staticClass
:
"template-item limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
t
.
_v
(
"模板名称 最多10个字"
)]),
t
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
t
.
templateObj
.
title
,
holder
:
""
,
disflag
:
!
1
,
getByType
:
"char"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
e
){
t
.
$set
(
t
.
templateObj
,
"title"
,
e
)}}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"template-item limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
t
.
_v
(
"模板描述 最多20个字"
)]),
t
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
t
.
templateObj
.
description
,
holder
:
""
,
disflag
:
!
1
,
getByType
:
"char"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
e
){
t
.
$set
(
t
.
templateObj
,
"description"
,
e
)}}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"template-item "
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
t
.
_v
(
"门店类型"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"store-type-list"
},
t
.
_l
(
t
.
storeList
,
function
(
e
,
i
){
return
a
(
"div"
,{
key
:
e
.
name
+
i
,
staticClass
:
"store-type-cell m-b-20"
},[
a
(
"el-radio"
,{
attrs
:{
label
:
e
.
id
,
disabled
:
e
.
disabled
},
model
:{
value
:
t
.
templateObj
.
storeType
,
callback
:
function
(
e
){
t
.
$set
(
t
.
templateObj
,
"storeType"
,
e
)},
expression
:
"templateObj.storeType"
}},[
t
.
_v
(
t
.
_s
(
e
.
name
))])],
1
)}))])])],
1
)],
1
)])]),
t
.
_v
(
" "
),
a
(
"qrcode-dialog"
,{
ref
:
"qrcodePreview"
,
model
:{
value
:
t
.
dialogVisible
,
callback
:
function
(
e
){
t
.
dialogVisible
=
e
},
expression
:
"dialogVisible"
}})],
1
)},
staticRenderFns
:[
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,{
staticClass
:
"template-title flex-1"
},[
e
(
"img"
,{
attrs
:{
src
:
i
(
"LbEI"
),
alt
:
"logo"
}}),
this
.
_v
(
" "
),
e
(
"span"
,{
staticClass
:
"template-title-span"
},[
this
.
_v
(
"日报设置"
)])])}]};
var
M
=
i
(
"VU/8"
)(
w
,
T
,
!
1
,
function
(
t
){
i
(
"C8Hy"
)},
"data-v-10cb484c"
,
null
);
e
.
default
=
M
.
exports
},
PAYw
:
function
(
t
,
e
,
i
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
a
=
{
name
:
"block-com"
,
props
:{
childItem
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
{}}}}},
s
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
i
=
t
.
_self
.
_c
||
e
;
return
i
(
"div"
,{
staticClass
:
"block block-field"
},[
i
(
"div"
,{
staticClass
:
"block-head"
},[
i
(
"div"
,{
class
:[
"opencard-item-title"
,
t
.
childItem
.
title
.
length
>=
6
?
"title-pre-wrap"
:
""
]},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
title
))])]),
t
.
_v
(
" "
),
i
(
"ul"
,{
staticClass
:
"view-content"
},
t
.
_l
(
t
.
childItem
.
list
,
function
(
e
,
a
){
return
i
(
"li"
,{
key
:
"performance"
+
a
,
staticClass
:
"block-filed-item border-bottom-1"
},[
i
(
"div"
,{
class
:[
"opencard-item-title"
,
e
.
title
.
length
>=
6
?
"title-pre-wrap"
:
""
]},[
t
.
_v
(
t
.
_s
(
e
.
title
))]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"draged-item-show"
},[
i
(
"span"
,{
staticClass
:
"show-warm-text show-warm-text-flag "
},[
t
.
_v
(
t
.
_s
(
e
.
placeholder
)
+
" "
+
t
.
_s
(
e
.
isMust
?
"(必填)"
:
""
))])])])})),
t
.
_v
(
" "
),
"competitorInfo"
==
t
.
childItem
.
name
?
i
(
"div"
,{
staticClass
:
"compete-add"
},[
t
.
_v
(
"
\
n +竞品信息
\
n "
)]):
t
.
_e
()])},
staticRenderFns
:[]};
var
l
=
i
(
"VU/8"
)(
a
,
s
,
!
1
,
function
(
t
){
i
(
"hh6r"
)},
"data-v-1dcd7b4c"
,
null
);
e
.
default
=
l
.
exports
},
hh6r
:
function
(
t
,
e
){},
j20f
:
function
(
t
,
e
){},
o82P
:
function
(
t
,
e
){},
oS7J
:
function
(
t
,
e
){},
"s4D+"
:
function
(
t
,
e
,
i
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
a
=
{
name
:
"input-com"
,
props
:{
childItem
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
{}}}},
methods
:{
getZhLen
:
function
(
t
){
for
(
var
e
=
0
,
i
=
0
;
i
<
t
.
length
;
i
++
){
null
!=
t
.
charAt
(
i
).
match
(
/
[^\x
00-
\x
ff
]
/gi
)?
e
+=
1
:
e
+=
.
5
}
return
Math
.
ceil
(
e
)}}},
s
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
i
=
t
.
_self
.
_c
||
e
;
return
i
(
"div"
,{
class
:[
2
==
t
.
childItem
.
type
?
"h-66"
:
""
]},[
9
!=
t
.
childItem
.
type
?
i
(
"div"
,{
class
:[
"opencard-item-title"
,
t
.
getZhLen
(
t
.
childItem
.
title
)
>=
6
?
"title-pre-wrap"
:
""
]},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
title
))]):
t
.
_e
(),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"draged-item-show"
},[
i
(
"span"
,{
staticClass
:
"show-warm-text show-warm-text-flag"
,
style
:{
"padding-left"
:
9
==
t
.
childItem
.
type
?
"15px"
:
"0"
}},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
placeholder
)
+
" "
+
t
.
_s
(
t
.
childItem
.
isMust
?
"(必填)"
:
""
))])]),
t
.
_v
(
" "
),
10
==
t
.
childItem
.
type
&&
t
.
childItem
.
openCapitalize
?
i
(
"div"
,{
staticClass
:
"show-capitalize font-12 color-909399 p-l-10 border-box"
},[
t
.
_v
(
"大写:壹万元整(示例)"
)]):
t
.
_e
()])},
staticRenderFns
:[]};
var
l
=
i
(
"VU/8"
)(
a
,
s
,
!
1
,
function
(
t
){
i
(
"j20f"
)},
"data-v-37f2cf5d"
,
null
);
e
.
default
=
l
.
exports
},
t0b0
:
function
(
t
,
e
,
i
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
a
=
{
name
:
"select-com"
,
props
:{
childItem
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
{}}}},
methods
:{
getZhLen
:
function
(
t
){
for
(
var
e
=
0
,
i
=
0
;
i
<
t
.
length
;
i
++
){
null
!=
t
.
charAt
(
i
).
match
(
/
[^\x
00-
\x
ff
]
/gi
)?
e
+=
1
:
e
+=
.
5
}
return
Math
.
ceil
(
e
)}}},
s
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
i
=
t
.
_self
.
_c
||
e
;
return
i
(
"div"
,{
staticClass
:
"flex"
},[
i
(
"div"
,{
class
:[
"opencard-item-title"
,
t
.
getZhLen
(
t
.
childItem
.
title
)
>=
6
?
"title-pre-wrap"
:
""
]},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
title
))]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"draged-item-show"
},[
i
(
"span"
,{
staticClass
:
"show-warm-text show-warm-text-flag select-flag"
},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
placeholder
)
+
" "
+
t
.
_s
(
t
.
childItem
.
isMust
?
"(必填)"
:
""
)
+
" "
),
i
(
"i"
,{
staticClass
:
"el-icon-arrow-right"
})])])])},
staticRenderFns
:[]};
var
l
=
i
(
"VU/8"
)(
a
,
s
,
!
1
,
function
(
t
){
i
(
"tJ70"
)},
"data-v-2ff99de4"
,
null
);
e
.
default
=
l
.
exports
},
tJ70
:
function
(
t
,
e
){}});
\ No newline at end of file
webpackJsonp
([
5
,
36
,
61
,
64
,
72
,
74
],{
"79Bk"
:
function
(
t
,
e
,
i
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
a
=
{
name
:
"date-range-com"
,
props
:{
childItem
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
{}}}},
methods
:{
getZhLen
:
function
(
t
){
for
(
var
e
=
0
,
i
=
0
;
i
<
t
.
length
;
i
++
){
null
!=
t
.
charAt
(
i
).
match
(
/
[^\x
00-
\x
ff
]
/gi
)?
e
+=
1
:
e
+=
.
5
}
return
Math
.
ceil
(
e
)}}},
s
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
i
=
t
.
_self
.
_c
||
e
;
return
i
(
"div"
,[
i
(
"div"
,{
staticClass
:
"flex"
},[
i
(
"div"
,{
class
:[
"opencard-item-title"
,
t
.
getZhLen
(
t
.
childItem
.
startTitle
)
>=
6
?
"title-pre-wrap"
:
""
]},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
startTitle
))]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"draged-item-show"
},[
i
(
"span"
,{
staticClass
:
"show-warm-text show-warm-text-flag select-flag"
},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
placeholder
)
+
" "
+
t
.
_s
(
t
.
childItem
.
isMust
?
"(必填)"
:
""
)),
i
(
"i"
,{
staticClass
:
"el-icon-arrow-right"
})])])]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"b-t-1 flex"
},[
i
(
"div"
,{
class
:[
"opencard-item-title"
,
t
.
getZhLen
(
t
.
childItem
.
endTitle
)
>=
6
?
"title-pre-wrap"
:
""
]},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
endTitle
))]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"draged-item-show"
},[
i
(
"span"
,{
staticClass
:
"show-warm-text show-warm-text-flag select-flag"
},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
placeholder
)
+
" "
+
t
.
_s
(
t
.
childItem
.
isMust
?
"(必填)"
:
""
)
+
" "
),
i
(
"i"
,{
staticClass
:
"el-icon-arrow-right"
})])])])])},
staticRenderFns
:[]};
var
l
=
i
(
"VU/8"
)(
a
,
s
,
!
1
,
function
(
t
){
i
(
"oS7J"
)},
"data-v-181d007a"
,
null
);
e
.
default
=
l
.
exports
},
C8Hy
:
function
(
t
,
e
){},
H8Kg
:
function
(
t
,
e
,
i
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
a
=
{
name
:
"image-com"
,
props
:{
childItem
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
{}}}},
methods
:{
getZhLen
:
function
(
t
){
for
(
var
e
=
0
,
i
=
0
;
i
<
t
.
length
;
i
++
){
null
!=
t
.
charAt
(
i
).
match
(
/
[^\x
00-
\x
ff
]
/gi
)?
e
+=
1
:
e
+=
.
5
}
return
Math
.
ceil
(
e
)}}},
s
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
i
=
t
.
_self
.
_c
||
e
;
return
i
(
"div"
,{
staticClass
:
"image-com flex"
},[
i
(
"div"
,{
class
:[
"opencard-item-title"
,
t
.
getZhLen
(
t
.
childItem
.
title
)
>=
6
?
"title-pre-wrap"
:
""
]},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
title
))]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"must"
},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
isMust
?
"(必填)"
:
""
))]),
t
.
_v
(
" "
),
t
.
_m
(
0
)])},
staticRenderFns
:[
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,{
staticClass
:
"draged-item-show"
},[
e
(
"span"
,{
staticClass
:
"show-warm-text show-warm-text-flag select-flag"
},[
e
(
"i"
,{
staticClass
:
"iconfont icon-icon"
})])])}]};
var
l
=
i
(
"VU/8"
)(
a
,
s
,
!
1
,
function
(
t
){
i
(
"o82P"
)},
"data-v-d0955ee0"
,
null
);
e
.
default
=
l
.
exports
},
IA9l
:
function
(
t
,
e
,
i
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
a
=
i
(
"//Fk"
),
s
=
i
.
n
(
a
),
l
=
i
(
"Gu7T"
),
n
=
i
.
n
(
l
),
c
=
i
(
"gBtx"
),
o
=
i
.
n
(
c
),
r
=
i
(
"mvHQ"
),
d
=
i
.
n
(
r
),
m
=
i
(
"DAYN"
),
p
=
i
.
n
(
m
),
u
=
i
(
"Isrn"
),
h
=
i
(
"l46T"
),
v
=
i
(
"H8Kg"
),
f
=
i
(
"t0b0"
),
_
=
i
(
"79Bk"
),
g
=
i
(
"s4D+"
),
y
=
i
(
"PAYw"
),
C
=
i
(
"fPyK"
),
b
=
i
(
"3E4D"
),
I
=
i
(
"Ch4/"
),
x
=
i
(
"PI0u"
),
k
=
i
(
"P9l9"
),
w
=
{
name
:
"customSetTemplate"
,
data
:
function
(){
return
{
activeName
:
"first"
,
rightName
:
"second"
,
dialogVisible
:
!
1
,
bodyHeight
:(
document
.
documentElement
.
clientHeight
||
document
.
body
.
clientHeight
)
+
"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
}]}},
methods
:{
getZhLen
:
function
(
t
){
for
(
var
e
=
0
,
i
=
0
;
i
<
t
.
length
;
i
++
){
null
!=
t
.
charAt
(
i
).
match
(
/
[^\x
00-
\x
ff
]
/gi
)?
e
+=
1
:
e
+=
.
5
}
return
Math
.
ceil
(
e
)},
returnBack
:
function
(){
this
.
changeRoute
(
"/customReport?brandId="
+
this
.
brandId
+
"&appIcon="
+
this
.
$route
.
query
.
appIcon
)},
cloneItem
:
function
(
t
){
var
e
=
JSON
.
parse
(
d
()(
t
));
return
e
.
cid
=
"c"
+
this
.
counter
,
e
.
systemFlag
||
(
e
.
name
.
includes
(
"textc"
)
&&
(
e
.
name
=
"textc"
+
this
.
counter
),
e
.
name
.
includes
(
"paragraphc"
)
&&
(
e
.
name
=
"paragraphc"
+
this
.
counter
),
e
.
name
.
includes
(
"numberc"
)
&&
(
e
.
name
=
"numberc"
+
this
.
counter
),
e
.
name
.
includes
(
"checkboxesOrRadioc"
)
&&
(
e
.
name
=
"checkboxesOrRadioc"
+
this
.
counter
),
e
.
name
.
includes
(
"datec"
)
&&
(
e
.
name
=
"datec"
+
this
.
counter
),
e
.
name
.
includes
(
"dateareac"
)
&&
(
e
.
name
=
"dateareac"
+
this
.
counter
),
e
.
name
.
includes
(
"picc"
)
&&
(
e
.
name
=
"picc"
+
this
.
counter
),
e
.
name
.
includes
(
"introductionc"
)
&&
(
e
.
name
=
"introductionc"
+
this
.
counter
),
e
.
name
.
includes
(
"pricec"
)
&&
(
e
.
name
=
"pricec"
+
this
.
counter
),
e
.
name
.
includes
(
"groupc"
)
&&
(
e
.
name
=
"groupc"
+
this
.
counter
,
e
.
title
=
""
+
e
.
title
+
this
.
counter
)),
e
},
onMove
:
function
(
t
){
var
e
=
t
.
draggedContext
.
element
;
return
!
this
.
tempaletDataList
.
map
(
function
(
t
){
return
t
.
name
}).
includes
(
e
.
name
)
&&!
e
.
fixed
},
onChildMove
:
function
(
t
){
var
e
=!
0
;
return
-
1
!=
t
.
dragged
.
className
.
indexOf
(
"block-class"
)
&&-
1
!=
t
.
to
.
className
.
indexOf
(
"block-wrap"
)
&&
(
e
=!
1
),
e
},
itemMoveEnd
:
function
(
t
){
var
e
=
this
;
function
i
(
t
){
e
[
t
].
forEach
(
function
(
t
,
i
){
t
.
name
==
e
.
selectKey
&&
(
t
.
fixed
=!
0
)})}
e
.
isDragging
=!
1
,
e
.
selectKey
=
""
,
e
.
selectKey
=
t
.
clone
.
dataset
.
name
,
e
.
tempaletDataList
.
forEach
(
function
(
t
,
a
){
t
.
name
==
e
.
selectKey
&&
i
(
t
.
parentCode
),
t
.
children
&&
t
.
children
.
forEach
(
function
(
t
,
a
){
t
.
name
==
e
.
selectKey
&&
i
(
t
.
parentCode
)})}),
e
.
selectKey
=
""
,
e
.
tempaletDataList
=
JSON
.
parse
(
d
()(
e
.
tempaletDataList
)),
e
.
$forceUpdate
(),
e
.
counter
=
e
.
counter
+
1
},
selectItem
:
function
(
t
,
e
){
this
.
currentIndex
=
e
,
this
.
currentChildIndex
=
null
},
deleteItem
:
function
(
t
,
e
,
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
(
t
){
t
.
systemFlag
&&
s
[
t
.
parentCode
].
forEach
(
function
(
e
){
e
.
name
==
t
.
name
&&
(
e
.
fixed
=!
1
)})}),
!
1
;
s
[
e
].
forEach
(
function
(
e
,
i
){
e
.
name
==
t
&&
(
e
.
fixed
=!
1
)})},
addDragItem
:
function
(
t
){
return
!
1
},
selectChildItem
:
function
(
t
,
e
,
i
,
a
){
this
.
currentIndex
=
null
,
this
.
currentChildKey
=
t
,
this
.
childIndex
=
e
,
this
.
currentChildIndex
=
i
},
deleteChildItem
:
function
(
t
,
e
,
i
,
a
,
s
){
if
(
this
.
childIndex
=
e
,
this
.
currentIndex
=
null
,
this
.
currentChildKey
=
this
.
tempaletDataList
[
e
].
children
[
i
].
name
,
this
.
currentChildIndex
--
,
this
.
currentChildIndex
<=
0
&&
(
this
.
currentChildIndex
=
0
),
this
.
tempaletDataList
=
JSON
.
parse
(
d
()(
this
.
tempaletDataList
)),
this
.
tempaletDataList
[
e
].
children
.
splice
(
i
,
1
),
!
s
.
systemFlag
)
return
!
1
;
this
[
s
.
parentCode
].
forEach
(
function
(
e
,
i
){
e
.
name
===
t
&&
(
e
.
fixed
=!
1
)})},
delChildItem
:
function
(
t
,
e
,
i
){
i
.
list
.
splice
(
e
,
1
)},
addChildItem
:
function
(
t
,
e
,
i
){
if
(
19
!=
e
){
i
.
list
.
push
({
value
:
"选项"
+
(
e
+
2
),
key
:
e
+
2
});
var
a
=
i
.
list
.
map
(
function
(
t
){
return
t
.
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
(
t
,
e
,
i
){
e
&&
i
.
list
.
forEach
(
function
(
e
){
e
.
isMust
=!!
t
})},
isRepeat
:
function
(
t
){
var
e
=
{};
for
(
var
i
in
t
){
if
(
e
[
t
[
i
]])
return
!
0
;
e
[
t
[
i
]]
=!
0
}
return
!
1
},
changeRoute
:
function
(
t
){
this
.
$router
.
push
(
t
)},
checkTag
:
function
(
t
){
var
e
=
{
filedFlag
:
!
0
,
filedRepeat
:
!
1
},
i
=
[];
return
t
.
forEach
(
function
(
t
){
if
(
""
==
t
.
title
)
return
e
.
filedFlag
=!
1
,
e
.
name
=
t
.
title
||
""
,
!
1
;
i
.
push
(
t
.
title
),
t
.
hasOwnProperty
(
"children"
)
&&
t
.
children
.
length
&&
t
.
children
.
forEach
(
function
(
t
){
if
(
t
.
systemFlag
&&
""
==
t
.
title
)
return
e
.
filedFlag
=!
1
,
e
.
name
=
t
.
title
||
""
,
!
1
;
i
.
push
(
t
.
title
)})}),
this
.
isRepeat
(
i
)
&&
(
e
.
filedRepeat
=!
0
),
e
},
checkTemplateObj
:
function
(){
var
t
=!
0
;
return
this
.
templateObj
.
title
&&
this
.
templateObj
.
description
&&
this
.
templateObj
.
storeType
||
(
t
=!
1
),
t
},
getUuid
:
function
(){
return
"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx"
.
replace
(
/
[
xy
]
/g
,
function
(
t
){
var
e
=
16
*
Math
.
random
()
|
0
;
return
(
"x"
==
t
?
e
:
3
&
e
|
8
).
toString
(
16
)})},
saveAndBack
:
Object
(
x
.
a
)(
function
(
t
){
if
(
!
this
.
checkTemplateObj
())
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请完善模板设置内容"
}),
!
1
;
var
e
=
JSON
.
parse
(
d
()(
this
.
tempaletDataList
)),
i
=
this
.
checkTag
(
e
);
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
(
e
.
forEach
(
function
(
t
,
e
){
t
.
sort
=
e
,
t
.
isMust
=
t
.
isMust
?
1
:
0
,
t
.
memory
=
t
.
memory
?
1
:
0
,
t
.
hasOwnProperty
(
"openCapitalize"
)
&&
(
t
.
openCapitalize
=
t
.
openCapitalize
?
1
:
0
),
t
.
hasOwnProperty
(
"list"
)
&&
t
.
list
.
forEach
(
function
(
t
){
t
.
isMust
=
t
.
isMust
?
1
:
0
}),
t
.
hasOwnProperty
(
"children"
)
&&
(
t
.
children
.
forEach
(
function
(
t
,
e
){
t
.
sort
=
e
,
t
.
isMust
=
t
.
isMust
?
1
:
0
,
t
.
memory
=
t
.
memory
?
1
:
0
,
t
.
hasOwnProperty
(
"list"
)
&&
t
.
list
.
forEach
(
function
(
t
){
t
.
isMust
=
t
.
isMust
?
1
:
0
}),
t
.
hasOwnProperty
(
"openCapitalize"
)
&&
(
t
.
openCapitalize
=
t
.
openCapitalize
?
1
:
0
)}),
t
.
list
=
t
.
children
)}),
!
e
.
length
)
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请先配置字段"
}),
!
1
;
"save"
===
t
?
this
.
saveAllData
(
e
):
this
.
postPreview
(
e
)}},
500
),
saveAllData
:
function
(
t
){
var
e
=
this
,
i
=
{
status
:
1
,
brandId
:
e
.
brandId
,
templateContent
:
d
()(
t
),
title
:
e
.
templateObj
.
title
,
description
:
e
.
templateObj
.
description
,
storeType
:
e
.
templateObj
.
storeType
,
memory
:[]};
Object
(
k
.
e
)(
"/haoban-app-daily-web/daily/save-define-template"
,
i
).
then
(
function
(
t
){
var
i
=
t
.
data
;
if
(
1
==
i
.
errorCode
)
return
b
.
a
.
showmsg
(
"保存成功"
,
"success"
),
void
e
.
changeRoute
(
"/customReport?brandId="
+
e
.
brandId
+
"&appIcon="
+
e
.
$route
.
query
.
appIcon
);
I
.
a
.
errorMsg
(
i
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
postPreview
:
function
(
t
){
var
e
=
this
,
i
=
{
templateType
:
1
,
brandId
:
e
.
brandId
,
templateContent
:
d
()(
t
)};
Object
(
k
.
e
)(
"/haoban-app-daily-web/daily/preview-template"
,
i
).
then
(
function
(
t
){
var
i
=
t
.
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="
+
e
.
brandId
;
return
e
.
$refs
.
qrcodePreview
.
qrcode
(
s
,
"daily-preview"
),
void
(
e
.
dialogVisible
=!
0
)}
I
.
a
.
errorMsg
(
i
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
closeDialog
:
function
(){
this
.
dialogVisible
=!
1
},
getHasStores
:
function
(){
var
t
=
this
;
Object
(
k
.
e
)(
"/haoban-app-daily-web/daily/has-defined-template-store-type"
,{
brandId
:
t
.
brandId
}).
then
(
function
(
e
){
var
i
=
e
.
data
;
1
!=
i
.
errorCode
?
I
.
a
.
errorMsg
(
i
):
t
.
storeList
.
forEach
(
function
(
e
){
i
.
result
&&
i
.
result
.
length
&&
i
.
result
.
includes
(
o
()(
e
.
id
))
&&
(
e
.
disabled
=!
0
),
"edit"
==
t
.
oparateType
&&
t
.
storeType
==
e
.
id
&&
(
e
.
disabled
=!
1
)})}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getAllFields
:
function
(
t
){
var
e
=
this
;
Object
(
k
.
e
)(
"/haoban-app-daily-web/daily/get-template-items"
,{
brandId
:
e
.
brandId
,
type
:
t
}).
then
(
function
(
i
){
var
a
=
i
.
data
;
if
(
1
==
a
.
errorCode
)
return
a
.
result
.
forEach
(
function
(
e
){
e
.
isMust
=!!
e
.
isMust
,
e
.
memory
=!!
e
.
memory
,
e
.
title
=
e
.
title
.
trim
(),
e
.
hasOwnProperty
(
"openCapitalize"
)
&&
(
e
.
openCapitalize
=!!
e
.
openCapitalize
),
e
.
hasOwnProperty
(
"list"
)
&&
e
.
list
&&
e
.
list
.
length
&&
e
.
list
.
forEach
(
function
(
t
){
t
.
isMust
=!!
t
.
isMust
}),
e
.
systemFlag
=
3
!=
t
,
e
.
name
.
includes
(
"groupc"
)
&&
(
e
.
children
=
[])}),
void
(
3
==
t
?
e
.
defineInfo
=
a
.
result
:
e
.
handleAllFields
(
a
.
result
));
I
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
handleAllFields
:
function
(
t
){
var
e
=
this
;
t
.
forEach
(
function
(
t
){
t
.
fixed
=!
1
,
1
==
t
.
classify
&&
(
t
.
parentCode
=
"tradeInfo"
,
e
.
tradeInfo
.
push
(
t
)),
2
==
t
.
classify
&&
(
t
.
parentCode
=
"personInfo"
,
e
.
personInfo
.
push
(
t
)),
3
==
t
.
classify
&&
(
t
.
parentCode
=
"goodsInfo"
,
e
.
goodsInfo
.
push
(
t
)),
4
==
t
.
classify
&&
(
t
.
parentCode
=
"competeInfo"
,
e
.
competeInfo
.
push
(
t
))})},
getInfo
:
function
(){
var
t
=
this
;
Object
(
k
.
e
)(
"/haoban-app-daily-web/daily/get-define-template"
,{
templateId
:
t
.
templateId
}).
then
(
function
(
e
){
var
i
=
e
.
data
;
if
(
1
==
i
.
errorCode
)
return
t
.
setList
=
[],
i
.
result
&&
(
t
.
templateObj
.
title
=
i
.
result
.
title
,
t
.
templateObj
.
description
=
i
.
result
.
description
,
t
.
storeType
=
"edit"
==
t
.
oparateType
?
String
(
i
.
result
.
storeType
):
""
,
t
.
templateObj
.
storeType
=
"edit"
==
t
.
oparateType
?
String
(
i
.
result
.
storeType
):
""
,
i
.
result
.
templateContent
&&
i
.
result
.
templateContent
.
length
&&
t
.
handleGetInfo
(
i
.
result
.
templateContent
)),
void
t
.
getHasStores
();
I
.
a
.
errorMsg
(
i
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
treeData
:
function
(
t
){
var
e
=
t
.
filter
(
function
(
e
){
var
i
=
t
.
filter
(
function
(
t
){
return
e
.
fieldCode
==
t
.
parentCode
});
return
i
.
length
>
0
&&
(
e
.
children
=
i
),
0
==
e
.
parentCode
});
return
e
.
sort
(
function
(
t
,
e
){
return
t
.
sort
-
e
.
sort
}),
e
.
forEach
(
function
(
t
,
e
){
t
.
children
.
sort
(
function
(
t
,
e
){
return
t
.
sort
-
e
.
sort
})}),
e
},
handleGetInfo
:
function
(
t
){
var
e
=
this
,
i
=
JSON
.
parse
(
d
()(
t
));
e
.
cids
=
[],
e
.
setParent
=
[],
i
.
forEach
(
function
(
t
,
i
){
t
.
title
=
t
.
title
.
trim
(),
t
.
isMust
=!!
t
.
isMust
,
t
.
memory
=!!
t
.
memory
,
t
.
name
.
includes
(
"textc"
)
||
t
.
name
.
includes
(
"paragraphc"
)
||
t
.
name
.
includes
(
"numberc"
)
||
t
.
name
.
includes
(
"checkboxesOrRadioc"
)
||
t
.
name
.
includes
(
"datec"
)
||
t
.
name
.
includes
(
"dateareac"
)
||
t
.
name
.
includes
(
"picc"
)
||
t
.
name
.
includes
(
"introductionc"
)
||
t
.
name
.
includes
(
"pricec"
)
||
t
.
name
.
includes
(
"groupc"
)?(
t
.
systemFlag
=!
1
,
t
.
parentCode
=
"defineInfo"
):(
e
.
setParent
.
push
(
t
.
name
),
t
.
systemFlag
=!
0
,
1
==
t
.
classify
&&
(
t
.
parentCode
=
"tradeInfo"
),
2
==
t
.
classify
&&
(
t
.
parentCode
=
"personInfo"
),
3
==
t
.
classify
&&
(
t
.
parentCode
=
"goodsInfo"
),
4
==
t
.
classify
&&
(
t
.
parentCode
=
"competeInfo"
)),
t
.
hasOwnProperty
(
"openCapitalize"
)
&&
(
t
.
openCapitalize
=!!
t
.
openCapitalize
),
t
.
hasOwnProperty
(
"list"
)
&&
t
.
list
&&
t
.
list
.
length
&&
(
t
.
list
.
forEach
(
function
(
i
){(
i
.
isMust
=!!
i
.
isMust
,
t
.
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
:(
e
.
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"
)))}),
t
.
name
.
includes
(
"groupc"
)
&&
(
t
.
children
=
t
.
list
)),
e
.
cids
.
push
(
o
()(
t
.
cid
.
match
(
/
\d
+/g
))),
t
.
hasOwnProperty
(
"children"
)
&&
t
.
children
.
forEach
(
function
(
t
){
t
.
isMust
=!!
t
.
isMust
,
t
.
memory
=!!
t
.
memory
,
e
.
cids
.
push
(
o
()(
t
.
cid
.
match
(
/
\d
+/g
)))})}),
e
.
counter
=
Math
.
max
.
apply
(
Math
,
n
()(
e
.
cids
)),
e
.
tempaletDataList
=
i
,
setTimeout
(
function
(){
e
.
setFixed
()},
500
)},
setFixed
:
function
(){
var
t
=
this
;[
"tradeInfo"
,
"personInfo"
,
"goodsInfo"
,
"competeInfo"
].
forEach
(
function
(
e
){
t
[
e
].
forEach
(
function
(
e
){
t
.
setParent
.
includes
(
e
.
name
)
&&
(
e
.
fixed
=!
0
)})})}},
watch
:{
isDragging
:
function
(
t
){
var
e
=
this
;
t
?
e
.
delayedDragging
=!
0
:
e
.
$nextTick
(
function
(){
e
.
delayedDragging
=!
1
})}},
components
:{
draggable
:
p
.
a
,
AddInput
:
u
.
a
,
limitInput
:
h
.
a
,
imageCom
:
v
.
default
,
selectCom
:
f
.
default
,
dateRangeCom
:
_
.
default
,
inputCom
:
g
.
default
,
blockCom
:
y
.
default
,
qrcodeDialog
:
C
.
a
},
mounted
:
function
(){
var
t
=
this
,
e
=
t
.
$route
.
query
;
t
.
brandId
=
t
.
$route
.
query
.
brandId
,
s
.
a
.
all
([
t
.
getAllFields
(
2
)]).
then
(
function
(
i
){
t
.
getAllFields
(
3
),
e
.
hasOwnProperty
(
"templateId"
)?(
t
.
templateId
=
e
.
templateId
,
t
.
oparateType
=
e
.
type
,
t
.
getInfo
()):
t
.
getHasStores
()}).
catch
(
function
(
t
){
console
.
log
(
t
)}),
document
.
body
.
ondrop
=
function
(
t
){
t
.
preventDefault
(),
t
.
stopPropagation
()}}},
T
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"template-wrap"
,
style
:{
height
:
t
.
bodyHeight
}},[
a
(
"div"
,{
staticClass
:
"template-contain"
},[
a
(
"div"
,{
staticClass
:
"template-head"
},[
t
.
_m
(
0
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"template-btns flex-1 flex-r"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
function
(
e
){
t
.
saveAndBack
(
"preview"
)}}},[
t
.
_v
(
"预 览"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
plain
:
""
},
on
:{
click
:
t
.
returnBack
}},[
t
.
_v
(
"返 回"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
e
){
t
.
saveAndBack
(
"save"
)}}},[
t
.
_v
(
"保存并启用"
)])],
1
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"template-body"
},[
a
(
"div"
,{
staticClass
:
"template-cell template-cell-l"
},[
a
(
"el-tabs"
,{
model
:{
value
:
t
.
activeName
,
callback
:
function
(
e
){
t
.
activeName
=
e
},
expression
:
"activeName"
}},[
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"系统字段"
,
name
:
"first"
}},[
a
(
"div"
,{
staticClass
:
"filed-item-title"
},[
t
.
_v
(
"交易"
)]),
t
.
_v
(
" "
),
a
(
"ul"
,[
a
(
"draggable"
,{
staticClass
:
"compenent"
,
attrs
:{
id
:
"list1"
,
list
:
t
.
tradeInfo
,
options
:
t
.
leftOption
,
clone
:
t
.
cloneItem
,
move
:
t
.
onMove
},
on
:{
start
:
function
(
e
){
t
.
isDragging
=!
0
},
end
:
t
.
itemMoveEnd
}},
t
.
_l
(
t
.
tradeInfo
,
function
(
e
,
i
){
return
a
(
"li"
,{
key
:
i
,
class
:[
"compenent-item"
,
1
==
e
.
fixed
?
"fixed-item"
:
""
],
attrs
:{
"data-name"
:
e
.
name
,
"aria-hidden"
:
"true"
}},[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))])])}))],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"filed-item-title"
},[
t
.
_v
(
"人员"
)]),
t
.
_v
(
" "
),
a
(
"ul"
,[
a
(
"draggable"
,{
staticClass
:
"compenent"
,
attrs
:{
id
:
"list2"
,
list
:
t
.
personInfo
,
options
:
t
.
leftOption
,
clone
:
t
.
cloneItem
,
move
:
t
.
onMove
},
on
:{
start
:
function
(
e
){
t
.
isDragging
=!
0
},
end
:
t
.
itemMoveEnd
}},
t
.
_l
(
t
.
personInfo
,
function
(
e
,
i
){
return
a
(
"li"
,{
key
:
i
,
class
:[
"compenent-item"
,
1
==
e
.
fixed
?
"fixed-item"
:
""
],
attrs
:{
"data-name"
:
e
.
name
}},[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))])])}))],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"filed-item-title"
},[
t
.
_v
(
"商品"
)]),
t
.
_v
(
" "
),
a
(
"ul"
,[
a
(
"draggable"
,{
staticClass
:
"compenent"
,
attrs
:{
id
:
"list3"
,
list
:
t
.
goodsInfo
,
options
:
t
.
leftOption
,
clone
:
t
.
cloneItem
,
move
:
t
.
onMove
},
on
:{
start
:
function
(
e
){
t
.
isDragging
=!
0
},
end
:
t
.
itemMoveEnd
}},
t
.
_l
(
t
.
goodsInfo
,
function
(
e
,
i
){
return
a
(
"li"
,{
key
:
i
,
class
:[
"compenent-item"
,
1
==
e
.
fixed
?
"fixed-item"
:
""
],
attrs
:{
"data-name"
:
e
.
name
}},[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))])])}))],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"filed-item-title"
},[
t
.
_v
(
"竞品"
)]),
t
.
_v
(
" "
),
a
(
"ul"
,[
a
(
"draggable"
,{
staticClass
:
"compenent"
,
attrs
:{
id
:
"list4"
,
list
:
t
.
competeInfo
,
options
:
t
.
leftOption
,
clone
:
t
.
cloneItem
,
move
:
t
.
onMove
},
on
:{
start
:
function
(
e
){
t
.
isDragging
=!
0
},
end
:
t
.
itemMoveEnd
}},
t
.
_l
(
t
.
competeInfo
,
function
(
e
,
i
){
return
a
(
"li"
,{
key
:
i
,
class
:[
"compenent-item"
,
1
==
e
.
fixed
?
"fixed-item"
:
""
],
attrs
:{
"data-name"
:
e
.
name
}},[
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))])])}))],
1
)]),
t
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"自定义字段"
,
name
:
"second"
}},[
a
(
"div"
,{
staticClass
:
"filed-item-title"
}),
t
.
_v
(
" "
),
a
(
"ul"
,[
a
(
"draggable"
,{
staticClass
:
"compenent"
,
attrs
:{
id
:
"list5"
,
list
:
t
.
defineInfo
,
options
:
t
.
leftDefineOption
,
clone
:
t
.
cloneItem
,
move
:
t
.
onChildMove
},
on
:{
start
:
function
(
e
){
t
.
isDragging
=!
0
},
end
:
t
.
itemMoveEnd
}},
t
.
_l
(
t
.
defineInfo
,
function
(
e
,
i
){
return
a
(
"li"
,{
key
:
i
,
class
:[
"compenent-item"
,
1
==
e
.
fixed
?
"fixed-item"
:
""
,
11
==
e
.
type
?
"block-class"
:
""
],
attrs
:{
"data-type"
:
e
.
fieldCode
}},[
0
==
e
.
type
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))]):
t
.
_e
(),
t
.
_v
(
" "
),
1
==
e
.
type
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))]):
t
.
_e
(),
t
.
_v
(
" "
),
2
==
e
.
type
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))]):
t
.
_e
(),
t
.
_v
(
" "
),
3
==
e
.
type
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))]):
t
.
_e
(),
t
.
_v
(
" "
),
4
==
e
.
type
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))]):
t
.
_e
(),
t
.
_v
(
" "
),
5
==
e
.
type
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))]):
t
.
_e
(),
t
.
_v
(
" "
),
6
==
e
.
type
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))]):
t
.
_e
(),
t
.
_v
(
" "
),
7
==
e
.
type
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))]):
t
.
_e
(),
t
.
_v
(
" "
),
9
==
e
.
type
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))]):
t
.
_e
(),
t
.
_v
(
" "
),
10
==
e
.
type
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))]):
t
.
_e
(),
t
.
_v
(
" "
),
11
==
e
.
type
?
a
(
"span"
,[
t
.
_v
(
t
.
_s
(
e
.
title
))]):
t
.
_e
(),
t
.
_v
(
" "
),
0
==
e
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-one"
}):
t
.
_e
(),
t
.
_v
(
" "
),
1
==
e
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-two"
}):
t
.
_e
(),
t
.
_v
(
" "
),
2
==
e
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-three"
}):
t
.
_e
(),
t
.
_v
(
" "
),
3
==
e
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-four"
}):
t
.
_e
(),
t
.
_v
(
" "
),
4
==
e
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-five"
}):
t
.
_e
(),
t
.
_v
(
" "
),
5
==
e
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-six"
}):
t
.
_e
(),
t
.
_v
(
" "
),
6
==
e
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-seven"
}):
t
.
_e
(),
t
.
_v
(
" "
),
7
==
e
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-eight"
}):
t
.
_e
(),
t
.
_v
(
" "
),
9
==
e
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-ten"
}):
t
.
_e
(),
t
.
_v
(
" "
),
10
==
e
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-eleven"
}):
t
.
_e
(),
t
.
_v
(
" "
),
11
==
e
.
type
?
a
(
"i"
,{
staticClass
:
"bg-icon bg-icon-twelve"
}):
t
.
_e
()])}))],
1
)])],
1
)],
1
),
t
.
_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
==
t
.
tempaletDataList
.
length
?[
a
(
"img"
,{
staticClass
:
"templet-null-img"
,
attrs
:{
src
:
i
(
"Y7wY"
)}})]:
t
.
_e
(),
t
.
_v
(
" "
),
a
(
"draggable"
,{
staticClass
:
"drag-wrap"
,
attrs
:{
options
:{
group
:{
name
:
"people"
,
pull
:
!
1
,
put
:
!
0
},
sort
:
!
0
}},
model
:{
value
:
t
.
tempaletDataList
,
callback
:
function
(
e
){
t
.
tempaletDataList
=
e
},
expression
:
"tempaletDataList"
}},
t
.
_l
(
t
.
tempaletDataList
,
function
(
e
,
i
){
return
a
(
"li"
,{
key
:
"li1"
+
i
,
class
:[
"filed-item"
,
t
.
currentIndex
==
i
?
"active-item"
:
""
,
"li-block"
],
on
:{
click
:
function
(
a
){
t
.
selectItem
(
e
.
fieldCode
,
i
)}}},[
"baseInfo"
!=
e
.
fieldCode
?
a
(
"span"
,{
staticClass
:
"item-close p-item-close"
,
on
:{
click
:
function
(
a
){
a
.
stopPropagation
(),
t
.
deleteItem
(
e
.
name
,
e
.
parentCode
,
i
,
e
)}}},[
a
(
"i"
,{
staticClass
:
"el-icon-close"
})]):
t
.
_e
(),
t
.
_v
(
" "
),
e
.
systemFlag
||!
e
.
name
.
includes
(
"groupc"
)?
a
(
"div"
,[
1
==
e
.
type
||
2
==
e
.
type
||
3
==
e
.
type
||
10
==
e
.
type
||
9
==
e
.
type
?
a
(
"input-com"
,{
attrs
:{
childItem
:
e
}}):
t
.
_e
(),
t
.
_v
(
" "
),
4
==
e
.
type
||
5
==
e
.
type
?
a
(
"select-com"
,{
attrs
:{
childItem
:
e
}}):
t
.
_e
(),
t
.
_v
(
" "
),
6
==
e
.
type
?
a
(
"date-range-com"
,{
attrs
:{
childItem
:
e
}}):
t
.
_e
(),
t
.
_v
(
" "
),
7
==
e
.
type
?
a
(
"image-com"
,{
attrs
:{
childItem
:
e
}}):
t
.
_e
(),
t
.
_v
(
" "
),
"11"
==
e
.
type
?
a
(
"block-com"
,{
attrs
:{
childItem
:
e
}}):
t
.
_e
()],
1
):
t
.
_e
(),
t
.
_v
(
" "
),[
e
.
name
.
includes
(
"groupc"
)?
a
(
"div"
,{
staticClass
:
"block"
},[
a
(
"div"
,{
staticClass
:
"block-head"
},[
a
(
"div"
,{
class
:[
"opencard-item-title"
,
t
.
getZhLen
(
e
.
title
)
>=
6
?
"title-pre-wrap"
:
""
]},[
t
.
_v
(
t
.
_s
(
e
.
title
))])]),
t
.
_v
(
" "
),
a
(
"ul"
,{
staticClass
:
"view-content"
},[
a
(
"draggable"
,{
class
:[
"drag-wrap"
,
"block-wrap"
,
e
.
fieldCode
],
attrs
:{
options
:{
group
:{
name
:
"people"
,
pull
:
!
1
,
put
:
!
0
},
sort
:
!
0
}},
on
:{
add
:
t
.
addDragItem
},
model
:{
value
:
e
.
children
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"children"
,
i
)},
expression
:
"item.children"
}},
t
.
_l
(
e
.
children
,
function
(
s
,
l
){
return
a
(
"li"
,{
key
:
"li"
+
l
,
class
:[
"filed-item"
,
"child-filed-item"
,
t
.
currentChildKey
==
s
.
name
&&
t
.
currentChildIndex
==
l
?
"active-item"
:
""
],
on
:{
click
:
function
(
a
){
a
.
stopPropagation
(),
t
.
selectChildItem
(
s
.
name
,
i
,
l
,
e
.
children
)}}},[
a
(
"span"
,{
staticClass
:
"item-close child-item-close"
,
on
:{
click
:
function
(
a
){
a
.
stopPropagation
(),
t
.
deleteChildItem
(
s
.
name
,
i
,
l
,
e
.
children
,
s
)}}},[
a
(
"i"
,{
staticClass
:
"el-icon-close"
})]),
t
.
_v
(
" "
),
4
==
s
.
type
||
5
==
s
.
type
?
a
(
"select-com"
,{
attrs
:{
childItem
:
s
}}):
t
.
_e
(),
t
.
_v
(
" "
),
6
==
s
.
type
?
a
(
"date-range-com"
,{
attrs
:{
childItem
:
s
}}):
t
.
_e
(),
t
.
_v
(
" "
),
7
==
s
.
type
?
a
(
"image-com"
,{
attrs
:{
childItem
:
s
}}):
t
.
_e
(),
t
.
_v
(
" "
),
1
==
s
.
type
||
2
==
s
.
type
||
3
==
s
.
type
||
10
==
s
.
type
||
9
==
s
.
type
?
a
(
"input-com"
,{
attrs
:{
childItem
:
s
}}):
t
.
_e
(),
t
.
_v
(
" "
),
"11"
==
s
.
type
&&
s
.
systemFlag
?
a
(
"block-com"
,{
attrs
:{
childItem
:
s
}}):
t
.
_e
()],
1
)}))],
1
)]):
t
.
_e
()]],
2
)}))],
2
)])])])])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"template-cell template-cell-r define-template-tab"
},[
a
(
"el-tabs"
,{
model
:{
value
:
t
.
rightName
,
callback
:
function
(
e
){
t
.
rightName
=
e
},
expression
:
"rightName"
}},[
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"控件设置"
,
name
:
"first"
}},[
a
(
"div"
,{
attrs
:{
id
:
"edit-box"
}},[
a
(
"div"
,{
staticClass
:
"edit-view baby-info-flag baby-info"
},[
t
.
_l
(
t
.
tempaletDataList
,
function
(
e
,
i
){
return
[
t
.
currentIndex
!=
i
||
e
.
systemFlag
||
6
==
e
.
type
?
t
.
_e
():[
a
(
"div"
,{
key
:
"child"
+
i
,
staticClass
:
"edit-item test-title limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"标题"
)]),
t
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
e
.
title
,
holder
:
""
,
disflag
:
e
.
systemFlag
,
getByType
:
"char"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
i
){
t
.
$set
(
e
,
"title"
,
i
)}}}),
t
.
_v
(
" "
),
7
==
e
.
type
?
a
(
"p"
,{
staticStyle
:{
"margin-top"
:
"8px"
,
"font-size"
:
"12px"
,
color
:
"rgba(255, 255, 255, 0.7)"
}},[
t
.
_v
(
"
\
n 图片最多可添加9张
\
n "
)]):
t
.
_e
()],
1
)],
t
.
_v
(
" "
),
t
.
currentIndex
!=
i
||
e
.
systemFlag
||
6
!=
e
.
type
?
t
.
_e
():[
a
(
"div"
,{
key
:
"child62"
+
i
,
staticClass
:
"edit-item test-title limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"标题 最多10个字"
)]),
t
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
e
.
startTitle
,
holder
:
""
,
disflag
:
e
.
systemFlag
,
getByType
:
"char"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
i
){
t
.
$set
(
e
,
"startTitle"
,
i
)}}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
key
:
"child64"
+
i
,
staticClass
:
"edit-item test-title limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"标题2 最多10个字"
)]),
t
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
e
.
endTitle
,
holder
:
""
,
disflag
:
e
.
systemFlag
,
getByType
:
"char"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
i
){
t
.
$set
(
e
,
"endTitle"
,
i
)}}})],
1
)],
t
.
_v
(
" "
),
t
.
currentIndex
!=
i
||
e
.
systemFlag
||
11
==
e
.
type
||
5
==
e
.
type
||
7
==
e
.
type
?
t
.
_e
():[
a
(
"div"
,{
key
:
"child1"
+
i
,
staticClass
:
"edit-item test-title limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"提示文字最多20个字"
)]),
t
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
e
.
placeholder
,
holder
:
""
,
disflag
:
!
1
,
getByType
:
"char"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
i
){
t
.
$set
(
e
,
"placeholder"
,
i
)}}}),
t
.
_v
(
" "
),
2
==
e
.
type
||
9
==
e
.
type
?
a
(
"p"
,{
staticClass
:
"font-12 m-t-10"
},[
t
.
_v
(
"内容最多输入500个字"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
1
==
e
.
type
?
a
(
"p"
,{
staticClass
:
"font-12 m-t-10"
},[
t
.
_v
(
"内容最多输入100个字"
)]):
t
.
_e
()],
1
)],
t
.
_v
(
" "
),
t
.
currentIndex
!=
i
||
e
.
systemFlag
||
3
!=
e
.
type
?
t
.
_e
():[
a
(
"div"
,{
key
:
"child11"
+
i
,
staticClass
:
"edit-item test-title limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"单位最多20个字"
)]),
t
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
e
.
placeholder
,
holder
:
""
,
disflag
:
!
1
,
getByType
:
"char"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
i
){
t
.
$set
(
e
,
"placeholder"
,
i
)}}}),
t
.
_v
(
" "
),
a
(
"p"
,{
staticClass
:
"font-12 m-t-10"
},[
t
.
_v
(
"内容最大限制为12位数"
)])],
1
)],
t
.
_v
(
" "
),
t
.
currentIndex
!=
i
||
e
.
systemFlag
||
"4"
!=
e
.
type
?
t
.
_e
():[
a
(
"div"
,{
key
:
"child111"
+
i
,
staticClass
:
"edit-item "
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"选项 "
),
e
.
systemFlag
?
t
.
_e
():
a
(
"span"
,[
t
.
_v
(
"最多20项,每项最多10个字"
)])]),
t
.
_v
(
" "
),
t
.
_l
(
e
.
list
,
function
(
s
,
l
){
return
[
a
(
"div"
,{
key
:
"child10"
+
l
,
staticClass
:
"margin-t-15 limit-w-340"
,
style
:
0
==
l
?
"margin-top: 0"
:
""
},[
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
s
.
value
,
holder
:
""
,
disflag
:
e
.
systemFlag
,
getByType
:
"char"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
e
){
t
.
$set
(
s
,
"value"
,
e
)}}}),
t
.
_v
(
" "
),
!
e
.
systemFlag
&&
e
.
list
.
length
>
1
?
a
(
"i"
,{
staticClass
:
"opt-btn el-icon-remove del-item"
,
on
:{
click
:
function
(
a
){
t
.
delChildItem
(
i
,
l
,
e
)}}}):
t
.
_e
(),
t
.
_v
(
" "
),
!
e
.
systemFlag
&&
l
<
19
?[
l
==
e
.
list
.
length
-
1
?
a
(
"i"
,{
staticClass
:
"opt-btn el-icon-circle-plus add-item"
,
on
:{
click
:
function
(
a
){
t
.
addChildItem
(
i
,
l
,
e
)}}}):
t
.
_e
()]:
t
.
_e
()],
2
)]})],
2
),
t
.
_v
(
" "
),
a
(
"div"
,{
key
:
"parent22"
+
i
,
staticClass
:
"edit-item m-b-10"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
t
.
_v
(
"选择框类型"
)]),
t
.
_v
(
" "
),
a
(
"div"
,[
a
(
"el-radio"
,{
attrs
:{
label
:
0
},
model
:{
value
:
e
.
chooseType
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"chooseType"
,
i
)},
expression
:
"item.chooseType"
}},[
t
.
_v
(
"单选"
)]),
t
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
1
},
model
:{
value
:
e
.
chooseType
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"chooseType"
,
i
)},
expression
:
"item.chooseType"
}},[
t
.
_v
(
"多选"
)])],
1
)])],
t
.
_v
(
" "
),
t
.
currentIndex
!=
i
||
e
.
systemFlag
||
5
!=
e
.
type
&&
6
!=
e
.
type
?
t
.
_e
():[
a
(
"div"
,{
key
:
"child117"
+
i
,
staticClass
:
"edit-item "
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"日期类型"
)]),
t
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
1
},
model
:{
value
:
e
.
dateType
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"dateType"
,
i
)},
expression
:
"item.dateType"
}},[
t
.
_v
(
"
\
n 年-月-日 时 分
\
n "
)]),
t
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
0
},
model
:{
value
:
e
.
dateType
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"dateType"
,
i
)},
expression
:
"item.dateType"
}},[
t
.
_v
(
"
\
n 年-月-日
\
n "
)])],
1
)],
t
.
_v
(
" "
),
t
.
currentIndex
!=
i
||
e
.
systemFlag
||
10
!=
e
.
type
?
t
.
_e
():[
a
(
"div"
,{
key
:
"parent210"
+
i
,
staticClass
:
"edit-item m-b-10"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
t
.
_v
(
"大写"
)]),
t
.
_v
(
" "
),
a
(
"el-checkbox"
,{
model
:{
value
:
e
.
openCapitalize
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"openCapitalize"
,
i
)},
expression
:
"item.openCapitalize"
}},[
t
.
_v
(
"显示大写"
)])],
1
)],
t
.
_v
(
" "
),
t
.
currentIndex
!=
i
||
e
.
name
.
includes
(
"groupc"
)?
t
.
_e
():[
a
(
"div"
,{
key
:
"parent2"
+
i
,
staticClass
:
"edit-item m-b-10"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
t
.
_v
(
"验证"
)]),
t
.
_v
(
" "
),
a
(
"el-checkbox"
,{
on
:{
change
:
function
(
i
){
t
.
changeMust
(
i
,
!!
e
.
list
,
e
)}},
model
:{
value
:
e
.
isMust
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"isMust"
,
i
)},
expression
:
"item.isMust"
}},[
t
.
_v
(
"必填"
)])],
1
)],
t
.
_v
(
" "
),
t
.
currentIndex
!=
i
||
"performanceKing"
!=
e
.
name
&&
"competitorInfo"
!=
e
.
name
?
t
.
_e
():[
a
(
"div"
,{
key
:
"parent21"
+
i
,
staticClass
:
"edit-item m-b-10"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
t
.
_v
(
"验证 是否必填"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"must-list"
},
t
.
_l
(
e
.
list
,
function
(
e
,
i
){
return
a
(
"div"
,{
key
:
"list"
+
i
,
staticClass
:
"must-list-cell m-b-10"
},[
a
(
"el-checkbox"
,{
model
:{
value
:
e
.
isMust
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"isMust"
,
i
)},
expression
:
"listItem.isMust"
}},[
t
.
_v
(
t
.
_s
(
e
.
title
))])],
1
)}))])],
t
.
_v
(
" "
),
t
.
currentIndex
!=
i
||
e
.
name
.
includes
(
"groupc"
)?
t
.
_e
():[
a
(
"div"
,{
key
:
"parent3"
+
i
,
staticClass
:
"edit-item "
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
t
.
_v
(
"记忆"
)]),
t
.
_v
(
" "
),
a
(
"el-checkbox"
,{
model
:{
value
:
e
.
memory
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"memory"
,
i
)},
expression
:
"item.memory"
}},[
t
.
_v
(
"是否记忆"
)])],
1
)],
t
.
_v
(
" "
),
t
.
childIndex
==
i
&&
e
.
children
&&
e
.
children
.
length
?[
t
.
_l
(
e
.
children
,
function
(
e
,
s
){
return
[
t
.
currentChildIndex
!=
s
||
e
.
systemFlag
||
6
==
e
.
type
?
t
.
_e
():[
a
(
"div"
,{
key
:
"child"
+
s
,
staticClass
:
"edit-item test-title limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"标题"
)]),
t
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
e
.
title
,
holder
:
""
,
disflag
:
e
.
systemFlag
,
getByType
:
"word"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
i
){
t
.
$set
(
e
,
"title"
,
i
)}}}),
t
.
_v
(
" "
),
7
==
e
.
type
?
a
(
"p"
,{
staticStyle
:{
"margin-top"
:
"8px"
,
"font-size"
:
"12px"
,
color
:
"rgba(255, 255, 255, 0.7)"
}},[
t
.
_v
(
"
\
n 图片最多可添加9张
\
n "
)]):
t
.
_e
()],
1
)],
t
.
_v
(
" "
),
t
.
currentChildIndex
!=
s
||
e
.
systemFlag
||
6
!=
e
.
type
?
t
.
_e
():[
a
(
"div"
,{
key
:
"child2"
+
s
,
staticClass
:
"edit-item test-title limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"标题 最多10个字"
)]),
t
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
e
.
startTitle
,
holder
:
""
,
disflag
:
e
.
systemFlag
,
getByType
:
"char"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
i
){
t
.
$set
(
e
,
"startTitle"
,
i
)}}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
key
:
"child4"
+
s
,
staticClass
:
"edit-item test-title limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"标题2 最多10个字"
)]),
t
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
e
.
endTitle
,
holder
:
""
,
disflag
:
e
.
systemFlag
,
getByType
:
"char"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
i
){
t
.
$set
(
e
,
"endTitle"
,
i
)}}})],
1
)],
t
.
_v
(
" "
),
t
.
currentChildIndex
!=
s
||
e
.
systemFlag
||
5
==
e
.
type
||
7
==
e
.
type
?
t
.
_e
():[
a
(
"div"
,{
key
:
"child1"
+
s
,
staticClass
:
"edit-item test-title limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"提示文字最多20个字"
)]),
t
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
e
.
placeholder
,
holder
:
""
,
disflag
:
!
1
,
getByType
:
"word"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
i
){
t
.
$set
(
e
,
"placeholder"
,
i
)}}}),
t
.
_v
(
" "
),
2
==
e
.
type
||
9
==
e
.
type
?
a
(
"p"
,{
staticClass
:
"font-12 m-t-10"
},[
t
.
_v
(
"内容最多输入500个字"
)]):
t
.
_e
(),
t
.
_v
(
" "
),
1
==
e
.
type
?
a
(
"p"
,{
staticClass
:
"font-12 m-t-10"
},[
t
.
_v
(
"内容最多输入100个字"
)]):
t
.
_e
()],
1
)],
t
.
_v
(
" "
),
t
.
currentChildIndex
!=
s
||
e
.
systemFlag
||
3
!=
e
.
type
?
t
.
_e
():[
a
(
"div"
,{
key
:
"child6"
+
s
,
staticClass
:
"edit-item test-title limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"单位最多20个字"
)]),
t
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
e
.
unit
,
holder
:
""
,
disflag
:
!
1
,
getByType
:
"word"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
i
){
t
.
$set
(
e
,
"unit"
,
i
)}}}),
t
.
_v
(
" "
),
a
(
"p"
,{
staticClass
:
"font-12 m-t-10"
},[
t
.
_v
(
"内容最大限制为12位数"
)])],
1
)],
t
.
_v
(
" "
),
t
.
currentChildIndex
!=
s
||
e
.
systemFlag
||
5
!=
e
.
type
&&
6
!=
e
.
type
?
t
.
_e
():[
a
(
"div"
,{
key
:
"child7"
+
s
,
staticClass
:
"edit-item "
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"日期类型"
)]),
t
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
1
},
model
:{
value
:
e
.
dateType
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"dateType"
,
i
)},
expression
:
"childItem.dateType"
}},[
t
.
_v
(
"
\
n 年-月-日 时 分
\
n "
)]),
t
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
0
},
model
:{
value
:
e
.
dateType
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"dateType"
,
i
)},
expression
:
"childItem.dateType"
}},[
t
.
_v
(
"
\
n 年-月-日
\
n "
)])],
1
)],
t
.
_v
(
" "
),
t
.
currentChildIndex
!=
s
||
e
.
systemFlag
||
"4"
!=
e
.
type
?
t
.
_e
():[
a
(
"div"
,{
key
:
"child9"
+
s
,
staticClass
:
"edit-item "
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"选项 "
),
e
.
systemFlag
?
t
.
_e
():
a
(
"span"
,[
t
.
_v
(
"最多20项,每项最多10个字"
)])]),
t
.
_v
(
" "
),
t
.
_l
(
e
.
list
,
function
(
s
,
l
){
return
[
a
(
"div"
,{
key
:
"child10"
+
l
,
staticClass
:
"margin-t-15 limit-w-340"
,
style
:
0
==
l
?
"margin-top: 0"
:
""
},[
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
s
.
value
,
holder
:
""
,
disflag
:
e
.
systemFlag
,
getByType
:
"char"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
e
){
t
.
$set
(
s
,
"value"
,
e
)}}}),
t
.
_v
(
" "
),
!
e
.
systemFlag
&&
e
.
list
.
length
>
1
?
a
(
"i"
,{
staticClass
:
"opt-btn el-icon-remove del-item"
,
on
:{
click
:
function
(
a
){
t
.
delChildItem
(
i
,
l
,
e
)}}}):
t
.
_e
(),
t
.
_v
(
" "
),
!
e
.
systemFlag
&&
l
<
19
?[
l
==
e
.
list
.
length
-
1
?
a
(
"i"
,{
staticClass
:
"opt-btn el-icon-circle-plus add-item"
,
on
:{
click
:
function
(
a
){
t
.
addChildItem
(
i
,
l
,
e
)}}}):
t
.
_e
()]:
t
.
_e
()],
2
)]})],
2
),
t
.
_v
(
" "
),
a
(
"div"
,{
key
:
"child922"
+
s
,
staticClass
:
"edit-item m-b-10"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
t
.
_v
(
"选择框类型"
)]),
t
.
_v
(
" "
),
a
(
"div"
,[
a
(
"el-radio"
,{
attrs
:{
label
:
0
},
model
:{
value
:
e
.
chooseType
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"chooseType"
,
i
)},
expression
:
"childItem.chooseType"
}},[
t
.
_v
(
"单选"
)]),
t
.
_v
(
" "
),
a
(
"el-radio"
,{
attrs
:{
label
:
1
},
model
:{
value
:
e
.
chooseType
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"chooseType"
,
i
)},
expression
:
"childItem.chooseType"
}},[
t
.
_v
(
"多选"
)])],
1
)])],
t
.
_v
(
" "
),
t
.
currentChildIndex
!=
s
||
e
.
systemFlag
||
10
!=
e
.
type
?
t
.
_e
():[
a
(
"div"
,{
key
:
"child910"
+
s
,
staticClass
:
"edit-item m-b-10"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
t
.
_v
(
"大写"
)]),
t
.
_v
(
" "
),
a
(
"el-checkbox"
,{
model
:{
value
:
e
.
openCapitalize
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"openCapitalize"
,
i
)},
expression
:
"childItem.openCapitalize"
}},[
t
.
_v
(
"显示大写"
)])],
1
)],
t
.
_v
(
" "
),
t
.
currentChildIndex
==
s
?[
a
(
"div"
,{
key
:
"child11"
+
s
,
staticClass
:
"edit-item"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title"
},[
t
.
_v
(
"验证"
)]),
t
.
_v
(
" "
),
a
(
"el-checkbox"
,{
on
:{
change
:
function
(
i
){
t
.
changeMust
(
i
,
!!
e
.
list
,
e
)}},
model
:{
value
:
e
.
isMust
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"isMust"
,
i
)},
expression
:
"childItem.isMust"
}},[
t
.
_v
(
"必填"
)])],
1
)]:
t
.
_e
(),
t
.
_v
(
" "
),
t
.
currentChildIndex
!=
s
||
"performanceKing"
!=
e
.
name
&&
"competitorInfo"
!=
e
.
name
?
t
.
_e
():[
a
(
"div"
,{
key
:
"child111"
+
s
,
staticClass
:
"edit-item m-b-10"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
t
.
_v
(
"验证 是否必填"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"must-list"
},
t
.
_l
(
e
.
list
,
function
(
e
,
i
){
return
a
(
"div"
,{
key
:
"list111"
+
i
,
staticClass
:
"must-list-cell m-b-10"
},[
a
(
"el-checkbox"
,{
model
:{
value
:
e
.
isMust
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"isMust"
,
i
)},
expression
:
"listItem.isMust"
}},[
t
.
_v
(
t
.
_s
(
e
.
title
))])],
1
)}))])],
t
.
_v
(
" "
),
t
.
currentChildIndex
==
s
?[
a
(
"div"
,{
key
:
"child12"
+
s
,
staticClass
:
"edit-item "
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
t
.
_v
(
"记忆"
)]),
t
.
_v
(
" "
),
a
(
"el-checkbox"
,{
model
:{
value
:
e
.
memory
,
callback
:
function
(
i
){
t
.
$set
(
e
,
"memory"
,
i
)},
expression
:
"childItem.memory"
}},[
t
.
_v
(
"是否记忆"
)])],
1
)]:
t
.
_e
()]})]:
t
.
_e
()]})],
2
)])]),
t
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"模板设置"
,
name
:
"second"
}},[
a
(
"div"
,{
staticClass
:
"template-item limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
t
.
_v
(
"模板名称 最多10个字"
)]),
t
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
t
.
templateObj
.
title
,
holder
:
""
,
disflag
:
!
1
,
getByType
:
"char"
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
e
){
t
.
$set
(
t
.
templateObj
,
"title"
,
e
)}}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"template-item limit-w-340"
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
t
.
_v
(
"模板描述 最多20个字"
)]),
t
.
_v
(
" "
),
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
limitClass
:
"limit-color"
,
inputValue
:
t
.
templateObj
.
description
,
holder
:
""
,
disflag
:
!
1
,
getByType
:
"char"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
e
){
t
.
$set
(
t
.
templateObj
,
"description"
,
e
)}}})],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"template-item "
},[
a
(
"div"
,{
staticClass
:
"edit-item-title edit-title-padding"
},[
t
.
_v
(
"门店类型"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"store-type-list"
},
t
.
_l
(
t
.
storeList
,
function
(
e
,
i
){
return
a
(
"div"
,{
key
:
e
.
name
+
i
,
staticClass
:
"store-type-cell m-b-20"
},[
a
(
"el-radio"
,{
attrs
:{
label
:
e
.
id
,
disabled
:
e
.
disabled
},
model
:{
value
:
t
.
templateObj
.
storeType
,
callback
:
function
(
e
){
t
.
$set
(
t
.
templateObj
,
"storeType"
,
e
)},
expression
:
"templateObj.storeType"
}},[
t
.
_v
(
t
.
_s
(
e
.
name
))])],
1
)}))])])],
1
)],
1
)])]),
t
.
_v
(
" "
),
a
(
"qrcode-dialog"
,{
ref
:
"qrcodePreview"
,
model
:{
value
:
t
.
dialogVisible
,
callback
:
function
(
e
){
t
.
dialogVisible
=
e
},
expression
:
"dialogVisible"
}})],
1
)},
staticRenderFns
:[
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"div"
,{
staticClass
:
"template-title flex-1"
},[
e
(
"img"
,{
attrs
:{
src
:
i
(
"LbEI"
),
alt
:
"logo"
}}),
this
.
_v
(
" "
),
e
(
"span"
,{
staticClass
:
"template-title-span"
},[
this
.
_v
(
"日报设置"
)])])}]};
var
M
=
i
(
"VU/8"
)(
w
,
T
,
!
1
,
function
(
t
){
i
(
"C8Hy"
)},
"data-v-10cb484c"
,
null
);
e
.
default
=
M
.
exports
},
PAYw
:
function
(
t
,
e
,
i
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
a
=
{
name
:
"block-com"
,
props
:{
childItem
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
{}}}}},
s
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
i
=
t
.
_self
.
_c
||
e
;
return
i
(
"div"
,{
staticClass
:
"block block-field"
},[
i
(
"div"
,{
staticClass
:
"block-head"
},[
i
(
"div"
,{
class
:[
"opencard-item-title"
,
t
.
childItem
.
title
.
length
>=
6
?
"title-pre-wrap"
:
""
]},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
title
))])]),
t
.
_v
(
" "
),
i
(
"ul"
,{
staticClass
:
"view-content"
},
t
.
_l
(
t
.
childItem
.
list
,
function
(
e
,
a
){
return
i
(
"li"
,{
key
:
"performance"
+
a
,
staticClass
:
"block-filed-item border-bottom-1"
},[
i
(
"div"
,{
class
:[
"opencard-item-title"
,
e
.
title
.
length
>=
6
?
"title-pre-wrap"
:
""
]},[
t
.
_v
(
t
.
_s
(
e
.
title
))]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"draged-item-show"
},[
i
(
"span"
,{
staticClass
:
"show-warm-text show-warm-text-flag "
},[
t
.
_v
(
t
.
_s
(
e
.
placeholder
)
+
" "
+
t
.
_s
(
e
.
isMust
?
"(必填)"
:
""
))])])])})),
t
.
_v
(
" "
),
"competitorInfo"
==
t
.
childItem
.
name
?
i
(
"div"
,{
staticClass
:
"compete-add"
},[
t
.
_v
(
"
\
n +竞品信息
\
n "
)]):
t
.
_e
()])},
staticRenderFns
:[]};
var
l
=
i
(
"VU/8"
)(
a
,
s
,
!
1
,
function
(
t
){
i
(
"hh6r"
)},
"data-v-1dcd7b4c"
,
null
);
e
.
default
=
l
.
exports
},
hh6r
:
function
(
t
,
e
){},
j20f
:
function
(
t
,
e
){},
o82P
:
function
(
t
,
e
){},
oS7J
:
function
(
t
,
e
){},
"s4D+"
:
function
(
t
,
e
,
i
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
a
=
{
name
:
"input-com"
,
props
:{
childItem
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
{}}}},
methods
:{
getZhLen
:
function
(
t
){
for
(
var
e
=
0
,
i
=
0
;
i
<
t
.
length
;
i
++
){
null
!=
t
.
charAt
(
i
).
match
(
/
[^\x
00-
\x
ff
]
/gi
)?
e
+=
1
:
e
+=
.
5
}
return
Math
.
ceil
(
e
)}}},
s
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
i
=
t
.
_self
.
_c
||
e
;
return
i
(
"div"
,{
class
:[
2
==
t
.
childItem
.
type
?
"h-66"
:
""
]},[
9
!=
t
.
childItem
.
type
?
i
(
"div"
,{
class
:[
"opencard-item-title"
,
t
.
getZhLen
(
t
.
childItem
.
title
)
>=
6
?
"title-pre-wrap"
:
""
]},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
title
))]):
t
.
_e
(),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"draged-item-show"
},[
i
(
"span"
,{
staticClass
:
"show-warm-text show-warm-text-flag"
,
style
:{
"padding-left"
:
9
==
t
.
childItem
.
type
?
"15px"
:
"0"
}},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
placeholder
)
+
" "
+
t
.
_s
(
t
.
childItem
.
isMust
?
"(必填)"
:
""
))])]),
t
.
_v
(
" "
),
10
==
t
.
childItem
.
type
&&
t
.
childItem
.
openCapitalize
?
i
(
"div"
,{
staticClass
:
"show-capitalize font-12 color-909399 p-l-10 border-box"
},[
t
.
_v
(
"大写:壹万元整(示例)"
)]):
t
.
_e
()])},
staticRenderFns
:[]};
var
l
=
i
(
"VU/8"
)(
a
,
s
,
!
1
,
function
(
t
){
i
(
"j20f"
)},
"data-v-37f2cf5d"
,
null
);
e
.
default
=
l
.
exports
},
t0b0
:
function
(
t
,
e
,
i
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
a
=
{
name
:
"select-com"
,
props
:{
childItem
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
{}}}},
methods
:{
getZhLen
:
function
(
t
){
for
(
var
e
=
0
,
i
=
0
;
i
<
t
.
length
;
i
++
){
null
!=
t
.
charAt
(
i
).
match
(
/
[^\x
00-
\x
ff
]
/gi
)?
e
+=
1
:
e
+=
.
5
}
return
Math
.
ceil
(
e
)}}},
s
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
i
=
t
.
_self
.
_c
||
e
;
return
i
(
"div"
,{
staticClass
:
"flex"
},[
i
(
"div"
,{
class
:[
"opencard-item-title"
,
t
.
getZhLen
(
t
.
childItem
.
title
)
>=
6
?
"title-pre-wrap"
:
""
]},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
title
))]),
t
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"draged-item-show"
},[
i
(
"span"
,{
staticClass
:
"show-warm-text show-warm-text-flag select-flag"
},[
t
.
_v
(
t
.
_s
(
t
.
childItem
.
placeholder
)
+
" "
+
t
.
_s
(
t
.
childItem
.
isMust
?
"(必填)"
:
""
)
+
" "
),
i
(
"i"
,{
staticClass
:
"el-icon-arrow-right"
})])])])},
staticRenderFns
:[]};
var
l
=
i
(
"VU/8"
)(
a
,
s
,
!
1
,
function
(
t
){
i
(
"tJ70"
)},
"data-v-2ff99de4"
,
null
);
e
.
default
=
l
.
exports
},
tJ70
:
function
(
t
,
e
){}});
\ No newline at end of file
dist/static/js/app.
6e6f12bb6786ade45689
.js
→
dist/static/js/app.
4ab827c84c56aaae997f
.js
View file @
26eaaffa
webpackJsonp
([
80
],{
"/NA0"
:
function
(
e
,
t
){},
0
:
function
(
e
,
t
,
n
){
n
(
"j1ja"
),
e
.
exports
=
n
(
"NHnr"
)},
"4qCZ"
:
function
(
e
,
t
){},
"5tgt"
:
function
(
e
,
t
,
n
){
e
.
exports
=
function
(
e
,
t
){
return
function
(
a
){
n
(
"Opzk"
)(
"./"
+
e
+
"/"
+
t
+
".vue"
).
then
(
function
(
e
){
a
(
e
)})}}},
NHnr
:
function
(
e
,
t
,
n
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
n
(
"mvHQ"
),
o
=
n
.
n
(
a
),
p
=
(
n
(
"j1ja"
),
n
(
"hKoQ"
)),
r
=
n
.
n
(
p
),
i
=
{
render
:
function
(){
var
e
=
this
.
$createElement
,
t
=
this
.
_self
.
_c
||
e
;
return
t
(
"div"
,{
attrs
:{
id
:
"app"
}},[
t
(
"transition"
,{
attrs
:{
name
:
"fade"
,
mode
:
"out-in"
}},[
t
(
"router-view"
)],
1
)],
1
)},
staticRenderFns
:[]};
var
s
=
n
(
"VU/8"
)({
name
:
"App"
,
data
:
function
(){
return
{}}},
i
,
!
1
,
function
(
e
){
n
(
"/NA0"
)},
null
,
null
).
exports
,
c
=
n
(
"lRwf"
),
m
=
n
.
n
(
c
),
d
=
n
(
"pRNm"
),
u
=
n
.
n
(
d
),
l
=
n
(
"5tgt"
),
v
=
n
.
n
(
l
);
m
.
a
.
use
(
u
.
a
);
var
h
=
function
(
e
){
n
.
e
(
1
).
then
(
n
.
bind
(
null
,
"ODjX"
)).
then
(
function
(
t
){
e
(
t
)})};
window
.
sessionStorage
.
getItem
(
"token"
)
&&
store
.
commit
(
types
.
LOGIN
,
window
.
sessionStorage
.
getItem
(
"token"
));
var
A
,
f
=
[{
path
:
"/"
,
name
:
"/"
,
redirect
:
"login"
},{
path
:
"/login"
,
name
:
"登录"
,
component
:
v
()(
"login"
,
"index"
)},{
path
:
"/download"
,
name
:
"下载"
,
component
:
v
()(
"download"
,
"index"
)},{
path
:
"/index"
,
name
:
"index"
,
component
:
v
()(
"index"
,
"index"
)},{
path
:
"/sign"
,
name
:
"index"
,
component
:
v
()(
"sign"
,
"index"
)},{
path
:
"/contacts"
,
name
:
"通讯录"
,
redirect
:
"administrativeFrame"
,
component
:
v
()(
"contacts"
,
"index"
),
children
:[{
path
:
"/administrativeFrame"
,
name
:
"行政架构"
,
component
:
v
()(
"contacts"
,
"administrativeFrame"
)},{
path
:
"/employeeIo"
,
name
:
"批量导入/导出"
,
component
:
v
()(
"contacts"
,
"employeeIo"
)},{
path
:
"/addDepartment"
,
name
:
"添加部门"
,
component
:
v
()(
"contacts"
,
"addDepartment"
)},{
path
:
"/addClerk"
,
name
:
"添加店员"
,
component
:
v
()(
"contacts"
,
"addClerk"
)},{
path
:
"/storeFrame"
,
name
:
"门店架构"
,
component
:
v
()(
"contacts"
,
"storeFrame"
)},{
path
:
"/addGroup"
,
name
:
"添加子分组"
,
component
:
v
()(
"contacts"
,
"addGroup"
)},{
path
:
"/storeIo"
,
name
:
"门店导入/导出"
,
component
:
v
()(
"contacts"
,
"storeIo"
)},{
path
:
"/storeInfo"
,
name
:
"编辑门店"
,
component
:
v
()(
"contacts"
,
"storeInfo"
)},{
path
:
"/recycle"
,
name
:
"门店回收站"
,
component
:
v
()(
"contacts"
,
"recycle"
)},{
path
:
"/employee"
,
name
:
"编辑员工"
,
component
:
v
()(
"contacts"
,
"employee"
)},{
path
:
"/unemployee"
,
name
:
"离职员工"
,
component
:
v
()(
"contacts"
,
"unemployee"
)},{
path
:
"/fileSet"
,
name
:
"档案设置"
,
component
:
v
()(
"contacts"
,
"fileSet"
)},{
path
:
"/recordInfo"
,
name
:
"编辑员工信息"
,
component
:
v
()(
"contacts"
,
"recordInfo"
)},{
path
:
"/recordIo"
,
name
:
"导入导出员工档案"
,
component
:
v
()(
"contacts"
,
"recordIo"
)},{
path
:
"/shareContact"
,
name
:
"共享通讯录"
,
component
:
v
()(
"contacts"
,
"shareContact"
)},{
path
:
"/shareCode"
,
name
:
"共享通讯录二维码"
,
component
:
v
()(
"contacts"
,
"shareCode"
)},{
path
:
"/employeeRecord"
,
name
:
"在职员工"
,
component
:
v
()(
"contacts"
,
"employeeRecord"
)}]},{
path
:
"/enterpriseApp"
,
name
:
"企业应用"
,
redirect
:
"appcenter"
,
component
:
v
()(
"enterpriseApp"
,
"index"
),
children
:[{
path
:
"/appcenter"
,
name
:
"企业应用中心"
,
component
:
v
()(
"enterpriseApp"
,
"appcenter"
)},{
path
:
"/mycustomer"
,
name
:
"我的顾客"
,
component
:
v
()(
"enterpriseApp"
,
"mycustomer"
)},{
path
:
"/cloudDaily"
,
name
:
"云日报"
,
redirect
:
"/dailyRecord"
,
component
:
v
()(
"enterpriseApp/cloudDaily"
,
"index"
),
children
:[{
path
:
"/dailyRecord"
,
name
:
"云日报记录"
,
component
:
v
()(
"enterpriseApp/cloudDaily"
,
"dailyRecord"
)},{
path
:
"/dailyDetail"
,
name
:
"日报详情"
,
component
:
v
()(
"enterpriseApp/cloudDaily"
,
"dailyDetail"
)},{
path
:
"/taskAssign"
,
name
:
"任务下发设置"
,
component
:
v
()(
"enterpriseApp/cloudDaily"
,
"taskAssign"
)},{
path
:
"/systemReport"
,
name
:
"系统报表"
,
component
:
v
()(
"enterpriseApp/cloudDaily"
,
"systemReport"
)},{
path
:
"/customReport"
,
name
:
"自定义报表"
,
component
:
v
()(
"enterpriseApp/cloudDaily"
,
"customReport"
)}]},{
path
:
"/trafficTask"
,
name
:
"话务任务"
,
redirect
:
"/taskRecord"
,
component
:
v
()(
"enterpriseApp/trafficTask"
,
"index"
),
children
:[{
path
:
"/taskRecord"
,
name
:
"话务任务记录"
,
component
:
v
()(
"enterpriseApp/trafficTask"
,
"taskRecord"
)},{
path
:
"/taskDetail"
,
name
:
"话务任务详情"
,
component
:
v
()(
"enterpriseApp/trafficTask"
,
"taskDetail"
)},{
path
:
"/trafficTaskSet"
,
name
:
"话务任务设置"
,
component
:
v
()(
"enterpriseApp/trafficTask"
,
"trafficTaskSet"
)},{
path
:
"/badEvaluateSet"
,
name
:
"不良评价设置"
,
component
:
v
()(
"enterpriseApp/badEvaluate"
,
"badEvaluateSet"
)}]},{
path
:
"/noticeList"
,
name
:
"企业公告"
,
redirect
:
"/noticeList"
,
component
:
v
()(
"enterpriseApp/notice"
,
"index"
),
children
:[{
path
:
"/noticeList"
,
name
:
"企业公告列表"
,
component
:
v
()(
"enterpriseApp/notice"
,
"noticeList"
)},{
path
:
"/addNotice"
,
name
:
"新建公告"
,
component
:
v
()(
"enterpriseApp/notice"
,
"addNotice"
)}]},{
path
:
"/badEvaluate"
,
name
:
"不良评价"
,
redirect
:
"/badEvaluateRecord"
,
component
:
v
()(
"enterpriseApp/badEvaluate"
,
"index"
),
children
:[{
path
:
"/badEvaluateRecord"
,
name
:
"不良评价记录"
,
component
:
v
()(
"enterpriseApp/badEvaluate"
,
"badEvaluateRecord"
)},{
path
:
"/badEvaluateDetail"
,
name
:
"不良评价详情"
,
component
:
v
()(
"enterpriseApp/badEvaluate"
,
"badEvaluateDetail"
)}]},{
path
:
"/quota"
,
name
:
"指标管理"
,
redirect
:
"/monthList"
,
component
:
v
()(
"enterpriseApp/quota"
,
"index"
),
children
:[{
path
:
"/monthList"
,
name
:
"月指标列表"
,
component
:
v
()(
"enterpriseApp/quota"
,
"monthList"
)},{
path
:
"/storeMonthTask"
,
name
:
"门店月指标"
,
component
:
v
()(
"enterpriseApp/quota"
,
"storeMonthTask"
)},{
path
:
"/salerMonthDetail"
,
name
:
"导购月指标详情"
,
component
:
v
()(
"enterpriseApp/quota"
,
"salerMonthDetail"
)},{
path
:
"/companyDaySet"
,
name
:
"商户日权重"
,
component
:
v
()(
"enterpriseApp/quota"
,
"companyDaySet"
)},{
path
:
"/monthTask"
,
name
:
"月指标任务"
,
component
:
v
()(
"enterpriseApp/quota"
,
"monthTask"
),
meta
:{
keepAlive
:
!
0
}},{
path
:
"/monthTaskDetail"
,
name
:
"月指标任务详情"
,
component
:
v
()(
"enterpriseApp/quota"
,
"monthTaskDetail"
),
meta
:{
keepAlive
:
!
0
}}]},{
path
:
"/signList"
,
name
:
"企业公告"
,
redirect
:
"/signList"
,
component
:
v
()(
"enterpriseApp/signApp"
,
"index"
),
children
:[{
path
:
"/signList"
,
name
:
"企业公告列表"
,
component
:
v
()(
"enterpriseApp/signApp"
,
"signList"
)}]}]},{
path
:
"/reviewCenter"
,
name
:
"审核中心"
,
redirect
:
"unreview"
,
component
:
v
()(
"reviewCenter"
,
"index"
),
children
:[{
path
:
"/reviewed"
,
name
:
"已审核"
,
component
:
v
()(
"reviewCenter"
,
"reviewed"
)},{
path
:
"/unreview"
,
name
:
"未审核"
,
component
:
v
()(
"reviewCenter"
,
"unreview"
)}]},{
path
:
"/setCenter"
,
name
:
"设置"
,
redirect
:
"companyAddress"
,
component
:
v
()(
"setting"
,
"index"
),
children
:[{
path
:
"/companyAddress"
,
name
:
"企业地址"
,
component
:
v
()(
"setting"
,
"companyAddress"
)},{
path
:
"/companyCertify"
,
name
:
"企业认证"
,
component
:
v
()(
"setting"
,
"companyCertify"
)},{
path
:
"/staffDetails"
,
name
:
"员工详情字段"
,
component
:
v
()(
"setting"
,
"staffDetails"
)},{
path
:
"/storePermission"
,
name
:
"门店权限设置"
,
component
:
v
()(
"setting"
,
"storePermission"
)},{
path
:
"/contactPermission"
,
name
:
"通讯录控制"
,
component
:
v
()(
"setting"
,
"contactPermission"
)},{
path
:
"/replaceAdmin"
,
name
:
"更换超级管理员"
,
component
:
v
()(
"setting"
,
"replaceAdmin"
)},{
path
:
"/setChildAdmin"
,
name
:
"设置子管理员"
,
component
:
v
()(
"setting"
,
"setChildAdmin"
)},{
path
:
"/addAdmin"
,
name
:
"添加管理员"
,
component
:
v
()(
"setting"
,
"addAdmin"
)},{
path
:
"/addAdminRole"
,
name
:
"添加管理员角色"
,
component
:
v
()(
"setting"
,
"addAdminRole"
)}]},{
path
:
"/staffRecordsTemplate"
,
name
:
"员工档案设置"
,
component
:
v
()(
"contacts"
,
"staffRecordsTemplate"
)},{
path
:
"/systemReportSet"
,
name
:
"系统报表设置"
,
component
:
v
()(
"enterpriseApp/cloudDaily"
,
"systemReportSet"
)},{
path
:
"/template"
,
name
:
"模板设置"
,
component
:
v
()(
"enterpriseApp/cloudDaily"
,
"template"
)},{
path
:
"/403"
,
name
:
"无权访问"
,
component
:
h
},{
path
:
"/404"
,
name
:
"error404"
,
component
:
h
},{
path
:
"/500"
,
name
:
"error500"
,
component
:
h
},{
path
:
"*"
,
redirect
:
"/404"
,
hidden
:
!
0
}],
y
=
new
u
.
a
({
routes
:
f
,
scrollBehavior
:
function
(){
return
{
y
:
0
}}}),
g
=
n
(
"zL8q"
),
k
=
n
.
n
(
g
),
D
=
n
(
"Rf8U"
),
x
=
n
.
n
(
D
),
R
=
n
(
"mtWM"
),
w
=
n
.
n
(
R
),
C
=
n
(
"bOdI"
),
b
=
n
.
n
(
C
),
I
=
n
(
"SJI6"
),
T
=
n
.
n
(
I
);
m
.
a
.
use
(
T
.
a
);
var
E
=
new
T
.
a
.
Store
({
state
:{
user
:{},
token
:
null
,
title
:
""
,
show
:
!
1
,
bgHeight
:
window
.
screen
.
availHeight
-
440
-
24
+
"px"
},
mutations
:(
A
=
{},
b
()(
A
,
"login"
,
function
(
e
,
t
){
sessionStorage
.
token
=
t
,
e
.
token
=
t
}),
b
()(
A
,
"logout"
,
function
(
e
){
sessionStorage
.
removeItem
(
"token"
),
e
.
token
=
null
}),
b
()(
A
,
"title"
,
function
(
e
,
t
){
e
.
title
=
t
}),
b
()(
A
,
"show"
,
function
(
e
,
t
){
e
.
show
=
t
}),
A
)}),
S
=
(
n
(
"4qCZ"
),
n
(
"uKUT"
),
n
(
"Xcu2"
),
n
(
"TUaa"
)),
q
=
n
.
n
(
S
),
V
=
n
(
"tyqE"
),
L
=
n
.
n
(
V
),
P
=
n
(
"pRVe"
),
j
=
n
.
n
(
P
),
F
=
n
(
"SE7k"
),
G
=
n
.
n
(
F
),
N
=
n
(
"XsK6"
),
O
=
n
.
n
(
N
),
z
=
n
(
"QRL9"
),
K
=
n
.
n
(
z
),
H
=
n
(
"2Pnh"
),
J
=
n
.
n
(
H
),
M
=
n
(
"l9mu"
),
U
=
n
.
n
(
M
),
X
=
{
install
:
function
(
e
,
t
){
e
.
prototype
.
getPdf
=
function
(){
var
e
=
this
.
htmlTitle
;
J
()(
document
.
querySelector
(
"#pdfDom"
),{
allowTaint
:
!
0
,
foreignObjectRendering
:
!
0
}).
then
(
function
(
t
){
var
n
=
t
.
width
,
a
=
t
.
height
,
o
=
n
/
592.28
*
841.89
,
p
=
a
,
r
=
0
,
i
=
592.28
/
n
*
a
,
s
=
t
.
toDataURL
(
"image/jpeg"
,
1
),
c
=
new
U
.
a
(
""
,
"pt"
,
"a4"
);
if
(
p
<
o
)
c
.
addImage
(
s
,
"JPEG"
,
0
,
0
,
595.28
,
i
);
else
for
(;
p
>
0
;)
c
.
addImage
(
s
,
"JPEG"
,
0
,
r
,
595.28
,
i
),
r
-=
841.89
,(
p
-=
o
)
>
0
&&
c
.
addPage
();
c
.
save
(
e
+
".pdf"
)})}}};
r
.
a
.
polyfill
(),
Vue
.
use
(
X
),
Vue
.
use
(
O
.
a
),
Vue
.
use
(
K
.
a
),
Vue
.
use
(
G
.
a
),
Vue
.
use
(
j
.
a
),
Vue
.
use
(
L
.
a
),
Vue
.
use
(
q
.
a
),
Vue
.
config
.
productionTip
=!
1
,
Vue
.
use
(
k
.
a
,{
size
:
"large"
}),
Vue
.
use
(
x
.
a
,
w
.
a
),
Vue
.
axios
.
defaults
.
withCredentials
=!
0
,
y
.
beforeEach
(
function
(
e
,
t
,
n
){
var
a
=
void
0
,
p
=
window
.
location
.
origin
;
a
=-
1
!=
p
.
indexOf
(
"localhost"
)?
"http://www.gicdev.com"
:
p
,
localStorage
.
getItem
(
"userInfo"
)
||
w
.
a
.
get
(
a
+
"/haoban-manage-web/emp/get-user-info"
,{}).
then
(
function
(
e
){
var
t
=
e
.
data
;
1
!=
t
.
errorCode
||
localStorage
.
setItem
(
"userInfo"
,
o
()(
t
.
result
))}).
catch
(
function
(
e
){
g
.
Message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})}),
"/"
==
e
.
path
?
n
({
path
:
"/login"
}):
n
()}),
new
Vue
({
el
:
"#app"
,
router
:
y
,
store
:
E
,
components
:{
App
:
s
},
template
:
"<App/>"
})},
Opzk
:
function
(
e
,
t
,
n
){
var
a
=
{
"./contacts/addClerk.vue"
:[
"27o1"
,
0
,
21
],
"./contacts/addDepartment.vue"
:[
"HHRu"
,
0
,
17
],
"./contacts/addEmployee.vue"
:[
"00Sv"
,
50
],
"./contacts/addGroup.vue"
:[
"mPjx"
,
0
,
78
],
"./contacts/administrativeFrame.vue"
:[
"kLcy"
,
0
,
4
],
"./contacts/employee.vue"
:[
"AdJp"
,
0
,
48
],
"./contacts/employeeIo.vue"
:[
"Rwbg"
,
0
,
73
],
"./contacts/employeeRecord.vue"
:[
"zGJY"
,
0
,
8
],
"./contacts/fileSet.vue"
:[
"CSjr"
,
0
,
12
],
"./contacts/index.vue"
:[
"41Rh"
,
0
,
77
],
"./contacts/recordInfo.vue"
:[
"67iC"
,
0
,
14
],
"./contacts/recordIo.vue"
:[
"738z"
,
0
,
20
],
"./contacts/recycle.vue"
:[
"HkK0"
,
0
,
26
],
"./contacts/shareAddDepartment.vue"
:[
"q5Ri"
,
0
,
16
],
"./contacts/shareCode.vue"
:[
"JsWW"
,
0
,
66
],
"./contacts/shareContact.vue"
:[
"Gfms"
,
0
,
2
],
"./contacts/staffRecordsTemplate.vue"
:[
"lFAe"
,
0
,
45
],
"./contacts/storeFrame.vue"
:[
"7SJI"
,
0
,
6
],
"./contacts/storeInfo.vue"
:[
"h/6A"
,
0
,
59
],
"./contacts/storeIo.vue"
:[
"RHxA"
,
0
,
55
],
"./contacts/unemployee.vue"
:[
"TGrv"
,
0
,
15
],
"./download/index.vue"
:[
"ASGJ"
,
0
,
9
],
"./enterpriseApp/appcenter.vue"
:[
"yuVF"
,
0
,
30
],
"./enterpriseApp/badEvaluate/badEvaluateDetail.vue"
:[
"4m/B"
,
0
,
33
],
"./enterpriseApp/badEvaluate/badEvaluateRecord.vue"
:[
"r//C"
,
0
,
62
],
"./enterpriseApp/badEvaluate/badEvaluateSet.vue"
:[
"XzAK"
,
0
,
69
],
"./enterpriseApp/badEvaluate/index.vue"
:[
"W0k8"
,
0
,
36
],
"./enterpriseApp/cloudDaily/customReport.vue"
:[
"DxdI"
,
0
,
38
],
"./enterpriseApp/cloudDaily/dailyDetail.vue"
:[
"5nNU"
,
0
,
31
],
"./enterpriseApp/cloudDaily/dailyRecord.vue"
:[
"Ujni"
,
0
,
29
],
"./enterpriseApp/cloudDaily/index.vue"
:[
"Knd1"
,
0
,
76
],
"./enterpriseApp/cloudDaily/systemReport.vue"
:[
"Y8F9"
,
0
,
57
],
"./enterpriseApp/cloudDaily/systemReportSet.vue"
:[
"VE2c"
,
0
,
7
],
"./enterpriseApp/cloudDaily/taskAssign.vue"
:[
"5x7s"
,
0
,
44
],
"./enterpriseApp/cloudDaily/template.vue"
:[
"IA9l"
,
0
,
5
],
"./enterpriseApp/cloudDaily/template/block.vue"
:[
"PAYw"
,
72
],
"./enterpriseApp/cloudDaily/template/date-range.vue"
:[
"79Bk"
,
74
],
"./enterpriseApp/cloudDaily/template/image.vue"
:[
"H8Kg"
,
35
],
"./enterpriseApp/cloudDaily/template/input.vue"
:[
"s4D+"
,
61
],
"./enterpriseApp/cloudDaily/template/select.vue"
:[
"t0b0"
,
64
],
"./enterpriseApp/index.vue"
:[
"da9f"
,
51
],
"./enterpriseApp/mycustomer.vue"
:[
"cuIN"
,
0
,
46
],
"./enterpriseApp/notice/addNotice.vue"
:[
"G5PL"
,
0
,
3
],
"./enterpriseApp/notice/index.vue"
:[
"av/3"
,
0
,
49
],
"./enterpriseApp/notice/noticeList.vue"
:[
"OVYO"
,
0
,
11
],
"./enterpriseApp/quota/companyDaySet.vue"
:[
"xk7v"
,
0
,
71
],
"./enterpriseApp/quota/index.vue"
:[
"FB5x"
,
0
,
68
],
"./enterpriseApp/quota/monthList.vue"
:[
"ZxDn"
,
0
,
39
],
"./enterpriseApp/quota/monthTask.vue"
:[
"cK0D"
,
0
,
58
],
"./enterpriseApp/quota/monthTaskDetail.vue"
:[
"jMbb"
,
0
,
60
],
"./enterpriseApp/quota/salerMonthDetail.vue"
:[
"IKv2"
,
0
,
40
],
"./enterpriseApp/quota/storeMonthTask.vue"
:[
"kF1j"
,
0
,
63
],
"./enterpriseApp/signApp/index.vue"
:[
"Gk4o"
,
0
,
41
],
"./enterpriseApp/signApp/signList.vue"
:[
"kCy7"
,
0
,
47
],
"./enterpriseApp/trafficTask/index.vue"
:[
"e88N"
,
0
,
43
],
"./enterpriseApp/trafficTask/taskDetail.vue"
:[
"A33E"
,
0
,
75
],
"./enterpriseApp/trafficTask/taskRecord.vue"
:[
"iG3v"
,
0
,
42
],
"./enterpriseApp/trafficTask/trafficTaskSet.vue"
:[
"4H54"
,
0
,
32
],
"./errorPage/403.vue"
:[
"6XGN"
,
25
],
"./errorPage/404.vue"
:[
"AejC"
,
27
],
"./errorPage/500.vue"
:[
"FskK"
,
23
],
"./errorPage/index.vue"
:[
"ODjX"
,
1
],
"./index/index.vue"
:[
"JXTs"
,
0
,
28
],
"./login/index.vue"
:[
"T+/8"
,
0
,
10
],
"./reviewCenter/index.vue"
:[
"+lem"
,
56
],
"./reviewCenter/reviewed.vue"
:[
"CLYF"
,
0
,
19
],
"./reviewCenter/unreview.vue"
:[
"xCEU"
,
0
,
18
],
"./setting/addAdmin.vue"
:[
"rs/A"
,
0
,
54
],
"./setting/addAdminRole.vue"
:[
"fZsz"
,
0
,
70
],
"./setting/companyAddress.vue"
:[
"SKyE"
,
0
,
65
],
"./setting/companyCertify.vue"
:[
"3zYh"
,
0
,
13
],
"./setting/contactPermission.vue"
:[
"6zFj"
,
0
,
53
],
"./setting/index.vue"
:[
"VlR1"
,
34
],
"./setting/replaceAdmin.vue"
:[
"ys9I"
,
0
,
37
],
"./setting/setChildAdmin.vue"
:[
"VqB7"
,
0
,
52
],
"./setting/staffDetails.vue"
:[
"Zyzf"
,
0
,
24
],
"./setting/storePermission.vue"
:[
"Xwfy"
,
0
,
22
],
"./sign/index.vue"
:[
"RQuk"
,
0
,
67
]};
function
o
(
e
){
var
t
=
a
[
e
];
return
t
?
Promise
.
all
(
t
.
slice
(
1
).
map
(
n
.
e
)).
then
(
function
(){
return
n
(
t
[
0
])}):
Promise
.
reject
(
new
Error
(
"Cannot find module '"
+
e
+
"'."
))}
o
.
keys
=
function
(){
return
Object
.
keys
(
a
)},
o
.
id
=
"Opzk"
,
e
.
exports
=
o
},
SJI6
:
function
(
e
,
t
){
e
.
exports
=
Vuex
},
Xcu2
:
function
(
e
,
t
){},
lRwf
:
function
(
e
,
t
){
e
.
exports
=
Vue
},
pRNm
:
function
(
e
,
t
){
e
.
exports
=
VueRouter
},
uKUT
:
function
(
e
,
t
){}},[
0
]);
\ No newline at end of file
webpackJsonp
([
80
],{
"/NA0"
:
function
(
e
,
t
){},
0
:
function
(
e
,
t
,
n
){
n
(
"j1ja"
),
e
.
exports
=
n
(
"NHnr"
)},
"4qCZ"
:
function
(
e
,
t
){},
"5tgt"
:
function
(
e
,
t
,
n
){
e
.
exports
=
function
(
e
,
t
){
return
function
(
a
){
n
(
"Opzk"
)(
"./"
+
e
+
"/"
+
t
+
".vue"
).
then
(
function
(
e
){
a
(
e
)})}}},
NHnr
:
function
(
e
,
t
,
n
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
n
(
"mvHQ"
),
o
=
n
.
n
(
a
),
p
=
(
n
(
"j1ja"
),
n
(
"hKoQ"
)),
r
=
n
.
n
(
p
),
i
=
{
render
:
function
(){
var
e
=
this
.
$createElement
,
t
=
this
.
_self
.
_c
||
e
;
return
t
(
"div"
,{
attrs
:{
id
:
"app"
}},[
t
(
"transition"
,{
attrs
:{
name
:
"fade"
,
mode
:
"out-in"
}},[
t
(
"router-view"
)],
1
)],
1
)},
staticRenderFns
:[]};
var
s
=
n
(
"VU/8"
)({
name
:
"App"
,
data
:
function
(){
return
{}}},
i
,
!
1
,
function
(
e
){
n
(
"/NA0"
)},
null
,
null
).
exports
,
c
=
n
(
"lRwf"
),
m
=
n
.
n
(
c
),
d
=
n
(
"pRNm"
),
u
=
n
.
n
(
d
),
l
=
n
(
"5tgt"
),
v
=
n
.
n
(
l
);
m
.
a
.
use
(
u
.
a
);
var
h
=
function
(
e
){
n
.
e
(
1
).
then
(
n
.
bind
(
null
,
"ODjX"
)).
then
(
function
(
t
){
e
(
t
)})};
window
.
sessionStorage
.
getItem
(
"token"
)
&&
store
.
commit
(
types
.
LOGIN
,
window
.
sessionStorage
.
getItem
(
"token"
));
var
A
,
f
=
[{
path
:
"/"
,
name
:
"/"
,
redirect
:
"login"
},{
path
:
"/login"
,
name
:
"登录"
,
component
:
v
()(
"login"
,
"index"
)},{
path
:
"/download"
,
name
:
"下载"
,
component
:
v
()(
"download"
,
"index"
)},{
path
:
"/index"
,
name
:
"index"
,
component
:
v
()(
"index"
,
"index"
)},{
path
:
"/sign"
,
name
:
"index"
,
component
:
v
()(
"sign"
,
"index"
)},{
path
:
"/contacts"
,
name
:
"通讯录"
,
redirect
:
"administrativeFrame"
,
component
:
v
()(
"contacts"
,
"index"
),
children
:[{
path
:
"/administrativeFrame"
,
name
:
"行政架构"
,
component
:
v
()(
"contacts"
,
"administrativeFrame"
)},{
path
:
"/employeeIo"
,
name
:
"批量导入/导出"
,
component
:
v
()(
"contacts"
,
"employeeIo"
)},{
path
:
"/addDepartment"
,
name
:
"添加部门"
,
component
:
v
()(
"contacts"
,
"addDepartment"
)},{
path
:
"/addClerk"
,
name
:
"添加店员"
,
component
:
v
()(
"contacts"
,
"addClerk"
)},{
path
:
"/storeFrame"
,
name
:
"门店架构"
,
component
:
v
()(
"contacts"
,
"storeFrame"
)},{
path
:
"/addGroup"
,
name
:
"添加子分组"
,
component
:
v
()(
"contacts"
,
"addGroup"
)},{
path
:
"/storeIo"
,
name
:
"门店导入/导出"
,
component
:
v
()(
"contacts"
,
"storeIo"
)},{
path
:
"/storeInfo"
,
name
:
"编辑门店"
,
component
:
v
()(
"contacts"
,
"storeInfo"
)},{
path
:
"/recycle"
,
name
:
"门店回收站"
,
component
:
v
()(
"contacts"
,
"recycle"
)},{
path
:
"/employee"
,
name
:
"编辑员工"
,
component
:
v
()(
"contacts"
,
"employee"
)},{
path
:
"/unemployee"
,
name
:
"离职员工"
,
component
:
v
()(
"contacts"
,
"unemployee"
)},{
path
:
"/fileSet"
,
name
:
"档案设置"
,
component
:
v
()(
"contacts"
,
"fileSet"
)},{
path
:
"/recordInfo"
,
name
:
"编辑员工信息"
,
component
:
v
()(
"contacts"
,
"recordInfo"
)},{
path
:
"/recordIo"
,
name
:
"导入导出员工档案"
,
component
:
v
()(
"contacts"
,
"recordIo"
)},{
path
:
"/shareContact"
,
name
:
"共享通讯录"
,
component
:
v
()(
"contacts"
,
"shareContact"
)},{
path
:
"/shareCode"
,
name
:
"共享通讯录二维码"
,
component
:
v
()(
"contacts"
,
"shareCode"
)},{
path
:
"/employeeRecord"
,
name
:
"在职员工"
,
component
:
v
()(
"contacts"
,
"employeeRecord"
)}]},{
path
:
"/enterpriseApp"
,
name
:
"企业应用"
,
redirect
:
"appcenter"
,
component
:
v
()(
"enterpriseApp"
,
"index"
),
children
:[{
path
:
"/appcenter"
,
name
:
"企业应用中心"
,
component
:
v
()(
"enterpriseApp"
,
"appcenter"
)},{
path
:
"/mycustomer"
,
name
:
"我的顾客"
,
component
:
v
()(
"enterpriseApp"
,
"mycustomer"
)},{
path
:
"/cloudDaily"
,
name
:
"云日报"
,
redirect
:
"/dailyRecord"
,
component
:
v
()(
"enterpriseApp/cloudDaily"
,
"index"
),
children
:[{
path
:
"/dailyRecord"
,
name
:
"云日报记录"
,
component
:
v
()(
"enterpriseApp/cloudDaily"
,
"dailyRecord"
)},{
path
:
"/dailyDetail"
,
name
:
"日报详情"
,
component
:
v
()(
"enterpriseApp/cloudDaily"
,
"dailyDetail"
)},{
path
:
"/taskAssign"
,
name
:
"任务下发设置"
,
component
:
v
()(
"enterpriseApp/cloudDaily"
,
"taskAssign"
)},{
path
:
"/systemReport"
,
name
:
"系统报表"
,
component
:
v
()(
"enterpriseApp/cloudDaily"
,
"systemReport"
)},{
path
:
"/customReport"
,
name
:
"自定义报表"
,
component
:
v
()(
"enterpriseApp/cloudDaily"
,
"customReport"
)}]},{
path
:
"/trafficTask"
,
name
:
"话务任务"
,
redirect
:
"/taskRecord"
,
component
:
v
()(
"enterpriseApp/trafficTask"
,
"index"
),
children
:[{
path
:
"/taskRecord"
,
name
:
"话务任务记录"
,
component
:
v
()(
"enterpriseApp/trafficTask"
,
"taskRecord"
)},{
path
:
"/taskDetail"
,
name
:
"话务任务详情"
,
component
:
v
()(
"enterpriseApp/trafficTask"
,
"taskDetail"
)},{
path
:
"/trafficTaskSet"
,
name
:
"话务任务设置"
,
component
:
v
()(
"enterpriseApp/trafficTask"
,
"trafficTaskSet"
)},{
path
:
"/badEvaluateSet"
,
name
:
"不良评价设置"
,
component
:
v
()(
"enterpriseApp/badEvaluate"
,
"badEvaluateSet"
)}]},{
path
:
"/noticeList"
,
name
:
"企业公告"
,
redirect
:
"/noticeList"
,
component
:
v
()(
"enterpriseApp/notice"
,
"index"
),
children
:[{
path
:
"/noticeList"
,
name
:
"企业公告列表"
,
component
:
v
()(
"enterpriseApp/notice"
,
"noticeList"
)},{
path
:
"/addNotice"
,
name
:
"新建公告"
,
component
:
v
()(
"enterpriseApp/notice"
,
"addNotice"
)}]},{
path
:
"/badEvaluate"
,
name
:
"不良评价"
,
redirect
:
"/badEvaluateRecord"
,
component
:
v
()(
"enterpriseApp/badEvaluate"
,
"index"
),
children
:[{
path
:
"/badEvaluateRecord"
,
name
:
"不良评价记录"
,
component
:
v
()(
"enterpriseApp/badEvaluate"
,
"badEvaluateRecord"
)},{
path
:
"/badEvaluateDetail"
,
name
:
"不良评价详情"
,
component
:
v
()(
"enterpriseApp/badEvaluate"
,
"badEvaluateDetail"
)}]},{
path
:
"/quota"
,
name
:
"指标管理"
,
redirect
:
"/monthList"
,
component
:
v
()(
"enterpriseApp/quota"
,
"index"
),
children
:[{
path
:
"/monthList"
,
name
:
"月指标列表"
,
component
:
v
()(
"enterpriseApp/quota"
,
"monthList"
)},{
path
:
"/storeMonthTask"
,
name
:
"门店月指标"
,
component
:
v
()(
"enterpriseApp/quota"
,
"storeMonthTask"
)},{
path
:
"/salerMonthDetail"
,
name
:
"导购月指标详情"
,
component
:
v
()(
"enterpriseApp/quota"
,
"salerMonthDetail"
)},{
path
:
"/companyDaySet"
,
name
:
"商户日权重"
,
component
:
v
()(
"enterpriseApp/quota"
,
"companyDaySet"
)},{
path
:
"/monthTask"
,
name
:
"月指标任务"
,
component
:
v
()(
"enterpriseApp/quota"
,
"monthTask"
),
meta
:{
keepAlive
:
!
0
}},{
path
:
"/monthTaskDetail"
,
name
:
"月指标任务详情"
,
component
:
v
()(
"enterpriseApp/quota"
,
"monthTaskDetail"
),
meta
:{
keepAlive
:
!
0
}}]},{
path
:
"/signList"
,
name
:
"企业公告"
,
redirect
:
"/signList"
,
component
:
v
()(
"enterpriseApp/signApp"
,
"index"
),
children
:[{
path
:
"/signList"
,
name
:
"企业公告列表"
,
component
:
v
()(
"enterpriseApp/signApp"
,
"signList"
)}]}]},{
path
:
"/reviewCenter"
,
name
:
"审核中心"
,
redirect
:
"unreview"
,
component
:
v
()(
"reviewCenter"
,
"index"
),
children
:[{
path
:
"/reviewed"
,
name
:
"已审核"
,
component
:
v
()(
"reviewCenter"
,
"reviewed"
)},{
path
:
"/unreview"
,
name
:
"未审核"
,
component
:
v
()(
"reviewCenter"
,
"unreview"
)}]},{
path
:
"/setCenter"
,
name
:
"设置"
,
redirect
:
"companyAddress"
,
component
:
v
()(
"setting"
,
"index"
),
children
:[{
path
:
"/companyAddress"
,
name
:
"企业地址"
,
component
:
v
()(
"setting"
,
"companyAddress"
)},{
path
:
"/companyCertify"
,
name
:
"企业认证"
,
component
:
v
()(
"setting"
,
"companyCertify"
)},{
path
:
"/staffDetails"
,
name
:
"员工详情字段"
,
component
:
v
()(
"setting"
,
"staffDetails"
)},{
path
:
"/storePermission"
,
name
:
"门店权限设置"
,
component
:
v
()(
"setting"
,
"storePermission"
)},{
path
:
"/contactPermission"
,
name
:
"通讯录控制"
,
component
:
v
()(
"setting"
,
"contactPermission"
)},{
path
:
"/replaceAdmin"
,
name
:
"更换超级管理员"
,
component
:
v
()(
"setting"
,
"replaceAdmin"
)},{
path
:
"/setChildAdmin"
,
name
:
"设置子管理员"
,
component
:
v
()(
"setting"
,
"setChildAdmin"
)},{
path
:
"/addAdmin"
,
name
:
"添加管理员"
,
component
:
v
()(
"setting"
,
"addAdmin"
)},{
path
:
"/addAdminRole"
,
name
:
"添加管理员角色"
,
component
:
v
()(
"setting"
,
"addAdminRole"
)}]},{
path
:
"/staffRecordsTemplate"
,
name
:
"员工档案设置"
,
component
:
v
()(
"contacts"
,
"staffRecordsTemplate"
)},{
path
:
"/systemReportSet"
,
name
:
"系统报表设置"
,
component
:
v
()(
"enterpriseApp/cloudDaily"
,
"systemReportSet"
)},{
path
:
"/template"
,
name
:
"模板设置"
,
component
:
v
()(
"enterpriseApp/cloudDaily"
,
"template"
)},{
path
:
"/403"
,
name
:
"无权访问"
,
component
:
h
},{
path
:
"/404"
,
name
:
"error404"
,
component
:
h
},{
path
:
"/500"
,
name
:
"error500"
,
component
:
h
},{
path
:
"*"
,
redirect
:
"/404"
,
hidden
:
!
0
}],
y
=
new
u
.
a
({
routes
:
f
,
scrollBehavior
:
function
(){
return
{
y
:
0
}}}),
g
=
n
(
"zL8q"
),
k
=
n
.
n
(
g
),
D
=
n
(
"Rf8U"
),
x
=
n
.
n
(
D
),
R
=
n
(
"mtWM"
),
w
=
n
.
n
(
R
),
C
=
n
(
"bOdI"
),
b
=
n
.
n
(
C
),
I
=
n
(
"SJI6"
),
T
=
n
.
n
(
I
);
m
.
a
.
use
(
T
.
a
);
var
E
=
new
T
.
a
.
Store
({
state
:{
user
:{},
token
:
null
,
title
:
""
,
show
:
!
1
,
bgHeight
:
window
.
screen
.
availHeight
-
440
-
24
+
"px"
},
mutations
:(
A
=
{},
b
()(
A
,
"login"
,
function
(
e
,
t
){
sessionStorage
.
token
=
t
,
e
.
token
=
t
}),
b
()(
A
,
"logout"
,
function
(
e
){
sessionStorage
.
removeItem
(
"token"
),
e
.
token
=
null
}),
b
()(
A
,
"title"
,
function
(
e
,
t
){
e
.
title
=
t
}),
b
()(
A
,
"show"
,
function
(
e
,
t
){
e
.
show
=
t
}),
A
)}),
S
=
(
n
(
"4qCZ"
),
n
(
"uKUT"
),
n
(
"Xcu2"
),
n
(
"TUaa"
)),
q
=
n
.
n
(
S
),
V
=
n
(
"tyqE"
),
L
=
n
.
n
(
V
),
P
=
n
(
"pRVe"
),
j
=
n
.
n
(
P
),
F
=
n
(
"SE7k"
),
G
=
n
.
n
(
F
),
N
=
n
(
"XsK6"
),
O
=
n
.
n
(
N
),
z
=
n
(
"QRL9"
),
K
=
n
.
n
(
z
),
H
=
n
(
"2Pnh"
),
J
=
n
.
n
(
H
),
M
=
n
(
"l9mu"
),
U
=
n
.
n
(
M
),
X
=
{
install
:
function
(
e
,
t
){
e
.
prototype
.
getPdf
=
function
(){
var
e
=
this
.
htmlTitle
;
J
()(
document
.
querySelector
(
"#pdfDom"
),{
allowTaint
:
!
0
,
foreignObjectRendering
:
!
0
}).
then
(
function
(
t
){
var
n
=
t
.
width
,
a
=
t
.
height
,
o
=
n
/
592.28
*
841.89
,
p
=
a
,
r
=
0
,
i
=
592.28
/
n
*
a
,
s
=
t
.
toDataURL
(
"image/jpeg"
,
1
),
c
=
new
U
.
a
(
""
,
"pt"
,
"a4"
);
if
(
p
<
o
)
c
.
addImage
(
s
,
"JPEG"
,
0
,
0
,
595.28
,
i
);
else
for
(;
p
>
0
;)
c
.
addImage
(
s
,
"JPEG"
,
0
,
r
,
595.28
,
i
),
r
-=
841.89
,(
p
-=
o
)
>
0
&&
c
.
addPage
();
c
.
save
(
e
+
".pdf"
)})}}};
r
.
a
.
polyfill
(),
Vue
.
use
(
X
),
Vue
.
use
(
O
.
a
),
Vue
.
use
(
K
.
a
),
Vue
.
use
(
G
.
a
),
Vue
.
use
(
j
.
a
),
Vue
.
use
(
L
.
a
),
Vue
.
use
(
q
.
a
),
Vue
.
config
.
productionTip
=!
1
,
Vue
.
use
(
k
.
a
,{
size
:
"large"
}),
Vue
.
use
(
x
.
a
,
w
.
a
),
Vue
.
axios
.
defaults
.
withCredentials
=!
0
,
y
.
beforeEach
(
function
(
e
,
t
,
n
){
var
a
=
void
0
,
p
=
window
.
location
.
origin
;
a
=-
1
!=
p
.
indexOf
(
"localhost"
)?
"http://www.gicdev.com"
:
p
,
localStorage
.
getItem
(
"userInfo"
)
||
w
.
a
.
get
(
a
+
"/haoban-manage-web/emp/get-user-info"
,{}).
then
(
function
(
e
){
var
t
=
e
.
data
;
1
!=
t
.
errorCode
||
localStorage
.
setItem
(
"userInfo"
,
o
()(
t
.
result
))}).
catch
(
function
(
e
){
g
.
Message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})}),
"/"
==
e
.
path
?
n
({
path
:
"/login"
}):
n
()}),
new
Vue
({
el
:
"#app"
,
router
:
y
,
store
:
E
,
components
:{
App
:
s
},
template
:
"<App/>"
})},
Opzk
:
function
(
e
,
t
,
n
){
var
a
=
{
"./contacts/addClerk.vue"
:[
"27o1"
,
0
,
21
],
"./contacts/addDepartment.vue"
:[
"HHRu"
,
0
,
17
],
"./contacts/addEmployee.vue"
:[
"00Sv"
,
50
],
"./contacts/addGroup.vue"
:[
"mPjx"
,
0
,
78
],
"./contacts/administrativeFrame.vue"
:[
"kLcy"
,
0
,
4
],
"./contacts/employee.vue"
:[
"AdJp"
,
0
,
48
],
"./contacts/employeeIo.vue"
:[
"Rwbg"
,
0
,
73
],
"./contacts/employeeRecord.vue"
:[
"zGJY"
,
0
,
8
],
"./contacts/fileSet.vue"
:[
"CSjr"
,
0
,
12
],
"./contacts/index.vue"
:[
"41Rh"
,
0
,
77
],
"./contacts/recordInfo.vue"
:[
"67iC"
,
0
,
14
],
"./contacts/recordIo.vue"
:[
"738z"
,
0
,
20
],
"./contacts/recycle.vue"
:[
"HkK0"
,
0
,
26
],
"./contacts/shareAddDepartment.vue"
:[
"q5Ri"
,
0
,
16
],
"./contacts/shareCode.vue"
:[
"JsWW"
,
0
,
66
],
"./contacts/shareContact.vue"
:[
"Gfms"
,
0
,
2
],
"./contacts/staffRecordsTemplate.vue"
:[
"lFAe"
,
0
,
47
],
"./contacts/storeFrame.vue"
:[
"7SJI"
,
0
,
6
],
"./contacts/storeInfo.vue"
:[
"h/6A"
,
0
,
59
],
"./contacts/storeIo.vue"
:[
"RHxA"
,
0
,
55
],
"./contacts/unemployee.vue"
:[
"TGrv"
,
0
,
15
],
"./download/index.vue"
:[
"ASGJ"
,
0
,
9
],
"./enterpriseApp/appcenter.vue"
:[
"yuVF"
,
0
,
30
],
"./enterpriseApp/badEvaluate/badEvaluateDetail.vue"
:[
"4m/B"
,
0
,
34
],
"./enterpriseApp/badEvaluate/badEvaluateRecord.vue"
:[
"r//C"
,
0
,
62
],
"./enterpriseApp/badEvaluate/badEvaluateSet.vue"
:[
"XzAK"
,
0
,
69
],
"./enterpriseApp/badEvaluate/index.vue"
:[
"W0k8"
,
0
,
37
],
"./enterpriseApp/cloudDaily/customReport.vue"
:[
"DxdI"
,
0
,
38
],
"./enterpriseApp/cloudDaily/dailyDetail.vue"
:[
"5nNU"
,
0
,
31
],
"./enterpriseApp/cloudDaily/dailyRecord.vue"
:[
"Ujni"
,
0
,
29
],
"./enterpriseApp/cloudDaily/index.vue"
:[
"Knd1"
,
0
,
76
],
"./enterpriseApp/cloudDaily/systemReport.vue"
:[
"Y8F9"
,
0
,
57
],
"./enterpriseApp/cloudDaily/systemReportSet.vue"
:[
"VE2c"
,
0
,
7
],
"./enterpriseApp/cloudDaily/taskAssign.vue"
:[
"5x7s"
,
0
,
44
],
"./enterpriseApp/cloudDaily/template.vue"
:[
"IA9l"
,
0
,
5
],
"./enterpriseApp/cloudDaily/template/block.vue"
:[
"PAYw"
,
72
],
"./enterpriseApp/cloudDaily/template/date-range.vue"
:[
"79Bk"
,
74
],
"./enterpriseApp/cloudDaily/template/image.vue"
:[
"H8Kg"
,
36
],
"./enterpriseApp/cloudDaily/template/input.vue"
:[
"s4D+"
,
61
],
"./enterpriseApp/cloudDaily/template/select.vue"
:[
"t0b0"
,
64
],
"./enterpriseApp/index.vue"
:[
"da9f"
,
51
],
"./enterpriseApp/mycustomer.vue"
:[
"cuIN"
,
0
,
45
],
"./enterpriseApp/notice/addNotice.vue"
:[
"G5PL"
,
0
,
3
],
"./enterpriseApp/notice/index.vue"
:[
"av/3"
,
0
,
49
],
"./enterpriseApp/notice/noticeList.vue"
:[
"OVYO"
,
0
,
11
],
"./enterpriseApp/quota/companyDaySet.vue"
:[
"xk7v"
,
0
,
71
],
"./enterpriseApp/quota/index.vue"
:[
"FB5x"
,
0
,
68
],
"./enterpriseApp/quota/monthList.vue"
:[
"ZxDn"
,
0
,
39
],
"./enterpriseApp/quota/monthTask.vue"
:[
"cK0D"
,
0
,
58
],
"./enterpriseApp/quota/monthTaskDetail.vue"
:[
"jMbb"
,
0
,
60
],
"./enterpriseApp/quota/salerMonthDetail.vue"
:[
"IKv2"
,
0
,
40
],
"./enterpriseApp/quota/storeMonthTask.vue"
:[
"kF1j"
,
0
,
63
],
"./enterpriseApp/signApp/index.vue"
:[
"Gk4o"
,
0
,
41
],
"./enterpriseApp/signApp/signList.vue"
:[
"kCy7"
,
0
,
46
],
"./enterpriseApp/trafficTask/index.vue"
:[
"e88N"
,
0
,
43
],
"./enterpriseApp/trafficTask/taskDetail.vue"
:[
"A33E"
,
0
,
75
],
"./enterpriseApp/trafficTask/taskRecord.vue"
:[
"iG3v"
,
0
,
42
],
"./enterpriseApp/trafficTask/trafficTaskSet.vue"
:[
"4H54"
,
0
,
32
],
"./errorPage/403.vue"
:[
"6XGN"
,
25
],
"./errorPage/404.vue"
:[
"AejC"
,
27
],
"./errorPage/500.vue"
:[
"FskK"
,
23
],
"./errorPage/index.vue"
:[
"ODjX"
,
1
],
"./index/index.vue"
:[
"JXTs"
,
0
,
28
],
"./login/index.vue"
:[
"T+/8"
,
0
,
10
],
"./reviewCenter/index.vue"
:[
"+lem"
,
56
],
"./reviewCenter/reviewed.vue"
:[
"CLYF"
,
0
,
19
],
"./reviewCenter/unreview.vue"
:[
"xCEU"
,
0
,
18
],
"./setting/addAdmin.vue"
:[
"rs/A"
,
0
,
54
],
"./setting/addAdminRole.vue"
:[
"fZsz"
,
0
,
70
],
"./setting/companyAddress.vue"
:[
"SKyE"
,
0
,
65
],
"./setting/companyCertify.vue"
:[
"3zYh"
,
0
,
13
],
"./setting/contactPermission.vue"
:[
"6zFj"
,
0
,
53
],
"./setting/index.vue"
:[
"VlR1"
,
35
],
"./setting/replaceAdmin.vue"
:[
"ys9I"
,
0
,
33
],
"./setting/setChildAdmin.vue"
:[
"VqB7"
,
0
,
52
],
"./setting/staffDetails.vue"
:[
"Zyzf"
,
0
,
24
],
"./setting/storePermission.vue"
:[
"Xwfy"
,
0
,
22
],
"./sign/index.vue"
:[
"RQuk"
,
0
,
67
]};
function
o
(
e
){
var
t
=
a
[
e
];
return
t
?
Promise
.
all
(
t
.
slice
(
1
).
map
(
n
.
e
)).
then
(
function
(){
return
n
(
t
[
0
])}):
Promise
.
reject
(
new
Error
(
"Cannot find module '"
+
e
+
"'."
))}
o
.
keys
=
function
(){
return
Object
.
keys
(
a
)},
o
.
id
=
"Opzk"
,
e
.
exports
=
o
},
SJI6
:
function
(
e
,
t
){
e
.
exports
=
Vuex
},
Xcu2
:
function
(
e
,
t
){},
lRwf
:
function
(
e
,
t
){
e
.
exports
=
Vue
},
pRNm
:
function
(
e
,
t
){
e
.
exports
=
VueRouter
},
uKUT
:
function
(
e
,
t
){}},[
0
]);
\ No newline at end of file
dist/static/js/manifest.
d6c6ea00ef77d7c833c2
.js
→
dist/static/js/manifest.
5a5bb42e6d10f3399427
.js
View file @
26eaaffa
!
function
(
e
){
var
c
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
a
,
b
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
a
.
length
;
i
++
)
t
=
a
[
i
],
f
[
t
]
&&
u
.
push
(
f
[
t
][
0
]),
f
[
t
]
=
0
;
for
(
r
in
b
)
Object
.
prototype
.
hasOwnProperty
.
call
(
b
,
r
)
&&
(
e
[
r
]
=
b
[
r
]);
for
(
c
&&
c
(
a
,
b
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
d
(
d
.
s
=
n
[
i
]);
return
o
};
var
a
=
{},
f
=
{
82
:
0
};
function
d
(
c
){
if
(
a
[
c
])
return
a
[
c
].
exports
;
var
f
=
a
[
c
]
=
{
i
:
c
,
l
:
!
1
,
exports
:{}};
return
e
[
c
].
call
(
f
.
exports
,
f
,
f
.
exports
,
d
),
f
.
l
=!
0
,
f
.
exports
}
d
.
e
=
function
(
e
){
var
c
=
f
[
e
];
if
(
0
===
c
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
c
)
return
c
[
2
];
var
a
=
new
Promise
(
function
(
a
,
d
){
c
=
f
[
e
]
=
[
a
,
d
]});
c
[
2
]
=
a
;
var
b
=
document
.
getElementsByTagName
(
"head"
)[
0
],
n
=
document
.
createElement
(
"script"
);
n
.
type
=
"text/javascript"
,
n
.
charset
=
"utf-8"
,
n
.
async
=!
0
,
n
.
timeout
=
12
e4
,
d
.
nc
&&
n
.
setAttribute
(
"nonce"
,
d
.
nc
),
n
.
src
=
d
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"df2ab3013f7273b6480b"
,
1
:
"0ebe3ead93207dc78a78"
,
2
:
"d3c62c00c91d9891f916"
,
3
:
"a43577b9e52a5719a124"
,
4
:
"82103d2b04b685deeb5c"
,
5
:
"96197fd99d3e41d25916"
,
6
:
"465489570e6deff515b7"
,
7
:
"8f462a353a2ce9c0c116"
,
8
:
"e5372980f04518fa84ec"
,
9
:
"860dbe8cf83334f9e3c0"
,
10
:
"a2aa031ae677b8acbf17"
,
11
:
"e34a64dea1b7a059dcfd"
,
12
:
"bdcf26a1bcccf7e0239b"
,
13
:
"6c87f5cefdf77374932d"
,
14
:
"8a2d85b6cc3b95b868d9"
,
15
:
"b9ac3428fbf05e58374e"
,
16
:
"c4ebe5ae46670e5c0754"
,
17
:
"43a28ed857836d70649f"
,
18
:
"ca2eb072a4ce38f9e487"
,
19
:
"7971a9a5d92fefa82083"
,
20
:
"75e0997b94e5d6294ec8"
,
21
:
"58c0c6a374fc0ec6158e"
,
22
:
"047f5bba500bca0d62fe"
,
23
:
"9efbbc6dd315a676ce09"
,
24
:
"4637a4566383d6e864cf"
,
25
:
"4f9db49437ea94436d03"
,
26
:
"b549610764e2236c48ce"
,
27
:
"acda88d3c2aa77c9f51c"
,
28
:
"0635cfc88ef2b2920961"
,
29
:
"cee3a5494960c70238fb"
,
30
:
"c6439b279653a45ce256"
,
31
:
"8baa6bca929d1c9a38f6"
,
32
:
"836f4d0e323c721473e9"
,
33
:
"7b62b2ff369669fe322c"
,
34
:
"f9d53c31059aaff9b360"
,
35
:
"c75699cc6fe47597f200"
,
36
:
"61a1c2681f78e1fd7e80"
,
37
:
"689fab1090c35b38ed8e"
,
38
:
"401ecfbced781ca109ff"
,
39
:
"45d0c177c91108351c01"
,
40
:
"18605687ea6ee1539453"
,
41
:
"78d64ae1581e8ea232cc"
,
42
:
"61ae052e4f4fc3284000"
,
43
:
"9d05f4d2f06b9c6bba0e"
,
44
:
"96d0b6e88fc87f60bac7"
,
45
:
"59087ce06e533b1bd959"
,
46
:
"319059c73e318e00633c"
,
47
:
"ad1d3e7f3e13e438bcbf"
,
48
:
"ef7f29a451f2754469b0"
,
49
:
"3efdd0d9701067fdc2be"
,
50
:
"e5949157657b1cebdc40"
,
51
:
"3af7210dfb262608914c"
,
52
:
"172810668e9fdae29993"
,
53
:
"0f46974fb11fd2925928"
,
54
:
"12a5dc7743303d2d2e10"
,
55
:
"5af32707cdbeae957afc"
,
56
:
"98caf4e5ee697f98808f"
,
57
:
"a572a9ffb3ed29596ba0"
,
58
:
"88114ae6c2e3c68d65da"
,
59
:
"808f888c43092f5783e0"
,
60
:
"aeab9555497ec6593f72"
,
61
:
"2f37d96bc91f0a637cad"
,
62
:
"59294e07de6b496244cf"
,
63
:
"6077852270b0c59eff8a"
,
64
:
"071bad1248843a633c76"
,
65
:
"f4f7e3f4ecb0250e9119"
,
66
:
"d8e2dce37c7df6e611a6"
,
67
:
"dd430b5802c68f5ac5d2"
,
68
:
"ba49712f562eff6edbc3"
,
69
:
"6262c1a9179f86d6e8cc"
,
70
:
"d5759f121e5783b4c558"
,
71
:
"95b66215f468ac6aa391"
,
72
:
"b9aea07ebd1f712eee71"
,
73
:
"820fe71d89d973ff8cf7"
,
74
:
"a9dae9c87c825ba65aa1"
,
75
:
"29e0d3d537fd9fa5eabc"
,
76
:
"5d50222646fc31640f30"
,
77
:
"9f7ea81c191a5e1bbaa2"
,
78
:
"51dbc832d510b2a1c0a3"
,
81
:
"be325ddaae712f760e1a"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
c
=
f
[
e
];
0
!==
c
&&
(
c
&&
c
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
f
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
b
.
appendChild
(
n
),
a
},
d
.
m
=
e
,
d
.
c
=
a
,
d
.
d
=
function
(
e
,
c
,
a
){
d
.
o
(
e
,
c
)
||
Object
.
defineProperty
(
e
,
c
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
a
})},
d
.
n
=
function
(
e
){
var
c
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
d
.
d
(
c
,
"a"
,
c
),
c
},
d
.
o
=
function
(
e
,
c
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
c
)},
d
.
p
=
"./"
,
d
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
!
function
(
e
){
var
c
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
a
,
b
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
a
.
length
;
i
++
)
t
=
a
[
i
],
f
[
t
]
&&
u
.
push
(
f
[
t
][
0
]),
f
[
t
]
=
0
;
for
(
r
in
b
)
Object
.
prototype
.
hasOwnProperty
.
call
(
b
,
r
)
&&
(
e
[
r
]
=
b
[
r
]);
for
(
c
&&
c
(
a
,
b
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
d
(
d
.
s
=
n
[
i
]);
return
o
};
var
a
=
{},
f
=
{
82
:
0
};
function
d
(
c
){
if
(
a
[
c
])
return
a
[
c
].
exports
;
var
f
=
a
[
c
]
=
{
i
:
c
,
l
:
!
1
,
exports
:{}};
return
e
[
c
].
call
(
f
.
exports
,
f
,
f
.
exports
,
d
),
f
.
l
=!
0
,
f
.
exports
}
d
.
e
=
function
(
e
){
var
c
=
f
[
e
];
if
(
0
===
c
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
c
)
return
c
[
2
];
var
a
=
new
Promise
(
function
(
a
,
d
){
c
=
f
[
e
]
=
[
a
,
d
]});
c
[
2
]
=
a
;
var
b
=
document
.
getElementsByTagName
(
"head"
)[
0
],
n
=
document
.
createElement
(
"script"
);
n
.
type
=
"text/javascript"
,
n
.
charset
=
"utf-8"
,
n
.
async
=!
0
,
n
.
timeout
=
12
e4
,
d
.
nc
&&
n
.
setAttribute
(
"nonce"
,
d
.
nc
),
n
.
src
=
d
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"df2ab3013f7273b6480b"
,
1
:
"0ebe3ead93207dc78a78"
,
2
:
"d3c62c00c91d9891f916"
,
3
:
"a43577b9e52a5719a124"
,
4
:
"82103d2b04b685deeb5c"
,
5
:
"068dd45272e96178979f"
,
6
:
"465489570e6deff515b7"
,
7
:
"8f462a353a2ce9c0c116"
,
8
:
"e5372980f04518fa84ec"
,
9
:
"860dbe8cf83334f9e3c0"
,
10
:
"a2aa031ae677b8acbf17"
,
11
:
"e34a64dea1b7a059dcfd"
,
12
:
"bdcf26a1bcccf7e0239b"
,
13
:
"6c87f5cefdf77374932d"
,
14
:
"8a2d85b6cc3b95b868d9"
,
15
:
"b9ac3428fbf05e58374e"
,
16
:
"c4ebe5ae46670e5c0754"
,
17
:
"43a28ed857836d70649f"
,
18
:
"ca2eb072a4ce38f9e487"
,
19
:
"7971a9a5d92fefa82083"
,
20
:
"75e0997b94e5d6294ec8"
,
21
:
"58c0c6a374fc0ec6158e"
,
22
:
"047f5bba500bca0d62fe"
,
23
:
"9efbbc6dd315a676ce09"
,
24
:
"4637a4566383d6e864cf"
,
25
:
"4f9db49437ea94436d03"
,
26
:
"b549610764e2236c48ce"
,
27
:
"acda88d3c2aa77c9f51c"
,
28
:
"0635cfc88ef2b2920961"
,
29
:
"cee3a5494960c70238fb"
,
30
:
"c6439b279653a45ce256"
,
31
:
"8baa6bca929d1c9a38f6"
,
32
:
"836f4d0e323c721473e9"
,
33
:
"2ef1755b61c325fa49a1"
,
34
:
"3a93f5c5580364269de2"
,
35
:
"32cae9a3f9ba6b187945"
,
36
:
"d31850464ea8bdf6593f"
,
37
:
"8016d3ac07df8acaf73d"
,
38
:
"401ecfbced781ca109ff"
,
39
:
"45d0c177c91108351c01"
,
40
:
"18605687ea6ee1539453"
,
41
:
"78d64ae1581e8ea232cc"
,
42
:
"61ae052e4f4fc3284000"
,
43
:
"9d05f4d2f06b9c6bba0e"
,
44
:
"96d0b6e88fc87f60bac7"
,
45
:
"0fe24e1d16072c526787"
,
46
:
"d3a9c6eba924ac8207b3"
,
47
:
"8be44c2f45c0fa3f2798"
,
48
:
"ef7f29a451f2754469b0"
,
49
:
"3efdd0d9701067fdc2be"
,
50
:
"e5949157657b1cebdc40"
,
51
:
"3af7210dfb262608914c"
,
52
:
"172810668e9fdae29993"
,
53
:
"0f46974fb11fd2925928"
,
54
:
"12a5dc7743303d2d2e10"
,
55
:
"5af32707cdbeae957afc"
,
56
:
"98caf4e5ee697f98808f"
,
57
:
"a572a9ffb3ed29596ba0"
,
58
:
"88114ae6c2e3c68d65da"
,
59
:
"808f888c43092f5783e0"
,
60
:
"aeab9555497ec6593f72"
,
61
:
"2f37d96bc91f0a637cad"
,
62
:
"59294e07de6b496244cf"
,
63
:
"6077852270b0c59eff8a"
,
64
:
"071bad1248843a633c76"
,
65
:
"f4f7e3f4ecb0250e9119"
,
66
:
"d8e2dce37c7df6e611a6"
,
67
:
"dd430b5802c68f5ac5d2"
,
68
:
"ba49712f562eff6edbc3"
,
69
:
"6262c1a9179f86d6e8cc"
,
70
:
"d5759f121e5783b4c558"
,
71
:
"95b66215f468ac6aa391"
,
72
:
"b9aea07ebd1f712eee71"
,
73
:
"820fe71d89d973ff8cf7"
,
74
:
"a9dae9c87c825ba65aa1"
,
75
:
"29e0d3d537fd9fa5eabc"
,
76
:
"5d50222646fc31640f30"
,
77
:
"9f7ea81c191a5e1bbaa2"
,
78
:
"51dbc832d510b2a1c0a3"
,
81
:
"be325ddaae712f760e1a"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
c
=
f
[
e
];
0
!==
c
&&
(
c
&&
c
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
f
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
b
.
appendChild
(
n
),
a
},
d
.
m
=
e
,
d
.
c
=
a
,
d
.
d
=
function
(
e
,
c
,
a
){
d
.
o
(
e
,
c
)
||
Object
.
defineProperty
(
e
,
c
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
a
})},
d
.
n
=
function
(
e
){
var
c
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
d
.
d
(
c
,
"a"
,
c
),
c
},
d
.
o
=
function
(
e
,
c
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
c
)},
d
.
p
=
"./"
,
d
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
src/views/setting/replaceAdmin.vue
View file @
26eaaffa
...
...
@@ -15,7 +15,7 @@
</el-form-item>
<el-form-item
label=
"手机号"
prop=
"phone"
class=
""
>
<!--
<el-input
v-model=
"ruleForm.phone"
disabled
placeholder=
""
class=
"w-280"
></el-input><el-button
class=
"m-l-20 v-align-b"
type=
"primary"
plain
:disabled=
"disableBtn"
@
click=
"sendCode(ruleForm.phone)"
>
{{
!
disableBtn
&&
!!
countNum
?
'获取验证码'
:
countNum
+
's'
}}
</el-button>
-->
<countryMobile
:inputWidth=
"280"
:nationCode
.
sync=
"ruleForm.nationcode"
v-model=
"ruleForm.phone"
:holder=
"''"
disflag=
"true"
>
</countryMobile><el-button
class=
"m-l-20 v-align-b"
type=
"primary"
plain
:disabled=
"disableBtn"
@
click=
"sendCode(ruleForm.phone)"
>
{{
!
disableBtn
&&
!!
countNum
?
'获取验证码'
:
countNum
+
's'
}}
</el-button>
<countryMobile
:inputWidth=
"280"
:nationCode
.
sync=
"ruleForm.nationcode"
v-model=
"ruleForm.phone"
:holder=
"''"
disflag=
"true"
>
</countryMobile><el-button
class=
"m-l-20 v-align-b"
type=
"primary"
plain
:disabled=
"disableBtn"
@
click=
"sendCode(ruleForm.phone)"
>
{{
(
disableBtn
&&
countNum
==
60
)
||
(
!
disableBtn
&&
!!
countNum
)
?
'获取验证码'
:
countNum
+
's'
}}
</el-button>
</el-form-item>
<el-form-item
label=
"验证码"
prop=
"code"
class=
""
>
<el-input
v-model=
"ruleForm.code"
placeholder=
"请输入验证码"
class=
"w-280"
></el-input>
...
...
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