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
afd209f4
Commit
afd209f4
authored
Dec 10, 2019
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改素材
parent
b16ba2a3
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
26 additions
and
13 deletions
+26
-13
index.html
dist/index.html
+2
-2
app.89723efb1c573ac8070195e25305b2ec.css
dist/static/css/app.89723efb1c573ac8070195e25305b2ec.css
+0
-0
14.3471d94ea61c8dd34da6.js
dist/static/js/14.3471d94ea61c8dd34da6.js
+0
-2
14.a52947dac152c08630f5.js
dist/static/js/14.a52947dac152c08630f5.js
+2
-0
17.abe6f707700aee81dda3.js
dist/static/js/17.abe6f707700aee81dda3.js
+2
-2
manifest.8256d199ff1ea9bb3d4e.js
dist/static/js/manifest.8256d199ff1ea9bb3d4e.js
+2
-2
material-preview.vue
src/components/app/material/material-preview.vue
+9
-4
newEnjoy.vue
src/views/enterpriseApp/marketingMaterial/newEnjoy.vue
+9
-1
No files found.
dist/index.html
View file @
afd209f4
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><link
rel=
"shortcut icon"
href=
./favicon.ico
><title>
好办管理平台
</title><link
href=
./static/css/app.4e28c999b0928d417e8d668aab0f688c.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.30da44d66df832299474.js
></script><script
type=
text/javascript
src=
./static/js/vendor.329cb88147b5a2d6f4c1.js
></script><script
type=
text/javascript
src=
./static/js/app.9c11b1d2012edf7fe736.js
></script></body></html>
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><link
rel=
"shortcut icon"
href=
./favicon.ico
><title>
好办管理平台
</title><link
href=
./static/css/app.89723efb1c573ac8070195e25305b2ec.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.8256d199ff1ea9bb3d4e.js
></script><script
type=
text/javascript
src=
./static/js/vendor.329cb88147b5a2d6f4c1.js
></script><script
type=
text/javascript
src=
./static/js/app.9c11b1d2012edf7fe736.js
></script></body></html>
\ No newline at end of file
\ No newline at end of file
dist/static/css/app.
4e28c999b0928d417e8d668aab0f688
c.css
→
dist/static/css/app.
89723efb1c573ac8070195e25305b2e
c.css
View file @
afd209f4
This source diff could not be displayed because it is too large. You can
view the blob
instead.
dist/static/js/14.3471d94ea61c8dd34da6.js
deleted
100644 → 0
View file @
b16ba2a3
webpackJsonp
([
14
],{
DCKm
:
function
(
e
,
t
){},
EFYv
:
function
(
e
,
t
){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hilkMExnTiNZW59RIE7Uqsww98+LzBw7daPyrxXxTnWQV0feT31Oteu/D0ocEesZBVu5hHWUQ7XtXpxVXOcZIjiFJdn7lEsIZ+iwJ0AP0gx82NUvD5QqnTwjr08LxFGCYaugYuJC9M4zlfEFLgTcruI8PUugG0ZsC2j9UOiTwkhkOcl4iSDqSuYjh0MB8fxrPYcCtyJuT/OtFgn4AIwjPpYTZt9QCrOkaY50qyAY6qYjl14bjf7SO4aBe6E+UGKIMrhhyk0TYVt1rPePoqhK87rW1GTDHnBcDFxMBqYvSzPeg8KHEFRVojTAn6QYhVmPw7wqqqyuU5LftUMKABUrAJjFVhVoSgZiqK+zWY6duDa+ta936eCAkce4UIginOEcY40Zwjj/Efgmr7WB1HrvzgX9a2tFUfFOTzHgGlocCwNjnW6IXuIAkdeVC8FOVj14OvmOqiq4r8HUJKgKDIMXYGuKdBV5STP6f2R49x7JTujyDIUXcZpbGnsH/0IIqRFFDhCWkSBI6RFFDhCWkSBI6RFFDhCWkSBI6RFFDhCWkSBI6RFFDhCWkSBI6RFFDhCWkSBI6RFFDhCWkSBI6RFFDhCWkSBI6RFFDhCWkSBI6RFFDhCWkSBI6RFFDhCWkSBI6RFFDhCWkSBI6RFFDhCWkSBI6RFFDhCWkSBI6RFFDhCWkSBI6RFFDhCWkSBI6RFFDhCWkSBI6RF/x8qjTga7LYI7gAAAABJRU5ErkJggg=="
},
NajC
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
i
=
a
(
"mvHQ"
),
r
=
a
.
n
(
i
),
l
=
a
(
"Gu7T"
),
s
=
a
.
n
(
l
),
o
=
a
(
"Ke24"
),
n
=
a
(
"Ie7z"
),
c
=
a
(
"c4uw"
),
d
=
a
(
"vRJf"
),
u
=
a
(
"P9l9"
),
m
=
a
(
"Ch4/"
),
g
=
a
(
"PI0u"
),
h
=
{
name
:
"use-record"
,
props
:{
detailShow
:{
type
:
Boolean
,
default
:
!
1
},
materialId
:{
type
:
String
,
default
:
""
}},
data
:
function
(){
return
{
customDialog
:
!
1
,
activeName
:
"first"
,
tableData
:[],
conditionObj
:{
searchInput
:
""
,
materialId
:
this
.
materialId
},
currentPage
:
1
,
pageSize
:
5
,
total
:
0
}},
methods
:{
toInput
:
Object
(
g
.
a
)(
function
(
e
,
t
){
this
.
currentPage
=
1
,
this
.
getTableList
()},
500
),
clearInput
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
handleSizeChange
:
function
(
e
){
this
.
pageSize
=
e
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getTableList
()},
handleClose
:
function
(
e
){
e
(),
this
.
hideDialog
()},
customCancel
:
function
(){
this
.
hideDialog
()},
hideDialog
:
function
(){
this
.
customDialog
=!
1
,
this
.
$emit
(
"hideDetailDialog"
)},
getTableList
:
function
(
e
){
var
t
=
this
,
a
=
{
materialId
:
t
.
conditionObj
.
materialId
,
imgTextTitle
:
t
.
conditionObj
.
searchInput
||
""
,
relatedType
:
4
,
pageNum
:
t
.
currentPage
,
pageSize
:
t
.
pageSize
,
brandId
:
t
.
activeBrand
};
Object
(
u
.
a
)(
"/haoban-app-material-web/material-log"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
t
.
tableData
=
a
.
result
.
list
||
[],
t
.
total
=
a
.
result
.
total
,
!
1
;
m
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
detailShow
:
function
(
e
,
t
){
this
.
customDialog
=
e
},
materialId
:
function
(
e
,
t
){
e
&&
(
this
.
conditionObj
.
materialId
=
e
,
this
.
currentPage
=
1
,
this
.
getTableList
())}},
mounted
:
function
(){
this
.
customDialog
=
this
.
detailShow
,
this
.
materialId
&&
(
this
.
conditionObj
.
materialId
=
this
.
materialId
,
this
.
currentPage
=
1
,
this
.
getTableList
())}},
f
=
{
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
:
"edit-dialog"
,
attrs
:{
title
:
"记录"
,
visible
:
e
.
customDialog
,
width
:
"739px"
,
"before-close"
:
e
.
handleClose
},
on
:{
"update:visible"
:
function
(
t
){
e
.
customDialog
=
t
}}},[
a
(
"div"
,{
staticClass
:
"edit-dialog-body"
},[
a
(
"div"
,{
staticClass
:
"m-b-20 flex"
},[
a
(
"el-input"
,{
staticClass
:
"w-203"
,
attrs
:{
placeholder
:
"请输入标题"
,
"prefix-icon"
:
"el-icon-search"
,
clearable
:
""
},
on
:{
clear
:
e
.
clearInput
},
nativeOn
:{
keyup
:
function
(
t
){
return
a
=
t
,
e
.
toInput
(
a
,
e
.
conditionObj
.
searchInput
);
var
a
}},
model
:{
value
:
e
.
conditionObj
.
searchInput
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"searchInput"
,
t
)},
expression
:
"conditionObj.searchInput"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
,
height
:
"332"
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"发布人"
,
width
:
"150"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
userName
||
"--"
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"标题"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
phoneNumber
||
"--"
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"发布时间"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToYmd"
)(
t
.
row
.
createTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToHms"
)(
t
.
row
.
createTime
)))])]}}])})],
1
),
e
.
_v
(
" "
),
0
!=
e
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
e
.
currentPage
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
e
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
e
.
total
},
on
:{
"size-change"
:
e
.
handleSizeChange
,
"current-change"
:
e
.
handleCurrentChange
}})],
1
):
e
.
_e
()],
1
)])],
1
)},
staticRenderFns
:[]};
var
p
=
a
(
"VU/8"
)(
h
,
f
,
!
1
,
function
(
e
){
a
(
"TjhY"
)},
"data-v-28498945"
,
null
).
exports
,
v
=
a
(
"l46T"
),
I
=
a
(
"Kkt8"
),
b
=
a
(
"3E4D"
),
S
=
{
name
:
"chat-log"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}},
activeGroupId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
components
:{
commonDetailTop
:
o
.
a
,
vueSelectStore
:
n
.
a
,
vueSelectEmployee
:
c
.
a
,
materialPreview
:
d
.
a
,
useRecord
:
p
,
limitInput
:
v
.
a
,
limitTextarea
:
I
.
a
},
data
:
function
(){
return
{
activeBrand
:
this
.
brandId
,
activeGroup
:
this
.
activeGroupId
,
activeId
:
"2"
,
topMenuData
:[{
id
:
"1"
,
name
:
"图文素材"
,
path
:
"/imageText?appIcon="
+
this
.
$route
.
query
.
appIcon
},{
id
:
"2"
,
name
:
"选择图文"
}],
tableData
:[],
searchInput
:
""
,
selectType
:
""
,
treeSet
:{
isSelectPerson
:
!
1
,
dialogVisible
:
!
1
,
isSingle
:
!
1
,
openNextBool
:
!
0
},
defaultSelection
:[],
changed
:
""
,
onlyPerson
:
!
1
,
appScene
:
2
,
defaultStoreList
:[],
storeTreeSet
:{
isSelectPerson
:
!
1
,
dialogVisible
:
!
1
,
isSingle
:
!
1
},
defaultImg
:
a
(
"FFFL"
),
currentPage
:
1
,
pageSize
:
6
,
total
:
0
,
enterpriseId
:
JSON
.
parse
(
localStorage
.
getItem
(
"userInfo"
)).
enterpriseId
,
userId
:
JSON
.
parse
(
localStorage
.
getItem
(
"userInfo"
)).
userId
,
formData
:{
materialId
:
""
,
imageTextWechatId
:
""
,
imageTextGicId
:
""
,
titleName
:
""
,
imageUrl
:
""
,
imageTextUrl
:
""
,
rangeList
:[],
materialTitle
:
""
,
materialContent
:
""
,
topFlag
:
!
1
},
rules
:{
imageTextWechatId
:[{
required
:
!
0
,
message
:
"请选择图文"
,
trigger
:
"change"
}],
materialTitle
:[{
required
:
!
0
,
message
:
"请请输入素材标题"
,
trigger
:
"blur"
}],
materialContent
:[{
required
:
!
0
,
message
:
"请请输入发送内容"
,
trigger
:
"blur"
}],
rangeList
:[{
validator
:
function
(
e
,
t
,
a
){
if
(
""
==
t
||!
t
.
length
)
return
a
(
new
Error
(
"请选择选择行政架构或门店架构"
));
a
()},
trigger
:
"change"
}]},
previewVisible
:
!
1
,
materialPreviewData
:{},
detailShow
:
!
1
,
imageTextWechatId
:
""
}},
methods
:{
showRecord
:
function
(
e
){
if
(
!
e
.
useCount
)
return
!
1
;
this
.
detailShow
=!
0
,
this
.
imageTextWechatId
=
e
.
imageTextWechatId
},
hideDetailDialog
:
function
(){
this
.
detailShow
=!
1
,
this
.
imageTextWechatId
=
""
},
showPreviewDetail
:
function
(
e
){
this
.
materialPreviewData
=
{
materialTitle
:
e
.
titleName
,
materialContent
:
""
},
this
.
previewVisible
=!
0
},
submitForm
:
function
(
e
,
t
){
var
a
=
this
;
a
.
formData
.
rangeList
=
[].
concat
(
s
()(
a
.
defaultStoreList
),
s
()(
a
.
defaultSelection
)),
a
.
$refs
[
e
].
validate
(
function
(
e
){
e
&&
a
.
postSaveCard
(
t
)})},
postSaveCard
:
function
(
e
){
var
t
=
this
,
a
=
[];
t
.
formData
.
rangeList
.
forEach
(
function
(
e
){
a
.
push
({
groupId
:
2
==
e
.
type
?
e
.
groupId
:
""
,
storeId
:
3
==
e
.
type
?
e
.
storeId
:
""
,
storeFlag
:
e
.
isStoreGroup
})});
var
i
=
{
enterpriseId
:
t
.
enterpriseId
,
imageTextWechatId
:
t
.
formData
.
imageTextWechatId
,
imageTextGicId
:
t
.
formData
.
imageTextGicId
,
materialContent
:
t
.
formData
.
materialContent
,
imageTextUrl
:
t
.
formData
.
imageTextUrl
,
materialTitle
:
t
.
formData
.
materialTitle
,
rangeListStr
:
r
()(
a
),
topFlag
:
t
.
formData
.
topFlag
?
1
:
0
,
relatedType
:
1
,
brandId
:
t
.
brandId
,
userId
:
t
.
userId
};
Object
(
u
.
e
)(
"/haoban-app-material-web/material-add"
,
i
).
then
(
function
(
a
){
var
i
=
a
.
data
;
1
==
i
.
errorCode
&&
(
b
.
a
.
showmsg
(
"新建成功"
,
"success"
),
e
?(
t
.
formData
=
{
materialId
:
""
,
imageTextWechatId
:
""
,
imageTextGicId
:
""
,
titleName
:
""
,
imageUrl
:
""
,
imageTextUrl
:
""
,
rangeList
:[],
materialTitle
:
""
,
materialContent
:
""
,
topFlag
:
!
1
},
t
.
defaultStoreList
=
[],
t
.
defaultSelection
=
[]):
t
.
$router
.
push
(
"/imageText?appIcon="
+
t
.
$route
.
query
.
appIcon
)),
m
.
a
.
errorMsg
(
i
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
previewData
:
function
(
e
){
var
t
=
this
;
t
.
formData
.
rangeList
=
[].
concat
(
s
()(
t
.
defaultStoreList
),
s
()(
t
.
defaultSelection
)),
t
.
$refs
[
e
].
validate
(
function
(
e
){
e
&&
(
t
.
tableData
.
forEach
(
function
(
e
){
e
.
imageTextWechatId
==
t
.
formData
.
imageTextWechatId
&&
(
t
.
formData
.
imageUrl
=
e
.
imageUrl
,
t
.
formData
.
titleName
=
e
.
titleName
)}),
t
.
materialPreviewData
=
t
.
formData
,
t
.
previewVisible
=!
0
)})},
toReturn
:
function
(){
this
.
$router
.
go
(
-
1
)},
changeId
:
function
(
e
,
t
){
this
.
formData
.
imageTextWechatId
=
e
,
this
.
formData
.
imageTextGicId
=
t
.
imageTextId
},
toInput
:
Object
(
g
.
a
)(
function
(
e
,
t
){
this
.
currentPage
=
1
,
this
.
getTableList
()},
200
),
clearInput
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
showDialogLayer
:
function
(
e
,
t
){
return
!
this
.
$route
.
query
.
materialId
&&
(
this
.
selectType
=
e
,
this
.
changed
=
e
,
"store"
===
e
?(
this
.
defaultStoreList
=
t
,
void
(
this
.
storeTreeSet
=
{
dialogVisible
:
!
0
,
isSingle
:
!
1
,
isSelectPerson
:
!
1
,
openNextBool
:
!
0
})):(
this
.
treeSet
=
{
dialogVisible
:
!
0
,
isSingle
:
!
1
,
isSelectPerson
:
!
1
,
openNextBool
:
!
0
},
void
(
this
.
defaultSelection
=
t
)))},
handleSelectedList
:
function
(
e
){
"store"
===
this
.
selectType
?
this
.
defaultStoreList
=
e
:
this
.
defaultSelection
=
e
,
this
.
formData
.
rangeList
=
[].
concat
(
s
()(
this
.
defaultStoreList
),
s
()(
this
.
defaultSelection
))},
delDepart
:
function
(
e
,
t
,
a
){
if
(
this
.
$route
.
query
.
materialId
)
return
!
1
;
t
.
splice
(
e
,
1
),
this
.
formData
.
rangeList
=
[].
concat
(
s
()(
this
.
defaultStoreList
),
s
()(
this
.
defaultSelection
))},
handleSizeChange
:
function
(
e
){
this
.
pageSize
=
e
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getTableList
()},
getImageData
:
function
(){
var
e
=
this
,
t
=
{
materialId
:
e
.
$route
.
query
.
materialId
,
brandId
:
e
.
brandId
};
Object
(
u
.
a
)(
"/haoban-app-material-web/material-detail"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
){
var
i
=
[],
r
=
[];
return
a
.
result
.
rangeVOList
&&
a
.
result
.
rangeVOList
.
forEach
(
function
(
e
){
e
.
groupId
=
2
==
e
.
type
?
e
.
id
:
""
,
e
.
storeId
=
3
==
e
.
type
?
e
.
id
:
""
,
e
.
isStoreGroup
=
e
.
storeFlag
,
1
==
e
.
storeFlag
?
i
.
push
(
e
):
r
.
push
(
e
)}),
e
.
formData
=
{
materialId
:
a
.
result
.
materialId
,
imageTextWechatId
:
a
.
result
.
imageTextWechatId
,
imageTextUrl
:
a
.
result
.
imageTextUrl
,
titleName
:
""
,
imageUrl
:
""
,
materialTitle
:
a
.
result
.
materialTitle
,
materialContent
:
a
.
result
.
materialContent
,
topFlag
:
1
==
a
.
result
.
topFlag
,
rangeList
:
a
.
result
.
rangeVOList
,
createTime
:
a
.
result
.
createTime
},
e
.
defaultStoreList
=
i
||
[],
e
.
defaultSelection
=
r
||
[],
!
1
}
m
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getTableList
:
function
(
e
){
var
t
=
this
,
a
=
{
title
:
t
.
searchInput
||
""
,
pageNum
:
t
.
currentPage
,
pageSize
:
t
.
pageSize
,
brandId
:
t
.
activeBrand
};
Object
(
u
.
a
)(
"/haoban-app-material-web/wechat-material-detail"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
t
.
tableData
=
a
.
result
.
list
||
[],
t
.
total
=
a
.
result
.
total
,
t
.
$route
.
query
.
materialId
&&
t
.
getImageData
(),
!
1
;
m
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
brandId
:
function
(
e
,
t
){
e
&&
(
this
.
activeBrand
=
e
,
this
.
getTableList
())},
activeGroupId
:
function
(
e
,
t
){
e
&&
(
this
.
activeGroup
=
e
)}},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
"1"
),
this
.
brandId
&&
this
.
getTableList
()}},
w
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"app-detail-wrap"
},[
a
(
"div"
,{
staticClass
:
"chat-log boder-box"
},[
a
(
"common-detail-top"
,{
attrs
:{
topMenuData
:
e
.
topMenuData
,
activeId
:
e
.
activeId
}}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"new-card-body"
},[
a
(
"el-form"
,{
ref
:
"ruleForm"
,
staticClass
:
"demo-ruleForm"
,
attrs
:{
model
:
e
.
formData
,
rules
:
e
.
rules
,
"label-width"
:
"120px"
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"选择图文:"
,
prop
:
"imageTextWechatId"
}},[
a
(
"div"
,{
staticClass
:
"search-div"
},[
a
(
"el-input"
,{
staticClass
:
"w-264"
,
staticStyle
:{
width
:
"264px"
},
attrs
:{
placeholder
:
"请输入图文标题"
,
clearable
:
""
},
on
:{
clear
:
e
.
clearInput
},
nativeOn
:{
keyup
:
function
(
t
){
return
a
=
t
,
e
.
toInput
(
a
,
e
.
searchInput
);
var
a
}},
model
:{
value
:
e
.
searchInput
,
callback
:
function
(
t
){
e
.
searchInput
=
t
},
expression
:
"searchInput"
}},[
a
(
"i"
,{
staticClass
:
"el-input__icon el-icon-search"
,
attrs
:{
slot
:
"prefix"
},
slot
:
"prefix"
})])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"chat-log-content boder-box m-t-20"
},[
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
""
,
width
:
"50"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-radio"
,{
attrs
:{
disabled
:
!!
e
.
$route
.
query
.
materialId
,
label
:
t
.
row
.
imageTextWechatId
},
on
:{
change
:
function
(
a
){
e
.
changeId
(
a
,
t
.
row
)}},
model
:{
value
:
e
.
formData
.
imageTextWechatId
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formData
,
"imageTextWechatId"
,
t
)},
expression
:
"formData.imageTextWechatId"
}},[
e
.
_v
(
e
.
_s
(
""
))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"imageUrl"
,
label
:
"图片"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"cell"
},[
a
(
"img"
,{
staticClass
:
"img-40"
,
attrs
:{
src
:
t
.
row
.
imageUrl
?
t
.
row
.
imageUrl
:
e
.
defaultImg
,
alt
:
""
}})])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"titleName"
,
label
:
"图文标题"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"cell color-1890ff cursor-pointer"
,
on
:{
click
:
function
(
a
){
e
.
showPreviewDetail
(
t
.
row
)}}},[
e
.
_v
(
e
.
_s
(
t
.
row
.
titleName
||
"--"
))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"作者"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
authorName
||
"--"
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"storeMode"
,
label
:
"使用记录"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"cell color-1890ff cursor-pointer"
,
on
:{
click
:
function
(
a
){
e
.
showRecord
(
t
.
row
)}}},[
e
.
_v
(
e
.
_s
(
t
.
row
.
useCount
||
"--"
))])]}}])})],
1
),
e
.
_v
(
" "
),
0
!=
e
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
e
.
currentPage
,
"page-size"
:
e
.
pageSize
,
layout
:
" prev, pager, next"
,
total
:
e
.
total
},
on
:{
"current-change"
:
e
.
handleCurrentChange
}})],
1
):
e
.
_e
()],
1
)]),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
staticClass
:
"input-item is-required"
,
attrs
:{
label
:
"发送范围:"
,
prop
:
"rangeList"
}},[
a
(
"div"
,{
staticClass
:
"form-item-tip fonr-14 color-909399"
},[
e
.
_v
(
"下面两项可二选一,非全选。可选择行政架构或门店架构"
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"flex"
},[
a
(
"div"
,{
staticClass
:
"flex-column item-cell-select inline-block "
},[
a
(
"div"
,{
staticClass
:
"depart-item-wrap"
},[
a
(
"div"
,{
staticClass
:
"el-select el-select--large depart-item-content"
,
staticStyle
:{
width
:
"240px"
},
on
:{
click
:
function
(
t
){
e
.
showDialogLayer
(
"depart"
,
e
.
defaultSelection
)}}},[
e
.
defaultSelection
.
length
?
e
.
_e
():
a
(
"span"
,{
staticClass
:
"font-14 color-c0c4cc p-l-10"
},[
e
.
_v
(
"请选择行政架构"
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-select__tags"
},[
a
(
"span"
,[
e
.
_l
(
e
.
defaultSelection
,
function
(
t
,
i
){
return
[
a
(
"span"
,{
key
:
i
,
staticClass
:
"el-tag el-tag--info el-tag--small"
},[
a
(
"span"
,{
staticClass
:
"el-select__tags-text"
},[
e
.
_v
(
e
.
_s
(
t
.
name
||
t
.
storeName
))]),
a
(
"i"
,{
staticClass
:
"el-tag__close el-icon-close"
,
on
:{
click
:
function
(
t
){
t
.
stopPropagation
(),
e
.
delDepart
(
i
,
e
.
defaultSelection
,
"depart"
)}}})])]})],
2
)])])])])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"flex m-t-20"
},[
a
(
"div"
,{
staticClass
:
"flex-column item-cell-select inline-block"
},[
a
(
"div"
,{
staticClass
:
"depart-item-wrap"
},[
a
(
"div"
,{
staticClass
:
"el-select el-select--large depart-item-content"
,
staticStyle
:{
width
:
"240px"
},
on
:{
click
:
function
(
t
){
e
.
showDialogLayer
(
"store"
,
e
.
defaultStoreList
)}}},[
e
.
defaultStoreList
.
length
?
e
.
_e
():
a
(
"span"
,{
staticClass
:
"font-14 color-c0c4cc p-l-10"
},[
e
.
_v
(
"请选择门店架构"
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-select__tags"
},[
a
(
"span"
,[
e
.
_l
(
e
.
defaultStoreList
,
function
(
t
,
i
){
return
[
a
(
"span"
,{
key
:
i
,
staticClass
:
"el-tag el-tag--info el-tag--small"
},[
a
(
"span"
,{
staticClass
:
"el-select__tags-text"
},[
e
.
_v
(
e
.
_s
(
t
.
name
||
t
.
storeName
))]),
a
(
"i"
,{
staticClass
:
"el-tag__close el-icon-close"
,
on
:{
click
:
function
(
t
){
t
.
stopPropagation
(),
e
.
delDepart
(
i
,
e
.
defaultStoreList
,
"store"
)}}})])]})],
2
)])])])])])]),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"发送内容标题:"
,
prop
:
"materialTitle"
}},[
a
(
"limitInput"
,{
attrs
:{
disflag
:
!!
e
.
$route
.
query
.
materialId
,
inputWidth
:
320
,
inputValue
:
e
.
formData
.
materialTitle
,
holder
:
"请输入素材标题"
,
getByType
:
"word"
,
maxLength
:
15
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
formData
,
"materialTitle"
,
t
)}}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"发送内容:"
,
prop
:
"materialContent"
}},[
a
(
"limitTextarea"
,{
attrs
:{
disInput
:
!!
e
.
$route
.
query
.
materialId
,
inputWidth
:
320
,
inputValue
:
e
.
formData
.
materialContent
,
holder
:
"请输入素材内容"
,
maxLength
:
1500
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
formData
,
"materialContent"
,
t
)}}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"更多设置:"
,
prop
:
""
}},[
a
(
"div"
,[
a
(
"el-checkbox"
,{
attrs
:{
disabled
:
!!
e
.
$route
.
query
.
materialId
},
model
:{
value
:
e
.
formData
.
topFlag
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formData
,
"topFlag"
,
t
)},
expression
:
"formData.topFlag"
}},[
e
.
_v
(
"置顶"
)])],
1
)]),
e
.
_v
(
" "
),
a
(
"el-form-item"
,[
a
(
"el-button"
,{
on
:{
click
:
e
.
toReturn
}},[
e
.
_v
(
"取消"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
previewData
(
"ruleForm"
)}}},[
e
.
_v
(
"预览"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
disabled
:
!!
e
.
$route
.
query
.
materialId
,
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
submitForm
(
"ruleForm"
)}}},[
e
.
_v
(
"发布"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
disabled
:
!!
e
.
$route
.
query
.
materialId
,
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
submitForm
(
"ruleForm"
,
"flag"
)}}},[
e
.
_v
(
"发布并添加下一个"
)])],
1
)],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"vue-select-employee"
,{
attrs
:{
appScene
:
e
.
appScene
,
defaultSelection
:
e
.
defaultSelection
,
onlyPerson
:
e
.
onlyPerson
,
treeSet
:
e
.
treeSet
,
changed
:
e
.
changed
},
on
:{
handleSelectedList
:
e
.
handleSelectedList
}}),
e
.
_v
(
" "
),
a
(
"vue-select-store"
,{
ref
:
"storeSelector"
,
attrs
:{
currentBrand
:
e
.
activeGroup
,
appScene
:
e
.
appScene
,
treeSet
:
e
.
storeTreeSet
,
selectType
:
"group-store"
,
defaultList
:
e
.
defaultStoreList
},
on
:{
handleSelectedList
:
e
.
handleSelectedList
}}),
e
.
_v
(
" "
),
a
(
"material-preview"
,{
ref
:
"materialPreview"
,
attrs
:{
materialPreviewData
:
e
.
materialPreviewData
},
model
:{
value
:
e
.
previewVisible
,
callback
:
function
(
t
){
e
.
previewVisible
=
t
},
expression
:
"previewVisible"
}}),
e
.
_v
(
" "
),
a
(
"use-record"
,{
attrs
:{
materialId
:
e
.
imageTextWechatId
,
detailShow
:
e
.
detailShow
},
on
:{
hideDetailDialog
:
e
.
hideDetailDialog
}})],
1
)},
staticRenderFns
:[]};
var
D
=
a
(
"VU/8"
)(
S
,
w
,
!
1
,
function
(
e
){
a
(
"EFYv"
)},
"data-v-9ae22ebc"
,
null
);
t
.
default
=
D
.
exports
},
TjhY
:
function
(
e
,
t
){},
vRJf
:
function
(
e
,
t
,
a
){
"use strict"
;
var
i
=
a
(
"mvHQ"
),
r
=
a
.
n
(
i
),
l
=
{
name
:
"material-preview"
,
props
:{
value
:{
type
:
Boolean
,
default
:
function
(){
return
!
1
}},
materialPreviewData
:{
type
:
Object
,
default
:
function
(){
return
{
materialId
:
""
,
imageTextWechatId
:
""
,
imageTextGicId
:
""
,
titleName
:
""
,
imageUrl
:
""
,
rangeList
:[],
imgUrlList
:[],
materialTitle
:
""
,
materialContent
:
""
,
topFlag
:
!
1
}}}},
directives
:{
htmlContent
:{
bind
:
function
(
e
,
t
){
e
.
innerHTML
=
t
.
value
},
update
:
function
(
e
,
t
){
e
.
innerHTML
=
t
.
value
}}},
data
:
function
(){
return
{
materialData
:{
materialId
:
""
,
imageTextWechatId
:
""
,
imageTextGicId
:
""
,
rangeList
:[],
imgUrlList
:[],
materialTitle
:
""
,
materialContent
:
""
,
topFlag
:
!
1
}}},
methods
:{
closeDialog
:
function
(){
this
.
$emit
(
"input"
,
!
1
)}},
watch
:{
materialPreviewData
:
function
(
e
,
t
){
this
.
materialData
=
JSON
.
parse
(
r
()(
e
))}},
mounted
:
function
(){
this
.
materialData
=
JSON
.
parse
(
r
()(
this
.
materialPreviewData
))}},
s
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
directives
:[{
name
:
"show"
,
rawName
:
"v-show"
,
value
:
e
.
value
,
expression
:
"value"
}],
staticClass
:
"qr-dialog-content"
,
staticStyle
:{
opacity
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"qr-mask"
,
on
:{
click
:
function
(
t
){
return
t
.
stopPropagation
(),
e
.
closeDialog
(
t
)}}}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"qr-dialog border-box"
},[
a
(
"div"
,{
staticClass
:
"qr-dialog-body border-box"
},[
a
(
"h2"
,{
staticClass
:
"font-20 color-222 text-left main-title"
},[
e
.
_v
(
e
.
_s
(
e
.
materialData
.
materialTitle
))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"notice-date m-t-10 flex flex-space-between"
},[
a
(
"div"
,{
staticClass
:
"notice-date-left font-10 color-88949C"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToYmd"
)(
e
.
materialData
.
materialId
?
e
.
materialData
.
createTime
:(
new
Date
).
getTime
())))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"notice-date-right font-10 color-4d7fd0"
})]),
e
.
_v
(
" "
),
a
(
"div"
,{
directives
:[{
name
:
"htmlContent"
,
rawName
:
"v-htmlContent"
,
value
:
e
.
materialData
.
materialContent
,
expression
:
"materialData.materialContent"
}],
staticClass
:
"notice-body border-box font-14 color-222"
}),
e
.
_v
(
" "
),
e
.
materialData
.
imgUrlList
&&
e
.
materialData
.
imgUrlList
.
length
?
a
(
"div"
,{
staticClass
:
"img-list-wrap"
},[
a
(
"ul"
,{
staticClass
:
"flex flex-wrap"
},
e
.
_l
(
e
.
materialData
.
imgUrlList
,
function
(
e
,
t
){
return
a
(
"li"
,{
key
:
t
+
"img"
,
staticClass
:
"border-box flex flex-align-center flex-pack-center"
},[
a
(
"img"
,{
attrs
:{
src
:
e
.
imgUrl
,
alt
:
""
}})])}))]):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
materialData
.
imageTextWechatId
?
a
(
"div"
,{
staticClass
:
"image-text-link"
},[
a
(
"div"
,{
staticClass
:
"flex"
},[
a
(
"div"
,{
staticClass
:
"flex-left-img flex flex-align-center flex-pack-center"
},[
a
(
"img"
,{
attrs
:{
src
:
e
.
materialData
.
imageUrl
,
alt
:
""
}})]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"flex-right-title border-box"
},[
a
(
"div"
,{
staticClass
:
"title-content font-14 color-606266"
},[
e
.
_v
(
e
.
_s
(
e
.
materialData
.
titleName
))])])])]):
e
.
_e
()])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"qr-dialog__hd"
},[
a
(
"i"
,{
staticClass
:
"el-icon-plus"
,
on
:{
click
:
function
(
t
){
return
t
.
stopPropagation
(),
e
.
closeDialog
(
t
)}}})])])},
staticRenderFns
:[]};
var
o
=
a
(
"VU/8"
)(
l
,
s
,
!
1
,
function
(
e
){
a
(
"DCKm"
)},
"data-v-1f32a518"
,
null
);
t
.
a
=
o
.
exports
}});
\ No newline at end of file
dist/static/js/14.a52947dac152c08630f5.js
0 → 100644
View file @
afd209f4
webpackJsonp
([
14
],{
EFYv
:
function
(
e
,
t
){},
FFFL
:
function
(
e
,
t
){
e
.
exports
=
"data:image/jpeg;base64,iVBORw0KGgoAAAANSUhEUgAAANwAAADcCAYAAAAbWs+BAAAbLklEQVR4nO3d2XLjSJYm4B/7SnCRqCUyMrpresy6uq9q+v0foy/KrKcqayo2SVxAYl8c7nMBKlISIWVIIkGAPJ9ZmtIy0yJckfzlDsfx41KcFgKEkFbIhx4AIaeEAkdIiyhwhLSIAkdIiyhwhLSIAkdIiyhwhLSIAkdIiyhwhLSIAkdIiyhwhLSIAkdIiyhwhLSIAkdIiyhwhLSIAkdIiyhwhLSIAkdIiyhwhLSIAkdIiyhwhLSIAkdIiyhwhLSIAkdIiyhwhLSIAkdIiyhwhLSIAkdIiyhwhLSIAkdIiyhwhLSIAkdIiyhwhLSIAkdIiyhwhLSIAkdIiyhwhLSIAkdIi9RDD+DUlKxCljPkBUNWMGQ5Q8kqcC5QcQHOOSRZgiLLUGQJmqrA0FWYhgpz81VTlUN/G+SNpDgtxKEHcezygsEPUiRZiSDKoaoKFFWBqihQVRmKLEOSJMiyBEmSIIQAFwKCC3AuwKoKjP3+l+casE0NY8+CodPPzD6hwO0JqzjWYYbFOkGaMZimDk1ToWsqFOXtK/mq4ihKhrJkyLIClqnibGhjODChvuPXJe2gwO0Yqzjmfozv8wimocGyDGiqClmWdv57cS5QMoY0zZHlBa7PBzgfOxS8DqPA7QjnAjM/xrdZANsy4djmu2ay16qqCnGSI0kzfJh6mE4cyNLuQ07ehwK3A4tVgn988+E6FhzbgKIcblODVRWSJEMUZ/jXD2OcjeyDjYVso8C9Q1FWuJmHCJICA9eGrnV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
l
=
a
(
"Gu7T"
),
s
=
a
.
n
(
l
),
o
=
a
(
"Ke24"
),
n
=
a
(
"Ie7z"
),
c
=
a
(
"c4uw"
),
d
=
a
(
"vRJf"
),
u
=
a
(
"P9l9"
),
m
=
a
(
"Ch4/"
),
g
=
a
(
"PI0u"
),
h
=
{
name
:
"use-record"
,
props
:{
detailShow
:{
type
:
Boolean
,
default
:
!
1
},
materialId
:{
type
:
String
,
default
:
""
}},
data
:
function
(){
return
{
customDialog
:
!
1
,
activeName
:
"first"
,
tableData
:[],
conditionObj
:{
searchInput
:
""
,
materialId
:
this
.
materialId
},
currentPage
:
1
,
pageSize
:
5
,
total
:
0
}},
methods
:{
toInput
:
Object
(
g
.
a
)(
function
(
e
,
t
){
this
.
currentPage
=
1
,
this
.
getTableList
()},
500
),
clearInput
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
handleSizeChange
:
function
(
e
){
this
.
pageSize
=
e
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getTableList
()},
handleClose
:
function
(
e
){
e
(),
this
.
hideDialog
()},
customCancel
:
function
(){
this
.
hideDialog
()},
hideDialog
:
function
(){
this
.
customDialog
=!
1
,
this
.
$emit
(
"hideDetailDialog"
)},
getTableList
:
function
(
e
){
var
t
=
this
,
a
=
{
materialId
:
t
.
conditionObj
.
materialId
,
imgTextTitle
:
t
.
conditionObj
.
searchInput
||
""
,
relatedType
:
4
,
pageNum
:
t
.
currentPage
,
pageSize
:
t
.
pageSize
,
brandId
:
t
.
activeBrand
};
Object
(
u
.
a
)(
"/haoban-app-material-web/material-log"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
t
.
tableData
=
a
.
result
.
list
||
[],
t
.
total
=
a
.
result
.
total
,
!
1
;
m
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
detailShow
:
function
(
e
,
t
){
this
.
customDialog
=
e
},
materialId
:
function
(
e
,
t
){
e
&&
(
this
.
conditionObj
.
materialId
=
e
,
this
.
currentPage
=
1
,
this
.
getTableList
())}},
mounted
:
function
(){
this
.
customDialog
=
this
.
detailShow
,
this
.
materialId
&&
(
this
.
conditionObj
.
materialId
=
this
.
materialId
,
this
.
currentPage
=
1
,
this
.
getTableList
())}},
f
=
{
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
:
"edit-dialog"
,
attrs
:{
title
:
"记录"
,
visible
:
e
.
customDialog
,
width
:
"739px"
,
"before-close"
:
e
.
handleClose
},
on
:{
"update:visible"
:
function
(
t
){
e
.
customDialog
=
t
}}},[
a
(
"div"
,{
staticClass
:
"edit-dialog-body"
},[
a
(
"div"
,{
staticClass
:
"m-b-20 flex"
},[
a
(
"el-input"
,{
staticClass
:
"w-203"
,
attrs
:{
placeholder
:
"请输入标题"
,
"prefix-icon"
:
"el-icon-search"
,
clearable
:
""
},
on
:{
clear
:
e
.
clearInput
},
nativeOn
:{
keyup
:
function
(
t
){
return
a
=
t
,
e
.
toInput
(
a
,
e
.
conditionObj
.
searchInput
);
var
a
}},
model
:{
value
:
e
.
conditionObj
.
searchInput
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"searchInput"
,
t
)},
expression
:
"conditionObj.searchInput"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
,
height
:
"332"
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"发布人"
,
width
:
"150"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
userName
||
"--"
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"标题"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
phoneNumber
||
"--"
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"发布时间"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToYmd"
)(
t
.
row
.
createTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToHms"
)(
t
.
row
.
createTime
)))])]}}])})],
1
),
e
.
_v
(
" "
),
0
!=
e
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
e
.
currentPage
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
e
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
e
.
total
},
on
:{
"size-change"
:
e
.
handleSizeChange
,
"current-change"
:
e
.
handleCurrentChange
}})],
1
):
e
.
_e
()],
1
)])],
1
)},
staticRenderFns
:[]};
var
p
=
a
(
"VU/8"
)(
h
,
f
,
!
1
,
function
(
e
){
a
(
"TjhY"
)},
"data-v-28498945"
,
null
).
exports
,
v
=
a
(
"l46T"
),
I
=
a
(
"Kkt8"
),
S
=
a
(
"3E4D"
),
b
=
{
name
:
"chat-log"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}},
activeGroupId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
components
:{
commonDetailTop
:
o
.
a
,
vueSelectStore
:
n
.
a
,
vueSelectEmployee
:
c
.
a
,
materialPreview
:
d
.
a
,
useRecord
:
p
,
limitInput
:
v
.
a
,
limitTextarea
:
I
.
a
},
data
:
function
(){
return
{
activeBrand
:
this
.
brandId
,
activeGroup
:
this
.
activeGroupId
,
activeId
:
"2"
,
topMenuData
:[{
id
:
"1"
,
name
:
"图文素材"
,
path
:
"/imageText?appIcon="
+
this
.
$route
.
query
.
appIcon
},{
id
:
"2"
,
name
:
"选择图文"
}],
tableData
:[],
searchInput
:
""
,
selectType
:
""
,
treeSet
:{
isSelectPerson
:
!
1
,
dialogVisible
:
!
1
,
isSingle
:
!
1
,
openNextBool
:
!
0
},
defaultSelection
:[],
changed
:
""
,
onlyPerson
:
!
1
,
appScene
:
2
,
defaultStoreList
:[],
storeTreeSet
:{
isSelectPerson
:
!
1
,
dialogVisible
:
!
1
,
isSingle
:
!
1
},
defaultImg
:
a
(
"FFFL"
),
currentPage
:
1
,
pageSize
:
6
,
total
:
0
,
enterpriseId
:
JSON
.
parse
(
localStorage
.
getItem
(
"userInfo"
)).
enterpriseId
,
userId
:
JSON
.
parse
(
localStorage
.
getItem
(
"userInfo"
)).
userId
,
formData
:{
materialId
:
""
,
imageTextWechatId
:
""
,
imageTextGicId
:
""
,
titleName
:
""
,
imageUrl
:
""
,
imageTextUrl
:
""
,
rangeList
:[],
materialTitle
:
""
,
materialContent
:
""
,
topFlag
:
!
1
},
rules
:{
imageTextWechatId
:[{
required
:
!
0
,
message
:
"请选择图文"
,
trigger
:
"change"
}],
materialTitle
:[{
required
:
!
0
,
message
:
"请请输入素材标题"
,
trigger
:
"blur"
}],
materialContent
:[{
required
:
!
0
,
message
:
"请请输入发送内容"
,
trigger
:
"blur"
}],
rangeList
:[{
validator
:
function
(
e
,
t
,
a
){
if
(
""
==
t
||!
t
.
length
)
return
a
(
new
Error
(
"请选择选择行政架构或门店架构"
));
a
()},
trigger
:
"change"
}]},
previewVisible
:
!
1
,
materialPreviewData
:{},
detailShow
:
!
1
,
imageTextWechatId
:
""
}},
methods
:{
showRecord
:
function
(
e
){
if
(
!
e
.
useCount
)
return
!
1
;
this
.
detailShow
=!
0
,
this
.
imageTextWechatId
=
e
.
imageTextWechatId
},
hideDetailDialog
:
function
(){
this
.
detailShow
=!
1
,
this
.
imageTextWechatId
=
""
},
showPreviewDetail
:
function
(
e
){
this
.
materialPreviewData
=
{
materialTitle
:
e
.
titleName
,
materialContent
:
""
},
this
.
previewVisible
=!
0
},
submitForm
:
function
(
e
,
t
){
var
a
=
this
;
a
.
formData
.
rangeList
=
[].
concat
(
s
()(
a
.
defaultStoreList
),
s
()(
a
.
defaultSelection
)),
a
.
$refs
[
e
].
validate
(
function
(
e
){
e
&&
a
.
postSaveCard
(
t
)})},
postSaveCard
:
function
(
e
){
var
t
=
this
,
a
=
[];
t
.
formData
.
rangeList
.
forEach
(
function
(
e
){
a
.
push
({
groupId
:
2
==
e
.
type
?
e
.
groupId
:
""
,
storeId
:
3
==
e
.
type
?
e
.
storeId
:
""
,
storeFlag
:
e
.
isStoreGroup
})});
var
i
=
{
enterpriseId
:
t
.
enterpriseId
,
imageTextWechatId
:
t
.
formData
.
imageTextWechatId
,
imageTextGicId
:
t
.
formData
.
imageTextGicId
,
materialContent
:
t
.
formData
.
materialContent
,
imageTextUrl
:
t
.
formData
.
imageTextUrl
,
materialTitle
:
t
.
formData
.
materialTitle
,
rangeListStr
:
r
()(
a
),
topFlag
:
t
.
formData
.
topFlag
?
1
:
0
,
relatedType
:
1
,
brandId
:
t
.
brandId
,
userId
:
t
.
userId
};
Object
(
u
.
e
)(
"/haoban-app-material-web/material-add"
,
i
).
then
(
function
(
a
){
var
i
=
a
.
data
;
1
==
i
.
errorCode
&&
(
S
.
a
.
showmsg
(
"新建成功"
,
"success"
),
e
?(
t
.
formData
=
{
materialId
:
""
,
imageTextWechatId
:
""
,
imageTextGicId
:
""
,
titleName
:
""
,
imageUrl
:
""
,
imageTextUrl
:
""
,
rangeList
:[],
materialTitle
:
""
,
materialContent
:
""
,
topFlag
:
!
1
},
t
.
defaultStoreList
=
[],
t
.
defaultSelection
=
[]):
t
.
$router
.
push
(
"/imageText?appIcon="
+
t
.
$route
.
query
.
appIcon
)),
m
.
a
.
errorMsg
(
i
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
previewData
:
function
(
e
){
var
t
=
this
;
t
.
formData
.
rangeList
=
[].
concat
(
s
()(
t
.
defaultStoreList
),
s
()(
t
.
defaultSelection
)),
t
.
$refs
[
e
].
validate
(
function
(
e
){
e
&&
(
t
.
tableData
.
forEach
(
function
(
e
){
e
.
imageTextWechatId
==
t
.
formData
.
imageTextWechatId
&&
(
t
.
formData
.
imageUrl
=
e
.
imageUrl
,
t
.
formData
.
titleName
=
e
.
titleName
)}),
t
.
materialPreviewData
=
t
.
formData
,
t
.
previewVisible
=!
0
)})},
toReturn
:
function
(){
this
.
$router
.
go
(
-
1
)},
changeId
:
function
(
e
,
t
){
this
.
formData
.
imageTextWechatId
=
e
,
this
.
formData
.
imageTextGicId
=
t
.
imageTextId
},
toInput
:
Object
(
g
.
a
)(
function
(
e
,
t
){
this
.
currentPage
=
1
,
this
.
getTableList
()},
200
),
clearInput
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
showDialogLayer
:
function
(
e
,
t
){
return
!
this
.
$route
.
query
.
materialId
&&
(
this
.
selectType
=
e
,
this
.
changed
=
e
,
"store"
===
e
?(
this
.
defaultStoreList
=
t
,
void
(
this
.
storeTreeSet
=
{
dialogVisible
:
!
0
,
isSingle
:
!
1
,
isSelectPerson
:
!
1
,
openNextBool
:
!
0
})):(
this
.
treeSet
=
{
dialogVisible
:
!
0
,
isSingle
:
!
1
,
isSelectPerson
:
!
1
,
openNextBool
:
!
0
},
void
(
this
.
defaultSelection
=
t
)))},
handleSelectedList
:
function
(
e
){
"store"
===
this
.
selectType
?
this
.
defaultStoreList
=
e
:
this
.
defaultSelection
=
e
,
this
.
formData
.
rangeList
=
[].
concat
(
s
()(
this
.
defaultStoreList
),
s
()(
this
.
defaultSelection
))},
delDepart
:
function
(
e
,
t
,
a
){
if
(
this
.
$route
.
query
.
materialId
)
return
!
1
;
t
.
splice
(
e
,
1
),
this
.
formData
.
rangeList
=
[].
concat
(
s
()(
this
.
defaultStoreList
),
s
()(
this
.
defaultSelection
))},
handleSizeChange
:
function
(
e
){
this
.
pageSize
=
e
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getTableList
()},
getImageData
:
function
(){
var
e
=
this
,
t
=
{
materialId
:
e
.
$route
.
query
.
materialId
,
brandId
:
e
.
brandId
};
Object
(
u
.
a
)(
"/haoban-app-material-web/material-detail"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
){
var
i
=
[],
r
=
[];
return
a
.
result
.
rangeVOList
&&
a
.
result
.
rangeVOList
.
forEach
(
function
(
e
){
e
.
groupId
=
2
==
e
.
type
?
e
.
id
:
""
,
e
.
storeId
=
3
==
e
.
type
?
e
.
id
:
""
,
e
.
isStoreGroup
=
e
.
storeFlag
,
1
==
e
.
storeFlag
?
i
.
push
(
e
):
r
.
push
(
e
)}),
e
.
formData
=
{
materialId
:
a
.
result
.
materialId
,
imageTextWechatId
:
a
.
result
.
imageTextWechatId
,
imageTextUrl
:
a
.
result
.
imageTextUrl
,
titleName
:
""
,
imageUrl
:
""
,
materialTitle
:
a
.
result
.
materialTitle
,
materialContent
:
a
.
result
.
materialContent
,
topFlag
:
1
==
a
.
result
.
topFlag
,
rangeList
:
a
.
result
.
rangeVOList
,
createTime
:
a
.
result
.
createTime
},
e
.
defaultStoreList
=
i
||
[],
e
.
defaultSelection
=
r
||
[],
!
1
}
m
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getTableList
:
function
(
e
){
var
t
=
this
,
a
=
{
title
:
t
.
searchInput
||
""
,
pageNum
:
t
.
currentPage
,
pageSize
:
t
.
pageSize
,
brandId
:
t
.
activeBrand
};
Object
(
u
.
a
)(
"/haoban-app-material-web/wechat-material-detail"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
t
.
tableData
=
a
.
result
.
list
||
[],
t
.
total
=
a
.
result
.
total
,
t
.
$route
.
query
.
materialId
&&
t
.
getImageData
(),
!
1
;
m
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
brandId
:
function
(
e
,
t
){
e
&&
(
this
.
activeBrand
=
e
,
this
.
getTableList
())},
activeGroupId
:
function
(
e
,
t
){
e
&&
(
this
.
activeGroup
=
e
)}},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
"1"
),
this
.
brandId
&&
this
.
getTableList
()}},
w
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"app-detail-wrap"
},[
a
(
"div"
,{
staticClass
:
"chat-log boder-box"
},[
a
(
"common-detail-top"
,{
attrs
:{
topMenuData
:
e
.
topMenuData
,
activeId
:
e
.
activeId
}}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"new-card-body"
},[
a
(
"el-form"
,{
ref
:
"ruleForm"
,
staticClass
:
"demo-ruleForm"
,
attrs
:{
model
:
e
.
formData
,
rules
:
e
.
rules
,
"label-width"
:
"120px"
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"选择图文:"
,
prop
:
"imageTextWechatId"
}},[
a
(
"div"
,{
staticClass
:
"search-div"
},[
a
(
"el-input"
,{
staticClass
:
"w-264"
,
staticStyle
:{
width
:
"264px"
},
attrs
:{
placeholder
:
"请输入图文标题"
,
clearable
:
""
},
on
:{
clear
:
e
.
clearInput
},
nativeOn
:{
keyup
:
function
(
t
){
return
a
=
t
,
e
.
toInput
(
a
,
e
.
searchInput
);
var
a
}},
model
:{
value
:
e
.
searchInput
,
callback
:
function
(
t
){
e
.
searchInput
=
t
},
expression
:
"searchInput"
}},[
a
(
"i"
,{
staticClass
:
"el-input__icon el-icon-search"
,
attrs
:{
slot
:
"prefix"
},
slot
:
"prefix"
})])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"chat-log-content boder-box m-t-20"
},[
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
""
,
width
:
"50"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-radio"
,{
attrs
:{
disabled
:
!!
e
.
$route
.
query
.
materialId
,
label
:
t
.
row
.
imageTextWechatId
},
on
:{
change
:
function
(
a
){
e
.
changeId
(
a
,
t
.
row
)}},
model
:{
value
:
e
.
formData
.
imageTextWechatId
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formData
,
"imageTextWechatId"
,
t
)},
expression
:
"formData.imageTextWechatId"
}},[
e
.
_v
(
e
.
_s
(
""
))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"imageUrl"
,
label
:
"图片"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"cell"
},[
a
(
"img"
,{
staticClass
:
"img-40"
,
attrs
:{
src
:
t
.
row
.
imageUrl
?
t
.
row
.
imageUrl
:
e
.
defaultImg
,
alt
:
""
}})])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"titleName"
,
label
:
"图文标题"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"cell color-1890ff cursor-pointer"
,
on
:{
click
:
function
(
a
){
e
.
showPreviewDetail
(
t
.
row
)}}},[
e
.
_v
(
e
.
_s
(
t
.
row
.
titleName
||
"--"
))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"作者"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
authorName
||
"--"
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"storeMode"
,
label
:
"使用记录"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"cell color-1890ff cursor-pointer"
,
on
:{
click
:
function
(
a
){
e
.
showRecord
(
t
.
row
)}}},[
e
.
_v
(
e
.
_s
(
t
.
row
.
useCount
||
"--"
))])]}}])})],
1
),
e
.
_v
(
" "
),
0
!=
e
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
e
.
currentPage
,
"page-size"
:
e
.
pageSize
,
layout
:
" prev, pager, next"
,
total
:
e
.
total
},
on
:{
"current-change"
:
e
.
handleCurrentChange
}})],
1
):
e
.
_e
()],
1
)]),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
staticClass
:
"input-item is-required"
,
attrs
:{
label
:
"发送范围:"
,
prop
:
"rangeList"
}},[
a
(
"div"
,{
staticClass
:
"form-item-tip fonr-14 color-909399"
},[
e
.
_v
(
"下面两项可二选一,非全选。可选择行政架构或门店架构"
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"flex"
},[
a
(
"div"
,{
staticClass
:
"flex-column item-cell-select inline-block "
},[
a
(
"div"
,{
staticClass
:
"depart-item-wrap"
},[
a
(
"div"
,{
staticClass
:
"el-select el-select--large depart-item-content"
,
staticStyle
:{
width
:
"240px"
},
on
:{
click
:
function
(
t
){
e
.
showDialogLayer
(
"depart"
,
e
.
defaultSelection
)}}},[
e
.
defaultSelection
.
length
?
e
.
_e
():
a
(
"span"
,{
staticClass
:
"font-14 color-c0c4cc p-l-10"
},[
e
.
_v
(
"请选择行政架构"
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-select__tags"
},[
a
(
"span"
,[
e
.
_l
(
e
.
defaultSelection
,
function
(
t
,
i
){
return
[
a
(
"span"
,{
key
:
i
,
staticClass
:
"el-tag el-tag--info el-tag--small"
},[
a
(
"span"
,{
staticClass
:
"el-select__tags-text"
},[
e
.
_v
(
e
.
_s
(
t
.
name
||
t
.
storeName
))]),
a
(
"i"
,{
staticClass
:
"el-tag__close el-icon-close"
,
on
:{
click
:
function
(
t
){
t
.
stopPropagation
(),
e
.
delDepart
(
i
,
e
.
defaultSelection
,
"depart"
)}}})])]})],
2
)])])])])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"flex m-t-20"
},[
a
(
"div"
,{
staticClass
:
"flex-column item-cell-select inline-block"
},[
a
(
"div"
,{
staticClass
:
"depart-item-wrap"
},[
a
(
"div"
,{
staticClass
:
"el-select el-select--large depart-item-content"
,
staticStyle
:{
width
:
"240px"
},
on
:{
click
:
function
(
t
){
e
.
showDialogLayer
(
"store"
,
e
.
defaultStoreList
)}}},[
e
.
defaultStoreList
.
length
?
e
.
_e
():
a
(
"span"
,{
staticClass
:
"font-14 color-c0c4cc p-l-10"
},[
e
.
_v
(
"请选择门店架构"
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-select__tags"
},[
a
(
"span"
,[
e
.
_l
(
e
.
defaultStoreList
,
function
(
t
,
i
){
return
[
a
(
"span"
,{
key
:
i
,
staticClass
:
"el-tag el-tag--info el-tag--small"
},[
a
(
"span"
,{
staticClass
:
"el-select__tags-text"
},[
e
.
_v
(
e
.
_s
(
t
.
name
||
t
.
storeName
))]),
a
(
"i"
,{
staticClass
:
"el-tag__close el-icon-close"
,
on
:{
click
:
function
(
t
){
t
.
stopPropagation
(),
e
.
delDepart
(
i
,
e
.
defaultStoreList
,
"store"
)}}})])]})],
2
)])])])])])]),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"发送内容标题:"
,
prop
:
"materialTitle"
}},[
a
(
"limitInput"
,{
attrs
:{
disflag
:
!!
e
.
$route
.
query
.
materialId
,
inputWidth
:
320
,
inputValue
:
e
.
formData
.
materialTitle
,
holder
:
"请输入素材标题"
,
getByType
:
"word"
,
maxLength
:
15
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
formData
,
"materialTitle"
,
t
)}}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"发送内容:"
,
prop
:
"materialContent"
}},[
a
(
"limitTextarea"
,{
attrs
:{
disInput
:
!!
e
.
$route
.
query
.
materialId
,
inputWidth
:
320
,
inputValue
:
e
.
formData
.
materialContent
,
holder
:
"请输入素材内容"
,
maxLength
:
1500
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
formData
,
"materialContent"
,
t
)}}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"更多设置:"
,
prop
:
""
}},[
a
(
"div"
,[
a
(
"el-checkbox"
,{
attrs
:{
disabled
:
!!
e
.
$route
.
query
.
materialId
},
model
:{
value
:
e
.
formData
.
topFlag
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formData
,
"topFlag"
,
t
)},
expression
:
"formData.topFlag"
}},[
e
.
_v
(
"置顶"
)])],
1
)]),
e
.
_v
(
" "
),
a
(
"el-form-item"
,[
a
(
"el-button"
,{
on
:{
click
:
e
.
toReturn
}},[
e
.
_v
(
"取消"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
previewData
(
"ruleForm"
)}}},[
e
.
_v
(
"预览"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
disabled
:
!!
e
.
$route
.
query
.
materialId
,
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
submitForm
(
"ruleForm"
)}}},[
e
.
_v
(
"发布"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
disabled
:
!!
e
.
$route
.
query
.
materialId
,
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
submitForm
(
"ruleForm"
,
"flag"
)}}},[
e
.
_v
(
"发布并添加下一个"
)])],
1
)],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"vue-select-employee"
,{
attrs
:{
appScene
:
e
.
appScene
,
defaultSelection
:
e
.
defaultSelection
,
onlyPerson
:
e
.
onlyPerson
,
treeSet
:
e
.
treeSet
,
changed
:
e
.
changed
},
on
:{
handleSelectedList
:
e
.
handleSelectedList
}}),
e
.
_v
(
" "
),
a
(
"vue-select-store"
,{
ref
:
"storeSelector"
,
attrs
:{
currentBrand
:
e
.
activeGroup
,
appScene
:
e
.
appScene
,
treeSet
:
e
.
storeTreeSet
,
selectType
:
"group-store"
,
defaultList
:
e
.
defaultStoreList
},
on
:{
handleSelectedList
:
e
.
handleSelectedList
}}),
e
.
_v
(
" "
),
a
(
"material-preview"
,{
ref
:
"materialPreview"
,
attrs
:{
materialPreviewData
:
e
.
materialPreviewData
},
model
:{
value
:
e
.
previewVisible
,
callback
:
function
(
t
){
e
.
previewVisible
=
t
},
expression
:
"previewVisible"
}}),
e
.
_v
(
" "
),
a
(
"use-record"
,{
attrs
:{
materialId
:
e
.
imageTextWechatId
,
detailShow
:
e
.
detailShow
},
on
:{
hideDetailDialog
:
e
.
hideDetailDialog
}})],
1
)},
staticRenderFns
:[]};
var
D
=
a
(
"VU/8"
)(
b
,
w
,
!
1
,
function
(
e
){
a
(
"EFYv"
)},
"data-v-9ae22ebc"
,
null
);
t
.
default
=
D
.
exports
},
NoP7
:
function
(
e
,
t
){},
TjhY
:
function
(
e
,
t
){},
vRJf
:
function
(
e
,
t
,
a
){
"use strict"
;
var
i
=
a
(
"mvHQ"
),
r
=
a
.
n
(
i
),
l
=
{
name
:
"material-preview"
,
props
:{
value
:{
type
:
Boolean
,
default
:
function
(){
return
!
1
}},
materialPreviewData
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
{
materialId
:
""
,
imageTextWechatId
:
""
,
imageTextGicId
:
""
,
titleName
:
""
,
imageUrl
:
""
,
rangeList
:[],
imgUrlList
:[],
materialTitle
:
""
,
materialContent
:
""
,
topFlag
:
!
1
}}}},
directives
:{
htmlContent
:{
bind
:
function
(
e
,
t
){
e
.
innerHTML
=
t
.
value
},
update
:
function
(
e
,
t
){
e
.
innerHTML
=
t
.
value
}}},
data
:
function
(){
return
{
materialData
:{
materialId
:
""
,
imageTextWechatId
:
""
,
imageTextGicId
:
""
,
rangeList
:[],
imgUrlList
:[],
materialTitle
:
""
,
materialContent
:
""
,
topFlag
:
!
1
}}},
methods
:{
closeDialog
:
function
(){
this
.
$emit
(
"input"
,
!
1
),
this
.
$emit
(
"closePre"
)}},
watch
:{
value
:
function
(
e
,
t
){
this
.
materialData
=
JSON
.
parse
(
r
()(
this
.
materialPreviewData
))},
materialPreviewData
:
function
(
e
,
t
){
this
.
materialData
=
JSON
.
parse
(
r
()(
e
))}},
mounted
:
function
(){
this
.
materialData
=
JSON
.
parse
(
r
()(
this
.
materialPreviewData
))}},
s
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
e
.
value
?
a
(
"div"
,{
staticClass
:
"qr-dialog-content"
,
staticStyle
:{
opacity
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"qr-mask"
,
on
:{
click
:
function
(
t
){
return
t
.
stopPropagation
(),
e
.
closeDialog
(
t
)}}}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"qr-dialog border-box"
},[
a
(
"div"
,{
staticClass
:
"qr-dialog-body border-box"
},[
a
(
"h2"
,{
staticClass
:
"font-20 color-222 text-left main-title"
},[
e
.
_v
(
e
.
_s
(
e
.
materialData
.
materialTitle
))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"notice-date m-t-10 flex flex-space-between"
},[
a
(
"div"
,{
staticClass
:
"notice-date-left font-10 color-88949C"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToYmd"
)(
e
.
materialData
.
materialId
?
e
.
materialData
.
createTime
:(
new
Date
).
getTime
())))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"notice-date-right font-10 color-4d7fd0"
})]),
e
.
_v
(
" "
),
a
(
"div"
,{
directives
:[{
name
:
"htmlContent"
,
rawName
:
"v-htmlContent"
,
value
:
e
.
materialData
.
materialContent
,
expression
:
"materialData.materialContent"
}],
staticClass
:
"notice-body border-box font-14 color-222"
}),
e
.
_v
(
" "
),
e
.
materialData
.
imgUrlList
&&
e
.
materialData
.
imgUrlList
.
length
?
a
(
"div"
,{
staticClass
:
"img-list-wrap"
},[
a
(
"ul"
,{
staticClass
:
"flex flex-wrap"
},
e
.
_l
(
e
.
materialData
.
imgUrlList
,
function
(
e
,
t
){
return
a
(
"li"
,{
key
:
t
+
"img"
,
staticClass
:
"border-box flex flex-align-center flex-pack-center"
},[
a
(
"img"
,{
attrs
:{
src
:
e
.
imgUrl
,
alt
:
""
}})])}))]):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
materialData
.
imageTextWechatId
?
a
(
"div"
,{
staticClass
:
"image-text-link"
},[
a
(
"div"
,{
staticClass
:
"flex"
},[
a
(
"div"
,{
staticClass
:
"flex-left-img flex flex-align-center flex-pack-center"
},[
a
(
"img"
,{
attrs
:{
src
:
e
.
materialData
.
imageUrl
,
alt
:
""
}})]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"flex-right-title border-box"
},[
a
(
"div"
,{
staticClass
:
"title-content font-14 color-606266"
},[
e
.
_v
(
e
.
_s
(
e
.
materialData
.
titleName
))])])])]):
e
.
_e
()])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"qr-dialog__hd"
},[
a
(
"i"
,{
staticClass
:
"el-icon-plus"
,
on
:{
click
:
function
(
t
){
return
t
.
stopPropagation
(),
e
.
closeDialog
(
t
)}}})])]):
e
.
_e
()},
staticRenderFns
:[]};
var
o
=
a
(
"VU/8"
)(
l
,
s
,
!
1
,
function
(
e
){
a
(
"NoP7"
)},
"data-v-d6932054"
,
null
);
t
.
a
=
o
.
exports
}});
\ No newline at end of file
dist/static/js/17.a
28e63bfa5ccba7fef5d
.js
→
dist/static/js/17.a
be6f707700aee81dda3
.js
View file @
afd209f4
webpackJsonp
([
17
],{
"7fkC"
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
i
=
a
(
"mvHQ"
),
r
=
a
.
n
(
i
),
l
=
a
(
"Gu7T"
),
s
=
a
.
n
(
l
),
n
=
a
(
"Ke24"
),
o
=
a
(
"Ie7z"
),
c
=
a
(
"c4uw"
),
m
=
a
(
"vRJf"
),
u
=
a
(
"l46T"
),
d
=
a
(
"Kkt8"
),
g
=
a
(
"//Fk"
),
p
=
a
.
n
(
g
),
f
=
a
(
"DAYN"
),
h
=
{
name
:
"mult-upload-image"
,
props
:{
projectName
:{
type
:
String
,
default
:
"haoban-manage-web"
},
disabled
:{
type
:
Boolean
,
default
:
!
1
},
wxFlag
:{
type
:
String
,
default
:
"1"
},
imgRate
:{
type
:
String
},
actionUrl
:{
type
:
String
,
default
:
"/haoban-manage-web/upload-img"
},
maxImageLength
:{
type
:
Number
,
default
:
9
},
limitW
:{
type
:
Number
},
limitH
:{
type
:
Number
},
imageList
:{
type
:
Array
,
default
:
function
(){
return
[]}}},
data
:
function
(){
return
{
dragImageList
:
JSON
.
parse
(
r
()(
this
.
imageList
)),
fileDatas
:[],
initialImg
:
0
,
progress
:
0
,
pass
:
null
,
isEnlargeImage
:
!
1
,
enlargeImage
:
""
}},
computed
:{
propStatus
:
function
(){
return
this
.
pass
?
"success"
:
!
1
===
this
.
pass
?
"exception"
:
"text"
}},
beforeMount
:
function
(){},
methods
:{
uploadUrl
:
function
(){
var
t
,
e
=
window
.
location
.
origin
,
a
=
void
0
;
return
t
=
this
.
wxFlag
&&
""
!=
this
.
wxFlag
?
"wxFlag="
+
this
.
wxFlag
+
"&"
:
""
,
a
=
"-1"
!=
e
.
indexOf
(
"localhost"
)?
"https://www.gicdev.com"
:
e
,
this
.
upUrl
=
a
+
this
.
actionUrl
+
"?"
+
t
+
"requestProject="
+
this
.
projectName
,
this
.
upUrl
},
beforeAvatarUpload
:
function
(
t
){
var
e
=
this
,
a
=
t
.
size
/
1024
/
1024
<
5
;
return
a
||
e
.
$message
.
error
(
"上传图片大小不能超过 5MB!"
),
a
&&
new
p
.
a
(
function
(
a
,
i
){
var
r
=
new
FileReader
;
r
.
onload
=
function
(
t
){
var
r
=
new
Image
;
r
.
onload
=
function
(){
var
t
=
this
.
width
,
r
=
this
.
height
;
e
.
imgRate
&&
""
!==
e
.
imgRate
&&
(
Number
(
e
.
imgRate
.
split
(
":"
)[
0
])
/
Number
(
e
.
imgRate
.
split
(
":"
)[
1
])
!=
Number
(
t
)
/
Number
(
r
)
&&
(
e
.
$message
.
error
(
"上传图片比例不正确!"
),
i
()));
e
.
imgRate
&&
""
!=
e
.
imgRate
||!
e
.
limitW
||!
e
.
limitH
||
t
===
e
.
limitW
||
r
===
e
.
limitH
||
(
e
.
$message
.
error
(
"上传图片尺寸不正确!"
),
i
()),
a
()},
r
.
src
=
t
.
target
.
result
},
r
.
readAsDataURL
(
t
)})},
uploadOnProgress
:
function
(
t
,
e
){
t
&&
t
.
percent
&&
(
this
.
progress
=
Math
.
floor
(
t
.
percent
))},
uploadOnChange
:
function
(
t
,
e
){
var
a
=
this
;
"ready"
===
t
.
status
?(
a
.
pass
=
null
,
a
.
progress
=
0
):
"fail"
===
t
.
status
&&
a
.
$message
.
error
(
"图片上传失败,请重试!"
),
a
.
fileDatas
=
e
,
console
.
log
(
"fileList:"
,
e
,
a
.
fileDatas
),
a
.
$nextTick
(
function
(){
var
t
=
[];
e
.
length
&&
e
.
forEach
(
function
(
e
){
t
.
push
({
imgUrl
:
e
.
response
.
result
[
0
].
qcloudImageUrl
})}),
a
.
$emit
(
"uploadOnSuccess"
,
t
),
a
.
pass
=
null
,
a
.
progress
=
0
})},
handleExceed
:
function
(
t
,
e
){
this
.
$message
.
warning
(
"当前限制选择 9 个文件,本次选择了 "
+
t
.
length
+
" 个文件,共选择了 "
+
(
t
.
length
+
e
.
length
)
+
" 个文件"
)},
uploadOnError
:
function
(){
this
.
$message
.
error
(
"图片上传失败,请重试!"
)},
previewImage
:
function
(
t
){
this
.
isEnlargeImage
=!
0
,
this
.
initialImg
=
t
},
deleteImage
:
function
(
t
){
this
.
$emit
(
"deleteImage"
,
t
)},
handleClose
:
function
(
t
){
t
()},
itemMoveEnd
:
function
(
t
){
this
.
$emit
(
"sortImg"
,
this
.
dragImageList
)}},
watch
:{
imageList
:
function
(
t
,
e
){
this
.
dragImageList
=
JSON
.
parse
(
r
()(
t
))}},
mounted
:
function
(){
this
.
dragImageList
=
JSON
.
parse
(
r
()(
this
.
imageList
))},
components
:{
draggable
:
a
.
n
(
f
).
a
}},
v
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"gic-upload__img"
},[
a
(
"div"
,{
staticClass
:
"gic-upload__img__drag"
},[
a
(
"draggable"
,{
staticClass
:
"drag-wrap"
,
staticStyle
:{
display
:
"contents"
},
attrs
:{
options
:{
group
:{
name
:
"people"
,
pull
:
!
1
,
put
:
!
0
},
sort
:
!
0
}},
on
:{
end
:
t
.
itemMoveEnd
},
model
:{
value
:
t
.
dragImageList
,
callback
:
function
(
e
){
t
.
dragImageList
=
e
},
expression
:
"dragImageList"
}},[
a
(
"transition-group"
,{
attrs
:{
name
:
"slide-fade"
}},
t
.
_l
(
t
.
imageList
,
function
(
e
,
i
){
return
a
(
"div"
,{
key
:
i
,
class
:[
"img-content"
,
i
>=
6
?
"m-t-8"
:
""
]},[
a
(
"a"
,{
staticClass
:
"item-img"
,
attrs
:{
href
:
e
.
imgUrl
}},[
a
(
"img"
,{
attrs
:{
src
:
e
.
imgUrl
,
alt
:
"上传图片"
}})]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"upload-icon__btn"
},[
a
(
"i"
,{
staticClass
:
"el-icon-view"
,
on
:{
click
:
function
(
e
){
t
.
previewImage
(
i
)}}}),
t
.
_v
(
" "
),
a
(
"i"
,{
staticClass
:
"el-icon-delete"
,
on
:{
click
:
function
(
e
){
t
.
deleteImage
(
i
)}}})])])}))],
1
),
t
.
_v
(
" "
),
t
.
pass
||
0
===
t
.
progress
?
t
.
_e
():
a
(
"div"
,{
class
:[
"img-content"
,
"img-progress"
,
t
.
imageList
.
length
>=
6
?
"m-t-8"
:
""
]},[
a
(
"el-progress"
,{
staticClass
:
"gic-img-progress"
,
staticStyle
:{
"line-height"
:
"102px"
},
attrs
:{
width
:
102
,
percentage
:
t
.
progress
,
status
:
t
.
propStatus
}})],
1
),
t
.
_v
(
" "
),
t
.
imageList
&&
t
.
imageList
.
length
<
t
.
maxImageLength
?
a
(
"div"
,{
class
:[
"img-upload"
,
t
.
imageList
.
length
>=
6
?
"m-t-8"
:
""
]},[
a
(
"el-upload"
,{
staticClass
:
"loader"
,
attrs
:{
disabled
:
t
.
disabled
,
multiple
:
""
,
accept
:
"image/jpg,image/jpeg,image/png,image/gif,image/bmp"
,
action
:
t
.
uploadUrl
(),
"list-type"
:
"picture-card"
,
limit
:
9
,
"on-exceed"
:
t
.
handleExceed
,
"on-change"
:
t
.
uploadOnChange
,
"before-upload"
:
t
.
beforeAvatarUpload
,
"on-error"
:
t
.
uploadOnError
,
"on-progress"
:
t
.
uploadOnProgress
}},[
a
(
"i"
,{
staticClass
:
"el-icon-plus gic-upload-btn"
})])],
1
):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
a
(
"el-dialog"
,{
attrs
:{
title
:
"图片预览"
,
visible
:
t
.
isEnlargeImage
,
"modal-append-to-body"
:
!
1
,
"before-close"
:
t
.
handleClose
,
width
:
"520px"
},
on
:{
"update:visible"
:
function
(
e
){
t
.
isEnlargeImage
=
e
}}},[
t
.
isEnlargeImage
?
a
(
"el-carousel"
,{
attrs
:{
trigger
:
"click"
,
"initial-index"
:
t
.
initialImg
,
autoplay
:
!
1
,
height
:
"500px"
}},
t
.
_l
(
t
.
imageList
,
function
(
e
,
i
){
return
a
(
"el-carousel-item"
,{
key
:
i
,
staticStyle
:{
display
:
"flex"
,
"align-items"
:
"center"
,
"justify-content"
:
"center"
}},[
a
(
"img"
,{
staticStyle
:{
"max-width"
:
"480px"
,
"max-height"
:
"500px"
},
attrs
:{
src
:
e
.
imgUrl
},
on
:{
click
:
function
(
e
){
t
.
isEnlargeImage
=!
1
}}})])})):
t
.
_e
()],
1
)],
1
)},
staticRenderFns
:[]};
var
I
=
a
(
"VU/8"
)(
h
,
v
,
!
1
,
function
(
t
){
a
(
"JHPS"
)},
null
,
null
).
exports
,
b
=
a
(
"P9l9"
),
S
=
a
(
"3E4D"
),
_
=
a
(
"Ch4/"
),
C
=
a
(
"PI0u"
),
L
=
{
name
:
"chat-log"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}},
activeGroupId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
components
:{
commonDetailTop
:
n
.
a
,
vueSelectStore
:
o
.
a
,
vueSelectEmployee
:
c
.
a
,
materialPreview
:
m
.
a
,
limitInput
:
u
.
a
,
limitTextarea
:
d
.
a
,
multUploadImage
:
I
},
data
:
function
(){
return
{
activeBrand
:
this
.
brandId
,
activeGroup
:
this
.
activeGroupId
,
activeId
:
"2"
,
topMenuData
:[{
id
:
"1"
,
name
:
"纷享素材"
,
path
:
"/enjoyMaterial?appIcon="
+
this
.
$route
.
query
.
appIcon
},{
id
:
"2"
,
name
:
this
.
$route
.
query
.
materialId
?
"查看素材"
:
"新建素材"
}],
searchInput
:
""
,
selectType
:
""
,
treeSet
:{
isSelectPerson
:
!
1
,
dialogVisible
:
!
1
,
isSingle
:
!
1
,
openNextBool
:
!
0
},
defaultSelection
:[],
changed
:
""
,
onlyPerson
:
!
1
,
appScene
:
2
,
defaultStoreList
:[],
storeTreeSet
:{
isSelectPerson
:
!
1
,
dialogVisible
:
!
1
,
isSingle
:
!
1
},
currentPage
:
1
,
pageSize
:
6
,
total
:
0
,
enterpriseId
:
JSON
.
parse
(
localStorage
.
getItem
(
"userInfo"
)).
enterpriseId
,
userId
:
JSON
.
parse
(
localStorage
.
getItem
(
"userInfo"
)).
userId
,
formData
:{
materialId
:
""
,
rangeList
:[],
imgUrlList
:[],
materialTitle
:
""
,
materialContent
:
""
,
topFlag
:
!
1
},
rules
:{
materialTitle
:[{
required
:
!
0
,
message
:
"请请输入素材标题"
,
trigger
:
"blur"
}],
materialContent
:[{
required
:
!
0
,
message
:
"请请输入发送内容"
,
trigger
:
"blur"
}],
rangeList
:[{
validator
:
function
(
t
,
e
,
a
){
if
(
""
==
e
||!
e
.
length
)
return
a
(
new
Error
(
"请选择选择行政架构或门店架构"
));
a
()},
trigger
:
"change"
}],
imgUrlList
:[{
required
:
!
0
,
validator
:
function
(
t
,
e
,
a
){
if
(
""
==
e
||!
e
.
length
)
return
a
(
new
Error
(
"请上传图片"
));
a
()},
trigger
:
"change"
}]},
previewVisible
:
!
1
,
materialPreviewData
:{}}},
methods
:{
uploadOnSuccess
:
function
(
t
){
this
.
formData
.
imgUrlList
=
t
,
console
.
log
(
"上传list:"
,
t
)},
deleteImage
:
function
(
t
){
this
.
formData
.
imgUrlList
.
splice
(
t
,
1
),
console
.
log
(
"删除list2:"
,
this
.
formData
.
imgUrlList
)},
sortImg
:
function
(
t
){
this
.
formData
.
imgUrlList
=
t
},
submitForm
:
function
(
t
,
e
){
var
a
=
this
;
a
.
formData
.
rangeList
=
[].
concat
(
s
()(
a
.
defaultStoreList
),
s
()(
a
.
defaultSelection
)),
a
.
$refs
[
t
].
validate
(
function
(
t
){
t
&&
a
.
postSaveCard
(
e
)})},
postSaveCard
:
function
(
t
){
var
e
=
this
,
a
=
[];
e
.
formData
.
rangeList
.
forEach
(
function
(
t
){
a
.
push
({
groupId
:
2
==
t
.
type
?
t
.
groupId
:
""
,
storeId
:
3
==
t
.
type
?
t
.
storeId
:
""
,
storeFlag
:
t
.
isStoreGroup
})});
var
i
=
{
enterpriseId
:
e
.
enterpriseId
,
imgListStr
:
r
()(
e
.
formData
.
imgUrlList
),
materialContent
:
e
.
formData
.
materialContent
,
materialTitle
:
e
.
formData
.
materialTitle
,
rangeListStr
:
r
()(
a
),
topFlag
:
e
.
formData
.
topFlag
?
1
:
0
,
relatedType
:
2
,
brandId
:
e
.
brandId
,
userId
:
e
.
userId
};
Object
(
b
.
e
)(
"/haoban-app-material-web/material-add"
,
i
).
then
(
function
(
a
){
var
i
=
a
.
data
;
1
==
i
.
errorCode
&&
(
S
.
a
.
showmsg
(
"新建成功"
,
"success"
),
t
?(
e
.
formData
=
{
materialId
:
""
,
imgUrlList
:[],
materialTitle
:
""
,
materialContent
:
""
,
topFlag
:
!
1
},
e
.
defaultStoreList
=
[],
e
.
defaultSelection
=
[]):
e
.
$router
.
push
(
"/enjoyMaterial?appIcon="
+
e
.
$route
.
query
.
appIcon
)),
_
.
a
.
errorMsg
(
i
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
previewData
:
function
(
t
){
var
e
=
this
;
e
.
formData
.
rangeList
=
[].
concat
(
s
()(
e
.
defaultStoreList
),
s
()(
e
.
defaultSelection
)),
e
.
$refs
[
t
].
validate
(
function
(
t
){
t
&&
(
e
.
materialPreviewData
=
e
.
formData
,
e
.
previewVisible
=!
0
)})},
toReturn
:
function
(){
this
.
$router
.
go
(
-
1
)},
changeId
:
function
(
t
,
e
){
this
.
formData
.
imageTextWechatId
=
""
,
this
.
formData
.
imageTextGicId
=
e
.
imageTextId
},
toInput
:
Object
(
C
.
a
)(
function
(
t
,
e
){
this
.
currentPage
=
1
,
this
.
getTableList
()},
200
),
clearInput
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
showDialogLayer
:
function
(
t
,
e
){
return
!
this
.
$route
.
query
.
materialId
&&
(
this
.
selectType
=
t
,
this
.
changed
=
t
,
"store"
===
t
?(
this
.
defaultStoreList
=
e
,
void
(
this
.
storeTreeSet
=
{
dialogVisible
:
!
0
,
isSingle
:
!
1
,
isSelectPerson
:
!
1
,
openNextBool
:
!
0
})):(
this
.
treeSet
=
{
dialogVisible
:
!
0
,
isSingle
:
!
1
,
isSelectPerson
:
!
1
,
openNextBool
:
!
0
},
void
(
this
.
defaultSelection
=
e
)))},
handleSelectedList
:
function
(
t
){
"store"
===
this
.
selectType
?
this
.
defaultStoreList
=
t
:
this
.
defaultSelection
=
t
},
delDepart
:
function
(
t
,
e
,
a
){
if
(
this
.
$route
.
query
.
materialId
)
return
!
1
;
e
.
splice
(
t
,
1
)},
getData
:
function
(){
var
t
=
this
,
e
=
{
materialId
:
t
.
$route
.
query
.
materialId
,
brandId
:
t
.
brandId
};
Object
(
b
.
a
)(
"/haoban-app-material-web/material-detail"
,
e
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
){
var
i
=
[],
r
=
[];
return
a
.
result
.
rangeVOList
&&
a
.
result
.
rangeVOList
.
forEach
(
function
(
t
){
t
.
groupId
=
2
==
t
.
type
?
t
.
id
:
""
,
t
.
storeId
=
3
==
t
.
type
?
t
.
id
:
""
,
t
.
isStoreGroup
=
t
.
storeFlag
,
1
==
t
.
storeFlag
?
i
.
push
(
t
):
r
.
push
(
t
)}),
t
.
formData
=
{
materialId
:
a
.
result
.
materialId
,
imageTextWechatId
:
a
.
result
.
imageTextWechatId
,
materialTitle
:
a
.
result
.
materialTitle
,
materialContent
:
a
.
result
.
materialContent
,
topFlag
:
1
==
a
.
result
.
topFlag
,
imgUrlList
:
a
.
result
.
imgList
,
rangeList
:
a
.
result
.
rangeVOList
,
createTime
:
a
.
result
.
createTime
},
t
.
defaultStoreList
=
i
||
[],
t
.
defaultSelection
=
r
||
[],
!
1
}
_
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
brandId
:
function
(
t
,
e
){
t
&&
(
this
.
activeBrand
=
t
,
this
.
$route
.
query
.
materialId
&&
this
.
getData
())},
activeGroupId
:
function
(
t
,
e
){
t
&&
(
this
.
activeGroup
=
t
)}},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
"2"
),
this
.
brandId
&&
this
.
$route
.
query
.
materialId
&&
this
.
getData
()}},
x
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"app-detail-wrap"
},[
a
(
"div"
,{
staticClass
:
"chat-log boder-box"
},[
a
(
"common-detail-top"
,{
attrs
:{
topMenuData
:
t
.
topMenuData
,
activeId
:
t
.
activeId
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"new-card-body"
},[
a
(
"el-form"
,{
ref
:
"ruleForm"
,
staticClass
:
"demo-ruleForm"
,
attrs
:{
model
:
t
.
formData
,
rules
:
t
.
rules
,
"label-width"
:
"120px"
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"发送内容标题:"
,
prop
:
"materialTitle"
}},[
a
(
"limitInput"
,{
attrs
:{
disflag
:
!!
t
.
$route
.
query
.
materialId
,
inputWidth
:
320
,
inputValue
:
t
.
formData
.
materialTitle
,
holder
:
"请输入素材标题"
,
getByType
:
"word"
,
maxLength
:
15
},
on
:{
"update:inputValue"
:
function
(
e
){
t
.
$set
(
t
.
formData
,
"materialTitle"
,
e
)}}})],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"发送内容:"
,
prop
:
"materialContent"
}},[
a
(
"limitTextarea"
,{
attrs
:{
disInput
:
!!
t
.
$route
.
query
.
materialId
,
inputWidth
:
320
,
inputValue
:
t
.
formData
.
materialContent
,
holder
:
"请输入素材内容"
,
maxLength
:
1500
},
on
:{
"update:inputValue"
:
function
(
e
){
t
.
$set
(
t
.
formData
,
"materialContent"
,
e
)}}})],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"图片上传:"
,
prop
:
"imgUrlList"
}},[
a
(
"mult-upload-image"
,{
attrs
:{
disabled
:
!!
t
.
$route
.
query
.
materialId
,
imageList
:
t
.
formData
.
imgUrlList
},
on
:{
deleteImage
:
t
.
deleteImage
,
uploadOnSuccess
:
t
.
uploadOnSuccess
,
sortImg
:
t
.
sortImg
}})],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
staticClass
:
"input-item is-required"
,
attrs
:{
label
:
"发送范围:"
,
prop
:
"rangeList"
}},[
a
(
"div"
,{
staticClass
:
"form-item-tip fonr-14 color-909399"
},[
t
.
_v
(
"下面两项可二选一,非全选。可选择行政架构或门店架构"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"flex"
},[
a
(
"div"
,{
staticClass
:
"flex-column item-cell-select inline-block "
},[
a
(
"div"
,{
staticClass
:
"depart-item-wrap"
},[
a
(
"div"
,{
staticClass
:
"el-select el-select--large depart-item-content"
,
staticStyle
:{
width
:
"240px"
},
on
:{
click
:
function
(
e
){
t
.
showDialogLayer
(
"depart"
,
t
.
defaultSelection
)}}},[
t
.
defaultSelection
.
length
?
t
.
_e
():
a
(
"span"
,{
staticClass
:
"font-14 color-c0c4cc p-l-10"
},[
t
.
_v
(
"请选择行政架构"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-select__tags"
},[
a
(
"span"
,[
t
.
_l
(
t
.
defaultSelection
,
function
(
e
,
i
){
return
[
a
(
"span"
,{
key
:
i
,
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
){
e
.
stopPropagation
(),
t
.
delDepart
(
i
,
t
.
defaultSelection
,
"depart"
)}}})])]})],
2
)])])])])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"flex m-t-20"
},[
a
(
"div"
,{
staticClass
:
"flex-column item-cell-select inline-block"
},[
a
(
"div"
,{
staticClass
:
"depart-item-wrap"
},[
a
(
"div"
,{
staticClass
:
"el-select el-select--large depart-item-content"
,
staticStyle
:{
width
:
"240px"
},
on
:{
click
:
function
(
e
){
t
.
showDialogLayer
(
"store"
,
t
.
defaultStoreList
)}}},[
t
.
defaultStoreList
.
length
?
t
.
_e
():
a
(
"span"
,{
staticClass
:
"font-14 color-c0c4cc p-l-10"
},[
t
.
_v
(
"请选择门店架构"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-select__tags"
},[
a
(
"span"
,[
t
.
_l
(
t
.
defaultStoreList
,
function
(
e
,
i
){
return
[
a
(
"span"
,{
key
:
i
,
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
){
e
.
stopPropagation
(),
t
.
delDepart
(
i
,
t
.
defaultStoreList
,
"store"
)}}})])]})],
2
)])])])])])]),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"更多设置:"
,
prop
:
""
}},[
a
(
"div"
,[
a
(
"el-checkbox"
,{
attrs
:{
disabled
:
!!
t
.
$route
.
query
.
materialId
},
model
:{
value
:
t
.
formData
.
topFlag
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formData
,
"topFlag"
,
e
)},
expression
:
"formData.topFlag"
}},[
t
.
_v
(
"置顶"
)])],
1
)]),
t
.
_v
(
" "
),
a
(
"el-form-item"
,[
a
(
"el-button"
,{
on
:{
click
:
t
.
toReturn
}},[
t
.
_v
(
"取消"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
e
){
t
.
previewData
(
"ruleForm"
)}}},[
t
.
_v
(
"预览"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
disabled
:
!!
t
.
$route
.
query
.
materialId
,
type
:
"primary"
},
on
:{
click
:
function
(
e
){
t
.
submitForm
(
"ruleForm"
)}}},[
t
.
_v
(
"发布"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
disabled
:
!!
t
.
$route
.
query
.
materialId
,
type
:
"primary"
},
on
:{
click
:
function
(
e
){
t
.
submitForm
(
"ruleForm"
,
"flag"
)}}},[
t
.
_v
(
"发布并添加下一个"
)])],
1
)],
1
)],
1
)],
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
:{
currentBrand
:
t
.
activeGroup
,
appScene
:
t
.
appScene
,
treeSet
:
t
.
storeTreeSet
,
selectType
:
"group-store"
,
defaultList
:
t
.
defaultStoreList
},
on
:{
handleSelectedList
:
t
.
handleSelectedList
}}),
t
.
_v
(
" "
),
a
(
"material-preview"
,{
ref
:
"materialPreview"
,
attrs
:{
materialPreviewData
:
t
.
materialPreviewData
},
model
:{
value
:
t
.
previewVisible
,
callback
:
function
(
e
){
t
.
previewVisible
=
e
},
expression
:
"previewVisible"
}})],
1
)},
staticRenderFns
:[]};
var
y
=
a
(
"VU/8"
)(
L
,
x
,
!
1
,
function
(
t
){
a
(
"kX2S"
)},
"data-v-2e61a38f"
,
null
);
e
.
default
=
y
.
exports
},
DCKm
:
function
(
t
,
e
){},
JHPS
:
function
(
t
,
e
){},
kX2S
:
function
(
t
,
e
){},
vRJf
:
function
(
t
,
e
,
a
){
"use strict"
;
var
i
=
a
(
"mvHQ"
),
r
=
a
.
n
(
i
),
l
=
{
name
:
"material-preview"
,
props
:{
value
:{
type
:
Boolean
,
default
:
function
(){
return
!
1
}},
materialPreviewData
:{
type
:
Object
,
default
:
function
(){
return
{
materialId
:
""
,
imageTextWechatId
:
""
,
imageTextGicId
:
""
,
titleName
:
""
,
imageUrl
:
""
,
rangeList
:[],
imgUrlList
:[],
materialTitle
:
""
,
materialContent
:
""
,
topFlag
:
!
1
}}}},
directives
:{
htmlContent
:{
bind
:
function
(
t
,
e
){
t
.
innerHTML
=
e
.
value
},
update
:
function
(
t
,
e
){
t
.
innerHTML
=
e
.
value
}}},
data
:
function
(){
return
{
materialData
:{
materialId
:
""
,
imageTextWechatId
:
""
,
imageTextGicId
:
""
,
rangeList
:[],
imgUrlList
:[],
materialTitle
:
""
,
materialContent
:
""
,
topFlag
:
!
1
}}},
methods
:{
closeDialog
:
function
(){
this
.
$emit
(
"input"
,
!
1
)}},
watch
:{
materialPreviewData
:
function
(
t
,
e
){
this
.
materialData
=
JSON
.
parse
(
r
()(
t
))}},
mounted
:
function
(){
this
.
materialData
=
JSON
.
parse
(
r
()(
this
.
materialPreviewData
))}},
s
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
directives
:[{
name
:
"show"
,
rawName
:
"v-show"
,
value
:
t
.
value
,
expression
:
"value"
}],
staticClass
:
"qr-dialog-content"
,
staticStyle
:{
opacity
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"qr-mask"
,
on
:{
click
:
function
(
e
){
return
e
.
stopPropagation
(),
t
.
closeDialog
(
e
)}}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"qr-dialog border-box"
},[
a
(
"div"
,{
staticClass
:
"qr-dialog-body border-box"
},[
a
(
"h2"
,{
staticClass
:
"font-20 color-222 text-left main-title"
},[
t
.
_v
(
t
.
_s
(
t
.
materialData
.
materialTitle
))]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"notice-date m-t-10 flex flex-space-between"
},[
a
(
"div"
,{
staticClass
:
"notice-date-left font-10 color-88949C"
},[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"timeStampToYmd"
)(
t
.
materialData
.
materialId
?
t
.
materialData
.
createTime
:(
new
Date
).
getTime
())))]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"notice-date-right font-10 color-4d7fd0"
})]),
t
.
_v
(
" "
),
a
(
"div"
,{
directives
:[{
name
:
"htmlContent"
,
rawName
:
"v-htmlContent"
,
value
:
t
.
materialData
.
materialContent
,
expression
:
"materialData.materialContent"
}],
staticClass
:
"notice-body border-box font-14 color-222"
}),
t
.
_v
(
" "
),
t
.
materialData
.
imgUrlList
&&
t
.
materialData
.
imgUrlList
.
length
?
a
(
"div"
,{
staticClass
:
"img-list-wrap"
},[
a
(
"ul"
,{
staticClass
:
"flex flex-wrap"
},
t
.
_l
(
t
.
materialData
.
imgUrlList
,
function
(
t
,
e
){
return
a
(
"li"
,{
key
:
e
+
"img"
,
staticClass
:
"border-box flex flex-align-center flex-pack-center"
},[
a
(
"img"
,{
attrs
:{
src
:
t
.
imgUrl
,
alt
:
""
}})])}))]):
t
.
_e
(),
t
.
_v
(
" "
),
t
.
materialData
.
imageTextWechatId
?
a
(
"div"
,{
staticClass
:
"image-text-link"
},[
a
(
"div"
,{
staticClass
:
"flex"
},[
a
(
"div"
,{
staticClass
:
"flex-left-img flex flex-align-center flex-pack-center"
},[
a
(
"img"
,{
attrs
:{
src
:
t
.
materialData
.
imageUrl
,
alt
:
""
}})]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"flex-right-title border-box"
},[
a
(
"div"
,{
staticClass
:
"title-content font-14 color-606266"
},[
t
.
_v
(
t
.
_s
(
t
.
materialData
.
titleName
))])])])]):
t
.
_e
()])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"qr-dialog__hd"
},[
a
(
"i"
,{
staticClass
:
"el-icon-plus"
,
on
:{
click
:
function
(
e
){
return
e
.
stopPropagation
(),
t
.
closeDialog
(
e
)}}})])])},
staticRenderFns
:[]};
var
n
=
a
(
"VU/8"
)(
l
,
s
,
!
1
,
function
(
t
){
a
(
"DCKm"
)},
"data-v-1f32a518"
,
null
);
e
.
a
=
n
.
exports
}});
webpackJsonp
([
17
],{
"7fkC"
:
function
(
t
,
e
,
a
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
});
var
i
=
a
(
"mvHQ"
),
r
=
a
.
n
(
i
),
l
=
a
(
"Gu7T"
),
s
=
a
.
n
(
l
),
n
=
a
(
"Ke24"
),
o
=
a
(
"Ie7z"
),
c
=
a
(
"c4uw"
),
m
=
a
(
"vRJf"
),
u
=
a
(
"l46T"
),
d
=
a
(
"Kkt8"
),
g
=
a
(
"//Fk"
),
p
=
a
.
n
(
g
),
f
=
a
(
"DAYN"
),
h
=
{
name
:
"mult-upload-image"
,
props
:{
projectName
:{
type
:
String
,
default
:
"haoban-manage-web"
},
disabled
:{
type
:
Boolean
,
default
:
!
1
},
wxFlag
:{
type
:
String
,
default
:
"1"
},
imgRate
:{
type
:
String
},
actionUrl
:{
type
:
String
,
default
:
"/haoban-manage-web/upload-img"
},
maxImageLength
:{
type
:
Number
,
default
:
9
},
limitW
:{
type
:
Number
},
limitH
:{
type
:
Number
},
imageList
:{
type
:
Array
,
default
:
function
(){
return
[]}}},
data
:
function
(){
return
{
dragImageList
:
JSON
.
parse
(
r
()(
this
.
imageList
)),
fileDatas
:[],
initialImg
:
0
,
progress
:
0
,
pass
:
null
,
isEnlargeImage
:
!
1
,
enlargeImage
:
""
}},
computed
:{
propStatus
:
function
(){
return
this
.
pass
?
"success"
:
!
1
===
this
.
pass
?
"exception"
:
"text"
}},
beforeMount
:
function
(){},
methods
:{
uploadUrl
:
function
(){
var
t
,
e
=
window
.
location
.
origin
,
a
=
void
0
;
return
t
=
this
.
wxFlag
&&
""
!=
this
.
wxFlag
?
"wxFlag="
+
this
.
wxFlag
+
"&"
:
""
,
a
=
"-1"
!=
e
.
indexOf
(
"localhost"
)?
"https://www.gicdev.com"
:
e
,
this
.
upUrl
=
a
+
this
.
actionUrl
+
"?"
+
t
+
"requestProject="
+
this
.
projectName
,
this
.
upUrl
},
beforeAvatarUpload
:
function
(
t
){
var
e
=
this
,
a
=
t
.
size
/
1024
/
1024
<
5
;
return
a
||
e
.
$message
.
error
(
"上传图片大小不能超过 5MB!"
),
a
&&
new
p
.
a
(
function
(
a
,
i
){
var
r
=
new
FileReader
;
r
.
onload
=
function
(
t
){
var
r
=
new
Image
;
r
.
onload
=
function
(){
var
t
=
this
.
width
,
r
=
this
.
height
;
e
.
imgRate
&&
""
!==
e
.
imgRate
&&
(
Number
(
e
.
imgRate
.
split
(
":"
)[
0
])
/
Number
(
e
.
imgRate
.
split
(
":"
)[
1
])
!=
Number
(
t
)
/
Number
(
r
)
&&
(
e
.
$message
.
error
(
"上传图片比例不正确!"
),
i
()));
e
.
imgRate
&&
""
!=
e
.
imgRate
||!
e
.
limitW
||!
e
.
limitH
||
t
===
e
.
limitW
||
r
===
e
.
limitH
||
(
e
.
$message
.
error
(
"上传图片尺寸不正确!"
),
i
()),
a
()},
r
.
src
=
t
.
target
.
result
},
r
.
readAsDataURL
(
t
)})},
uploadOnProgress
:
function
(
t
,
e
){
t
&&
t
.
percent
&&
(
this
.
progress
=
Math
.
floor
(
t
.
percent
))},
uploadOnChange
:
function
(
t
,
e
){
var
a
=
this
;
"ready"
===
t
.
status
?(
a
.
pass
=
null
,
a
.
progress
=
0
):
"fail"
===
t
.
status
&&
a
.
$message
.
error
(
"图片上传失败,请重试!"
),
a
.
fileDatas
=
e
,
console
.
log
(
"fileList:"
,
e
,
a
.
fileDatas
),
a
.
$nextTick
(
function
(){
var
t
=
[];
e
.
length
&&
e
.
forEach
(
function
(
e
){
t
.
push
({
imgUrl
:
e
.
response
.
result
[
0
].
qcloudImageUrl
})}),
a
.
$emit
(
"uploadOnSuccess"
,
t
),
a
.
pass
=
null
,
a
.
progress
=
0
})},
handleExceed
:
function
(
t
,
e
){
this
.
$message
.
warning
(
"当前限制选择 9 个文件,本次选择了 "
+
t
.
length
+
" 个文件,共选择了 "
+
(
t
.
length
+
e
.
length
)
+
" 个文件"
)},
uploadOnError
:
function
(){
this
.
$message
.
error
(
"图片上传失败,请重试!"
)},
previewImage
:
function
(
t
){
this
.
isEnlargeImage
=!
0
,
this
.
initialImg
=
t
},
deleteImage
:
function
(
t
){
this
.
$emit
(
"deleteImage"
,
t
)},
handleClose
:
function
(
t
){
t
()},
itemMoveEnd
:
function
(
t
){
this
.
$emit
(
"sortImg"
,
this
.
dragImageList
)}},
watch
:{
imageList
:
function
(
t
,
e
){
this
.
dragImageList
=
JSON
.
parse
(
r
()(
t
))}},
mounted
:
function
(){
this
.
dragImageList
=
JSON
.
parse
(
r
()(
this
.
imageList
))},
components
:{
draggable
:
a
.
n
(
f
).
a
}},
v
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"gic-upload__img"
},[
a
(
"div"
,{
staticClass
:
"gic-upload__img__drag"
},[
a
(
"draggable"
,{
staticClass
:
"drag-wrap"
,
staticStyle
:{
display
:
"contents"
},
attrs
:{
options
:{
group
:{
name
:
"people"
,
pull
:
!
1
,
put
:
!
0
},
sort
:
!
0
}},
on
:{
end
:
t
.
itemMoveEnd
},
model
:{
value
:
t
.
dragImageList
,
callback
:
function
(
e
){
t
.
dragImageList
=
e
},
expression
:
"dragImageList"
}},[
a
(
"transition-group"
,{
attrs
:{
name
:
"slide-fade"
}},
t
.
_l
(
t
.
imageList
,
function
(
e
,
i
){
return
a
(
"div"
,{
key
:
i
,
class
:[
"img-content"
,
i
>=
6
?
"m-t-8"
:
""
]},[
a
(
"a"
,{
staticClass
:
"item-img"
,
attrs
:{
href
:
e
.
imgUrl
}},[
a
(
"img"
,{
attrs
:{
src
:
e
.
imgUrl
,
alt
:
"上传图片"
}})]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"upload-icon__btn"
},[
a
(
"i"
,{
staticClass
:
"el-icon-view"
,
on
:{
click
:
function
(
e
){
t
.
previewImage
(
i
)}}}),
t
.
_v
(
" "
),
a
(
"i"
,{
staticClass
:
"el-icon-delete"
,
on
:{
click
:
function
(
e
){
t
.
deleteImage
(
i
)}}})])])}))],
1
),
t
.
_v
(
" "
),
t
.
pass
||
0
===
t
.
progress
?
t
.
_e
():
a
(
"div"
,{
class
:[
"img-content"
,
"img-progress"
,
t
.
imageList
.
length
>=
6
?
"m-t-8"
:
""
]},[
a
(
"el-progress"
,{
staticClass
:
"gic-img-progress"
,
staticStyle
:{
"line-height"
:
"102px"
},
attrs
:{
width
:
102
,
percentage
:
t
.
progress
,
status
:
t
.
propStatus
}})],
1
),
t
.
_v
(
" "
),
t
.
imageList
&&
t
.
imageList
.
length
<
t
.
maxImageLength
?
a
(
"div"
,{
class
:[
"img-upload"
,
t
.
imageList
.
length
>=
6
?
"m-t-8"
:
""
]},[
a
(
"el-upload"
,{
staticClass
:
"loader"
,
attrs
:{
disabled
:
t
.
disabled
,
multiple
:
""
,
accept
:
"image/jpg,image/jpeg,image/png,image/gif,image/bmp"
,
action
:
t
.
uploadUrl
(),
"list-type"
:
"picture-card"
,
limit
:
9
,
"on-exceed"
:
t
.
handleExceed
,
"on-change"
:
t
.
uploadOnChange
,
"before-upload"
:
t
.
beforeAvatarUpload
,
"on-error"
:
t
.
uploadOnError
,
"on-progress"
:
t
.
uploadOnProgress
}},[
a
(
"i"
,{
staticClass
:
"el-icon-plus gic-upload-btn"
})])],
1
):
t
.
_e
()],
1
),
t
.
_v
(
" "
),
a
(
"el-dialog"
,{
attrs
:{
title
:
"图片预览"
,
visible
:
t
.
isEnlargeImage
,
"modal-append-to-body"
:
!
1
,
"before-close"
:
t
.
handleClose
,
width
:
"520px"
},
on
:{
"update:visible"
:
function
(
e
){
t
.
isEnlargeImage
=
e
}}},[
t
.
isEnlargeImage
?
a
(
"el-carousel"
,{
attrs
:{
trigger
:
"click"
,
"initial-index"
:
t
.
initialImg
,
autoplay
:
!
1
,
height
:
"500px"
}},
t
.
_l
(
t
.
imageList
,
function
(
e
,
i
){
return
a
(
"el-carousel-item"
,{
key
:
i
,
staticStyle
:{
display
:
"flex"
,
"align-items"
:
"center"
,
"justify-content"
:
"center"
}},[
a
(
"img"
,{
staticStyle
:{
"max-width"
:
"480px"
,
"max-height"
:
"500px"
},
attrs
:{
src
:
e
.
imgUrl
},
on
:{
click
:
function
(
e
){
t
.
isEnlargeImage
=!
1
}}})])})):
t
.
_e
()],
1
)],
1
)},
staticRenderFns
:[]};
var
I
=
a
(
"VU/8"
)(
h
,
v
,
!
1
,
function
(
t
){
a
(
"JHPS"
)},
null
,
null
).
exports
,
b
=
a
(
"P9l9"
),
S
=
a
(
"3E4D"
),
_
=
a
(
"Ch4/"
),
C
=
a
(
"PI0u"
),
y
=
{
name
:
"chat-log"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}},
activeGroupId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
components
:{
commonDetailTop
:
n
.
a
,
vueSelectStore
:
o
.
a
,
vueSelectEmployee
:
c
.
a
,
materialPreview
:
m
.
a
,
limitInput
:
u
.
a
,
limitTextarea
:
d
.
a
,
multUploadImage
:
I
},
data
:
function
(){
return
{
activeBrand
:
this
.
brandId
,
activeGroup
:
this
.
activeGroupId
,
activeId
:
"2"
,
topMenuData
:[{
id
:
"1"
,
name
:
"纷享素材"
,
path
:
"/enjoyMaterial?appIcon="
+
this
.
$route
.
query
.
appIcon
},{
id
:
"2"
,
name
:
this
.
$route
.
query
.
materialId
?
"查看素材"
:
"新建素材"
}],
searchInput
:
""
,
selectType
:
""
,
treeSet
:{
isSelectPerson
:
!
1
,
dialogVisible
:
!
1
,
isSingle
:
!
1
,
openNextBool
:
!
0
},
defaultSelection
:[],
changed
:
""
,
onlyPerson
:
!
1
,
appScene
:
2
,
defaultStoreList
:[],
storeTreeSet
:{
isSelectPerson
:
!
1
,
dialogVisible
:
!
1
,
isSingle
:
!
1
},
currentPage
:
1
,
pageSize
:
6
,
total
:
0
,
enterpriseId
:
JSON
.
parse
(
localStorage
.
getItem
(
"userInfo"
)).
enterpriseId
,
userId
:
JSON
.
parse
(
localStorage
.
getItem
(
"userInfo"
)).
userId
,
formData
:{
materialId
:
""
,
rangeList
:[],
imgUrlList
:[],
materialTitle
:
""
,
materialContent
:
""
,
topFlag
:
!
1
},
rules
:{
materialTitle
:[{
required
:
!
0
,
message
:
"请请输入素材标题"
,
trigger
:
"blur"
}],
materialContent
:[{
required
:
!
0
,
message
:
"请请输入发送内容"
,
trigger
:
"blur"
}],
rangeList
:[{
validator
:
function
(
t
,
e
,
a
){
if
(
""
==
e
||!
e
.
length
)
return
a
(
new
Error
(
"请选择选择行政架构或门店架构"
));
a
()},
trigger
:
"change"
}],
imgUrlList
:[{
required
:
!
0
,
validator
:
function
(
t
,
e
,
a
){
if
(
""
==
e
||!
e
.
length
)
return
a
(
new
Error
(
"请上传图片"
));
a
()},
trigger
:
"change"
}]},
previewVisible
:
!
1
,
materialPreviewData
:{}}},
methods
:{
uploadOnSuccess
:
function
(
t
){
this
.
formData
.
imgUrlList
=
t
,
console
.
log
(
"上传list:"
,
t
)},
deleteImage
:
function
(
t
){
this
.
formData
.
imgUrlList
.
splice
(
t
,
1
),
console
.
log
(
"删除list2:"
,
this
.
formData
.
imgUrlList
)},
sortImg
:
function
(
t
){
this
.
formData
.
imgUrlList
=
t
},
submitForm
:
function
(
t
,
e
){
var
a
=
this
;
a
.
formData
.
rangeList
=
[].
concat
(
s
()(
a
.
defaultStoreList
),
s
()(
a
.
defaultSelection
)),
a
.
$refs
[
t
].
validate
(
function
(
t
){
t
&&
a
.
postSaveCard
(
e
)})},
postSaveCard
:
function
(
t
){
var
e
=
this
,
a
=
[];
e
.
formData
.
rangeList
.
forEach
(
function
(
t
){
a
.
push
({
groupId
:
2
==
t
.
type
?
t
.
groupId
:
""
,
storeId
:
3
==
t
.
type
?
t
.
storeId
:
""
,
storeFlag
:
t
.
isStoreGroup
})});
var
i
=
{
enterpriseId
:
e
.
enterpriseId
,
imgListStr
:
r
()(
e
.
formData
.
imgUrlList
),
materialContent
:
e
.
formData
.
materialContent
,
materialTitle
:
e
.
formData
.
materialTitle
,
rangeListStr
:
r
()(
a
),
topFlag
:
e
.
formData
.
topFlag
?
1
:
0
,
relatedType
:
2
,
brandId
:
e
.
brandId
,
userId
:
e
.
userId
};
Object
(
b
.
e
)(
"/haoban-app-material-web/material-add"
,
i
).
then
(
function
(
a
){
var
i
=
a
.
data
;
1
==
i
.
errorCode
&&
(
S
.
a
.
showmsg
(
"新建成功"
,
"success"
),
t
?(
e
.
formData
=
{
materialId
:
""
,
imgUrlList
:[],
materialTitle
:
""
,
materialContent
:
""
,
topFlag
:
!
1
},
e
.
defaultStoreList
=
[],
e
.
defaultSelection
=
[]):
e
.
$router
.
push
(
"/enjoyMaterial?appIcon="
+
e
.
$route
.
query
.
appIcon
)),
_
.
a
.
errorMsg
(
i
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
previewData
:
function
(
t
){
var
e
=
this
;
e
.
formData
.
rangeList
=
[].
concat
(
s
()(
e
.
defaultStoreList
),
s
()(
e
.
defaultSelection
)),
e
.
$refs
[
t
].
validate
(
function
(
t
){
t
&&
(
console
.
log
(
e
.
formData
),
e
.
materialPreviewData
=
e
.
formData
,
e
.
previewVisible
=!
0
)})},
closePre
:
function
(){
this
.
materialPreviewData
=
{}},
toReturn
:
function
(){
this
.
$router
.
go
(
-
1
)},
changeId
:
function
(
t
,
e
){
this
.
formData
.
imageTextWechatId
=
""
,
this
.
formData
.
imageTextGicId
=
e
.
imageTextId
},
toInput
:
Object
(
C
.
a
)(
function
(
t
,
e
){
this
.
currentPage
=
1
,
this
.
getTableList
()},
200
),
clearInput
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
showDialogLayer
:
function
(
t
,
e
){
return
!
this
.
$route
.
query
.
materialId
&&
(
this
.
selectType
=
t
,
this
.
changed
=
t
,
"store"
===
t
?(
this
.
defaultStoreList
=
e
,
void
(
this
.
storeTreeSet
=
{
dialogVisible
:
!
0
,
isSingle
:
!
1
,
isSelectPerson
:
!
1
,
openNextBool
:
!
0
})):(
this
.
treeSet
=
{
dialogVisible
:
!
0
,
isSingle
:
!
1
,
isSelectPerson
:
!
1
,
openNextBool
:
!
0
},
void
(
this
.
defaultSelection
=
e
)))},
handleSelectedList
:
function
(
t
){
"store"
===
this
.
selectType
?
this
.
defaultStoreList
=
t
:
this
.
defaultSelection
=
t
},
delDepart
:
function
(
t
,
e
,
a
){
if
(
this
.
$route
.
query
.
materialId
)
return
!
1
;
e
.
splice
(
t
,
1
)},
getData
:
function
(){
var
t
=
this
,
e
=
{
materialId
:
t
.
$route
.
query
.
materialId
,
brandId
:
t
.
brandId
};
Object
(
b
.
a
)(
"/haoban-app-material-web/material-detail"
,
e
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
){
var
i
=
[],
r
=
[];
return
a
.
result
.
rangeVOList
&&
a
.
result
.
rangeVOList
.
forEach
(
function
(
t
){
t
.
groupId
=
2
==
t
.
type
?
t
.
id
:
""
,
t
.
storeId
=
3
==
t
.
type
?
t
.
id
:
""
,
t
.
isStoreGroup
=
t
.
storeFlag
,
1
==
t
.
storeFlag
?
i
.
push
(
t
):
r
.
push
(
t
)}),
t
.
formData
=
{
materialId
:
a
.
result
.
materialId
,
imageTextWechatId
:
a
.
result
.
imageTextWechatId
,
materialTitle
:
a
.
result
.
materialTitle
,
materialContent
:
a
.
result
.
materialContent
,
topFlag
:
1
==
a
.
result
.
topFlag
,
imgUrlList
:
a
.
result
.
imgList
,
rangeList
:
a
.
result
.
rangeVOList
,
createTime
:
a
.
result
.
createTime
},
t
.
defaultStoreList
=
i
||
[],
t
.
defaultSelection
=
r
||
[],
!
1
}
_
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
brandId
:
function
(
t
,
e
){
t
&&
(
this
.
activeBrand
=
t
,
this
.
$route
.
query
.
materialId
&&
this
.
getData
())},
activeGroupId
:
function
(
t
,
e
){
t
&&
(
this
.
activeGroup
=
t
)}},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
"2"
),
this
.
brandId
&&
this
.
$route
.
query
.
materialId
&&
this
.
getData
()}},
L
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
a
(
"div"
,{
staticClass
:
"app-detail-wrap"
},[
a
(
"div"
,{
staticClass
:
"chat-log boder-box"
},[
a
(
"common-detail-top"
,{
attrs
:{
topMenuData
:
t
.
topMenuData
,
activeId
:
t
.
activeId
}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"new-card-body"
},[
a
(
"el-form"
,{
ref
:
"ruleForm"
,
staticClass
:
"demo-ruleForm"
,
attrs
:{
model
:
t
.
formData
,
rules
:
t
.
rules
,
"label-width"
:
"120px"
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"发送内容标题:"
,
prop
:
"materialTitle"
}},[
a
(
"limitInput"
,{
attrs
:{
disflag
:
!!
t
.
$route
.
query
.
materialId
,
inputWidth
:
320
,
inputValue
:
t
.
formData
.
materialTitle
,
holder
:
"请输入素材标题"
,
getByType
:
"word"
,
maxLength
:
15
},
on
:{
"update:inputValue"
:
function
(
e
){
t
.
$set
(
t
.
formData
,
"materialTitle"
,
e
)}}})],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"发送内容:"
,
prop
:
"materialContent"
}},[
a
(
"limitTextarea"
,{
attrs
:{
disInput
:
!!
t
.
$route
.
query
.
materialId
,
inputWidth
:
320
,
inputValue
:
t
.
formData
.
materialContent
,
holder
:
"请输入素材内容"
,
maxLength
:
1500
},
on
:{
"update:inputValue"
:
function
(
e
){
t
.
$set
(
t
.
formData
,
"materialContent"
,
e
)}}})],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"图片上传:"
,
prop
:
"imgUrlList"
}},[
a
(
"mult-upload-image"
,{
attrs
:{
disabled
:
!!
t
.
$route
.
query
.
materialId
,
imageList
:
t
.
formData
.
imgUrlList
},
on
:{
deleteImage
:
t
.
deleteImage
,
uploadOnSuccess
:
t
.
uploadOnSuccess
,
sortImg
:
t
.
sortImg
}})],
1
),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
staticClass
:
"input-item is-required"
,
attrs
:{
label
:
"发送范围:"
,
prop
:
"rangeList"
}},[
a
(
"div"
,{
staticClass
:
"form-item-tip fonr-14 color-909399"
},[
t
.
_v
(
"下面两项可二选一,非全选。可选择行政架构或门店架构"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"flex"
},[
a
(
"div"
,{
staticClass
:
"flex-column item-cell-select inline-block "
},[
a
(
"div"
,{
staticClass
:
"depart-item-wrap"
},[
a
(
"div"
,{
staticClass
:
"el-select el-select--large depart-item-content"
,
staticStyle
:{
width
:
"240px"
},
on
:{
click
:
function
(
e
){
t
.
showDialogLayer
(
"depart"
,
t
.
defaultSelection
)}}},[
t
.
defaultSelection
.
length
?
t
.
_e
():
a
(
"span"
,{
staticClass
:
"font-14 color-c0c4cc p-l-10"
},[
t
.
_v
(
"请选择行政架构"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-select__tags"
},[
a
(
"span"
,[
t
.
_l
(
t
.
defaultSelection
,
function
(
e
,
i
){
return
[
a
(
"span"
,{
key
:
i
,
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
){
e
.
stopPropagation
(),
t
.
delDepart
(
i
,
t
.
defaultSelection
,
"depart"
)}}})])]})],
2
)])])])])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"flex m-t-20"
},[
a
(
"div"
,{
staticClass
:
"flex-column item-cell-select inline-block"
},[
a
(
"div"
,{
staticClass
:
"depart-item-wrap"
},[
a
(
"div"
,{
staticClass
:
"el-select el-select--large depart-item-content"
,
staticStyle
:{
width
:
"240px"
},
on
:{
click
:
function
(
e
){
t
.
showDialogLayer
(
"store"
,
t
.
defaultStoreList
)}}},[
t
.
defaultStoreList
.
length
?
t
.
_e
():
a
(
"span"
,{
staticClass
:
"font-14 color-c0c4cc p-l-10"
},[
t
.
_v
(
"请选择门店架构"
)]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-select__tags"
},[
a
(
"span"
,[
t
.
_l
(
t
.
defaultStoreList
,
function
(
e
,
i
){
return
[
a
(
"span"
,{
key
:
i
,
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
){
e
.
stopPropagation
(),
t
.
delDepart
(
i
,
t
.
defaultStoreList
,
"store"
)}}})])]})],
2
)])])])])])]),
t
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"更多设置:"
,
prop
:
""
}},[
a
(
"div"
,[
a
(
"el-checkbox"
,{
attrs
:{
disabled
:
!!
t
.
$route
.
query
.
materialId
},
model
:{
value
:
t
.
formData
.
topFlag
,
callback
:
function
(
e
){
t
.
$set
(
t
.
formData
,
"topFlag"
,
e
)},
expression
:
"formData.topFlag"
}},[
t
.
_v
(
"置顶"
)])],
1
)]),
t
.
_v
(
" "
),
a
(
"el-form-item"
,[
a
(
"el-button"
,{
on
:{
click
:
t
.
toReturn
}},[
t
.
_v
(
"取消"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
e
){
t
.
previewData
(
"ruleForm"
)}}},[
t
.
_v
(
"预览"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
disabled
:
!!
t
.
$route
.
query
.
materialId
,
type
:
"primary"
},
on
:{
click
:
function
(
e
){
t
.
submitForm
(
"ruleForm"
)}}},[
t
.
_v
(
"发布"
)]),
t
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
disabled
:
!!
t
.
$route
.
query
.
materialId
,
type
:
"primary"
},
on
:{
click
:
function
(
e
){
t
.
submitForm
(
"ruleForm"
,
"flag"
)}}},[
t
.
_v
(
"发布并添加下一个"
)])],
1
)],
1
)],
1
)],
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
:{
currentBrand
:
t
.
activeGroup
,
appScene
:
t
.
appScene
,
treeSet
:
t
.
storeTreeSet
,
selectType
:
"group-store"
,
defaultList
:
t
.
defaultStoreList
},
on
:{
handleSelectedList
:
t
.
handleSelectedList
}}),
t
.
_v
(
" "
),
a
(
"material-preview"
,{
ref
:
"materialPreview"
,
attrs
:{
materialPreviewData
:
t
.
materialPreviewData
},
model
:{
value
:
t
.
previewVisible
,
callback
:
function
(
e
){
t
.
previewVisible
=
e
},
expression
:
"previewVisible"
}})],
1
)},
staticRenderFns
:[]};
var
x
=
a
(
"VU/8"
)(
y
,
L
,
!
1
,
function
(
t
){
a
(
"HfSg"
)},
"data-v-78210d1a"
,
null
);
e
.
default
=
x
.
exports
},
HfSg
:
function
(
t
,
e
){},
JHPS
:
function
(
t
,
e
){},
NoP7
:
function
(
t
,
e
){},
vRJf
:
function
(
t
,
e
,
a
){
"use strict"
;
var
i
=
a
(
"mvHQ"
),
r
=
a
.
n
(
i
),
l
=
{
name
:
"material-preview"
,
props
:{
value
:{
type
:
Boolean
,
default
:
function
(){
return
!
1
}},
materialPreviewData
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
{
materialId
:
""
,
imageTextWechatId
:
""
,
imageTextGicId
:
""
,
titleName
:
""
,
imageUrl
:
""
,
rangeList
:[],
imgUrlList
:[],
materialTitle
:
""
,
materialContent
:
""
,
topFlag
:
!
1
}}}},
directives
:{
htmlContent
:{
bind
:
function
(
t
,
e
){
t
.
innerHTML
=
e
.
value
},
update
:
function
(
t
,
e
){
t
.
innerHTML
=
e
.
value
}}},
data
:
function
(){
return
{
materialData
:{
materialId
:
""
,
imageTextWechatId
:
""
,
imageTextGicId
:
""
,
rangeList
:[],
imgUrlList
:[],
materialTitle
:
""
,
materialContent
:
""
,
topFlag
:
!
1
}}},
methods
:{
closeDialog
:
function
(){
this
.
$emit
(
"input"
,
!
1
),
this
.
$emit
(
"closePre"
)}},
watch
:{
value
:
function
(
t
,
e
){
this
.
materialData
=
JSON
.
parse
(
r
()(
this
.
materialPreviewData
))},
materialPreviewData
:
function
(
t
,
e
){
this
.
materialData
=
JSON
.
parse
(
r
()(
t
))}},
mounted
:
function
(){
this
.
materialData
=
JSON
.
parse
(
r
()(
this
.
materialPreviewData
))}},
s
=
{
render
:
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
a
=
t
.
_self
.
_c
||
e
;
return
t
.
value
?
a
(
"div"
,{
staticClass
:
"qr-dialog-content"
,
staticStyle
:{
opacity
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"qr-mask"
,
on
:{
click
:
function
(
e
){
return
e
.
stopPropagation
(),
t
.
closeDialog
(
e
)}}}),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"qr-dialog border-box"
},[
a
(
"div"
,{
staticClass
:
"qr-dialog-body border-box"
},[
a
(
"h2"
,{
staticClass
:
"font-20 color-222 text-left main-title"
},[
t
.
_v
(
t
.
_s
(
t
.
materialData
.
materialTitle
))]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"notice-date m-t-10 flex flex-space-between"
},[
a
(
"div"
,{
staticClass
:
"notice-date-left font-10 color-88949C"
},[
t
.
_v
(
t
.
_s
(
t
.
_f
(
"timeStampToYmd"
)(
t
.
materialData
.
materialId
?
t
.
materialData
.
createTime
:(
new
Date
).
getTime
())))]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"notice-date-right font-10 color-4d7fd0"
})]),
t
.
_v
(
" "
),
a
(
"div"
,{
directives
:[{
name
:
"htmlContent"
,
rawName
:
"v-htmlContent"
,
value
:
t
.
materialData
.
materialContent
,
expression
:
"materialData.materialContent"
}],
staticClass
:
"notice-body border-box font-14 color-222"
}),
t
.
_v
(
" "
),
t
.
materialData
.
imgUrlList
&&
t
.
materialData
.
imgUrlList
.
length
?
a
(
"div"
,{
staticClass
:
"img-list-wrap"
},[
a
(
"ul"
,{
staticClass
:
"flex flex-wrap"
},
t
.
_l
(
t
.
materialData
.
imgUrlList
,
function
(
t
,
e
){
return
a
(
"li"
,{
key
:
e
+
"img"
,
staticClass
:
"border-box flex flex-align-center flex-pack-center"
},[
a
(
"img"
,{
attrs
:{
src
:
t
.
imgUrl
,
alt
:
""
}})])}))]):
t
.
_e
(),
t
.
_v
(
" "
),
t
.
materialData
.
imageTextWechatId
?
a
(
"div"
,{
staticClass
:
"image-text-link"
},[
a
(
"div"
,{
staticClass
:
"flex"
},[
a
(
"div"
,{
staticClass
:
"flex-left-img flex flex-align-center flex-pack-center"
},[
a
(
"img"
,{
attrs
:{
src
:
t
.
materialData
.
imageUrl
,
alt
:
""
}})]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"flex-right-title border-box"
},[
a
(
"div"
,{
staticClass
:
"title-content font-14 color-606266"
},[
t
.
_v
(
t
.
_s
(
t
.
materialData
.
titleName
))])])])]):
t
.
_e
()])]),
t
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"qr-dialog__hd"
},[
a
(
"i"
,{
staticClass
:
"el-icon-plus"
,
on
:{
click
:
function
(
e
){
return
e
.
stopPropagation
(),
t
.
closeDialog
(
e
)}}})])]):
t
.
_e
()},
staticRenderFns
:[]};
var
n
=
a
(
"VU/8"
)(
l
,
s
,
!
1
,
function
(
t
){
a
(
"NoP7"
)},
"data-v-d6932054"
,
null
);
e
.
a
=
n
.
exports
}});
\ No newline at end of file
\ No newline at end of file
dist/static/js/manifest.
30da44d66df832299474
.js
→
dist/static/js/manifest.
8256d199ff1ea9bb3d4e
.js
View file @
afd209f4
!
function
(
e
){
var
c
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
a
,
b
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
a
.
length
;
i
++
)
t
=
a
[
i
],
f
[
t
]
&&
u
.
push
(
f
[
t
][
0
]),
f
[
t
]
=
0
;
for
(
r
in
b
)
Object
.
prototype
.
hasOwnProperty
.
call
(
b
,
r
)
&&
(
e
[
r
]
=
b
[
r
]);
for
(
c
&&
c
(
a
,
b
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
d
(
d
.
s
=
n
[
i
]);
return
o
};
var
a
=
{},
f
=
{
99
:
0
};
function
d
(
c
){
if
(
a
[
c
])
return
a
[
c
].
exports
;
var
f
=
a
[
c
]
=
{
i
:
c
,
l
:
!
1
,
exports
:{}};
return
e
[
c
].
call
(
f
.
exports
,
f
,
f
.
exports
,
d
),
f
.
l
=!
0
,
f
.
exports
}
d
.
e
=
function
(
e
){
var
c
=
f
[
e
];
if
(
0
===
c
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
c
)
return
c
[
2
];
var
a
=
new
Promise
(
function
(
a
,
d
){
c
=
f
[
e
]
=
[
a
,
d
]});
c
[
2
]
=
a
;
var
b
=
document
.
getElementsByTagName
(
"head"
)[
0
],
n
=
document
.
createElement
(
"script"
);
n
.
type
=
"text/javascript"
,
n
.
charset
=
"utf-8"
,
n
.
async
=!
0
,
n
.
timeout
=
12
e4
,
d
.
nc
&&
n
.
setAttribute
(
"nonce"
,
d
.
nc
),
n
.
src
=
d
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"8bd87f65b605af4abf2e"
,
1
:
"fe9dec1f31b04053fd7e"
,
2
:
"54aabab28c7735d34c10"
,
3
:
"b7e6d57d97174b75b050"
,
4
:
"11254d7e3a102121b8ec"
,
5
:
"2784801807ecd1469c27"
,
6
:
"124ad8222f7b043b44ae"
,
7
:
"ebad93a8c5bffffd9e98"
,
8
:
"f1c9fb5c9212483138d8"
,
9
:
"b5aae16b3951516573ad"
,
10
:
"ebbed2d956a1376f014a"
,
11
:
"59c7813cc972f62b1d18"
,
12
:
"879536ae7ce46f0c54ec"
,
13
:
"57e51fc1b6342003f25d"
,
14
:
"3471d94ea61c8dd34da6"
,
15
:
"26e240debc0e9e519cfc"
,
16
:
"3764f209950b5a339958"
,
17
:
"a28e63bfa5ccba7fef5d"
,
18
:
"f7633d51986d0c6798f1"
,
19
:
"60cda7a1997f26103e8b"
,
20
:
"9978a0294be1004d697d"
,
21
:
"ed8d46095e29b1e8d098"
,
22
:
"537abc52bc237952c65a"
,
23
:
"6c5a2b4c6f1d930e7ed5"
,
24
:
"56085041ae784faf3c32"
,
25
:
"e23f42a6b2180b63c129"
,
26
:
"13962bf105070352b110"
,
27
:
"800c3363a0a1043eda48"
,
28
:
"4967b74d6bbb9e6cc702"
,
29
:
"28ccae4d06ea6b595ca9"
,
30
:
"fd04453caecf77de05a2"
,
31
:
"320f1a0aa86ca13e4306"
,
32
:
"5e1383bc5cac66f2999a"
,
33
:
"61635e97ee430e22a19b"
,
34
:
"50c83d54c676bdfa7dd4"
,
35
:
"ac9cb6aa5dc9b6fc2b6f"
,
36
:
"7674738e3017ed5fcc1c"
,
37
:
"e223c4067dc6c2fd38ab"
,
38
:
"eaa34f0904ef970709a7"
,
39
:
"f4a6c4a1b3881e31a92c"
,
40
:
"655877fc2e44168b8c1c"
,
41
:
"89560c4643dfa5754a23"
,
42
:
"5c09b508b0a58d47c09c"
,
43
:
"7c7427290d655f79f005"
,
44
:
"8c27aaae1582618d2ab0"
,
45
:
"235e93346fe2b95897cb"
,
46
:
"cc4d205e90682c5b93c0"
,
47
:
"26a5ded2bad54156ad19"
,
48
:
"67316f92922aa44a4689"
,
49
:
"a8a17bd4a62cf533f17e"
,
50
:
"1892aba5601ac79c8a77"
,
51
:
"3b64bf9b851ae6715634"
,
52
:
"600a530c5d3ecac3db2c"
,
53
:
"f93433cfdb48cb98bb84"
,
54
:
"e9011eb58ee8fb0165ad"
,
55
:
"3aff1a161f4b3876181c"
,
56
:
"bd1d8ffdf7749d7d6e7a"
,
57
:
"77278d614a1fc68d5681"
,
58
:
"f8d434e5d4758ae8626c"
,
59
:
"b3e479223a01f87d8337"
,
60
:
"c05387a974f25645ee7b"
,
61
:
"b93d3f6b5ec653e5c4c6"
,
62
:
"12ee3896f6851cd2cb4c"
,
63
:
"ab6bd438d590a7aa1e85"
,
64
:
"8f377047299728a7c625"
,
65
:
"b9df0942284c0dbfdc27"
,
66
:
"5433d9783d667005811b"
,
67
:
"0f6d447133b1acbc532b"
,
68
:
"7830c5679af6f8b2cb9d"
,
69
:
"61cee4c7c7a26b880f84"
,
70
:
"6f28138a852985cde574"
,
71
:
"4cf18546d28a67295cf8"
,
72
:
"fe9d1bbd12f4274225e1"
,
73
:
"88e613d232847cb90be2"
,
74
:
"ab208d1118bb1a9aa540"
,
75
:
"b14512ee0a369c73d41f"
,
76
:
"6143595e7025663becbc"
,
77
:
"98f5d41a602eec297e70"
,
78
:
"bd75ce697ff5a3211d53"
,
79
:
"7ede10f0ba3b16700fc9"
,
80
:
"4d61def8e6694657ea56"
,
81
:
"e7670320995684cfa512"
,
82
:
"4194ad3d53ad440bfb80"
,
83
:
"44fd11f0fbdad5fdfe01"
,
84
:
"1823d3e667816d0f2259"
,
85
:
"779373ab4595fb2a48f9"
,
86
:
"72fd057b1111acefbe95"
,
87
:
"f616874d7e40fcf1caa1"
,
88
:
"5e52821a3ece9ccdeb3f"
,
89
:
"85a2bbd9554df0f81300"
,
90
:
"6d7f539733951e52b9e1"
,
91
:
"44545722d2e68c8f5b69"
,
92
:
"b5b46350bd10a723b0b2"
,
93
:
"0cf2ca11a7d3aa4b1ef3"
,
94
:
"4eb1775c97e0c0097641"
,
95
:
"d14fcdfe817ed45c25db"
,
98
:
"4afc4e966f02914d8565"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
c
=
f
[
e
];
0
!==
c
&&
(
c
&&
c
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
f
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
b
.
appendChild
(
n
),
a
},
d
.
m
=
e
,
d
.
c
=
a
,
d
.
d
=
function
(
e
,
c
,
a
){
d
.
o
(
e
,
c
)
||
Object
.
defineProperty
(
e
,
c
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
a
})},
d
.
n
=
function
(
e
){
var
c
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
d
.
d
(
c
,
"a"
,
c
),
c
},
d
.
o
=
function
(
e
,
c
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
c
)},
d
.
p
=
"./"
,
d
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
!
function
(
e
){
var
c
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
a
,
b
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
a
.
length
;
i
++
)
t
=
a
[
i
],
f
[
t
]
&&
u
.
push
(
f
[
t
][
0
]),
f
[
t
]
=
0
;
for
(
r
in
b
)
Object
.
prototype
.
hasOwnProperty
.
call
(
b
,
r
)
&&
(
e
[
r
]
=
b
[
r
]);
for
(
c
&&
c
(
a
,
b
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
d
(
d
.
s
=
n
[
i
]);
return
o
};
var
a
=
{},
f
=
{
99
:
0
};
function
d
(
c
){
if
(
a
[
c
])
return
a
[
c
].
exports
;
var
f
=
a
[
c
]
=
{
i
:
c
,
l
:
!
1
,
exports
:{}};
return
e
[
c
].
call
(
f
.
exports
,
f
,
f
.
exports
,
d
),
f
.
l
=!
0
,
f
.
exports
}
d
.
e
=
function
(
e
){
var
c
=
f
[
e
];
if
(
0
===
c
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
c
)
return
c
[
2
];
var
a
=
new
Promise
(
function
(
a
,
d
){
c
=
f
[
e
]
=
[
a
,
d
]});
c
[
2
]
=
a
;
var
b
=
document
.
getElementsByTagName
(
"head"
)[
0
],
n
=
document
.
createElement
(
"script"
);
n
.
type
=
"text/javascript"
,
n
.
charset
=
"utf-8"
,
n
.
async
=!
0
,
n
.
timeout
=
12
e4
,
d
.
nc
&&
n
.
setAttribute
(
"nonce"
,
d
.
nc
),
n
.
src
=
d
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"8bd87f65b605af4abf2e"
,
1
:
"fe9dec1f31b04053fd7e"
,
2
:
"54aabab28c7735d34c10"
,
3
:
"b7e6d57d97174b75b050"
,
4
:
"11254d7e3a102121b8ec"
,
5
:
"2784801807ecd1469c27"
,
6
:
"124ad8222f7b043b44ae"
,
7
:
"ebad93a8c5bffffd9e98"
,
8
:
"f1c9fb5c9212483138d8"
,
9
:
"b5aae16b3951516573ad"
,
10
:
"ebbed2d956a1376f014a"
,
11
:
"59c7813cc972f62b1d18"
,
12
:
"879536ae7ce46f0c54ec"
,
13
:
"57e51fc1b6342003f25d"
,
14
:
"a52947dac152c08630f5"
,
15
:
"26e240debc0e9e519cfc"
,
16
:
"3764f209950b5a339958"
,
17
:
"abe6f707700aee81dda3"
,
18
:
"f7633d51986d0c6798f1"
,
19
:
"60cda7a1997f26103e8b"
,
20
:
"9978a0294be1004d697d"
,
21
:
"ed8d46095e29b1e8d098"
,
22
:
"537abc52bc237952c65a"
,
23
:
"6c5a2b4c6f1d930e7ed5"
,
24
:
"56085041ae784faf3c32"
,
25
:
"e23f42a6b2180b63c129"
,
26
:
"13962bf105070352b110"
,
27
:
"800c3363a0a1043eda48"
,
28
:
"4967b74d6bbb9e6cc702"
,
29
:
"28ccae4d06ea6b595ca9"
,
30
:
"fd04453caecf77de05a2"
,
31
:
"320f1a0aa86ca13e4306"
,
32
:
"5e1383bc5cac66f2999a"
,
33
:
"61635e97ee430e22a19b"
,
34
:
"50c83d54c676bdfa7dd4"
,
35
:
"ac9cb6aa5dc9b6fc2b6f"
,
36
:
"7674738e3017ed5fcc1c"
,
37
:
"e223c4067dc6c2fd38ab"
,
38
:
"eaa34f0904ef970709a7"
,
39
:
"f4a6c4a1b3881e31a92c"
,
40
:
"655877fc2e44168b8c1c"
,
41
:
"89560c4643dfa5754a23"
,
42
:
"5c09b508b0a58d47c09c"
,
43
:
"7c7427290d655f79f005"
,
44
:
"8c27aaae1582618d2ab0"
,
45
:
"235e93346fe2b95897cb"
,
46
:
"cc4d205e90682c5b93c0"
,
47
:
"26a5ded2bad54156ad19"
,
48
:
"67316f92922aa44a4689"
,
49
:
"a8a17bd4a62cf533f17e"
,
50
:
"1892aba5601ac79c8a77"
,
51
:
"3b64bf9b851ae6715634"
,
52
:
"600a530c5d3ecac3db2c"
,
53
:
"f93433cfdb48cb98bb84"
,
54
:
"e9011eb58ee8fb0165ad"
,
55
:
"3aff1a161f4b3876181c"
,
56
:
"bd1d8ffdf7749d7d6e7a"
,
57
:
"77278d614a1fc68d5681"
,
58
:
"f8d434e5d4758ae8626c"
,
59
:
"b3e479223a01f87d8337"
,
60
:
"c05387a974f25645ee7b"
,
61
:
"b93d3f6b5ec653e5c4c6"
,
62
:
"12ee3896f6851cd2cb4c"
,
63
:
"ab6bd438d590a7aa1e85"
,
64
:
"8f377047299728a7c625"
,
65
:
"b9df0942284c0dbfdc27"
,
66
:
"5433d9783d667005811b"
,
67
:
"0f6d447133b1acbc532b"
,
68
:
"7830c5679af6f8b2cb9d"
,
69
:
"61cee4c7c7a26b880f84"
,
70
:
"6f28138a852985cde574"
,
71
:
"4cf18546d28a67295cf8"
,
72
:
"fe9d1bbd12f4274225e1"
,
73
:
"88e613d232847cb90be2"
,
74
:
"ab208d1118bb1a9aa540"
,
75
:
"b14512ee0a369c73d41f"
,
76
:
"6143595e7025663becbc"
,
77
:
"98f5d41a602eec297e70"
,
78
:
"bd75ce697ff5a3211d53"
,
79
:
"7ede10f0ba3b16700fc9"
,
80
:
"4d61def8e6694657ea56"
,
81
:
"e7670320995684cfa512"
,
82
:
"4194ad3d53ad440bfb80"
,
83
:
"44fd11f0fbdad5fdfe01"
,
84
:
"1823d3e667816d0f2259"
,
85
:
"779373ab4595fb2a48f9"
,
86
:
"72fd057b1111acefbe95"
,
87
:
"f616874d7e40fcf1caa1"
,
88
:
"5e52821a3ece9ccdeb3f"
,
89
:
"85a2bbd9554df0f81300"
,
90
:
"6d7f539733951e52b9e1"
,
91
:
"44545722d2e68c8f5b69"
,
92
:
"b5b46350bd10a723b0b2"
,
93
:
"0cf2ca11a7d3aa4b1ef3"
,
94
:
"4eb1775c97e0c0097641"
,
95
:
"d14fcdfe817ed45c25db"
,
98
:
"4afc4e966f02914d8565"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
c
=
f
[
e
];
0
!==
c
&&
(
c
&&
c
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
f
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
b
.
appendChild
(
n
),
a
},
d
.
m
=
e
,
d
.
c
=
a
,
d
.
d
=
function
(
e
,
c
,
a
){
d
.
o
(
e
,
c
)
||
Object
.
defineProperty
(
e
,
c
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
a
})},
d
.
n
=
function
(
e
){
var
c
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
d
.
d
(
c
,
"a"
,
c
),
c
},
d
.
o
=
function
(
e
,
c
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
c
)},
d
.
p
=
"./"
,
d
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
\ No newline at end of file
src/components/app/material/material-preview.vue
View file @
afd209f4
...
@@ -4,11 +4,11 @@
...
@@ -4,11 +4,11 @@
* @Author: 无尘
* @Author: 无尘
* @Date: 2019-10-22 15:12:41
* @Date: 2019-10-22 15:12:41
* @LastEditors: 无尘
* @LastEditors: 无尘
* @LastEditTime: 2019-12-10
19:19
:38
* @LastEditTime: 2019-12-10
20:06
:38
-->
-->
<!--
<!--
<material-preview ref="materialPreview" :materialPreviewData="materialPreviewData" v-model="previewVisible"></material-preview>
<material-preview ref="materialPreview" :materialPreviewData="materialPreviewData" v-model="previewVisible"
@closePre="closePre"
></material-preview>
import materialPreview from '@/components/app/material/material-preview.vue';
import materialPreview from '@/components/app/material/material-preview.vue';
components: {
components: {
...
@@ -18,7 +18,7 @@ components: {
...
@@ -18,7 +18,7 @@ components: {
previewVisible: false,
previewVisible: false,
-->
-->
<
template
>
<
template
>
<div
class=
"qr-dialog-content"
style=
"opacity: 1;"
v-
show
=
"value"
>
<div
class=
"qr-dialog-content"
style=
"opacity: 1;"
v-
if
=
"value"
>
<div
class=
"qr-mask"
@
click
.
stop=
"closeDialog"
></div>
<div
class=
"qr-mask"
@
click
.
stop=
"closeDialog"
></div>
<div
class=
"qr-dialog border-box"
>
<div
class=
"qr-dialog border-box"
>
<div
class=
"qr-dialog-body border-box"
>
<div
class=
"qr-dialog-body border-box"
>
...
@@ -64,7 +64,7 @@ export default {
...
@@ -64,7 +64,7 @@ export default {
}
}
},
},
materialPreviewData
:
{
materialPreviewData
:
{
type
:
Object
,
type
:
[
Object
,
Array
]
,
default
()
{
default
()
{
return
{
return
{
materialId
:
''
,
materialId
:
''
,
...
@@ -113,9 +113,14 @@ export default {
...
@@ -113,9 +113,14 @@ export default {
closeDialog
()
{
closeDialog
()
{
const
that
=
this
;
const
that
=
this
;
that
.
$emit
(
'input'
,
false
);
that
.
$emit
(
'input'
,
false
);
that
.
$emit
(
'closePre'
);
}
}
},
},
watch
:
{
watch
:
{
value
(
newData
,
oldData
)
{
const
that
=
this
;
that
.
materialData
=
JSON
.
parse
(
JSON
.
stringify
(
that
.
materialPreviewData
));
},
materialPreviewData
(
newData
,
oldData
)
{
materialPreviewData
(
newData
,
oldData
)
{
const
that
=
this
;
const
that
=
this
;
that
.
materialData
=
JSON
.
parse
(
JSON
.
stringify
(
newData
));
that
.
materialData
=
JSON
.
parse
(
JSON
.
stringify
(
newData
));
...
...
src/views/enterpriseApp/marketingMaterial/newEnjoy.vue
View file @
afd209f4
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Author: 无尘
* @Date: 2019-09-18 15:25:12
* @Date: 2019-09-18 15:25:12
* @LastEditors: 无尘
* @LastEditors: 无尘
* @LastEditTime: 2019-12-10 19:
27:18
* @LastEditTime: 2019-12-10 19:
59:55
-->
-->
<!--
<!--
...
@@ -300,11 +300,19 @@ export default {
...
@@ -300,11 +300,19 @@ export default {
that
.
formData
.
rangeList
=
[...
that
.
defaultStoreList
,
...
that
.
defaultSelection
];
that
.
formData
.
rangeList
=
[...
that
.
defaultStoreList
,
...
that
.
defaultSelection
];
that
.
$refs
[
formName
].
validate
(
valid
=>
{
that
.
$refs
[
formName
].
validate
(
valid
=>
{
if
(
valid
)
{
if
(
valid
)
{
console
.
log
(
that
.
formData
)
that
.
materialPreviewData
=
that
.
formData
;
that
.
materialPreviewData
=
that
.
formData
;
that
.
previewVisible
=
true
;
that
.
previewVisible
=
true
;
}
}
});
});
},
},
/**
* 关闭
*/
closePre
()
{
const
that
=
this
;
that
.
materialPreviewData
=
{};
},
toReturn
()
{
toReturn
()
{
this
.
$router
.
go
(
-
1
);
this
.
$router
.
go
(
-
1
);
},
},
...
...
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