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
7c0819b7
Commit
7c0819b7
authored
Nov 06, 2019
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改公告图片
parent
ea5d6fe1
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
28 additions
and
10 deletions
+28
-10
index.html
dist/index.html
+2
-2
app.4367eafe96bcde9927704e627988fc9d.css
dist/static/css/app.4367eafe96bcde9927704e627988fc9d.css
+0
-0
13.3a19a57e18ecd89e62b7.js
dist/static/js/13.3a19a57e18ecd89e62b7.js
+2
-0
13.5713f4c0ef03a3077e57.js
dist/static/js/13.5713f4c0ef03a3077e57.js
+0
-2
manifest.de571f0edbdbfbc0c537.js
dist/static/js/manifest.de571f0edbdbfbc0c537.js
+2
-2
noticeList.vue
src/views/enterpriseApp/notice/noticeList.vue
+22
-4
No files found.
dist/index.html
View file @
7c0819b7
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><link
rel=
"shortcut icon"
href=
./favicon.ico
><title>
好办管理平台
</title><link
href=
./static/css/app.6b196471ddb7804e502af98d20b4f8f3.css
rel=
stylesheet
></head><body
style=
"min-width: 1400px;"
><div
id=
app
></div><script
src=
//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js
></script><script>
// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();
</script><script
type=
text/javascript
src=
./static/js/manifest.9e34a4e2b8973cf07aa1.js
></script><script
type=
text/javascript
src=
./static/js/vendor.e35696ab5cda4872076c.js
></script><script
type=
text/javascript
src=
./static/js/app.c6bafefcb91c88b85feb.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.4367eafe96bcde9927704e627988fc9d.css
rel=
stylesheet
></head><body
style=
"min-width: 1400px;"
><div
id=
app
></div><script
src=
//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js
></script><script>
// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();
</script><script
type=
text/javascript
src=
./static/js/manifest.de571f0edbdbfbc0c537.js
></script><script
type=
text/javascript
src=
./static/js/vendor.e35696ab5cda4872076c.js
></script><script
type=
text/javascript
src=
./static/js/app.c6bafefcb91c88b85feb.js
></script></body></html>
\ No newline at end of file
dist/static/css/app.
6b196471ddb7804e502af98d20b4f8f3
.css
→
dist/static/css/app.
4367eafe96bcde9927704e627988fc9d
.css
View file @
7c0819b7
This source diff could not be displayed because it is too large. You can
view the blob
instead.
dist/static/js/13.3a19a57e18ecd89e62b7.js
0 → 100644
View file @
7c0819b7
webpackJsonp
([
13
],{
"0tMm"
:
function
(
e
,
t
,
a
){
"use strict"
;
var
i
=
a
(
"Mk6G"
),
s
=
{
name
:
"limitinput"
,
props
:{
inputValue
:{
type
:[
String
,
Number
],
default
:
function
(){
return
""
}},
maxLength
:{
type
:
Number
,
default
:
10
},
inputWidth
:{
type
:
Number
,
default
:
500
},
getByType
:{
type
:
String
,
default
:
"word"
},
holder
:{
type
:
String
,
default
:
"请输入"
},
disflag
:{
type
:
Boolean
,
default
:
!
1
},
limitClass
:{
type
:
String
,
default
:
""
}},
data
:
function
(){
return
{
inputNum
:
0
,
limitLength
:
10
,
itemValue
:
""
}},
methods
:{
inputFocus
:
function
(
e
){},
toInput
:
function
(
e
){
var
t
=
""
;
"word"
==
this
.
getByType
?(
t
=
i
.
a
.
getByteVal
(
e
.
target
.
value
,
this
.
limitLength
),
this
.
itemValue
=
t
.
trim
(),
this
.
inputNum
=
i
.
a
.
getZhLen
(
this
.
itemValue
)):(
t
=
i
.
a
.
getCharVal
(
e
.
target
.
value
,
this
.
limitLength
),
this
.
itemValue
=
t
.
trim
(),
this
.
inputNum
=
i
.
a
.
getByteLen
(
this
.
itemValue
)),
this
.
$emit
(
"update:inputValue"
,
this
.
itemValue
)}},
watch
:{
maxLength
:
function
(
e
,
t
){
this
.
limitLength
=
e
},
inputValue
:
function
(
e
,
t
){
this
.
itemValue
=
e
||
""
,
"word"
==
this
.
getByType
?
this
.
inputNum
=
i
.
a
.
getZhLen
(
this
.
itemValue
):
this
.
inputNum
=
i
.
a
.
getByteLen
(
this
.
itemValue
)}},
mounted
:
function
(){
this
.
limitLength
=
this
.
maxLength
,
this
.
itemValue
=
this
.
inputValue
||
""
,
"word"
==
this
.
getByType
?
this
.
inputNum
=
i
.
a
.
getZhLen
(
this
.
inputValue
):
this
.
inputNum
=
i
.
a
.
getByteLen
(
this
.
inputValue
)}},
n
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
class
:[
"input-line-cell"
,
e
.
limitClass
],
style
:{
width
:
e
.
inputWidth
+
"px"
}},[
a
(
"el-input"
,{
style
:{
width
:
e
.
inputWidth
+
"px"
},
attrs
:{
disabled
:
e
.
disflag
,
placeholder
:
e
.
holder
},
on
:{
focus
:
function
(
t
){
e
.
inputFocus
()},
blur
:
function
(
t
){
return
e
.
toInput
(
t
)}},
model
:{
value
:
e
.
itemValue
,
callback
:
function
(
t
){
e
.
itemValue
=
t
},
expression
:
"itemValue"
}}),
e
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"tip"
},[
a
(
"span"
,{
staticClass
:
"len_span"
},[
e
.
_v
(
e
.
_s
(
e
.
inputNum
))]),
e
.
_v
(
"/"
+
e
.
_s
(
e
.
limitLength
))])],
1
)},
staticRenderFns
:[]};
var
o
=
a
(
"VU/8"
)(
s
,
n
,
!
1
,
function
(
e
){
a
(
"rFB1"
)},
"data-v-534946b3"
,
null
).
exports
,
l
=
{
name
:
"create-classify"
,
props
:{
showDialog
:{
type
:
Boolean
,
default
:
!
1
},
classifyName
:{
type
:
String
,
default
:
""
},
classifyId
:{
type
:
String
,
default
:
""
},
appName
:{
type
:
String
,
default
:
""
}},
components
:{
limitInputBlur
:
o
},
data
:
function
(){
return
{
repProjectName
:
"haoban-manage-web"
,
customDialog
:
!
1
,
formData
:{
classifyName
:
""
,
classifyId
:
this
.
classifyId
},
rules
:{
classifyName
:[{
required
:
!
0
,
message
:
"请输入分类名称"
,
trigger
:
"blur"
}]}}},
methods
:{
handleClose
:
function
(
e
){
e
(),
this
.
hideDialog
()},
customCancel
:
function
(){
this
.
hideDialog
()},
hideDialog
:
function
(){
this
.
customDialog
=!
1
,
this
.
formData
.
classifyName
=
""
,
this
.
$emit
(
"hideDialog"
,
""
,
""
)},
customConfirm
:
function
(
e
){
var
t
=
this
;
t
.
formData
.
classifyName
=
t
.
formData
.
classifyName
.
replace
(
/
\s
+/g
,
""
),
t
.
$refs
[
e
].
validate
(
function
(
e
){
if
(
!
e
)
return
!
1
;
t
.
setData
()})},
setData
:
function
(
e
){
this
.
$emit
(
"hideDialog"
,
this
.
formData
.
classifyName
.
replace
(
/
\s
+/g
,
""
),
this
.
formData
.
classifyId
)}},
watch
:{
showDialog
:
function
(
e
,
t
){
this
.
customDialog
=
e
},
classifyName
:
function
(
e
,
t
){
this
.
formData
.
classifyName
=
e
},
classifyId
:
function
(
e
,
t
){
this
.
formData
.
classifyId
=
e
}},
mounted
:
function
(){
this
.
customDialog
=
this
.
showDialog
,
this
.
formData
.
classifyName
=
this
.
classifyName
,
this
.
formData
.
classifyId
=
this
.
classifyId
}},
r
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
directives
:[{
name
:
"show"
,
rawName
:
"v-show"
,
value
:
e
.
customDialog
,
expression
:
"customDialog"
}]},[
a
(
"el-dialog"
,{
staticClass
:
"app-dialog"
,
attrs
:{
title
:
""
==
e
.
classifyName
?
"新增分类"
:
"编辑分类"
,
visible
:
e
.
customDialog
,
width
:
"600px"
,
"before-close"
:
e
.
handleClose
},
on
:{
"update:visible"
:
function
(
t
){
e
.
customDialog
=
t
}}},[
a
(
"div"
,{
staticClass
:
"app-dialog-body"
},[
a
(
"div"
,{
staticClass
:
"el-alert el-alert--info"
,
attrs
:{
role
:
"alert"
}},[
a
(
"i"
,{
staticClass
:
"el-alert__icon el-icon-info"
}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-alert__content"
},[
a
(
"span"
,{
staticClass
:
"el-alert__title"
},[
e
.
_v
(
"新建分类默认排序最后,可在分类列表中调整显示排序"
)])])]),
e
.
_v
(
" "
),
a
(
"el-form"
,{
ref
:
"classifyForm"
,
attrs
:{
model
:
e
.
formData
,
"label-width"
:
"94px"
,
rules
:
e
.
rules
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"分类名称:"
,
prop
:
"classifyName"
}},[
a
(
"limitInputBlur"
,{
attrs
:{
inputWidth
:
440
,
inputValue
:
e
.
formData
.
classifyName
,
holder
:
"请输入分类名称"
,
getByType
:
"word"
,
maxLength
:
8
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
formData
,
"classifyName"
,
t
)}}})],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"dialog-footer"
,
staticStyle
:{
"padding-bottom"
:
"10px"
},
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"el-button"
,{
on
:{
click
:
e
.
customCancel
}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
customConfirm
(
"classifyForm"
)}}},[
e
.
_v
(
e
.
_s
(
""
==
e
.
classifyName
?
"新 建"
:
"保 存"
))])],
1
)])],
1
)},
staticRenderFns
:[]};
var
c
=
a
(
"VU/8"
)(
l
,
r
,
!
1
,
function
(
e
){
a
(
"HlpQ"
)},
"data-v-312f3f75"
,
null
);
t
.
a
=
c
.
exports
},
HlpQ
:
function
(
e
,
t
){},
OVYO
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
i
=
a
(
"//Fk"
),
s
=
a
.
n
(
i
),
n
=
a
(
"Ke24"
),
o
=
a
(
"fPyK"
),
l
=
a
(
"0tMm"
),
r
=
a
(
"DAYN"
),
c
=
a
.
n
(
r
),
u
=
a
(
"P9l9"
),
d
=
a
(
"3E4D"
),
h
=
a
(
"Ch4/"
),
f
=
{
name
:
"noticeList"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}},
activeGroupId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
bgHeight
:
window
.
screen
.
availHeight
-
380
+
"px"
,
topMenuData
:[{
id
:
"1"
,
name
:
"企业公告列表"
}],
classifyList
:[],
enterpriseId
:
JSON
.
parse
(
localStorage
.
getItem
(
"userInfo"
)).
enterpriseId
,
activeId
:
" "
,
activeBrand
:
this
.
brandId
,
activeGroup
:
this
.
activeGroupId
,
searchTitle
:
""
,
dateValue
:
""
,
startTime
:
""
,
endTime
:
""
,
tableData
:[],
pageSize
:
20
,
currentPage
:
1
,
totalCount
:
0
,
noReadCount
:
0
,
readCount
:
0
,
readList
:[],
noReadList
:[],
loading
:
!
1
,
dialogNoticeVisible
:
!
1
,
dialogVisible
:
!
1
,
defaultImg
:
a
(
"mt/x"
),
imgUrl
:
""
,
imgShowFlag
:
!
1
,
readId
:
""
,
readPageSize
:
20
,
readPageNum
:
1
,
unreadPageSize
:
20
,
unreadPageNum
:
1
,
activeClassify
:
""
,
classifyIndex
:
""
,
classifyName
:
""
,
classifyId
:
""
,
showDialog
:
!
1
}},
filters
:{
formatTimeYMD
:
function
(
e
){
var
t
=
new
Date
(
e
),
a
=
t
.
getMonth
()
+
1
,
i
=
t
.
getDate
()
<
10
?
"0"
+
t
.
getDate
():
t
.
getDate
(),
s
=
a
<
10
?
"0"
+
a
:
a
;
return
t
.
getFullYear
()
+
"-"
+
s
+
"-"
+
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
(),
this
.
getClassifyData
())},
activeGroupId
:
function
(
e
,
t
){
e
&&
(
this
.
activeGroup
=
e
,
this
.
activeClassify
=
""
,
this
.
classifyName
=
""
)}},
mounted
:
function
(){
this
.
activeBrand
=
this
.
brandId
,
this
.
brandId
&&
(
this
.
getNoticeList
(),
this
.
getClassifyData
())},
methods
:{
selectClass
:
function
(
e
){
this
.
activeClassify
=
e
?
e
.
labelId
:
""
,
this
.
getNoticeList
()},
itemMoveEnd
:
function
(
e
){
var
t
=
this
,
a
=
{
labelIds
:
this
.
classifyList
.
map
(
function
(
e
){
return
e
.
labelId
}).
join
(
","
)};
Object
(
u
.
e
)(
"/haoban-app-announcement-web/sort-label"
,
a
).
then
(
function
(
e
){
var
t
=
e
.
data
;
1
!=
t
.
errorCode
?
h
.
a
.
errorMsg
(
t
):
d
.
a
.
showmsg
(
"排序成功"
,
"success"
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
toRename
:
function
(
e
,
t
){
this
.
showDialog
=!
0
,
this
.
classifyId
=
e
?
e
.
labelId
:
""
,
this
.
classifyName
=
e
?
e
.
labelName
:
""
,
this
.
classifyIndex
=
e
?
t
:
""
},
toDel
:
function
(
e
,
t
){
var
a
=
this
;
if
(
e
.
noticeCount
)
return
a
.
$message
({
message
:
"分类下还有公告,不可删除"
,
type
:
"warning"
}),
!
1
;
a
.
$confirm
(
"是否要删除选中的分类?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
postDelClass
(
e
,
t
)}).
catch
(
function
(){})},
postDelClass
:
function
(
e
,
t
){
var
a
=
this
,
i
=
{
labelId
:
e
.
labelId
};
Object
(
u
.
e
)(
"/haoban-app-announcement-web/delete-label"
,
i
).
then
(
function
(
e
){
var
i
=
e
.
data
;
if
(
1
==
i
.
errorCode
)
return
d
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
a
.
classifyList
.
splice
(
t
,
1
);
h
.
a
.
errorMsg
(
i
)}).
catch
(
function
(
e
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
hideDialog
:
function
(
e
,
t
){
if
(
console
.
log
(
t
),
""
==
e
)
return
this
.
showDialog
=!
1
,
this
.
classifyName
=
""
,
this
.
classifyId
=
""
,
this
.
classifyIndex
=
""
,
!
1
;
t
?
this
.
editLabel
(
e
,
t
):
this
.
addLabel
(
e
)},
addLabel
:
function
(
e
){
var
t
=
this
,
a
=
{
enterpriseId
:
t
.
enterpriseId
,
brandId
:
t
.
activeBrand
,
labelName
:
e
};
Object
(
u
.
a
)(
"/haoban-app-announcement-web/create-label"
,
a
).
then
(
function
(
a
){
var
i
=
a
.
data
;
if
(
1
==
i
.
errorCode
)
return
d
.
a
.
showmsg
(
"新建成功"
,
"success"
),
t
.
classifyList
.
push
({
labelId
:
i
.
result
,
labelName
:
e
,
noticeCount
:
0
}),
t
.
showDialog
=!
1
,
t
.
classifyName
=
""
,
t
.
classifyId
=
""
,
t
.
classifyIndex
=
""
,
t
.
$refs
.
classify
.
formData
.
classifyName
=
""
,
!
1
;
h
.
a
.
errorMsg
(
i
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
editLabel
:
function
(
e
,
t
){
var
a
=
this
,
i
=
{
labelId
:
t
,
labelName
:
e
};
Object
(
u
.
a
)(
"/haoban-app-announcement-web/update-label"
,
i
).
then
(
function
(
t
){
var
i
=
t
.
data
;
if
(
1
==
i
.
errorCode
)
return
d
.
a
.
showmsg
(
"重命名成功"
,
"success"
),
a
.
showDialog
=!
1
,
a
.
classifyName
=
""
,
a
.
classifyId
=
""
,
void
(
a
.
classifyList
[
a
.
classifyIndex
].
labelName
=
e
);
h
.
a
.
errorMsg
(
i
)}).
catch
(
function
(
e
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getClassifyData
:
function
(){
var
e
=
this
,
t
=
{
brandId
:
e
.
activeBrand
};
Object
(
u
.
a
)(
"/haoban-app-announcement-web/list-label"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
1
==
a
.
errorCode
&&
(
e
.
classifyList
=
a
.
result
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
exportReadExcel
:
function
(){
var
e
=
this
,
t
=
{
announcementId
:
e
.
readId
};
Object
(
u
.
b
)(
"/haoban-app-announcement-web/announcement-readstatus-export"
,
t
).
then
(
function
(
t
){
if
(
!
t
.
data
)
return
h
.
a
.
errorMsg
(
"暂无数据"
),
!
1
;
var
a
=
new
Blob
([
t
.
data
],{
type
:
"application/vnd.ms-excel"
}),
i
=
e
.
readTitle
+
"已读未读名单.xlsx"
,
s
=
document
.
createElement
(
"a"
);
s
.
download
=
i
,
s
.
style
.
display
=
"none"
,
s
.
href
=
URL
.
createObjectURL
(
a
),
document
.
body
.
appendChild
(
s
),
s
.
click
(),
URL
.
revokeObjectURL
(
s
.
href
),
document
.
body
.
removeChild
(
s
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
readDialogClose
:
function
(){
this
.
readTitle
=
""
},
showImage
:
function
(
e
){
if
(
!
e
||
""
==
e
)
return
!
1
;
this
.
imgShowFlag
=!
0
,
this
.
imgUrl
=
e
},
hideImage
:
function
(
e
){
this
.
imgShowFlag
=
e
},
getNoticeList
:
function
(){
var
e
=
this
;
e
.
loading
=!
0
;
var
t
=
{
labelId
:
e
.
activeClassify
||
""
,
startTime
:
e
.
startTime
,
brandId
:
e
.
activeBrand
,
title
:
e
.
searchTitle
,
endTime
:
e
.
endTime
,
pageNum
:
e
.
currentPage
,
pageSize
:
e
.
pageSize
};
Object
(
u
.
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
){
e
||
(
e
=
[]),
this
.
startTime
=
e
[
0
],
this
.
endTime
=
e
[
1
],
this
.
currentPage
=
1
,
this
.
getNoticeList
()},
searchNotice
:
function
(){
this
.
currentPage
=
1
,
this
.
getNoticeList
()},
clearInput
:
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
(
u
.
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
(){})},
loadMore
:
function
(
e
){
if
(
1
==
e
){
if
(
this
.
readList
.
length
>=
this
.
readCount
)
return
!
1
;
this
.
readPageNum
++
,
this
.
getDetailApi
(
this
.
readId
,{
pageSize
:
this
.
readPageSize
,
pageNum
:
this
.
readPageNum
,
readStatus
:
1
})}
else
{
if
(
this
.
noReadList
.
length
>=
this
.
noReadCount
)
return
!
1
;
this
.
unreadPageNum
++
,
this
.
getDetailApi
(
this
.
readId
,{
pageSize
:
this
.
unreadPageSize
,
pageNum
:
this
.
unreadPageNum
,
readStatus
:
0
})}},
readDetail
:
function
(
e
,
t
){
var
a
=
this
;
a
.
readTitle
=
t
,
a
.
readList
=
[],
a
.
noReadList
=
[],
a
.
readPageNum
=
1
,
a
.
unreadPageNum
=
1
,
a
.
readId
=
e
,
a
.
dialogNoticeVisible
=!
0
,
s
.
a
.
all
([
a
.
getDetailApi
(
e
,{
pageSize
:
a
.
readPageSize
,
pageNum
:
a
.
readPageNum
,
readStatus
:
1
})]).
then
(
function
(){
a
.
getDetailApi
(
e
,{
pageSize
:
a
.
unreadPageSize
,
pageNum
:
a
.
unreadPageNum
,
readStatus
:
0
})})},
getDetailApi
:
function
(
e
,
t
){
var
a
=
this
,
i
=
{
announcementId
:
e
,
pageSize
:
t
.
pageSize
,
pageNum
:
t
.
pageNum
,
readStatus
:
t
.
readStatus
};
Object
(
u
.
a
)(
"/haoban-app-announcement-web/announcement-detail"
,
i
).
then
(
function
(
e
){
var
t
=
e
.
data
;
1
==
t
.
errorCode
?
1
==
i
.
readStatus
?(
t
.
result
.
list
&&
t
.
result
.
list
.
length
&&
t
.
result
.
list
.
forEach
(
function
(
e
){
a
.
readList
.
push
(
e
)}),
a
.
readCount
=
t
.
result
.
total
):(
t
.
result
.
list
&&
t
.
result
.
list
.
length
&&
t
.
result
.
list
.
forEach
(
function
(
e
){
a
.
noReadList
.
push
(
e
)}),
a
.
noReadCount
=
t
.
result
.
total
):
a
.
$message
.
error
(
t
.
message
)})},
handleSizeChange
:
function
(
e
){
this
.
pageSize
=
e
,
this
.
getNoticeList
()},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getNoticeList
()},
toSetTop
:
function
(
e
,
t
){
var
a
=
this
;
a
.
$confirm
(
0
==
t
?
"置顶后,该公告将出现在手机好办企业公告顶部,确认置顶该公告吗?"
:
"确定「取消置顶」该条公告吗?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
postTop
(
e
,
t
)})},
postTop
:
function
(
e
,
t
){
var
a
=
this
,
i
=
{
announcementId
:
e
,
pageTop
:
0
==
t
?
1
:
0
};
Object
(
u
.
a
)(
"/haoban-app-announcement-web/announcement-top"
,
i
).
then
(
function
(
e
){
1
==
e
.
data
.
errorCode
&&
(
0
==
t
?
d
.
a
.
showmsg
(
"置顶成功"
,
"success"
):
d
.
a
.
showmsg
(
"取消置顶成功"
,
"success"
),
a
.
currentPage
=
1
,
a
.
getNoticeList
())}).
catch
(
function
(
e
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
handlePreview
:
function
(
e
){
this
.
$refs
.
qrcodePreview
.
qrcode
(
e
,
"announcement"
),
this
.
dialogVisible
=!
0
},
handleShow
:
function
(
e
){
this
.
$router
.
push
(
"/addNotice?announcementId="
+
e
+
"&appIcon="
+
this
.
$route
.
query
.
appIcon
)},
addNotice
:
function
(){
this
.
$router
.
push
(
"/addNotice?appIcon="
+
this
.
$route
.
query
.
appIcon
)}},
components
:{
commonDetailTop
:
n
.
a
,
qrcodeDialog
:
o
.
a
,
draggable
:
c
.
a
,
createClassify
:
l
.
a
},
beforeDestroy
:
function
(){
this
.
readList
=
[],
this
.
noReadList
=
[],
this
.
readPageNum
=
1
,
this
.
unreadPageNum
=
1
}},
g
=
{
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-body flex"
,
style
:{
"min-height"
:
e
.
bgHeight
}},[
a
(
"div"
,{
staticClass
:
"notice-list-body_left border-box"
,
style
:{
"min-height"
:
e
.
bgHeight
}},[
a
(
"div"
,{
staticClass
:
"add-classify"
,
on
:{
click
:
function
(
t
){
e
.
toRename
(
""
)}}},[
a
(
"span"
,[
e
.
_v
(
"新建分类"
)])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"classify-list"
},[
a
(
"div"
,{
class
:[
"classify-all"
,
""
==
e
.
activeClassify
?
"active-class"
:
""
],
on
:{
click
:
function
(
t
){
e
.
selectClass
(
""
)}}},[
a
(
"span"
,[
e
.
_v
(
"所有分类"
)])]),
e
.
_v
(
" "
),
a
(
"ul"
,[
a
(
"draggable"
,{
staticClass
:
"compenent"
,
attrs
:{
id
:
"list"
,
options
:{
group
:{
name
:
"people"
,
pull
:
!
1
,
put
:
!
1
},
sort
:
!
0
}},
on
:{
start
:
function
(
t
){
e
.
isDragging
=!
0
},
end
:
e
.
itemMoveEnd
},
model
:{
value
:
e
.
classifyList
,
callback
:
function
(
t
){
e
.
classifyList
=
t
},
expression
:
"classifyList"
}},[
e
.
_l
(
e
.
classifyList
,
function
(
t
,
i
){
return
[
a
(
"li"
,{
key
:
i
+
"item.classifyName"
},[
a
(
"div"
,{
class
:[
"li-wrap border-box"
,
e
.
activeClassify
==
t
.
labelId
?
"active-class"
:
""
],
on
:{
click
:
function
(
a
){
if
(
a
.
target
!==
a
.
currentTarget
)
return
null
;
e
.
selectClass
(
t
)}}},[
a
(
"i"
,{
staticClass
:
"iconfont icon-paixu"
,
on
:{
click
:
function
(
a
){
if
(
a
.
target
!==
a
.
currentTarget
)
return
null
;
e
.
selectClass
(
t
)}}}),
a
(
"span"
,{
staticClass
:
"label-text"
,
on
:{
click
:
function
(
a
){
if
(
a
.
target
!==
a
.
currentTarget
)
return
null
;
e
.
selectClass
(
t
)}}},[
e
.
_v
(
e
.
_s
(
t
.
labelName
))]),
e
.
_v
(
" "
),
a
(
"el-popover"
,{
attrs
:{
placement
:
"bottom"
,
width
:
"99"
,
trigger
:
"click"
,
"popper-class"
:
"classify-list-pop border-box"
}},[
a
(
"div"
,[
a
(
"div"
,{
staticClass
:
"classify-oprate-cell class-rename text-center"
,
on
:{
click
:
function
(
a
){
a
.
stopPropagation
(),
e
.
toRename
(
t
,
i
)}}},[
e
.
_v
(
"重命名"
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"classify-oprate-cell class-del text-center"
,
on
:{
click
:
function
(
a
){
a
.
stopPropagation
(),
e
.
toDel
(
t
,
i
)}}},[
e
.
_v
(
"删除"
)])]),
e
.
_v
(
" "
),
a
(
"i"
,{
staticClass
:
"el-icon-more font-8 classify-list-oprate"
,
attrs
:{
slot
:
"reference"
},
slot
:
"reference"
})])],
1
)])]})],
2
)],
1
)])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"notice-list-body_right"
},[
a
(
"div"
,{
staticClass
:
"notice-list-table"
},[
a
(
"div"
,{
staticClass
:
"search-wrap"
},[
a
(
"el-input"
,{
staticClass
:
"search-input"
,
attrs
:{
clearable
:
""
,
placeholder
:
"请输入公告标题"
,
"prefix-icon"
:
"el-icon-search"
},
on
:{
clear
:
e
.
clearInput
},
nativeOn
:{
keyup
:
function
(
t
){
return
"button"
in
t
||!
e
.
_k
(
t
.
keyCode
,
"enter"
,
13
,
t
.
key
,
"Enter"
)?
e
.
searchNotice
(
t
):
null
}},
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
:
"公告标题"
,
"show-overflow-tooltip"
:
""
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"name"
,
label
:
"公告封面"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
t
.
row
.
imgUrl
?
a
(
"div"
,{
staticClass
:
"notice-img notice-img-wrap"
},[
a
(
"el-popover"
,{
attrs
:{
"popper-class"
:
"notice-img-popover"
,
placement
:
"right"
,
width
:
"400"
,
trigger
:
"hover"
}},[
a
(
"div"
,{
staticClass
:
"img-preview flex"
},[
a
(
"img"
,{
staticStyle
:{
"max-width"
:
"400px"
},
attrs
:{
src
:
t
.
row
.
imgUrl
,
alt
:
""
}})]),
e
.
_v
(
" "
),
a
(
"img"
,{
attrs
:{
slot
:
"reference"
,
src
:
t
.
row
.
imgUrl
,
alt
:
""
},
slot
:
"reference"
})])],
1
):
a
(
"div"
,{
staticClass
:
"notice-img"
},[
a
(
"img"
,{
attrs
:{
src
:
e
.
defaultImg
,
alt
:
""
}})])]}}])}),
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
){
e
.
readDetail
(
t
.
row
.
announcementId
,
t
.
row
.
title
)}}},[
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
:
"操作"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
toSetTop
(
t
.
row
.
announcementId
,
t
.
row
.
pageTop
)}}},[
e
.
_v
(
e
.
_s
(
1
==
t
.
row
.
pageTop
?
"取消置顶"
:
"置顶"
))]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
handleShow
(
t
.
row
.
announcementId
)}}},[
e
.
_v
(
"查看"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
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"
:[
20
,
40
,
60
,
80
],
"page-size"
:
e
.
pageSize
,
"current-page"
:
e
.
currentPage
,
layout
:
"total, sizes, prev, pager, next"
,
total
:
e
.
totalCount
},
on
:{
"size-change"
:
e
.
handleSizeChange
,
"current-change"
:
e
.
handleCurrentChange
}})],
1
):
e
.
_e
()],
1
)])])],
1
),
e
.
_v
(
" "
),
a
(
"el-dialog"
,{
attrs
:{
title
:
"读取情况"
,
visible
:
e
.
dialogNoticeVisible
,
width
:
"618px"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
dialogNoticeVisible
=
t
},
close
:
e
.
readDialogClose
}},[
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
?
a
(
"ul"
,{
staticClass
:
"read-list"
},
e
.
_l
(
e
.
readList
,
function
(
t
,
i
){
return
a
(
"li"
,{
key
:
i
},[
e
.
_v
(
e
.
_s
(
t
))])})):
a
(
"div"
,{
staticClass
:
"no-read-list-data"
},[
e
.
_v
(
"暂无数据"
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"load-data load-read-data"
,
on
:{
click
:
function
(
t
){
e
.
loadMore
(
1
)}}},[
e
.
_v
(
e
.
_s
(
e
.
readCount
==
e
.
readList
.
length
?
"已加载全部已读人员"
:
"点击加载更多"
))])]),
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
?
a
(
"ul"
,{
staticClass
:
"read-list"
},
e
.
_l
(
e
.
noReadList
,
function
(
t
,
i
){
return
a
(
"li"
,{
key
:
i
},[
e
.
_v
(
e
.
_s
(
t
))])})):
a
(
"div"
,{
staticClass
:
"no-read-list-data"
},[
e
.
_v
(
"暂无数据"
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"load-data load-unread-data"
,
on
:{
click
:
function
(
t
){
e
.
loadMore
(
0
)}}},[
e
.
_v
(
e
.
_s
(
e
.
noReadCount
==
e
.
noReadList
.
length
?
"已加载全部未读人员"
:
"点击加载更多"
))])])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"read-dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
dialogNoticeVisible
=!
1
}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
exportReadExcel
}},[
a
(
"i"
,{
staticClass
:
"iconfont icon-icon_yunxiazai p-r-6"
}),
e
.
_v
(
"下 载"
)])],
1
)]),
e
.
_v
(
" "
),
a
(
"qrcode-dialog"
,{
ref
:
"qrcodePreview"
,
model
:{
value
:
e
.
dialogVisible
,
callback
:
function
(
t
){
e
.
dialogVisible
=
t
},
expression
:
"dialogVisible"
}}),
e
.
_v
(
" "
),
a
(
"create-classify"
,{
ref
:
"classify"
,
attrs
:{
classifyName
:
e
.
classifyName
,
classifyId
:
e
.
classifyId
,
showDialog
:
e
.
showDialog
},
on
:{
hideDialog
:
e
.
hideDialog
}}),
e
.
_v
(
" "
),
a
(
"vue-gic-img-preview"
,{
attrs
:{
imgUrl
:
e
.
imgUrl
,
imgShowFlag
:
e
.
imgShowFlag
},
on
:{
hideImage
:
e
.
hideImage
}})],
1
)},
staticRenderFns
:[]};
var
m
=
a
(
"VU/8"
)(
f
,
g
,
!
1
,
function
(
e
){
a
(
"rq/N"
)},
"data-v-2a319848"
,
null
);
t
.
default
=
m
.
exports
},
"mt/x"
:
function
(
e
,
t
){
e
.
exports
=
"data:image/jpeg;base64,iVBORw0KGgoAAAANSUhEUgAAANwAAADcCAYAAAAbWs+BAAAbLklEQVR4nO3d2XLjSJYm4B/7SnCRqCUyMrpresy6uq9q+v0foy/KrKcqayo2SVxAYl8c7nMBKlISIWVIIkGAPJ9ZmtIy0yJckfzlDsfx41KcFgKEkFbIhx4AIaeEAkdIiyhwhLSIAkdIiyhwhLSIAkdIiyhwhLSIAkdIiyhwhLSIAkdIiyhwhLSIAkdIiyhwhLSIAkdIiyhwhLSIAkdIiyhwhLSIAkdIiyhwhLSIAkdIiyhwhLSIAkdIiyhwhLSIAkdIiyhwhLSIAkdIiyhwhLSIAkdIiyhwhLSIAkdIiyhwhLSIAkdIiyhwhLSIAkdIiyhwhLSIAkdIiyhwhLSIAkdIi9RDD+DUlKxCljPkBUNWMGQ5Q8kqcC5QcQHOOSRZgiLLUGQJmqrA0FWYhgpz81VTlUN/G+SNpDgtxKEHcezygsEPUiRZiSDKoaoKFFWBqihQVRmKLEOSJMiyBEmSIIQAFwKCC3AuwKoKjP3+l+casE0NY8+CodPPzD6hwO0JqzjWYYbFOkGaMZimDk1ToWsqFOXtK/mq4ihKhrJkyLIClqnibGhjODChvuPXJe2gwO0Yqzjmfozv8wimocGyDGiqClmWdv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6RFFDhCWkSBI6RF/x8qjTga7LYI7gAAAABJRU5ErkJggg=="
},
rFB1
:
function
(
e
,
t
){},
"rq/N"
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/13.5713f4c0ef03a3077e57.js
deleted
100644 → 0
View file @
ea5d6fe1
webpackJsonp
([
13
],{
"0tMm"
:
function
(
e
,
t
,
a
){
"use strict"
;
var
i
=
a
(
"Mk6G"
),
s
=
{
name
:
"limitinput"
,
props
:{
inputValue
:{
type
:[
String
,
Number
],
default
:
function
(){
return
""
}},
maxLength
:{
type
:
Number
,
default
:
10
},
inputWidth
:{
type
:
Number
,
default
:
500
},
getByType
:{
type
:
String
,
default
:
"word"
},
holder
:{
type
:
String
,
default
:
"请输入"
},
disflag
:{
type
:
Boolean
,
default
:
!
1
},
limitClass
:{
type
:
String
,
default
:
""
}},
data
:
function
(){
return
{
inputNum
:
0
,
limitLength
:
10
,
itemValue
:
""
}},
methods
:{
inputFocus
:
function
(
e
){},
toInput
:
function
(
e
){
var
t
=
""
;
"word"
==
this
.
getByType
?(
t
=
i
.
a
.
getByteVal
(
e
.
target
.
value
,
this
.
limitLength
),
this
.
itemValue
=
t
.
trim
(),
this
.
inputNum
=
i
.
a
.
getZhLen
(
this
.
itemValue
)):(
t
=
i
.
a
.
getCharVal
(
e
.
target
.
value
,
this
.
limitLength
),
this
.
itemValue
=
t
.
trim
(),
this
.
inputNum
=
i
.
a
.
getByteLen
(
this
.
itemValue
)),
this
.
$emit
(
"update:inputValue"
,
this
.
itemValue
)}},
watch
:{
maxLength
:
function
(
e
,
t
){
this
.
limitLength
=
e
},
inputValue
:
function
(
e
,
t
){
this
.
itemValue
=
e
||
""
,
"word"
==
this
.
getByType
?
this
.
inputNum
=
i
.
a
.
getZhLen
(
this
.
itemValue
):
this
.
inputNum
=
i
.
a
.
getByteLen
(
this
.
itemValue
)}},
mounted
:
function
(){
this
.
limitLength
=
this
.
maxLength
,
this
.
itemValue
=
this
.
inputValue
||
""
,
"word"
==
this
.
getByType
?
this
.
inputNum
=
i
.
a
.
getZhLen
(
this
.
inputValue
):
this
.
inputNum
=
i
.
a
.
getByteLen
(
this
.
inputValue
)}},
n
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
class
:[
"input-line-cell"
,
e
.
limitClass
],
style
:{
width
:
e
.
inputWidth
+
"px"
}},[
a
(
"el-input"
,{
style
:{
width
:
e
.
inputWidth
+
"px"
},
attrs
:{
disabled
:
e
.
disflag
,
placeholder
:
e
.
holder
},
on
:{
focus
:
function
(
t
){
e
.
inputFocus
()},
blur
:
function
(
t
){
return
e
.
toInput
(
t
)}},
model
:{
value
:
e
.
itemValue
,
callback
:
function
(
t
){
e
.
itemValue
=
t
},
expression
:
"itemValue"
}}),
e
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"tip"
},[
a
(
"span"
,{
staticClass
:
"len_span"
},[
e
.
_v
(
e
.
_s
(
e
.
inputNum
))]),
e
.
_v
(
"/"
+
e
.
_s
(
e
.
limitLength
))])],
1
)},
staticRenderFns
:[]};
var
o
=
a
(
"VU/8"
)(
s
,
n
,
!
1
,
function
(
e
){
a
(
"rFB1"
)},
"data-v-534946b3"
,
null
).
exports
,
l
=
{
name
:
"create-classify"
,
props
:{
showDialog
:{
type
:
Boolean
,
default
:
!
1
},
classifyName
:{
type
:
String
,
default
:
""
},
classifyId
:{
type
:
String
,
default
:
""
},
appName
:{
type
:
String
,
default
:
""
}},
components
:{
limitInputBlur
:
o
},
data
:
function
(){
return
{
repProjectName
:
"haoban-manage-web"
,
customDialog
:
!
1
,
formData
:{
classifyName
:
""
,
classifyId
:
this
.
classifyId
},
rules
:{
classifyName
:[{
required
:
!
0
,
message
:
"请输入分类名称"
,
trigger
:
"blur"
}]}}},
methods
:{
handleClose
:
function
(
e
){
e
(),
this
.
hideDialog
()},
customCancel
:
function
(){
this
.
hideDialog
()},
hideDialog
:
function
(){
this
.
customDialog
=!
1
,
this
.
formData
.
classifyName
=
""
,
this
.
$emit
(
"hideDialog"
,
""
,
""
)},
customConfirm
:
function
(
e
){
var
t
=
this
;
t
.
formData
.
classifyName
=
t
.
formData
.
classifyName
.
replace
(
/
\s
+/g
,
""
),
t
.
$refs
[
e
].
validate
(
function
(
e
){
if
(
!
e
)
return
!
1
;
t
.
setData
()})},
setData
:
function
(
e
){
this
.
$emit
(
"hideDialog"
,
this
.
formData
.
classifyName
.
replace
(
/
\s
+/g
,
""
),
this
.
formData
.
classifyId
)}},
watch
:{
showDialog
:
function
(
e
,
t
){
this
.
customDialog
=
e
},
classifyName
:
function
(
e
,
t
){
this
.
formData
.
classifyName
=
e
},
classifyId
:
function
(
e
,
t
){
this
.
formData
.
classifyId
=
e
}},
mounted
:
function
(){
this
.
customDialog
=
this
.
showDialog
,
this
.
formData
.
classifyName
=
this
.
classifyName
,
this
.
formData
.
classifyId
=
this
.
classifyId
}},
r
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
directives
:[{
name
:
"show"
,
rawName
:
"v-show"
,
value
:
e
.
customDialog
,
expression
:
"customDialog"
}]},[
a
(
"el-dialog"
,{
staticClass
:
"app-dialog"
,
attrs
:{
title
:
""
==
e
.
classifyName
?
"新增分类"
:
"编辑分类"
,
visible
:
e
.
customDialog
,
width
:
"600px"
,
"before-close"
:
e
.
handleClose
},
on
:{
"update:visible"
:
function
(
t
){
e
.
customDialog
=
t
}}},[
a
(
"div"
,{
staticClass
:
"app-dialog-body"
},[
a
(
"div"
,{
staticClass
:
"el-alert el-alert--info"
,
attrs
:{
role
:
"alert"
}},[
a
(
"i"
,{
staticClass
:
"el-alert__icon el-icon-info"
}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-alert__content"
},[
a
(
"span"
,{
staticClass
:
"el-alert__title"
},[
e
.
_v
(
"新建分类默认排序最后,可在分类列表中调整显示排序"
)])])]),
e
.
_v
(
" "
),
a
(
"el-form"
,{
ref
:
"classifyForm"
,
attrs
:{
model
:
e
.
formData
,
"label-width"
:
"94px"
,
rules
:
e
.
rules
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"分类名称:"
,
prop
:
"classifyName"
}},[
a
(
"limitInputBlur"
,{
attrs
:{
inputWidth
:
440
,
inputValue
:
e
.
formData
.
classifyName
,
holder
:
"请输入分类名称"
,
getByType
:
"word"
,
maxLength
:
8
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
formData
,
"classifyName"
,
t
)}}})],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"dialog-footer"
,
staticStyle
:{
"padding-bottom"
:
"10px"
},
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"el-button"
,{
on
:{
click
:
e
.
customCancel
}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
customConfirm
(
"classifyForm"
)}}},[
e
.
_v
(
e
.
_s
(
""
==
e
.
classifyName
?
"新 建"
:
"保 存"
))])],
1
)])],
1
)},
staticRenderFns
:[]};
var
c
=
a
(
"VU/8"
)(
l
,
r
,
!
1
,
function
(
e
){
a
(
"HlpQ"
)},
"data-v-312f3f75"
,
null
);
t
.
a
=
c
.
exports
},
CEOj
:
function
(
e
,
t
){},
HlpQ
:
function
(
e
,
t
){},
OVYO
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
i
=
a
(
"//Fk"
),
s
=
a
.
n
(
i
),
n
=
a
(
"Ke24"
),
o
=
a
(
"fPyK"
),
l
=
a
(
"0tMm"
),
r
=
a
(
"DAYN"
),
c
=
a
.
n
(
r
),
u
=
a
(
"P9l9"
),
d
=
a
(
"3E4D"
),
h
=
a
(
"Ch4/"
),
f
=
{
name
:
"noticeList"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}},
activeGroupId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
bgHeight
:
window
.
screen
.
availHeight
-
380
+
"px"
,
topMenuData
:[{
id
:
"1"
,
name
:
"企业公告列表"
}],
classifyList
:[],
enterpriseId
:
JSON
.
parse
(
localStorage
.
getItem
(
"userInfo"
)).
enterpriseId
,
activeId
:
" "
,
activeBrand
:
this
.
brandId
,
activeGroup
:
this
.
activeGroupId
,
searchTitle
:
""
,
dateValue
:
""
,
startTime
:
""
,
endTime
:
""
,
tableData
:[],
pageSize
:
20
,
currentPage
:
1
,
totalCount
:
0
,
noReadCount
:
0
,
readCount
:
0
,
readList
:[],
noReadList
:[],
loading
:
!
1
,
dialogNoticeVisible
:
!
1
,
dialogVisible
:
!
1
,
defaultImg
:
a
(
"mt/x"
),
imgUrl
:
""
,
imgShowFlag
:
!
1
,
readId
:
""
,
readPageSize
:
20
,
readPageNum
:
1
,
unreadPageSize
:
20
,
unreadPageNum
:
1
,
activeClassify
:
""
,
classifyIndex
:
""
,
classifyName
:
""
,
classifyId
:
""
,
showDialog
:
!
1
}},
filters
:{
formatTimeYMD
:
function
(
e
){
var
t
=
new
Date
(
e
),
a
=
t
.
getMonth
()
+
1
,
i
=
t
.
getDate
()
<
10
?
"0"
+
t
.
getDate
():
t
.
getDate
(),
s
=
a
<
10
?
"0"
+
a
:
a
;
return
t
.
getFullYear
()
+
"-"
+
s
+
"-"
+
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
(),
this
.
getClassifyData
())},
activeGroupId
:
function
(
e
,
t
){
e
&&
(
this
.
activeGroup
=
e
,
this
.
activeClassify
=
""
,
this
.
classifyName
=
""
)}},
mounted
:
function
(){
this
.
activeBrand
=
this
.
brandId
,
this
.
brandId
&&
(
this
.
getNoticeList
(),
this
.
getClassifyData
())},
methods
:{
selectClass
:
function
(
e
){
this
.
activeClassify
=
e
?
e
.
labelId
:
""
,
this
.
getNoticeList
()},
itemMoveEnd
:
function
(
e
){
var
t
=
this
,
a
=
{
labelIds
:
this
.
classifyList
.
map
(
function
(
e
){
return
e
.
labelId
}).
join
(
","
)};
Object
(
u
.
e
)(
"/haoban-app-announcement-web/sort-label"
,
a
).
then
(
function
(
e
){
var
t
=
e
.
data
;
1
!=
t
.
errorCode
?
h
.
a
.
errorMsg
(
t
):
d
.
a
.
showmsg
(
"排序成功"
,
"success"
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
toRename
:
function
(
e
,
t
){
this
.
showDialog
=!
0
,
this
.
classifyId
=
e
?
e
.
labelId
:
""
,
this
.
classifyName
=
e
?
e
.
labelName
:
""
,
this
.
classifyIndex
=
e
?
t
:
""
},
toDel
:
function
(
e
,
t
){
var
a
=
this
;
if
(
e
.
noticeCount
)
return
a
.
$message
({
message
:
"分类下还有公告,不可删除"
,
type
:
"warning"
}),
!
1
;
a
.
$confirm
(
"是否要删除选中的分类?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
postDelClass
(
e
,
t
)}).
catch
(
function
(){})},
postDelClass
:
function
(
e
,
t
){
var
a
=
this
,
i
=
{
labelId
:
e
.
labelId
};
Object
(
u
.
e
)(
"/haoban-app-announcement-web/delete-label"
,
i
).
then
(
function
(
e
){
var
i
=
e
.
data
;
if
(
1
==
i
.
errorCode
)
return
d
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
a
.
classifyList
.
splice
(
t
,
1
);
h
.
a
.
errorMsg
(
i
)}).
catch
(
function
(
e
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
hideDialog
:
function
(
e
,
t
){
if
(
console
.
log
(
t
),
""
==
e
)
return
this
.
showDialog
=!
1
,
this
.
classifyName
=
""
,
this
.
classifyId
=
""
,
this
.
classifyIndex
=
""
,
!
1
;
t
?
this
.
editLabel
(
e
,
t
):
this
.
addLabel
(
e
)},
addLabel
:
function
(
e
){
var
t
=
this
,
a
=
{
enterpriseId
:
t
.
enterpriseId
,
brandId
:
t
.
activeBrand
,
labelName
:
e
};
Object
(
u
.
a
)(
"/haoban-app-announcement-web/create-label"
,
a
).
then
(
function
(
a
){
var
i
=
a
.
data
;
if
(
1
==
i
.
errorCode
)
return
d
.
a
.
showmsg
(
"新建成功"
,
"success"
),
t
.
classifyList
.
push
({
labelId
:
i
.
result
,
labelName
:
e
,
noticeCount
:
0
}),
t
.
showDialog
=!
1
,
t
.
classifyName
=
""
,
t
.
classifyId
=
""
,
t
.
classifyIndex
=
""
,
t
.
$refs
.
classify
.
formData
.
classifyName
=
""
,
!
1
;
h
.
a
.
errorMsg
(
i
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
editLabel
:
function
(
e
,
t
){
var
a
=
this
,
i
=
{
labelId
:
t
,
labelName
:
e
};
Object
(
u
.
a
)(
"/haoban-app-announcement-web/update-label"
,
i
).
then
(
function
(
t
){
var
i
=
t
.
data
;
if
(
1
==
i
.
errorCode
)
return
d
.
a
.
showmsg
(
"重命名成功"
,
"success"
),
a
.
showDialog
=!
1
,
a
.
classifyName
=
""
,
a
.
classifyId
=
""
,
void
(
a
.
classifyList
[
a
.
classifyIndex
].
labelName
=
e
);
h
.
a
.
errorMsg
(
i
)}).
catch
(
function
(
e
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getClassifyData
:
function
(){
var
e
=
this
,
t
=
{
brandId
:
e
.
activeBrand
};
Object
(
u
.
a
)(
"/haoban-app-announcement-web/list-label"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
1
==
a
.
errorCode
&&
(
e
.
classifyList
=
a
.
result
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
exportReadExcel
:
function
(){
var
e
=
this
,
t
=
{
announcementId
:
e
.
readId
};
Object
(
u
.
b
)(
"/haoban-app-announcement-web/announcement-readstatus-export"
,
t
).
then
(
function
(
t
){
if
(
!
t
.
data
)
return
h
.
a
.
errorMsg
(
"暂无数据"
),
!
1
;
var
a
=
new
Blob
([
t
.
data
],{
type
:
"application/vnd.ms-excel"
}),
i
=
e
.
readTitle
+
"已读未读名单.xlsx"
,
s
=
document
.
createElement
(
"a"
);
s
.
download
=
i
,
s
.
style
.
display
=
"none"
,
s
.
href
=
URL
.
createObjectURL
(
a
),
document
.
body
.
appendChild
(
s
),
s
.
click
(),
URL
.
revokeObjectURL
(
s
.
href
),
document
.
body
.
removeChild
(
s
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
readDialogClose
:
function
(){
this
.
readTitle
=
""
},
showImage
:
function
(
e
){
if
(
!
e
||
""
==
e
)
return
!
1
;
this
.
imgShowFlag
=!
0
,
this
.
imgUrl
=
e
},
hideImage
:
function
(
e
){
this
.
imgShowFlag
=
e
},
getNoticeList
:
function
(){
var
e
=
this
;
e
.
loading
=!
0
;
var
t
=
{
labelId
:
e
.
activeClassify
||
""
,
startTime
:
e
.
startTime
,
brandId
:
e
.
activeBrand
,
title
:
e
.
searchTitle
,
endTime
:
e
.
endTime
,
pageNum
:
e
.
currentPage
,
pageSize
:
e
.
pageSize
};
Object
(
u
.
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
){
e
||
(
e
=
[]),
this
.
startTime
=
e
[
0
],
this
.
endTime
=
e
[
1
],
this
.
currentPage
=
1
,
this
.
getNoticeList
()},
searchNotice
:
function
(){
this
.
currentPage
=
1
,
this
.
getNoticeList
()},
clearInput
:
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
(
u
.
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
(){})},
loadMore
:
function
(
e
){
if
(
1
==
e
){
if
(
this
.
readList
.
length
>=
this
.
readCount
)
return
!
1
;
this
.
readPageNum
++
,
this
.
getDetailApi
(
this
.
readId
,{
pageSize
:
this
.
readPageSize
,
pageNum
:
this
.
readPageNum
,
readStatus
:
1
})}
else
{
if
(
this
.
noReadList
.
length
>=
this
.
noReadCount
)
return
!
1
;
this
.
unreadPageNum
++
,
this
.
getDetailApi
(
this
.
readId
,{
pageSize
:
this
.
unreadPageSize
,
pageNum
:
this
.
unreadPageNum
,
readStatus
:
0
})}},
readDetail
:
function
(
e
,
t
){
var
a
=
this
;
a
.
readTitle
=
t
,
a
.
readList
=
[],
a
.
noReadList
=
[],
a
.
readPageNum
=
1
,
a
.
unreadPageNum
=
1
,
a
.
readId
=
e
,
a
.
dialogNoticeVisible
=!
0
,
s
.
a
.
all
([
a
.
getDetailApi
(
e
,{
pageSize
:
a
.
readPageSize
,
pageNum
:
a
.
readPageNum
,
readStatus
:
1
})]).
then
(
function
(){
a
.
getDetailApi
(
e
,{
pageSize
:
a
.
unreadPageSize
,
pageNum
:
a
.
unreadPageNum
,
readStatus
:
0
})})},
getDetailApi
:
function
(
e
,
t
){
var
a
=
this
,
i
=
{
announcementId
:
e
,
pageSize
:
t
.
pageSize
,
pageNum
:
t
.
pageNum
,
readStatus
:
t
.
readStatus
};
Object
(
u
.
a
)(
"/haoban-app-announcement-web/announcement-detail"
,
i
).
then
(
function
(
e
){
var
t
=
e
.
data
;
1
==
t
.
errorCode
?
1
==
i
.
readStatus
?(
t
.
result
.
list
&&
t
.
result
.
list
.
length
&&
t
.
result
.
list
.
forEach
(
function
(
e
){
a
.
readList
.
push
(
e
)}),
a
.
readCount
=
t
.
result
.
total
):(
t
.
result
.
list
&&
t
.
result
.
list
.
length
&&
t
.
result
.
list
.
forEach
(
function
(
e
){
a
.
noReadList
.
push
(
e
)}),
a
.
noReadCount
=
t
.
result
.
total
):
a
.
$message
.
error
(
t
.
message
)})},
handleSizeChange
:
function
(
e
){
this
.
pageSize
=
e
,
this
.
getNoticeList
()},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getNoticeList
()},
toSetTop
:
function
(
e
,
t
){
var
a
=
this
;
a
.
$confirm
(
0
==
t
?
"置顶后,该公告将出现在手机好办企业公告顶部,确认置顶该公告吗?"
:
"确定「取消置顶」该条公告吗?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
postTop
(
e
,
t
)})},
postTop
:
function
(
e
,
t
){
var
a
=
this
,
i
=
{
announcementId
:
e
,
pageTop
:
0
==
t
?
1
:
0
};
Object
(
u
.
a
)(
"/haoban-app-announcement-web/announcement-top"
,
i
).
then
(
function
(
e
){
1
==
e
.
data
.
errorCode
&&
(
0
==
t
?
d
.
a
.
showmsg
(
"置顶成功"
,
"success"
):
d
.
a
.
showmsg
(
"取消置顶成功"
,
"success"
),
a
.
currentPage
=
1
,
a
.
getNoticeList
())}).
catch
(
function
(
e
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
handlePreview
:
function
(
e
){
this
.
$refs
.
qrcodePreview
.
qrcode
(
e
,
"announcement"
),
this
.
dialogVisible
=!
0
},
handleShow
:
function
(
e
){
this
.
$router
.
push
(
"/addNotice?announcementId="
+
e
+
"&appIcon="
+
this
.
$route
.
query
.
appIcon
)},
addNotice
:
function
(){
this
.
$router
.
push
(
"/addNotice?appIcon="
+
this
.
$route
.
query
.
appIcon
)}},
components
:{
commonDetailTop
:
n
.
a
,
qrcodeDialog
:
o
.
a
,
draggable
:
c
.
a
,
createClassify
:
l
.
a
},
beforeDestroy
:
function
(){
this
.
readList
=
[],
this
.
noReadList
=
[],
this
.
readPageNum
=
1
,
this
.
unreadPageNum
=
1
}},
g
=
{
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-body flex"
,
style
:{
"min-height"
:
e
.
bgHeight
}},[
a
(
"div"
,{
staticClass
:
"notice-list-body_left border-box"
,
style
:{
"min-height"
:
e
.
bgHeight
}},[
a
(
"div"
,{
staticClass
:
"add-classify"
,
on
:{
click
:
function
(
t
){
e
.
toRename
(
""
)}}},[
a
(
"span"
,[
e
.
_v
(
"新建分类"
)])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"classify-list"
},[
a
(
"div"
,{
class
:[
"classify-all"
,
""
==
e
.
activeClassify
?
"active-class"
:
""
],
on
:{
click
:
function
(
t
){
e
.
selectClass
(
""
)}}},[
a
(
"span"
,[
e
.
_v
(
"所有分类"
)])]),
e
.
_v
(
" "
),
a
(
"ul"
,[
a
(
"draggable"
,{
staticClass
:
"compenent"
,
attrs
:{
id
:
"list"
,
options
:{
group
:{
name
:
"people"
,
pull
:
!
1
,
put
:
!
1
},
sort
:
!
0
}},
on
:{
start
:
function
(
t
){
e
.
isDragging
=!
0
},
end
:
e
.
itemMoveEnd
},
model
:{
value
:
e
.
classifyList
,
callback
:
function
(
t
){
e
.
classifyList
=
t
},
expression
:
"classifyList"
}},[
e
.
_l
(
e
.
classifyList
,
function
(
t
,
i
){
return
[
a
(
"li"
,{
key
:
i
+
"item.classifyName"
},[
a
(
"div"
,{
class
:[
"li-wrap border-box"
,
e
.
activeClassify
==
t
.
labelId
?
"active-class"
:
""
],
on
:{
click
:
function
(
a
){
if
(
a
.
target
!==
a
.
currentTarget
)
return
null
;
e
.
selectClass
(
t
)}}},[
a
(
"i"
,{
staticClass
:
"iconfont icon-paixu"
,
on
:{
click
:
function
(
a
){
if
(
a
.
target
!==
a
.
currentTarget
)
return
null
;
e
.
selectClass
(
t
)}}}),
a
(
"span"
,{
staticClass
:
"label-text"
,
on
:{
click
:
function
(
a
){
if
(
a
.
target
!==
a
.
currentTarget
)
return
null
;
e
.
selectClass
(
t
)}}},[
e
.
_v
(
e
.
_s
(
t
.
labelName
))]),
e
.
_v
(
" "
),
a
(
"el-popover"
,{
attrs
:{
placement
:
"bottom"
,
width
:
"99"
,
trigger
:
"click"
,
"popper-class"
:
"classify-list-pop border-box"
}},[
a
(
"div"
,[
a
(
"div"
,{
staticClass
:
"classify-oprate-cell class-rename text-center"
,
on
:{
click
:
function
(
a
){
a
.
stopPropagation
(),
e
.
toRename
(
t
,
i
)}}},[
e
.
_v
(
"重命名"
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"classify-oprate-cell class-del text-center"
,
on
:{
click
:
function
(
a
){
a
.
stopPropagation
(),
e
.
toDel
(
t
,
i
)}}},[
e
.
_v
(
"删除"
)])]),
e
.
_v
(
" "
),
a
(
"i"
,{
staticClass
:
"el-icon-more font-8 classify-list-oprate"
,
attrs
:{
slot
:
"reference"
},
slot
:
"reference"
})])],
1
)])]})],
2
)],
1
)])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"notice-list-body_right"
},[
a
(
"div"
,{
staticClass
:
"notice-list-table"
},[
a
(
"div"
,{
staticClass
:
"search-wrap"
},[
a
(
"el-input"
,{
staticClass
:
"search-input"
,
attrs
:{
clearable
:
""
,
placeholder
:
"请输入公告标题"
,
"prefix-icon"
:
"el-icon-search"
},
on
:{
clear
:
e
.
clearInput
},
nativeOn
:{
keyup
:
function
(
t
){
return
"button"
in
t
||!
e
.
_k
(
t
.
keyCode
,
"enter"
,
13
,
t
.
key
,
"Enter"
)?
e
.
searchNotice
(
t
):
null
}},
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
:
"公告标题"
,
"show-overflow-tooltip"
:
""
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"name"
,
label
:
"公告封面"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
t
.
row
.
imgUrl
?
a
(
"div"
,{
staticClass
:
"notice-img"
},[
a
(
"el-popover"
,{
attrs
:{
"popper-class"
:
"notice-img-popover"
,
placement
:
"right"
,
width
:
"400"
,
trigger
:
"hover"
}},[
a
(
"div"
,{
staticClass
:
"img-preview flex"
},[
a
(
"img"
,{
staticStyle
:{
"max-width"
:
"400px"
},
attrs
:{
src
:
t
.
row
.
imgUrl
,
alt
:
""
}})]),
e
.
_v
(
" "
),
a
(
"img"
,{
attrs
:{
slot
:
"reference"
,
src
:
t
.
row
.
imgUrl
,
alt
:
""
},
slot
:
"reference"
})])],
1
):
a
(
"div"
,{
staticClass
:
"notice-img"
},[
a
(
"img"
,{
attrs
:{
src
:
e
.
defaultImg
,
alt
:
""
}})])]}}])}),
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
){
e
.
readDetail
(
t
.
row
.
announcementId
,
t
.
row
.
title
)}}},[
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
:
"操作"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
toSetTop
(
t
.
row
.
announcementId
,
t
.
row
.
pageTop
)}}},[
e
.
_v
(
e
.
_s
(
1
==
t
.
row
.
pageTop
?
"取消置顶"
:
"置顶"
))]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
handleShow
(
t
.
row
.
announcementId
)}}},[
e
.
_v
(
"查看"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
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"
:[
20
,
40
,
60
,
80
],
"page-size"
:
e
.
pageSize
,
"current-page"
:
e
.
currentPage
,
layout
:
"total, sizes, prev, pager, next"
,
total
:
e
.
totalCount
},
on
:{
"size-change"
:
e
.
handleSizeChange
,
"current-change"
:
e
.
handleCurrentChange
}})],
1
):
e
.
_e
()],
1
)])])],
1
),
e
.
_v
(
" "
),
a
(
"el-dialog"
,{
attrs
:{
title
:
"读取情况"
,
visible
:
e
.
dialogNoticeVisible
,
width
:
"618px"
},
on
:{
"update:visible"
:
function
(
t
){
e
.
dialogNoticeVisible
=
t
},
close
:
e
.
readDialogClose
}},[
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
?
a
(
"ul"
,{
staticClass
:
"read-list"
},
e
.
_l
(
e
.
readList
,
function
(
t
,
i
){
return
a
(
"li"
,{
key
:
i
},[
e
.
_v
(
e
.
_s
(
t
))])})):
a
(
"div"
,{
staticClass
:
"no-read-list-data"
},[
e
.
_v
(
"暂无数据"
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"load-data load-read-data"
,
on
:{
click
:
function
(
t
){
e
.
loadMore
(
1
)}}},[
e
.
_v
(
e
.
_s
(
e
.
readCount
==
e
.
readList
.
length
?
"已加载全部已读人员"
:
"点击加载更多"
))])]),
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
?
a
(
"ul"
,{
staticClass
:
"read-list"
},
e
.
_l
(
e
.
noReadList
,
function
(
t
,
i
){
return
a
(
"li"
,{
key
:
i
},[
e
.
_v
(
e
.
_s
(
t
))])})):
a
(
"div"
,{
staticClass
:
"no-read-list-data"
},[
e
.
_v
(
"暂无数据"
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"load-data load-unread-data"
,
on
:{
click
:
function
(
t
){
e
.
loadMore
(
0
)}}},[
e
.
_v
(
e
.
_s
(
e
.
noReadCount
==
e
.
noReadList
.
length
?
"已加载全部未读人员"
:
"点击加载更多"
))])])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"read-dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"el-button"
,{
on
:{
click
:
function
(
t
){
e
.
dialogNoticeVisible
=!
1
}}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
exportReadExcel
}},[
a
(
"i"
,{
staticClass
:
"iconfont icon-icon_yunxiazai p-r-6"
}),
e
.
_v
(
"下 载"
)])],
1
)]),
e
.
_v
(
" "
),
a
(
"qrcode-dialog"
,{
ref
:
"qrcodePreview"
,
model
:{
value
:
e
.
dialogVisible
,
callback
:
function
(
t
){
e
.
dialogVisible
=
t
},
expression
:
"dialogVisible"
}}),
e
.
_v
(
" "
),
a
(
"create-classify"
,{
ref
:
"classify"
,
attrs
:{
classifyName
:
e
.
classifyName
,
classifyId
:
e
.
classifyId
,
showDialog
:
e
.
showDialog
},
on
:{
hideDialog
:
e
.
hideDialog
}}),
e
.
_v
(
" "
),
a
(
"vue-gic-img-preview"
,{
attrs
:{
imgUrl
:
e
.
imgUrl
,
imgShowFlag
:
e
.
imgShowFlag
},
on
:{
hideImage
:
e
.
hideImage
}})],
1
)},
staticRenderFns
:[]};
var
m
=
a
(
"VU/8"
)(
f
,
g
,
!
1
,
function
(
e
){
a
(
"CEOj"
)},
"data-v-318ee2f6"
,
null
);
t
.
default
=
m
.
exports
},
"mt/x"
:
function
(
e
,
t
){
e
.
exports
=
"data:image/jpeg;base64,iVBORw0KGgoAAAANSUhEUgAAANwAAADcCAYAAAAbWs+BAAAbLklEQVR4nO3d2XLjSJYm4B/7SnCRqCUyMrpresy6uq9q+v0foy/KrKcqayo2SVxAYl8c7nMBKlISIWVIIkGAPJ9ZmtIy0yJckfzlDsfx41KcFgKEkFbIhx4AIaeEAkdIiyhwhLSIAkdIiyhwhLSIAkdIiyhwhLSIAkdIiyhwhLSIAkdIiyhwhLSIAkdIiyhwhLSIAkdIiyhwhLSIAkdIiyhwhLSIAkdIiyhwhLSIAkdIiyhwhLSIAkdIiyhwhLSIAkdIiyhwhLSIAkdIiyhwhLSIAkdIiyhwhLSIAkdIi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1HrvzgX9a2tFUfFOTzHgGlocCwNjnW6IXuIAkdeVC8FOVj14OvmOqiq4r8HUJKgKDIMXYGuKdBV5STP6f2R49x7JTujyDIUXcZpbGnsH/0IIqRFFDhCWkSBI6RFFDhCWkSBI6RFFDhCWkSBI6RFFDhCWkSBI6RFFDhCWkSBI6RFFDhCWkSBI6RFFDhCWkSBI6RFFDhCWkSBI6RFFDhCWkSBI6RFFDhCWkSBI6RFFDhCWkSBI6RFFDhCWkSBI6RFFDhCWkSBI6RFFDhCWkSBI6RFFDhCWkSBI6RFFDhCWkSBI6RFFDhCWkSBI6RF/x8qjTga7LYI7gAAAABJRU5ErkJggg=="
},
rFB1
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/manifest.
9e34a4e2b8973cf07aa1
.js
→
dist/static/js/manifest.
de571f0edbdbfbc0c537
.js
View file @
7c0819b7
!
function
(
e
){
var
c
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
f
,
b
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
f
.
length
;
i
++
)
t
=
f
[
i
],
a
[
t
]
&&
u
.
push
(
a
[
t
][
0
]),
a
[
t
]
=
0
;
for
(
r
in
b
)
Object
.
prototype
.
hasOwnProperty
.
call
(
b
,
r
)
&&
(
e
[
r
]
=
b
[
r
]);
for
(
c
&&
c
(
f
,
b
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
d
(
d
.
s
=
n
[
i
]);
return
o
};
var
f
=
{},
a
=
{
92
:
0
};
function
d
(
c
){
if
(
f
[
c
])
return
f
[
c
].
exports
;
var
a
=
f
[
c
]
=
{
i
:
c
,
l
:
!
1
,
exports
:{}};
return
e
[
c
].
call
(
a
.
exports
,
a
,
a
.
exports
,
d
),
a
.
l
=!
0
,
a
.
exports
}
d
.
e
=
function
(
e
){
var
c
=
a
[
e
];
if
(
0
===
c
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
c
)
return
c
[
2
];
var
f
=
new
Promise
(
function
(
f
,
d
){
c
=
a
[
e
]
=
[
f
,
d
]});
c
[
2
]
=
f
;
var
b
=
document
.
getElementsByTagName
(
"head"
)[
0
],
n
=
document
.
createElement
(
"script"
);
n
.
type
=
"text/javascript"
,
n
.
charset
=
"utf-8"
,
n
.
async
=!
0
,
n
.
timeout
=
12
e4
,
d
.
nc
&&
n
.
setAttribute
(
"nonce"
,
d
.
nc
),
n
.
src
=
d
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"e94080548335c4f0aa58"
,
1
:
"fe9dec1f31b04053fd7e"
,
2
:
"bf7cb017a67a6050ec39"
,
3
:
"b7e6d57d97174b75b050"
,
4
:
"11254d7e3a102121b8ec"
,
5
:
"a76f07a2c08c4a51fdea"
,
6
:
"124ad8222f7b043b44ae"
,
7
:
"ebad93a8c5bffffd9e98"
,
8
:
"f1c9fb5c9212483138d8"
,
9
:
"b5aae16b3951516573ad"
,
10
:
"ebbed2d956a1376f014a"
,
11
:
"59c7813cc972f62b1d18"
,
12
:
"e3f419b9972001e235d3"
,
13
:
"5713f4c0ef03a3077e57"
,
14
:
"906484db655680062129"
,
15
:
"dc1ca8ebc6cc47b86e2d"
,
16
:
"2ee1cd09e02cae2867cf"
,
17
:
"78c6d10043e3245cbd2a"
,
18
:
"392fbc7b206e00262f59"
,
19
:
"d857e84723b588b3f07f"
,
20
:
"2c088b315d9e6d3e38df"
,
21
:
"c50987389f9771604c9c"
,
22
:
"f08c872fb1b9438d09ff"
,
23
:
"5d6e316d1d9b9a784718"
,
24
:
"9d547e5255fc6330d24b"
,
25
:
"d88ef1299d37c1600478"
,
26
:
"8c7f557c97be9d9c8aca"
,
27
:
"2ea724b0442e927bfdf5"
,
28
:
"fec906a69641d385c1de"
,
29
:
"08f743a4cbfcc2c25c59"
,
30
:
"e5670f38e863b827565e"
,
31
:
"0152758bf0eba4ffa971"
,
32
:
"641f0c04a7b39b5e8ea8"
,
33
:
"d553c3facd269fce3e2c"
,
34
:
"f5e5b8fb5643f7cf75f1"
,
35
:
"1bf73a7b6aaceaaf56ae"
,
36
:
"470632eafc5e615123db"
,
37
:
"d56869519d51c71c5d2e"
,
38
:
"c08687de70ba7a5b1007"
,
39
:
"9a609b6dc929d6860ec1"
,
40
:
"2f23601862b772e41f25"
,
41
:
"937c376a68e546b6399b"
,
42
:
"eec975c417c042a14578"
,
43
:
"e386ed64995ca06996f1"
,
44
:
"ebf089cd236f952c4ed5"
,
45
:
"67c57cfc14847ad350df"
,
46
:
"7fe51c0f71cfaec33913"
,
47
:
"5ef9d0c6fdbde30a38e2"
,
48
:
"d6ccd29f5cd5515fe3c8"
,
49
:
"a506c08b27c8706990e4"
,
50
:
"43b4530ad8b72c54ecc4"
,
51
:
"7fc0ff7b08a3b083ca59"
,
52
:
"32f90b9a69e582931b38"
,
53
:
"37fe749ecaf97f20d0a4"
,
54
:
"51bb9c2c2f65a3ded931"
,
55
:
"445f4e3bb91f16b7a95e"
,
56
:
"72d8765f904b511cd6b8"
,
57
:
"8537277e2d7085de6cf7"
,
58
:
"4a0908d2514540724058"
,
59
:
"0dcf5e169135474877b9"
,
60
:
"f084d603d9237fb54da1"
,
61
:
"9e02c21fe65c22d20569"
,
62
:
"1a1be02dbe49eba047e8"
,
63
:
"f75d89d38358625458e0"
,
64
:
"de9d235e55d32415e2a7"
,
65
:
"199858d7ae6f2bf402fc"
,
66
:
"2326bfba0f3bb9687d4b"
,
67
:
"165f5e6b83725d477bf8"
,
68
:
"c27352fbe93b754f3719"
,
69
:
"a2a84fd3cecbcc43952d"
,
70
:
"266a3f3668b9e62e4776"
,
71
:
"edd82ef8fa0504c274e5"
,
72
:
"e01f8e09cbe1bab126a7"
,
73
:
"32d226bf075dff26dda8"
,
74
:
"1bb738aed66456b26308"
,
75
:
"886217fae3eb522651c3"
,
76
:
"81b59b5cbde98212f883"
,
77
:
"a50195118bfed9460f51"
,
78
:
"dda6efbedc5248b6585d"
,
79
:
"cc7e827051453e252389"
,
80
:
"c4ac9c2f090e93c0a28e"
,
81
:
"f4498858f0567cab3b8d"
,
82
:
"93be5601e905b5c56780"
,
83
:
"3a8425c3945a3595cd2b"
,
84
:
"08e22001c1b5d16e87d4"
,
85
:
"de949860e618a54d00e5"
,
86
:
"be07e374a7a61c035746"
,
87
:
"b403a1566dbc03317805"
,
88
:
"ac9164f22b2726637ef9"
,
91
:
"03a692f818037323e1b6"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
c
=
a
[
e
];
0
!==
c
&&
(
c
&&
c
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
a
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
b
.
appendChild
(
n
),
f
},
d
.
m
=
e
,
d
.
c
=
f
,
d
.
d
=
function
(
e
,
c
,
f
){
d
.
o
(
e
,
c
)
||
Object
.
defineProperty
(
e
,
c
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
f
})},
d
.
n
=
function
(
e
){
var
c
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
d
.
d
(
c
,
"a"
,
c
),
c
},
d
.
o
=
function
(
e
,
c
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
c
)},
d
.
p
=
"./"
,
d
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
!
function
(
e
){
var
c
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
f
,
b
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
f
.
length
;
i
++
)
t
=
f
[
i
],
a
[
t
]
&&
u
.
push
(
a
[
t
][
0
]),
a
[
t
]
=
0
;
for
(
r
in
b
)
Object
.
prototype
.
hasOwnProperty
.
call
(
b
,
r
)
&&
(
e
[
r
]
=
b
[
r
]);
for
(
c
&&
c
(
f
,
b
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
d
(
d
.
s
=
n
[
i
]);
return
o
};
var
f
=
{},
a
=
{
92
:
0
};
function
d
(
c
){
if
(
f
[
c
])
return
f
[
c
].
exports
;
var
a
=
f
[
c
]
=
{
i
:
c
,
l
:
!
1
,
exports
:{}};
return
e
[
c
].
call
(
a
.
exports
,
a
,
a
.
exports
,
d
),
a
.
l
=!
0
,
a
.
exports
}
d
.
e
=
function
(
e
){
var
c
=
a
[
e
];
if
(
0
===
c
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
c
)
return
c
[
2
];
var
f
=
new
Promise
(
function
(
f
,
d
){
c
=
a
[
e
]
=
[
f
,
d
]});
c
[
2
]
=
f
;
var
b
=
document
.
getElementsByTagName
(
"head"
)[
0
],
n
=
document
.
createElement
(
"script"
);
n
.
type
=
"text/javascript"
,
n
.
charset
=
"utf-8"
,
n
.
async
=!
0
,
n
.
timeout
=
12
e4
,
d
.
nc
&&
n
.
setAttribute
(
"nonce"
,
d
.
nc
),
n
.
src
=
d
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"e94080548335c4f0aa58"
,
1
:
"fe9dec1f31b04053fd7e"
,
2
:
"bf7cb017a67a6050ec39"
,
3
:
"b7e6d57d97174b75b050"
,
4
:
"11254d7e3a102121b8ec"
,
5
:
"a76f07a2c08c4a51fdea"
,
6
:
"124ad8222f7b043b44ae"
,
7
:
"ebad93a8c5bffffd9e98"
,
8
:
"f1c9fb5c9212483138d8"
,
9
:
"b5aae16b3951516573ad"
,
10
:
"ebbed2d956a1376f014a"
,
11
:
"59c7813cc972f62b1d18"
,
12
:
"e3f419b9972001e235d3"
,
13
:
"3a19a57e18ecd89e62b7"
,
14
:
"906484db655680062129"
,
15
:
"dc1ca8ebc6cc47b86e2d"
,
16
:
"2ee1cd09e02cae2867cf"
,
17
:
"78c6d10043e3245cbd2a"
,
18
:
"392fbc7b206e00262f59"
,
19
:
"d857e84723b588b3f07f"
,
20
:
"2c088b315d9e6d3e38df"
,
21
:
"c50987389f9771604c9c"
,
22
:
"f08c872fb1b9438d09ff"
,
23
:
"5d6e316d1d9b9a784718"
,
24
:
"9d547e5255fc6330d24b"
,
25
:
"d88ef1299d37c1600478"
,
26
:
"8c7f557c97be9d9c8aca"
,
27
:
"2ea724b0442e927bfdf5"
,
28
:
"fec906a69641d385c1de"
,
29
:
"08f743a4cbfcc2c25c59"
,
30
:
"e5670f38e863b827565e"
,
31
:
"0152758bf0eba4ffa971"
,
32
:
"641f0c04a7b39b5e8ea8"
,
33
:
"d553c3facd269fce3e2c"
,
34
:
"f5e5b8fb5643f7cf75f1"
,
35
:
"1bf73a7b6aaceaaf56ae"
,
36
:
"470632eafc5e615123db"
,
37
:
"d56869519d51c71c5d2e"
,
38
:
"c08687de70ba7a5b1007"
,
39
:
"9a609b6dc929d6860ec1"
,
40
:
"2f23601862b772e41f25"
,
41
:
"937c376a68e546b6399b"
,
42
:
"eec975c417c042a14578"
,
43
:
"e386ed64995ca06996f1"
,
44
:
"ebf089cd236f952c4ed5"
,
45
:
"67c57cfc14847ad350df"
,
46
:
"7fe51c0f71cfaec33913"
,
47
:
"5ef9d0c6fdbde30a38e2"
,
48
:
"d6ccd29f5cd5515fe3c8"
,
49
:
"a506c08b27c8706990e4"
,
50
:
"43b4530ad8b72c54ecc4"
,
51
:
"7fc0ff7b08a3b083ca59"
,
52
:
"32f90b9a69e582931b38"
,
53
:
"37fe749ecaf97f20d0a4"
,
54
:
"51bb9c2c2f65a3ded931"
,
55
:
"445f4e3bb91f16b7a95e"
,
56
:
"72d8765f904b511cd6b8"
,
57
:
"8537277e2d7085de6cf7"
,
58
:
"4a0908d2514540724058"
,
59
:
"0dcf5e169135474877b9"
,
60
:
"f084d603d9237fb54da1"
,
61
:
"9e02c21fe65c22d20569"
,
62
:
"1a1be02dbe49eba047e8"
,
63
:
"f75d89d38358625458e0"
,
64
:
"de9d235e55d32415e2a7"
,
65
:
"199858d7ae6f2bf402fc"
,
66
:
"2326bfba0f3bb9687d4b"
,
67
:
"165f5e6b83725d477bf8"
,
68
:
"c27352fbe93b754f3719"
,
69
:
"a2a84fd3cecbcc43952d"
,
70
:
"266a3f3668b9e62e4776"
,
71
:
"edd82ef8fa0504c274e5"
,
72
:
"e01f8e09cbe1bab126a7"
,
73
:
"32d226bf075dff26dda8"
,
74
:
"1bb738aed66456b26308"
,
75
:
"886217fae3eb522651c3"
,
76
:
"81b59b5cbde98212f883"
,
77
:
"a50195118bfed9460f51"
,
78
:
"dda6efbedc5248b6585d"
,
79
:
"cc7e827051453e252389"
,
80
:
"c4ac9c2f090e93c0a28e"
,
81
:
"f4498858f0567cab3b8d"
,
82
:
"93be5601e905b5c56780"
,
83
:
"3a8425c3945a3595cd2b"
,
84
:
"08e22001c1b5d16e87d4"
,
85
:
"de949860e618a54d00e5"
,
86
:
"be07e374a7a61c035746"
,
87
:
"b403a1566dbc03317805"
,
88
:
"ac9164f22b2726637ef9"
,
91
:
"03a692f818037323e1b6"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
c
=
a
[
e
];
0
!==
c
&&
(
c
&&
c
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
a
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
b
.
appendChild
(
n
),
f
},
d
.
m
=
e
,
d
.
c
=
f
,
d
.
d
=
function
(
e
,
c
,
f
){
d
.
o
(
e
,
c
)
||
Object
.
defineProperty
(
e
,
c
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
f
})},
d
.
n
=
function
(
e
){
var
c
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
d
.
d
(
c
,
"a"
,
c
),
c
},
d
.
o
=
function
(
e
,
c
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
c
)},
d
.
p
=
"./"
,
d
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
src/views/enterpriseApp/notice/noticeList.vue
View file @
7c0819b7
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-04-12 17:56:45
* @LastEditors: 无尘
* @LastEditTime: 2019-1
0-22 17:57:14
* @LastEditTime: 2019-1
1-06 10:52:03
-->
<
template
>
<div
class=
"notice-list-wrap"
>
...
...
@@ -49,7 +49,7 @@
<div
class=
"notice-img"
v-if=
"!scope.row.imgUrl"
>
<img
:src=
"defaultImg"
alt=
""
/>
</div>
<div
v-else
class=
"notice-img"
>
<div
v-else
class=
"notice-img
notice-img-wrap
"
>
<el-popover
popper-class=
"notice-img-popover"
placement=
"right"
width=
"400"
trigger=
"hover"
>
<div
class=
"img-preview flex"
>
<img
:src=
"scope.row.imgUrl"
alt=
""
style=
"max-width: 400px;"
/>
...
...
@@ -877,9 +877,27 @@ export default {
.notice-img
{
width
:
40px
;
height
:
40px
;
&.notice-img-wrap
{
span
{
width
:
100%
;
height
:
100%
;
display
:
-webkit-box
;
display
:
-webkit-flex
;
display
:
-ms-flexbox
;
display
:
flex
;
-webkit-box-align
:
center
;
-webkit-align-items
:
center
;
-ms-flex-align
:
center
;
align-items
:
center
;
-webkit-box-pack
:
center
;
-webkit-justify-content
:
center
;
-ms-flex-pack
:
center
;
justify-content
:
center
;
}
}
img
{
width
:
100%
;
height
:
100%
;
/*
width: 100%;
height: 100%;
*/
max-width
:
40px
;
max-height
:
40px
;
cursor
:
pointer
;
...
...
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