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
34fd2959
Commit
34fd2959
authored
Mar 25, 2019
by
zhu_yu_dan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix0:企业公告列表参数变更
parent
afb5ff0d
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
21 additions
and
16 deletions
+21
-16
index.html
dist/index.html
+2
-2
app.5d527e58acf77e8ca4e4a8c19577dcab.css
dist/static/css/app.5d527e58acf77e8ca4e4a8c19577dcab.css
+0
-0
22.2e13bc47faa71485d785.js
dist/static/js/22.2e13bc47faa71485d785.js
+2
-0
23.d35b207fb2e00e9743a3.js
dist/static/js/23.d35b207fb2e00e9743a3.js
+2
-2
24.324b388a5029325ec860.js
dist/static/js/24.324b388a5029325ec860.js
+2
-2
24.66e234669fe461776150.js
dist/static/js/24.66e234669fe461776150.js
+0
-2
app.0f91f4dec7dec67c5d69.js
dist/static/js/app.0f91f4dec7dec67c5d69.js
+2
-2
manifest.b0a478f486841529660b.js
dist/static/js/manifest.b0a478f486841529660b.js
+2
-2
noticeList.vue
src/views/enterpriseApp/notice/noticeList.vue
+9
-4
No files found.
dist/index.html
View file @
34fd2959
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><link
rel=
"shortcut icon"
href=
./favicon.ico
><title>
好办管理平台
</title><link
href=
./static/css/app.157c13017e205d726e0d9ecb2b7cdcf7.css
rel=
stylesheet
></head><body
style=
"min-width: 1400px;"
><div
id=
app
></div><script
src=
https://cdn.ravenjs.com/3.26.2/vue/raven.min.js
crossorigin=
anonymous
></script><script>
Raven
.
config
(
'https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672'
).
install
();
</script><script
type=
text/javascript
src=
./static/js/manifest.cae77ebd3ee1843ec621.js
></script><script
type=
text/javascript
src=
./static/js/vendor.8d54360f860a96e84004.js
></script><script
type=
text/javascript
src=
./static/js/app.6b739998050584f2ab4e.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.5d527e58acf77e8ca4e4a8c19577dcab.css
rel=
stylesheet
></head><body
style=
"min-width: 1400px;"
><div
id=
app
></div><script
src=
https://cdn.ravenjs.com/3.26.2/vue/raven.min.js
crossorigin=
anonymous
></script><script>
Raven
.
config
(
'https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672'
).
install
();
</script><script
type=
text/javascript
src=
./static/js/manifest.b0a478f486841529660b.js
></script><script
type=
text/javascript
src=
./static/js/vendor.8d54360f860a96e84004.js
></script><script
type=
text/javascript
src=
./static/js/app.0f91f4dec7dec67c5d69.js
></script></body></html>
\ No newline at end of file
dist/static/css/app.
157c13017e205d726e0d9ecb2b7cdcf7
.css
→
dist/static/css/app.
5d527e58acf77e8ca4e4a8c19577dcab
.css
View file @
34fd2959
This source diff could not be displayed because it is too large. You can
view the blob
instead.
dist/static/js/22.2e13bc47faa71485d785.js
0 → 100644
View file @
34fd2959
webpackJsonp
([
22
],{
OVYO
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
i
=
a
(
"Ke24"
),
n
=
a
(
"fPyK"
),
s
=
a
(
"P9l9"
),
r
=
{
name
:
"noticeList"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}},
activeGroupId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
topMenuData
:[{
id
:
"1"
,
name
:
"企业公告列表"
}],
activeId
:
"1"
,
activeBrand
:
this
.
brandId
,
activeGroup
:
this
.
activeGroupId
,
searchTitle
:
""
,
dateValue
:
""
,
startTime
:
""
,
endTime
:
""
,
tableData
:[],
pageSize
:
10
,
currentPage
:
1
,
totalCount
:
0
,
noReadCount
:
0
,
readCount
:
0
,
readList
:[],
noReadList
:[],
loading
:
!
1
,
dialogNoticeVisible
:
!
1
,
dialogVisible
:
!
1
,
defaultImg
:
a
(
"mt/x"
)}},
filters
:{
formatTimeYMD
:
function
(
e
){
var
t
=
new
Date
(
e
),
a
=
t
.
getMonth
()
+
1
,
i
=
t
.
getDate
()
<
10
?
"0"
+
t
.
getDate
():
t
.
getDate
(),
n
=
a
<
10
?
"0"
+
a
:
a
;
return
t
.
getFullYear
()
+
"-"
+
n
+
"-"
+
i
},
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
.
getNoticeList
())},
activeGroupId
:
function
(
e
,
t
){
e
&&
(
this
.
activeGroup
=
e
)}},
methods
:{
getNoticeList
:
function
(){
var
e
=
this
;
this
.
loading
=!
0
;
var
t
=
{
startTime
:
this
.
startTime
,
brandId
:
this
.
activeBrand
,
title
:
this
.
searchTitle
,
endTime
:
this
.
endTime
,
pageNum
:
this
.
currentPage
,
pageSize
:
this
.
pageSize
};
Object
(
s
.
a
)(
"/haoban-app-announcement-web/announcement-list"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
e
.
loading
=!
1
,
1
==
a
.
errorCode
&&
(
e
.
tableData
=
a
.
result
.
list
,
e
.
totalCount
=
a
.
result
.
total
)})},
changeDate
:
function
(
e
){
this
.
startTime
=
e
[
0
],
this
.
endTime
=
e
[
1
],
this
.
currentPage
=
1
,
this
.
getNoticeList
()},
searchNotice
:
function
(){
this
.
currentPage
=
1
,
this
.
getNoticeList
()},
delNotice
:
function
(
e
,
t
){
var
a
=
this
;
this
.
$confirm
(
"是否要删除选中的公告?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
var
i
=
{
announcementId
:
e
};
Object
(
s
.
a
)(
"/haoban-app-announcement-web/announcement-delete"
,
i
).
then
(
function
(
e
){
var
i
=
e
.
data
;
1
==
i
.
errorCode
?(
a
.
totalCount
--
,
a
.
tableData
.
splice
(
t
,
1
),
0
==
a
.
tableData
.
length
&&
(
a
.
currentPage
>
1
?(
a
.
currentPage
--
,
a
.
getNoticeList
()):
a
.
totalCount
>
0
&&
a
.
getNoticeList
()),
a
.
$message
.
success
(
"删除成功"
)):
a
.
$message
.
error
(
i
.
message
)})}).
catch
(
function
(){})},
readDetail
:
function
(
e
){
var
t
=
this
;
t
.
dialogNoticeVisible
=!
0
;
var
a
=
{
announcementId
:
e
};
Object
(
s
.
a
)(
"/haoban-app-announcement-web/announcement-detail"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
==
a
.
errorCode
?(
t
.
noReadList
=
a
.
result
.
noReadEmployeeList
,
t
.
readList
=
a
.
result
.
employeeList
,
t
.
readCount
=
a
.
result
.
readCount
,
t
.
noReadCount
=
a
.
result
.
noReadCount
):
t
.
$message
.
error
(
a
.
message
)})},
handleSizeChange
:
function
(
e
){
this
.
pageSize
=
e
,
this
.
getNoticeList
()},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getNoticeList
()},
handlePreview
:
function
(
e
){
this
.
$refs
.
qrcodePreview
.
qrcode
(
e
),
this
.
dialogVisible
=!
0
},
addNotice
:
function
(){
this
.
$router
.
push
(
"/addNotice"
)}},
mounted
:
function
(){
this
.
activeBrand
=
this
.
brandId
,
this
.
brandId
&&
this
.
getNoticeList
()},
components
:{
commonDetailTop
:
i
.
a
,
qrcodeDialog
:
n
.
a
}},
o
=
{
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
:{
placeholder
:
"请输入公告标题"
,
"prefix-icon"
:
"el-icon-search"
},
nativeOn
:{
keyup
:
function
(
t
){
return
!
t
.
type
.
indexOf
(
"key"
)
&&
e
.
_k
(
t
.
keyCode
,
"enter"
,
13
,
t
.
key
,
"Enter"
)?
null
:
e
.
searchNotice
(
t
)}},
model
:{
value
:
e
.
searchTitle
,
callback
:
function
(
t
){
e
.
searchTitle
=
t
},
expression
:
"searchTitle"
}}),
e
.
_v
(
" "
),
a
(
"el-date-picker"
,{
staticClass
:
"search-date"
,
attrs
:{
format
:
"yyyy-MM-dd"
,
"value-format"
:
"yyyy-MM-dd"
,
type
:
"daterange"
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
},
on
:{
change
:
e
.
changeDate
},
model
:{
value
:
e
.
dateValue
,
callback
:
function
(
t
){
e
.
dateValue
=
t
},
expression
:
"dateValue"
}}),
e
.
_v
(
" "
),
a
(
"el-button"
,{
staticClass
:
"fr"
,
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
addNotice
}},[
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
:
"title"
,
label
:
"公告标题"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"name"
,
label
:
"公告封面"
,
width
:
"120"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"notice-img"
},[
a
(
"img"
,{
attrs
:{
src
:
t
.
row
.
imgUrl
?
t
.
row
.
imgUrl
:
e
.
defaultImg
,
alt
:
""
}})])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"content"
,
label
:
"公告内容"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"p"
,{
staticClass
:
"notice-content-wrap"
,
attrs
:{
title
:
t
.
row
.
content
}},[
e
.
_v
(
e
.
_s
(
t
.
row
.
content
))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"address"
,
label
:
"读取情况"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
return
e
.
readDetail
(
t
.
row
.
announcementId
)}}},[
e
.
_v
(
e
.
_s
(
t
.
row
.
readCount
)
+
"/"
+
e
.
_s
(
t
.
row
.
noReadCount
))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"address"
,
label
:
"发布时间"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
t
.
row
.
sendTime
?
a
(
"div"
,{
staticClass
:
"time-wrap"
},[
a
(
"p"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeYMD"
)(
t
.
row
.
sendTime
)))]),
e
.
_v
(
" "
),
a
(
"p"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeHMS"
)(
t
.
row
.
sendTime
)))])]):
a
(
"div"
,[
e
.
_v
(
"--"
)])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"opr"
,
label
:
"操作"
,
width
:
"100"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
return
e
.
handlePreview
(
t
.
row
.
announcementId
)}}},[
e
.
_v
(
"预览"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
return
e
.
delNotice
(
t
.
row
.
announcementId
,
t
.
$index
)}}},[
e
.
_v
(
"删除"
)])]}}])})],
1
),
e
.
_v
(
" "
),
e
.
totalCount
>
0
?
a
(
"div"
,{
staticClass
:
"pagination"
},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"page-sizes"
:[
10
,
20
,
30
,
40
],
"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
(
"el-dialog"
,{
attrs
:{
title
:
"读取情况"
,
visible
:
e
.
dialogNoticeVisible
,
width
:
"618px"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
dialogNoticeVisible
=
t
}}},[
a
(
"div"
,{
staticClass
:
"read-list-wrap"
},[
a
(
"div"
,{
staticClass
:
"read-list-lt"
},[
a
(
"div"
,{
staticClass
:
"read-list-title"
},[
e
.
_v
(
"已读("
+
e
.
_s
(
e
.
readCount
)
+
")"
)]),
e
.
_v
(
" "
),
e
.
readList
.
length
>
0
?
a
(
"ul"
,{
staticClass
:
"read-list"
},
e
.
_l
(
e
.
readList
,
function
(
t
,
i
){
return
a
(
"li"
,{
key
:
i
},[
e
.
_v
(
e
.
_s
(
t
))])}),
0
):
a
(
"div"
,{
staticClass
:
"no-read-list-data"
},[
e
.
_v
(
"暂无数据"
)])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"read-list-rt"
},[
a
(
"div"
,{
staticClass
:
"read-list-title"
},[
e
.
_v
(
"未读("
+
e
.
_s
(
e
.
noReadCount
)
+
")"
)]),
e
.
_v
(
" "
),
e
.
noReadList
.
length
>
0
?
a
(
"ul"
,{
staticClass
:
"read-list"
},
e
.
_l
(
e
.
noReadList
,
function
(
t
,
i
){
return
a
(
"li"
,{
key
:
i
},[
e
.
_v
(
e
.
_s
(
t
))])}),
0
):
a
(
"div"
,{
staticClass
:
"no-read-list-data"
},[
e
.
_v
(
"暂无数据"
)])])])]),
e
.
_v
(
" "
),
a
(
"qrcode-dialog"
,{
ref
:
"qrcodePreview"
,
model
:{
value
:
e
.
dialogVisible
,
callback
:
function
(
t
){
e
.
dialogVisible
=
t
},
expression
:
"dialogVisible"
}}),
e
.
_v
(
" "
),
a
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[]};
var
c
=
a
(
"VU/8"
)(
r
,
o
,
!
1
,
function
(
e
){
a
(
"ssIN"
)},
"data-v-7ac7cbd9"
,
null
);
t
.
default
=
c
.
exports
},
"mt/x"
:
function
(
e
,
t
){
e
.
exports
=
"data:image/jpeg;base64,iVBORw0KGgoAAAANSUhEUgAAANwAAADcCAYAAAAbWs+BAAAbLklEQVR4nO3d2XLjSJYm4B/7SnCRqCUyMrpresy6uq9q+v0foy/KrKcqayo2SVxAYl8c7nMBKlISIWVIIkGAPJ9ZmtIy0yJckfzlDsfx41KcFgKEkFbIhx4AIaeEAkdIiyhwhLSIAkdIiyhwhLSIAkdIiyhwhLSIAkdIiyhwhLSIAkdIiyhwhLSIAkdIiyhwhLSIAkdIiyhwhLSIAkdIiyhwhLSIAkdIiyhwhLSIAkdIiyhwhLSIAkdIiy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oSgZiqK+zWY6duDa+ta936eCAkce4UIginOEcY40Zwjj/Efgmr7WB1HrvzgX9a2tFUfFOTzHgGlocCwNjnW6IXuIAkdeVC8FOVj14OvmOqiq4r8HUJKgKDIMXYGuKdBV5STP6f2R49x7JTujyDIUXcZpbGnsH/0IIqRFFDhCWkSBI6RFFDhCWkSBI6RFFDhCWkSBI6RFFDhCWkSBI6RFFDhCWkSBI6RFFDhCWkSBI6RFFDhCWkSBI6RFFDhCWkSBI6RFFDhCWkSBI6RFFDhCWkSBI6RFFDhCWkSBI6RFFDhCWkSBI6RFFDhCWkSBI6RFFDhCWkSBI6RFFDhCWkSBI6RFFDhCWkSBI6RFFDhCWkSBI6RF/x8qjTga7LYI7gAAAABJRU5ErkJggg=="
},
ssIN
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/2
2.c1aae669aa3f968f57a8
.js
→
dist/static/js/2
3.d35b207fb2e00e9743a3
.js
View file @
34fd2959
webpackJsonp
([
22
],{
"5S3y"
:
function
(
t
,
e
){},
Z46G
:
function
(
t
,
e
){},
Zyzf
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
i
=
a
(
"//Fk"
),
s
=
a
.
n
(
i
),
o
=
a
(
"gBtx"
),
n
=
a
.
n
(
o
),
l
=
a
(
"3Xzz"
),
c
=
a
(
"PI0u"
),
r
=
a
(
"P9l9"
),
d
=
a
(
"3E4D"
),
f
=
a
(
"Ch4/"
),
u
=
{
name
:
"staff-detail-field"
,
props
:{
showCustomDialog
:{
type
:
Boolean
,
default
:
!
1
},
detailData
:{
type
:
Array
,
default
:
function
(){
return
[]}},
dataType
:{
type
:
Number
,
default
:
1
}},
data
:
function
(){
return
{
repProjectName
:
"gic-web"
,
customDialog
:
!
1
,
fixData
:[
"clerkName"
,
"clerkPhone"
,
"groupName"
,
"positionName"
],
fixDataStore
:[
"clerkName"
,
"clerkPhone"
,
"groupName"
,
"positionName"
,
"clerkCode"
],
customData
:[],
checkList
:[],
baseUrl
:
""
}},
beforeMount
:
function
(){
var
t
=
window
.
location
.
origin
;
"-1"
!=
t
.
indexOf
(
"localhost"
)?
this
.
baseUrl
=
"http://gicdev.demogic.com"
:
this
.
baseUrl
=
t
},
computed
:{},
methods
:{
handleCardClose
:
function
(){
this
.
customCancel
()},
customCancel
:
function
(){
this
.
customDialog
=!
1
,
this
.
$emit
(
"customHandleConfirm"
,
"hide"
)},
customConfirm
:
Object
(
c
.
a
)(
function
(){
this
.
checkList
=
this
.
customData
.
map
(
function
(
t
){
return
t
.
checkList
}).
flat
(),
this
.
saveFields
(
this
.
dataType
)},
500
),
customChange
:
function
(
t
){},
saveFields
:
function
(
t
){
var
e
=
this
,
a
=
{
fields
:
e
.
checkList
,
type
:
t
};
Object
(
r
.
c
)(
"/haoban-manage-web/record/employee-show-field-save.json"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
d
.
a
.
showmsg
(
"添加成功"
,
"success"
),
void
e
.
$emit
(
"customHandleConfirm"
);
f
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
console
.
log
(
t
),
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
treeData
:
function
(
t
){
var
e
=
t
.
filter
(
function
(
e
){
var
a
=
t
.
filter
(
function
(
t
){
return
e
.
fieldCode
==
t
.
parentCode
});
return
a
.
length
>
0
&&
(
e
.
children
=
a
),
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
},
getAllFields
:
function
(){
var
t
=
this
;
Object
(
r
.
c
)(
"/haoban-manage-web/record/employee-find-system-template.json"
,{}).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
!=
a
.
errorCode
?
f
.
a
.
errorMsg
(
a
):
t
.
handleAllFields
(
a
.
result
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
handleAllFields
:
function
(
t
){
var
e
=
this
.
treeData
(
t
);
e
.
forEach
(
function
(
t
,
e
){
t
.
checkList
=
[]}),
this
.
customData
=
e
},
handleDetailData
:
function
(){
var
t
=
this
;
t
.
customData
.
forEach
(
function
(
e
,
a
){
e
.
checkList
=
[],
e
.
children
.
forEach
(
function
(
a
,
i
){
t
.
checkList
.
includes
(
a
.
fieldCode
)
&&
e
.
checkList
.
push
(
a
.
fieldCode
),
a
.
disable
=
1
==
t
.
dataType
?
t
.
fixData
.
includes
(
a
.
fieldCode
):
t
.
fixDataStore
.
includes
(
a
.
fieldCode
)})})}},
watch
:{
showCustomDialog
:
function
(
t
,
e
){
this
.
customDialog
=
t
},
detailData
:
function
(
t
,
e
){
this
.
checkList
=
t
&&
t
.
length
?
t
:[],
this
.
handleDetailData
()}},
mounted
:
function
(){
this
.
customDialog
=
this
.
showCustomDialog
,
this
.
getAllFields
()}},
m
=
{
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
:
"员工个人详情页展示字段设置"
,
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
(
"tips:添加后的字段将在员工个人详情页展示出来,个人敏感信息不建议添加"
)])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"custom-dialog-body"
},[
t
.
_l
(
t
.
customData
,
function
(
e
,
i
){
return
[
a
(
"div"
,{
key
:
i
,
staticClass
:
"detail-field-cell flex"
},[
a
(
"div"
,{
staticClass
:
"detail-field-left"
},[
t
.
_v
(
t
.
_s
(
e
.
fieldName
))]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"detail-field-right flex"
},[
a
(
"el-checkbox-group"
,{
staticClass
:
"flex flex-wrap"
,
on
:{
change
:
t
.
customChange
},
model
:{
value
:
e
.
checkList
,
callback
:
function
(
a
){
t
.
$set
(
e
,
"checkList"
,
a
)},
expression
:
"item.checkList"
}},
t
.
_l
(
e
.
children
,
function
(
e
,
i
){
return
a
(
"el-checkbox"
,{
key
:
e
.
fieldCode
+
i
,
attrs
:{
label
:
e
.
fieldCode
,
disabled
:
e
.
disable
,
name
:
"type"
}},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
fieldName
)
+
"
\
n "
)])}),
1
)],
1
)])]})],
2
),
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
h
=
a
(
"VU/8"
)(
u
,
m
,
!
1
,
function
(
t
){
a
(
"5S3y"
)},
"data-v-b285a954"
,
null
).
exports
,
v
=
{
name
:
"staffDetails"
,
data
:
function
(){
return
{
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"设置"
,
path
:
"/companyAddress"
},{
name
:
"通讯录信息"
,
path
:
"/staffDetails"
},{
name
:
"员工详细字段"
,
path
:
""
}],
fixData
:[
"clerkName"
,
"clerkPhone"
,
"groupName"
,
"positionName"
],
fixDataStore
:[
"clerkName"
,
"clerkPhone"
,
"groupName"
,
"positionName"
,
"clerkCode"
],
adminStruct
:{
name
:
"行政架构通讯录员工详情字段"
,
fixedList
:[],
defineList
:[]},
storeStruct
:{
name
:
"门店架构通讯录员工详情字段"
,
fixedList
:[],
defineList
:[]},
showCustomDialog
:
!
1
,
detailData
:[],
dataType
:
null
}},
computed
:{},
methods
:{
showDialogLayer
:
function
(
t
){
this
.
showCustomDialog
=!
0
,
this
.
dataType
=
t
,
this
.
detailData
=
1
===
t
?
this
.
adminStruct
.
fixedList
.
map
(
function
(
t
){
return
t
.
fields
}).
concat
(
this
.
adminStruct
.
defineList
.
map
(
function
(
t
){
return
t
.
fields
})):
this
.
storeStruct
.
fixedList
.
map
(
function
(
t
){
return
t
.
fields
}).
concat
(
this
.
storeStruct
.
defineList
.
map
(
function
(
t
){
return
t
.
fields
}))},
customHandleConfirm
:
function
(
t
){
if
(
this
.
showCustomDialog
=!
1
,
t
)
return
!
1
;
this
.
getSaveFields
(
this
.
dataType
)},
delField
:
function
(
t
,
e
,
a
,
i
){
var
s
=
this
;
s
.
$alert
(
"确定要删除?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
}).
then
(
function
(
o
){
o
.
value
;
s
.
postDlField
(
e
.
fields
,
i
,
a
,
t
)}).
catch
(
function
(){})},
postDlField
:
function
(
t
,
e
,
a
,
i
){
var
s
=
this
,
o
=
{
fields
:
t
,
type
:
e
};
Object
(
r
.
c
)(
"/haoban-manage-web/record/employee-show-field-delete.json"
,
o
).
then
(
function
(
t
){
var
e
=
t
.
data
;
if
(
1
==
e
.
errorCode
)
return
d
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
a
.
splice
(
i
,
1
);
f
.
a
.
errorMsg
(
e
)}).
catch
(
function
(
t
){
s
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getSaveFields
:
function
(
t
){
var
e
=
this
;
1
===
t
?(
e
.
adminStruct
.
fixedList
=
[],
e
.
adminStruct
.
defineList
=
[]):(
e
.
storeStruct
.
fixedList
=
[],
e
.
storeStruct
.
defineList
=
[]);
var
a
=
{
type
:
t
};
Object
(
r
.
c
)(
"/haoban-manage-web/record/employee-show-field-detail.json"
,
a
).
then
(
function
(
a
){
var
i
=
a
.
data
;
1
!=
i
.
errorCode
?
f
.
a
.
errorMsg
(
i
):
i
.
result
.
forEach
(
function
(
a
,
i
){
1
===
n
()(
t
)?
e
.
fixData
.
includes
(
a
.
fields
)?
e
.
adminStruct
.
fixedList
.
push
(
a
):
e
.
adminStruct
.
defineList
.
push
(
a
):
e
.
fixDataStore
.
includes
(
a
.
fields
)?
e
.
storeStruct
.
fixedList
.
push
(
a
):
e
.
storeStruct
.
defineList
.
push
(
a
)})}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
mounted
:
function
(){
s
.
a
.
all
([
this
.
getSaveFields
(
1
),
this
.
getSaveFields
(
2
)])},
components
:{
navCrumb
:
l
.
a
,
staffDetailField
:
h
}},
p
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"staffDetails-wrap common-set-wrap"
},[
a
(
"nav-crumb"
,{
attrs
:{
navpath
:
t
.
navpath
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"right-content"
},[
a
(
"div"
,{
staticClass
:
"right-box"
,
style
:{
height
:
t
.
$store
.
state
.
bgHeight
,
"overflow-y"
:
"auto"
}},[
a
(
"div"
,{
staticClass
:
"staffDetails-cell"
},[
a
(
"h2"
,{
staticClass
:
"m-b-25 font-w-500"
},[
t
.
_v
(
t
.
_s
(
t
.
adminStruct
.
name
))]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"staffDetails-cell-fixed"
},[
t
.
_l
(
t
.
adminStruct
.
fixedList
,
function
(
e
,
i
){
return
[
a
(
"el-button"
,{
key
:
"btn1"
+
i
,
staticClass
:
"staffDetails-cell-btn"
,
attrs
:{
disabled
:
""
}},[
t
.
_v
(
t
.
_s
(
e
.
fieldName
))])]})],
2
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"staffDetails-cell-add font-0"
},[
t
.
_l
(
t
.
adminStruct
.
defineList
,
function
(
e
,
i
){
return
[
a
(
"el-tag"
,{
key
:
"tag1"
+
i
,
staticClass
:
"staffDetails-cell-btn"
},[
t
.
_v
(
t
.
_s
(
e
.
fieldName
)
+
" "
),
a
(
"i"
,{
staticClass
:
"el-icon-circle-close"
,
on
:{
click
:
function
(
a
){
return
a
.
stopPropagation
(),
t
.
delField
(
i
,
e
,
t
.
adminStruct
.
defineList
,
1
)}}})])]}),
t
.
_v
(
" "
),
a
(
"el-button"
,{
staticClass
:
"el-tag m-l-8 staffDetails-cell-btn"
,
on
:{
click
:
function
(
e
){
return
e
.
stopPropagation
(),
t
.
showDialogLayer
(
1
)}}},[
a
(
"i"
,{
staticClass
:
"el-icon-plus"
}),
t
.
_v
(
"添加字段"
)])],
2
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"staffDetails-cell"
},[
a
(
"h2"
,{
staticClass
:
"m-b-25 font-w-500"
},[
t
.
_v
(
t
.
_s
(
t
.
storeStruct
.
name
))]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"staffDetails-cell-fixed"
},[
t
.
_l
(
t
.
storeStruct
.
fixedList
,
function
(
e
,
i
){
return
[
a
(
"el-button"
,{
key
:
"btn"
+
i
,
staticClass
:
"staffDetails-cell-btn"
,
attrs
:{
disabled
:
""
}},[
t
.
_v
(
t
.
_s
(
e
.
fieldName
))])]})],
2
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"staffDetails-cell-add font-0"
},[
t
.
_l
(
t
.
storeStruct
.
defineList
,
function
(
e
,
i
){
return
[
a
(
"el-tag"
,{
key
:
"tag"
+
i
,
staticClass
:
"staffDetails-cell-btn"
},[
t
.
_v
(
t
.
_s
(
e
.
fieldName
)
+
" "
),
a
(
"i"
,{
staticClass
:
"el-icon-circle-close"
,
on
:{
click
:
function
(
a
){
return
a
.
stopPropagation
(),
t
.
delField
(
i
,
e
,
t
.
storeStruct
.
defineList
,
2
)}}})])]}),
t
.
_v
(
" "
),
a
(
"el-button"
,{
staticClass
:
"el-tag m-l-8 staffDetails-cell-btn"
,
on
:{
click
:
function
(
e
){
return
e
.
stopPropagation
(),
t
.
showDialogLayer
(
2
)}}},[
a
(
"i"
,{
staticClass
:
"el-icon-plus"
}),
t
.
_v
(
"添加字段"
)])],
2
)])])]),
t
.
_v
(
" "
),
a
(
"vue-gic-footer"
),
t
.
_v
(
" "
),
a
(
"staff-detail-field"
,{
attrs
:{
detailData
:
t
.
detailData
,
showCustomDialog
:
t
.
showCustomDialog
,
dataType
:
t
.
dataType
},
on
:{
customHandleConfirm
:
t
.
customHandleConfirm
}})],
1
)},
staticRenderFns
:[]};
var
g
=
a
(
"VU/8"
)(
v
,
p
,
!
1
,
function
(
t
){
a
(
"Z46G"
)},
"data-v-575a9b1d"
,
null
);
e
.
default
=
g
.
exports
}});
\ No newline at end of file
webpackJsonp
([
23
],{
"5S3y"
:
function
(
t
,
e
){},
Z46G
:
function
(
t
,
e
){},
Zyzf
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
i
=
a
(
"//Fk"
),
s
=
a
.
n
(
i
),
o
=
a
(
"gBtx"
),
n
=
a
.
n
(
o
),
l
=
a
(
"3Xzz"
),
c
=
a
(
"PI0u"
),
r
=
a
(
"P9l9"
),
d
=
a
(
"3E4D"
),
f
=
a
(
"Ch4/"
),
u
=
{
name
:
"staff-detail-field"
,
props
:{
showCustomDialog
:{
type
:
Boolean
,
default
:
!
1
},
detailData
:{
type
:
Array
,
default
:
function
(){
return
[]}},
dataType
:{
type
:
Number
,
default
:
1
}},
data
:
function
(){
return
{
repProjectName
:
"gic-web"
,
customDialog
:
!
1
,
fixData
:[
"clerkName"
,
"clerkPhone"
,
"groupName"
,
"positionName"
],
fixDataStore
:[
"clerkName"
,
"clerkPhone"
,
"groupName"
,
"positionName"
,
"clerkCode"
],
customData
:[],
checkList
:[],
baseUrl
:
""
}},
beforeMount
:
function
(){
var
t
=
window
.
location
.
origin
;
"-1"
!=
t
.
indexOf
(
"localhost"
)?
this
.
baseUrl
=
"http://gicdev.demogic.com"
:
this
.
baseUrl
=
t
},
computed
:{},
methods
:{
handleCardClose
:
function
(){
this
.
customCancel
()},
customCancel
:
function
(){
this
.
customDialog
=!
1
,
this
.
$emit
(
"customHandleConfirm"
,
"hide"
)},
customConfirm
:
Object
(
c
.
a
)(
function
(){
this
.
checkList
=
this
.
customData
.
map
(
function
(
t
){
return
t
.
checkList
}).
flat
(),
this
.
saveFields
(
this
.
dataType
)},
500
),
customChange
:
function
(
t
){},
saveFields
:
function
(
t
){
var
e
=
this
,
a
=
{
fields
:
e
.
checkList
,
type
:
t
};
Object
(
r
.
c
)(
"/haoban-manage-web/record/employee-show-field-save.json"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
d
.
a
.
showmsg
(
"添加成功"
,
"success"
),
void
e
.
$emit
(
"customHandleConfirm"
);
f
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
console
.
log
(
t
),
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
treeData
:
function
(
t
){
var
e
=
t
.
filter
(
function
(
e
){
var
a
=
t
.
filter
(
function
(
t
){
return
e
.
fieldCode
==
t
.
parentCode
});
return
a
.
length
>
0
&&
(
e
.
children
=
a
),
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
},
getAllFields
:
function
(){
var
t
=
this
;
Object
(
r
.
c
)(
"/haoban-manage-web/record/employee-find-system-template.json"
,{}).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
!=
a
.
errorCode
?
f
.
a
.
errorMsg
(
a
):
t
.
handleAllFields
(
a
.
result
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
handleAllFields
:
function
(
t
){
var
e
=
this
.
treeData
(
t
);
e
.
forEach
(
function
(
t
,
e
){
t
.
checkList
=
[]}),
this
.
customData
=
e
},
handleDetailData
:
function
(){
var
t
=
this
;
t
.
customData
.
forEach
(
function
(
e
,
a
){
e
.
checkList
=
[],
e
.
children
.
forEach
(
function
(
a
,
i
){
t
.
checkList
.
includes
(
a
.
fieldCode
)
&&
e
.
checkList
.
push
(
a
.
fieldCode
),
a
.
disable
=
1
==
t
.
dataType
?
t
.
fixData
.
includes
(
a
.
fieldCode
):
t
.
fixDataStore
.
includes
(
a
.
fieldCode
)})})}},
watch
:{
showCustomDialog
:
function
(
t
,
e
){
this
.
customDialog
=
t
},
detailData
:
function
(
t
,
e
){
this
.
checkList
=
t
&&
t
.
length
?
t
:[],
this
.
handleDetailData
()}},
mounted
:
function
(){
this
.
customDialog
=
this
.
showCustomDialog
,
this
.
getAllFields
()}},
m
=
{
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
:
"员工个人详情页展示字段设置"
,
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
(
"tips:添加后的字段将在员工个人详情页展示出来,个人敏感信息不建议添加"
)])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"custom-dialog-body"
},[
t
.
_l
(
t
.
customData
,
function
(
e
,
i
){
return
[
a
(
"div"
,{
key
:
i
,
staticClass
:
"detail-field-cell flex"
},[
a
(
"div"
,{
staticClass
:
"detail-field-left"
},[
t
.
_v
(
t
.
_s
(
e
.
fieldName
))]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"detail-field-right flex"
},[
a
(
"el-checkbox-group"
,{
staticClass
:
"flex flex-wrap"
,
on
:{
change
:
t
.
customChange
},
model
:{
value
:
e
.
checkList
,
callback
:
function
(
a
){
t
.
$set
(
e
,
"checkList"
,
a
)},
expression
:
"item.checkList"
}},
t
.
_l
(
e
.
children
,
function
(
e
,
i
){
return
a
(
"el-checkbox"
,{
key
:
e
.
fieldCode
+
i
,
attrs
:{
label
:
e
.
fieldCode
,
disabled
:
e
.
disable
,
name
:
"type"
}},[
t
.
_v
(
"
\
n "
+
t
.
_s
(
e
.
fieldName
)
+
"
\
n "
)])}),
1
)],
1
)])]})],
2
),
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
h
=
a
(
"VU/8"
)(
u
,
m
,
!
1
,
function
(
t
){
a
(
"5S3y"
)},
"data-v-b285a954"
,
null
).
exports
,
v
=
{
name
:
"staffDetails"
,
data
:
function
(){
return
{
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"设置"
,
path
:
"/companyAddress"
},{
name
:
"通讯录信息"
,
path
:
"/staffDetails"
},{
name
:
"员工详细字段"
,
path
:
""
}],
fixData
:[
"clerkName"
,
"clerkPhone"
,
"groupName"
,
"positionName"
],
fixDataStore
:[
"clerkName"
,
"clerkPhone"
,
"groupName"
,
"positionName"
,
"clerkCode"
],
adminStruct
:{
name
:
"行政架构通讯录员工详情字段"
,
fixedList
:[],
defineList
:[]},
storeStruct
:{
name
:
"门店架构通讯录员工详情字段"
,
fixedList
:[],
defineList
:[]},
showCustomDialog
:
!
1
,
detailData
:[],
dataType
:
null
}},
computed
:{},
methods
:{
showDialogLayer
:
function
(
t
){
this
.
showCustomDialog
=!
0
,
this
.
dataType
=
t
,
this
.
detailData
=
1
===
t
?
this
.
adminStruct
.
fixedList
.
map
(
function
(
t
){
return
t
.
fields
}).
concat
(
this
.
adminStruct
.
defineList
.
map
(
function
(
t
){
return
t
.
fields
})):
this
.
storeStruct
.
fixedList
.
map
(
function
(
t
){
return
t
.
fields
}).
concat
(
this
.
storeStruct
.
defineList
.
map
(
function
(
t
){
return
t
.
fields
}))},
customHandleConfirm
:
function
(
t
){
if
(
this
.
showCustomDialog
=!
1
,
t
)
return
!
1
;
this
.
getSaveFields
(
this
.
dataType
)},
delField
:
function
(
t
,
e
,
a
,
i
){
var
s
=
this
;
s
.
$alert
(
"确定要删除?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
}).
then
(
function
(
o
){
o
.
value
;
s
.
postDlField
(
e
.
fields
,
i
,
a
,
t
)}).
catch
(
function
(){})},
postDlField
:
function
(
t
,
e
,
a
,
i
){
var
s
=
this
,
o
=
{
fields
:
t
,
type
:
e
};
Object
(
r
.
c
)(
"/haoban-manage-web/record/employee-show-field-delete.json"
,
o
).
then
(
function
(
t
){
var
e
=
t
.
data
;
if
(
1
==
e
.
errorCode
)
return
d
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
a
.
splice
(
i
,
1
);
f
.
a
.
errorMsg
(
e
)}).
catch
(
function
(
t
){
s
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getSaveFields
:
function
(
t
){
var
e
=
this
;
1
===
t
?(
e
.
adminStruct
.
fixedList
=
[],
e
.
adminStruct
.
defineList
=
[]):(
e
.
storeStruct
.
fixedList
=
[],
e
.
storeStruct
.
defineList
=
[]);
var
a
=
{
type
:
t
};
Object
(
r
.
c
)(
"/haoban-manage-web/record/employee-show-field-detail.json"
,
a
).
then
(
function
(
a
){
var
i
=
a
.
data
;
1
!=
i
.
errorCode
?
f
.
a
.
errorMsg
(
i
):
i
.
result
.
forEach
(
function
(
a
,
i
){
1
===
n
()(
t
)?
e
.
fixData
.
includes
(
a
.
fields
)?
e
.
adminStruct
.
fixedList
.
push
(
a
):
e
.
adminStruct
.
defineList
.
push
(
a
):
e
.
fixDataStore
.
includes
(
a
.
fields
)?
e
.
storeStruct
.
fixedList
.
push
(
a
):
e
.
storeStruct
.
defineList
.
push
(
a
)})}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
mounted
:
function
(){
s
.
a
.
all
([
this
.
getSaveFields
(
1
),
this
.
getSaveFields
(
2
)])},
components
:{
navCrumb
:
l
.
a
,
staffDetailField
:
h
}},
p
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"staffDetails-wrap common-set-wrap"
},[
a
(
"nav-crumb"
,{
attrs
:{
navpath
:
t
.
navpath
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"right-content"
},[
a
(
"div"
,{
staticClass
:
"right-box"
,
style
:{
height
:
t
.
$store
.
state
.
bgHeight
,
"overflow-y"
:
"auto"
}},[
a
(
"div"
,{
staticClass
:
"staffDetails-cell"
},[
a
(
"h2"
,{
staticClass
:
"m-b-25 font-w-500"
},[
t
.
_v
(
t
.
_s
(
t
.
adminStruct
.
name
))]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"staffDetails-cell-fixed"
},[
t
.
_l
(
t
.
adminStruct
.
fixedList
,
function
(
e
,
i
){
return
[
a
(
"el-button"
,{
key
:
"btn1"
+
i
,
staticClass
:
"staffDetails-cell-btn"
,
attrs
:{
disabled
:
""
}},[
t
.
_v
(
t
.
_s
(
e
.
fieldName
))])]})],
2
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"staffDetails-cell-add font-0"
},[
t
.
_l
(
t
.
adminStruct
.
defineList
,
function
(
e
,
i
){
return
[
a
(
"el-tag"
,{
key
:
"tag1"
+
i
,
staticClass
:
"staffDetails-cell-btn"
},[
t
.
_v
(
t
.
_s
(
e
.
fieldName
)
+
" "
),
a
(
"i"
,{
staticClass
:
"el-icon-circle-close"
,
on
:{
click
:
function
(
a
){
return
a
.
stopPropagation
(),
t
.
delField
(
i
,
e
,
t
.
adminStruct
.
defineList
,
1
)}}})])]}),
t
.
_v
(
" "
),
a
(
"el-button"
,{
staticClass
:
"el-tag m-l-8 staffDetails-cell-btn"
,
on
:{
click
:
function
(
e
){
return
e
.
stopPropagation
(),
t
.
showDialogLayer
(
1
)}}},[
a
(
"i"
,{
staticClass
:
"el-icon-plus"
}),
t
.
_v
(
"添加字段"
)])],
2
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"staffDetails-cell"
},[
a
(
"h2"
,{
staticClass
:
"m-b-25 font-w-500"
},[
t
.
_v
(
t
.
_s
(
t
.
storeStruct
.
name
))]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"staffDetails-cell-fixed"
},[
t
.
_l
(
t
.
storeStruct
.
fixedList
,
function
(
e
,
i
){
return
[
a
(
"el-button"
,{
key
:
"btn"
+
i
,
staticClass
:
"staffDetails-cell-btn"
,
attrs
:{
disabled
:
""
}},[
t
.
_v
(
t
.
_s
(
e
.
fieldName
))])]})],
2
),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"staffDetails-cell-add font-0"
},[
t
.
_l
(
t
.
storeStruct
.
defineList
,
function
(
e
,
i
){
return
[
a
(
"el-tag"
,{
key
:
"tag"
+
i
,
staticClass
:
"staffDetails-cell-btn"
},[
t
.
_v
(
t
.
_s
(
e
.
fieldName
)
+
" "
),
a
(
"i"
,{
staticClass
:
"el-icon-circle-close"
,
on
:{
click
:
function
(
a
){
return
a
.
stopPropagation
(),
t
.
delField
(
i
,
e
,
t
.
storeStruct
.
defineList
,
2
)}}})])]}),
t
.
_v
(
" "
),
a
(
"el-button"
,{
staticClass
:
"el-tag m-l-8 staffDetails-cell-btn"
,
on
:{
click
:
function
(
e
){
return
e
.
stopPropagation
(),
t
.
showDialogLayer
(
2
)}}},[
a
(
"i"
,{
staticClass
:
"el-icon-plus"
}),
t
.
_v
(
"添加字段"
)])],
2
)])])]),
t
.
_v
(
" "
),
a
(
"vue-gic-footer"
),
t
.
_v
(
" "
),
a
(
"staff-detail-field"
,{
attrs
:{
detailData
:
t
.
detailData
,
showCustomDialog
:
t
.
showCustomDialog
,
dataType
:
t
.
dataType
},
on
:{
customHandleConfirm
:
t
.
customHandleConfirm
}})],
1
)},
staticRenderFns
:[]};
var
g
=
a
(
"VU/8"
)(
v
,
p
,
!
1
,
function
(
t
){
a
(
"Z46G"
)},
"data-v-575a9b1d"
,
null
);
e
.
default
=
g
.
exports
}});
\ No newline at end of file
dist/static/js/2
3.58d15c02a6a00693ce76
.js
→
dist/static/js/2
4.324b388a5029325ec860
.js
View file @
34fd2959
webpackJsonp
([
23
],{
"/bNM"
:
function
(
t
,
e
){},
fLUB
:
function
(
t
,
e
){},
yuVF
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
s
=
a
(
"3Xzz"
),
i
=
a
(
"gBtx"
),
o
=
a
.
n
(
i
),
r
=
a
(
"mvHQ"
),
l
=
a
.
n
(
r
),
n
=
a
(
"c4uw"
),
p
=
a
(
"Ie7z"
),
c
=
a
(
"P9l9"
),
d
=
a
(
"3E4D"
),
u
=
a
(
"Ch4/"
),
m
=
{
name
:
"visiable-dialog"
,
props
:{
showDialog
:{
type
:
Boolean
,
default
:
!
1
},
appId
:{
type
:
String
,
default
:
""
},
appName
:{
type
:
String
,
default
:
""
}},
components
:{
vueSelectEmployee
:
n
.
a
,
vueSelectStore
:
p
.
a
},
data
:
function
(){
return
{
repProjectName
:
"haoban-manage-web"
,
customDialog
:
!
1
,
formData
:{
appId
:
this
.
appId
,
displayType
:
"0"
,
data
:[],
departList
:[],
storeList
:[]},
appScene
:
2
,
treeSet
:{
isSelectPerson
:
!
1
,
dialogVisible
:
!
1
,
isSingle
:
!
1
},
treeData
:{},
defaultSelection
:[],
changed
:
""
,
onlyPerson
:
!
1
,
selectType
:
""
,
defaultStoreList
:[],
storeTreeSet
:{
isSelectPerson
:
!
1
,
dialogVisible
:
!
1
,
isSingle
:
!
1
}}},
beforeMount
:
function
(){},
methods
:{
handleClose
:
function
(
t
){
t
(),
this
.
hideDialog
()},
customCancel
:
function
(){
this
.
hideDialog
()},
hideDialog
:
function
(){
this
.
customDialog
=!
1
,
this
.
$emit
(
"hideDialog"
)},
showDialogLayer
:
function
(
t
,
e
){
if
(
this
.
selectType
=
t
,
this
.
changed
=
t
,
"store"
===
t
)
return
this
.
defaultStoreList
=
e
,
void
(
this
.
storeTreeSet
=
{
dialogVisible
:
!
0
,
isSingle
:
!
1
,
isSelectPerson
:
!
0
});
this
.
treeSet
=
{
dialogVisible
:
!
0
,
isSingle
:
!
1
,
isSelectPerson
:
!
0
},
"people"
===
t
&&
(
this
.
onlyPerson
=!
1
,
this
.
treeSet
=
{
dialogVisible
:
!
0
,
isSingle
:
!
1
,
isSelectPerson
:
!
0
}),
this
.
defaultSelection
=
e
,
this
.
treeData
.
hasOwnProperty
(
"treeData"
)},
handleSelectedList
:
function
(
t
){
console
.
log
(
t
),
"store"
===
this
.
selectType
?
this
.
formData
.
storeList
=
t
:
this
.
formData
.
departList
=
t
},
delDepart
:
function
(
t
,
e
){
e
.
splice
(
t
,
1
)},
customConfirm
:
function
(){
if
(
0
!=
this
.
formData
.
displayType
)
if
(
this
.
formData
.
departList
.
length
||
this
.
formData
.
storeList
.
length
){
var
t
=
[];
this
.
formData
.
departList
.
length
&&
this
.
formData
.
departList
.
forEach
(
function
(
e
){
t
.
push
({
id
:
e
.
id
,
type
:
e
.
hasOwnProperty
(
"employeeClerkId"
)?
1
:
e
.
hasOwnProperty
(
"groupId"
)?
2
:
3
})}),
this
.
formData
.
storeList
.
length
&&
this
.
formData
.
storeList
.
forEach
(
function
(
e
){
t
.
push
({
id
:
e
.
id
,
type
:
e
.
hasOwnProperty
(
"employeeClerkId"
)?
1
:
e
.
hasOwnProperty
(
"groupId"
)?
2
:
3
})}),
this
.
setData
(
t
)}
else
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请选择可见人员"
});
else
this
.
setData
([])},
setData
:
function
(
t
){
var
e
=
this
,
a
=
{
appId
:
this
.
appId
,
displayType
:
parseInt
(
e
.
formData
.
displayType
),
data
:
l
()(
t
)};
Object
(
c
.
c
)(
"/haoban-manage-web/application-right-save"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
d
.
a
.
showmsg
(
"设置成功"
,
"success"
),
void
e
.
hideDialog
();
u
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getSetData
:
function
(){
var
t
=
this
,
e
=
{
appId
:
t
.
formData
.
appId
};
Object
(
c
.
c
)(
"/haoban-manage-web/application-right-detail"
,
e
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
t
.
formData
.
displayType
=
String
(
a
.
result
.
displayType
),
void
(
a
.
result
.
displayRelation
&&
a
.
result
.
displayRelation
.
length
&&
(
t
.
formData
.
departList
=
[],
t
.
formData
.
storeList
=
[],
a
.
result
.
displayRelation
.
forEach
(
function
(
e
){
2
===
o
()(
e
.
type
)
&&
(
e
.
groupId
=
e
.
id
),
e
.
lable
=
e
.
name
,
e
.
isStore
?
t
.
formData
.
storeList
.
push
(
e
):
t
.
formData
.
departList
.
push
(
e
)}),
t
.
defaultSelection
=
t
.
formData
.
departList
,
t
.
defaultStoreList
=
t
.
formData
.
storeList
));
u
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
showDialog
:
function
(
t
,
e
){
this
.
customDialog
=
t
},
appId
:
function
(
t
,
e
){
this
.
formData
.
appId
=
t
,
t
&&
this
.
getSetData
()}},
mounted
:
function
(){
this
.
customDialog
=
this
.
showDialog
,
this
.
appId
&&
this
.
getSetData
()}},
f
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
directives
:[{
name
:
"show"
,
rawName
:
"v-show"
,
value
:
t
.
customDialog
,
expression
:
"customDialog"
}]},[
a
(
"el-dialog"
,{
staticClass
:
"app-dialog"
,
attrs
:{
title
:
t
.
appName
+
"可见范围设置"
,
visible
:
t
.
customDialog
,
width
:
"476px"
,
"before-close"
:
t
.
handleClose
},
on
:{
"update:visible"
:
function
(
e
){
t
.
customDialog
=
e
}}},[
a
(
"div"
,{
staticClass
:
"app-dialog-body"
},[
a
(
"el-form"
,{
ref
:
"form"
,
attrs
:{
model
:
t
.
formData
,
"label-width"
:
"80px"
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"可见范围"
}},[
a
(
"div"
,[
a
(
"el-radio"
,{
attrs
:{
label
:
"0"
},
model
:{
value
:
t
.
formData
.
displayType
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formData
,
"displayType"
,
e
)},
expression
:
"formData.displayType"
}},[
t
.
_v
(
"全部员工"
)])],
1
),
t
.
_v
(
" "
),
a
(
"div"
,[
a
(
"el-radio"
,{
attrs
:{
label
:
"1"
},
model
:{
value
:
t
.
formData
.
displayType
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formData
,
"displayType"
,
e
)},
expression
:
"formData.displayType"
}},[
t
.
_v
(
"部分员工"
)])],
1
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
directives
:[{
name
:
"show"
,
rawName
:
"v-show"
,
value
:
1
==
t
.
formData
.
displayType
,
expression
:
"formData.displayType == 1"
}]},[
a
(
"el-form-item"
,{
staticClass
:
"m-b-0 m-t-10"
,
attrs
:{
label
:
"行政架构"
,
prop
:
"name"
}},[
a
(
"div"
,{
staticClass
:
"flex w-380 flex-column item-cell-select"
},[
a
(
"div"
,{
staticClass
:
"depart-item-wrap"
},[
a
(
"div"
,{
staticClass
:
"el-select el-select--large depart-item-content"
,
on
:{
click
:
function
(
e
){
return
t
.
showDialogLayer
(
"depart"
,
t
.
formData
.
departList
)}}},[
a
(
"div"
,{
staticClass
:
"el-select__tags"
,
staticStyle
:{
"max-width"
:
"181px"
}},[
a
(
"span"
,[
t
.
_l
(
t
.
formData
.
departList
,
function
(
e
,
s
){
return
[
a
(
"span"
,{
key
:
s
,
staticClass
:
"el-tag el-tag--info el-tag--small"
},[
a
(
"span"
,{
staticClass
:
"el-select__tags-text"
},[
t
.
_v
(
t
.
_s
(
e
.
name
))]),
a
(
"i"
,{
staticClass
:
"el-tag__close el-icon-close"
,
on
:{
click
:
function
(
e
){
return
e
.
stopPropagation
(),
t
.
delDepart
(
s
,
t
.
formData
.
departList
)}}})])]})],
2
)])])])])]),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
staticClass
:
"m-t-22"
,
attrs
:{
label
:
"门店架构"
,
prop
:
"name"
}},[
a
(
"div"
,{
staticClass
:
"flex w-380 flex-column item-cell-select"
},[
a
(
"div"
,{
staticClass
:
"depart-item-wrap"
},[
a
(
"div"
,{
staticClass
:
"el-select el-select--large depart-item-content"
,
staticStyle
:{
width
:
"213px"
},
on
:{
click
:
function
(
e
){
return
t
.
showDialogLayer
(
"store"
,
t
.
formData
.
storeList
)}}},[
a
(
"div"
,{
staticClass
:
"el-select__tags"
,
staticStyle
:{
"max-width"
:
"181px"
}},[
a
(
"span"
,[
t
.
_l
(
t
.
formData
.
storeList
,
function
(
e
,
s
){
return
[
a
(
"span"
,{
key
:
s
,
staticClass
:
"el-tag el-tag--info el-tag--small"
},[
a
(
"span"
,{
staticClass
:
"el-select__tags-text"
},[
t
.
_v
(
t
.
_s
(
e
.
name
||
e
.
storeName
))]),
a
(
"i"
,{
staticClass
:
"el-tag__close el-icon-close"
,
on
:{
click
:
function
(
e
){
return
e
.
stopPropagation
(),
t
.
delDepart
(
s
,
t
.
formData
.
storeList
)}}})])]})],
2
)])])])])])],
1
)],
1
)],
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
)]),
t
.
_v
(
" "
),
a
(
"vue-select-employee"
,{
attrs
:{
appScene
:
t
.
appScene
,
defaultSelection
:
t
.
defaultSelection
,
onlyPerson
:
t
.
onlyPerson
,
treeSet
:
t
.
treeSet
,
changed
:
t
.
changed
},
on
:{
handleSelectedList
:
t
.
handleSelectedList
}}),
t
.
_v
(
" "
),
a
(
"vue-select-store"
,{
ref
:
"storeSelector"
,
attrs
:{
appScene
:
t
.
appScene
,
treeSet
:
t
.
storeTreeSet
,
selectType
:
"all"
,
defaultList
:
t
.
defaultStoreList
},
on
:{
handleSelectedList
:
t
.
handleSelectedList
}})],
1
)},
staticRenderFns
:[]};
var
h
=
a
(
"VU/8"
)(
m
,
f
,
!
1
,
function
(
t
){
a
(
"/bNM"
)},
"data-v-50836fc9"
,
null
).
exports
,
g
=
{
name
:
"apps"
,
data
:
function
(){
return
{
tableH
:
window
.
screen
.
availHeight
-
464
-
126
+
"px"
,
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"企业应用"
,
path
:
""
}],
appList
:[],
roleCode
:
""
,
appName
:
""
,
appId
:
""
,
showDialog
:
!
1
}},
computed
:{},
methods
:{
showPeople
:
function
(
t
){
if
(
"master_admin"
!=
this
.
roleCode
&&
"admin"
!=
this
.
roleCode
)
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"暂无操作权限"
}),
!
1
;
this
.
appName
=
t
.
appName
,
this
.
appId
=
t
.
appId
,
this
.
showDialog
=!
0
},
hideDialog
:
function
(){
this
.
appName
=
""
,
this
.
showDialog
=!
1
},
changeSwitch
:
function
(
t
){
var
e
=
this
;
if
(
"master_admin"
!=
e
.
roleCode
)
return
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
"暂无操作权限"
}),
!
1
;
var
a
=
1
==
t
.
status
?
"关闭"
:
"开启"
;
e
.
$confirm
(
"确认"
+
a
+
"【"
+
t
.
appName
+
"】应用吗?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
e
.
postSwitch
(
t
)}).
catch
(
function
(){})},
postSwitch
:
function
(
t
){
var
e
=
this
,
a
=
{
appId
:
t
.
appId
,
status
:
2
==
t
.
status
?
1
:
2
};
Object
(
c
.
a
)(
"/haoban-manage-web/application-on-off"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
d
.
a
.
showmsg
(
"操作成功"
,
"success"
),
void
(
t
.
status
=
2
==
t
.
status
?
1
:
2
);
u
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
toAppDetail
:
function
(
t
){
0
==
t
.
appType
?
this
.
$router
.
push
(
t
.
appUrl
+
"?appId="
+
t
.
appId
+
"&appIcon="
+
t
.
appIcon
):
window
.
open
(
t
.
appUrl
)},
getAppList
:
function
(
t
){
var
e
=
this
;
Object
(
c
.
a
)(
"/haoban-manage-web/application-rigth-list"
,{}).
then
(
function
(
t
){
var
a
=
t
.
data
;
1
!=
a
.
errorCode
?
u
.
a
.
errorMsg
(
a
):
a
.
result
&&
a
.
result
.
appList
&&
(
e
.
appList
=
a
.
result
.
appList
,
e
.
roleCode
=
a
.
result
.
roleCode
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
mounted
:
function
(){
this
.
getAppList
()},
components
:{
navCrumb
:
s
.
a
,
visiableDialog
:
h
}},
v
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"apps-wrap common-set-wrap"
},[
a
(
"nav-crumb"
,{
attrs
:{
navpath
:
t
.
navpath
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"right-content"
},[
a
(
"div"
,{
staticClass
:
"right-box"
,
style
:{
"min-height"
:
t
.
$store
.
state
.
bgHeight
}},[
a
(
"div"
,{
staticClass
:
"apps-content"
},[
a
(
"div"
,{
staticClass
:
"apps-content-title"
},[
t
.
_v
(
"基础应用"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apps-content-body m-t-24"
},[
a
(
"ul"
,{
staticClass
:
"flex flex-row flex-wrap"
},
t
.
_l
(
t
.
appList
,
function
(
e
,
s
){
return
a
(
"li"
,{
key
:
e
.
appId
+
s
,
staticClass
:
"flex flex-align-center border-box flex"
,
on
:{
click
:
function
(
a
){
return
a
.
target
!==
a
.
currentTarget
?
null
:
t
.
toAppDetail
(
e
)}}},[
a
(
"span"
,{
staticClass
:
"square-item flex flex-align-center flex-pack-center"
,
style
:{
background
:
e
.
appBackgroudColor
},
on
:{
click
:
function
(
a
){
return
a
.
stopPropagation
(),
t
.
toAppDetail
(
e
)}}},[
a
(
"img"
,{
attrs
:{
src
:
e
.
appIcon
,
alt
:
""
}})]),
t
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"color-303133 font-16 p-l-8"
,
on
:{
click
:
function
(
a
){
return
a
.
target
!==
a
.
currentTarget
?
null
:
t
.
toAppDetail
(
e
)}}},[
t
.
_v
(
t
.
_s
(
e
.
appName
))]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"cell-arrow-down"
},[
a
(
"el-dropdown"
,{
staticClass
:
"app-cell-dropdown"
,
attrs
:{
trigger
:
"hover"
}},[
a
(
"span"
,{
staticClass
:
"el-dropdown-link"
},[
a
(
"i"
,{
staticClass
:
"el-icon-more el-icon--right color-909399"
})]),
t
.
_v
(
" "
),
a
(
"el-dropdown-menu"
,{
attrs
:{
slot
:
"dropdown"
},
slot
:
"dropdown"
},[
a
(
"el-dropdown-item"
,{
staticClass
:
"p-0"
},[
a
(
"span"
,{
on
:{
click
:
function
(
a
){
return
a
.
stopPropagation
(),
t
.
showPeople
(
e
)}}},[
t
.
_v
(
"可见人群"
)])]),
t
.
_v
(
" "
),
a
(
"el-dropdown-item"
,{
staticClass
:
"p-0"
},[
a
(
"span"
,{
on
:{
click
:
function
(
a
){
return
a
.
stopPropagation
(),
t
.
changeSwitch
(
e
)}}},[
t
.
_v
(
t
.
_s
(
1
==
e
.
status
?
"停用"
:
"启用"
))])])],
1
)],
1
)],
1
)])}),
0
)])])])]),
t
.
_v
(
" "
),
a
(
"vue-gic-footer"
),
t
.
_v
(
" "
),
a
(
"visiableDialog"
,{
attrs
:{
appId
:
t
.
appId
,
appName
:
t
.
appName
,
showDialog
:
t
.
showDialog
},
on
:{
hideDialog
:
t
.
hideDialog
}})],
1
)},
staticRenderFns
:[]};
var
D
=
a
(
"VU/8"
)(
g
,
v
,
!
1
,
function
(
t
){
a
(
"fLUB"
)},
"data-v-7b763ebe"
,
null
);
e
.
default
=
D
.
exports
}});
\ No newline at end of file
webpackJsonp
([
24
],{
"/bNM"
:
function
(
t
,
e
){},
fLUB
:
function
(
t
,
e
){},
yuVF
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
s
=
a
(
"3Xzz"
),
i
=
a
(
"gBtx"
),
o
=
a
.
n
(
i
),
r
=
a
(
"mvHQ"
),
l
=
a
.
n
(
r
),
n
=
a
(
"c4uw"
),
p
=
a
(
"Ie7z"
),
c
=
a
(
"P9l9"
),
d
=
a
(
"3E4D"
),
u
=
a
(
"Ch4/"
),
m
=
{
name
:
"visiable-dialog"
,
props
:{
showDialog
:{
type
:
Boolean
,
default
:
!
1
},
appId
:{
type
:
String
,
default
:
""
},
appName
:{
type
:
String
,
default
:
""
}},
components
:{
vueSelectEmployee
:
n
.
a
,
vueSelectStore
:
p
.
a
},
data
:
function
(){
return
{
repProjectName
:
"haoban-manage-web"
,
customDialog
:
!
1
,
formData
:{
appId
:
this
.
appId
,
displayType
:
"0"
,
data
:[],
departList
:[],
storeList
:[]},
appScene
:
2
,
treeSet
:{
isSelectPerson
:
!
1
,
dialogVisible
:
!
1
,
isSingle
:
!
1
},
treeData
:{},
defaultSelection
:[],
changed
:
""
,
onlyPerson
:
!
1
,
selectType
:
""
,
defaultStoreList
:[],
storeTreeSet
:{
isSelectPerson
:
!
1
,
dialogVisible
:
!
1
,
isSingle
:
!
1
}}},
beforeMount
:
function
(){},
methods
:{
handleClose
:
function
(
t
){
t
(),
this
.
hideDialog
()},
customCancel
:
function
(){
this
.
hideDialog
()},
hideDialog
:
function
(){
this
.
customDialog
=!
1
,
this
.
$emit
(
"hideDialog"
)},
showDialogLayer
:
function
(
t
,
e
){
if
(
this
.
selectType
=
t
,
this
.
changed
=
t
,
"store"
===
t
)
return
this
.
defaultStoreList
=
e
,
void
(
this
.
storeTreeSet
=
{
dialogVisible
:
!
0
,
isSingle
:
!
1
,
isSelectPerson
:
!
0
});
this
.
treeSet
=
{
dialogVisible
:
!
0
,
isSingle
:
!
1
,
isSelectPerson
:
!
0
},
"people"
===
t
&&
(
this
.
onlyPerson
=!
1
,
this
.
treeSet
=
{
dialogVisible
:
!
0
,
isSingle
:
!
1
,
isSelectPerson
:
!
0
}),
this
.
defaultSelection
=
e
,
this
.
treeData
.
hasOwnProperty
(
"treeData"
)},
handleSelectedList
:
function
(
t
){
console
.
log
(
t
),
"store"
===
this
.
selectType
?
this
.
formData
.
storeList
=
t
:
this
.
formData
.
departList
=
t
},
delDepart
:
function
(
t
,
e
){
e
.
splice
(
t
,
1
)},
customConfirm
:
function
(){
if
(
0
!=
this
.
formData
.
displayType
)
if
(
this
.
formData
.
departList
.
length
||
this
.
formData
.
storeList
.
length
){
var
t
=
[];
this
.
formData
.
departList
.
length
&&
this
.
formData
.
departList
.
forEach
(
function
(
e
){
t
.
push
({
id
:
e
.
id
,
type
:
e
.
hasOwnProperty
(
"employeeClerkId"
)?
1
:
e
.
hasOwnProperty
(
"groupId"
)?
2
:
3
})}),
this
.
formData
.
storeList
.
length
&&
this
.
formData
.
storeList
.
forEach
(
function
(
e
){
t
.
push
({
id
:
e
.
id
,
type
:
e
.
hasOwnProperty
(
"employeeClerkId"
)?
1
:
e
.
hasOwnProperty
(
"groupId"
)?
2
:
3
})}),
this
.
setData
(
t
)}
else
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请选择可见人员"
});
else
this
.
setData
([])},
setData
:
function
(
t
){
var
e
=
this
,
a
=
{
appId
:
this
.
appId
,
displayType
:
parseInt
(
e
.
formData
.
displayType
),
data
:
l
()(
t
)};
Object
(
c
.
c
)(
"/haoban-manage-web/application-right-save"
,
a
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
d
.
a
.
showmsg
(
"设置成功"
,
"success"
),
void
e
.
hideDialog
();
u
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getSetData
:
function
(){
var
t
=
this
,
e
=
{
appId
:
t
.
formData
.
appId
};
Object
(
c
.
c
)(
"/haoban-manage-web/application-right-detail"
,
e
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
t
.
formData
.
displayType
=
String
(
a
.
result
.
displayType
),
void
(
a
.
result
.
displayRelation
&&
a
.
result
.
displayRelation
.
length
&&
(
t
.
formData
.
departList
=
[],
t
.
formData
.
storeList
=
[],
a
.
result
.
displayRelation
.
forEach
(
function
(
e
){
2
===
o
()(
e
.
type
)
&&
(
e
.
groupId
=
e
.
id
),
e
.
lable
=
e
.
name
,
e
.
isStore
?
t
.
formData
.
storeList
.
push
(
e
):
t
.
formData
.
departList
.
push
(
e
)}),
t
.
defaultSelection
=
t
.
formData
.
departList
,
t
.
defaultStoreList
=
t
.
formData
.
storeList
));
u
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
showDialog
:
function
(
t
,
e
){
this
.
customDialog
=
t
},
appId
:
function
(
t
,
e
){
this
.
formData
.
appId
=
t
,
t
&&
this
.
getSetData
()}},
mounted
:
function
(){
this
.
customDialog
=
this
.
showDialog
,
this
.
appId
&&
this
.
getSetData
()}},
f
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
directives
:[{
name
:
"show"
,
rawName
:
"v-show"
,
value
:
t
.
customDialog
,
expression
:
"customDialog"
}]},[
a
(
"el-dialog"
,{
staticClass
:
"app-dialog"
,
attrs
:{
title
:
t
.
appName
+
"可见范围设置"
,
visible
:
t
.
customDialog
,
width
:
"476px"
,
"before-close"
:
t
.
handleClose
},
on
:{
"update:visible"
:
function
(
e
){
t
.
customDialog
=
e
}}},[
a
(
"div"
,{
staticClass
:
"app-dialog-body"
},[
a
(
"el-form"
,{
ref
:
"form"
,
attrs
:{
model
:
t
.
formData
,
"label-width"
:
"80px"
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"可见范围"
}},[
a
(
"div"
,[
a
(
"el-radio"
,{
attrs
:{
label
:
"0"
},
model
:{
value
:
t
.
formData
.
displayType
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formData
,
"displayType"
,
e
)},
expression
:
"formData.displayType"
}},[
t
.
_v
(
"全部员工"
)])],
1
),
t
.
_v
(
" "
),
a
(
"div"
,[
a
(
"el-radio"
,{
attrs
:{
label
:
"1"
},
model
:{
value
:
t
.
formData
.
displayType
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formData
,
"displayType"
,
e
)},
expression
:
"formData.displayType"
}},[
t
.
_v
(
"部分员工"
)])],
1
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
directives
:[{
name
:
"show"
,
rawName
:
"v-show"
,
value
:
1
==
t
.
formData
.
displayType
,
expression
:
"formData.displayType == 1"
}]},[
a
(
"el-form-item"
,{
staticClass
:
"m-b-0 m-t-10"
,
attrs
:{
label
:
"行政架构"
,
prop
:
"name"
}},[
a
(
"div"
,{
staticClass
:
"flex w-380 flex-column item-cell-select"
},[
a
(
"div"
,{
staticClass
:
"depart-item-wrap"
},[
a
(
"div"
,{
staticClass
:
"el-select el-select--large depart-item-content"
,
on
:{
click
:
function
(
e
){
return
t
.
showDialogLayer
(
"depart"
,
t
.
formData
.
departList
)}}},[
a
(
"div"
,{
staticClass
:
"el-select__tags"
,
staticStyle
:{
"max-width"
:
"181px"
}},[
a
(
"span"
,[
t
.
_l
(
t
.
formData
.
departList
,
function
(
e
,
s
){
return
[
a
(
"span"
,{
key
:
s
,
staticClass
:
"el-tag el-tag--info el-tag--small"
},[
a
(
"span"
,{
staticClass
:
"el-select__tags-text"
},[
t
.
_v
(
t
.
_s
(
e
.
name
))]),
a
(
"i"
,{
staticClass
:
"el-tag__close el-icon-close"
,
on
:{
click
:
function
(
e
){
return
e
.
stopPropagation
(),
t
.
delDepart
(
s
,
t
.
formData
.
departList
)}}})])]})],
2
)])])])])]),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
staticClass
:
"m-t-22"
,
attrs
:{
label
:
"门店架构"
,
prop
:
"name"
}},[
a
(
"div"
,{
staticClass
:
"flex w-380 flex-column item-cell-select"
},[
a
(
"div"
,{
staticClass
:
"depart-item-wrap"
},[
a
(
"div"
,{
staticClass
:
"el-select el-select--large depart-item-content"
,
staticStyle
:{
width
:
"213px"
},
on
:{
click
:
function
(
e
){
return
t
.
showDialogLayer
(
"store"
,
t
.
formData
.
storeList
)}}},[
a
(
"div"
,{
staticClass
:
"el-select__tags"
,
staticStyle
:{
"max-width"
:
"181px"
}},[
a
(
"span"
,[
t
.
_l
(
t
.
formData
.
storeList
,
function
(
e
,
s
){
return
[
a
(
"span"
,{
key
:
s
,
staticClass
:
"el-tag el-tag--info el-tag--small"
},[
a
(
"span"
,{
staticClass
:
"el-select__tags-text"
},[
t
.
_v
(
t
.
_s
(
e
.
name
||
e
.
storeName
))]),
a
(
"i"
,{
staticClass
:
"el-tag__close el-icon-close"
,
on
:{
click
:
function
(
e
){
return
e
.
stopPropagation
(),
t
.
delDepart
(
s
,
t
.
formData
.
storeList
)}}})])]})],
2
)])])])])])],
1
)],
1
)],
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
)]),
t
.
_v
(
" "
),
a
(
"vue-select-employee"
,{
attrs
:{
appScene
:
t
.
appScene
,
defaultSelection
:
t
.
defaultSelection
,
onlyPerson
:
t
.
onlyPerson
,
treeSet
:
t
.
treeSet
,
changed
:
t
.
changed
},
on
:{
handleSelectedList
:
t
.
handleSelectedList
}}),
t
.
_v
(
" "
),
a
(
"vue-select-store"
,{
ref
:
"storeSelector"
,
attrs
:{
appScene
:
t
.
appScene
,
treeSet
:
t
.
storeTreeSet
,
selectType
:
"all"
,
defaultList
:
t
.
defaultStoreList
},
on
:{
handleSelectedList
:
t
.
handleSelectedList
}})],
1
)},
staticRenderFns
:[]};
var
h
=
a
(
"VU/8"
)(
m
,
f
,
!
1
,
function
(
t
){
a
(
"/bNM"
)},
"data-v-50836fc9"
,
null
).
exports
,
g
=
{
name
:
"apps"
,
data
:
function
(){
return
{
tableH
:
window
.
screen
.
availHeight
-
464
-
126
+
"px"
,
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"企业应用"
,
path
:
""
}],
appList
:[],
roleCode
:
""
,
appName
:
""
,
appId
:
""
,
showDialog
:
!
1
}},
computed
:{},
methods
:{
showPeople
:
function
(
t
){
if
(
"master_admin"
!=
this
.
roleCode
&&
"admin"
!=
this
.
roleCode
)
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"暂无操作权限"
}),
!
1
;
this
.
appName
=
t
.
appName
,
this
.
appId
=
t
.
appId
,
this
.
showDialog
=!
0
},
hideDialog
:
function
(){
this
.
appName
=
""
,
this
.
showDialog
=!
1
},
changeSwitch
:
function
(
t
){
var
e
=
this
;
if
(
"master_admin"
!=
e
.
roleCode
)
return
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
"暂无操作权限"
}),
!
1
;
var
a
=
1
==
t
.
status
?
"关闭"
:
"开启"
;
e
.
$confirm
(
"确认"
+
a
+
"【"
+
t
.
appName
+
"】应用吗?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
e
.
postSwitch
(
t
)}).
catch
(
function
(){})},
postSwitch
:
function
(
t
){
var
e
=
this
,
a
=
{
appId
:
t
.
appId
,
status
:
2
==
t
.
status
?
1
:
2
};
Object
(
c
.
a
)(
"/haoban-manage-web/application-on-off"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
d
.
a
.
showmsg
(
"操作成功"
,
"success"
),
void
(
t
.
status
=
2
==
t
.
status
?
1
:
2
);
u
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
toAppDetail
:
function
(
t
){
0
==
t
.
appType
?
this
.
$router
.
push
(
t
.
appUrl
+
"?appId="
+
t
.
appId
+
"&appIcon="
+
t
.
appIcon
):
window
.
open
(
t
.
appUrl
)},
getAppList
:
function
(
t
){
var
e
=
this
;
Object
(
c
.
a
)(
"/haoban-manage-web/application-rigth-list"
,{}).
then
(
function
(
t
){
var
a
=
t
.
data
;
1
!=
a
.
errorCode
?
u
.
a
.
errorMsg
(
a
):
a
.
result
&&
a
.
result
.
appList
&&
(
e
.
appList
=
a
.
result
.
appList
,
e
.
roleCode
=
a
.
result
.
roleCode
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
mounted
:
function
(){
this
.
getAppList
()},
components
:{
navCrumb
:
s
.
a
,
visiableDialog
:
h
}},
v
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"apps-wrap common-set-wrap"
},[
a
(
"nav-crumb"
,{
attrs
:{
navpath
:
t
.
navpath
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"right-content"
},[
a
(
"div"
,{
staticClass
:
"right-box"
,
style
:{
"min-height"
:
t
.
$store
.
state
.
bgHeight
}},[
a
(
"div"
,{
staticClass
:
"apps-content"
},[
a
(
"div"
,{
staticClass
:
"apps-content-title"
},[
t
.
_v
(
"基础应用"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apps-content-body m-t-24"
},[
a
(
"ul"
,{
staticClass
:
"flex flex-row flex-wrap"
},
t
.
_l
(
t
.
appList
,
function
(
e
,
s
){
return
a
(
"li"
,{
key
:
e
.
appId
+
s
,
staticClass
:
"flex flex-align-center border-box flex"
,
on
:{
click
:
function
(
a
){
return
a
.
target
!==
a
.
currentTarget
?
null
:
t
.
toAppDetail
(
e
)}}},[
a
(
"span"
,{
staticClass
:
"square-item flex flex-align-center flex-pack-center"
,
style
:{
background
:
e
.
appBackgroudColor
},
on
:{
click
:
function
(
a
){
return
a
.
stopPropagation
(),
t
.
toAppDetail
(
e
)}}},[
a
(
"img"
,{
attrs
:{
src
:
e
.
appIcon
,
alt
:
""
}})]),
t
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"color-303133 font-16 p-l-8"
,
on
:{
click
:
function
(
a
){
return
a
.
target
!==
a
.
currentTarget
?
null
:
t
.
toAppDetail
(
e
)}}},[
t
.
_v
(
t
.
_s
(
e
.
appName
))]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"cell-arrow-down"
},[
a
(
"el-dropdown"
,{
staticClass
:
"app-cell-dropdown"
,
attrs
:{
trigger
:
"hover"
}},[
a
(
"span"
,{
staticClass
:
"el-dropdown-link"
},[
a
(
"i"
,{
staticClass
:
"el-icon-more el-icon--right color-909399"
})]),
t
.
_v
(
" "
),
a
(
"el-dropdown-menu"
,{
attrs
:{
slot
:
"dropdown"
},
slot
:
"dropdown"
},[
a
(
"el-dropdown-item"
,{
staticClass
:
"p-0"
},[
a
(
"span"
,{
on
:{
click
:
function
(
a
){
return
a
.
stopPropagation
(),
t
.
showPeople
(
e
)}}},[
t
.
_v
(
"可见人群"
)])]),
t
.
_v
(
" "
),
a
(
"el-dropdown-item"
,{
staticClass
:
"p-0"
},[
a
(
"span"
,{
on
:{
click
:
function
(
a
){
return
a
.
stopPropagation
(),
t
.
changeSwitch
(
e
)}}},[
t
.
_v
(
t
.
_s
(
1
==
e
.
status
?
"停用"
:
"启用"
))])])],
1
)],
1
)],
1
)])}),
0
)])])])]),
t
.
_v
(
" "
),
a
(
"vue-gic-footer"
),
t
.
_v
(
" "
),
a
(
"visiableDialog"
,{
attrs
:{
appId
:
t
.
appId
,
appName
:
t
.
appName
,
showDialog
:
t
.
showDialog
},
on
:{
hideDialog
:
t
.
hideDialog
}})],
1
)},
staticRenderFns
:[]};
var
D
=
a
(
"VU/8"
)(
g
,
v
,
!
1
,
function
(
t
){
a
(
"fLUB"
)},
"data-v-7b763ebe"
,
null
);
e
.
default
=
D
.
exports
}});
\ No newline at end of file
dist/static/js/24.66e234669fe461776150.js
deleted
100644 → 0
View file @
afb5ff0d
webpackJsonp
([
24
],{
BEq6
:
function
(
e
,
t
){},
OVYO
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
i
=
a
(
"Ke24"
),
n
=
a
(
"fPyK"
),
s
=
a
(
"P9l9"
),
r
=
{
name
:
"noticeList"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}},
activeGroupId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
topMenuData
:[{
id
:
"1"
,
name
:
"企业公告列表"
}],
activeId
:
"1"
,
activeBrand
:
this
.
brandId
,
activeGroup
:
this
.
activeGroupId
,
searchTitle
:
""
,
dateValue
:
""
,
startTime
:
""
,
endTime
:
""
,
tableData
:[],
pageSize
:
10
,
currentPage
:
1
,
totalCount
:
0
,
noReadCount
:
0
,
readCount
:
0
,
readList
:[],
noReadList
:[],
loading
:
!
1
,
dialogNoticeVisible
:
!
1
,
dialogVisible
:
!
1
,
defaultImg
:
a
(
"mt/x"
)}},
filters
:{
formatTimeYMD
:
function
(
e
){
var
t
=
new
Date
(
e
),
a
=
t
.
getMonth
()
+
1
,
i
=
t
.
getDate
()
<
10
?
"0"
+
t
.
getDate
():
t
.
getDate
(),
n
=
a
<
10
?
"0"
+
a
:
a
;
return
t
.
getFullYear
()
+
"-"
+
n
+
"-"
+
i
},
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
.
getNoticeList
())},
activeGroupId
:
function
(
e
,
t
){
e
&&
(
this
.
activeGroup
=
e
)}},
methods
:{
getNoticeList
:
function
(){
var
e
=
this
;
this
.
loading
=!
0
;
var
t
=
{
startTime
:
this
.
startTime
,
brandId
:
this
.
activeBrand
,
title
:
this
.
searchTitle
,
endTime
:
this
.
endTime
,
currentPage
:
this
.
currentPage
,
pageSize
:
this
.
pageSize
};
Object
(
s
.
a
)(
"/haoban-app-announcement-web/announcement-list"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
e
.
loading
=!
1
,
1
==
a
.
errorCode
&&
(
e
.
tableData
=
a
.
result
.
result
,
e
.
totalCount
=
a
.
result
.
totalCount
)})},
changeDate
:
function
(
e
){
this
.
startTime
=
e
[
0
],
this
.
endTime
=
e
[
1
],
this
.
currentPage
=
1
,
this
.
getNoticeList
()},
searchNotice
:
function
(){
this
.
currentPage
=
1
,
this
.
getNoticeList
()},
delNotice
:
function
(
e
,
t
){
var
a
=
this
;
this
.
$confirm
(
"是否要删除选中的公告?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
var
i
=
{
announcementId
:
e
};
Object
(
s
.
a
)(
"/haoban-app-announcement-web/announcement-delete"
,
i
).
then
(
function
(
e
){
var
i
=
e
.
data
;
1
==
i
.
errorCode
?(
a
.
totalCount
--
,
a
.
tableData
.
splice
(
t
,
1
),
0
==
a
.
tableData
.
length
&&
a
.
currentPage
>
1
&&
a
.
getNoticeList
(),
a
.
$message
.
success
(
"删除成功"
)):
a
.
$message
.
error
(
i
.
message
)})}).
catch
(
function
(){})},
readDetail
:
function
(
e
){
var
t
=
this
;
t
.
dialogNoticeVisible
=!
0
;
var
a
=
{
announcementId
:
e
};
Object
(
s
.
a
)(
"/haoban-app-announcement-web/announcement-detail"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
==
a
.
errorCode
?(
t
.
noReadList
=
a
.
result
.
noReadEmployeeList
,
t
.
readList
=
a
.
result
.
employeeList
,
t
.
readCount
=
a
.
result
.
readCount
,
t
.
noReadCount
=
a
.
result
.
noReadCount
):
t
.
$message
.
error
(
a
.
message
)})},
handleSizeChange
:
function
(
e
){
this
.
pageSize
=
e
,
this
.
getNoticeList
()},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getNoticeList
()},
handlePreview
:
function
(
e
){
this
.
$refs
.
qrcodePreview
.
qrcode
(
e
),
this
.
dialogVisible
=!
0
},
addNotice
:
function
(){
this
.
$router
.
push
(
"/addNotice"
)}},
mounted
:
function
(){
this
.
activeBrand
=
this
.
brandId
,
this
.
brandId
&&
this
.
getNoticeList
()},
components
:{
commonDetailTop
:
i
.
a
,
qrcodeDialog
:
n
.
a
}},
o
=
{
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
:{
placeholder
:
"请输入公告标题"
,
"prefix-icon"
:
"el-icon-search"
},
nativeOn
:{
keyup
:
function
(
t
){
return
!
t
.
type
.
indexOf
(
"key"
)
&&
e
.
_k
(
t
.
keyCode
,
"enter"
,
13
,
t
.
key
,
"Enter"
)?
null
:
e
.
searchNotice
(
t
)}},
model
:{
value
:
e
.
searchTitle
,
callback
:
function
(
t
){
e
.
searchTitle
=
t
},
expression
:
"searchTitle"
}}),
e
.
_v
(
" "
),
a
(
"el-date-picker"
,{
staticClass
:
"search-date"
,
attrs
:{
format
:
"yyyy-MM-dd"
,
"value-format"
:
"yyyy-MM-dd"
,
type
:
"daterange"
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
},
on
:{
change
:
e
.
changeDate
},
model
:{
value
:
e
.
dateValue
,
callback
:
function
(
t
){
e
.
dateValue
=
t
},
expression
:
"dateValue"
}}),
e
.
_v
(
" "
),
a
(
"el-button"
,{
staticClass
:
"fr"
,
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
addNotice
}},[
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
:
"title"
,
label
:
"公告标题"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"name"
,
label
:
"公告封面"
,
width
:
"120"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"notice-img"
},[
a
(
"img"
,{
attrs
:{
src
:
t
.
row
.
imgUrl
?
t
.
row
.
imgUrl
:
e
.
defaultImg
,
alt
:
""
}})])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"content"
,
label
:
"公告内容"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"p"
,{
staticClass
:
"notice-content-wrap"
,
attrs
:{
title
:
t
.
row
.
content
}},[
e
.
_v
(
e
.
_s
(
t
.
row
.
content
))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"address"
,
label
:
"读取情况"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
return
e
.
readDetail
(
t
.
row
.
announcementId
)}}},[
e
.
_v
(
e
.
_s
(
t
.
row
.
readCount
)
+
"/"
+
e
.
_s
(
t
.
row
.
sendCount
))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"address"
,
label
:
"发布时间"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
t
.
row
.
sendTime
?
a
(
"div"
,{
staticClass
:
"time-wrap"
},[
a
(
"p"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeYMD"
)(
t
.
row
.
sendTime
)))]),
e
.
_v
(
" "
),
a
(
"p"
,[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeHMS"
)(
t
.
row
.
sendTime
)))])]):
a
(
"div"
,[
e
.
_v
(
"--"
)])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"opr"
,
label
:
"操作"
,
width
:
"100"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
return
e
.
handlePreview
(
t
.
row
.
announcementId
)}}},[
e
.
_v
(
"预览"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
return
e
.
delNotice
(
t
.
row
.
announcementId
,
t
.
$index
)}}},[
e
.
_v
(
"删除"
)])]}}])})],
1
),
e
.
_v
(
" "
),
e
.
totalCount
>
0
?
a
(
"div"
,{
staticClass
:
"pagination"
},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"page-sizes"
:[
10
,
20
,
30
,
40
],
"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
(
"el-dialog"
,{
attrs
:{
title
:
"读取情况"
,
visible
:
e
.
dialogNoticeVisible
,
width
:
"618px"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
dialogNoticeVisible
=
t
}}},[
a
(
"div"
,{
staticClass
:
"read-list-wrap"
},[
a
(
"div"
,{
staticClass
:
"read-list-lt"
},[
a
(
"div"
,{
staticClass
:
"read-list-title"
},[
e
.
_v
(
"已读("
+
e
.
_s
(
e
.
readCount
)
+
")"
)]),
e
.
_v
(
" "
),
e
.
readList
.
length
>
0
?
a
(
"ul"
,{
staticClass
:
"read-list"
},
e
.
_l
(
e
.
readList
,
function
(
t
,
i
){
return
a
(
"li"
,{
key
:
i
},[
e
.
_v
(
e
.
_s
(
t
))])}),
0
):
a
(
"div"
,{
staticClass
:
"no-read-list-data"
},[
e
.
_v
(
"暂无数据"
)])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"read-list-rt"
},[
a
(
"div"
,{
staticClass
:
"read-list-title"
},[
e
.
_v
(
"未读("
+
e
.
_s
(
e
.
noReadCount
)
+
")"
)]),
e
.
_v
(
" "
),
e
.
noReadList
.
length
>
0
?
a
(
"ul"
,{
staticClass
:
"read-list"
},
e
.
_l
(
e
.
noReadList
,
function
(
t
,
i
){
return
a
(
"li"
,{
key
:
i
},[
e
.
_v
(
e
.
_s
(
t
))])}),
0
):
a
(
"div"
,{
staticClass
:
"no-read-list-data"
},[
e
.
_v
(
"暂无数据"
)])])])]),
e
.
_v
(
" "
),
a
(
"qrcode-dialog"
,{
ref
:
"qrcodePreview"
,
model
:{
value
:
e
.
dialogVisible
,
callback
:
function
(
t
){
e
.
dialogVisible
=
t
},
expression
:
"dialogVisible"
}}),
e
.
_v
(
" "
),
a
(
"vue-gic-footer"
)],
1
)},
staticRenderFns
:[]};
var
c
=
a
(
"VU/8"
)(
r
,
o
,
!
1
,
function
(
e
){
a
(
"BEq6"
)},
"data-v-3b8f2182"
,
null
);
t
.
default
=
c
.
exports
},
"mt/x"
:
function
(
e
,
t
){
e
.
exports
=
"data:image/jpeg;base64,iVBORw0KGgoAAAANSUhEUgAAANwAAADcCAYAAAAbWs+BAAAbLklEQ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+iwJ0AP0gx82NUvD5QqnTwjr08LxFGCYaugYuJC9M4zlfEFLgTcruI8PUugG0ZsC2j9UOiTwkhkOcl4iSDqSuYjh0MB8fxrPYcCtyJuT/OtFgn4AIwjPpYTZt9QCrOkaY50qyAY6qYjl14bjf7SO4aBe6E+UGKIMrhhyk0TYVt1rPePoqhK87rW1GTDHnBcDFxMBqYvSzPeg8KHEFRVojTAn6QYhVmPw7wqqqyuU5LftUMKABUrAJjFVhVoSgZiqK+zWY6duDa+ta936eCAkce4UIginOEcY40Zwjj/Efgmr7WB1HrvzgX9a2tFUfFOTzHgGlocCwNjnW6IXuIAkdeVC8FOVj14OvmOqiq4r8HUJKgKDIMXYGuKdBV5STP6f2R49x7JTujyDIUXcZpbGnsH/0IIqRFFDhCWkSBI6RFFDhCWkSBI6RFFDhCWkSBI6RFFDhCWkSBI6RFFDhCWkSBI6RFFDhCWkSBI6RFFDhCWkSBI6RFFDhCWkSBI6RFFDhCWkSBI6RFFDhCWkSBI6RFFDhCWkSBI6RFFDhCWkSBI6RFFDhCWkSBI6RFFDhCWkSBI6RFFDhCWkSBI6RFFDhCWkSBI6RFFDhCWkSBI6RF/x8qjTga7LYI7gAAAABJRU5ErkJggg=="
}});
\ No newline at end of file
dist/static/js/app.
6b739998050584f2ab4e
.js
→
dist/static/js/app.
0f91f4dec7dec67c5d69
.js
View file @
34fd2959
webpackJsonp
([
70
],{
"/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
),
r
=
(
n
(
"j1ja"
),
n
(
"hKoQ"
)),
p
=
n
.
n
(
r
),
i
=
n
(
"7+uW"
),
c
=
{
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
{}}},
c
,
!
1
,
function
(
e
){
n
(
"/NA0"
)},
null
,
null
).
exports
,
d
=
n
(
"/ocq"
),
m
=
n
(
"5tgt"
),
u
=
n
.
n
(
m
);
i
.
default
.
use
(
d
.
a
);
var
l
=
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
v
,
h
=
[{
path
:
"/"
,
name
:
"/"
,
redirect
:
"login"
},{
path
:
"/login"
,
name
:
"登录"
,
component
:
u
()(
"login"
,
"index"
)},{
path
:
"/index"
,
name
:
"index"
,
component
:
u
()(
"index"
,
"index"
)},{
path
:
"/contacts"
,
name
:
"通讯录"
,
redirect
:
"administrativeFrame"
,
component
:
u
()(
"contacts"
,
"index"
),
children
:[{
path
:
"/administrativeFrame"
,
name
:
"行政架构"
,
component
:
u
()(
"contacts"
,
"administrativeFrame"
)},{
path
:
"/employeeIo"
,
name
:
"批量导入/导出"
,
component
:
u
()(
"contacts"
,
"employeeIo"
)},{
path
:
"/addDepartment"
,
name
:
"添加部门"
,
component
:
u
()(
"contacts"
,
"addDepartment"
)},{
path
:
"/addClerk"
,
name
:
"添加店员"
,
component
:
u
()(
"contacts"
,
"addClerk"
)},{
path
:
"/storeFrame"
,
name
:
"门店架构"
,
component
:
u
()(
"contacts"
,
"storeFrame"
)},{
path
:
"/addGroup"
,
name
:
"添加子分组"
,
component
:
u
()(
"contacts"
,
"addGroup"
)},{
path
:
"/storeIo"
,
name
:
"门店导入/导出"
,
component
:
u
()(
"contacts"
,
"storeIo"
)},{
path
:
"/storeInfo"
,
name
:
"编辑门店"
,
component
:
u
()(
"contacts"
,
"storeInfo"
)},{
path
:
"/recycle"
,
name
:
"门店回收站"
,
component
:
u
()(
"contacts"
,
"recycle"
)},{
path
:
"/employee"
,
name
:
"编辑员工"
,
component
:
u
()(
"contacts"
,
"employee"
)},{
path
:
"/unemployee"
,
name
:
"离职员工"
,
component
:
u
()(
"contacts"
,
"unemployee"
)},{
path
:
"/fileSet"
,
name
:
"档案设置"
,
component
:
u
()(
"contacts"
,
"fileSet"
)},{
path
:
"/recordInfo"
,
name
:
"编辑员工信息"
,
component
:
u
()(
"contacts"
,
"recordInfo"
)},{
path
:
"/recordIo"
,
name
:
"导入导出员工档案"
,
component
:
u
()(
"contacts"
,
"recordIo"
)},{
path
:
"/shareContact"
,
name
:
"共享通讯录"
,
component
:
u
()(
"contacts"
,
"shareContact"
)},{
path
:
"/shareCode"
,
name
:
"共享通讯录二维码"
,
component
:
u
()(
"contacts"
,
"shareCode"
)},{
path
:
"/employeeRecord"
,
name
:
"在职员工"
,
component
:
u
()(
"contacts"
,
"employeeRecord"
)}]},{
path
:
"/enterpriseApp"
,
name
:
"企业应用"
,
redirect
:
"appcenter"
,
component
:
u
()(
"enterpriseApp"
,
"index"
),
children
:[{
path
:
"/appcenter"
,
name
:
"企业应用中心"
,
component
:
u
()(
"enterpriseApp"
,
"appcenter"
)},{
path
:
"/mycustomer"
,
name
:
"我的顾客"
,
component
:
u
()(
"enterpriseApp"
,
"mycustomer"
)},{
path
:
"/cloudDaily"
,
name
:
"云日报"
,
redirect
:
"/dailyRecord"
,
component
:
u
()(
"enterpriseApp/cloudDaily"
,
"index"
),
children
:[{
path
:
"/dailyRecord"
,
name
:
"云日报记录"
,
component
:
u
()(
"enterpriseApp/cloudDaily"
,
"dailyRecord"
)},{
path
:
"/dailyDetail"
,
name
:
"日报详情"
,
component
:
u
()(
"enterpriseApp/cloudDaily"
,
"dailyDetail"
)},{
path
:
"/taskAssign"
,
name
:
"任务下发设置"
,
component
:
u
()(
"enterpriseApp/cloudDaily"
,
"taskAssign"
)},{
path
:
"/systemReport"
,
name
:
"系统报表"
,
component
:
u
()(
"enterpriseApp/cloudDaily"
,
"systemReport"
)},{
path
:
"/customReport"
,
name
:
"自定义报表"
,
component
:
u
()(
"enterpriseApp/cloudDaily"
,
"customReport"
)}]},{
path
:
"/trafficTask"
,
name
:
"话务任务"
,
redirect
:
"/taskRecord"
,
component
:
u
()(
"enterpriseApp/trafficTask"
,
"index"
),
children
:[{
path
:
"/taskRecord"
,
name
:
"话务任务记录"
,
component
:
u
()(
"enterpriseApp/trafficTask"
,
"taskRecord"
)},{
path
:
"/taskDetail"
,
name
:
"话务任务详情"
,
component
:
u
()(
"enterpriseApp/trafficTask"
,
"taskDetail"
)},{
path
:
"/trafficTaskSet"
,
name
:
"话务任务设置"
,
component
:
u
()(
"enterpriseApp/trafficTask"
,
"trafficTaskSet"
)}]},{
path
:
"/noticeList"
,
name
:
"企业公告"
,
redirect
:
"/noticeList"
,
component
:
u
()(
"enterpriseApp/notice"
,
"index"
),
children
:[{
path
:
"/noticeList"
,
name
:
"企业公告列表"
,
component
:
u
()(
"enterpriseApp/notice"
,
"noticeList"
)},{
path
:
"/addNotice"
,
name
:
"新建公告"
,
component
:
u
()(
"enterpriseApp/notice"
,
"addNotice"
)}]},{
path
:
"/badEvaluate"
,
name
:
"不良评价"
,
redirect
:
"/badEvaluateRecord"
,
component
:
u
()(
"enterpriseApp/badEvaluate"
,
"index"
),
children
:[{
path
:
"/badEvaluateRecord"
,
name
:
"不良评价记录"
,
component
:
u
()(
"enterpriseApp/badEvaluate"
,
"badEvaluateRecord"
)},{
path
:
"/badEvaluateDetail"
,
name
:
"不良评价详情"
,
component
:
u
()(
"enterpriseApp/badEvaluate"
,
"badEvaluateDetail"
)},{
path
:
"/badEvaluateSet"
,
name
:
"不良评价设置"
,
component
:
u
()(
"enterpriseApp/badEvaluate"
,
"badEvaluateSet"
)}]},{
path
:
"/quota"
,
name
:
"指标管理"
,
component
:
u
()(
"enterpriseApp/quota"
,
"index"
),
redirect
:
"/quota/monthList"
,
children
:[{
path
:
"monthList"
,
name
:
"月指标列表"
,
component
:
u
()(
"enterpriseApp/quota"
,
"monthList"
)}]}]},{
path
:
"/reviewCenter"
,
name
:
"审核中心"
,
redirect
:
"unreview"
,
component
:
u
()(
"reviewCenter"
,
"index"
),
children
:[{
path
:
"/reviewed"
,
name
:
"已审核"
,
component
:
u
()(
"reviewCenter"
,
"reviewed"
)},{
path
:
"/unreview"
,
name
:
"未审核"
,
component
:
u
()(
"reviewCenter"
,
"unreview"
)}]},{
path
:
"/setCenter"
,
name
:
"设置"
,
redirect
:
"companyAddress"
,
component
:
u
()(
"setting"
,
"index"
),
children
:[{
path
:
"/companyAddress"
,
name
:
"企业地址"
,
component
:
u
()(
"setting"
,
"companyAddress"
)},{
path
:
"/companyCertify"
,
name
:
"企业认证"
,
component
:
u
()(
"setting"
,
"companyCertify"
)},{
path
:
"/staffDetails"
,
name
:
"员工详情字段"
,
component
:
u
()(
"setting"
,
"staffDetails"
)},{
path
:
"/storePermission"
,
name
:
"门店权限设置"
,
component
:
u
()(
"setting"
,
"storePermission"
)},{
path
:
"/replaceAdmin"
,
name
:
"更换超级管理员"
,
component
:
u
()(
"setting"
,
"replaceAdmin"
)},{
path
:
"/setChildAdmin"
,
name
:
"设置子管理员"
,
component
:
u
()(
"setting"
,
"setChildAdmin"
)},{
path
:
"/addAdmin"
,
name
:
"添加管理员"
,
component
:
u
()(
"setting"
,
"addAdmin"
)},{
path
:
"/addAdminRole"
,
name
:
"添加管理员角色"
,
component
:
u
()(
"setting"
,
"addAdminRole"
)}]},{
path
:
"/staffRecordsTemplate"
,
name
:
"员工档案设置"
,
component
:
u
()(
"contacts"
,
"staffRecordsTemplate"
)},{
path
:
"/systemReportSet"
,
name
:
"系统报表设置"
,
component
:
u
()(
"enterpriseApp/cloudDaily"
,
"systemReportSet"
)},{
path
:
"/template"
,
name
:
"模板设置"
,
component
:
u
()(
"enterpriseApp/cloudDaily"
,
"template"
)},{
path
:
"/403"
,
name
:
"无权访问"
,
component
:
l
},{
path
:
"/404"
,
name
:
"error404"
,
component
:
l
},{
path
:
"/500"
,
name
:
"error500"
,
component
:
l
},{
path
:
"*"
,
redirect
:
"/404"
,
hidden
:
!
0
}],
f
=
new
d
.
a
({
routes
:
h
,
scrollBehavior
:
function
(){
return
{
y
:
0
}}}),
A
=
n
(
"zL8q"
),
y
=
n
.
n
(
A
),
g
=
n
(
"Rf8U"
),
k
=
n
.
n
(
g
),
D
=
n
(
"mtWM"
),
w
=
n
.
n
(
D
),
x
=
n
(
"bOdI"
),
R
=
n
.
n
(
x
),
C
=
n
(
"NYxO"
);
i
.
default
.
use
(
C
.
a
);
var
b
=
new
C
.
a
.
Store
({
state
:{
user
:{},
token
:
null
,
title
:
""
,
show
:
!
1
,
bgHeight
:
window
.
screen
.
availHeight
-
440
-
24
+
"px"
},
mutations
:(
v
=
{},
R
()(
v
,
"login"
,
function
(
e
,
t
){
sessionStorage
.
token
=
t
,
e
.
token
=
t
}),
R
()(
v
,
"logout"
,
function
(
e
){
sessionStorage
.
removeItem
(
"token"
),
e
.
token
=
null
}),
R
()(
v
,
"title"
,
function
(
e
,
t
){
e
.
title
=
t
}),
R
()(
v
,
"show"
,
function
(
e
,
t
){
e
.
show
=
t
}),
v
)}),
E
=
(
n
(
"4qCZ"
),
n
(
"uKUT"
),
n
(
"Xcu2"
),
n
(
"TUaa"
)),
I
=
n
.
n
(
E
),
S
=
n
(
"tyqE"
),
T
=
n
.
n
(
S
),
P
=
n
(
"pRVe"
),
L
=
n
.
n
(
P
),
j
=
n
(
"SE7k"
),
q
=
n
.
n
(
j
),
F
=
n
(
"XsK6"
),
O
=
n
.
n
(
F
),
N
=
n
(
"QRL9"
),
G
=
n
.
n
(
N
),
z
=
n
(
"2Pnh"
),
H
=
n
.
n
(
z
),
K
=
n
(
"l9mu"
),
U
=
n
.
n
(
K
),
X
=
{
install
:
function
(
e
,
t
){
e
.
prototype
.
getPdf
=
function
(){
var
e
=
this
.
htmlTitle
;
H
()(
document
.
querySelector
(
"#pdfDom"
),{
allowTaint
:
!
0
,
foreignObjectRendering
:
!
0
}).
then
(
function
(
t
){
var
n
=
t
.
width
,
a
=
t
.
height
,
o
=
n
/
592.28
*
841.89
,
r
=
a
,
p
=
0
,
i
=
592.28
/
n
*
a
,
c
=
t
.
toDataURL
(
"image/jpeg"
,
1
),
s
=
new
U
.
a
(
""
,
"pt"
,
"a4"
);
if
(
r
<
o
)
s
.
addImage
(
c
,
"JPEG"
,
0
,
0
,
595.28
,
i
);
else
for
(;
r
>
0
;)
s
.
addImage
(
c
,
"JPEG"
,
0
,
p
,
595.28
,
i
),
p
-=
841.89
,(
r
-=
o
)
>
0
&&
s
.
addPage
();
s
.
save
(
e
+
".pdf"
)})}}};
p
.
a
.
polyfill
(),
i
.
default
.
use
(
X
),
i
.
default
.
use
(
O
.
a
),
i
.
default
.
use
(
G
.
a
),
i
.
default
.
use
(
q
.
a
),
i
.
default
.
use
(
L
.
a
),
i
.
default
.
use
(
T
.
a
),
i
.
default
.
use
(
I
.
a
),
i
.
default
.
config
.
productionTip
=!
1
,
i
.
default
.
use
(
y
.
a
,{
size
:
"large"
}),
i
.
default
.
use
(
k
.
a
,
w
.
a
),
i
.
default
.
axios
.
defaults
.
withCredentials
=!
0
,
f
.
beforeEach
(
function
(
e
,
t
,
n
){
var
a
=
void
0
,
r
=
window
.
location
.
origin
;
a
=
"-1"
!=
r
.
indexOf
(
"localhost"
)?
"http://www.gicdev.com"
:
r
,
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
){
A
.
Message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})}),
"/"
==
e
.
path
?
n
({
path
:
"/login"
}):
n
()}),
new
i
.
default
({
el
:
"#app"
,
router
:
f
,
store
:
b
,
components
:{
App
:
s
},
template
:
"<App/>"
})},
Opzk
:
function
(
e
,
t
,
n
){
var
a
=
{
"./contacts/addClerk.vue"
:[
"27o1"
,
0
,
18
],
"./contacts/addDepartment.vue"
:[
"HHRu"
,
0
,
17
],
"./contacts/addEmployee.vue"
:[
"00Sv"
,
39
],
"./contacts/addGroup.vue"
:[
"mPjx"
,
0
,
45
],
"./contacts/administrativeFrame.vue"
:[
"kLcy"
,
0
,
3
],
"./contacts/employee.vue"
:[
"AdJp"
,
0
,
47
],
"./contacts/employeeIo.vue"
:[
"Rwbg"
,
0
,
32
],
"./contacts/employeeRecord.vue"
:[
"zGJY"
,
0
,
7
],
"./contacts/fileSet.vue"
:[
"CSjr"
,
0
,
8
],
"./contacts/index.vue"
:[
"41Rh"
,
0
,
64
],
"./contacts/recordInfo.vue"
:[
"67iC"
,
0
,
12
],
"./contacts/recordIo.vue"
:[
"738z"
,
0
,
20
],
"./contacts/recycle.vue"
:[
"HkK0"
,
0
,
28
],
"./contacts/shareAddDepartment.vue"
:[
"q5Ri"
,
0
,
16
],
"./contacts/shareCode.vue"
:[
"JsWW"
,
0
,
52
],
"./contacts/shareContact.vue"
:[
"Gfms"
,
0
,
2
],
"./contacts/staffRecordsTemplate.vue"
:[
"lFAe"
,
0
,
29
],
"./contacts/storeFrame.vue"
:[
"7SJI"
,
0
,
5
],
"./contacts/storeInfo.vue"
:[
"h/6A"
,
0
,
10
],
"./contacts/storeIo.vue"
:[
"RHxA"
,
0
,
33
],
"./contacts/unemployee.vue"
:[
"TGrv"
,
0
,
15
],
"./enterpriseApp/appcenter.vue"
:[
"yuVF"
,
0
,
23
],
"./enterpriseApp/badEvaluate/badEvaluateDetail.vue"
:[
"4m/B"
,
0
,
31
],
"./enterpriseApp/badEvaluate/badEvaluateRecord.vue"
:[
"r//C"
,
0
,
49
],
"./enterpriseApp/badEvaluate/badEvaluateSet.vue"
:[
"XzAK"
,
0
,
36
],
"./enterpriseApp/badEvaluate/index.vue"
:[
"W0k8"
,
0
,
58
],
"./enterpriseApp/cloudDaily/customReport.vue"
:[
"DxdI"
,
0
,
34
],
"./enterpriseApp/cloudDaily/dailyDetail.vue"
:[
"5nNU"
,
0
,
59
],
"./enterpriseApp/cloudDaily/dailyRecord.vue"
:[
"Ujni"
,
0
,
51
],
"./enterpriseApp/cloudDaily/index.vue"
:[
"Knd1"
,
0
,
63
],
"./enterpriseApp/cloudDaily/systemReport.vue"
:[
"Y8F9"
,
0
,
41
],
"./enterpriseApp/cloudDaily/systemReportSet.vue"
:[
"VE2c"
,
0
,
6
],
"./enterpriseApp/cloudDaily/taskAssign.vue"
:[
"5x7s"
,
0
,
37
],
"./enterpriseApp/cloudDaily/template.vue"
:[
"IA9l"
,
0
,
4
],
"./enterpriseApp/cloudDaily/template/block.vue"
:[
"PAYw"
,
61
],
"./enterpriseApp/cloudDaily/template/date-range.vue"
:[
"79Bk"
,
40
],
"./enterpriseApp/cloudDaily/template/image.vue"
:[
"H8Kg"
,
53
],
"./enterpriseApp/cloudDaily/template/input.vue"
:[
"s4D+"
,
66
],
"./enterpriseApp/cloudDaily/template/select.vue"
:[
"t0b0"
,
38
],
"./enterpriseApp/index.vue"
:[
"da9f"
,
46
],
"./enterpriseApp/mycustomer.vue"
:[
"cuIN"
,
0
,
54
],
"./enterpriseApp/notice/addNotice.vue"
:[
"G5PL"
,
0
,
65
],
"./enterpriseApp/notice/index.vue"
:[
"av/3"
,
0
,
56
],
"./enterpriseApp/notice/noticeList.vue"
:[
"OVYO"
,
0
,
24
],
"./enterpriseApp/quota/index.vue"
:[
"FB5x"
,
0
,
62
],
"./enterpriseApp/quota/monthList.vue"
:[
"ZxDn"
,
68
],
"./enterpriseApp/trafficTask/index.vue"
:[
"e88N"
,
0
,
67
],
"./enterpriseApp/trafficTask/taskDetail.vue"
:[
"A33E"
,
0
,
42
],
"./enterpriseApp/trafficTask/taskRecord.vue"
:[
"iG3v"
,
0
,
60
],
"./enterpriseApp/trafficTask/trafficTaskSet.vue"
:[
"4H54"
,
0
,
55
],
"./errorPage/403.vue"
:[
"6XGN"
,
25
],
"./errorPage/404.vue"
:[
"AejC"
,
26
],
"./errorPage/500.vue"
:[
"FskK"
,
21
],
"./errorPage/index.vue"
:[
"ODjX"
,
1
],
"./index/index.vue"
:[
"JXTs"
,
0
,
27
],
"./login/index.vue"
:[
"T+/8"
,
0
,
9
],
"./reviewCenter/index.vue"
:[
"+lem"
,
50
],
"./reviewCenter/reviewed.vue"
:[
"CLYF"
,
0
,
14
],
"./reviewCenter/unreview.vue"
:[
"xCEU"
,
0
,
13
],
"./setting/addAdmin.vue"
:[
"rs/A"
,
0
,
35
],
"./setting/addAdminRole.vue"
:[
"fZsz"
,
0
,
43
],
"./setting/companyAddress.vue"
:[
"SKyE"
,
0
,
57
],
"./setting/companyCertify.vue"
:[
"3zYh"
,
0
,
11
],
"./setting/index.vue"
:[
"VlR1"
,
30
],
"./setting/replaceAdmin.vue"
:[
"ys9I"
,
0
,
48
],
"./setting/setChildAdmin.vue"
:[
"VqB7"
,
0
,
44
],
"./setting/staffDetails.vue"
:[
"Zyzf"
,
0
,
22
],
"./setting/storePermission.vue"
:[
"Xwfy"
,
0
,
19
]};
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
},
Xcu2
:
function
(
e
,
t
){},
uKUT
:
function
(
e
,
t
){}},[
0
]);
\ No newline at end of file
webpackJsonp
([
70
],{
"/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
),
r
=
(
n
(
"j1ja"
),
n
(
"hKoQ"
)),
p
=
n
.
n
(
r
),
i
=
n
(
"7+uW"
),
c
=
{
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
{}}},
c
,
!
1
,
function
(
e
){
n
(
"/NA0"
)},
null
,
null
).
exports
,
d
=
n
(
"/ocq"
),
m
=
n
(
"5tgt"
),
u
=
n
.
n
(
m
);
i
.
default
.
use
(
d
.
a
);
var
l
=
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
v
,
h
=
[{
path
:
"/"
,
name
:
"/"
,
redirect
:
"login"
},{
path
:
"/login"
,
name
:
"登录"
,
component
:
u
()(
"login"
,
"index"
)},{
path
:
"/index"
,
name
:
"index"
,
component
:
u
()(
"index"
,
"index"
)},{
path
:
"/contacts"
,
name
:
"通讯录"
,
redirect
:
"administrativeFrame"
,
component
:
u
()(
"contacts"
,
"index"
),
children
:[{
path
:
"/administrativeFrame"
,
name
:
"行政架构"
,
component
:
u
()(
"contacts"
,
"administrativeFrame"
)},{
path
:
"/employeeIo"
,
name
:
"批量导入/导出"
,
component
:
u
()(
"contacts"
,
"employeeIo"
)},{
path
:
"/addDepartment"
,
name
:
"添加部门"
,
component
:
u
()(
"contacts"
,
"addDepartment"
)},{
path
:
"/addClerk"
,
name
:
"添加店员"
,
component
:
u
()(
"contacts"
,
"addClerk"
)},{
path
:
"/storeFrame"
,
name
:
"门店架构"
,
component
:
u
()(
"contacts"
,
"storeFrame"
)},{
path
:
"/addGroup"
,
name
:
"添加子分组"
,
component
:
u
()(
"contacts"
,
"addGroup"
)},{
path
:
"/storeIo"
,
name
:
"门店导入/导出"
,
component
:
u
()(
"contacts"
,
"storeIo"
)},{
path
:
"/storeInfo"
,
name
:
"编辑门店"
,
component
:
u
()(
"contacts"
,
"storeInfo"
)},{
path
:
"/recycle"
,
name
:
"门店回收站"
,
component
:
u
()(
"contacts"
,
"recycle"
)},{
path
:
"/employee"
,
name
:
"编辑员工"
,
component
:
u
()(
"contacts"
,
"employee"
)},{
path
:
"/unemployee"
,
name
:
"离职员工"
,
component
:
u
()(
"contacts"
,
"unemployee"
)},{
path
:
"/fileSet"
,
name
:
"档案设置"
,
component
:
u
()(
"contacts"
,
"fileSet"
)},{
path
:
"/recordInfo"
,
name
:
"编辑员工信息"
,
component
:
u
()(
"contacts"
,
"recordInfo"
)},{
path
:
"/recordIo"
,
name
:
"导入导出员工档案"
,
component
:
u
()(
"contacts"
,
"recordIo"
)},{
path
:
"/shareContact"
,
name
:
"共享通讯录"
,
component
:
u
()(
"contacts"
,
"shareContact"
)},{
path
:
"/shareCode"
,
name
:
"共享通讯录二维码"
,
component
:
u
()(
"contacts"
,
"shareCode"
)},{
path
:
"/employeeRecord"
,
name
:
"在职员工"
,
component
:
u
()(
"contacts"
,
"employeeRecord"
)}]},{
path
:
"/enterpriseApp"
,
name
:
"企业应用"
,
redirect
:
"appcenter"
,
component
:
u
()(
"enterpriseApp"
,
"index"
),
children
:[{
path
:
"/appcenter"
,
name
:
"企业应用中心"
,
component
:
u
()(
"enterpriseApp"
,
"appcenter"
)},{
path
:
"/mycustomer"
,
name
:
"我的顾客"
,
component
:
u
()(
"enterpriseApp"
,
"mycustomer"
)},{
path
:
"/cloudDaily"
,
name
:
"云日报"
,
redirect
:
"/dailyRecord"
,
component
:
u
()(
"enterpriseApp/cloudDaily"
,
"index"
),
children
:[{
path
:
"/dailyRecord"
,
name
:
"云日报记录"
,
component
:
u
()(
"enterpriseApp/cloudDaily"
,
"dailyRecord"
)},{
path
:
"/dailyDetail"
,
name
:
"日报详情"
,
component
:
u
()(
"enterpriseApp/cloudDaily"
,
"dailyDetail"
)},{
path
:
"/taskAssign"
,
name
:
"任务下发设置"
,
component
:
u
()(
"enterpriseApp/cloudDaily"
,
"taskAssign"
)},{
path
:
"/systemReport"
,
name
:
"系统报表"
,
component
:
u
()(
"enterpriseApp/cloudDaily"
,
"systemReport"
)},{
path
:
"/customReport"
,
name
:
"自定义报表"
,
component
:
u
()(
"enterpriseApp/cloudDaily"
,
"customReport"
)}]},{
path
:
"/trafficTask"
,
name
:
"话务任务"
,
redirect
:
"/taskRecord"
,
component
:
u
()(
"enterpriseApp/trafficTask"
,
"index"
),
children
:[{
path
:
"/taskRecord"
,
name
:
"话务任务记录"
,
component
:
u
()(
"enterpriseApp/trafficTask"
,
"taskRecord"
)},{
path
:
"/taskDetail"
,
name
:
"话务任务详情"
,
component
:
u
()(
"enterpriseApp/trafficTask"
,
"taskDetail"
)},{
path
:
"/trafficTaskSet"
,
name
:
"话务任务设置"
,
component
:
u
()(
"enterpriseApp/trafficTask"
,
"trafficTaskSet"
)}]},{
path
:
"/noticeList"
,
name
:
"企业公告"
,
redirect
:
"/noticeList"
,
component
:
u
()(
"enterpriseApp/notice"
,
"index"
),
children
:[{
path
:
"/noticeList"
,
name
:
"企业公告列表"
,
component
:
u
()(
"enterpriseApp/notice"
,
"noticeList"
)},{
path
:
"/addNotice"
,
name
:
"新建公告"
,
component
:
u
()(
"enterpriseApp/notice"
,
"addNotice"
)}]},{
path
:
"/badEvaluate"
,
name
:
"不良评价"
,
redirect
:
"/badEvaluateRecord"
,
component
:
u
()(
"enterpriseApp/badEvaluate"
,
"index"
),
children
:[{
path
:
"/badEvaluateRecord"
,
name
:
"不良评价记录"
,
component
:
u
()(
"enterpriseApp/badEvaluate"
,
"badEvaluateRecord"
)},{
path
:
"/badEvaluateDetail"
,
name
:
"不良评价详情"
,
component
:
u
()(
"enterpriseApp/badEvaluate"
,
"badEvaluateDetail"
)},{
path
:
"/badEvaluateSet"
,
name
:
"不良评价设置"
,
component
:
u
()(
"enterpriseApp/badEvaluate"
,
"badEvaluateSet"
)}]},{
path
:
"/quota"
,
name
:
"指标管理"
,
component
:
u
()(
"enterpriseApp/quota"
,
"index"
),
redirect
:
"/quota/monthList"
,
children
:[{
path
:
"monthList"
,
name
:
"月指标列表"
,
component
:
u
()(
"enterpriseApp/quota"
,
"monthList"
)}]}]},{
path
:
"/reviewCenter"
,
name
:
"审核中心"
,
redirect
:
"unreview"
,
component
:
u
()(
"reviewCenter"
,
"index"
),
children
:[{
path
:
"/reviewed"
,
name
:
"已审核"
,
component
:
u
()(
"reviewCenter"
,
"reviewed"
)},{
path
:
"/unreview"
,
name
:
"未审核"
,
component
:
u
()(
"reviewCenter"
,
"unreview"
)}]},{
path
:
"/setCenter"
,
name
:
"设置"
,
redirect
:
"companyAddress"
,
component
:
u
()(
"setting"
,
"index"
),
children
:[{
path
:
"/companyAddress"
,
name
:
"企业地址"
,
component
:
u
()(
"setting"
,
"companyAddress"
)},{
path
:
"/companyCertify"
,
name
:
"企业认证"
,
component
:
u
()(
"setting"
,
"companyCertify"
)},{
path
:
"/staffDetails"
,
name
:
"员工详情字段"
,
component
:
u
()(
"setting"
,
"staffDetails"
)},{
path
:
"/storePermission"
,
name
:
"门店权限设置"
,
component
:
u
()(
"setting"
,
"storePermission"
)},{
path
:
"/replaceAdmin"
,
name
:
"更换超级管理员"
,
component
:
u
()(
"setting"
,
"replaceAdmin"
)},{
path
:
"/setChildAdmin"
,
name
:
"设置子管理员"
,
component
:
u
()(
"setting"
,
"setChildAdmin"
)},{
path
:
"/addAdmin"
,
name
:
"添加管理员"
,
component
:
u
()(
"setting"
,
"addAdmin"
)},{
path
:
"/addAdminRole"
,
name
:
"添加管理员角色"
,
component
:
u
()(
"setting"
,
"addAdminRole"
)}]},{
path
:
"/staffRecordsTemplate"
,
name
:
"员工档案设置"
,
component
:
u
()(
"contacts"
,
"staffRecordsTemplate"
)},{
path
:
"/systemReportSet"
,
name
:
"系统报表设置"
,
component
:
u
()(
"enterpriseApp/cloudDaily"
,
"systemReportSet"
)},{
path
:
"/template"
,
name
:
"模板设置"
,
component
:
u
()(
"enterpriseApp/cloudDaily"
,
"template"
)},{
path
:
"/403"
,
name
:
"无权访问"
,
component
:
l
},{
path
:
"/404"
,
name
:
"error404"
,
component
:
l
},{
path
:
"/500"
,
name
:
"error500"
,
component
:
l
},{
path
:
"*"
,
redirect
:
"/404"
,
hidden
:
!
0
}],
f
=
new
d
.
a
({
routes
:
h
,
scrollBehavior
:
function
(){
return
{
y
:
0
}}}),
A
=
n
(
"zL8q"
),
y
=
n
.
n
(
A
),
g
=
n
(
"Rf8U"
),
k
=
n
.
n
(
g
),
D
=
n
(
"mtWM"
),
w
=
n
.
n
(
D
),
x
=
n
(
"bOdI"
),
R
=
n
.
n
(
x
),
C
=
n
(
"NYxO"
);
i
.
default
.
use
(
C
.
a
);
var
b
=
new
C
.
a
.
Store
({
state
:{
user
:{},
token
:
null
,
title
:
""
,
show
:
!
1
,
bgHeight
:
window
.
screen
.
availHeight
-
440
-
24
+
"px"
},
mutations
:(
v
=
{},
R
()(
v
,
"login"
,
function
(
e
,
t
){
sessionStorage
.
token
=
t
,
e
.
token
=
t
}),
R
()(
v
,
"logout"
,
function
(
e
){
sessionStorage
.
removeItem
(
"token"
),
e
.
token
=
null
}),
R
()(
v
,
"title"
,
function
(
e
,
t
){
e
.
title
=
t
}),
R
()(
v
,
"show"
,
function
(
e
,
t
){
e
.
show
=
t
}),
v
)}),
E
=
(
n
(
"4qCZ"
),
n
(
"uKUT"
),
n
(
"Xcu2"
),
n
(
"TUaa"
)),
I
=
n
.
n
(
E
),
S
=
n
(
"tyqE"
),
T
=
n
.
n
(
S
),
P
=
n
(
"pRVe"
),
L
=
n
.
n
(
P
),
j
=
n
(
"SE7k"
),
q
=
n
.
n
(
j
),
F
=
n
(
"XsK6"
),
O
=
n
.
n
(
F
),
N
=
n
(
"QRL9"
),
G
=
n
.
n
(
N
),
z
=
n
(
"2Pnh"
),
H
=
n
.
n
(
z
),
K
=
n
(
"l9mu"
),
U
=
n
.
n
(
K
),
X
=
{
install
:
function
(
e
,
t
){
e
.
prototype
.
getPdf
=
function
(){
var
e
=
this
.
htmlTitle
;
H
()(
document
.
querySelector
(
"#pdfDom"
),{
allowTaint
:
!
0
,
foreignObjectRendering
:
!
0
}).
then
(
function
(
t
){
var
n
=
t
.
width
,
a
=
t
.
height
,
o
=
n
/
592.28
*
841.89
,
r
=
a
,
p
=
0
,
i
=
592.28
/
n
*
a
,
c
=
t
.
toDataURL
(
"image/jpeg"
,
1
),
s
=
new
U
.
a
(
""
,
"pt"
,
"a4"
);
if
(
r
<
o
)
s
.
addImage
(
c
,
"JPEG"
,
0
,
0
,
595.28
,
i
);
else
for
(;
r
>
0
;)
s
.
addImage
(
c
,
"JPEG"
,
0
,
p
,
595.28
,
i
),
p
-=
841.89
,(
r
-=
o
)
>
0
&&
s
.
addPage
();
s
.
save
(
e
+
".pdf"
)})}}};
p
.
a
.
polyfill
(),
i
.
default
.
use
(
X
),
i
.
default
.
use
(
O
.
a
),
i
.
default
.
use
(
G
.
a
),
i
.
default
.
use
(
q
.
a
),
i
.
default
.
use
(
L
.
a
),
i
.
default
.
use
(
T
.
a
),
i
.
default
.
use
(
I
.
a
),
i
.
default
.
config
.
productionTip
=!
1
,
i
.
default
.
use
(
y
.
a
,{
size
:
"large"
}),
i
.
default
.
use
(
k
.
a
,
w
.
a
),
i
.
default
.
axios
.
defaults
.
withCredentials
=!
0
,
f
.
beforeEach
(
function
(
e
,
t
,
n
){
var
a
=
void
0
,
r
=
window
.
location
.
origin
;
a
=
"-1"
!=
r
.
indexOf
(
"localhost"
)?
"http://www.gicdev.com"
:
r
,
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
){
A
.
Message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})}),
"/"
==
e
.
path
?
n
({
path
:
"/login"
}):
n
()}),
new
i
.
default
({
el
:
"#app"
,
router
:
f
,
store
:
b
,
components
:{
App
:
s
},
template
:
"<App/>"
})},
Opzk
:
function
(
e
,
t
,
n
){
var
a
=
{
"./contacts/addClerk.vue"
:[
"27o1"
,
0
,
18
],
"./contacts/addDepartment.vue"
:[
"HHRu"
,
0
,
17
],
"./contacts/addEmployee.vue"
:[
"00Sv"
,
39
],
"./contacts/addGroup.vue"
:[
"mPjx"
,
0
,
45
],
"./contacts/administrativeFrame.vue"
:[
"kLcy"
,
0
,
3
],
"./contacts/employee.vue"
:[
"AdJp"
,
0
,
47
],
"./contacts/employeeIo.vue"
:[
"Rwbg"
,
0
,
32
],
"./contacts/employeeRecord.vue"
:[
"zGJY"
,
0
,
7
],
"./contacts/fileSet.vue"
:[
"CSjr"
,
0
,
8
],
"./contacts/index.vue"
:[
"41Rh"
,
0
,
64
],
"./contacts/recordInfo.vue"
:[
"67iC"
,
0
,
12
],
"./contacts/recordIo.vue"
:[
"738z"
,
0
,
20
],
"./contacts/recycle.vue"
:[
"HkK0"
,
0
,
28
],
"./contacts/shareAddDepartment.vue"
:[
"q5Ri"
,
0
,
16
],
"./contacts/shareCode.vue"
:[
"JsWW"
,
0
,
52
],
"./contacts/shareContact.vue"
:[
"Gfms"
,
0
,
2
],
"./contacts/staffRecordsTemplate.vue"
:[
"lFAe"
,
0
,
29
],
"./contacts/storeFrame.vue"
:[
"7SJI"
,
0
,
5
],
"./contacts/storeInfo.vue"
:[
"h/6A"
,
0
,
10
],
"./contacts/storeIo.vue"
:[
"RHxA"
,
0
,
33
],
"./contacts/unemployee.vue"
:[
"TGrv"
,
0
,
15
],
"./enterpriseApp/appcenter.vue"
:[
"yuVF"
,
0
,
24
],
"./enterpriseApp/badEvaluate/badEvaluateDetail.vue"
:[
"4m/B"
,
0
,
31
],
"./enterpriseApp/badEvaluate/badEvaluateRecord.vue"
:[
"r//C"
,
0
,
49
],
"./enterpriseApp/badEvaluate/badEvaluateSet.vue"
:[
"XzAK"
,
0
,
36
],
"./enterpriseApp/badEvaluate/index.vue"
:[
"W0k8"
,
0
,
58
],
"./enterpriseApp/cloudDaily/customReport.vue"
:[
"DxdI"
,
0
,
34
],
"./enterpriseApp/cloudDaily/dailyDetail.vue"
:[
"5nNU"
,
0
,
59
],
"./enterpriseApp/cloudDaily/dailyRecord.vue"
:[
"Ujni"
,
0
,
51
],
"./enterpriseApp/cloudDaily/index.vue"
:[
"Knd1"
,
0
,
63
],
"./enterpriseApp/cloudDaily/systemReport.vue"
:[
"Y8F9"
,
0
,
41
],
"./enterpriseApp/cloudDaily/systemReportSet.vue"
:[
"VE2c"
,
0
,
6
],
"./enterpriseApp/cloudDaily/taskAssign.vue"
:[
"5x7s"
,
0
,
37
],
"./enterpriseApp/cloudDaily/template.vue"
:[
"IA9l"
,
0
,
4
],
"./enterpriseApp/cloudDaily/template/block.vue"
:[
"PAYw"
,
61
],
"./enterpriseApp/cloudDaily/template/date-range.vue"
:[
"79Bk"
,
40
],
"./enterpriseApp/cloudDaily/template/image.vue"
:[
"H8Kg"
,
53
],
"./enterpriseApp/cloudDaily/template/input.vue"
:[
"s4D+"
,
66
],
"./enterpriseApp/cloudDaily/template/select.vue"
:[
"t0b0"
,
38
],
"./enterpriseApp/index.vue"
:[
"da9f"
,
46
],
"./enterpriseApp/mycustomer.vue"
:[
"cuIN"
,
0
,
54
],
"./enterpriseApp/notice/addNotice.vue"
:[
"G5PL"
,
0
,
65
],
"./enterpriseApp/notice/index.vue"
:[
"av/3"
,
0
,
56
],
"./enterpriseApp/notice/noticeList.vue"
:[
"OVYO"
,
0
,
22
],
"./enterpriseApp/quota/index.vue"
:[
"FB5x"
,
0
,
62
],
"./enterpriseApp/quota/monthList.vue"
:[
"ZxDn"
,
68
],
"./enterpriseApp/trafficTask/index.vue"
:[
"e88N"
,
0
,
67
],
"./enterpriseApp/trafficTask/taskDetail.vue"
:[
"A33E"
,
0
,
42
],
"./enterpriseApp/trafficTask/taskRecord.vue"
:[
"iG3v"
,
0
,
60
],
"./enterpriseApp/trafficTask/trafficTaskSet.vue"
:[
"4H54"
,
0
,
55
],
"./errorPage/403.vue"
:[
"6XGN"
,
25
],
"./errorPage/404.vue"
:[
"AejC"
,
26
],
"./errorPage/500.vue"
:[
"FskK"
,
21
],
"./errorPage/index.vue"
:[
"ODjX"
,
1
],
"./index/index.vue"
:[
"JXTs"
,
0
,
27
],
"./login/index.vue"
:[
"T+/8"
,
0
,
9
],
"./reviewCenter/index.vue"
:[
"+lem"
,
50
],
"./reviewCenter/reviewed.vue"
:[
"CLYF"
,
0
,
14
],
"./reviewCenter/unreview.vue"
:[
"xCEU"
,
0
,
13
],
"./setting/addAdmin.vue"
:[
"rs/A"
,
0
,
35
],
"./setting/addAdminRole.vue"
:[
"fZsz"
,
0
,
43
],
"./setting/companyAddress.vue"
:[
"SKyE"
,
0
,
57
],
"./setting/companyCertify.vue"
:[
"3zYh"
,
0
,
11
],
"./setting/index.vue"
:[
"VlR1"
,
30
],
"./setting/replaceAdmin.vue"
:[
"ys9I"
,
0
,
48
],
"./setting/setChildAdmin.vue"
:[
"VqB7"
,
0
,
44
],
"./setting/staffDetails.vue"
:[
"Zyzf"
,
0
,
23
],
"./setting/storePermission.vue"
:[
"Xwfy"
,
0
,
19
]};
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
},
Xcu2
:
function
(
e
,
t
){},
uKUT
:
function
(
e
,
t
){}},[
0
]);
\ No newline at end of file
dist/static/js/manifest.
cae77ebd3ee1843ec621
.js
→
dist/static/js/manifest.
b0a478f486841529660b
.js
View file @
34fd2959
!
function
(
e
){
var
a
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
f
,
d
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
f
.
length
;
i
++
)
t
=
f
[
i
],
c
[
t
]
&&
u
.
push
(
c
[
t
][
0
]),
c
[
t
]
=
0
;
for
(
r
in
d
)
Object
.
prototype
.
hasOwnProperty
.
call
(
d
,
r
)
&&
(
e
[
r
]
=
d
[
r
]);
for
(
a
&&
a
(
f
,
d
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
b
(
b
.
s
=
n
[
i
]);
return
o
};
var
f
=
{},
c
=
{
72
:
0
};
function
b
(
a
){
if
(
f
[
a
])
return
f
[
a
].
exports
;
var
c
=
f
[
a
]
=
{
i
:
a
,
l
:
!
1
,
exports
:{}};
return
e
[
a
].
call
(
c
.
exports
,
c
,
c
.
exports
,
b
),
c
.
l
=!
0
,
c
.
exports
}
b
.
e
=
function
(
e
){
var
a
=
c
[
e
];
if
(
0
===
a
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
a
)
return
a
[
2
];
var
f
=
new
Promise
(
function
(
f
,
b
){
a
=
c
[
e
]
=
[
f
,
b
]});
a
[
2
]
=
f
;
var
d
=
document
.
getElementsByTagName
(
"head"
)[
0
],
n
=
document
.
createElement
(
"script"
);
n
.
type
=
"text/javascript"
,
n
.
charset
=
"utf-8"
,
n
.
async
=!
0
,
n
.
timeout
=
12
e4
,
b
.
nc
&&
n
.
setAttribute
(
"nonce"
,
b
.
nc
),
n
.
src
=
b
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"f7af9590fc7d0e522898"
,
1
:
"0ebe3ead93207dc78a78"
,
2
:
"246f54f98ebd0f18e3c2"
,
3
:
"b77f7b117eba0efcd002"
,
4
:
"20af2d42af746f1c5642"
,
5
:
"0a441cb5a76687f6aebb"
,
6
:
"87e91c93edff79bf2848"
,
7
:
"29467a72cfdc2dfba901"
,
8
:
"834bf1ab16bf28a5d71f"
,
9
:
"7a62f51b7c112ab1f4b6"
,
10
:
"9fa83af5fa02d3fb8384"
,
11
:
"cefe5cb2649342b46abc"
,
12
:
"291aefb99fbe47418137"
,
13
:
"76bed97bf902bd5e9663"
,
14
:
"6b356a1dc19916403937"
,
15
:
"5d5fbdd500ad707efe36"
,
16
:
"f98864723609ffd69dec"
,
17
:
"90569fafeeb0560983cb"
,
18
:
"32dae5f5c67e5fbcd4da"
,
19
:
"6b676a2bc781b744d643"
,
20
:
"984e3f8a01194c387a0e"
,
21
:
"95b9e75e267a37620b22"
,
22
:
"c1aae669aa3f968f57a8"
,
23
:
"58d15c02a6a00693ce76"
,
24
:
"66e234669fe461776150"
,
25
:
"4f9db49437ea94436d03"
,
26
:
"86316b0d7ab60ac4bcbe"
,
27
:
"44c464bb4d4d251d101e"
,
28
:
"3fdd0d66a13f6014559b"
,
29
:
"c40fe741197d553f3247"
,
30
:
"e16084cc0e35a7c402f8"
,
31
:
"aa5e346cb6bce343e4d3"
,
32
:
"577c38116657d4ec907d"
,
33
:
"998efd2498a66fbc7d59"
,
34
:
"d73966a9ca7d8fd92e6a"
,
35
:
"e73ac02923086619aaaf"
,
36
:
"6b7ba3c82f569f7a47e0"
,
37
:
"f8bf84592943c5dfbf8a"
,
38
:
"db0ccdb9d831a1fee238"
,
39
:
"8861e4489f26fe322990"
,
40
:
"c6cf553f8eb155ae6f1a"
,
41
:
"119ab10f2d353ddcdbc8"
,
42
:
"531aa219ae17b75cbba0"
,
43
:
"12da44fb0a9bace6abfa"
,
44
:
"c2920a3e2a76bdf7916f"
,
45
:
"c50573da6f7f6510e8bb"
,
46
:
"6b9089dbfdc51cf214aa"
,
47
:
"2dab44b216bdf0b2aa0d"
,
48
:
"6420334f070d0e2c2698"
,
49
:
"0993eb5909e11a29796e"
,
50
:
"83766d9322982df0ba7c"
,
51
:
"52175c8deed6c318442f"
,
52
:
"bffa8eb85dc92c8223c2"
,
53
:
"84eaec4c0f59c1c56bc0"
,
54
:
"b81dae7a0972e539186e"
,
55
:
"407ba1031c842531a35d"
,
56
:
"176e6633c1ad78f38876"
,
57
:
"110e66042ef93c6e1baa"
,
58
:
"29bf2c34b494dcd2c36a"
,
59
:
"b87c9da279978fab1ab0"
,
60
:
"d65ff9eab5d4620bad91"
,
61
:
"2ec808603001095fcf7e"
,
62
:
"5e5c3f7ea5d9eb5be654"
,
63
:
"ef0894a527ba021ba0a5"
,
64
:
"25749490fd7938fce09a"
,
65
:
"18c11765ac0cd3eddb3e"
,
66
:
"9f1afb5a13b54ea92a02"
,
67
:
"d674abd10a01e3c004c8"
,
68
:
"76dd85fe130f3711e79e"
,
71
:
"391d038af9b6f69e350f"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
a
=
c
[
e
];
0
!==
a
&&
(
a
&&
a
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
c
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
d
.
appendChild
(
n
),
f
},
b
.
m
=
e
,
b
.
c
=
f
,
b
.
d
=
function
(
e
,
a
,
f
){
b
.
o
(
e
,
a
)
||
Object
.
defineProperty
(
e
,
a
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
f
})},
b
.
n
=
function
(
e
){
var
a
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
b
.
d
(
a
,
"a"
,
a
),
a
},
b
.
o
=
function
(
e
,
a
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
a
)},
b
.
p
=
"./"
,
b
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
!
function
(
e
){
var
a
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
f
,
d
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
f
.
length
;
i
++
)
t
=
f
[
i
],
c
[
t
]
&&
u
.
push
(
c
[
t
][
0
]),
c
[
t
]
=
0
;
for
(
r
in
d
)
Object
.
prototype
.
hasOwnProperty
.
call
(
d
,
r
)
&&
(
e
[
r
]
=
d
[
r
]);
for
(
a
&&
a
(
f
,
d
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
b
(
b
.
s
=
n
[
i
]);
return
o
};
var
f
=
{},
c
=
{
72
:
0
};
function
b
(
a
){
if
(
f
[
a
])
return
f
[
a
].
exports
;
var
c
=
f
[
a
]
=
{
i
:
a
,
l
:
!
1
,
exports
:{}};
return
e
[
a
].
call
(
c
.
exports
,
c
,
c
.
exports
,
b
),
c
.
l
=!
0
,
c
.
exports
}
b
.
e
=
function
(
e
){
var
a
=
c
[
e
];
if
(
0
===
a
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
a
)
return
a
[
2
];
var
f
=
new
Promise
(
function
(
f
,
b
){
a
=
c
[
e
]
=
[
f
,
b
]});
a
[
2
]
=
f
;
var
d
=
document
.
getElementsByTagName
(
"head"
)[
0
],
n
=
document
.
createElement
(
"script"
);
n
.
type
=
"text/javascript"
,
n
.
charset
=
"utf-8"
,
n
.
async
=!
0
,
n
.
timeout
=
12
e4
,
b
.
nc
&&
n
.
setAttribute
(
"nonce"
,
b
.
nc
),
n
.
src
=
b
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"f7af9590fc7d0e522898"
,
1
:
"0ebe3ead93207dc78a78"
,
2
:
"246f54f98ebd0f18e3c2"
,
3
:
"b77f7b117eba0efcd002"
,
4
:
"20af2d42af746f1c5642"
,
5
:
"0a441cb5a76687f6aebb"
,
6
:
"87e91c93edff79bf2848"
,
7
:
"29467a72cfdc2dfba901"
,
8
:
"834bf1ab16bf28a5d71f"
,
9
:
"7a62f51b7c112ab1f4b6"
,
10
:
"9fa83af5fa02d3fb8384"
,
11
:
"cefe5cb2649342b46abc"
,
12
:
"291aefb99fbe47418137"
,
13
:
"76bed97bf902bd5e9663"
,
14
:
"6b356a1dc19916403937"
,
15
:
"5d5fbdd500ad707efe36"
,
16
:
"f98864723609ffd69dec"
,
17
:
"90569fafeeb0560983cb"
,
18
:
"32dae5f5c67e5fbcd4da"
,
19
:
"6b676a2bc781b744d643"
,
20
:
"984e3f8a01194c387a0e"
,
21
:
"95b9e75e267a37620b22"
,
22
:
"2e13bc47faa71485d785"
,
23
:
"d35b207fb2e00e9743a3"
,
24
:
"324b388a5029325ec860"
,
25
:
"4f9db49437ea94436d03"
,
26
:
"86316b0d7ab60ac4bcbe"
,
27
:
"44c464bb4d4d251d101e"
,
28
:
"3fdd0d66a13f6014559b"
,
29
:
"c40fe741197d553f3247"
,
30
:
"e16084cc0e35a7c402f8"
,
31
:
"aa5e346cb6bce343e4d3"
,
32
:
"577c38116657d4ec907d"
,
33
:
"998efd2498a66fbc7d59"
,
34
:
"d73966a9ca7d8fd92e6a"
,
35
:
"e73ac02923086619aaaf"
,
36
:
"6b7ba3c82f569f7a47e0"
,
37
:
"f8bf84592943c5dfbf8a"
,
38
:
"db0ccdb9d831a1fee238"
,
39
:
"8861e4489f26fe322990"
,
40
:
"c6cf553f8eb155ae6f1a"
,
41
:
"119ab10f2d353ddcdbc8"
,
42
:
"531aa219ae17b75cbba0"
,
43
:
"12da44fb0a9bace6abfa"
,
44
:
"c2920a3e2a76bdf7916f"
,
45
:
"c50573da6f7f6510e8bb"
,
46
:
"6b9089dbfdc51cf214aa"
,
47
:
"2dab44b216bdf0b2aa0d"
,
48
:
"6420334f070d0e2c2698"
,
49
:
"0993eb5909e11a29796e"
,
50
:
"83766d9322982df0ba7c"
,
51
:
"52175c8deed6c318442f"
,
52
:
"bffa8eb85dc92c8223c2"
,
53
:
"84eaec4c0f59c1c56bc0"
,
54
:
"b81dae7a0972e539186e"
,
55
:
"407ba1031c842531a35d"
,
56
:
"176e6633c1ad78f38876"
,
57
:
"110e66042ef93c6e1baa"
,
58
:
"29bf2c34b494dcd2c36a"
,
59
:
"b87c9da279978fab1ab0"
,
60
:
"d65ff9eab5d4620bad91"
,
61
:
"2ec808603001095fcf7e"
,
62
:
"5e5c3f7ea5d9eb5be654"
,
63
:
"ef0894a527ba021ba0a5"
,
64
:
"25749490fd7938fce09a"
,
65
:
"18c11765ac0cd3eddb3e"
,
66
:
"9f1afb5a13b54ea92a02"
,
67
:
"d674abd10a01e3c004c8"
,
68
:
"76dd85fe130f3711e79e"
,
71
:
"391d038af9b6f69e350f"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
a
=
c
[
e
];
0
!==
a
&&
(
a
&&
a
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
c
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
d
.
appendChild
(
n
),
f
},
b
.
m
=
e
,
b
.
c
=
f
,
b
.
d
=
function
(
e
,
a
,
f
){
b
.
o
(
e
,
a
)
||
Object
.
defineProperty
(
e
,
a
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
f
})},
b
.
n
=
function
(
e
){
var
a
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
b
.
d
(
a
,
"a"
,
a
),
a
},
b
.
o
=
function
(
e
,
a
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
a
)},
b
.
p
=
"./"
,
b
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
src/views/enterpriseApp/notice/noticeList.vue
View file @
34fd2959
...
...
@@ -24,7 +24,7 @@
</el-table-column>
<el-table-column
prop=
"address"
label=
"读取情况"
>
<
template
slot-scope=
"scope"
>
<el-button
@
click=
"readDetail(scope.row.announcementId)"
type=
"text"
>
{{
scope
.
row
.
readCount
}}
/
{{
scope
.
row
.
sen
dCount
}}
</el-button>
<el-button
@
click=
"readDetail(scope.row.announcementId)"
type=
"text"
>
{{
scope
.
row
.
readCount
}}
/
{{
scope
.
row
.
noRea
dCount
}}
</el-button>
</
template
>
</el-table-column>
<el-table-column
prop=
"address"
label=
"发布时间"
>
...
...
@@ -161,15 +161,15 @@ export default {
brandId
:
this
.
activeBrand
,
title
:
this
.
searchTitle
,
endTime
:
this
.
endTime
,
currentPage
:
this
.
currentPage
,
pageNum
:
this
.
currentPage
,
pageSize
:
this
.
pageSize
};
getRequest
(
'/haoban-app-announcement-web/announcement-list'
,
para
).
then
(
res
=>
{
let
data
=
res
.
data
;
this
.
loading
=
false
;
if
(
data
.
errorCode
==
1
)
{
this
.
tableData
=
data
.
result
.
resul
t
;
this
.
totalCount
=
data
.
result
.
total
Count
;
this
.
tableData
=
data
.
result
.
lis
t
;
this
.
totalCount
=
data
.
result
.
total
;
}
});
},
...
...
@@ -203,7 +203,12 @@ export default {
this
.
tableData
.
splice
(
index
,
1
);
if
(
this
.
tableData
.
length
==
0
)
{
if
(
this
.
currentPage
>
1
)
{
this
.
currentPage
--
;
this
.
getNoticeList
();
}
else
{
if
(
this
.
totalCount
>
0
)
{
this
.
getNoticeList
();
}
}
}
this
.
$message
.
success
(
'删除成功'
);
...
...
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