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
65f403f8
Commit
65f403f8
authored
May 09, 2019
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改首页
parent
7af2c2f3
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
40 additions
and
34 deletions
+40
-34
index.html
dist/index.html
+2
-2
app.310b600e544d33e1db085def8803b1f1.css
dist/static/css/app.310b600e544d33e1db085def8803b1f1.css
+0
-0
19.1b6d2763b40278908ad1.js
dist/static/js/19.1b6d2763b40278908ad1.js
+2
-2
26.2c0979f3bd7ee7896b97.js
dist/static/js/26.2c0979f3bd7ee7896b97.js
+0
-2
26.40226508ead49adcb14f.js
dist/static/js/26.40226508ead49adcb14f.js
+2
-0
manifest.e423f90dee3c4c4e2099.js
dist/static/js/manifest.e423f90dee3c4c4e2099.js
+2
-2
index.vue
src/views/index/index.vue
+26
-25
storePermission.vue
src/views/setting/storePermission.vue
+6
-1
No files found.
dist/index.html
View file @
65f403f8
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><link
rel=
"shortcut icon"
href=
./favicon.ico
><title>
好办管理平台
</title><link
href=
./static/css/app.1c704a24aff073c1f1faf69159d564ba.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.1a6cbd44700f452113a1.js
></script><script
type=
text/javascript
src=
./static/js/vendor.28541dbeac66c2b0770e.js
></script><script
type=
text/javascript
src=
./static/js/app.317d7d2afb14508c95df.js
></script></body></html>
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><link
rel=
"shortcut icon"
href=
./favicon.ico
><title>
好办管理平台
</title><link
href=
./static/css/app.310b600e544d33e1db085def8803b1f1.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.e423f90dee3c4c4e2099.js
></script><script
type=
text/javascript
src=
./static/js/vendor.28541dbeac66c2b0770e.js
></script><script
type=
text/javascript
src=
./static/js/app.317d7d2afb14508c95df.js
></script></body></html>
\ No newline at end of file
\ No newline at end of file
dist/static/css/app.
1c704a24aff073c1f1faf69159d564ba
.css
→
dist/static/css/app.
310b600e544d33e1db085def8803b1f1
.css
View file @
65f403f8
This source diff could not be displayed because it is too large. You can
view the blob
instead.
dist/static/js/19.
fb9febd9f5dfcffd09ca
.js
→
dist/static/js/19.
1b6d2763b40278908ad1
.js
View file @
65f403f8
webpackJsonp
([
19
],{
Xwfy
:
function
(
e
,
t
,
r
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
r
(
"woOf"
),
s
=
r
.
n
(
a
),
l
=
r
(
"mvHQ"
),
i
=
r
.
n
(
l
),
o
=
r
(
"gBtx"
),
n
=
r
.
n
(
o
),
c
=
r
(
"3Xzz"
),
d
=
r
(
"fZjL"
),
u
=
r
.
n
(
d
),
h
=
{
name
:
"set-permiss-data"
,
components
:{},
props
:{
value
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
[]}},
title
:{
type
:
String
}},
data
:
function
(){
return
{
defaultSelection
:
this
.
value
||
[]}},
methods
:{
delCurrent
:
function
(
e
,
t
){
t
.
splice
(
e
,
1
)},
updateList
:
function
(
e
){
this
.
$emit
(
"input"
,
e
)},
handleSelectedList
:
function
(
e
){},
showSelector
:
function
(){
this
.
$emit
(
"showSelect"
)}},
watch
:{
value
:
function
(
e
,
t
){
this
.
defaultSelection
=
e
}},
mounted
:
function
(){
this
.
defaultSelection
=
this
.
value
}},
m
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
r
=
e
.
_self
.
_c
||
t
;
return
r
(
"div"
,{
staticClass
:
"select-area"
},[
r
(
"div"
,{
staticClass
:
"setting-name"
,
staticStyle
:{
"font-size"
:
"14px"
,
color
:
"#606266"
}},[
e
.
_v
(
"
\
n "
+
e
.
_s
(
e
.
title
)
+
"
\
n "
)]),
e
.
_v
(
" "
),
r
(
"ul"
,{
staticClass
:
"particular-list"
},[
e
.
_l
(
e
.
defaultSelection
,
function
(
t
,
a
){
return
[
1
==
t
.
type
?
r
(
"li"
,{
key
:
a
+
"_"
+
t
.
employeeClerkId
,
staticClass
:
"item person-item"
},[
r
(
"div"
,{
class
:[
"img-wrap"
,
"flex"
,
"flex-align-center"
,
"flex-pack-center"
,
t
.
headPic
?
""
:
"img-wrap-bg"
]},[
t
.
headPic
?
r
(
"img"
,{
attrs
:{
src
:
t
.
headPic
,
alt
:
"headPic"
}}):
r
(
"i"
,{
staticClass
:
"iconfont icon-yewuduanmorentouxian"
}),
e
.
_v
(
" "
),
r
(
"i"
,{
staticClass
:
"el-icon-circle-close"
,
on
:{
click
:
function
(
t
){
e
.
delCurrent
(
a
,
e
.
defaultSelection
)}}})]),
e
.
_v
(
" "
),
r
(
"p"
,{
staticClass
:
"name"
},[
e
.
_v
(
e
.
_s
(
t
.
name
||
t
.
label
))])]):
e
.
_e
(),
e
.
_v
(
" "
),
2
==
t
.
type
||
3
==
t
.
type
?
r
(
"li"
,{
key
:
a
+
"_"
+
t
.
groupId
,
staticClass
:
"item group-item"
},[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
name
||
t
.
label
)
+
"
\
n "
),
r
(
"i"
,{
staticClass
:
"el-icon-circle-close"
,
on
:{
click
:
function
(
t
){
e
.
delCurrent
(
a
,
e
.
defaultSelection
)}}})]):
e
.
_e
()]}),
e
.
_v
(
" "
),
r
(
"li"
,{
staticClass
:
"item J_add-btn flex flex-align-center flex-pack-center"
,
on
:{
click
:
e
.
showSelector
}},[
r
(
"i"
,{
staticClass
:
"el-icon-plus"
})])],
2
)])},
staticRenderFns
:[]};
var
p
=
r
(
"VU/8"
)(
h
,
m
,
!
1
,
function
(
e
){
r
(
"gvjp"
)},
null
,
null
).
exports
,
f
=
r
(
"c4uw"
),
v
=
r
(
"Ie7z"
),
b
=
r
(
"3E4D"
),
S
=
r
(
"Ch4/"
),
g
=
r
(
"PI0u"
),
C
=
r
(
"P9l9"
),
w
=
{
name
:
""
,
props
:{
authData
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
{}}},
permType
:{
type
:[
Number
,
String
]}},
data
:
function
(){
return
{
projectName
:
""
,
ruleForm
:{
radio
:
1
,
visibleAll
:[],
visibleStoreAll
:[]},
treeSet
:{
isSelectPerson
:
!
0
,
dialogVisible
:
!
1
,
isSingle
:
!
1
},
treeData
:{},
defaultSelection
:[],
onlyPerson
:
!
1
,
changed
:
""
,
defaultStoreList
:[],
storeTreeSet
:{
isSelectPerson
:
!
1
,
dialogVisible
:
!
1
,
isSingle
:
!
1
}}},
beforeMount
:
function
(){
var
e
=
window
.
location
.
origin
;
"-1"
!=
e
.
indexOf
(
"localhost"
)?
this
.
baseUrl
=
"http://www.gicdev.com"
:
this
.
baseUrl
=
e
},
methods
:{
changeRadio
:
function
(
e
){
this
.
ruleForm
.
visibleAll
=
[],
this
.
ruleForm
.
visibleStoreAll
=
[]},
submitForm
:
Object
(
g
.
a
)(
function
(
e
){
var
t
=
this
;
t
.
$refs
[
e
].
validate
(
function
(
e
){
if
(
!
e
)
return
!
1
;
var
r
=
{
allowCherkIds
:[],
allowDepartIds
:[],
allowStoreIds
:[],
brandId
:
t
.
ruleForm
.
brandId
,
groupId
:
t
.
ruleForm
.
groupId
,
radio
:
t
.
ruleForm
.
radio
};
3
!=
t
.
ruleForm
.
radio
||
t
.
ruleForm
.
visibleAll
.
length
||
t
.
ruleForm
.
visibleStoreAll
.
length
?(
3
==
t
.
ruleForm
.
radio
&&
(
t
.
ruleForm
.
visibleAll
.
forEach
(
function
(
e
,
t
){
e
.
hasOwnProperty
(
"employeeClerkId"
)?
r
.
allowCherkIds
.
push
(
e
.
employeeClerkId
):
e
.
hasOwnProperty
(
"groupId"
)?
r
.
allowDepartIds
.
push
(
e
.
groupId
):
1
===
n
()(
e
.
type
)?
r
.
allowCherkIds
.
push
(
e
.
id
):
2
===
n
()(
e
.
type
)
&&
r
.
allowDepartIds
.
push
(
e
.
id
)}),
t
.
ruleForm
.
visibleStoreAll
.
forEach
(
function
(
e
,
t
){
e
.
hasOwnProperty
(
"employeeClerkId"
)?
r
.
allowCherkIds
.
push
(
e
.
employeeClerkId
):
e
.
hasOwnProperty
(
"groupId"
)?
r
.
allowDepartIds
.
push
(
e
.
groupId
):
e
.
hasOwnProperty
(
"storeId"
)?
r
.
allowStoreIds
.
push
(
e
.
storeId
):
1
===
n
()(
e
.
type
)?
r
.
allowCherkIds
.
push
(
e
.
id
):
2
===
n
()(
e
.
type
)?
r
.
allowDepartIds
.
push
(
e
.
id
):
3
===
n
()(
e
.
type
)
&&
r
.
allowStoreIds
.
push
(
e
.
id
)})),
t
.
setStoreAuth
(
r
,
t
.
permType
)):
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请选择指定部门/人员"
})})},
500
),
setStoreAuth
:
function
(
e
,
t
){
var
r
=
this
,
a
=
{
type
:
t
,
brandId
:
e
.
brandId
,
groupId
:
e
.
groupId
,
storeEmployeeAuth
:
e
.
radio
,
storeManagerAuth
:
e
.
radio
,
allowCherkIds
:
e
.
allowCherkIds
.
join
(
","
),
allowDepartIds
:
e
.
allowDepartIds
.
join
(
","
),
allowStoreIds
:
e
.
allowStoreIds
.
join
(
","
)};
Object
(
C
.
c
)(
"/haoban-manage-web/brand/saveStoreAuth"
,
a
).
then
(
function
(
e
){
var
t
=
e
.
data
;
1
!=
t
.
errorCode
?
S
.
a
.
errorMsg
(
t
):
b
.
a
.
showmsg
(
"保存成功"
,
"success"
)}).
catch
(
function
(
e
){
r
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
handleAuthData
:
function
(
e
){
var
t
=
this
;
u
()(
e
).
length
&&
(
t
.
ruleForm
.
brandId
=
e
.
brandId
,
t
.
ruleForm
.
groupId
=
e
.
groupId
,
1
===
n
()(
t
.
permType
)
&&
(
t
.
ruleForm
.
radio
=
e
.
brandDTO
.
storeEmployeeAuth
||
1
,
e
.
employeeAuthList
.
length
&&
e
.
employeeAuthList
.
forEach
(
function
(
e
,
t
){
2
===
n
()(
e
.
type
)
&&
(
e
.
groupId
=
e
.
id
),
e
.
label
=
e
.
name
}),
t
.
ruleForm
.
visibleAll
=
[],
t
.
ruleForm
.
visibleStoreAll
=
[],
e
.
employeeAuthList
.
forEach
(
function
(
e
,
r
){
e
.
isStore
?
t
.
ruleForm
.
visibleStoreAll
.
push
(
e
):
t
.
ruleForm
.
visibleAll
.
push
(
e
)}),
t
.
defaultSelection
=
t
.
ruleForm
.
visibleAll
,
t
.
defaultStoreList
=
t
.
ruleForm
.
visibleStoreAll
),
2
===
n
()(
t
.
permType
)
&&
(
t
.
ruleForm
.
radio
=
e
.
brandDTO
.
storeManagerAuth
||
1
,
e
.
managerAuthList
.
length
&&
e
.
managerAuthList
.
forEach
(
function
(
e
,
t
){
2
===
n
()(
e
.
type
)
&&
(
e
.
groupId
=
e
.
id
),
e
.
label
=
e
.
name
}),
t
.
ruleForm
.
visibleAll
=
[],
t
.
ruleForm
.
visibleStoreAll
=
[],
e
.
managerAuthList
.
forEach
(
function
(
e
,
r
){
e
.
isStore
?
t
.
ruleForm
.
visibleStoreAll
.
push
(
e
):
t
.
ruleForm
.
visibleAll
.
push
(
e
)}),
t
.
defaultSelection
=
t
.
ruleForm
.
visibleAll
,
t
.
defaultStoreList
=
t
.
ruleForm
.
visibleStoreAll
))},
showSelect
:
function
(
e
){
if
(
"store"
===
e
)
return
this
.
defaultStoreList
=
this
.
ruleForm
.
visibleStoreAll
,
void
(
this
.
storeTreeSet
=
{
dialogVisible
:
!
0
,
isSingle
:
!
1
,
isSelectPerson
:
!
0
});
this
.
treeSet
=
{
dialogVisible
:
!
0
,
isSingle
:
!
1
,
isSelectPerson
:
!
0
},
this
.
defaultSelection
=
this
.
ruleForm
.
visibleAll
},
handleSelectedList
:
function
(
e
){
this
.
defaultSelection
=
e
,
this
.
ruleForm
.
visibleAll
=
e
},
handleSelectedStoreList
:
function
(
e
){
this
.
defaultStoreList
=
e
,
this
.
ruleForm
.
visibleStoreAll
=
e
},
getDepartData
:
function
(
e
){
var
t
=
this
;
Object
(
C
.
c
)(
"/haoban-manage-web/dept/deptListForCompany"
,{}).
then
(
function
(
e
){
var
r
=
e
.
data
;
if
(
1
!=
r
.
errorCode
)
S
.
a
.
errorMsg
(
r
);
else
if
(
r
.
result
){
var
a
=
[],
s
=
[];
1
==
e
.
data
.
errorCode
&&
(
a
=
e
.
data
.
result
.
departmentList
||
[],
s
=
e
.
data
.
result
.
searchList
||
[]),
t
.
treeData
=
{
treeData
:
a
,
personData
:
s
},
t
.
$forceUpdate
()}
else
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
"暂无数据"
})}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
authData
:
function
(
e
,
t
){
this
.
handleAuthData
(
e
)}},
mounted
:
function
(){
this
.
handleAuthData
(
this
.
authData
),
this
.
getDepartData
()},
components
:{
setPermissData
:
p
,
vueSelectEmployee
:
f
.
a
,
vueSelectStore
:
v
.
a
}},
k
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
r
=
e
.
_self
.
_c
||
t
;
return
r
(
"div"
,{
staticClass
:
"permiss-wrap"
},[
r
(
"el-form"
,{
ref
:
"ruleForm"
,
attrs
:{
"label-width"
:
"110px"
,
model
:
e
.
ruleForm
}},[
r
(
"el-radio-group"
,{
on
:{
change
:
e
.
changeRadio
},
model
:{
value
:
e
.
ruleForm
.
radio
,
callback
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"radio"
,
t
)},
expression
:
"ruleForm.radio"
}},[
r
(
"el-form-item"
,{
attrs
:{
label
:
1
==
e
.
permType
?
"店员可见权限"
:
"店长可见权限"
}},[
r
(
"el-radio"
,{
attrs
:{
label
:
1
}},[
e
.
_v
(
"可见所有品牌门店架构和行政架构"
)])],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
" "
}},[
r
(
"el-radio"
,{
attrs
:{
label
:
2
}},[
e
.
_v
(
"门店仅可见自己门店"
)])],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
" "
}},[
r
(
"el-radio"
,{
attrs
:{
label
:
3
}},[
e
.
_v
(
"自定义可见权限"
)])],
1
),
e
.
_v
(
" "
),
3
==
e
.
ruleForm
.
radio
?
r
(
"div"
,{
staticClass
:
"permiss-child-cell"
},[
r
(
"setPermissData"
,{
attrs
:{
title
:
"允许行政架构可见"
},
on
:{
showSelect
:
function
(
t
){
e
.
showSelect
(
"depart"
)}},
model
:{
value
:
e
.
ruleForm
.
visibleAll
,
callback
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"visibleAll"
,
t
)},
expression
:
"ruleForm.visibleAll"
}}),
e
.
_v
(
" "
),
r
(
"setPermissData"
,{
attrs
:{
title
:
"允许门店架构可见"
},
on
:{
showSelect
:
function
(
t
){
e
.
showSelect
(
"store"
)}},
model
:{
value
:
e
.
ruleForm
.
visibleStoreAll
,
callback
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"visibleStoreAll"
,
t
)},
expression
:
"ruleForm.visibleStoreAll"
}})],
1
):
e
.
_e
()],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,[
r
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
submitForm
(
"ruleForm"
)}}},[
e
.
_v
(
"保 存"
)])],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"vue-select-employee"
,{
attrs
:{
defaultSelection
:
e
.
defaultSelection
,
treeSet
:
e
.
treeSet
,
onlyPerson
:
e
.
onlyPerson
,
changed
:
e
.
changed
},
on
:{
handleSelectedList
:
e
.
handleSelectedList
}}),
e
.
_v
(
" "
),
r
(
"vue-select-store"
,{
ref
:
"storeSelector"
,
attrs
:{
treeSet
:
e
.
storeTreeSet
,
selectType
:
"all"
,
defaultList
:
e
.
defaultStoreList
},
on
:{
handleSelectedList
:
e
.
handleSelectedStoreList
}})],
1
)},
staticRenderFns
:[]};
var
I
=
r
(
"VU/8"
)(
w
,
k
,
!
1
,
function
(
e
){
r
(
"fwGf"
)},
"data-v-1f47576e"
,
null
).
exports
,
y
=
{
name
:
"storePermission"
,
data
:
function
(){
return
{
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"设置"
,
path
:
"/companyAddress"
},{
name
:
"通讯录信息"
,
path
:
"/staffDetails"
},{
name
:
"门店权限设置"
,
path
:
""
}],
activeName
:
""
,
brandList
:[],
switchList
:{
addName
:
"新增门店成员"
,
addStoreClerkCheck
:
!
1
,
delName
:
"删除门店成员"
,
deleteStoreClerkCheck
:
!
1
,
modName
:
"门店信息变更"
,
storeInformationChangeCheck
:
!
1
}}},
computed
:{},
methods
:{
handleClick
:
function
(
e
,
t
){
this
.
getStoreAuth
(
e
.
name
,
n
()(
e
.
index
)),
this
.
activeName
=
e
.
name
},
saveSwitch
:
Object
(
g
.
a
)(
function
(){
var
e
=
JSON
.
parse
(
i
()(
this
.
switchList
));
e
.
addStoreClerkCheck
=
1
==
e
.
addStoreClerkCheck
?
1
:
0
,
e
.
deleteStoreClerkCheck
=
1
==
e
.
deleteStoreClerkCheck
?
1
:
0
,
e
.
storeInformationChangeCheck
=
1
==
e
.
storeInformationChangeCheck
?
1
:
0
,
this
.
setStoreAuth
(
e
)},
600
),
setStoreAuth
:
function
(
e
){
var
t
=
this
,
r
=
{
brandId
:
e
.
brandId
,
groupId
:
t
.
activeName
,
addStoreClerkCheck
:
e
.
addStoreClerkCheck
,
deleteStoreClerkCheck
:
e
.
deleteStoreClerkCheck
,
storeInformationChangeCheck
:
e
.
storeInformationChangeCheck
};
Object
(
C
.
c
)(
"/haoban-manage-web/brand/saveStoreAuth"
,
r
).
then
(
function
(
e
){
var
t
=
e
.
data
;
1
!=
t
.
errorCode
?
S
.
a
.
errorMsg
(
t
):
b
.
a
.
showmsg
(
"保存成功"
,
"success"
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getStoreAuth
:
function
(
e
,
t
){
var
r
=
this
,
a
=
{
groupId
:
e
};
Object
(
C
.
c
)(
"/haoban-manage-web/brand/storeAuth"
,
a
).
then
(
function
(
e
){
var
t
=
e
.
data
;
if
(
1
!=
t
.
errorCode
)
S
.
a
.
errorMsg
(
t
);
else
if
(
t
.
result
){
r
.
brandList
.
clerkData
=
t
.
result
,
r
.
brandList
.
managerData
=
t
.
result
;
var
a
=
t
.
result
.
brandDTO
;
a
.
addStoreClerkCheck
=
1
==
a
.
addStoreClerkCheck
,
a
.
deleteStoreClerkCheck
=
1
==
a
.
deleteStoreClerkCheck
,
a
.
storeInformationChangeCheck
=
1
==
a
.
storeInformationChangeCheck
,
r
.
switchList
=
s
()(
r
.
switchList
,
a
),
r
.
$forceUpdate
()}}).
catch
(
function
(
e
){
r
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getBrandData
:
function
(){
var
e
=
this
;
Object
(
C
.
c
)(
"/haoban-manage-web/brand/list"
,{}).
then
(
function
(
t
){
var
r
=
t
.
data
;
1
!=
r
.
errorCode
?
S
.
a
.
errorMsg
(
r
):
r
.
result
&&
r
.
result
.
length
&&
(
e
.
brandList
=
r
.
result
,
e
.
activeName
=
r
.
result
[
0
].
groupId
,
e
.
getStoreAuth
(
r
.
result
[
0
].
groupId
,
0
))}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
mounted
:
function
(){
this
.
getBrandData
()},
components
:{
navCrumb
:
c
.
a
,
setPermiss
:
I
}},
A
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
r
=
e
.
_self
.
_c
||
t
;
return
r
(
"div"
,{
staticClass
:
"storePermission-wrap common-set-wrap"
},[
r
(
"nav-crumb"
,{
attrs
:{
navpath
:
e
.
navpath
}}),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"right-content"
},[
r
(
"div"
,{
staticClass
:
"right-box"
,
staticStyle
:{
background
:
"unset"
,
padding
:
"0"
}},[
r
(
"el-tabs"
,{
on
:{
"tab-click"
:
e
.
handleClick
},
model
:{
value
:
e
.
activeName
,
callback
:
function
(
t
){
e
.
activeName
=
t
},
expression
:
"activeName"
}},[
e
.
_l
(
e
.
brandList
,
function
(
e
,
t
){
return
[
r
(
"el-tab-pane"
,{
key
:
"name"
+
t
,
attrs
:{
label
:
e
.
name
,
name
:
e
.
groupId
}})]})],
2
),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"storePermission-title font-w-500"
},[
e
.
_v
(
"
\
n 门店成员通讯录可见权限
\
n "
)]),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"bg-fff permiss-contain"
},[
r
(
"set-permiss"
,{
attrs
:{
permType
:
1
,
authData
:
e
.
brandList
.
clerkData
}}),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"b-l"
}),
e
.
_v
(
" "
),
r
(
"set-permiss"
,{
attrs
:{
permType
:
2
,
authData
:
e
.
brandList
.
managerData
}})],
1
),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"storePermission-wrap-switch m-t-24"
},[
r
(
"div"
,{
staticClass
:
"storePermission-switch-title font-w-500"
},[
e
.
_v
(
"
\
n 门店信息变更是否需要审核
\
n "
)]),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"storePermission-switch-body"
},[
r
(
"div"
,{
staticClass
:
"switch-cell"
},[
r
(
"el-switch"
,{
attrs
:{
"inactive-text"
:
e
.
switchList
.
addName
},
model
:{
value
:
e
.
switchList
.
addStoreClerkCheck
,
callback
:
function
(
t
){
e
.
$set
(
e
.
switchList
,
"addStoreClerkCheck"
,
t
)},
expression
:
"switchList.addStoreClerkCheck"
}})],
1
),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"switch-cell"
},[
r
(
"el-switch"
,{
attrs
:{
"inactive-text"
:
e
.
switchList
.
delName
},
model
:{
value
:
e
.
switchList
.
deleteStoreClerkCheck
,
callback
:
function
(
t
){
e
.
$set
(
e
.
switchList
,
"deleteStoreClerkCheck"
,
t
)},
expression
:
"switchList.deleteStoreClerkCheck"
}})],
1
),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"switch-cell p-l-94"
},[
r
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
saveSwitch
}},[
e
.
_v
(
"保 存"
)])],
1
)])])],
1
)]),
e
.
_v
(
" "
),
r
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[]};
var
F
=
r
(
"VU/8"
)(
y
,
A
,
!
1
,
function
(
e
){
r
(
"cJXF"
)},
"data-v-cab689be"
,
null
);
t
.
default
=
F
.
exports
},
cJXF
:
function
(
e
,
t
){},
fwGf
:
function
(
e
,
t
){},
gvjp
:
function
(
e
,
t
){}});
webpackJsonp
([
19
],{
Xwfy
:
function
(
e
,
t
,
r
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
r
(
"woOf"
),
s
=
r
.
n
(
a
),
l
=
r
(
"mvHQ"
),
i
=
r
.
n
(
l
),
o
=
r
(
"gBtx"
),
n
=
r
.
n
(
o
),
c
=
r
(
"3Xzz"
),
d
=
r
(
"fZjL"
),
u
=
r
.
n
(
d
),
h
=
{
name
:
"set-permiss-data"
,
components
:{},
props
:{
value
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
[]}},
title
:{
type
:
String
}},
data
:
function
(){
return
{
defaultSelection
:
this
.
value
||
[]}},
methods
:{
delCurrent
:
function
(
e
,
t
){
t
.
splice
(
e
,
1
)},
updateList
:
function
(
e
){
this
.
$emit
(
"input"
,
e
)},
handleSelectedList
:
function
(
e
){},
showSelector
:
function
(){
this
.
$emit
(
"showSelect"
)}},
watch
:{
value
:
function
(
e
,
t
){
this
.
defaultSelection
=
e
}},
mounted
:
function
(){
this
.
defaultSelection
=
this
.
value
}},
m
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
r
=
e
.
_self
.
_c
||
t
;
return
r
(
"div"
,{
staticClass
:
"select-area"
},[
r
(
"div"
,{
staticClass
:
"setting-name"
,
staticStyle
:{
"font-size"
:
"14px"
,
color
:
"#606266"
}},[
e
.
_v
(
"
\
n "
+
e
.
_s
(
e
.
title
)
+
"
\
n "
)]),
e
.
_v
(
" "
),
r
(
"ul"
,{
staticClass
:
"particular-list"
},[
e
.
_l
(
e
.
defaultSelection
,
function
(
t
,
a
){
return
[
1
==
t
.
type
?
r
(
"li"
,{
key
:
a
+
"_"
+
t
.
employeeClerkId
,
staticClass
:
"item person-item"
},[
r
(
"div"
,{
class
:[
"img-wrap"
,
"flex"
,
"flex-align-center"
,
"flex-pack-center"
,
t
.
headPic
?
""
:
"img-wrap-bg"
]},[
t
.
headPic
?
r
(
"img"
,{
attrs
:{
src
:
t
.
headPic
,
alt
:
"headPic"
}}):
r
(
"i"
,{
staticClass
:
"iconfont icon-yewuduanmorentouxian"
}),
e
.
_v
(
" "
),
r
(
"i"
,{
staticClass
:
"el-icon-circle-close"
,
on
:{
click
:
function
(
t
){
e
.
delCurrent
(
a
,
e
.
defaultSelection
)}}})]),
e
.
_v
(
" "
),
r
(
"p"
,{
staticClass
:
"name"
},[
e
.
_v
(
e
.
_s
(
t
.
name
||
t
.
label
))])]):
e
.
_e
(),
e
.
_v
(
" "
),
2
==
t
.
type
||
3
==
t
.
type
?
r
(
"li"
,{
key
:
a
+
"_"
+
t
.
groupId
,
staticClass
:
"item group-item"
},[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
name
||
t
.
label
)
+
"
\
n "
),
r
(
"i"
,{
staticClass
:
"el-icon-circle-close"
,
on
:{
click
:
function
(
t
){
e
.
delCurrent
(
a
,
e
.
defaultSelection
)}}})]):
e
.
_e
()]}),
e
.
_v
(
" "
),
r
(
"li"
,{
staticClass
:
"item J_add-btn flex flex-align-center flex-pack-center"
,
on
:{
click
:
e
.
showSelector
}},[
r
(
"i"
,{
staticClass
:
"el-icon-plus"
})])],
2
)])},
staticRenderFns
:[]};
var
p
=
r
(
"VU/8"
)(
h
,
m
,
!
1
,
function
(
e
){
r
(
"gvjp"
)},
null
,
null
).
exports
,
f
=
r
(
"c4uw"
),
v
=
r
(
"Ie7z"
),
b
=
r
(
"3E4D"
),
S
=
r
(
"Ch4/"
),
g
=
r
(
"PI0u"
),
C
=
r
(
"P9l9"
),
w
=
{
name
:
""
,
props
:{
authData
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
{}}},
permType
:{
type
:[
Number
,
String
]}},
data
:
function
(){
return
{
projectName
:
""
,
ruleForm
:{
radio
:
1
,
visibleAll
:[],
visibleStoreAll
:[]},
treeSet
:{
isSelectPerson
:
!
0
,
dialogVisible
:
!
1
,
isSingle
:
!
1
},
treeData
:{},
defaultSelection
:[],
onlyPerson
:
!
1
,
changed
:
""
,
defaultStoreList
:[],
storeTreeSet
:{
isSelectPerson
:
!
1
,
dialogVisible
:
!
1
,
isSingle
:
!
1
}}},
beforeMount
:
function
(){
var
e
=
window
.
location
.
origin
;
"-1"
!=
e
.
indexOf
(
"localhost"
)?
this
.
baseUrl
=
"http://www.gicdev.com"
:
this
.
baseUrl
=
e
},
methods
:{
changeRadio
:
function
(
e
){
this
.
ruleForm
.
visibleAll
=
[],
this
.
ruleForm
.
visibleStoreAll
=
[]},
submitForm
:
Object
(
g
.
a
)(
function
(
e
){
var
t
=
this
;
t
.
$refs
[
e
].
validate
(
function
(
e
){
if
(
!
e
)
return
!
1
;
var
r
=
{
allowCherkIds
:[],
allowDepartIds
:[],
allowStoreIds
:[],
brandId
:
t
.
ruleForm
.
brandId
,
groupId
:
t
.
ruleForm
.
groupId
,
radio
:
t
.
ruleForm
.
radio
};
3
!=
t
.
ruleForm
.
radio
||
t
.
ruleForm
.
visibleAll
.
length
||
t
.
ruleForm
.
visibleStoreAll
.
length
?(
3
==
t
.
ruleForm
.
radio
&&
(
t
.
ruleForm
.
visibleAll
.
forEach
(
function
(
e
,
t
){
e
.
hasOwnProperty
(
"employeeClerkId"
)?
r
.
allowCherkIds
.
push
(
e
.
employeeClerkId
):
e
.
hasOwnProperty
(
"groupId"
)?
r
.
allowDepartIds
.
push
(
e
.
groupId
):
1
===
n
()(
e
.
type
)?
r
.
allowCherkIds
.
push
(
e
.
id
):
2
===
n
()(
e
.
type
)
&&
r
.
allowDepartIds
.
push
(
e
.
id
)}),
t
.
ruleForm
.
visibleStoreAll
.
forEach
(
function
(
e
,
t
){
e
.
hasOwnProperty
(
"employeeClerkId"
)?
r
.
allowCherkIds
.
push
(
e
.
employeeClerkId
):
e
.
hasOwnProperty
(
"groupId"
)?
r
.
allowDepartIds
.
push
(
e
.
groupId
):
e
.
hasOwnProperty
(
"storeId"
)?
r
.
allowStoreIds
.
push
(
e
.
storeId
):
1
===
n
()(
e
.
type
)?
r
.
allowCherkIds
.
push
(
e
.
id
):
2
===
n
()(
e
.
type
)?
r
.
allowDepartIds
.
push
(
e
.
id
):
3
===
n
()(
e
.
type
)
&&
r
.
allowStoreIds
.
push
(
e
.
id
)})),
t
.
setStoreAuth
(
r
,
t
.
permType
)):
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请选择指定部门/人员"
})})},
500
),
setStoreAuth
:
function
(
e
,
t
){
var
r
=
this
,
a
=
{
type
:
t
,
brandId
:
e
.
brandId
,
groupId
:
e
.
groupId
,
storeEmployeeAuth
:
e
.
radio
,
storeManagerAuth
:
e
.
radio
,
allowCherkIds
:
e
.
allowCherkIds
.
join
(
","
),
allowDepartIds
:
e
.
allowDepartIds
.
join
(
","
),
allowStoreIds
:
e
.
allowStoreIds
.
join
(
","
)};
Object
(
C
.
c
)(
"/haoban-manage-web/brand/saveStoreAuth"
,
a
).
then
(
function
(
e
){
var
t
=
e
.
data
;
1
!=
t
.
errorCode
?
S
.
a
.
errorMsg
(
t
):
b
.
a
.
showmsg
(
"保存成功"
,
"success"
)}).
catch
(
function
(
e
){
r
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
handleAuthData
:
function
(
e
){
var
t
=
this
;
u
()(
e
).
length
&&
(
t
.
ruleForm
.
brandId
=
e
.
brandId
,
t
.
ruleForm
.
groupId
=
e
.
groupId
,
1
===
n
()(
t
.
permType
)
&&
(
t
.
ruleForm
.
radio
=
e
.
brandDTO
.
storeEmployeeAuth
||
1
,
e
.
employeeAuthList
.
length
&&
e
.
employeeAuthList
.
forEach
(
function
(
e
,
t
){
2
===
n
()(
e
.
type
)
&&
(
e
.
groupId
=
e
.
id
),
e
.
label
=
e
.
name
}),
t
.
ruleForm
.
visibleAll
=
[],
t
.
ruleForm
.
visibleStoreAll
=
[],
e
.
employeeAuthList
.
forEach
(
function
(
e
,
r
){
e
.
isStore
?
t
.
ruleForm
.
visibleStoreAll
.
push
(
e
):
t
.
ruleForm
.
visibleAll
.
push
(
e
)}),
t
.
defaultSelection
=
t
.
ruleForm
.
visibleAll
,
t
.
defaultStoreList
=
t
.
ruleForm
.
visibleStoreAll
),
2
===
n
()(
t
.
permType
)
&&
(
t
.
ruleForm
.
radio
=
e
.
brandDTO
.
storeManagerAuth
||
1
,
e
.
managerAuthList
.
length
&&
e
.
managerAuthList
.
forEach
(
function
(
e
,
t
){
2
===
n
()(
e
.
type
)
&&
(
e
.
groupId
=
e
.
id
),
e
.
label
=
e
.
name
}),
t
.
ruleForm
.
visibleAll
=
[],
t
.
ruleForm
.
visibleStoreAll
=
[],
e
.
managerAuthList
.
forEach
(
function
(
e
,
r
){
e
.
isStore
?
t
.
ruleForm
.
visibleStoreAll
.
push
(
e
):
t
.
ruleForm
.
visibleAll
.
push
(
e
)}),
t
.
defaultSelection
=
t
.
ruleForm
.
visibleAll
,
t
.
defaultStoreList
=
t
.
ruleForm
.
visibleStoreAll
))},
showSelect
:
function
(
e
){
if
(
"store"
===
e
)
return
this
.
defaultStoreList
=
this
.
ruleForm
.
visibleStoreAll
,
void
(
this
.
storeTreeSet
=
{
dialogVisible
:
!
0
,
isSingle
:
!
1
,
isSelectPerson
:
!
0
});
this
.
treeSet
=
{
dialogVisible
:
!
0
,
isSingle
:
!
1
,
isSelectPerson
:
!
0
},
this
.
defaultSelection
=
this
.
ruleForm
.
visibleAll
},
handleSelectedList
:
function
(
e
){
this
.
defaultSelection
=
e
,
this
.
ruleForm
.
visibleAll
=
e
},
handleSelectedStoreList
:
function
(
e
){
this
.
defaultStoreList
=
e
,
this
.
ruleForm
.
visibleStoreAll
=
e
},
getDepartData
:
function
(
e
){
var
t
=
this
;
Object
(
C
.
c
)(
"/haoban-manage-web/dept/deptListForCompany"
,{}).
then
(
function
(
e
){
var
r
=
e
.
data
;
if
(
1
!=
r
.
errorCode
)
S
.
a
.
errorMsg
(
r
);
else
if
(
r
.
result
){
var
a
=
[],
s
=
[];
1
==
e
.
data
.
errorCode
&&
(
a
=
e
.
data
.
result
.
departmentList
||
[],
s
=
e
.
data
.
result
.
searchList
||
[]),
t
.
treeData
=
{
treeData
:
a
,
personData
:
s
},
t
.
$forceUpdate
()}
else
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
"暂无数据"
})}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
authData
:
function
(
e
,
t
){
this
.
handleAuthData
(
e
)}},
mounted
:
function
(){
this
.
handleAuthData
(
this
.
authData
),
this
.
getDepartData
()},
components
:{
setPermissData
:
p
,
vueSelectEmployee
:
f
.
a
,
vueSelectStore
:
v
.
a
}},
k
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
r
=
e
.
_self
.
_c
||
t
;
return
r
(
"div"
,{
staticClass
:
"permiss-wrap"
},[
r
(
"el-form"
,{
ref
:
"ruleForm"
,
attrs
:{
"label-width"
:
"110px"
,
model
:
e
.
ruleForm
}},[
r
(
"el-radio-group"
,{
on
:{
change
:
e
.
changeRadio
},
model
:{
value
:
e
.
ruleForm
.
radio
,
callback
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"radio"
,
t
)},
expression
:
"ruleForm.radio"
}},[
r
(
"el-form-item"
,{
attrs
:{
label
:
1
==
e
.
permType
?
"店员可见权限"
:
"店长可见权限"
}},[
r
(
"el-radio"
,{
attrs
:{
label
:
1
}},[
e
.
_v
(
"可见所有品牌门店架构和行政架构"
)])],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
" "
}},[
r
(
"el-radio"
,{
attrs
:{
label
:
2
}},[
e
.
_v
(
"门店仅可见自己门店"
)])],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
" "
}},[
r
(
"el-radio"
,{
attrs
:{
label
:
3
}},[
e
.
_v
(
"自定义可见权限"
)])],
1
),
e
.
_v
(
" "
),
3
==
e
.
ruleForm
.
radio
?
r
(
"div"
,{
staticClass
:
"permiss-child-cell"
},[
r
(
"setPermissData"
,{
attrs
:{
title
:
"允许行政架构可见"
},
on
:{
showSelect
:
function
(
t
){
e
.
showSelect
(
"depart"
)}},
model
:{
value
:
e
.
ruleForm
.
visibleAll
,
callback
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"visibleAll"
,
t
)},
expression
:
"ruleForm.visibleAll"
}}),
e
.
_v
(
" "
),
r
(
"setPermissData"
,{
attrs
:{
title
:
"允许门店架构可见"
},
on
:{
showSelect
:
function
(
t
){
e
.
showSelect
(
"store"
)}},
model
:{
value
:
e
.
ruleForm
.
visibleStoreAll
,
callback
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"visibleStoreAll"
,
t
)},
expression
:
"ruleForm.visibleStoreAll"
}})],
1
):
e
.
_e
()],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,[
r
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
submitForm
(
"ruleForm"
)}}},[
e
.
_v
(
"保 存"
)])],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"vue-select-employee"
,{
attrs
:{
defaultSelection
:
e
.
defaultSelection
,
treeSet
:
e
.
treeSet
,
onlyPerson
:
e
.
onlyPerson
,
changed
:
e
.
changed
},
on
:{
handleSelectedList
:
e
.
handleSelectedList
}}),
e
.
_v
(
" "
),
r
(
"vue-select-store"
,{
ref
:
"storeSelector"
,
attrs
:{
treeSet
:
e
.
storeTreeSet
,
selectType
:
"all"
,
defaultList
:
e
.
defaultStoreList
},
on
:{
handleSelectedList
:
e
.
handleSelectedStoreList
}})],
1
)},
staticRenderFns
:[]};
var
I
=
r
(
"VU/8"
)(
w
,
k
,
!
1
,
function
(
e
){
r
(
"fwGf"
)},
"data-v-1f47576e"
,
null
).
exports
,
y
=
{
name
:
"storePermission"
,
data
:
function
(){
return
{
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"设置"
,
path
:
"/companyAddress"
},{
name
:
"通讯录信息"
,
path
:
"/staffDetails"
},{
name
:
"门店权限设置"
,
path
:
""
}],
activeName
:
""
,
brandList
:[],
switchList
:{
addName
:
"新增门店成员"
,
addStoreClerkCheck
:
!
1
,
delName
:
"删除门店成员"
,
deleteStoreClerkCheck
:
!
1
,
modName
:
"门店信息变更"
,
storeInformationChangeCheck
:
!
1
}}},
computed
:{},
methods
:{
handleClick
:
function
(
e
,
t
){
this
.
getStoreAuth
(
e
.
name
,
n
()(
e
.
index
)),
this
.
activeName
=
e
.
name
},
saveSwitch
:
Object
(
g
.
a
)(
function
(){
var
e
=
JSON
.
parse
(
i
()(
this
.
switchList
));
e
.
addStoreClerkCheck
=
1
==
e
.
addStoreClerkCheck
?
1
:
0
,
e
.
deleteStoreClerkCheck
=
1
==
e
.
deleteStoreClerkCheck
?
1
:
0
,
e
.
storeInformationChangeCheck
=
1
==
e
.
storeInformationChangeCheck
?
1
:
0
,
this
.
setStoreAuth
(
e
)},
600
),
setStoreAuth
:
function
(
e
){
var
t
=
this
,
r
=
{
brandId
:
e
.
brandId
,
groupId
:
t
.
activeName
,
addStoreClerkCheck
:
e
.
addStoreClerkCheck
,
deleteStoreClerkCheck
:
e
.
deleteStoreClerkCheck
,
storeInformationChangeCheck
:
e
.
storeInformationChangeCheck
};
Object
(
C
.
c
)(
"/haoban-manage-web/brand/saveStoreAuth"
,
r
).
then
(
function
(
e
){
var
t
=
e
.
data
;
1
!=
t
.
errorCode
?
S
.
a
.
errorMsg
(
t
):
b
.
a
.
showmsg
(
"保存成功"
,
"success"
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getStoreAuth
:
function
(
e
,
t
){
var
r
=
this
,
a
=
{
groupId
:
e
};
Object
(
C
.
c
)(
"/haoban-manage-web/brand/storeAuth"
,
a
).
then
(
function
(
e
){
var
t
=
e
.
data
;
if
(
1
!=
t
.
errorCode
)
S
.
a
.
errorMsg
(
t
);
else
if
(
t
.
result
){
r
.
brandList
.
clerkData
=
t
.
result
,
r
.
brandList
.
managerData
=
t
.
result
;
var
a
=
t
.
result
.
brandDTO
;
a
.
addStoreClerkCheck
=
1
==
a
.
addStoreClerkCheck
,
a
.
deleteStoreClerkCheck
=
1
==
a
.
deleteStoreClerkCheck
,
a
.
storeInformationChangeCheck
=
1
==
a
.
storeInformationChangeCheck
,
r
.
switchList
=
s
()(
r
.
switchList
,
a
),
r
.
$forceUpdate
()}}).
catch
(
function
(
e
){
r
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getBrandData
:
function
(){
var
e
=
this
;
Object
(
C
.
c
)(
"/haoban-manage-web/brand/list"
,{}).
then
(
function
(
t
){
var
r
=
t
.
data
;
1
!=
r
.
errorCode
?
S
.
a
.
errorMsg
(
r
):
r
.
result
&&
r
.
result
.
length
&&
(
e
.
brandList
=
r
.
result
,
e
.
activeName
=
r
.
result
[
0
].
groupId
,
e
.
getStoreAuth
(
r
.
result
[
0
].
groupId
,
0
))}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
mounted
:
function
(){
this
.
getBrandData
()},
components
:{
navCrumb
:
c
.
a
,
setPermiss
:
I
}},
A
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
r
=
e
.
_self
.
_c
||
t
;
return
r
(
"div"
,{
staticClass
:
"storePermission-wrap common-set-wrap"
},[
r
(
"nav-crumb"
,{
attrs
:{
navpath
:
e
.
navpath
}}),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"right-content"
},[
r
(
"div"
,{
staticClass
:
"right-box"
,
staticStyle
:{
background
:
"unset"
,
padding
:
"0"
}},[
r
(
"el-tabs"
,{
on
:{
"tab-click"
:
e
.
handleClick
},
model
:{
value
:
e
.
activeName
,
callback
:
function
(
t
){
e
.
activeName
=
t
},
expression
:
"activeName"
}},[
e
.
_l
(
e
.
brandList
,
function
(
e
,
t
){
return
[
r
(
"el-tab-pane"
,{
key
:
"name"
+
t
,
attrs
:{
label
:
e
.
name
,
name
:
e
.
groupId
}})]})],
2
),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"storePermission-title font-w-500"
},[
e
.
_v
(
"
\
n 门店成员通讯录可见权限
\
n "
)]),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"bg-fff permiss-contain"
},[
r
(
"set-permiss"
,{
attrs
:{
permType
:
1
,
authData
:
e
.
brandList
.
clerkData
}}),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"b-l"
}),
e
.
_v
(
" "
),
r
(
"set-permiss"
,{
attrs
:{
permType
:
2
,
authData
:
e
.
brandList
.
managerData
}})],
1
),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"storePermission-wrap-switch m-t-24"
},[
r
(
"div"
,{
staticClass
:
"storePermission-switch-title font-w-500"
},[
e
.
_v
(
"
\
n 门店信息变更是否需要审核
\
n "
)]),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"storePermission-switch-body"
},[
r
(
"div"
,{
staticClass
:
"switch-cell"
},[
r
(
"el-switch"
,{
attrs
:{
"inactive-text"
:
e
.
switchList
.
addName
},
model
:{
value
:
e
.
switchList
.
addStoreClerkCheck
,
callback
:
function
(
t
){
e
.
$set
(
e
.
switchList
,
"addStoreClerkCheck"
,
t
)},
expression
:
"switchList.addStoreClerkCheck"
}})],
1
),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"switch-cell"
},[
r
(
"el-switch"
,{
attrs
:{
"inactive-text"
:
e
.
switchList
.
delName
},
model
:{
value
:
e
.
switchList
.
deleteStoreClerkCheck
,
callback
:
function
(
t
){
e
.
$set
(
e
.
switchList
,
"deleteStoreClerkCheck"
,
t
)},
expression
:
"switchList.deleteStoreClerkCheck"
}})],
1
),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"switch-cell p-l-94"
},[
r
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
saveSwitch
}},[
e
.
_v
(
"保 存"
)])],
1
)])])],
1
)]),
e
.
_v
(
" "
),
r
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[]};
var
F
=
r
(
"VU/8"
)(
y
,
A
,
!
1
,
function
(
e
){
r
(
"mpre"
)},
"data-v-5e605ed0"
,
null
);
t
.
default
=
F
.
exports
},
fwGf
:
function
(
e
,
t
){},
gvjp
:
function
(
e
,
t
){},
mpre
:
function
(
e
,
t
){}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/26.2c0979f3bd7ee7896b97.js
deleted
100644 → 0
View file @
7af2c2f3
webpackJsonp
([
26
],{
"4WGk"
:
function
(
t
,
e
){},
BKgO
:
function
(
t
,
e
){},
JXTs
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
s
=
a
(
"//Fk"
),
o
=
a
.
n
(
s
),
n
=
a
(
"P9l9"
),
i
=
a
(
"3E4D"
),
c
=
a
(
"Ch4/"
),
r
=
{
name
:
"custom-dialog"
,
props
:{
showCustomDialog
:{
type
:
Boolean
,
default
:
!
1
},
customType
:{
type
:
String
,
default
:
""
},
customTitle
:{
type
:
String
,
default
:
""
}},
data
:
function
(){
return
{
repProjectName
:
"haoban-manage-web"
,
customDialog
:
!
1
,
customData
:[],
checkList
:[]}},
beforeMount
:
function
(){},
methods
:{
handleCardClose
:
function
(){
this
.
customCancel
()},
customCancel
:
function
(){
this
.
customDialog
=!
1
,
this
.
$emit
(
"customHandleConfirm"
)},
customConfirm
:
function
(){
if
(
!
this
.
checkList
.
length
)
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请选择操作"
}),
!
1
;
this
.
setData
(
this
.
checkList
)},
customChange
:
function
(
t
){},
setData
:
function
(
t
){
var
e
=
this
,
a
=
{
viewIdList
:
t
},
s
=
"data"
==
e
.
customType
?
"/haoban-manage-web/home/set-display-enterprise-data"
:
"/haoban-manage-web/home/set-display-quick-entry"
;
Object
(
n
.
b
)(
s
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
i
.
a
.
showmsg
(
"设置成功"
,
"success"
),
void
e
.
$emit
(
"customHandleConfirm"
);
c
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getCardList
:
function
(){
var
t
=
this
,
e
=
{
all
:
!
0
};
"data"
==
t
.
customType
&&
(
e
.
fetchData
=!
1
);
var
a
=
"data"
==
t
.
customType
?
"/haoban-manage-web/home/find-enterprise-data"
:
"/haoban-manage-web/home/find-quick-entry"
;
t
.
checkList
=
[],
Object
(
n
.
c
)(
a
,
e
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
){
var
s
=
[];
return
a
.
result
.
forEach
(
function
(
e
,
a
){
e
.
homeDisplay
&&
(
"data"
==
t
.
customType
?
s
.
push
(
e
.
dataViewId
):
s
.
push
(
e
.
settingViewId
))}),
t
.
customData
=
a
.
result
,
void
(
t
.
checkList
=
s
)}
c
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
showCustomDialog
:
function
(
t
,
e
){
this
.
customDialog
=
t
},
customType
:
function
(
t
,
e
){
t
&&
this
.
getCardList
()}},
mounted
:
function
(){
this
.
customDialog
=
this
.
showCustomDialog
}},
l
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"custom-dialog-wrap"
},[
a
(
"el-dialog"
,{
attrs
:{
title
:
"自定义"
+
t
.
customTitle
,
visible
:
t
.
customDialog
,
width
:
"761px"
,
"before-close"
:
t
.
handleCardClose
},
on
:{
"update:visible"
:
function
(
e
){
t
.
customDialog
=
e
}}},[
a
(
"div"
,{
staticClass
:
"custom-dialog__title"
},[
a
(
"p"
,{
staticClass
:
"custom-dialog__p"
},[
t
.
_v
(
"
\
n 请选择您想在首页展示的"
+
t
.
_s
(
t
.
customTitle
)
+
",还可以再勾选"
),
a
(
"span"
,[
t
.
_v
(
" "
+
t
.
_s
(
8
-
t
.
checkList
.
length
)
+
" "
)]),
t
.
_v
(
"个
\
n "
)])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"custom-dialog__checkbox"
},[
a
(
"el-checkbox-group"
,{
attrs
:{
max
:
8
},
on
:{
change
:
t
.
customChange
},
model
:{
value
:
t
.
checkList
,
callback
:
function
(
e
){
t
.
checkList
=
e
},
expression
:
"checkList"
}},[
"data"
===
t
.
customType
?
t
.
_l
(
t
.
customData
,
function
(
e
){
return
a
(
"el-checkbox"
,{
key
:
e
.
dataViewId
,
attrs
:{
label
:
e
.
dataViewId
,
name
:
"type"
}},[
t
.
_v
(
t
.
_s
(
e
.
fieldTitle
))])}):
t
.
_e
(),
t
.
_v
(
" "
),
"data"
!=
t
.
customType
?
t
.
_l
(
t
.
customData
,
function
(
e
){
return
a
(
"el-checkbox"
,{
key
:
e
.
settingViewId
,
attrs
:{
label
:
e
.
settingViewId
,
name
:
"type"
}},[
t
.
_v
(
t
.
_s
(
e
.
fieldTitle
))])}):
t
.
_e
()],
2
)],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"el-button"
,{
on
:{
click
:
t
.
customCancel
}},[
t
.
_v
(
"取 消"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
customConfirm
}},[
t
.
_v
(
"确 定"
)])],
1
)])],
1
)},
staticRenderFns
:[]};
var
u
=
{
name
:
"index"
,
data
:
function
(){
return
{
projectName
:
"haoban-manage-web"
,
contentHeight
:
"0px"
,
collapseFlag
:
!
1
,
showCustomDialog
:
!
1
,
customType
:
""
,
customTitle
:
""
,
bannerList
:[],
companyObj
:{},
dataOverview
:[],
entryData
:[]}},
methods
:{
changeRoute
:
function
(
t
){
this
.
$router
.
push
(
t
)},
toRouterView
:
function
(
t
){
this
.
$router
.
push
({
path
:
t
.
path
})},
collapseTag
:
function
(
t
){
this
.
collapseFlag
=
t
},
showDialogLayer
:
function
(
t
){
this
.
showCustomDialog
=!
0
,
this
.
customType
=
t
,
this
.
customTitle
=
"data"
==
t
?
"数据概览"
:
"快捷操作"
},
customHandleConfirm
:
function
(
t
){
this
.
showCustomDialog
=!
1
,
"data"
===
this
.
customType
?
this
.
getDataOverview
():
this
.
getEntryData
()},
toCertify
:
function
(
t
){
1
!=
t
&&
this
.
changeRoute
(
"/companyCertify"
)},
getBannerData
:
function
(){
var
t
=
this
;
Object
(
n
.
a
)(
"/haoban-manage-web/home/find-advertisement"
,{}).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
!=
a
.
errorCode
?
c
.
a
.
errorMsg
(
a
):
t
.
bannerList
=
a
.
result
}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getEnterpriseData
:
function
(){
var
t
=
this
;
Object
(
n
.
a
)(
"/haoban-manage-web/home/find-enterprise-info"
,{}).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
!=
a
.
errorCode
?
c
.
a
.
errorMsg
(
a
):
t
.
companyObj
=
a
.
result
}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getDataOverview
:
function
(){
var
t
=
this
;
Object
(
n
.
a
)(
"/haoban-manage-web/home/find-enterprise-data"
,{
all
:
!
1
,
fetchData
:
!
0
}).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
!=
a
.
errorCode
?
c
.
a
.
errorMsg
(
a
):
t
.
dataOverview
=
a
.
result
}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getEntryData
:
function
(){
var
t
=
this
;
Object
(
n
.
a
)(
"/haoban-manage-web/home/find-quick-entry"
,{
all
:
!
1
}).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
!=
a
.
errorCode
?
c
.
a
.
errorMsg
(
a
):
t
.
entryData
=
a
.
result
}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
mounted
:
function
(){
this
.
contentHeight
=
(
document
.
documentElement
.
clientHeight
||
document
.
body
.
clientHeight
)
-
64
+
"px"
,
o
.
a
.
all
([
this
.
getBannerData
(),
this
.
getDataOverview
(),
this
.
getEntryData
(),
this
.
getEnterpriseData
()])},
components
:{
customDialog
:
a
(
"VU/8"
)(
r
,
l
,
!
1
,
function
(
t
){
a
(
"BKgO"
)},
"data-v-0b6f3e0a"
,
null
).
exports
}},
d
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
attrs
:{
id
:
"index"
}},[
a
(
"vue-office-header"
,{
attrs
:{
projectName
:
t
.
projectName
},
on
:{
collapseTag
:
t
.
collapseTag
,
toRouterView
:
t
.
toRouterView
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"content"
,
attrs
:{
id
:
"content"
}},[
a
(
"div"
,{
staticClass
:
"content-body"
,
style
:{
minHeight
:
t
.
contentHeight
}},[
a
(
"div"
,{
staticClass
:
"index-swiper"
},[
a
(
"el-carousel"
,{
attrs
:{
trigger
:
"click"
,
height
:
"250px"
,
arrow
:
"never"
,
autoplay
:
!
1
}},
t
.
_l
(
t
.
bannerList
,
function
(
t
,
e
){
return
a
(
"el-carousel-item"
,{
key
:
e
},[
a
(
"a"
,{
staticClass
:
"index-swiper-bg"
,
style
:{
backgroundImage
:
"url("
+
t
.
imgUrl
+
")"
},
attrs
:{
href
:
1
==
t
.
linkType
?
"#"
+
t
.
linkUrl
:
t
.
linkUrl
,
target
:
"_blank"
,
rel
:
"nofollow noopener noreferrer"
}})])}))],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"index-company flex flex-row m-t-24"
},[
a
(
"div"
,{
staticClass
:
"index-company-left m-r-24 border-box radius-2"
},[
a
(
"div"
,{
staticClass
:
"index-company-logo"
},[
t
.
companyObj
.
logoUrl
?
a
(
"div"
,{
staticClass
:
"index-company-logo_img"
},[
a
(
"img"
,{
attrs
:{
src
:
t
.
companyObj
.
logoUrl
,
alt
:
"log"
}})]):
a
(
"div"
,{
staticClass
:
"default-logo-bg"
},[
a
(
"i"
,{
staticClass
:
"iconfont icon-2zuzhijiagou default-logo"
})])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"index-company-name color-303133"
},[
t
.
_v
(
t
.
_s
(
t
.
companyObj
.
enterpriseName
))]),
t
.
_v
(
" "
),
a
(
"ul"
,[
a
(
"li"
,{
staticClass
:
"flex flex-between"
},[
a
(
"span"
,[
t
.
_v
(
"账户余额"
)]),
a
(
"span"
,{
staticClass
:
"color-303133 font-16"
},[
t
.
_v
(
t
.
_s
(
t
.
companyObj
.
balance
))])]),
t
.
_v
(
" "
),
a
(
"li"
,{
staticClass
:
"flex flex-between"
},[
a
(
"span"
,[
t
.
_v
(
"企业编码"
)]),
a
(
"span"
,{
staticClass
:
"color-303133 font-16"
},[
t
.
_v
(
t
.
_s
(
t
.
companyObj
.
enterpriseCode
))])]),
t
.
_v
(
" "
),
a
(
"li"
,{
staticClass
:
"flex flex-between"
,
on
:{
click
:
function
(
e
){
t
.
toCertify
(
t
.
companyObj
.
authenticationStatus
)}}},[
a
(
"span"
,[
t
.
_v
(
"企业认证"
)]),
a
(
"span"
,{
class
:[
1
==
t
.
companyObj
.
authenticationStatus
?
"authActive"
:
0
==
t
.
companyObj
.
authenticationStatus
?
"unAuth"
:
2
==
t
.
companyObj
.
authenticationStatus
?
"auth-ing"
:
"auth-fail"
]},[
1
==
t
.
companyObj
.
authenticationStatus
||
0
==
t
.
companyObj
.
authenticationStatus
?
a
(
"i"
,{
staticClass
:
"iconfont icon-renzheng p-r-6 "
}):
t
.
_e
(),
2
==
t
.
companyObj
.
authenticationStatus
?
a
(
"i"
,{
staticClass
:
"iconfont icon-qiyerenzheng1 p-r-6 "
}):
t
.
_e
(),
3
==
t
.
companyObj
.
authenticationStatus
?
a
(
"i"
,{
staticClass
:
"iconfont icon-qiyerenzheng2 p-r-6 "
}):
t
.
_e
(),
t
.
_v
(
t
.
_s
(
1
==
t
.
companyObj
.
authenticationStatus
?
"已认证"
:
0
==
t
.
companyObj
.
authenticationStatus
?
"未认证"
:
2
==
t
.
companyObj
.
authenticationStatus
?
"认证中"
:
"认证失败"
)
+
" "
)])]),
t
.
_v
(
" "
),
t
.
_m
(
0
)])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"index-company-right radius-2"
},[
a
(
"div"
,{
staticClass
:
"index-company-right__head flex flex-between border-box border-b-e4e7e7"
},[
a
(
"span"
,{
staticClass
:
"color-303133 font-16 font-w-500"
},[
t
.
_v
(
"数据概览"
)]),
a
(
"span"
,{
staticClass
:
"auto-define"
,
on
:{
click
:
function
(
e
){
t
.
showDialogLayer
(
"data"
)}}},[
a
(
"i"
,{
staticClass
:
"iconfont icon-zidingyi color-909399"
})])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"index-company-right__body p-24 border-box"
},[
a
(
"ul"
,{
staticClass
:
"flex flex-row flex-wrap"
},
t
.
_l
(
t
.
dataOverview
,
function
(
e
,
s
){
return
a
(
"li"
,{
key
:
s
},[
a
(
"div"
,{
staticClass
:
"color-606266 font-16 data-name"
},[
t
.
_v
(
t
.
_s
(
e
.
fieldTitle
))]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"color-303133 font-30 data-num font-w-500"
},[
t
.
_v
(
t
.
_s
(
e
.
fieldData
))])])}))])])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"index-entry m-t-24 radius-2"
},[
a
(
"div"
,{
staticClass
:
"index-entry-head flex flex-between border-box border-b-e4e7e7"
},[
a
(
"span"
,{
staticClass
:
"color-303133 font-16 font-w-500"
},[
t
.
_v
(
"快捷入口"
)]),
a
(
"span"
,{
staticClass
:
"auto-define"
,
on
:{
click
:
function
(
e
){
t
.
showDialogLayer
(
"entry"
)}}},[
a
(
"i"
,{
staticClass
:
"iconfont icon-zidingyi color-909399"
})])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"index-entry-body p-24 border-box"
},[
a
(
"ul"
,{
staticClass
:
"flex flex-row flex-wrap"
},
t
.
_l
(
t
.
entryData
,
function
(
e
,
s
){
return
a
(
"li"
,{
key
:
s
,
staticClass
:
"flex flex-align-center border-box flex"
,
on
:{
click
:
function
(
a
){
t
.
changeRoute
(
e
.
fieldUrl
)}}},[
a
(
"span"
,{
staticClass
:
"square-item flex flex-align-center flex-pack-center"
,
style
:{
background
:
e
.
fieldIconBgColor
}},[
a
(
"i"
,{
class
:[
"iconfont"
,
e
.
fieldIconUrl
]})]),
t
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"color-303133 font-16 p-l-20"
},[
t
.
_v
(
t
.
_s
(
e
.
fieldTitle
))])])}))])])]),
t
.
_v
(
" "
),
a
(
"vue-gic-footer"
)],
1
),
t
.
_v
(
" "
),
a
(
"custom-dialog"
,{
attrs
:{
customTitle
:
t
.
customTitle
,
customType
:
t
.
customType
,
showCustomDialog
:
t
.
showCustomDialog
},
on
:{
customHandleConfirm
:
t
.
customHandleConfirm
}})],
1
)},
staticRenderFns
:[
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"li"
,{
staticClass
:
"flex flex-between"
},[
e
(
"span"
,[
this
.
_v
(
"帮助手册"
)]),
e
(
"a"
,{
attrs
:{
href
:
"../../assets/1.pdf"
,
download
:
"帮助手册.pdf"
}},[
e
(
"span"
,{
staticClass
:
"color-1890ff"
},[
this
.
_v
(
"立即下载"
),
e
(
"i"
,{
staticClass
:
"el-icon-arrow-right"
})])])])}]};
var
m
=
a
(
"VU/8"
)(
u
,
d
,
!
1
,
function
(
t
){
a
(
"4WGk"
)},
"data-v-3c3d91d6"
,
null
);
e
.
default
=
m
.
exports
}});
\ No newline at end of file
dist/static/js/26.40226508ead49adcb14f.js
0 → 100644
View file @
65f403f8
webpackJsonp
([
26
],{
"0j4p"
:
function
(
t
,
e
){},
BKgO
:
function
(
t
,
e
){},
JXTs
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
o
=
a
(
"//Fk"
),
s
=
a
.
n
(
o
),
n
=
a
(
"P9l9"
),
i
=
a
(
"3E4D"
),
c
=
a
(
"Ch4/"
),
r
=
{
name
:
"custom-dialog"
,
props
:{
showCustomDialog
:{
type
:
Boolean
,
default
:
!
1
},
customType
:{
type
:
String
,
default
:
""
},
customTitle
:{
type
:
String
,
default
:
""
}},
data
:
function
(){
return
{
repProjectName
:
"haoban-manage-web"
,
customDialog
:
!
1
,
customData
:[],
checkList
:[]}},
beforeMount
:
function
(){},
methods
:{
handleCardClose
:
function
(){
this
.
customCancel
()},
customCancel
:
function
(){
this
.
customDialog
=!
1
,
this
.
$emit
(
"customHandleConfirm"
)},
customConfirm
:
function
(){
if
(
!
this
.
checkList
.
length
)
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请选择操作"
}),
!
1
;
this
.
setData
(
this
.
checkList
)},
customChange
:
function
(
t
){},
setData
:
function
(
t
){
var
e
=
this
,
a
=
{
viewIdList
:
t
},
o
=
"data"
==
e
.
customType
?
"/haoban-manage-web/home/set-display-enterprise-data"
:
"/haoban-manage-web/home/set-display-quick-entry"
;
Object
(
n
.
b
)(
o
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
i
.
a
.
showmsg
(
"设置成功"
,
"success"
),
void
e
.
$emit
(
"customHandleConfirm"
);
c
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getCardList
:
function
(){
var
t
=
this
,
e
=
{
all
:
!
0
};
"data"
==
t
.
customType
&&
(
e
.
fetchData
=!
1
);
var
a
=
"data"
==
t
.
customType
?
"/haoban-manage-web/home/find-enterprise-data"
:
"/haoban-manage-web/home/find-quick-entry"
;
t
.
checkList
=
[],
Object
(
n
.
c
)(
a
,
e
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
){
var
o
=
[];
return
a
.
result
.
forEach
(
function
(
e
,
a
){
e
.
homeDisplay
&&
(
"data"
==
t
.
customType
?
o
.
push
(
e
.
dataViewId
):
o
.
push
(
e
.
settingViewId
))}),
t
.
customData
=
a
.
result
,
void
(
t
.
checkList
=
o
)}
c
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
showCustomDialog
:
function
(
t
,
e
){
this
.
customDialog
=
t
},
customType
:
function
(
t
,
e
){
t
&&
this
.
getCardList
()}},
mounted
:
function
(){
this
.
customDialog
=
this
.
showCustomDialog
}},
l
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"custom-dialog-wrap"
},[
a
(
"el-dialog"
,{
attrs
:{
title
:
"自定义"
+
t
.
customTitle
,
visible
:
t
.
customDialog
,
width
:
"761px"
,
"before-close"
:
t
.
handleCardClose
},
on
:{
"update:visible"
:
function
(
e
){
t
.
customDialog
=
e
}}},[
a
(
"div"
,{
staticClass
:
"custom-dialog__title"
},[
a
(
"p"
,{
staticClass
:
"custom-dialog__p"
},[
t
.
_v
(
"
\
n 请选择您想在首页展示的"
+
t
.
_s
(
t
.
customTitle
)
+
",还可以再勾选"
),
a
(
"span"
,[
t
.
_v
(
" "
+
t
.
_s
(
8
-
t
.
checkList
.
length
)
+
" "
)]),
t
.
_v
(
"个
\
n "
)])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"custom-dialog__checkbox"
},[
a
(
"el-checkbox-group"
,{
attrs
:{
max
:
8
},
on
:{
change
:
t
.
customChange
},
model
:{
value
:
t
.
checkList
,
callback
:
function
(
e
){
t
.
checkList
=
e
},
expression
:
"checkList"
}},[
"data"
===
t
.
customType
?
t
.
_l
(
t
.
customData
,
function
(
e
){
return
a
(
"el-checkbox"
,{
key
:
e
.
dataViewId
,
attrs
:{
label
:
e
.
dataViewId
,
name
:
"type"
}},[
t
.
_v
(
t
.
_s
(
e
.
fieldTitle
))])}):
t
.
_e
(),
t
.
_v
(
" "
),
"data"
!=
t
.
customType
?
t
.
_l
(
t
.
customData
,
function
(
e
){
return
a
(
"el-checkbox"
,{
key
:
e
.
settingViewId
,
attrs
:{
label
:
e
.
settingViewId
,
name
:
"type"
}},[
t
.
_v
(
t
.
_s
(
e
.
fieldTitle
))])}):
t
.
_e
()],
2
)],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"el-button"
,{
on
:{
click
:
t
.
customCancel
}},[
t
.
_v
(
"取 消"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
t
.
customConfirm
}},[
t
.
_v
(
"确 定"
)])],
1
)])],
1
)},
staticRenderFns
:[]};
var
u
=
{
name
:
"index"
,
data
:
function
(){
return
{
projectName
:
"haoban-manage-web"
,
contentHeight
:
"0px"
,
collapseFlag
:
!
1
,
showCustomDialog
:
!
1
,
customType
:
""
,
customTitle
:
""
,
bannerList
:[],
companyObj
:{},
dataOverview
:[],
entryData
:[]}},
methods
:{
changeRoute
:
function
(
t
){
this
.
$router
.
push
(
t
)},
toRouterView
:
function
(
t
){
this
.
$router
.
push
({
path
:
t
.
path
})},
collapseTag
:
function
(
t
){
this
.
collapseFlag
=
t
},
showDialogLayer
:
function
(
t
){
this
.
showCustomDialog
=!
0
,
this
.
customType
=
t
,
this
.
customTitle
=
"data"
==
t
?
"数据概览"
:
"快捷操作"
},
customHandleConfirm
:
function
(
t
){
this
.
showCustomDialog
=!
1
,
"data"
===
this
.
customType
?
this
.
getDataOverview
():
this
.
getEntryData
()},
toCertify
:
function
(
t
){
1
!=
t
&&
this
.
changeRoute
(
"/companyCertify"
)},
getBannerData
:
function
(){
var
t
=
this
;
Object
(
n
.
a
)(
"/haoban-manage-web/home/find-advertisement"
,{}).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
!=
a
.
errorCode
?
c
.
a
.
errorMsg
(
a
):
t
.
bannerList
=
a
.
result
}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getEnterpriseData
:
function
(){
var
t
=
this
;
Object
(
n
.
a
)(
"/haoban-manage-web/home/find-enterprise-info"
,{}).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
!=
a
.
errorCode
?
c
.
a
.
errorMsg
(
a
):
t
.
companyObj
=
a
.
result
}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getDataOverview
:
function
(){
var
t
=
this
;
Object
(
n
.
a
)(
"/haoban-manage-web/home/find-enterprise-data"
,{
all
:
!
1
,
fetchData
:
!
0
}).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
!=
a
.
errorCode
?
c
.
a
.
errorMsg
(
a
):
t
.
dataOverview
=
a
.
result
}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getEntryData
:
function
(){
var
t
=
this
;
Object
(
n
.
a
)(
"/haoban-manage-web/home/find-quick-entry"
,{
all
:
!
1
}).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
!=
a
.
errorCode
?
c
.
a
.
errorMsg
(
a
):
t
.
entryData
=
a
.
result
}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
mounted
:
function
(){
this
.
contentHeight
=
(
document
.
documentElement
.
clientHeight
||
document
.
body
.
clientHeight
)
-
204
+
"px"
,
s
.
a
.
all
([
this
.
getBannerData
(),
this
.
getDataOverview
(),
this
.
getEntryData
(),
this
.
getEnterpriseData
()])},
components
:{
customDialog
:
a
(
"VU/8"
)(
r
,
l
,
!
1
,
function
(
t
){
a
(
"BKgO"
)},
"data-v-0b6f3e0a"
,
null
).
exports
}},
m
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
attrs
:{
id
:
"index"
}},[
a
(
"vue-office-header"
,{
attrs
:{
projectName
:
t
.
projectName
},
on
:{
collapseTag
:
t
.
collapseTag
,
toRouterView
:
t
.
toRouterView
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"content"
,
attrs
:{
id
:
"content"
}},[
a
(
"div"
,{
staticClass
:
"content-body"
,
style
:{
minHeight
:
t
.
contentHeight
}},[
a
(
"div"
,{
staticClass
:
"index-company flex flex-row m-t-24"
},[
a
(
"div"
,{
staticClass
:
"index-company-left m-r-24 border-box radius-2"
},[
a
(
"div"
,{
staticClass
:
"index-company-logo"
},[
t
.
companyObj
.
logoUrl
?
a
(
"div"
,{
staticClass
:
"index-company-logo_img"
},[
a
(
"img"
,{
attrs
:{
src
:
t
.
companyObj
.
logoUrl
,
alt
:
"log"
}})]):
a
(
"div"
,{
staticClass
:
"default-logo-bg"
},[
a
(
"i"
,{
staticClass
:
"iconfont icon-2zuzhijiagou default-logo"
})])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"index-company-name color-303133"
},[
t
.
_v
(
t
.
_s
(
t
.
companyObj
.
enterpriseName
))]),
t
.
_v
(
" "
),
a
(
"ul"
,[
a
(
"li"
,{
staticClass
:
"flex flex-between"
},[
a
(
"span"
,[
t
.
_v
(
"账户余额"
)]),
a
(
"span"
,{
staticClass
:
"color-303133 font-16"
},[
t
.
_v
(
t
.
_s
(
t
.
companyObj
.
balance
))])]),
t
.
_v
(
" "
),
a
(
"li"
,{
staticClass
:
"flex flex-between"
},[
a
(
"span"
,[
t
.
_v
(
"企业编码"
)]),
a
(
"span"
,{
staticClass
:
"color-303133 font-16"
},[
t
.
_v
(
t
.
_s
(
t
.
companyObj
.
enterpriseCode
))])]),
t
.
_v
(
" "
),
a
(
"li"
,{
staticClass
:
"flex flex-between"
,
on
:{
click
:
function
(
e
){
t
.
toCertify
(
t
.
companyObj
.
authenticationStatus
)}}},[
a
(
"span"
,[
t
.
_v
(
"企业认证"
)]),
a
(
"span"
,{
class
:[
1
==
t
.
companyObj
.
authenticationStatus
?
"authActive"
:
0
==
t
.
companyObj
.
authenticationStatus
?
"unAuth"
:
2
==
t
.
companyObj
.
authenticationStatus
?
"auth-ing"
:
"auth-fail"
]},[
1
==
t
.
companyObj
.
authenticationStatus
||
0
==
t
.
companyObj
.
authenticationStatus
?
a
(
"i"
,{
staticClass
:
"iconfont icon-renzheng p-r-6 "
}):
t
.
_e
(),
2
==
t
.
companyObj
.
authenticationStatus
?
a
(
"i"
,{
staticClass
:
"iconfont icon-qiyerenzheng1 p-r-6 "
}):
t
.
_e
(),
3
==
t
.
companyObj
.
authenticationStatus
?
a
(
"i"
,{
staticClass
:
"iconfont icon-qiyerenzheng2 p-r-6 "
}):
t
.
_e
(),
t
.
_v
(
t
.
_s
(
1
==
t
.
companyObj
.
authenticationStatus
?
"已认证"
:
0
==
t
.
companyObj
.
authenticationStatus
?
"未认证"
:
2
==
t
.
companyObj
.
authenticationStatus
?
"认证中"
:
"认证失败"
)
+
" "
)])]),
t
.
_v
(
" "
),
t
.
_m
(
0
)])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"index-entry radius-2"
},[
a
(
"div"
,{
staticClass
:
"index-swiper"
},[
a
(
"el-carousel"
,{
attrs
:{
trigger
:
"click"
,
height
:
"250px"
,
arrow
:
"never"
,
autoplay
:
!
1
}},
t
.
_l
(
t
.
bannerList
,
function
(
t
,
e
){
return
a
(
"el-carousel-item"
,{
key
:
e
},[
a
(
"a"
,{
staticClass
:
"index-swiper-bg"
,
style
:{
backgroundImage
:
"url("
+
t
.
imgUrl
+
")"
},
attrs
:{
href
:
1
==
t
.
linkType
?
"#"
+
t
.
linkUrl
:
t
.
linkUrl
,
target
:
"_blank"
,
rel
:
"nofollow noopener noreferrer"
}})])}))],
1
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"index-entry-head flex flex-between border-box border-b-e4e7e7"
},[
a
(
"span"
,{
staticClass
:
"color-303133 font-16 font-w-500"
},[
t
.
_v
(
"快捷入口"
)]),
a
(
"span"
,{
staticClass
:
"auto-define"
,
on
:{
click
:
function
(
e
){
t
.
showDialogLayer
(
"entry"
)}}},[
a
(
"i"
,{
staticClass
:
"iconfont icon-zidingyi color-909399"
})])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"index-entry-body p-24 border-box"
},[
a
(
"ul"
,{
staticClass
:
"flex flex-row flex-wrap"
},
t
.
_l
(
t
.
entryData
,
function
(
e
,
o
){
return
a
(
"li"
,{
key
:
o
,
staticClass
:
"flex flex-align-center border-box flex"
,
on
:{
click
:
function
(
a
){
t
.
changeRoute
(
e
.
fieldUrl
)}}},[
a
(
"span"
,{
staticClass
:
"square-item flex flex-align-center flex-pack-center"
,
style
:{
background
:
e
.
fieldIconBgColor
}},[
a
(
"i"
,{
class
:[
"iconfont"
,
e
.
fieldIconUrl
]})]),
t
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"color-303133 font-16 p-l-20"
},[
t
.
_v
(
t
.
_s
(
e
.
fieldTitle
))])])}))])])])]),
t
.
_v
(
" "
),
a
(
"vue-gic-footer"
)],
1
),
t
.
_v
(
" "
),
a
(
"custom-dialog"
,{
attrs
:{
customTitle
:
t
.
customTitle
,
customType
:
t
.
customType
,
showCustomDialog
:
t
.
showCustomDialog
},
on
:{
customHandleConfirm
:
t
.
customHandleConfirm
}})],
1
)},
staticRenderFns
:[
function
(){
var
t
=
this
.
$createElement
,
e
=
this
.
_self
.
_c
||
t
;
return
e
(
"li"
,{
staticClass
:
"flex flex-between"
},[
e
(
"span"
,[
this
.
_v
(
"帮助手册"
)]),
e
(
"a"
,{
attrs
:{
href
:
"../../assets/1.pdf"
,
download
:
"帮助手册.pdf"
}},[
e
(
"span"
,{
staticClass
:
"color-1890ff"
},[
this
.
_v
(
"立即下载"
),
e
(
"i"
,{
staticClass
:
"el-icon-arrow-right"
})])])])}]};
var
d
=
a
(
"VU/8"
)(
u
,
m
,
!
1
,
function
(
t
){
a
(
"0j4p"
)},
"data-v-3f7f0608"
,
null
);
e
.
default
=
d
.
exports
}});
\ No newline at end of file
dist/static/js/manifest.
1a6cbd44700f452113a1
.js
→
dist/static/js/manifest.
e423f90dee3c4c4e2099
.js
View file @
65f403f8
!
function
(
e
){
var
c
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
f
,
a
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
f
.
length
;
i
++
)
t
=
f
[
i
],
d
[
t
]
&&
u
.
push
(
d
[
t
][
0
]),
d
[
t
]
=
0
;
for
(
r
in
a
)
Object
.
prototype
.
hasOwnProperty
.
call
(
a
,
r
)
&&
(
e
[
r
]
=
a
[
r
]);
for
(
c
&&
c
(
f
,
a
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
b
(
b
.
s
=
n
[
i
]);
return
o
};
var
f
=
{},
d
=
{
80
:
0
};
function
b
(
c
){
if
(
f
[
c
])
return
f
[
c
].
exports
;
var
d
=
f
[
c
]
=
{
i
:
c
,
l
:
!
1
,
exports
:{}};
return
e
[
c
].
call
(
d
.
exports
,
d
,
d
.
exports
,
b
),
d
.
l
=!
0
,
d
.
exports
}
b
.
e
=
function
(
e
){
var
c
=
d
[
e
];
if
(
0
===
c
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
c
)
return
c
[
2
];
var
f
=
new
Promise
(
function
(
f
,
b
){
c
=
d
[
e
]
=
[
f
,
b
]});
c
[
2
]
=
f
;
var
a
=
document
.
getElementsByTagName
(
"head"
)[
0
],
n
=
document
.
createElement
(
"script"
);
n
.
type
=
"text/javascript"
,
n
.
charset
=
"utf-8"
,
n
.
async
=!
0
,
n
.
timeout
=
12
e4
,
b
.
nc
&&
n
.
setAttribute
(
"nonce"
,
b
.
nc
),
n
.
src
=
b
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"ace51f421a48f46a5277"
,
1
:
"0ebe3ead93207dc78a78"
,
2
:
"979deb10fce5b2fefcdb"
,
3
:
"c2fd89730cdd6d5b8904"
,
4
:
"f396f74b75d791b8cb38"
,
5
:
"585fa5e680c961f3e6ea"
,
6
:
"657b140c98f462652267"
,
7
:
"425c9f33a90e59d2b270"
,
8
:
"9180c86d724863021ea1"
,
9
:
"7bafe59540d7210cfa70"
,
10
:
"bc4f603351d381704d20"
,
11
:
"2cfce44be1d5002c95f1"
,
12
:
"e48ee65ef0da6c383571"
,
13
:
"34bd3d823e73c2a4d360"
,
14
:
"8719a4be4e72a548434c"
,
15
:
"2ee668c55634c598bb49"
,
16
:
"fc1264890c2669f41a52"
,
17
:
"a1f8e736a1b936b682f2"
,
18
:
"c930c090830262321506"
,
19
:
"fb9febd9f5dfcffd09ca"
,
20
:
"81f6c674a6461ef85896"
,
21
:
"08e506839eb7346cac08"
,
22
:
"5a40199f94d4ea1b6837"
,
23
:
"5ed1b5fd3abff19ce342"
,
24
:
"9c7dd0f43ca6b011cd2f"
,
25
:
"e3f3549f91880fa065bb"
,
26
:
"2c0979f3bd7ee7896b97"
,
27
:
"d06c17faef5f94ce3538"
,
28
:
"5d40f738c37dc3ef187e"
,
29
:
"ff0267ea3da22d09a51d"
,
30
:
"dd4b7da78d6c78093255"
,
31
:
"ab2d370388056de1d416"
,
32
:
"70774db13d0413804dc5"
,
33
:
"3920832eb8d2060b3283"
,
34
:
"85d9b21e152ee68f753e"
,
35
:
"89ba4c1dd475908bf5fc"
,
36
:
"73599dd23aeb744999d1"
,
37
:
"5c79b5b07eabe32865d9"
,
38
:
"2abd4e6854edc4a61d25"
,
39
:
"ff87a1bd8fe431022be1"
,
40
:
"e9c116b3a105a1e15f53"
,
41
:
"37fe8cc7206fc7a6918a"
,
42
:
"1bd51133770da9de66c4"
,
43
:
"6172423115106cbcf206"
,
44
:
"15e4fb81db8878836164"
,
45
:
"d8bd0488f225fbeac057"
,
46
:
"7e45e6c43c0bab35bf80"
,
47
:
"f6bccbc7dbb5d48ac435"
,
48
:
"789e840b8b2f1bbeebbc"
,
49
:
"bca658c86dad84d0634e"
,
50
:
"331006123edd2049b7d9"
,
51
:
"39c6d0fb7d792edd6cbf"
,
52
:
"1877d1f717c069fa4b03"
,
53
:
"dd892a649988674feca2"
,
54
:
"1503b643475934e2b5e1"
,
55
:
"0a28d0fa68bb623fb44b"
,
56
:
"bf6ca3213cca34608387"
,
57
:
"3b66a0783837139899c5"
,
58
:
"d2633a0a50b9ea3eda37"
,
59
:
"b0384129b6e3ccf2819d"
,
60
:
"06083ce41737441c07f2"
,
61
:
"2f37d96bc91f0a637cad"
,
62
:
"c3caefedcb9fb6dcfb96"
,
63
:
"3b57f32493eccbf39695"
,
64
:
"ebc341a9017c4b2c1112"
,
65
:
"790058d4bf34f37589d9"
,
66
:
"ceb12b70732c3d1922a9"
,
67
:
"5b477dcc7445f38c2ee9"
,
68
:
"ba49712f562eff6edbc3"
,
69
:
"17e063aa9f52b297f979"
,
70
:
"6c2402795ed03b512775"
,
71
:
"da1a44c8bf4f6316b90d"
,
72
:
"6526d6cf985190f1fdbb"
,
73
:
"eaf82b42a884d2f24070"
,
74
:
"3a4f20982bf349c4bf08"
,
75
:
"47588b504cef11d4ae3c"
,
76
:
"509de08aa4c1d8be651d"
,
79
:
"177f5627a2a311e067eb"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
c
=
d
[
e
];
0
!==
c
&&
(
c
&&
c
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
d
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
a
.
appendChild
(
n
),
f
},
b
.
m
=
e
,
b
.
c
=
f
,
b
.
d
=
function
(
e
,
c
,
f
){
b
.
o
(
e
,
c
)
||
Object
.
defineProperty
(
e
,
c
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
f
})},
b
.
n
=
function
(
e
){
var
c
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
b
.
d
(
c
,
"a"
,
c
),
c
},
b
.
o
=
function
(
e
,
c
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
c
)},
b
.
p
=
"./"
,
b
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
!
function
(
e
){
var
c
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
f
,
b
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
f
.
length
;
i
++
)
t
=
f
[
i
],
d
[
t
]
&&
u
.
push
(
d
[
t
][
0
]),
d
[
t
]
=
0
;
for
(
r
in
b
)
Object
.
prototype
.
hasOwnProperty
.
call
(
b
,
r
)
&&
(
e
[
r
]
=
b
[
r
]);
for
(
c
&&
c
(
f
,
b
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
a
(
a
.
s
=
n
[
i
]);
return
o
};
var
f
=
{},
d
=
{
80
:
0
};
function
a
(
c
){
if
(
f
[
c
])
return
f
[
c
].
exports
;
var
d
=
f
[
c
]
=
{
i
:
c
,
l
:
!
1
,
exports
:{}};
return
e
[
c
].
call
(
d
.
exports
,
d
,
d
.
exports
,
a
),
d
.
l
=!
0
,
d
.
exports
}
a
.
e
=
function
(
e
){
var
c
=
d
[
e
];
if
(
0
===
c
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
c
)
return
c
[
2
];
var
f
=
new
Promise
(
function
(
f
,
a
){
c
=
d
[
e
]
=
[
f
,
a
]});
c
[
2
]
=
f
;
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
,
a
.
nc
&&
n
.
setAttribute
(
"nonce"
,
a
.
nc
),
n
.
src
=
a
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"ace51f421a48f46a5277"
,
1
:
"0ebe3ead93207dc78a78"
,
2
:
"979deb10fce5b2fefcdb"
,
3
:
"c2fd89730cdd6d5b8904"
,
4
:
"f396f74b75d791b8cb38"
,
5
:
"585fa5e680c961f3e6ea"
,
6
:
"657b140c98f462652267"
,
7
:
"425c9f33a90e59d2b270"
,
8
:
"9180c86d724863021ea1"
,
9
:
"7bafe59540d7210cfa70"
,
10
:
"bc4f603351d381704d20"
,
11
:
"2cfce44be1d5002c95f1"
,
12
:
"e48ee65ef0da6c383571"
,
13
:
"34bd3d823e73c2a4d360"
,
14
:
"8719a4be4e72a548434c"
,
15
:
"2ee668c55634c598bb49"
,
16
:
"fc1264890c2669f41a52"
,
17
:
"a1f8e736a1b936b682f2"
,
18
:
"c930c090830262321506"
,
19
:
"1b6d2763b40278908ad1"
,
20
:
"81f6c674a6461ef85896"
,
21
:
"08e506839eb7346cac08"
,
22
:
"5a40199f94d4ea1b6837"
,
23
:
"5ed1b5fd3abff19ce342"
,
24
:
"9c7dd0f43ca6b011cd2f"
,
25
:
"e3f3549f91880fa065bb"
,
26
:
"40226508ead49adcb14f"
,
27
:
"d06c17faef5f94ce3538"
,
28
:
"5d40f738c37dc3ef187e"
,
29
:
"ff0267ea3da22d09a51d"
,
30
:
"dd4b7da78d6c78093255"
,
31
:
"ab2d370388056de1d416"
,
32
:
"70774db13d0413804dc5"
,
33
:
"3920832eb8d2060b3283"
,
34
:
"85d9b21e152ee68f753e"
,
35
:
"89ba4c1dd475908bf5fc"
,
36
:
"73599dd23aeb744999d1"
,
37
:
"5c79b5b07eabe32865d9"
,
38
:
"2abd4e6854edc4a61d25"
,
39
:
"ff87a1bd8fe431022be1"
,
40
:
"e9c116b3a105a1e15f53"
,
41
:
"37fe8cc7206fc7a6918a"
,
42
:
"1bd51133770da9de66c4"
,
43
:
"6172423115106cbcf206"
,
44
:
"15e4fb81db8878836164"
,
45
:
"d8bd0488f225fbeac057"
,
46
:
"7e45e6c43c0bab35bf80"
,
47
:
"f6bccbc7dbb5d48ac435"
,
48
:
"789e840b8b2f1bbeebbc"
,
49
:
"bca658c86dad84d0634e"
,
50
:
"331006123edd2049b7d9"
,
51
:
"39c6d0fb7d792edd6cbf"
,
52
:
"1877d1f717c069fa4b03"
,
53
:
"dd892a649988674feca2"
,
54
:
"1503b643475934e2b5e1"
,
55
:
"0a28d0fa68bb623fb44b"
,
56
:
"bf6ca3213cca34608387"
,
57
:
"3b66a0783837139899c5"
,
58
:
"d2633a0a50b9ea3eda37"
,
59
:
"b0384129b6e3ccf2819d"
,
60
:
"06083ce41737441c07f2"
,
61
:
"2f37d96bc91f0a637cad"
,
62
:
"c3caefedcb9fb6dcfb96"
,
63
:
"3b57f32493eccbf39695"
,
64
:
"ebc341a9017c4b2c1112"
,
65
:
"790058d4bf34f37589d9"
,
66
:
"ceb12b70732c3d1922a9"
,
67
:
"5b477dcc7445f38c2ee9"
,
68
:
"ba49712f562eff6edbc3"
,
69
:
"17e063aa9f52b297f979"
,
70
:
"6c2402795ed03b512775"
,
71
:
"da1a44c8bf4f6316b90d"
,
72
:
"6526d6cf985190f1fdbb"
,
73
:
"eaf82b42a884d2f24070"
,
74
:
"3a4f20982bf349c4bf08"
,
75
:
"47588b504cef11d4ae3c"
,
76
:
"509de08aa4c1d8be651d"
,
79
:
"177f5627a2a311e067eb"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
c
=
d
[
e
];
0
!==
c
&&
(
c
&&
c
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
d
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
b
.
appendChild
(
n
),
f
},
a
.
m
=
e
,
a
.
c
=
f
,
a
.
d
=
function
(
e
,
c
,
f
){
a
.
o
(
e
,
c
)
||
Object
.
defineProperty
(
e
,
c
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
f
})},
a
.
n
=
function
(
e
){
var
c
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
a
.
d
(
c
,
"a"
,
c
),
c
},
a
.
o
=
function
(
e
,
c
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
c
)},
a
.
p
=
"./"
,
a
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
\ No newline at end of file
src/views/index/index.vue
View file @
65f403f8
...
@@ -3,13 +3,6 @@
...
@@ -3,13 +3,6 @@
<vue-office-header
:projectName=
"projectName"
@
collapseTag=
"collapseTag"
@
toRouterView=
"toRouterView"
>
</vue-office-header>
<vue-office-header
:projectName=
"projectName"
@
collapseTag=
"collapseTag"
@
toRouterView=
"toRouterView"
>
</vue-office-header>
<div
id=
"content"
class=
"content"
>
<div
id=
"content"
class=
"content"
>
<div
class=
"content-body"
:style=
"
{ minHeight: contentHeight }">
<div
class=
"content-body"
:style=
"
{ minHeight: contentHeight }">
<div
class=
"index-swiper"
>
<el-carousel
trigger=
"click"
height=
"250px"
arrow=
"never"
:autoplay=
"false"
>
<el-carousel-item
v-for=
"(item, index) in bannerList"
:key=
"index"
>
<a
class=
"index-swiper-bg"
:href=
"item.linkType == 1 ? '#' + item.linkUrl : item.linkUrl"
target=
"_blank"
rel=
"nofollow noopener noreferrer"
:style=
"
{ backgroundImage: 'url(' + item.imgUrl + ')' }">
<!--
<img
:src=
"item.imgUrl"
alt=
""
/>
-->
</a>
</el-carousel-item>
</el-carousel>
</div>
<div
class=
"index-company flex flex-row m-t-24"
>
<div
class=
"index-company flex flex-row m-t-24"
>
<div
class=
"index-company-left m-r-24 border-box radius-2"
>
<div
class=
"index-company-left m-r-24 border-box radius-2"
>
<div
class=
"index-company-logo"
>
<div
class=
"index-company-logo"
>
...
@@ -39,7 +32,7 @@
...
@@ -39,7 +32,7 @@
</li>
</li>
</ul>
</ul>
</div>
</div>
<div
class=
"index-company-right radius-2"
>
<
!--
<
div
class=
"index-company-right radius-2"
>
<div
class=
"index-company-right__head flex flex-between border-box border-b-e4e7e7"
>
<div
class=
"index-company-right__head flex flex-between border-box border-b-e4e7e7"
>
<span
class=
"color-303133 font-16 font-w-500"
>
数据概览
</span><span
class=
"auto-define"
@
click=
"showDialogLayer('data')"
><i
class=
"iconfont icon-zidingyi color-909399"
></i></span>
<span
class=
"color-303133 font-16 font-w-500"
>
数据概览
</span><span
class=
"auto-define"
@
click=
"showDialogLayer('data')"
><i
class=
"iconfont icon-zidingyi color-909399"
></i></span>
</div>
</div>
...
@@ -51,19 +44,27 @@
...
@@ -51,19 +44,27 @@
</li>
</li>
</ul>
</ul>
</div>
</div>
</div>
</div>
m-t-24 -->
</div>
<div
class=
"index-entry m-t-24 radius-2"
>
<div
class=
"index-entry radius-2"
>
<div
class=
"index-entry-head flex flex-between border-box border-b-e4e7e7"
>
<div
class=
"index-swiper"
>
<span
class=
"color-303133 font-16 font-w-500"
>
快捷入口
</span><span
class=
"auto-define"
@
click=
"showDialogLayer('entry')"
><i
class=
"iconfont icon-zidingyi color-909399"
></i></span>
<el-carousel
trigger=
"click"
height=
"250px"
arrow=
"never"
:autoplay=
"false"
>
</div>
<el-carousel-item
v-for=
"(item, index) in bannerList"
:key=
"index"
>
<div
class=
"index-entry-body p-24 border-box"
>
<a
class=
"index-swiper-bg"
:href=
"item.linkType == 1 ? '#' + item.linkUrl : item.linkUrl"
target=
"_blank"
rel=
"nofollow noopener noreferrer"
:style=
"
{ backgroundImage: 'url(' + item.imgUrl + ')' }">
<!--
<img
:src=
"item.imgUrl"
alt=
""
/>
-->
</a>
<ul
class=
"flex flex-row flex-wrap"
>
</el-carousel-item>
<li
v-for=
"(item, index) in entryData"
:key=
"index"
class=
"flex flex-align-center border-box flex"
@
click=
"changeRoute(item.fieldUrl)"
>
</el-carousel>
<span
class=
"square-item flex flex-align-center flex-pack-center"
:style=
"
{ background: item.fieldIconBgColor }">
<i
:class=
"['iconfont', item.fieldIconUrl]"
></i></span>
</div>
<span
class=
"color-303133 font-16 p-l-20"
>
{{
item
.
fieldTitle
}}
</span>
<div
class=
"index-entry-head flex flex-between border-box border-b-e4e7e7"
>
</li>
<span
class=
"color-303133 font-16 font-w-500"
>
快捷入口
</span><span
class=
"auto-define"
@
click=
"showDialogLayer('entry')"
><i
class=
"iconfont icon-zidingyi color-909399"
></i></span>
</ul>
</div>
<div
class=
"index-entry-body p-24 border-box"
>
<ul
class=
"flex flex-row flex-wrap"
>
<li
v-for=
"(item, index) in entryData"
:key=
"index"
class=
"flex flex-align-center border-box flex"
@
click=
"changeRoute(item.fieldUrl)"
>
<span
class=
"square-item flex flex-align-center flex-pack-center"
:style=
"
{ background: item.fieldIconBgColor }">
<i
:class=
"['iconfont', item.fieldIconUrl]"
></i></span>
<span
class=
"color-303133 font-16 p-l-20"
>
{{
item
.
fieldTitle
}}
</span>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -281,7 +282,7 @@ export default {
...
@@ -281,7 +282,7 @@ export default {
},
},
mounted
()
{
mounted
()
{
const
that
=
this
;
const
that
=
this
;
that
.
contentHeight
=
(
document
.
documentElement
.
clientHeight
||
document
.
body
.
clientHeight
)
-
6
4
+
'px'
;
that
.
contentHeight
=
(
document
.
documentElement
.
clientHeight
||
document
.
body
.
clientHeight
)
-
20
4
+
'px'
;
Promise
.
all
([
that
.
getBannerData
(),
that
.
getDataOverview
(),
that
.
getEntryData
(),
that
.
getEnterpriseData
()]);
Promise
.
all
([
that
.
getBannerData
(),
that
.
getDataOverview
(),
that
.
getEntryData
(),
that
.
getEnterpriseData
()]);
},
},
components
:
{
components
:
{
...
@@ -519,7 +520,7 @@ export default {
...
@@ -519,7 +520,7 @@ export default {
&-left
{
&-left
{
width
:
360px
;
width
:
360px
;
height
:
340px
;
//
height
:
340px
;
padding
:
24px
;
padding
:
24px
;
background
:
#fff
;
background
:
#fff
;
...
@@ -637,7 +638,7 @@ export default {
...
@@ -637,7 +638,7 @@ export default {
.index-entry
{
.index-entry
{
width
:
100%
;
width
:
100%
;
height
:
247px
;
//
height
:
247px
;
background
:
#fff
;
background
:
#fff
;
&-head
{
&-head
{
height
:
56px
;
height
:
56px
;
...
@@ -646,7 +647,7 @@ export default {
...
@@ -646,7 +647,7 @@ export default {
}
}
&
-body
{
&
-body
{
height
:
190px
;
//
height
:
190px
;
li
{
li
{
min-width
:
20%
;
min-width
:
20%
;
...
...
src/views/setting/storePermission.vue
View file @
65f403f8
...
@@ -253,7 +253,12 @@ export default {
...
@@ -253,7 +253,12 @@ export default {
}
}
.el-tabs__nav-scroll
{
.el-tabs__nav-scroll
{
//
padding-left
:
20px
;
padding-left
:
20px
;
}
&
.is-scrollable
{
.el-tabs__nav-scroll
{
padding-left
:
0
;
}
}
}
}
}
...
...
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