Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-3
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
haoban-3
Commits
d5c8c759
Commit
d5c8c759
authored
May 19, 2020
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:修改接口
parent
835655d6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
8 additions
and
8 deletions
+8
-8
index.html
dist/index.html
+2
-2
app.cff8e79f2b18cec5e2d364a98783bc82.css
dist/static/css/app.cff8e79f2b18cec5e2d364a98783bc82.css
+0
-0
5.28f71d5ecd4b2ff3b807.js
dist/static/js/5.28f71d5ecd4b2ff3b807.js
+0
-2
5.4d1a49e3433dc850aa0f.js
dist/static/js/5.4d1a49e3433dc850aa0f.js
+2
-0
manifest.87e1b4754860671b1321.js
dist/static/js/manifest.87e1b4754860671b1321.js
+2
-2
web-edit.vue
src/components/set/web-edit.vue
+2
-2
No files found.
dist/index.html
View file @
d5c8c759
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><link
rel=
"shortcut icon"
href=
./favicon.ico
><title>
好办管理平台
</title><link
rel=
stylesheet
type=
text/css
href=
//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.28.css
><link
href=
./static/css/app.5b2a727b5bf01ced266f36a8cea91b50.css
rel=
stylesheet
></head><body
style=
"min-width: 1400px;"
class=
damolish
><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
src=
//web-1251519181.file.myqcloud.com/components/footer.2.0.04.js
></script><script>
// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();
</script><script
type=
text/javascript
src=
./static/js/manifest.8d78675bbc7a77830ac5.js
></script><script
type=
text/javascript
src=
./static/js/vendor.ec5b5af1da21f97836b5.js
></script><script
type=
text/javascript
src=
./static/js/app.07b4c6c0ce76ccdc2e46.js
></script></body></html>
\ No newline at end of file
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><link
rel=
"shortcut icon"
href=
./favicon.ico
><title>
好办管理平台
</title><link
rel=
stylesheet
type=
text/css
href=
//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.28.css
><link
href=
./static/css/app.cff8e79f2b18cec5e2d364a98783bc82.css
rel=
stylesheet
></head><body
style=
"min-width: 1400px;"
class=
damolish
><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
src=
//web-1251519181.file.myqcloud.com/components/footer.2.0.04.js
></script><script>
// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();
</script><script
type=
text/javascript
src=
./static/js/manifest.87e1b4754860671b1321.js
></script><script
type=
text/javascript
src=
./static/js/vendor.ec5b5af1da21f97836b5.js
></script><script
type=
text/javascript
src=
./static/js/app.07b4c6c0ce76ccdc2e46.js
></script></body></html>
\ No newline at end of file
dist/static/css/app.
5b2a727b5bf01ced266f36a8cea91b50
.css
→
dist/static/css/app.
cff8e79f2b18cec5e2d364a98783bc82
.css
View file @
d5c8c759
This source diff could not be displayed because it is too large. You can
view the blob
instead.
dist/static/js/5.28f71d5ecd4b2ff3b807.js
deleted
100644 → 0
View file @
835655d6
webpackJsonp
([
5
],{
"50B4"
:
function
(
e
,
t
){},
"61Rz"
:
function
(
e
,
t
){},
"6vKc"
:
function
(
e
,
t
){},
C2ZR
:
function
(
e
,
t
){
e
.
exports
=
"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDIzLjAuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMjAwIDIwMCIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMjAwIDIwMDsiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgoJLnN0MHtmaWxsOiMzRDZBRTg7fQoJLnN0MXtmaWxsOiM4NkFERjI7fQoJLnN0MntmaWxsOiNFMUVERkY7fQo8L3N0eWxlPgo8Zz4KCTxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik0yOC42LDFIMTIwbDYwLDU5Ljd2MTMwLjZjMCw0LjctMy44LDguNS04LjYsOC41SDI4LjZjLTQuNywwLTguNi0zLjgtOC42LTguNVY5LjVDMjAsNC44LDIzLjgsMSwyOC42LDF6Ii8+Cgk8cGF0aCBjbGFzcz0ic3QxIiBkPSJNMTIwLDFsNjAsNjBoLTQ2LjdDMTI2LDYxLDEyMCw1NSwxMjAsNDcuN1YxeiIvPgoJPHBhdGggY2xhc3M9InN0MiIgZD0iTTQ2LjcsMTAwLjRoMTA2Ljd2MjBINDYuN1YxMDAuNHogTTQ2LjcsMTQwLjRoMTA2Ljd2MjBINDYuN1YxNDAuNHoiLz4KPC9nPgo8L3N2Zz4K"
},
"F+zQ"
:
function
(
e
,
t
){},
I8yJ
:
function
(
e
,
t
){},
J7IQ
:
function
(
e
,
t
){},
KLSU
:
function
(
e
,
t
){},
UwuL
:
function
(
e
,
t
){},
b4ba
:
function
(
e
,
t
){},
cs5P
:
function
(
e
,
t
){},
dkup
:
function
(
e
,
t
){},
"fb+e"
:
function
(
e
,
t
){},
kMip
:
function
(
e
,
t
){},
"q+Sm"
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
i
=
a
(
"l46T"
),
o
=
a
(
"PI0u"
),
r
=
a
(
"P9l9"
),
l
=
a
(
"3E4D"
),
c
=
a
(
"Ch4/"
),
n
=
{
props
:{
materialIds
:{
type
:
Array
,
default
:
function
(){
return
[]}}},
components
:{
limitInput
:
i
.
a
},
data
:
function
(){
return
{
width
:
"347px"
,
wxEnterpriseId
:
localStorage
.
getItem
(
"userInfos"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
wxEnterpriseId
:
""
,
dialogVisible
:
!
0
,
groupData
:[],
ruleForm
:{
categoryId
:
""
},
rules
:{
categoryId
:[{
required
:
!
0
,
message
:
"请选择分组名称"
,
trigger
:
"change"
}]},
categoryName
:
""
,
currentCategoryId
:
""
,
expandArr
:[]}},
methods
:{
toCancel
:
function
(){
this
.
$emit
(
"closeGroup"
),
this
.
$refs
.
ruleForm
.
resetFields
()},
handleClose
:
function
(
e
){
this
.
$emit
(
"closeGroup"
),
this
.
$refs
.
ruleForm
.
resetFields
()},
submitForm
:
Object
(
o
.
a
)(
function
(
e
){
var
t
=
this
;
t
.
$refs
[
e
].
validate
(
function
(
e
){
e
&&
t
.
postSave
()})},
300
),
postSave
:
function
(){
var
e
=
this
,
t
=
{
categoryId
:
e
.
ruleForm
.
categoryId
,
materialIds
:
e
.
materialIds
};
Object
(
r
.
d
)(
"/haoban-manage3-web/material-batch"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
1
==
a
.
errorCode
?(
l
.
a
.
showmsg
(
"操作成功"
,
"success"
),
e
.
$refs
.
ruleForm
.
resetFields
(),
e
.
$emit
(
"submitGroup"
)):
c
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
selectGroup
:
function
(
e
){
e
.
expand
=!
e
.
expand
,
this
.
ruleForm
.
categoryId
=
e
.
categoryId
,
this
.
currentCategoryId
=
e
.
categoryId
,
this
.
categoryName
=
e
.
categoryName
,
e
.
expand
?
this
.
expandArr
.
push
(
e
.
categoryId
):
this
.
expandArr
.
splice
(
this
.
expandArr
.
indexOf
(
e
.
categoryId
),
1
)},
selectNoGroup
:
function
(){
this
.
ruleForm
.
categoryId
=
"-1"
,
this
.
currentCategoryId
=
"-1"
,
this
.
categoryName
=
"未分组"
},
treeData
:
function
(
e
){
var
t
=
e
.
filter
(
function
(
t
){
var
a
=
e
.
filter
(
function
(
e
){
return
t
.
categoryId
==
e
.
categoryParentId
});
return
a
.
length
>
0
?
t
.
children
=
a
:
t
.
children
=
[],
0
==
t
.
categoryParentId
});
return
console
.
log
(
"tree:"
,
t
),
t
},
getGroupData
:
function
(
e
){
var
t
=
this
,
a
=
{
wxEnterpriseId
:
t
.
wxEnterpriseId
};
Object
(
r
.
d
)(
"/haoban-manage3-web/category-list"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
!=
a
.
errorCode
?
c
.
a
.
errorMsg
(
a
):
a
.
result
&&
a
.
result
.
length
&&
(
a
.
result
.
forEach
(
function
(
e
){
e
.
expand
=!!
t
.
expandArr
.
includes
(
e
.
categoryId
)}),
t
.
groupData
=
t
.
treeData
(
a
.
result
)
||
[])}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{},
mounted
:
function
(){
this
.
getGroupData
()}},
s
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"el-dialog"
,{
attrs
:{
title
:
"批量操作-移至分组"
,
visible
:
e
.
dialogVisible
,
width
:
"485px"
,
"before-close"
:
e
.
handleClose
},
on
:{
"update:visible"
:
function
(
t
){
e
.
dialogVisible
=
t
}}},[
a
(
"div"
,{},[
a
(
"el-form"
,{
ref
:
"ruleForm"
,
staticClass
:
"demo-ruleForm"
,
attrs
:{
model
:
e
.
ruleForm
,
rules
:
e
.
rules
,
"label-width"
:
"80px"
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"分组"
,
prop
:
"categoryId"
}},[
a
(
"el-popover"
,{
staticStyle
:{
"min-width"
:
"357px"
},
attrs
:{
placement
:
"bottom"
,
trigger
:
"click"
}},[
a
(
"div"
,{
staticClass
:
"select-tree-wrap"
},[
a
(
"div"
,{
staticClass
:
"group-body"
},[
a
(
"div"
,{
class
:[
"no-group m-t-10 line-h-32 font-14 color-606266 cursor-pointer"
,
"-1"
==
e
.
currentCategoryId
?
"current-group"
:
""
],
on
:{
click
:
e
.
selectNoGroup
}},[
a
(
"span"
,{
class
:[
"color-c0c4cc font-12 cursor-pointer p-l-10 el-icon-caret-bottom el-icon-caret-right"
],
staticStyle
:{
color
:
"transparent"
}}),
e
.
_v
(
"未分组"
)]),
e
.
_v
(
" "
),
a
(
"ul"
,{
staticClass
:
"group-ul padding-lr-12"
},[
e
.
_l
(
e
.
groupData
,
function
(
t
,
i
){
return
[
a
(
"li"
,{
key
:
i
+
"group"
,
staticClass
:
"group-cell"
},[
a
(
"div"
,{
staticClass
:
"cursor-pointer group-cell-div"
,
on
:{
click
:
function
(
a
){
a
.
stopPropagation
(),
e
.
selectGroup
(
t
)}}},[
a
(
"span"
,{
class
:[
"color-c0c4cc font-12 cursor-pointer"
,
t
.
children
.
length
?
"color-c0c4cc"
:
"color-transparent"
,
t
.
expand
?
"el-icon-caret-bottom"
:
"el-icon-caret-right"
]}),
a
(
"span"
,{
class
:[
"group-name font-14 color-606266 p-l-10"
,
e
.
currentCategoryId
==
t
.
categoryId
?
"current-group"
:
""
]},[
e
.
_v
(
e
.
_s
(
t
.
categoryName
))])]),
e
.
_v
(
" "
),
t
.
expand
?
a
(
"ul"
,{
staticClass
:
"p-l-10"
},[
e
.
_l
(
t
.
children
,
function
(
t
,
i
){
return
[
a
(
"li"
,{
key
:
i
+
"group"
,
staticClass
:
"group-cell"
},[
a
(
"div"
,{
staticClass
:
"cursor-pointer group-cell-div"
,
on
:{
click
:
function
(
a
){
a
.
stopPropagation
(),
e
.
selectGroup
(
t
)}}},[
a
(
"span"
,{
class
:[
"font-12 cursor-pointer"
,
t
.
children
.
length
?
"color-c0c4cc"
:
"color-transparent"
,
t
.
expand
?
"el-icon-caret-bottom"
:
"el-icon-caret-right"
]}),
a
(
"span"
,{
class
:[
"group-name font-14 color-606266 p-l-10"
,
e
.
currentCategoryId
==
t
.
categoryId
?
"current-group"
:
""
]},[
e
.
_v
(
e
.
_s
(
t
.
categoryName
))])]),
e
.
_v
(
" "
),
t
.
expand
?
a
(
"ul"
,{
staticClass
:
"p-l-10"
},[
e
.
_l
(
t
.
children
,
function
(
t
,
i
){
return
[
a
(
"li"
,{
key
:
i
+
"group"
,
staticClass
:
"group-cell"
},[
a
(
"div"
,{
staticClass
:
"cursor-pointer group-cell-div"
,
on
:{
click
:
function
(
a
){
a
.
stopPropagation
(),
e
.
selectGroup
(
t
)}}},[
a
(
"span"
,{
class
:[
"font-12 cursor-pointer color-transparent"
,
t
.
expand
?
"el-icon-caret-bottom"
:
"el-icon-caret-right"
]}),
a
(
"span"
,{
class
:[
"group-name font-14 color-606266 p-l-10"
,
e
.
currentCategoryId
==
t
.
categoryId
?
"current-group"
:
""
]},[
e
.
_v
(
e
.
_s
(
t
.
categoryName
))])])])]})],
2
):
e
.
_e
()])]})],
2
):
e
.
_e
()])]})],
2
)])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"flex-column item-cell-select inline-block "
,
attrs
:{
slot
:
"reference"
},
slot
:
"reference"
},[
a
(
"div"
,{
staticClass
:
"depart-item-wrap"
},[
a
(
"div"
,{
staticClass
:
"el-select el-select--large depart-item-content"
,
style
:{
width
:
e
.
width
}},[
e
.
ruleForm
.
categoryId
?
e
.
_e
():
a
(
"span"
,{
staticClass
:
"font-14 color-c0c4cc"
,
staticStyle
:{
display
:
"inline-block"
,
"line-height"
:
"32px"
,
color
:
"#c0c4cc"
}},[
e
.
_v
(
"请选择"
)]),
e
.
_v
(
"
\
n "
+
e
.
_s
(
e
.
categoryName
)
+
"
\
n "
)])])])])],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"el-button"
,{
on
:{
click
:
e
.
toCancel
}},[
e
.
_v
(
"取消"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
submitForm
(
"ruleForm"
)}}},[
e
.
_v
(
"确定"
)])],
1
)])},
staticRenderFns
:[]};
var
d
=
a
(
"VU/8"
)(
n
,
s
,
!
1
,
function
(
e
){
a
(
"dkup"
)},
"data-v-06b81c7a"
,
null
).
exports
,
u
=
a
(
"mvHQ"
),
m
=
a
.
n
(
u
),
p
=
a
(
"fZjL"
),
g
=
a
.
n
(
p
),
f
=
a
(
"Kkt8"
),
h
=
[{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/b0d3c14f-69e7-4753-8fbc-3bffcff9f8ce"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/204994d9-48d8-4bfe-bfbd-e8168d444965"
,
key
:
"[微笑]"
,
keyCode
:
"/::)"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/a5f7c1eb-358e-47fe-a43c-7ae1ba5e95fd"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/87bbdce9-82e4-4fb0-8d6c-b867ccf7e058"
,
key
:
"[撇嘴]"
,
keyCode
:
"/::~"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/32201a50-e937-4594-bfb2-68dc674d29a1"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/df55c677-7adb-48f2-bf65-6cf592eccf80"
,
key
:
"[色]"
,
keyCode
:
"/::B"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/674f2eea-85fd-4735-9ae5-416aef938857"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/c44c6034-c191-4526-ac80-c5f7f0fbcf5f"
,
key
:
"[发呆]"
,
keyCode
:
"/::|"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/a52e4031-51e6-47c4-9a7d-4aa36902e868"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/684dcfac-a95f-49fc-8d9d-8d3627f4a26e"
,
key
:
"[得意]"
,
keyCode
:
"/:8-)"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/d5d3c311-30a7-46d4-bd6b-e09e9e270eb8"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/3f17d82f-beb6-4e0f-be8b-72c571558438"
,
key
:
"[流泪]"
,
keyCode
:
"/::<"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/014fb90d-db81-4a6d-b89d-6edc21825c57"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/6ce13f11-6c26-4e5a-b3b1-f47151b61e30"
,
key
:
"[害羞]"
,
keyCode
:
"/::$"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/fecaa108-f9ee-4871-88f8-04fe9dd006c4"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/0fe29af4-bddc-46c2-a063-f8d8e4414d13"
,
key
:
"[闭嘴]"
,
keyCode
:
"/::X"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/61373735-d6a4-42ec-beb8-f2ad3a4204ae"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/9fa3a5f6-3814-46df-a85c-e27711b41c45"
,
key
:
"[睡]"
,
keyCode
:
"/::Z"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/5e18d40c-00fe-4fa8-94bb-fc5879b601db"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/87d28ce0-72d2-44ab-a5b9-899ca92737c3"
,
key
:
"[大哭]"
,
keyCode
:
"/::'("
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/9956bdde-87e2-4377-a77d-2d7a6510dcca"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/28d4443a-ae59-459b-8fa0-c5d236a84208"
,
key
:
"[尴尬]"
,
keyCode
:
"/::-|"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/a36b8868-369d-4022-be38-e71970b4b0ed"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/a3db89ce-6b1a-44e9-a276-8284dfba6fec"
,
key
:
"[发怒]"
,
keyCode
:
"/::@"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/2b46750b-e399-41fa-88da-cef0705adb68"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/a340191e-00f0-4aed-9c4b-5084c9d48a3f"
,
key
:
"[调皮]"
,
keyCode
:
"/::P"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/f3d140d2-3490-4d12-a16f-5786c50e92e6"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/3741398d-ac5e-4ca4-aff2-7072d4f3e809"
,
key
:
"[呲牙]"
,
keyCode
:
"/::D"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/d54d58f6-a89a-4a70-9e7a-834ba728e5cb"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/62bb88d4-a38b-4d0a-943b-854e35f4216d"
,
key
:
"[惊讶]"
,
keyCode
:
"/::O"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/ceb0633a-3610-48dc-a4da-79b74d91c5a3"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/a9f355d2-89d5-41c3-96c9-53e6c1893ce8"
,
key
:
"[难过]"
,
keyCode
:
"/::("
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/7ae8e3ea-864f-4864-ba73-fbc731fe5e43"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/75533bd8-4d96-4d14-a28e-18f01141fd53"
,
key
:
"[酷]"
,
keyCode
:
"/::+"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/1ad076a0-a052-4cc5-bd1b-d46bdaf25928"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/b551bd90-8f9c-49d4-a73f-05852da72e4e"
,
key
:
"[冷汗]"
,
keyCode
:
"/:--b"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/756eb481-d965-4b09-abe6-5ea2f7d460db"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/9a9f6be6-6c9f-496e-8f40-cdd56670b1cb"
,
key
:
"[抓狂]"
,
keyCode
:
"/::Q"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/56107e91-303c-4d4c-bbc2-6a6ace586777"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/70b702b8-b1f2-4071-8fa1-01b4bac8c8cb"
,
key
:
"[吐]"
,
keyCode
:
"/::T"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/363eb785-69a9-4f18-8e45-cb069bb12c4c"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/fc61ddbf-a962-4043-a5cc-cb7a8a4edbcc"
,
key
:
"[偷笑]"
,
keyCode
:
"/:,@P"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/888ee4dc-0274-4c3d-bb84-e3ba943ff86f"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/223e7c88-5ffa-4392-a4b1-e5785bf59e19"
,
key
:
"[愉快]"
,
keyCode
:
"/:,@-D"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/a5a391da-659b-48ab-8007-a8888f98ec66"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/8fb34158-562b-4710-ae93-47b64174bdbf"
,
key
:
"[白眼]"
,
keyCode
:
"/::d"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/f3c70943-f4a2-4e15-a9fb-f8f840878a6a"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/8a0a3dcb-ea02-4c9d-9fb8-3cd72378da19"
,
key
:
"[傲慢]"
,
keyCode
:
"/:,@o"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/c7b25d7c-abc6-4547-803b-19dc45fd5be2"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/2428fcba-8a72-40d6-b847-6f7034f7e9d5"
,
key
:
"[饥饿]"
,
keyCode
:
"/::g"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/c6e9be34-b576-477d-a757-7d5593019552"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/45cddb56-4a94-4cfb-aea3-02ea14fd5093"
,
key
:
"[困]"
,
keyCode
:
"/:|-)"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/015bfb53-443a-4b5c-82f6-960b9d0acedd"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/1455635c-6cb0-470c-ae27-6602f76af048"
,
key
:
"[惊恐]"
,
keyCode
:
"/::!"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/d2569652-651e-4f8a-8052-d8f471af1a4d"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/c90c340f-39ab-4d34-a301-8aed680e79dd"
,
key
:
"[流汗]"
,
keyCode
:
"/::L"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/27f447a5-555d-49c0-b04d-7da098e372f6"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/e2bf7e8a-3218-44e7-a42e-b18c4fd32411"
,
key
:
"[憨笑]"
,
keyCode
:
"/::>"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/8f139cf5-49f7-4bfa-9ab9-d6f23782684e"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/ee4249c0-d355-40d0-9c68-1187e88e68d8"
,
key
:
"[悠闲]"
,
keyCode
:
"/::,@"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/688b20ba-ce01-4369-934f-2062a5b57643"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/386a5629-aec9-4840-a2cb-dfb8bdbf237d"
,
key
:
"[奋斗]"
,
keyCode
:
"/:,@f"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/e05cd4b5-e5cb-4374-80d9-8c09702ce7f5"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/95d3c7be-356b-4573-8aa8-45724618a527"
,
key
:
"[咒骂]"
,
keyCode
:
"/::-S"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/8f11e215-9e39-476b-a77b-e994cc703edc"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/fa622e45-63eb-4fe3-aa27-cca7dc7db07b"
,
key
:
"[疑问]"
,
keyCode
:
"/:?"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/de50c8c0-a797-4bb7-b2ef-ddb4a6b48085"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/067378c9-04d4-470c-a125-1c3fcfa298e3"
,
key
:
"[嘘]"
,
keyCode
:
"/:,@x"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/2e55af63-2591-49b9-9565-85269a308a97"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/484cc9ea-89b4-4af1-8134-8ba9fdcabeb3"
,
key
:
"[晕]"
,
keyCode
:
"/:,@@"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/057a6ff4-2403-424a-aaa4-5ece64336a37"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/6d21c607-d709-45a5-a8d6-dd74bcdf587f"
,
key
:
"[疯了]"
,
keyCode
:
"/::8"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/7d5e19d4-334b-441a-a964-285d8826c6d8"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/204c089c-d737-447e-a912-a3da4f92c8fe"
,
key
:
"[哀]"
,
keyCode
:
"/:,@!"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/9b14cbe9-749a-4081-b697-8a456db53cd3"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/94019082-ea4b-4ada-a7a3-0e1d02143c62"
,
key
:
"[骷髅]"
,
keyCode
:
"/:!!!"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/3518ddf0-8cc3-4b4f-9391-7aa67a95f6b6"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/7eeb8cc7-6e6b-4e02-b289-4f462677831d"
,
key
:
"[敲打]"
,
keyCode
:
"/:xx"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/b3086372-dd16-45d1-a51e-343befece0f7"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/3e1c155c-3517-4c5f-9831-98a564d94bd2"
,
key
:
"[再见]"
,
keyCode
:
"/:bye"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/31350af3-00e6-40c1-91fd-c36660614f7a"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/39804b4f-e56d-475d-b398-121d65e96d01"
,
key
:
"[擦汗]"
,
keyCode
:
"/:wipe"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/fc09bdc6-8467-40c3-b20d-822980f14824"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/89a3283e-fef9-4ccd-a238-400139a786a9"
,
key
:
"[抠鼻]"
,
keyCode
:
"/:dig"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/7a1d3d7f-ae4e-495d-8c4d-75378069a52c"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/8cd3aee8-56aa-4862-b253-701212e838f6"
,
key
:
"[鼓掌]"
,
keyCode
:
"/:handclap"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/434911d7-c142-4115-8ca2-0765f78e41d1"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/2ead6c2f-23c7-4e5f-b8e3-161153989ede"
,
key
:
"[糗大了]"
,
keyCode
:
"/:&-("
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/aa3532b6-99df-4984-9e76-013b4e106501"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/9c3ec470-8055-413c-8839-465f75dd9f71"
,
key
:
"[坏笑]"
,
keyCode
:
"/:B-)"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/887fbd28-9f81-42ce-addf-639a94a8edb2"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/897a5d5b-7c89-40bf-94ed-dc1c91c317ee"
,
key
:
"[左哼哼]"
,
keyCode
:
"/:<@"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/2267b046-ac56-4fc2-b592-351a1e6ffa28"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/da25a587-d314-4b44-98eb-2f9220b6a093"
,
key
:
"[右哼哼]"
,
keyCode
:
"/:@>"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/3d1a9b50-3262-4d3e-a554-33871189023d"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/f5323432-50d2-4393-853c-f8998a956da6"
,
key
:
"[哈欠]"
,
keyCode
:
"/::-O"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/edd78bd3-ffbb-4268-8af8-85377535cc0a"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/ca62a0b0-2d01-4ca4-b958-8417f0906a89"
,
key
:
"[鄙视]"
,
keyCode
:
"/:>-|"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/d1f49343-0f9b-485a-b6b7-4d9b43020fab"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/e43b2e20-8802-44d4-afa0-7eb6b7126c38"
,
key
:
"[委屈]"
,
keyCode
:
"/:P-("
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/e6532dd2-5734-41fc-862c-3fec91ecb7b7"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/d3120d89-2df8-47ba-b894-84658dd3e617"
,
key
:
"[快哭了]"
,
keyCode
:
"/::'|"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/3799a3bb-94a4-4614-917c-07629f1a63ac"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/17853d32-28fc-4565-8dab-44d7c95d4819"
,
key
:
"[阴险]"
,
keyCode
:
"/:X-)"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/4f84b1d5-235a-41a6-9927-96e29232ab61"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/a034d0c1-eafd-434c-a3e9-6042081536f9"
,
key
:
"[亲亲]"
,
keyCode
:
"/::*"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/fb45c4ad-2813-4ec1-afb7-873ef95ea975"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/660a65ee-66ff-4fa3-85fc-72149b938739"
,
key
:
"[吓]"
,
keyCode
:
"/:@x"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/abdb4f9e-8fec-4fab-98c4-a89711da5f6a"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/c8ef0424-21c9-4a25-a6be-c2233a6a85ba"
,
key
:
"[可怜]"
,
keyCode
:
"/:8*"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/6a0d843a-6870-409a-9bf2-40114628076e"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/f80d75c4-8f07-459c-9c83-0cf016ddfcef"
,
key
:
"[菜刀]"
,
keyCode
:
"/:pd"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/140d13e9-1587-491c-afdc-2599a5ba72de"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/08ec4424-86b8-4e46-bdce-3c93180a9cf9"
,
key
:
"[西瓜]"
,
keyCode
:
"/:<W>"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/d9974e8a-820e-4571-8fde-0fe21b725b7a"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/8426b197-1a1b-4f5f-a446-e47b2a2bff09"
,
key
:
"[啤酒]"
,
keyCode
:
"/:beer"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/4ff9ae58-e8df-4c9e-91ac-b91a6dc9096d"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/2578648c-f29b-46d3-91de-b636c6014dcc"
,
key
:
"[篮球]"
,
keyCode
:
"/:basketb"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/aa136900-c1f5-40f4-9130-1ddae518cb22"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/3b7a5bec-a119-4a7f-ae8f-e962cfb658b5"
,
key
:
"[乒乓]"
,
keyCode
:
"/:oo"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/4de4896d-a8b0-4cc6-921a-bb7a81788e68"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/5f1af094-059d-48a3-b374-381818827596"
,
key
:
"[咖啡]"
,
keyCode
:
"/:coffee"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/c61865c0-2fcf-44e9-bf62-3a5a606ca459"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/71a2ebba-3160-4a96-9370-2294e325c3d6"
,
key
:
"[饭]"
,
keyCode
:
"/:eat"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/2ffebcf6-48a8-4c26-8e67-dd6ea345407f"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/7309bbc1-3f2e-4df1-b523-b95ad9e18e0f"
,
key
:
"[猪头]"
,
keyCode
:
"/:pig"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/66dfc7b5-bebe-45d9-98f6-96d3a28214e8"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/06673bd8-c7ca-4672-b7a3-569bb5768efc"
,
key
:
"[玫瑰]"
,
keyCode
:
"/:rose"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/86a99146-e83b-4132-b3fb-2864aaf8cfa4"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/6b6b8364-d6eb-4c27-99d8-4bd0930b3cda"
,
key
:
"[凋谢]"
,
keyCode
:
"/:fade"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/090ae661-b401-496c-bd1f-d475e20e1c36"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/d42b19ce-943c-40df-8886-f1cc70281f5d"
,
key
:
"[嘴唇]"
,
keyCode
:
"/:showlove"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/a8295101-ac8c-4b8b-b1b0-97c548ec7c8d"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/579e7c8b-d538-4ac0-8b9b-5e0691c33c74"
,
key
:
"[爱心]"
,
keyCode
:
"/:heart"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/4b42af75-7434-4e1b-a727-def403b3c018"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/d8b6265f-2ca2-4227-8aa3-26cfee1e1d8f"
,
key
:
"[心碎]"
,
keyCode
:
"/:break"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/2eaf27d5-0f8e-4716-9f0c-7af7fce62980"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/f96201f2-32b8-462b-847a-22c49c3cf6df"
,
key
:
"[蛋糕]"
,
keyCode
:
"/:cake"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/ef55a1bb-6177-4075-b8ae-326b967cd612"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/f3e8ef24-0efa-4823-af8f-34604e832b94"
,
key
:
"[闪电]"
,
keyCode
:
"/:li"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/8672c806-0ecd-45ec-a9cd-2af63c806344"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/758a6b09-71e7-429b-9c2e-c744b8305610"
,
key
:
"[炸弹]"
,
keyCode
:
"/:bome"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/0dfd4afd-f954-4de3-93da-ac6104a007a9"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/d82af5eb-6fd5-48c8-9ba9-bf8b6ef7fe54"
,
key
:
"[刀]"
,
keyCode
:
"/:kn"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/12524677-2787-4a7b-9e8a-2874c44864f6"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/dbb1e536-27bb-47ea-a57e-25c89ecb4c81"
,
key
:
"[足球]"
,
keyCode
:
"/:footb"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/d65a0c9d-d50f-4986-86f4-de5babceeb4f"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/62a24697-7529-4dce-93ef-8d78ee2ef3d9"
,
key
:
"[瓢虫]"
,
keyCode
:
"/:ladybug"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/0c30bcc5-1ad8-4b33-8040-cf11b4c8cdb4"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/4beffad5-d07f-465b-987e-62687178a609"
,
key
:
"[便便]"
,
keyCode
:
"/:shit"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/adb7224b-ddd7-4e51-9cc0-c9642c3ca827"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/3e124ec4-68d2-4129-ace6-b02b5a0a47dd"
,
key
:
"[月亮]"
,
keyCode
:
"/:moon"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/55a303ca-bcbf-42fb-99c5-d2a2aaa2c254"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/191faab4-2c7d-4b6a-95e0-0cec831bdba8"
,
key
:
"[太阳]"
,
keyCode
:
"/:sun"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/a84809d8-4553-4380-966b-17484ce317b8"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/ffbc4ada-d572-4f80-821a-ee1d232c0da4"
,
key
:
"[礼物]"
,
keyCode
:
"/:gift"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/70f21a3f-165e-46dd-bbd3-9523e72761ef"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/1344a463-f19a-4a5a-9e99-450bf32c2c6b"
,
key
:
"[拥抱]"
,
keyCode
:
"/:hug"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/a008b2e1-6d02-47f0-b477-c2b0e9f585f2"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/b4cf425d-08fb-48a3-8383-e705d4ed990e"
,
key
:
"[强]"
,
keyCode
:
"/:strong"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/dd610773-3bc5-4bce-90a3-d5c7b7af1bd4"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/bab6f0b3-94e1-4e94-b144-5161c5ee0799"
,
key
:
"[弱]"
,
keyCode
:
"/:weak"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/4c027076-e5bb-492c-9cc7-39b58b50f720"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/72076aef-4091-4b6a-a727-b3b433c64e7e"
,
key
:
"[握手]"
,
keyCode
:
"/:share"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/fe962ed9-d581-4bcf-bf9e-8672e45353ef"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/fe962ed9-d581-4bcf-bf9e-8672e45353ef"
,
key
:
"[胜利]"
,
keyCode
:
"/:v"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/27f6adac-c525-4b8e-817d-f79e8b595ad8"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/ab16d400-9bb0-493d-9973-5cf97f6f8ab2"
,
key
:
"[抱拳]"
,
keyCode
:
"/:@)"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/ef165f66-cf6b-4588-81a6-e01a31679670"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/1e701efe-b602-4570-a957-5ba12486a853"
,
key
:
"[勾引]"
,
keyCode
:
"/:jj"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/c230a194-9f2f-4690-84ce-194aed18143b"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/fb9d43d1-506d-4684-8fc2-62a9cd528feb"
,
key
:
"[拳头]"
,
keyCode
:
"/:@@"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/4d963fc7-20c0-4942-b6f6-eb9282c509a6"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/443b1f18-c10d-4803-9a1d-698075874fcf"
,
key
:
"[差劲]"
,
keyCode
:
"/:bad"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/ac3fe192-103c-48f1-bd30-293d5f7551d0"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/8f0ce5ac-c0b6-4936-8091-953b13d1d091"
,
key
:
"[爱你]"
,
keyCode
:
"/:lvu"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/68d642b4-0573-4821-8c42-ecfdaf8ceeb9"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/633fc189-ab89-4ee5-9325-01f7b6c2a3fe"
,
key
:
"[NO]"
,
keyCode
:
"/:no"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/ceb1580b-e0b1-4fcf-a3d9-66b83346cc43"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/a80685a2-4e41-461c-b67d-e2092c2ba068"
,
key
:
"[OK]"
,
keyCode
:
"/:ok"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/1732e5d1-ab4b-4c63-9571-171feac408ef"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/a83394ea-9191-4eff-a3ca-84646ee748e4"
,
key
:
"[爱情]"
,
keyCode
:
"/:love"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/f15cf2a7-89d8-48c5-bd63-0e550a240813"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/b23f441c-2329-468b-a09a-e6a1d2cc38cf"
,
key
:
"[飞吻]"
,
keyCode
:
"/:<L>"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/7be4b8d5-6b2c-4c8c-9444-3e82057e6aca"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/db11cfab-1be4-4279-b11a-18787247513d"
,
key
:
"[跳跳]"
,
keyCode
:
"/:jump"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/a1147a2d-8fe4-4dac-b14b-4d144ce5e2f7"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/9e243eca-c1e3-4afa-a068-8260af2eb62b"
,
key
:
"[发抖]"
,
keyCode
:
"/:shake"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/845e5982-a104-4ca7-be4c-ef176a360c25"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/1695538d-744f-418b-9362-6eb052642163"
,
key
:
"[怄火]"
,
keyCode
:
"/:<O>"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/fd84d952-e6d0-498b-865c-4f9aaf570d81"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/4ae21d0e-b019-4ab8-a607-8e43b8f24bf1"
,
key
:
"[转圈]"
,
keyCode
:
"/:circle"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/976e7ef5-4381-4f98-8a94-b1647c501357"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/e63c5775-da40-480a-bf57-2fac6b88c372"
,
key
:
"[磕头]"
,
keyCode
:
"/:kotow"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/705e70c6-5524-4dc8-840b-ddf0a5558024"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/fa8c6f1d-3fe6-4ffe-b62b-bc6f6024a681"
,
key
:
"[回头]"
,
keyCode
:
"/:turn"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/069837fd-9b7c-4dfe-9203-2cc747c083d0"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/64a70d02-8888-4c23-93fc-a94c63589ea8"
,
key
:
"[跳绳]"
,
keyCode
:
"/:skip"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/ebeb6e1d-a159-4d11-9a41-e639c1b82203"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/6b12c653-0027-4c44-a9f2-d0bac2d405bf"
,
key
:
"[投降]"
,
keyCode
:
"/:oY"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/2da0f4d4-37ed-43bd-ba44-0f3a65c2f46c"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/21d5b626-e190-4a65-9c88-c4bfcb4261d7"
,
key
:
"[激动]"
,
keyCode
:
"/:#-0"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/6d34badb-1972-4b3f-9d42-f054f365ed5a"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/bc51d1d4-42de-442a-8e94-74ae0dd5abd0"
,
key
:
"[乱舞]"
,
keyCode
:
"/:hiphot"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/4e35c97d-f497-4fa8-8cf4-bd6fd8d7f9ad"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/6856fc16-279a-45cd-9ab3-9396d382f502"
,
key
:
"[献吻]"
,
keyCode
:
"/:kiss"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/209d7202-5972-445e-a0f6-336cbe8b0b9d"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/fadeb841-e07c-47f7-b948-081eabb556b9"
,
key
:
"[左太极]"
,
keyCode
:
"/:<&"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/f566cd87-b948-4929-bfcc-955385937095"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/4b08fdfe-9ea8-420a-9eda-998b6ad2045f"
,
key
:
"[右太极]"
,
keyCode
:
"/:&>"
}],
b
=
{
props
:{
editRow
:{
type
:
Object
,
default
:
function
(){
return
{}}},
categoryId
:{
type
:
Object
,
default
:
function
(){
return
""
}}},
components
:{
limitInput
:
i
.
a
,
limitTextarea
:
f
.
a
},
data
:
function
(){
return
{
editPersion
:
localStorage
.
getItem
(
"userName"
),
dialogVisible
:
!
0
,
ruleForm
:{
materialId
:
""
,
materialTitle
:
""
,
materialContent
:
""
},
rules
:{
materialTitle
:[{
required
:
!
0
,
message
:
"请输入文本标题"
,
trigger
:
"blur"
}],
materialContent
:[{
required
:
!
0
,
message
:
"请输入文本内容"
,
trigger
:
"blur"
}]},
emojiList
:
h
}},
methods
:{
handleInput
:
function
(
e
){
this
.
ruleForm
.
materialContent
=
e
.
target
.
innerText
},
selectEmoji
:
function
(
e
){
this
.
ruleForm
.
materialContent
=
this
.
ruleForm
.
materialContent
+
e
.
key
},
toCancel
:
function
(){
this
.
$emit
(
"closeText"
),
this
.
$refs
.
ruleForm
.
resetFields
()},
handleClose
:
function
(
e
){
this
.
$emit
(
"closeText"
),
this
.
$refs
.
ruleForm
.
resetFields
()},
submitForm
:
Object
(
o
.
a
)(
function
(
e
){
var
t
=
this
;
t
.
$refs
[
e
].
validate
(
function
(
e
){
e
&&
t
.
postSave
()})},
300
),
postSave
:
function
(){
var
e
=
this
,
t
=
{
categoryId
:
e
.
categoryId
,
materialType
:
1
,
materialId
:
e
.
ruleForm
.
materialId
,
materialTitle
:
e
.
ruleForm
.
materialTitle
,
materialContent
:
e
.
ruleForm
.
materialContent
};
Object
(
r
.
d
)(
e
.
ruleForm
.
materialId
?
"/haoban-manage3-web/material-edit"
:
"/haoban-manage3-web/material-add"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
1
==
a
.
errorCode
?(
l
.
a
.
showmsg
(
"操作成功"
,
"success"
),
e
.
$refs
.
ruleForm
.
resetFields
(),
e
.
$emit
(
"submitText"
)):
c
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{
editRow
:
function
(
e
){
g
()(
e
).
length
&&
(
this
.
ruleForm
=
JSON
.
parse
(
m
()(
e
)))}},
mounted
:
function
(){
g
()(
this
.
editRow
).
length
&&
(
this
.
ruleForm
=
JSON
.
parse
(
m
()(
this
.
editRow
)))}},
y
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"el-dialog"
,{
attrs
:{
title
:
e
.
editRow
.
materialId
?
"编辑文本"
:
"新建文本"
,
visible
:
e
.
dialogVisible
,
width
:
"600px"
,
"before-close"
:
e
.
handleClose
},
on
:{
"update:visible"
:
function
(
t
){
e
.
dialogVisible
=
t
}}},[
a
(
"div"
,{},[
a
(
"el-form"
,{
ref
:
"ruleForm"
,
staticClass
:
"demo-ruleForm"
,
attrs
:{
model
:
e
.
ruleForm
,
rules
:
e
.
rules
,
"label-width"
:
"100px"
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"文本标题"
,
prop
:
"materialTitle"
}},[
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
440
,
inputValue
:
e
.
ruleForm
.
materialTitle
,
holder
:
"请输入文本标题"
,
getByType
:
"word"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"materialTitle"
,
t
)}}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"内容"
,
prop
:
"materialContent"
}},[
a
(
"div"
,{
staticClass
:
"material-content"
},[
a
(
"limit-textarea"
,{
staticClass
:
"material-body"
,
attrs
:{
inputWidth
:
440
,
inputValue
:
e
.
ruleForm
.
materialContent
,
holder
:
"请输入内容"
,
getByType
:
"char"
,
maxLength
:
4
e3
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"materialContent"
,
t
)}}}),
e
.
_v
(
" "
),
a
(
"el-popover"
,{
attrs
:{
placement
:
"top"
,
width
:
"388"
,
trigger
:
"click"
}},[
a
(
"ul"
,{
staticClass
:
"flex flex-wrap"
},
e
.
_l
(
e
.
emojiList
,
function
(
t
,
i
){
return
a
(
"li"
,{
key
:
i
+
"emoji"
},[
a
(
"img"
,{
attrs
:{
src
:
t
.
gifUrl
,
alt
:
""
},
on
:{
click
:
function
(
a
){
e
.
selectEmoji
(
t
)}}})])})),
e
.
_v
(
" "
),
a
(
"img"
,{
staticClass
:
"emoji-img cursor-pointer"
,
attrs
:{
slot
:
"reference"
,
src
:
"https://pic01-10001430.image.myqcloud.com/b0d3c14f-69e7-4753-8fbc-3bffcff9f8ce"
,
alt
:
""
},
slot
:
"reference"
})])],
1
)])],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"el-button"
,{
on
:{
click
:
e
.
toCancel
}},[
e
.
_v
(
"取消"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
submitForm
(
"ruleForm"
)}}},[
e
.
_v
(
"确定"
)])],
1
)])},
staticRenderFns
:[]};
var
v
=
a
(
"VU/8"
)(
b
,
y
,
!
1
,
function
(
e
){
a
(
"J7IQ"
)},
"data-v-4acf2108"
,
null
).
exports
,
C
=
a
(
"//Fk"
),
w
=
a
.
n
(
C
),
k
=
{
name
:
"single-upload"
,
props
:{
videoSrc
:{
type
:
String
,
default
:
""
},
imgSrc
:{
type
:
String
,
default
:
""
},
field
:{
type
:
String
,
default
:
""
},
uploadLimit
:{
type
:[
Number
,
String
],
default
:
2
},
uploadType
:{
type
:[
Number
,
String
],
default
:
1
}},
data
:
function
(){
return
{
projectName
:
""
,
imgShowFlag
:
!
1
,
imgUrl
:
""
,
videoFlag
:
!
1
,
fileType
:
1
==
this
.
uploadType
||
2
==
this
.
uploadType
?
"jpg"
:
"mp4"
}},
beforeMount
:
function
(){
var
e
=
window
.
location
.
origin
;
-
1
!=
e
.
indexOf
(
"localhost"
)?
this
.
baseUrl
=
"http://www.gicdev.com"
:
this
.
baseUrl
=
e
},
methods
:{
uploadUrl
:
function
(){
var
e
=
window
.
location
.
origin
,
t
=
void
0
;
return
t
=
"-1"
!=
e
.
indexOf
(
"localhost"
)?
"http://www.gicdev.com"
:
e
,
this
.
upUrl
=
t
+
"/haoban-manage3-web/upload-file?fileType="
+
this
.
fileType
,
this
.
upUrl
},
handleAvatarSuccess
:
function
(
e
,
t
,
a
){
1
==
e
.
errorCode
?(
console
.
log
(
e
),
this
.
videoFlag
=!
1
,
3
==
this
.
uploadType
?
this
.
$emit
(
"update:videoSrc"
,
e
.
result
.
url
):
this
.
$emit
(
"update:imgSrc"
,
e
.
result
.
url
)):
c
.
a
.
errorMsg
(
e
)},
beforeAvatarUpload
:
function
(
e
){
console
.
log
(
e
),
this
.
fileType
=
"image/jpeg"
===
e
.
type
?
"jpeg"
:
"image/jpg"
===
e
.
type
?
"jpg"
:
"image/png"
===
e
.
type
?
"png"
:
"video/mp4"
==
e
.
type
?
"mp4"
:
""
;
var
t
=
"image/jpeg"
===
e
.
type
||
"image/jpg"
===
e
.
type
||
"image/png"
===
e
.
type
,
a
=
"video/mp4"
==
e
.
type
,
i
=
e
.
size
/
1024
/
1024
<
this
.
uploadLimit
;
return
1
!=
this
.
uploadType
&&
2
!=
this
.
uploadType
||
t
||
this
.
$message
.
error
(
"上传图片支持png、jpg、jpeg格式!"
),
1
!=
this
.
uploadType
&&
2
!=
this
.
uploadType
||
i
||
this
.
$message
.
error
(
"上传图片大小不能超过 "
+
this
.
uploadLimit
+
"MB!"
),
3
!=
this
.
uploadType
||
a
||
this
.
$message
.
error
(
"上传视频支持MP4格式!"
),
3
!=
this
.
uploadType
||
i
||
this
.
$message
.
error
(
"上传视频大小不能超过 "
+
this
.
uploadLimit
+
"MB!"
),
3
==
this
.
uploadType
?
a
&&
i
:
t
&&
i
&&
new
w
.
a
(
function
(
t
,
a
){
var
i
=
new
FileReader
;
i
.
onload
=
function
(
e
){
var
a
=
new
Image
;
a
.
onload
=
function
(){
this
.
width
,
this
.
height
;
t
()},
a
.
src
=
e
.
target
.
result
},
i
.
readAsDataURL
(
e
)})},
showImage
:
function
(
e
){
if
(
!
e
||
""
==
e
)
return
!
1
;
this
.
imgShowFlag
=!
0
,
this
.
imgUrl
=
e
},
hideImage
:
function
(
e
){
this
.
imgShowFlag
=
e
}}},
_
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"single-upload-wrap"
},[
a
(
"el-upload"
,{
staticClass
:
"avatar-uploader"
,
attrs
:{
action
:
e
.
uploadUrl
(),
"show-file-list"
:
!
1
,
"on-success"
:
e
.
handleAvatarSuccess
,
"before-upload"
:
e
.
beforeAvatarUpload
}},[
e
.
imgSrc
?
a
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
e
.
imgSrc
},
on
:{
mouseover
:
function
(
t
){
e
.
showImage
(
e
.
imgSrc
)}}}):
e
.
_e
(),
e
.
_v
(
" "
),
""
!=
e
.
videoSrc
&&
0
==
e
.
videoFlag
?
a
(
"video"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
e
.
videoSrc
}},[
e
.
_v
(
"您的浏览器不支持视频播放"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
imgSrc
||
e
.
videoSrc
?
e
.
_e
():
a
(
"div"
,[
a
(
"i"
,{
staticClass
:
"el-icon-plus avatar-uploader-icon"
}),
e
.
_v
(
" "
),
a
(
"p"
,{
staticClass
:
"font-12 color-606266"
},[
e
.
_v
(
e
.
_s
(
1
==
e
.
uploadType
||
2
==
e
.
uploadType
?
"上传图片"
:
"上传视频"
))])])]),
e
.
_v
(
" "
),
1
==
e
.
uploadType
?
a
(
"p"
,{
staticClass
:
"upload-tip color-909399 font-12"
},[
e
.
_v
(
"
\
n 图片支持png、jpg、jpeg格式,大小不超过2M,可上传1张
\
n "
)]):
e
.
_e
(),
e
.
_v
(
" "
),
2
==
e
.
uploadType
?
a
(
"p"
,{
staticClass
:
"upload-tip color-909399 font-12"
},[
e
.
_v
(
"
\
n 建议尺寸:160×160;支持jpg、jpeg、png格式,图片大小不超过1MB
\
n "
)]):
e
.
_e
(),
e
.
_v
(
" "
),
3
==
e
.
uploadType
?
a
(
"p"
,{
staticClass
:
"upload-tip color-909399 font-12"
},[
e
.
_v
(
"
\
n 视频支持MP4格式,大小不超过10M,上传企业微信后3天内有效
\
n "
)]):
e
.
_e
()],
1
)},
staticRenderFns
:[]};
var
x
=
a
(
"VU/8"
)(
k
,
_
,
!
1
,
function
(
e
){
a
(
"50B4"
)},
"data-v-08a0ab8c"
,
null
).
exports
,
S
=
{
props
:{
editRow
:{
type
:
Object
,
default
:
function
(){
return
{}}},
categoryId
:{
type
:
Object
,
default
:
function
(){
return
""
}}},
components
:{
limitInput
:
i
.
a
,
limitTextarea
:
f
.
a
,
singleUpload
:
x
},
data
:
function
(){
return
{
editPersion
:
localStorage
.
getItem
(
"userName"
),
dialogVisible
:
!
0
,
ruleForm
:{
materialId
:
""
,
materialTitle
:
""
,
imgUrl
:
""
},
rules
:{
materialTitle
:[{
required
:
!
0
,
message
:
"请输入图片标题"
,
trigger
:
"blur"
}],
imgUrl
:[{
required
:
!
0
,
message
:
"请上传图片"
,
trigger
:
"blur"
}]},
emojiList
:
h
}},
methods
:{
toCancel
:
function
(){
this
.
$emit
(
"closeText"
),
this
.
$refs
.
ruleForm
.
resetFields
()},
handleClose
:
function
(
e
){
this
.
$emit
(
"closeText"
),
this
.
$refs
.
ruleForm
.
resetFields
()},
submitForm
:
Object
(
o
.
a
)(
function
(
e
){
var
t
=
this
;
t
.
$refs
[
e
].
validate
(
function
(
e
){
e
&&
t
.
postSave
()})},
300
),
postSave
:
function
(){
var
e
=
this
,
t
=
{
categoryId
:
e
.
categoryId
,
materialType
:
2
,
materialId
:
e
.
ruleForm
.
materialId
,
materialTitle
:
e
.
ruleForm
.
materialTitle
,
imgUrl
:
e
.
ruleForm
.
imgUrl
};
Object
(
r
.
d
)(
e
.
ruleForm
.
materialId
?
"/haoban-manage3-web/material-edit"
:
"/haoban-manage3-web/material-add"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
1
==
a
.
errorCode
?(
l
.
a
.
showmsg
(
"操作成功"
,
"success"
),
e
.
$refs
.
ruleForm
.
resetFields
(),
e
.
$emit
(
"submitText"
)):
c
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{
editRow
:
function
(
e
){
g
()(
e
).
length
&&
(
this
.
ruleForm
=
JSON
.
parse
(
m
()(
e
)))}},
mounted
:
function
(){
g
()(
this
.
editRow
).
length
&&
(
this
.
ruleForm
=
JSON
.
parse
(
m
()(
this
.
editRow
)))}},
T
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"el-dialog"
,{
attrs
:{
title
:
e
.
editRow
.
materialId
?
"编辑图片"
:
"新建图片"
,
visible
:
e
.
dialogVisible
,
width
:
"600px"
,
"before-close"
:
e
.
handleClose
},
on
:{
"update:visible"
:
function
(
t
){
e
.
dialogVisible
=
t
}}},[
a
(
"div"
,{},[
a
(
"el-form"
,{
ref
:
"ruleForm"
,
staticClass
:
"demo-ruleForm"
,
attrs
:{
model
:
e
.
ruleForm
,
rules
:
e
.
rules
,
"label-width"
:
"100px"
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"图片标题"
,
prop
:
"materialTitle"
}},[
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
440
,
inputValue
:
e
.
ruleForm
.
materialTitle
,
holder
:
"请输入图片标题"
,
getByType
:
"word"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"materialTitle"
,
t
)}}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"图片"
,
prop
:
"imgUrl"
}},[
a
(
"single-upload"
,{
attrs
:{
uploadType
:
"1"
,
imgSrc
:
e
.
ruleForm
.
imgUrl
},
on
:{
"update:imgSrc"
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"imgUrl"
,
t
)}}})],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"el-button"
,{
on
:{
click
:
e
.
toCancel
}},[
e
.
_v
(
"取消"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
submitForm
(
"ruleForm"
)}}},[
e
.
_v
(
"确定"
)])],
1
)])},
staticRenderFns
:[]};
var
U
=
a
(
"VU/8"
)(
S
,
T
,
!
1
,
function
(
e
){
a
(
"UwuL"
)},
"data-v-1b09f0ee"
,
null
).
exports
,
I
=
{
props
:{
editRow
:{
type
:
Object
,
default
:
function
(){
return
{}}},
categoryId
:{
type
:
Object
,
default
:
function
(){
return
""
}}},
components
:{
limitInput
:
i
.
a
,
limitTextarea
:
f
.
a
,
singleUpload
:
x
},
data
:
function
(){
return
{
editPersion
:
localStorage
.
getItem
(
"userName"
),
dialogVisible
:
!
0
,
ruleForm
:{
materialId
:
""
,
link
:
""
,
materialTitle
:
""
,
materialDesc
:
""
,
imgUrl
:
""
},
rules
:{
materialTitle
:[{
required
:
!
0
,
message
:
"请输入网页标题"
,
trigger
:
"blur"
}],
link
:[{
required
:
!
0
,
validator
:
function
(
e
,
t
,
a
){
""
===
t
?
a
(
new
Error
(
"请输入链接"
)):
/
(
http|ftp|https
)
:
\/\/[\w\-
_
]
+
(\.[\w\-
_
]
+
)
+
([\w\-\.
,@?^=%&:
/
~
\+
#
]
*
[\w\-\@
?^=%&
/
~
\+
#
])?
/
.
test
(
t
)?
a
():
a
(
new
Error
(
"请输入链接,正确格式:https://www.XXX.com!"
))},
trigger
:
"blur"
}],
materialDesc
:[{
required
:
!
0
,
message
:
"请输入摘要"
,
trigger
:
"blur"
}],
imgUrl
:[{
required
:
!
0
,
message
:
"请上传网页封面"
,
trigger
:
"blur"
}]},
emojiList
:
h
}},
methods
:{
toCancel
:
function
(){
this
.
$emit
(
"closeText"
),
this
.
$refs
.
ruleForm
.
resetFields
()},
handleClose
:
function
(
e
){
this
.
$emit
(
"closeText"
),
this
.
$refs
.
ruleForm
.
resetFields
()},
submitForm
:
Object
(
o
.
a
)(
function
(
e
){
var
t
=
this
;
t
.
$refs
[
e
].
validate
(
function
(
e
){
e
&&
t
.
postSave
()})},
300
),
postSave
:
function
(){
var
e
=
this
,
t
=
{
categoryId
:
e
.
categoryId
,
materialType
:
3
,
link
:
e
.
ruleForm
.
link
,
materialId
:
e
.
ruleForm
.
materialId
,
materialTitle
:
e
.
ruleForm
.
materialTitle
,
imgUrl
:
e
.
ruleForm
.
imgUrl
,
materialDesc
:
e
.
ruleForm
.
materialDesc
};
Object
(
r
.
d
)(
e
.
ruleForm
.
materialId
?
"/haoban-manage3-web/material-edit"
:
"/haoban-manage3-web/material-add"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
1
==
a
.
errorCode
?(
l
.
a
.
showmsg
(
"操作成功"
,
"success"
),
e
.
$refs
.
ruleForm
.
resetFields
(),
e
.
$emit
(
"submitText"
)):
c
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{
editRow
:
function
(
e
){
g
()(
e
).
length
&&
(
this
.
ruleForm
=
JSON
.
parse
(
m
()(
e
)))}},
mounted
:
function
(){
g
()(
this
.
editRow
).
length
&&
(
this
.
ruleForm
=
JSON
.
parse
(
m
()(
this
.
editRow
)))}},
q
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"el-dialog"
,{
attrs
:{
title
:
e
.
editRow
.
materialId
?
"编辑网页"
:
"新建网页"
,
visible
:
e
.
dialogVisible
,
width
:
"600px"
,
"before-close"
:
e
.
handleClose
},
on
:{
"update:visible"
:
function
(
t
){
e
.
dialogVisible
=
t
}}},[
a
(
"div"
,{},[
a
(
"el-form"
,{
ref
:
"ruleForm"
,
staticClass
:
"demo-ruleForm"
,
attrs
:{
model
:
e
.
ruleForm
,
rules
:
e
.
rules
,
"label-width"
:
"100px"
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"网页标题"
,
prop
:
"materialTitle"
}},[
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
440
,
inputValue
:
e
.
ruleForm
.
materialTitle
,
holder
:
"请输入网页标题"
,
getByType
:
"word"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"materialTitle"
,
t
)}}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"链接"
,
prop
:
"link"
}},[
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
440
,
inputValue
:
e
.
ruleForm
.
link
,
holder
:
"请输入链接,格式需带https://www,或http://www"
,
getByType
:
"word"
,
maxLength
:
200
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"link"
,
t
)}}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"摘要"
,
prop
:
"materialDesc"
}},[
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
440
,
inputValue
:
e
.
ruleForm
.
materialDesc
,
holder
:
"请输入网页摘要"
,
getByType
:
"word"
,
maxLength
:
200
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"materialDesc"
,
t
)}}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"封面"
,
prop
:
"imgUrl"
}},[
a
(
"single-upload"
,{
attrs
:{
uploadType
:
"2"
,
uploadLimit
:
1
,
imgSrc
:
e
.
ruleForm
.
imgUrl
},
on
:{
"update:imgSrc"
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"imgUrl"
,
t
)}}})],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"el-button"
,{
on
:{
click
:
e
.
toCancel
}},[
e
.
_v
(
"取消"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
submitForm
(
"ruleForm"
)}}},[
e
.
_v
(
"确定"
)])],
1
)])},
staticRenderFns
:[]};
var
F
=
a
(
"VU/8"
)(
I
,
q
,
!
1
,
function
(
e
){
a
(
"cs5P"
)},
"data-v-bc359874"
,
null
).
exports
,
D
=
{
props
:{
editRow
:{
type
:
Object
,
default
:
function
(){
return
{}}},
categoryId
:{
type
:
Object
,
default
:
function
(){
return
""
}}},
components
:{
limitInput
:
i
.
a
,
limitTextarea
:
f
.
a
,
singleUpload
:
x
},
data
:
function
(){
return
{
editPersion
:
localStorage
.
getItem
(
"userName"
),
dialogVisible
:
!
0
,
ruleForm
:{
materialId
:
""
,
materialTitle
:
""
,
link
:
""
,
imgUrl
:
""
},
rules
:{
materialTitle
:[{
required
:
!
0
,
message
:
"请输入视频标题"
,
trigger
:
"blur"
}],
link
:[{
required
:
!
0
,
message
:
"请上传视频"
,
trigger
:
"blur"
}],
imgUrl
:[{
required
:
!
0
,
message
:
"请上传封面"
,
trigger
:
"blur"
}]},
emojiList
:
h
}},
methods
:{
toCancel
:
function
(){
this
.
$emit
(
"closeText"
),
this
.
$refs
.
ruleForm
.
resetFields
()},
handleClose
:
function
(
e
){
this
.
$emit
(
"closeText"
),
this
.
$refs
.
ruleForm
.
resetFields
()},
submitForm
:
Object
(
o
.
a
)(
function
(
e
){
var
t
=
this
;
t
.
$refs
[
e
].
validate
(
function
(
e
){
e
&&
t
.
postSave
()})},
300
),
postSave
:
function
(){
var
e
=
this
,
t
=
{
categoryId
:
e
.
categoryId
,
materialType
:
4
,
materialId
:
e
.
ruleForm
.
materialId
,
materialTitle
:
e
.
ruleForm
.
materialTitle
,
link
:
e
.
ruleForm
.
link
,
imgUrl
:
e
.
ruleForm
.
imgUrl
};
Object
(
r
.
d
)(
e
.
ruleForm
.
materialId
?
"/haoban-manage3-web/material-edit"
:
"/haoban-manage3-web/material-add"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
1
==
a
.
errorCode
?(
l
.
a
.
showmsg
(
"操作成功"
,
"success"
),
e
.
$refs
.
ruleForm
.
resetFields
(),
e
.
$emit
(
"submitText"
)):
c
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{
editRow
:
function
(
e
){
g
()(
e
).
length
&&
(
this
.
ruleForm
=
JSON
.
parse
(
m
()(
e
)))}},
mounted
:
function
(){
g
()(
this
.
editRow
).
length
&&
(
this
.
ruleForm
=
JSON
.
parse
(
m
()(
this
.
editRow
)))}},
$
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"el-dialog"
,{
attrs
:{
title
:
e
.
editRow
.
materialId
?
"编辑视频"
:
"新建视频"
,
visible
:
e
.
dialogVisible
,
width
:
"600px"
,
"before-close"
:
e
.
handleClose
},
on
:{
"update:visible"
:
function
(
t
){
e
.
dialogVisible
=
t
}}},[
a
(
"div"
,{},[
a
(
"el-form"
,{
ref
:
"ruleForm"
,
staticClass
:
"demo-ruleForm"
,
attrs
:{
model
:
e
.
ruleForm
,
rules
:
e
.
rules
,
"label-width"
:
"100px"
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"视频标题"
,
prop
:
"materialTitle"
}},[
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
440
,
inputValue
:
e
.
ruleForm
.
materialTitle
,
holder
:
"请输入视频标题"
,
getByType
:
"word"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"materialTitle"
,
t
)}}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"封面"
,
prop
:
"imgUrl"
}},[
a
(
"single-upload"
,{
attrs
:{
uploadType
:
"2"
,
uploadLimit
:
1
,
imgSrc
:
e
.
ruleForm
.
imgUrl
},
on
:{
"update:imgSrc"
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"imgUrl"
,
t
)}}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"视频"
,
prop
:
"link"
}},[
a
(
"single-upload"
,{
attrs
:{
uploadType
:
"3"
,
uploadLimit
:
10
,
videoSrc
:
e
.
ruleForm
.
link
},
on
:{
"update:videoSrc"
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"link"
,
t
)}}})],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"el-button"
,{
on
:{
click
:
e
.
toCancel
}},[
e
.
_v
(
"取消"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
submitForm
(
"ruleForm"
)}}},[
e
.
_v
(
"确定"
)])],
1
)])},
staticRenderFns
:[]};
var
N
=
a
(
"VU/8"
)(
D
,
$
,
!
1
,
function
(
e
){
a
(
"6vKc"
)},
"data-v-78cf93bb"
,
null
).
exports
,
j
=
{
props
:{
editRow
:{
type
:
Object
,
default
:
function
(){
return
{}}},
categoryId
:{
type
:
Object
,
default
:
function
(){
return
""
}}},
components
:{
limitInput
:
i
.
a
},
data
:
function
(){
return
{
editPersion
:
localStorage
.
getItem
(
"userName"
),
dialogVisible
:
!
0
,
ruleForm
:{
materialId
:
""
,
materialTitle
:
""
,
link
:
""
},
rules
:{
materialTitle
:[{
required
:
!
0
,
message
:
"请输入文件标题"
,
trigger
:
"blur"
}],
link
:[{
required
:
!
0
,
message
:
"请上传文件"
,
trigger
:
"blur"
}]},
emojiList
:
h
,
fileType
:
".doc"
,
fileDatas
:[]}},
methods
:{
uploadUrl
:
function
(){
var
e
=
window
.
location
.
origin
,
t
=
void
0
;
return
t
=
"-1"
!=
e
.
indexOf
(
"localhost"
)?
"http://www.gicdev.com"
:
e
,
this
.
upUrl
=
t
+
"/haoban-manage3-web/upload-file?fileType="
+
this
.
fileType
,
this
.
upUrl
},
beforeFileUpload
:
function
(
e
){
var
t
=
e
.
name
.
split
(
"."
),
a
=
t
[
t
.
length
-
1
],
i
=
a
.
includes
(
"pdf"
)
||
a
.
includes
(
"doc"
)
||
a
.
includes
(
"xls"
)
||
a
.
includes
(
"ppt"
)
||
a
.
includes
(
"zip"
)
||
a
.
includes
(
"rar"
),
o
=
e
.
size
/
1024
/
1024
<=
20
;
return
o
||
this
.
$message
.
error
(
"文件大小超出20M,无法上传"
),
i
?
o
&&
i
:(
this
.
$message
.
error
(
"仅支持word及excle,pdf,ppt,zip,rar格式"
),
!
1
)},
handleRemove
:
function
(
e
,
t
){},
handleExceed
:
function
(
e
,
t
){
this
.
$message
.
warning
(
"当前限制选择 1 个文件,本次选择了 "
+
e
.
length
+
" 个文件,共选择了 "
+
(
e
.
length
+
t
.
length
)
+
" 个文件"
)},
handleFileSuccess
:
function
(
e
,
t
){
this
.
ruleForm
.
link
=
e
.
result
.
url
},
handleFileChange
:
function
(
e
,
t
){
this
.
fileDatas
=
t
},
handleInput
:
function
(
e
){
this
.
ruleForm
.
materialContent
=
e
.
target
.
innerText
},
selectEmoji
:
function
(
e
){
this
.
ruleForm
.
materialContent
=
this
.
ruleForm
.
materialContent
+
e
.
key
},
toCancel
:
function
(){
this
.
$emit
(
"closeText"
),
this
.
$refs
.
ruleForm
.
resetFields
()},
handleClose
:
function
(
e
){
this
.
$emit
(
"closeText"
),
this
.
$refs
.
ruleForm
.
resetFields
()},
submitForm
:
Object
(
o
.
a
)(
function
(
e
){
var
t
=
this
;
t
.
$refs
[
e
].
validate
(
function
(
e
){
e
&&
t
.
postSave
()})},
300
),
postSave
:
function
(){
var
e
=
this
,
t
=
{
categoryId
:
e
.
categoryId
,
materialType
:
5
,
materialId
:
e
.
ruleForm
.
materialId
,
materialTitle
:
e
.
ruleForm
.
materialTitle
,
link
:
e
.
ruleForm
.
link
};
Object
(
r
.
d
)(
e
.
ruleForm
.
materialId
?
"/haoban-manage3-web/material-edit"
:
"/haoban-manage3-web/material-add"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
1
==
a
.
errorCode
?(
l
.
a
.
showmsg
(
"操作成功"
,
"success"
),
e
.
$refs
.
ruleForm
.
resetFields
(),
e
.
$emit
(
"submitText"
)):
c
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{
editRow
:
function
(
e
){
g
()(
e
).
length
&&
(
this
.
ruleForm
=
JSON
.
parse
(
m
()(
e
)),
this
.
fileDatas
=
[{
name
:
e
.
link
.
split
(
"/"
)[
5
],
url
:
e
.
link
}])}},
mounted
:
function
(){
g
()(
this
.
editRow
).
length
&&
(
this
.
ruleForm
=
JSON
.
parse
(
m
()(
this
.
editRow
)),
this
.
fileDatas
=
[{
name
:
this
.
editRow
.
link
.
split
(
"/"
)[
5
],
url
:
this
.
editRow
.
link
}])}},
O
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"el-dialog"
,{
attrs
:{
title
:
e
.
editRow
.
materialId
?
"编辑文件"
:
"新建文件"
,
visible
:
e
.
dialogVisible
,
width
:
"600px"
,
"before-close"
:
e
.
handleClose
},
on
:{
"update:visible"
:
function
(
t
){
e
.
dialogVisible
=
t
}}},[
a
(
"div"
,{},[
a
(
"el-form"
,{
ref
:
"ruleForm"
,
staticClass
:
"demo-ruleForm"
,
attrs
:{
model
:
e
.
ruleForm
,
rules
:
e
.
rules
,
"label-width"
:
"100px"
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"文件标题"
,
prop
:
"materialTitle"
}},[
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
440
,
inputValue
:
e
.
ruleForm
.
materialTitle
,
holder
:
"请输入文件标题"
,
getByType
:
"word"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"materialTitle"
,
t
)}}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"文件"
,
prop
:
"link"
}},[
a
(
"el-upload"
,{
staticClass
:
"upload-demo"
,
attrs
:{
action
:
e
.
uploadUrl
(),
"before-upload"
:
e
.
beforeFileUpload
,
"on-success"
:
e
.
handleFileSuccess
,
"on-change"
:
e
.
handleFileChange
,
"on-remove"
:
e
.
handleRemove
,
limit
:
1
,
"on-exceed"
:
e
.
handleExceed
,
"file-list"
:
e
.
fileDatas
}},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
}},[
a
(
"i"
,{
staticClass
:
"el-icon-upload el-icon--right"
,
staticStyle
:{
"font-size"
:
"16px"
,
"padding-right"
:
"5px"
}}),
e
.
_v
(
"上传"
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"font-12 color-909399"
,
attrs
:{
slot
:
"tip"
},
slot
:
"tip"
},[
e
.
_v
(
"普通文件,不大于20MB。支持word及excel,pdf,ppt,zip,rar格式"
)])],
1
)],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"el-button"
,{
on
:{
click
:
e
.
toCancel
}},[
e
.
_v
(
"取消"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
submitForm
(
"ruleForm"
)}}},[
e
.
_v
(
"确定"
)])],
1
)])},
staticRenderFns
:[]};
var
R
=
a
(
"VU/8"
)(
j
,
O
,
!
1
,
function
(
e
){
a
(
"fb+e"
)},
"data-v-36ecfd10"
,
null
).
exports
,
z
=
{
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}},
categoryId
:{
type
:
String
,
default
:
function
(){
return
""
}},
textTableData
:{
type
:[
Array
,
Object
],
default
:
function
(){
return
[]}},
currentPage
:{
type
:[
String
,
Number
],
default
:
function
(){
return
1
}},
pageSize
:{
type
:[
String
,
Number
],
default
:
function
(){
return
20
}},
total
:{
type
:[
String
,
Number
],
default
:
function
(){
return
0
}}},
data
:
function
(){
return
{
tableData
:[],
multipleSelection
:[],
textShow
:
!
1
,
editRow
:{}}},
computed
:{},
methods
:{
closeText
:
function
(){
this
.
textShow
=!
1
,
this
.
editRow
=
{}},
submitText
:
function
(){
this
.
textShow
=!
1
,
this
.
editRow
=
{},
this
.
$emit
(
"refreshTable"
)},
toEdit
:
function
(
e
,
t
){
this
.
textShow
=!
0
,
this
.
editRow
=
t
},
toDel
:
function
(
e
,
t
){
var
a
=
this
;
a
.
$confirm
(
"确定删除当前素材?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
postDel
(
e
,
t
)}).
catch
(
function
(){})},
postDel
:
function
(
e
,
t
){
var
a
=
this
,
i
=
{
materialIds
:
t
.
materialId
};
Object
(
r
.
d
)(
"/haoban-manage3-web/material-del"
,
i
).
then
(
function
(
e
){
var
t
=
e
.
data
;
if
(
1
==
t
.
errorCode
)
return
l
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
a
.
$emit
(
"refreshTable"
);
c
.
a
.
errorMsg
(
t
)}).
catch
(
function
(
e
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
handleSelectionChange
:
function
(
e
){
this
.
multipleSelection
=
e
,
this
.
$emit
(
"handleSelectionChange"
,
e
)},
multDel
:
function
(){
if
(
!
this
.
multipleSelection
.
length
)
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请选择删除项"
}),
!
1
;
this
.
showDialog
=!
0
},
hideDialog
:
function
(
e
){
if
(
this
.
showDialog
=!
1
,
!
g
()(
e
).
length
)
return
!
1
;
this
.
postMultDel
(
e
)},
handleSizeChange
:
function
(
e
){
this
.
$emit
(
"handleSizeChange"
,
e
)},
handleCurrentChange
:
function
(
e
){
this
.
$emit
(
"handleCurrentChange"
,
e
)}},
watch
:{
textTableData
:
function
(
e
,
t
){
e
.
length
?
this
.
tableData
=
JSON
.
parse
(
m
()(
e
)):
this
.
tableData
=
[]}},
mounted
:
function
(){
this
.
activeBrand
=
this
.
brandId
,
this
.
textTableData
.
length
?
this
.
tableData
=
JSON
.
parse
(
m
()(
this
.
textTableData
)):
this
.
tableData
=
[]},
components
:{
textEdit
:
v
}},
P
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"text-table-body"
},[
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
style
:{
width
:
"100%"
,
minHeight
:
e
.
tableH
},
attrs
:{
data
:
e
.
tableData
,
"tooltip-effect"
:
"dark"
},
on
:{
"selection-change"
:
e
.
handleSelectionChange
}},[
a
(
"el-table-column"
,{
attrs
:{
"class-name"
:
"hide-ellipsis"
,
type
:
"selection"
,
width
:
"35"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"标题"
,
width
:
"120"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
materialTitle
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"内容"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
materialContent
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"编辑人"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
staffName
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"最近编辑时间"
},
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
.
updateTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToHms"
)(
t
.
row
.
updateTime
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
toEdit
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"编辑"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
toDel
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"删除"
)])]}}])})],
1
),
e
.
_v
(
" "
),
0
!=
e
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
e
.
currentPage
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
e
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
e
.
total
},
on
:{
"size-change"
:
e
.
handleSizeChange
,
"current-change"
:
e
.
handleCurrentChange
}})],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
textShow
?
a
(
"text-edit"
,{
attrs
:{
editRow
:
e
.
editRow
,
categoryId
:
e
.
categoryId
},
on
:{
closeText
:
e
.
closeText
,
submitText
:
e
.
submitText
}}):
e
.
_e
()],
1
)},
staticRenderFns
:[]};
var
L
=
a
(
"VU/8"
)(
z
,
P
,
!
1
,
function
(
e
){
a
(
"b4ba"
)},
"data-v-21a00454"
,
null
).
exports
,
M
=
{
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}},
categoryId
:{
type
:
String
,
default
:
function
(){
return
""
}},
textTableData
:{
type
:[
Array
,
Object
],
default
:
function
(){
return
[]}},
currentPage
:{
type
:[
String
,
Number
],
default
:
function
(){
return
1
}},
pageSize
:{
type
:[
String
,
Number
],
default
:
function
(){
return
20
}},
total
:{
type
:[
String
,
Number
],
default
:
function
(){
return
0
}}},
data
:
function
(){
return
{
tableData
:[],
multipleSelection
:[],
textShow
:
!
1
,
editRow
:{}}},
computed
:{},
methods
:{
closeText
:
function
(){
this
.
textShow
=!
1
,
this
.
editRow
=
{}},
submitText
:
function
(){
this
.
textShow
=!
1
,
this
.
editRow
=
{},
this
.
$emit
(
"refreshTable"
)},
toEdit
:
function
(
e
,
t
){
this
.
textShow
=!
0
,
this
.
editRow
=
t
},
toDel
:
function
(
e
,
t
){
var
a
=
this
;
a
.
$confirm
(
"确定删除当前素材?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
postDel
(
e
,
t
)}).
catch
(
function
(){})},
postDel
:
function
(
e
,
t
){
var
a
=
this
,
i
=
{
materialIds
:
t
.
materialId
};
Object
(
r
.
d
)(
"/haoban-manage3-web/material-del"
,
i
).
then
(
function
(
e
){
var
t
=
e
.
data
;
if
(
1
==
t
.
errorCode
)
return
l
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
a
.
$emit
(
"refreshTable"
);
c
.
a
.
errorMsg
(
t
)}).
catch
(
function
(
e
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
handleSelectionChange
:
function
(
e
){
this
.
multipleSelection
=
e
,
this
.
$emit
(
"handleSelectionChange"
,
e
)},
multDel
:
function
(){
if
(
!
this
.
multipleSelection
.
length
)
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请选择删除项"
}),
!
1
;
this
.
showDialog
=!
0
},
hideDialog
:
function
(
e
){
if
(
this
.
showDialog
=!
1
,
!
g
()(
e
).
length
)
return
!
1
;
this
.
postMultDel
(
e
)},
handleSizeChange
:
function
(
e
){
this
.
$emit
(
"handleSizeChange"
,
e
)},
handleCurrentChange
:
function
(
e
){
this
.
$emit
(
"handleCurrentChange"
,
e
)}},
watch
:{
textTableData
:
function
(
e
,
t
){
e
.
length
?
this
.
tableData
=
JSON
.
parse
(
m
()(
e
)):
this
.
tableData
=
[]}},
mounted
:
function
(){
this
.
activeBrand
=
this
.
brandId
,
this
.
textTableData
.
length
?
this
.
tableData
=
JSON
.
parse
(
m
()(
this
.
textTableData
)):
this
.
tableData
=
[]},
components
:{
imageEdit
:
U
}},
G
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"text-table-body"
},[
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
style
:{
width
:
"100%"
,
minHeight
:
e
.
tableH
},
attrs
:{
data
:
e
.
tableData
,
"tooltip-effect"
:
"dark"
},
on
:{
"selection-change"
:
e
.
handleSelectionChange
}},[
a
(
"el-table-column"
,{
attrs
:{
type
:
"selection"
,
width
:
"35"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"标题"
,
width
:
"120"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
materialTitle
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"内容"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"div"
,{
staticStyle
:{
width
:
"40px"
,
height
:
"40px"
}},[
a
(
"img"
,{
staticStyle
:{
width
:
"40px"
,
height
:
"40px"
},
attrs
:{
src
:
e
.
row
.
imgUrl
,
alt
:
""
}})])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"编辑人"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
staffName
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
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
.
updateTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToHms"
)(
t
.
row
.
updateTime
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
toEdit
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"编辑"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
toDel
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"删除"
)])]}}])})],
1
),
e
.
_v
(
" "
),
0
!=
e
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
e
.
currentPage
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
e
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
e
.
total
},
on
:{
"size-change"
:
e
.
handleSizeChange
,
"current-change"
:
e
.
handleCurrentChange
}})],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
textShow
?
a
(
"image-edit"
,{
attrs
:{
editRow
:
e
.
editRow
,
categoryId
:
e
.
categoryId
},
on
:{
closeText
:
e
.
closeText
,
submitText
:
e
.
submitText
}}):
e
.
_e
()],
1
)},
staticRenderFns
:[]};
var
V
=
a
(
"VU/8"
)(
M
,
G
,
!
1
,
function
(
e
){
a
(
"seTx"
)},
"data-v-7d4a33c4"
,
null
).
exports
,
E
=
{
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}},
categoryId
:{
type
:
String
,
default
:
function
(){
return
""
}},
textTableData
:{
type
:[
Array
,
Object
],
default
:
function
(){
return
[]}},
currentPage
:{
type
:[
String
,
Number
],
default
:
function
(){
return
1
}},
pageSize
:{
type
:[
String
,
Number
],
default
:
function
(){
return
20
}},
total
:{
type
:[
String
,
Number
],
default
:
function
(){
return
0
}}},
data
:
function
(){
return
{
tableData
:[],
multipleSelection
:[],
textShow
:
!
1
,
editRow
:{}}},
computed
:{},
methods
:{
closeText
:
function
(){
this
.
textShow
=!
1
,
this
.
editRow
=
{}},
submitText
:
function
(){
this
.
textShow
=!
1
,
this
.
editRow
=
{},
this
.
$emit
(
"refreshTable"
)},
toEdit
:
function
(
e
,
t
){
this
.
textShow
=!
0
,
this
.
editRow
=
t
},
toDel
:
function
(
e
,
t
){
var
a
=
this
;
a
.
$confirm
(
"确定删除当前素材?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
postDel
(
e
,
t
)}).
catch
(
function
(){})},
postDel
:
function
(
e
,
t
){
var
a
=
this
,
i
=
{
materialIds
:
t
.
materialId
};
Object
(
r
.
d
)(
"/haoban-manage3-web/material-del"
,
i
).
then
(
function
(
e
){
var
t
=
e
.
data
;
if
(
1
==
t
.
errorCode
)
return
l
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
a
.
$emit
(
"refreshTable"
);
c
.
a
.
errorMsg
(
t
)}).
catch
(
function
(
e
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
handleSelectionChange
:
function
(
e
){
this
.
multipleSelection
=
e
,
this
.
$emit
(
"handleSelectionChange"
,
e
)},
multDel
:
function
(){
if
(
!
this
.
multipleSelection
.
length
)
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请选择删除项"
}),
!
1
;
this
.
showDialog
=!
0
},
hideDialog
:
function
(
e
){
if
(
this
.
showDialog
=!
1
,
!
g
()(
e
).
length
)
return
!
1
;
this
.
postMultDel
(
e
)},
handleSizeChange
:
function
(
e
){
this
.
$emit
(
"handleSizeChange"
,
e
)},
handleCurrentChange
:
function
(
e
){
this
.
$emit
(
"handleCurrentChange"
,
e
)}},
watch
:{
textTableData
:
function
(
e
,
t
){
e
.
length
?
this
.
tableData
=
JSON
.
parse
(
m
()(
e
)):
this
.
tableData
=
[]}},
mounted
:
function
(){
this
.
activeBrand
=
this
.
brandId
,
this
.
textTableData
.
length
?
this
.
tableData
=
JSON
.
parse
(
m
()(
this
.
textTableData
)):
this
.
tableData
=
[]},
components
:{
webEdit
:
F
}},
B
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"text-table-body"
},[
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
style
:{
width
:
"100%"
,
minHeight
:
e
.
tableH
},
attrs
:{
data
:
e
.
tableData
,
"tooltip-effect"
:
"dark"
},
on
:{
"selection-change"
:
e
.
handleSelectionChange
}},[
a
(
"el-table-column"
,{
attrs
:{
"class-name"
:
"hide-ellipsis"
,
type
:
"selection"
,
width
:
"35"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"标题"
,
width
:
"120"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
materialTitle
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"封面"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"div"
,{
staticStyle
:{
width
:
"40px"
,
height
:
"40px"
}},[
a
(
"img"
,{
staticStyle
:{
width
:
"40px"
,
height
:
"40px"
},
attrs
:{
src
:
e
.
row
.
imgUrl
,
alt
:
""
}})])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"链接"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
link
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"编辑人"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
staffName
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
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
.
updateTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToHms"
)(
t
.
row
.
updateTime
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
toEdit
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"编辑"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
toDel
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"删除"
)])]}}])})],
1
),
e
.
_v
(
" "
),
0
!=
e
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
e
.
currentPage
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
e
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
e
.
total
},
on
:{
"size-change"
:
e
.
handleSizeChange
,
"current-change"
:
e
.
handleCurrentChange
}})],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
textShow
?
a
(
"web-edit"
,{
attrs
:{
editRow
:
e
.
editRow
,
categoryId
:
e
.
categoryId
},
on
:{
closeText
:
e
.
closeText
,
submitText
:
e
.
submitText
}}):
e
.
_e
()],
1
)},
staticRenderFns
:[]};
var
J
=
a
(
"VU/8"
)(
E
,
B
,
!
1
,
function
(
e
){
a
(
"I8yJ"
)},
"data-v-640572e1"
,
null
).
exports
,
A
=
{
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}},
categoryId
:{
type
:
String
,
default
:
function
(){
return
""
}},
textTableData
:{
type
:[
Array
,
Object
],
default
:
function
(){
return
[]}},
currentPage
:{
type
:[
String
,
Number
],
default
:
function
(){
return
1
}},
pageSize
:{
type
:[
String
,
Number
],
default
:
function
(){
return
20
}},
total
:{
type
:[
String
,
Number
],
default
:
function
(){
return
0
}}},
data
:
function
(){
return
{
tableData
:[],
multipleSelection
:[],
textShow
:
!
1
,
editRow
:{}}},
computed
:{},
methods
:{
toOpenUrl
:
function
(
e
){
window
.
open
(
e
.
link
)},
closeText
:
function
(){
this
.
textShow
=!
1
,
this
.
editRow
=
{}},
submitText
:
function
(){
this
.
textShow
=!
1
,
this
.
editRow
=
{},
this
.
$emit
(
"refreshTable"
)},
toEdit
:
function
(
e
,
t
){
this
.
textShow
=!
0
,
this
.
editRow
=
t
},
toDel
:
function
(
e
,
t
){
var
a
=
this
;
a
.
$confirm
(
"确定删除当前素材?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
postDel
(
e
,
t
)}).
catch
(
function
(){})},
postDel
:
function
(
e
,
t
){
var
a
=
this
,
i
=
{
materialIds
:
t
.
materialId
};
Object
(
r
.
d
)(
"/haoban-manage3-web/material-del"
,
i
).
then
(
function
(
e
){
var
t
=
e
.
data
;
if
(
1
==
t
.
errorCode
)
return
l
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
a
.
$emit
(
"refreshTable"
);
c
.
a
.
errorMsg
(
t
)}).
catch
(
function
(
e
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
handleSelectionChange
:
function
(
e
){
this
.
multipleSelection
=
e
,
this
.
$emit
(
"handleSelectionChange"
,
e
)},
multDel
:
function
(){
if
(
!
this
.
multipleSelection
.
length
)
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请选择删除项"
}),
!
1
;
this
.
showDialog
=!
0
},
hideDialog
:
function
(
e
){
if
(
this
.
showDialog
=!
1
,
!
g
()(
e
).
length
)
return
!
1
;
this
.
postMultDel
(
e
)},
handleSizeChange
:
function
(
e
){
this
.
$emit
(
"handleSizeChange"
,
e
)},
handleCurrentChange
:
function
(
e
){
this
.
$emit
(
"handleCurrentChange"
,
e
)}},
watch
:{
textTableData
:
function
(
e
,
t
){
e
.
length
?
this
.
tableData
=
JSON
.
parse
(
m
()(
e
)):
this
.
tableData
=
[]}},
mounted
:
function
(){
this
.
activeBrand
=
this
.
brandId
,
this
.
textTableData
.
length
?
this
.
tableData
=
JSON
.
parse
(
m
()(
this
.
textTableData
)):
this
.
tableData
=
[]},
components
:{
videoEdit
:
N
}},
H
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"text-table-body"
},[
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
style
:{
width
:
"100%"
,
minHeight
:
e
.
tableH
},
attrs
:{
data
:
e
.
tableData
,
"tooltip-effect"
:
"dark"
},
on
:{
"selection-change"
:
e
.
handleSelectionChange
}},[
a
(
"el-table-column"
,{
attrs
:{
type
:
"selection"
,
width
:
"35"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"标题"
,
width
:
"120"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
materialTitle
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"内容"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"cursor-pointer"
,
staticStyle
:{
width
:
"40px"
,
height
:
"40px"
},
on
:{
click
:
function
(
a
){
e
.
toOpenUrl
(
t
.
row
)}}},[
a
(
"video"
,{
staticClass
:
"avatar"
,
staticStyle
:{
width
:
"40px"
,
height
:
"40px"
},
attrs
:{
src
:
t
.
row
.
link
}},[
e
.
_v
(
"您的浏览器不支持视频播放"
)])])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"编辑人"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
staffName
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
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
.
updateTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToHms"
)(
t
.
row
.
updateTime
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
toEdit
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"编辑"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
toDel
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"删除"
)])]}}])})],
1
),
e
.
_v
(
" "
),
0
!=
e
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
e
.
currentPage
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
e
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
e
.
total
},
on
:{
"size-change"
:
e
.
handleSizeChange
,
"current-change"
:
e
.
handleCurrentChange
}})],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
textShow
?
a
(
"video-edit"
,{
attrs
:{
editRow
:
e
.
editRow
,
categoryId
:
e
.
categoryId
},
on
:{
closeText
:
e
.
closeText
,
submitText
:
e
.
submitText
}}):
e
.
_e
()],
1
)},
staticRenderFns
:[]};
var
W
=
a
(
"VU/8"
)(
A
,
H
,
!
1
,
function
(
e
){
a
(
"F+zQ"
)},
"data-v-3c9171e3"
,
null
).
exports
,
Z
=
{
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}},
categoryId
:{
type
:
String
,
default
:
function
(){
return
""
}},
textTableData
:{
type
:[
Array
,
Object
],
default
:
function
(){
return
[]}},
currentPage
:{
type
:[
String
,
Number
],
default
:
function
(){
return
1
}},
pageSize
:{
type
:[
String
,
Number
],
default
:
function
(){
return
20
}},
total
:{
type
:[
String
,
Number
],
default
:
function
(){
return
0
}}},
data
:
function
(){
return
{
tableData
:[],
multipleSelection
:[],
textShow
:
!
1
,
editRow
:{}}},
computed
:{},
methods
:{
toOpenFile
:
function
(
e
){
window
.
open
(
e
.
link
)},
closeText
:
function
(){
this
.
textShow
=!
1
,
this
.
editRow
=
{}},
submitText
:
function
(){
this
.
textShow
=!
1
,
this
.
editRow
=
{},
this
.
$emit
(
"refreshTable"
)},
toEdit
:
function
(
e
,
t
){
this
.
textShow
=!
0
,
this
.
editRow
=
t
},
toDel
:
function
(
e
,
t
){
var
a
=
this
;
a
.
$confirm
(
"确定删除当前文本素材?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
postDel
(
e
,
t
)}).
catch
(
function
(){})},
postDel
:
function
(
e
,
t
){
var
a
=
this
,
i
=
{
materialIds
:
t
.
materialId
};
Object
(
r
.
d
)(
"/haoban-manage3-web/material-del"
,
i
).
then
(
function
(
e
){
var
t
=
e
.
data
;
if
(
1
==
t
.
errorCode
)
return
l
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
a
.
$emit
(
"refreshTable"
);
c
.
a
.
errorMsg
(
t
)}).
catch
(
function
(
e
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
handleSelectionChange
:
function
(
e
){
this
.
multipleSelection
=
e
,
this
.
$emit
(
"handleSelectionChange"
,
e
)},
multDel
:
function
(){
if
(
!
this
.
multipleSelection
.
length
)
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请选择删除项"
}),
!
1
;
this
.
showDialog
=!
0
},
hideDialog
:
function
(
e
){
if
(
this
.
showDialog
=!
1
,
!
g
()(
e
).
length
)
return
!
1
;
this
.
postMultDel
(
e
)},
handleSizeChange
:
function
(
e
){
this
.
$emit
(
"handleSizeChange"
,
e
)},
handleCurrentChange
:
function
(
e
){
this
.
$emit
(
"handleCurrentChange"
,
e
)}},
watch
:{
textTableData
:
function
(
e
,
t
){
e
.
length
?
this
.
tableData
=
JSON
.
parse
(
m
()(
e
)):
this
.
tableData
=
[]}},
mounted
:
function
(){
this
.
activeBrand
=
this
.
brandId
,
this
.
textTableData
.
length
?
this
.
tableData
=
JSON
.
parse
(
m
()(
this
.
textTableData
)):
this
.
tableData
=
[]},
components
:{
fileEdit
:
R
}},
Y
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"div"
,{
staticClass
:
"text-table-body"
},[
i
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
style
:{
width
:
"100%"
,
minHeight
:
e
.
tableH
},
attrs
:{
data
:
e
.
tableData
,
"tooltip-effect"
:
"dark"
},
on
:{
"selection-change"
:
e
.
handleSelectionChange
}},[
i
(
"el-table-column"
,{
attrs
:{
"class-name"
:
"hide-ellipsis"
,
type
:
"selection"
,
width
:
"35"
}}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"标题"
,
width
:
"120"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
materialTitle
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"内容"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
i
(
"div"
,{
staticClass
:
"flex flex-pack-center cursor-pointer"
,
staticStyle
:{
width
:
"40px"
,
height
:
"40px"
,
background
:
"#f5f7fa"
},
on
:{
click
:
function
(
a
){
e
.
toOpenFile
(
t
.
row
)}}},[
i
(
"img"
,{
staticStyle
:{
width
:
"23px"
},
attrs
:{
src
:
a
(
"C2ZR"
),
alt
:
""
}})])]}}])}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"编辑人"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
staffName
))]}}])}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"最近编辑时间"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
i
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToYmd"
)(
t
.
row
.
updateTime
)))]),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToHms"
)(
t
.
row
.
updateTime
)))])]}}])}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
i
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
toEdit
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"编辑"
)]),
e
.
_v
(
" "
),
i
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
toDel
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"删除"
)])]}}])})],
1
),
e
.
_v
(
" "
),
0
!=
e
.
tableData
.
length
?
i
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
i
(
"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
(),
e
.
_v
(
" "
),
e
.
textShow
?
i
(
"file-edit"
,{
attrs
:{
editRow
:
e
.
editRow
,
categoryId
:
e
.
categoryId
},
on
:{
closeText
:
e
.
closeText
,
submitText
:
e
.
submitText
}}):
e
.
_e
()],
1
)},
staticRenderFns
:[]};
var
Q
=
a
(
"VU/8"
)(
Z
,
Y
,
!
1
,
function
(
e
){
a
(
"KLSU"
)},
"data-v-44bbc31e"
,
null
).
exports
,
K
=
{
props
:{
editRow
:{
type
:
Object
,
default
:
function
(){
return
{}}},
categoryParentId
:{
type
:
Object
,
default
:
function
(){
return
""
}}},
components
:{
limitInput
:
i
.
a
},
data
:
function
(){
return
{
editPersion
:
localStorage
.
getItem
(
"userName"
),
dialogVisible
:
!
0
,
ruleForm
:{
categoryId
:
""
,
categoryName
:
""
,
categoryParentId
:
this
.
categoryParentId
},
rules
:{
categoryName
:[{
required
:
!
0
,
message
:
"请输入分组名称"
,
trigger
:
"blur"
}]}}},
methods
:{
toCancel
:
function
(){
this
.
$emit
(
"closeGroup"
),
this
.
$refs
.
ruleForm
.
resetFields
()},
handleClose
:
function
(
e
){
this
.
$emit
(
"closeGroup"
),
this
.
$refs
.
ruleForm
.
resetFields
()},
submitForm
:
Object
(
o
.
a
)(
function
(
e
){
var
t
=
this
;
t
.
$refs
[
e
].
validate
(
function
(
e
){
e
&&
t
.
postSave
()})},
300
),
postSave
:
function
(){
var
e
=
this
,
t
=
{
categoryParentId
:
e
.
ruleForm
.
categoryParentId
||
"0"
,
categoryId
:
e
.
ruleForm
.
categoryId
,
categoryName
:
e
.
ruleForm
.
categoryName
};
Object
(
r
.
d
)(
e
.
ruleForm
.
categoryId
?
"/haoban-manage3-web/category-edit"
:
"/haoban-manage3-web/mateial-add-category"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
1
==
a
.
errorCode
?(
l
.
a
.
showmsg
(
"操作成功"
,
"success"
),
e
.
$refs
.
ruleForm
.
resetFields
(),
e
.
$emit
(
"submitGroup"
)):
c
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{
editRow
:
function
(
e
){
g
()(
e
).
length
&&
(
this
.
ruleForm
=
JSON
.
parse
(
m
()(
e
)))}},
mounted
:
function
(){
g
()(
this
.
editRow
).
length
&&
(
this
.
ruleForm
=
JSON
.
parse
(
m
()(
this
.
editRow
)))}},
X
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"el-dialog"
,{
attrs
:{
title
:
e
.
editRow
.
categoryId
?
"编辑分组"
:
"新增分组"
,
visible
:
e
.
dialogVisible
,
width
:
"485px"
,
"before-close"
:
e
.
handleClose
},
on
:{
"update:visible"
:
function
(
t
){
e
.
dialogVisible
=
t
}}},[
a
(
"div"
,{},[
a
(
"el-form"
,{
ref
:
"ruleForm"
,
staticClass
:
"demo-ruleForm"
,
attrs
:{
model
:
e
.
ruleForm
,
rules
:
e
.
rules
,
"label-width"
:
"100px"
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"分组名称"
,
prop
:
"categoryName"
}},[
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
300
,
inputValue
:
e
.
ruleForm
.
categoryName
,
holder
:
"请输入分组名称"
,
getByType
:
"word"
,
maxLength
:
8
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"categoryName"
,
t
)}}})],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"el-button"
,{
on
:{
click
:
e
.
toCancel
}},[
e
.
_v
(
"取消"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
submitForm
(
"ruleForm"
)}}},[
e
.
_v
(
"确定"
)])],
1
)])},
staticRenderFns
:[]};
var
ee
=
a
(
"VU/8"
)(
K
,
X
,
!
1
,
function
(
e
){
a
(
"61Rz"
)},
"data-v-73824ea0"
,
null
).
exports
,
te
=
{
props
:{},
data
:
function
(){
return
{
wxEnterpriseId
:
localStorage
.
getItem
(
"userInfos"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
wxEnterpriseId
:
""
,
searchInput
:
""
,
currentCategoryId
:
"-1"
,
groupData
:[],
categoryParentId
:
""
,
addShow
:
!
1
,
editGroupRow
:{},
expandArr
:[],
tableData
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
activeName
:
"1"
,
multOpt
:
""
,
multData
:[],
textShow
:
!
1
,
imageShow
:
!
1
,
webShow
:
!
1
,
videoShow
:
!
1
,
fileShow
:
!
1
,
multTrans
:
!
1
,
materialIds
:[]}},
methods
:{
changeOpt
:
function
(
e
){
var
t
=
this
;
if
(
!
t
.
multData
.
length
)
return
l
.
a
.
showmsg
(
"请先选择素材"
,
"warning"
),
t
.
multOpt
=
""
,
!
1
;
1
==
e
?
t
.
$confirm
(
"确定删除选中的素材?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
t
.
postMultDel
()}).
catch
(
function
(){}):(
t
.
materialIds
=
t
.
multData
.
map
(
function
(
e
){
return
e
.
materialId
}).
join
(
","
),
t
.
multTrans
=!
0
)},
postMultDel
:
function
(){
var
e
=
this
,
t
=
{
materialIds
:
e
.
multData
.
map
(
function
(
e
){
return
e
.
materialId
}).
join
(
","
)};
Object
(
r
.
d
)(
"/haoban-manage3-web/material-del"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
l
.
a
.
showmsg
(
"删除成功"
,
"success"
),
e
.
multOpt
=
""
,
void
e
.
refreshTable
();
c
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
handleSelText
:
function
(
e
){
this
.
multData
=
e
},
addText
:
function
(){
this
.
textShow
=!
0
},
closeText
:
function
(){
this
.
textShow
=!
1
,
this
.
imageShow
=!
1
,
this
.
webShow
=!
1
,
this
.
videoShow
=!
1
,
this
.
fileShow
=!
1
},
submitText
:
function
(){
this
.
textShow
=!
1
,
this
.
imageShow
=!
1
,
this
.
webShow
=!
1
,
this
.
videoShow
=!
1
,
this
.
fileShow
=!
1
,
this
.
refreshTable
()},
addImage
:
function
(){
this
.
imageShow
=!
0
},
addWeb
:
function
(){
this
.
webShow
=!
0
},
addVideo
:
function
(){
this
.
videoShow
=!
0
},
addFile
:
function
(){
this
.
fileShow
=!
0
},
refreshTable
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
handleClick
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
selectGroup
:
function
(
e
){
e
.
expand
=!
e
.
expand
,
this
.
currentCategoryId
=
e
.
categoryId
,
e
.
expand
?
this
.
expandArr
.
push
(
e
.
categoryId
):
this
.
expandArr
.
splice
(
this
.
expandArr
.
indexOf
(
e
.
categoryId
),
1
),
this
.
currentPage
=
1
,
this
.
getTableList
(),
this
.
$forceUpdate
()},
selectNoGroup
:
function
(){
this
.
currentCategoryId
=
"-1"
,
this
.
currentPage
=
1
,
this
.
getTableList
()},
toInput
:
Object
(
o
.
a
)(
function
(
e
,
t
){
this
.
currentPage
=
1
,
this
.
getTableList
()},
500
),
clearSearch
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
addGroup
:
function
(){
this
.
addShow
=!
0
,
this
.
categoryParentId
=
""
,
this
.
editGroupRow
=
{}},
closeGroup
:
function
(){
this
.
multTrans
=!
1
,
this
.
addShow
=!
1
,
this
.
multOpt
=
""
},
submitGroup
:
function
(){
this
.
multTrans
=!
1
,
this
.
addShow
=!
1
,
this
.
getGroupData
(),
this
.
currentPage
=
1
,
this
.
getTableList
(),
this
.
multOpt
=
""
},
addChildGroup
:
function
(
e
){
this
.
editGroupRow
=
{},
this
.
categoryParentId
=
e
.
categoryId
,
this
.
addShow
=!
0
},
editGroup
:
function
(
e
){
this
.
addShow
=!
0
,
this
.
categoryParentId
=
""
,
this
.
editGroupRow
=
e
},
delGroup
:
function
(
e
){
var
t
=
this
;
t
.
$confirm
(
"是否删除当前选中的分组?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
t
.
postDelData
(
e
)}).
catch
(
function
(){})},
postDelData
:
function
(
e
){
var
t
=
this
,
a
=
{
categoryId
:
e
.
categoryId
};
Object
(
r
.
a
)(
"/haoban-manage3-web/category-del"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
l
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
t
.
getGroupData
();
c
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
treeData
:
function
(
e
){
var
t
=
e
.
filter
(
function
(
t
){
var
a
=
e
.
filter
(
function
(
e
){
return
t
.
categoryId
==
e
.
categoryParentId
});
return
a
.
length
>
0
?
t
.
children
=
a
:
t
.
children
=
[],
0
==
t
.
categoryParentId
});
return
console
.
log
(
"tree:"
,
t
),
t
},
getGroupData
:
function
(
e
){
var
t
=
this
,
a
=
{
wxEnterpriseId
:
t
.
wxEnterpriseId
};
Object
(
r
.
a
)(
"/haoban-manage3-web/category-list"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
!=
a
.
errorCode
?
c
.
a
.
errorMsg
(
a
):
a
.
result
&&
a
.
result
.
length
&&
(
a
.
result
.
forEach
(
function
(
e
){
e
.
expand
=!!
t
.
expandArr
.
includes
(
e
.
categoryId
)}),
t
.
groupData
=
t
.
treeData
(
a
.
result
)
||
[])}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
handleSizeChange
:
function
(
e
){
this
.
pageSize
=
e
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getTableList
()},
getTableList
:
function
(
e
){
var
t
=
this
,
a
=
{
wxEnterpriseId
:
t
.
wxEnterpriseId
,
keyword
:
t
.
searchInput
,
categoryId
:
t
.
currentCategoryId
,
materialType
:
t
.
activeName
,
pageNum
:
t
.
currentPage
,
pageSize
:
t
.
pageSize
};
Object
(
r
.
a
)(
"/haoban-manage3-web/material-list"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
t
.
tableData
=
a
.
result
.
result
||
[],
void
(
t
.
total
=
a
.
result
.
totalCount
);
c
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
3
),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
getGroupData
(),
this
.
getTableList
()},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
groupDialog
:
ee
,
selectGroup
:
d
,
textTable
:
L
,
imageTable
:
V
,
webTable
:
J
,
videoTable
:
W
,
fileTable
:
Q
,
textEdit
:
v
,
imageEdit
:
U
,
webEdit
:
F
,
videoEdit
:
N
,
fileEdit
:
R
}},
ae
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"material-set-wrap "
},[
a
(
"div"
,{
staticClass
:
" border-box"
},[
a
(
"div"
,{
staticClass
:
"material-top border-box"
},[
a
(
"el-input"
,{
staticStyle
:{
width
:
"394px"
},
attrs
:{
placeholder
:
"请输入素材名称"
,
clearable
:
""
},
on
:{
clear
:
e
.
clearSearch
},
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
:
"material-body flex"
},[
a
(
"div"
,{
staticClass
:
"material-left"
},[
a
(
"div"
,{
staticClass
:
"material-left-add m-t-10 text-center"
},[
a
(
"div"
,{
staticClass
:
"add-group font-14 color-909399 cursor-pointer line-h-32"
,
on
:{
click
:
e
.
addGroup
}},[
a
(
"span"
,{
staticClass
:
"el-icon-plus"
}),
a
(
"span"
,{
staticClass
:
"p-l-5"
},[
e
.
_v
(
"新建分组"
)])])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"group-body"
},[
a
(
"div"
,{
class
:[
"no-group m-t-10 line-h-32 font-14 color-606266 cursor-pointer"
,
"-1"
==
e
.
currentCategoryId
?
"current-group"
:
""
],
on
:{
click
:
e
.
selectNoGroup
}},[
a
(
"span"
,{
class
:[
"color-c0c4cc font-12 cursor-pointer p-l-10 el-icon-caret-bottom el-icon-caret-right"
],
staticStyle
:{
color
:
"transparent"
}}),
e
.
_v
(
"未分组"
)]),
e
.
_v
(
" "
),
a
(
"ul"
,{
staticClass
:
"group-ul padding-lr-12"
},[
e
.
_l
(
e
.
groupData
,
function
(
t
,
i
){
return
[
a
(
"li"
,{
key
:
i
+
"group"
,
staticClass
:
"group-cell"
},[
a
(
"div"
,{
staticClass
:
"cursor-pointer group-cell-div"
,
on
:{
click
:
function
(
a
){
a
.
stopPropagation
(),
e
.
selectGroup
(
t
)}}},[
a
(
"span"
,{
class
:[
"color-c0c4cc font-12 cursor-pointer"
,
t
.
children
.
length
?
"color-c0c4cc"
:
"color-transparent"
,
t
.
expand
?
"el-icon-caret-bottom"
:
"el-icon-caret-right"
]}),
a
(
"span"
,{
class
:[
"group-name font-14 color-606266 p-l-10"
,
e
.
currentCategoryId
==
t
.
categoryId
?
"current-group"
:
""
]},[
e
.
_v
(
e
.
_s
(
t
.
categoryName
))]),
a
(
"el-popover"
,{
attrs
:{
placement
:
"bottom"
,
width
:
"75"
,
trigger
:
"hover"
,
"popper-class"
:
"group-popover"
}},[
a
(
"ul"
,[
a
(
"li"
,{
staticClass
:
"line-h-32 font-14 color-606266"
,
on
:{
click
:
function
(
a
){
a
.
stopPropagation
(),
e
.
addChildGroup
(
t
)}}},[
e
.
_v
(
"新增子分组"
)]),
e
.
_v
(
" "
),
a
(
"li"
,{
staticClass
:
"line-h-32 font-14 color-606266"
,
on
:{
click
:
function
(
a
){
a
.
stopPropagation
(),
e
.
editGroup
(
t
)}}},[
e
.
_v
(
"编辑"
)]),
e
.
_v
(
" "
),
t
.
children
.
length
?
e
.
_e
():
a
(
"li"
,{
staticClass
:
"line-h-32 font-14 color-606266"
,
on
:{
click
:
function
(
a
){
a
.
stopPropagation
(),
e
.
delGroup
(
t
)}}},[
e
.
_v
(
"删除"
)])]),
e
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"iconfont icongengduo color-afaeae cursor-pointer operate-icon"
,
attrs
:{
slot
:
"reference"
},
slot
:
"reference"
})])],
1
),
e
.
_v
(
" "
),
t
.
expand
?
a
(
"ul"
,{
staticClass
:
"p-l-10"
},[
e
.
_l
(
t
.
children
,
function
(
t
,
i
){
return
[
a
(
"li"
,{
key
:
i
+
"group"
,
staticClass
:
"group-cell"
},[
a
(
"div"
,{
staticClass
:
"cursor-pointer group-cell-div"
,
on
:{
click
:
function
(
a
){
a
.
stopPropagation
(),
e
.
selectGroup
(
t
)}}},[
a
(
"span"
,{
class
:[
"font-12 cursor-pointer"
,
t
.
children
.
length
?
"color-c0c4cc"
:
"color-transparent"
,
t
.
expand
?
"el-icon-caret-bottom"
:
"el-icon-caret-right"
]}),
a
(
"span"
,{
class
:[
"group-name font-14 color-606266 p-l-10"
,
e
.
currentCategoryId
==
t
.
categoryId
?
"current-group"
:
""
]},[
e
.
_v
(
e
.
_s
(
t
.
categoryName
))]),
a
(
"el-popover"
,{
attrs
:{
placement
:
"bottom"
,
width
:
"75"
,
trigger
:
"hover"
,
"popper-class"
:
"group-popover"
}},[
a
(
"ul"
,[
a
(
"li"
,{
staticClass
:
"line-h-32 font-14 color-606266"
,
on
:{
click
:
function
(
a
){
a
.
stopPropagation
(),
e
.
addChildGroup
(
t
)}}},[
e
.
_v
(
"新增子分组"
)]),
e
.
_v
(
" "
),
a
(
"li"
,{
staticClass
:
"line-h-32 font-14 color-606266"
,
on
:{
click
:
function
(
a
){
a
.
stopPropagation
(),
e
.
editGroup
(
t
)}}},[
e
.
_v
(
"编辑"
)]),
e
.
_v
(
" "
),
t
.
children
.
length
?
e
.
_e
():
a
(
"li"
,{
staticClass
:
"line-h-32 font-14 color-606266"
,
on
:{
click
:
function
(
a
){
a
.
stopPropagation
(),
e
.
delGroup
(
t
)}}},[
e
.
_v
(
"删除"
)])]),
e
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"iconfont icongengduo color-afaeae cursor-pointer operate-icon"
,
attrs
:{
slot
:
"reference"
},
slot
:
"reference"
})])],
1
),
e
.
_v
(
" "
),
t
.
expand
?
a
(
"ul"
,{
staticClass
:
"p-l-10"
},[
e
.
_l
(
t
.
children
,
function
(
t
,
i
){
return
[
a
(
"li"
,{
key
:
i
+
"group"
,
staticClass
:
"group-cell"
},[
a
(
"div"
,{
staticClass
:
"cursor-pointer group-cell-div"
,
on
:{
click
:
function
(
a
){
a
.
stopPropagation
(),
e
.
selectGroup
(
t
)}}},[
a
(
"span"
,{
class
:[
"font-12 cursor-pointer color-transparent"
,
t
.
expand
?
"el-icon-caret-bottom"
:
"el-icon-caret-right"
]}),
a
(
"span"
,{
class
:[
"group-name font-14 color-606266 p-l-10"
,
e
.
currentCategoryId
==
t
.
categoryId
?
"current-group"
:
""
]},[
e
.
_v
(
e
.
_s
(
t
.
categoryName
))]),
a
(
"el-popover"
,{
attrs
:{
placement
:
"bottom"
,
width
:
"75"
,
trigger
:
"hover"
,
"popper-class"
:
"group-popover"
}},[
a
(
"ul"
,[
a
(
"li"
,{
staticClass
:
"line-h-32 font-14 color-606266"
,
on
:{
click
:
function
(
a
){
a
.
stopPropagation
(),
e
.
editGroup
(
t
)}}},[
e
.
_v
(
"编辑"
)]),
e
.
_v
(
" "
),
a
(
"li"
,{
staticClass
:
"line-h-32 font-14 color-606266"
,
on
:{
click
:
function
(
a
){
a
.
stopPropagation
(),
e
.
delGroup
(
t
)}}},[
e
.
_v
(
"删除"
)])]),
e
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"iconfont icongengduo color-afaeae cursor-pointer operate-icon"
,
attrs
:{
slot
:
"reference"
},
slot
:
"reference"
})])],
1
)])]})],
2
):
e
.
_e
()])]})],
2
):
e
.
_e
()])]})],
2
)])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"material-right"
},[
a
(
"div"
,{
staticClass
:
"material-table"
},[
a
(
"div"
,{
staticClass
:
"add-btn-wrap"
},[
1
==
e
.
activeName
?
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
addText
}},[
e
.
_v
(
"新建文本"
)]):
e
.
_e
(),
2
==
e
.
activeName
?
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
addImage
}},[
e
.
_v
(
"新建图片"
)]):
e
.
_e
(),
3
==
e
.
activeName
?
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
addWeb
}},[
e
.
_v
(
"新建网页"
)]):
e
.
_e
(),
4
==
e
.
activeName
?
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
addVideo
}},[
e
.
_v
(
"新建视频"
)]):
e
.
_e
(),
5
==
e
.
activeName
?
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
addFile
}},[
e
.
_v
(
"新建文件"
)]):
e
.
_e
(),
a
(
"el-select"
,{
staticClass
:
"m-l-10"
,
attrs
:{
placeholder
:
"批量操作"
},
on
:{
change
:
e
.
changeOpt
},
model
:{
value
:
e
.
multOpt
,
callback
:
function
(
t
){
e
.
multOpt
=
t
},
expression
:
"multOpt"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"批量删除"
,
value
:
"1"
}}),
e
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"批量转移"
,
value
:
"2"
}})],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"el-tabs"
,{
on
:{
"tab-click"
:
e
.
handleClick
},
model
:{
value
:
e
.
activeName
,
callback
:
function
(
t
){
e
.
activeName
=
t
},
expression
:
"activeName"
}},[
a
(
"el-tab-pane"
,{
attrs
:{
name
:
"1"
}},[
a
(
"span"
,{
attrs
:{
slot
:
"label"
},
slot
:
"label"
},[
a
(
"i"
,{
staticClass
:
"iconfont iconwenzi p-r-5"
}),
e
.
_v
(
"文本"
)]),
e
.
_v
(
" "
),
a
(
"text-table"
,{
attrs
:{
currentPage
:
e
.
currentPage
,
pageSize
:
e
.
pageSize
,
total
:
e
.
total
,
textTableData
:
e
.
tableData
,
categoryId
:
e
.
currentCategoryId
},
on
:{
handleSelectionChange
:
e
.
handleSelText
,
refreshTable
:
e
.
refreshTable
,
handleCurrentChange
:
e
.
handleCurrentChange
,
handleSizeChange
:
e
.
handleSizeChange
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"图片"
,
name
:
"2"
}},[
a
(
"span"
,{
attrs
:{
slot
:
"label"
},
slot
:
"label"
},[
a
(
"i"
,{
staticClass
:
"iconfont icontupian p-r-5 "
}),
e
.
_v
(
"图片"
)]),
e
.
_v
(
" "
),
a
(
"image-table"
,{
attrs
:{
currentPage
:
e
.
currentPage
,
pageSize
:
e
.
pageSize
,
total
:
e
.
total
,
categoryId
:
e
.
currentCategoryId
,
textTableData
:
e
.
tableData
},
on
:{
handleSelectionChange
:
e
.
handleSelText
,
refreshTable
:
e
.
refreshTable
,
handleCurrentChange
:
e
.
handleCurrentChange
,
handleSizeChange
:
e
.
handleSizeChange
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"网页"
,
name
:
"3"
}},[
a
(
"span"
,{
attrs
:{
slot
:
"label"
},
slot
:
"label"
},[
a
(
"i"
,{
staticClass
:
"iconfont icondaima p-r-5 "
}),
e
.
_v
(
"网页"
)]),
e
.
_v
(
" "
),
a
(
"web-table"
,{
attrs
:{
currentPage
:
e
.
currentPage
,
pageSize
:
e
.
pageSize
,
total
:
e
.
total
,
categoryId
:
e
.
currentCategoryId
,
textTableData
:
e
.
tableData
},
on
:{
handleSelectionChange
:
e
.
handleSelText
,
refreshTable
:
e
.
refreshTable
,
handleCurrentChange
:
e
.
handleCurrentChange
,
handleSizeChange
:
e
.
handleSizeChange
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"视频"
,
name
:
"4"
}},[
a
(
"span"
,{
attrs
:{
slot
:
"label"
},
slot
:
"label"
},[
a
(
"i"
,{
staticClass
:
"iconfont iconshipin p-r-5 "
}),
e
.
_v
(
"视频"
)]),
e
.
_v
(
" "
),
a
(
"video-table"
,{
attrs
:{
currentPage
:
e
.
currentPage
,
pageSize
:
e
.
pageSize
,
total
:
e
.
total
,
categoryId
:
e
.
currentCategoryId
,
textTableData
:
e
.
tableData
},
on
:{
handleSelectionChange
:
e
.
handleSelText
,
refreshTable
:
e
.
refreshTable
,
handleCurrentChange
:
e
.
handleCurrentChange
,
handleSizeChange
:
e
.
handleSizeChange
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"文件"
,
name
:
"5"
}},[
a
(
"span"
,{
attrs
:{
slot
:
"label"
},
slot
:
"label"
},[
a
(
"i"
,{
staticClass
:
"iconfont iconwenjian p-r-5 "
}),
e
.
_v
(
"文件"
)]),
e
.
_v
(
" "
),
a
(
"file-table"
,{
attrs
:{
currentPage
:
e
.
currentPage
,
pageSize
:
e
.
pageSize
,
total
:
e
.
total
,
categoryId
:
e
.
currentCategoryId
,
textTableData
:
e
.
tableData
},
on
:{
handleSelectionChange
:
e
.
handleSelText
,
refreshTable
:
e
.
refreshTable
,
handleCurrentChange
:
e
.
handleCurrentChange
,
handleSizeChange
:
e
.
handleSizeChange
}})],
1
)],
1
)],
1
)])])]),
e
.
_v
(
" "
),
e
.
addShow
?
a
(
"group-dialog"
,{
attrs
:{
categoryParentId
:
e
.
categoryParentId
,
editRow
:
e
.
editGroupRow
},
on
:{
closeGroup
:
e
.
closeGroup
,
submitGroup
:
e
.
submitGroup
}}):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
textShow
?
a
(
"text-edit"
,{
attrs
:{
categoryId
:
e
.
currentCategoryId
},
on
:{
closeText
:
e
.
closeText
,
submitText
:
e
.
submitText
}}):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
imageShow
?
a
(
"image-edit"
,{
attrs
:{
categoryId
:
e
.
currentCategoryId
},
on
:{
closeText
:
e
.
closeText
,
submitText
:
e
.
submitText
}}):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
webShow
?
a
(
"web-edit"
,{
attrs
:{
categoryId
:
e
.
currentCategoryId
},
on
:{
closeText
:
e
.
closeText
,
submitText
:
e
.
submitText
}}):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
videoShow
?
a
(
"video-edit"
,{
attrs
:{
categoryId
:
e
.
currentCategoryId
},
on
:{
closeText
:
e
.
closeText
,
submitText
:
e
.
submitText
}}):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
fileShow
?
a
(
"file-edit"
,{
attrs
:{
categoryId
:
e
.
currentCategoryId
},
on
:{
closeText
:
e
.
closeText
,
submitText
:
e
.
submitText
}}):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
multTrans
?
a
(
"select-group"
,{
attrs
:{
materialIds
:
e
.
materialIds
},
on
:{
closeGroup
:
e
.
closeGroup
,
submitGroup
:
e
.
submitGroup
}}):
e
.
_e
()],
1
)},
staticRenderFns
:[]};
var
ie
=
a
(
"VU/8"
)(
te
,
ae
,
!
1
,
function
(
e
){
a
(
"kMip"
)},
"data-v-53da8a43"
,
null
);
t
.
default
=
ie
.
exports
},
seTx
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/5.4d1a49e3433dc850aa0f.js
0 → 100644
View file @
d5c8c759
webpackJsonp
([
5
],{
"/oSI"
:
function
(
e
,
t
){},
"50B4"
:
function
(
e
,
t
){},
"61Rz"
:
function
(
e
,
t
){},
"6vKc"
:
function
(
e
,
t
){},
C2ZR
:
function
(
e
,
t
){
e
.
exports
=
"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDIzLjAuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IuWbvuWxgl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMjAwIDIwMCIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMjAwIDIwMDsiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgoJLnN0MHtmaWxsOiMzRDZBRTg7fQoJLnN0MXtmaWxsOiM4NkFERjI7fQoJLnN0MntmaWxsOiNFMUVERkY7fQo8L3N0eWxlPgo8Zz4KCTxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik0yOC42LDFIMTIwbDYwLDU5Ljd2MTMwLjZjMCw0LjctMy44LDguNS04LjYsOC41SDI4LjZjLTQuNywwLTguNi0zLjgtOC42LTguNVY5LjVDMjAsNC44LDIzLjgsMSwyOC42LDF6Ii8+Cgk8cGF0aCBjbGFzcz0ic3QxIiBkPSJNMTIwLDFsNjAsNjBoLTQ2LjdDMTI2LDYxLDEyMCw1NSwxMjAsNDcuN1YxeiIvPgoJPHBhdGggY2xhc3M9InN0MiIgZD0iTTQ2LjcsMTAwLjRoMTA2Ljd2MjBINDYuN1YxMDAuNHogTTQ2LjcsMTQwLjRoMTA2Ljd2MjBINDYuN1YxNDAuNHoiLz4KPC9nPgo8L3N2Zz4K"
},
"F+zQ"
:
function
(
e
,
t
){},
I8yJ
:
function
(
e
,
t
){},
J7IQ
:
function
(
e
,
t
){},
KLSU
:
function
(
e
,
t
){},
UwuL
:
function
(
e
,
t
){},
b4ba
:
function
(
e
,
t
){},
dkup
:
function
(
e
,
t
){},
"fb+e"
:
function
(
e
,
t
){},
kMip
:
function
(
e
,
t
){},
"q+Sm"
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
i
=
a
(
"l46T"
),
o
=
a
(
"PI0u"
),
r
=
a
(
"P9l9"
),
l
=
a
(
"3E4D"
),
c
=
a
(
"Ch4/"
),
n
=
{
props
:{
materialIds
:{
type
:
Array
,
default
:
function
(){
return
[]}}},
components
:{
limitInput
:
i
.
a
},
data
:
function
(){
return
{
width
:
"347px"
,
wxEnterpriseId
:
localStorage
.
getItem
(
"userInfos"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
wxEnterpriseId
:
""
,
dialogVisible
:
!
0
,
groupData
:[],
ruleForm
:{
categoryId
:
""
},
rules
:{
categoryId
:[{
required
:
!
0
,
message
:
"请选择分组名称"
,
trigger
:
"change"
}]},
categoryName
:
""
,
currentCategoryId
:
""
,
expandArr
:[]}},
methods
:{
toCancel
:
function
(){
this
.
$emit
(
"closeGroup"
),
this
.
$refs
.
ruleForm
.
resetFields
()},
handleClose
:
function
(
e
){
this
.
$emit
(
"closeGroup"
),
this
.
$refs
.
ruleForm
.
resetFields
()},
submitForm
:
Object
(
o
.
a
)(
function
(
e
){
var
t
=
this
;
t
.
$refs
[
e
].
validate
(
function
(
e
){
e
&&
t
.
postSave
()})},
300
),
postSave
:
function
(){
var
e
=
this
,
t
=
{
categoryId
:
e
.
ruleForm
.
categoryId
,
materialIds
:
e
.
materialIds
};
Object
(
r
.
d
)(
"/haoban-manage3-web/material-batch"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
1
==
a
.
errorCode
?(
l
.
a
.
showmsg
(
"操作成功"
,
"success"
),
e
.
$refs
.
ruleForm
.
resetFields
(),
e
.
$emit
(
"submitGroup"
)):
c
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
selectGroup
:
function
(
e
){
e
.
expand
=!
e
.
expand
,
this
.
ruleForm
.
categoryId
=
e
.
categoryId
,
this
.
currentCategoryId
=
e
.
categoryId
,
this
.
categoryName
=
e
.
categoryName
,
e
.
expand
?
this
.
expandArr
.
push
(
e
.
categoryId
):
this
.
expandArr
.
splice
(
this
.
expandArr
.
indexOf
(
e
.
categoryId
),
1
)},
selectNoGroup
:
function
(){
this
.
ruleForm
.
categoryId
=
"-1"
,
this
.
currentCategoryId
=
"-1"
,
this
.
categoryName
=
"未分组"
},
treeData
:
function
(
e
){
var
t
=
e
.
filter
(
function
(
t
){
var
a
=
e
.
filter
(
function
(
e
){
return
t
.
categoryId
==
e
.
categoryParentId
});
return
a
.
length
>
0
?
t
.
children
=
a
:
t
.
children
=
[],
0
==
t
.
categoryParentId
});
return
console
.
log
(
"tree:"
,
t
),
t
},
getGroupData
:
function
(
e
){
var
t
=
this
,
a
=
{
wxEnterpriseId
:
t
.
wxEnterpriseId
};
Object
(
r
.
d
)(
"/haoban-manage3-web/category-list"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
!=
a
.
errorCode
?
c
.
a
.
errorMsg
(
a
):
a
.
result
&&
a
.
result
.
length
&&
(
a
.
result
.
forEach
(
function
(
e
){
e
.
expand
=!!
t
.
expandArr
.
includes
(
e
.
categoryId
)}),
t
.
groupData
=
t
.
treeData
(
a
.
result
)
||
[])}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{},
mounted
:
function
(){
this
.
getGroupData
()}},
s
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"el-dialog"
,{
attrs
:{
title
:
"批量操作-移至分组"
,
visible
:
e
.
dialogVisible
,
width
:
"485px"
,
"before-close"
:
e
.
handleClose
},
on
:{
"update:visible"
:
function
(
t
){
e
.
dialogVisible
=
t
}}},[
a
(
"div"
,{},[
a
(
"el-form"
,{
ref
:
"ruleForm"
,
staticClass
:
"demo-ruleForm"
,
attrs
:{
model
:
e
.
ruleForm
,
rules
:
e
.
rules
,
"label-width"
:
"80px"
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"分组"
,
prop
:
"categoryId"
}},[
a
(
"el-popover"
,{
staticStyle
:{
"min-width"
:
"357px"
},
attrs
:{
placement
:
"bottom"
,
trigger
:
"click"
}},[
a
(
"div"
,{
staticClass
:
"select-tree-wrap"
},[
a
(
"div"
,{
staticClass
:
"group-body"
},[
a
(
"div"
,{
class
:[
"no-group m-t-10 line-h-32 font-14 color-606266 cursor-pointer"
,
"-1"
==
e
.
currentCategoryId
?
"current-group"
:
""
],
on
:{
click
:
e
.
selectNoGroup
}},[
a
(
"span"
,{
class
:[
"color-c0c4cc font-12 cursor-pointer p-l-10 el-icon-caret-bottom el-icon-caret-right"
],
staticStyle
:{
color
:
"transparent"
}}),
e
.
_v
(
"未分组"
)]),
e
.
_v
(
" "
),
a
(
"ul"
,{
staticClass
:
"group-ul padding-lr-12"
},[
e
.
_l
(
e
.
groupData
,
function
(
t
,
i
){
return
[
a
(
"li"
,{
key
:
i
+
"group"
,
staticClass
:
"group-cell"
},[
a
(
"div"
,{
staticClass
:
"cursor-pointer group-cell-div"
,
on
:{
click
:
function
(
a
){
a
.
stopPropagation
(),
e
.
selectGroup
(
t
)}}},[
a
(
"span"
,{
class
:[
"color-c0c4cc font-12 cursor-pointer"
,
t
.
children
.
length
?
"color-c0c4cc"
:
"color-transparent"
,
t
.
expand
?
"el-icon-caret-bottom"
:
"el-icon-caret-right"
]}),
a
(
"span"
,{
class
:[
"group-name font-14 color-606266 p-l-10"
,
e
.
currentCategoryId
==
t
.
categoryId
?
"current-group"
:
""
]},[
e
.
_v
(
e
.
_s
(
t
.
categoryName
))])]),
e
.
_v
(
" "
),
t
.
expand
?
a
(
"ul"
,{
staticClass
:
"p-l-10"
},[
e
.
_l
(
t
.
children
,
function
(
t
,
i
){
return
[
a
(
"li"
,{
key
:
i
+
"group"
,
staticClass
:
"group-cell"
},[
a
(
"div"
,{
staticClass
:
"cursor-pointer group-cell-div"
,
on
:{
click
:
function
(
a
){
a
.
stopPropagation
(),
e
.
selectGroup
(
t
)}}},[
a
(
"span"
,{
class
:[
"font-12 cursor-pointer"
,
t
.
children
.
length
?
"color-c0c4cc"
:
"color-transparent"
,
t
.
expand
?
"el-icon-caret-bottom"
:
"el-icon-caret-right"
]}),
a
(
"span"
,{
class
:[
"group-name font-14 color-606266 p-l-10"
,
e
.
currentCategoryId
==
t
.
categoryId
?
"current-group"
:
""
]},[
e
.
_v
(
e
.
_s
(
t
.
categoryName
))])]),
e
.
_v
(
" "
),
t
.
expand
?
a
(
"ul"
,{
staticClass
:
"p-l-10"
},[
e
.
_l
(
t
.
children
,
function
(
t
,
i
){
return
[
a
(
"li"
,{
key
:
i
+
"group"
,
staticClass
:
"group-cell"
},[
a
(
"div"
,{
staticClass
:
"cursor-pointer group-cell-div"
,
on
:{
click
:
function
(
a
){
a
.
stopPropagation
(),
e
.
selectGroup
(
t
)}}},[
a
(
"span"
,{
class
:[
"font-12 cursor-pointer color-transparent"
,
t
.
expand
?
"el-icon-caret-bottom"
:
"el-icon-caret-right"
]}),
a
(
"span"
,{
class
:[
"group-name font-14 color-606266 p-l-10"
,
e
.
currentCategoryId
==
t
.
categoryId
?
"current-group"
:
""
]},[
e
.
_v
(
e
.
_s
(
t
.
categoryName
))])])])]})],
2
):
e
.
_e
()])]})],
2
):
e
.
_e
()])]})],
2
)])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"flex-column item-cell-select inline-block "
,
attrs
:{
slot
:
"reference"
},
slot
:
"reference"
},[
a
(
"div"
,{
staticClass
:
"depart-item-wrap"
},[
a
(
"div"
,{
staticClass
:
"el-select el-select--large depart-item-content"
,
style
:{
width
:
e
.
width
}},[
e
.
ruleForm
.
categoryId
?
e
.
_e
():
a
(
"span"
,{
staticClass
:
"font-14 color-c0c4cc"
,
staticStyle
:{
display
:
"inline-block"
,
"line-height"
:
"32px"
,
color
:
"#c0c4cc"
}},[
e
.
_v
(
"请选择"
)]),
e
.
_v
(
"
\
n "
+
e
.
_s
(
e
.
categoryName
)
+
"
\
n "
)])])])])],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"el-button"
,{
on
:{
click
:
e
.
toCancel
}},[
e
.
_v
(
"取消"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
submitForm
(
"ruleForm"
)}}},[
e
.
_v
(
"确定"
)])],
1
)])},
staticRenderFns
:[]};
var
d
=
a
(
"VU/8"
)(
n
,
s
,
!
1
,
function
(
e
){
a
(
"dkup"
)},
"data-v-06b81c7a"
,
null
).
exports
,
u
=
a
(
"mvHQ"
),
m
=
a
.
n
(
u
),
p
=
a
(
"fZjL"
),
g
=
a
.
n
(
p
),
f
=
a
(
"Kkt8"
),
h
=
[{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/b0d3c14f-69e7-4753-8fbc-3bffcff9f8ce"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/204994d9-48d8-4bfe-bfbd-e8168d444965"
,
key
:
"[微笑]"
,
keyCode
:
"/::)"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/a5f7c1eb-358e-47fe-a43c-7ae1ba5e95fd"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/87bbdce9-82e4-4fb0-8d6c-b867ccf7e058"
,
key
:
"[撇嘴]"
,
keyCode
:
"/::~"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/32201a50-e937-4594-bfb2-68dc674d29a1"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/df55c677-7adb-48f2-bf65-6cf592eccf80"
,
key
:
"[色]"
,
keyCode
:
"/::B"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/674f2eea-85fd-4735-9ae5-416aef938857"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/c44c6034-c191-4526-ac80-c5f7f0fbcf5f"
,
key
:
"[发呆]"
,
keyCode
:
"/::|"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/a52e4031-51e6-47c4-9a7d-4aa36902e868"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/684dcfac-a95f-49fc-8d9d-8d3627f4a26e"
,
key
:
"[得意]"
,
keyCode
:
"/:8-)"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/d5d3c311-30a7-46d4-bd6b-e09e9e270eb8"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/3f17d82f-beb6-4e0f-be8b-72c571558438"
,
key
:
"[流泪]"
,
keyCode
:
"/::<"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/014fb90d-db81-4a6d-b89d-6edc21825c57"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/6ce13f11-6c26-4e5a-b3b1-f47151b61e30"
,
key
:
"[害羞]"
,
keyCode
:
"/::$"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/fecaa108-f9ee-4871-88f8-04fe9dd006c4"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/0fe29af4-bddc-46c2-a063-f8d8e4414d13"
,
key
:
"[闭嘴]"
,
keyCode
:
"/::X"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/61373735-d6a4-42ec-beb8-f2ad3a4204ae"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/9fa3a5f6-3814-46df-a85c-e27711b41c45"
,
key
:
"[睡]"
,
keyCode
:
"/::Z"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/5e18d40c-00fe-4fa8-94bb-fc5879b601db"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/87d28ce0-72d2-44ab-a5b9-899ca92737c3"
,
key
:
"[大哭]"
,
keyCode
:
"/::'("
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/9956bdde-87e2-4377-a77d-2d7a6510dcca"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/28d4443a-ae59-459b-8fa0-c5d236a84208"
,
key
:
"[尴尬]"
,
keyCode
:
"/::-|"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/a36b8868-369d-4022-be38-e71970b4b0ed"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/a3db89ce-6b1a-44e9-a276-8284dfba6fec"
,
key
:
"[发怒]"
,
keyCode
:
"/::@"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/2b46750b-e399-41fa-88da-cef0705adb68"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/a340191e-00f0-4aed-9c4b-5084c9d48a3f"
,
key
:
"[调皮]"
,
keyCode
:
"/::P"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/f3d140d2-3490-4d12-a16f-5786c50e92e6"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/3741398d-ac5e-4ca4-aff2-7072d4f3e809"
,
key
:
"[呲牙]"
,
keyCode
:
"/::D"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/d54d58f6-a89a-4a70-9e7a-834ba728e5cb"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/62bb88d4-a38b-4d0a-943b-854e35f4216d"
,
key
:
"[惊讶]"
,
keyCode
:
"/::O"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/ceb0633a-3610-48dc-a4da-79b74d91c5a3"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/a9f355d2-89d5-41c3-96c9-53e6c1893ce8"
,
key
:
"[难过]"
,
keyCode
:
"/::("
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/7ae8e3ea-864f-4864-ba73-fbc731fe5e43"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/75533bd8-4d96-4d14-a28e-18f01141fd53"
,
key
:
"[酷]"
,
keyCode
:
"/::+"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/1ad076a0-a052-4cc5-bd1b-d46bdaf25928"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/b551bd90-8f9c-49d4-a73f-05852da72e4e"
,
key
:
"[冷汗]"
,
keyCode
:
"/:--b"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/756eb481-d965-4b09-abe6-5ea2f7d460db"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/9a9f6be6-6c9f-496e-8f40-cdd56670b1cb"
,
key
:
"[抓狂]"
,
keyCode
:
"/::Q"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/56107e91-303c-4d4c-bbc2-6a6ace586777"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/70b702b8-b1f2-4071-8fa1-01b4bac8c8cb"
,
key
:
"[吐]"
,
keyCode
:
"/::T"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/363eb785-69a9-4f18-8e45-cb069bb12c4c"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/fc61ddbf-a962-4043-a5cc-cb7a8a4edbcc"
,
key
:
"[偷笑]"
,
keyCode
:
"/:,@P"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/888ee4dc-0274-4c3d-bb84-e3ba943ff86f"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/223e7c88-5ffa-4392-a4b1-e5785bf59e19"
,
key
:
"[愉快]"
,
keyCode
:
"/:,@-D"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/a5a391da-659b-48ab-8007-a8888f98ec66"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/8fb34158-562b-4710-ae93-47b64174bdbf"
,
key
:
"[白眼]"
,
keyCode
:
"/::d"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/f3c70943-f4a2-4e15-a9fb-f8f840878a6a"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/8a0a3dcb-ea02-4c9d-9fb8-3cd72378da19"
,
key
:
"[傲慢]"
,
keyCode
:
"/:,@o"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/c7b25d7c-abc6-4547-803b-19dc45fd5be2"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/2428fcba-8a72-40d6-b847-6f7034f7e9d5"
,
key
:
"[饥饿]"
,
keyCode
:
"/::g"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/c6e9be34-b576-477d-a757-7d5593019552"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/45cddb56-4a94-4cfb-aea3-02ea14fd5093"
,
key
:
"[困]"
,
keyCode
:
"/:|-)"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/015bfb53-443a-4b5c-82f6-960b9d0acedd"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/1455635c-6cb0-470c-ae27-6602f76af048"
,
key
:
"[惊恐]"
,
keyCode
:
"/::!"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/d2569652-651e-4f8a-8052-d8f471af1a4d"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/c90c340f-39ab-4d34-a301-8aed680e79dd"
,
key
:
"[流汗]"
,
keyCode
:
"/::L"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/27f447a5-555d-49c0-b04d-7da098e372f6"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/e2bf7e8a-3218-44e7-a42e-b18c4fd32411"
,
key
:
"[憨笑]"
,
keyCode
:
"/::>"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/8f139cf5-49f7-4bfa-9ab9-d6f23782684e"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/ee4249c0-d355-40d0-9c68-1187e88e68d8"
,
key
:
"[悠闲]"
,
keyCode
:
"/::,@"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/688b20ba-ce01-4369-934f-2062a5b57643"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/386a5629-aec9-4840-a2cb-dfb8bdbf237d"
,
key
:
"[奋斗]"
,
keyCode
:
"/:,@f"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/e05cd4b5-e5cb-4374-80d9-8c09702ce7f5"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/95d3c7be-356b-4573-8aa8-45724618a527"
,
key
:
"[咒骂]"
,
keyCode
:
"/::-S"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/8f11e215-9e39-476b-a77b-e994cc703edc"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/fa622e45-63eb-4fe3-aa27-cca7dc7db07b"
,
key
:
"[疑问]"
,
keyCode
:
"/:?"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/de50c8c0-a797-4bb7-b2ef-ddb4a6b48085"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/067378c9-04d4-470c-a125-1c3fcfa298e3"
,
key
:
"[嘘]"
,
keyCode
:
"/:,@x"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/2e55af63-2591-49b9-9565-85269a308a97"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/484cc9ea-89b4-4af1-8134-8ba9fdcabeb3"
,
key
:
"[晕]"
,
keyCode
:
"/:,@@"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/057a6ff4-2403-424a-aaa4-5ece64336a37"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/6d21c607-d709-45a5-a8d6-dd74bcdf587f"
,
key
:
"[疯了]"
,
keyCode
:
"/::8"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/7d5e19d4-334b-441a-a964-285d8826c6d8"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/204c089c-d737-447e-a912-a3da4f92c8fe"
,
key
:
"[哀]"
,
keyCode
:
"/:,@!"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/9b14cbe9-749a-4081-b697-8a456db53cd3"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/94019082-ea4b-4ada-a7a3-0e1d02143c62"
,
key
:
"[骷髅]"
,
keyCode
:
"/:!!!"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/3518ddf0-8cc3-4b4f-9391-7aa67a95f6b6"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/7eeb8cc7-6e6b-4e02-b289-4f462677831d"
,
key
:
"[敲打]"
,
keyCode
:
"/:xx"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/b3086372-dd16-45d1-a51e-343befece0f7"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/3e1c155c-3517-4c5f-9831-98a564d94bd2"
,
key
:
"[再见]"
,
keyCode
:
"/:bye"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/31350af3-00e6-40c1-91fd-c36660614f7a"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/39804b4f-e56d-475d-b398-121d65e96d01"
,
key
:
"[擦汗]"
,
keyCode
:
"/:wipe"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/fc09bdc6-8467-40c3-b20d-822980f14824"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/89a3283e-fef9-4ccd-a238-400139a786a9"
,
key
:
"[抠鼻]"
,
keyCode
:
"/:dig"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/7a1d3d7f-ae4e-495d-8c4d-75378069a52c"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/8cd3aee8-56aa-4862-b253-701212e838f6"
,
key
:
"[鼓掌]"
,
keyCode
:
"/:handclap"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/434911d7-c142-4115-8ca2-0765f78e41d1"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/2ead6c2f-23c7-4e5f-b8e3-161153989ede"
,
key
:
"[糗大了]"
,
keyCode
:
"/:&-("
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/aa3532b6-99df-4984-9e76-013b4e106501"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/9c3ec470-8055-413c-8839-465f75dd9f71"
,
key
:
"[坏笑]"
,
keyCode
:
"/:B-)"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/887fbd28-9f81-42ce-addf-639a94a8edb2"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/897a5d5b-7c89-40bf-94ed-dc1c91c317ee"
,
key
:
"[左哼哼]"
,
keyCode
:
"/:<@"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/2267b046-ac56-4fc2-b592-351a1e6ffa28"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/da25a587-d314-4b44-98eb-2f9220b6a093"
,
key
:
"[右哼哼]"
,
keyCode
:
"/:@>"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/3d1a9b50-3262-4d3e-a554-33871189023d"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/f5323432-50d2-4393-853c-f8998a956da6"
,
key
:
"[哈欠]"
,
keyCode
:
"/::-O"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/edd78bd3-ffbb-4268-8af8-85377535cc0a"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/ca62a0b0-2d01-4ca4-b958-8417f0906a89"
,
key
:
"[鄙视]"
,
keyCode
:
"/:>-|"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/d1f49343-0f9b-485a-b6b7-4d9b43020fab"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/e43b2e20-8802-44d4-afa0-7eb6b7126c38"
,
key
:
"[委屈]"
,
keyCode
:
"/:P-("
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/e6532dd2-5734-41fc-862c-3fec91ecb7b7"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/d3120d89-2df8-47ba-b894-84658dd3e617"
,
key
:
"[快哭了]"
,
keyCode
:
"/::'|"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/3799a3bb-94a4-4614-917c-07629f1a63ac"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/17853d32-28fc-4565-8dab-44d7c95d4819"
,
key
:
"[阴险]"
,
keyCode
:
"/:X-)"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/4f84b1d5-235a-41a6-9927-96e29232ab61"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/a034d0c1-eafd-434c-a3e9-6042081536f9"
,
key
:
"[亲亲]"
,
keyCode
:
"/::*"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/fb45c4ad-2813-4ec1-afb7-873ef95ea975"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/660a65ee-66ff-4fa3-85fc-72149b938739"
,
key
:
"[吓]"
,
keyCode
:
"/:@x"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/abdb4f9e-8fec-4fab-98c4-a89711da5f6a"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/c8ef0424-21c9-4a25-a6be-c2233a6a85ba"
,
key
:
"[可怜]"
,
keyCode
:
"/:8*"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/6a0d843a-6870-409a-9bf2-40114628076e"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/f80d75c4-8f07-459c-9c83-0cf016ddfcef"
,
key
:
"[菜刀]"
,
keyCode
:
"/:pd"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/140d13e9-1587-491c-afdc-2599a5ba72de"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/08ec4424-86b8-4e46-bdce-3c93180a9cf9"
,
key
:
"[西瓜]"
,
keyCode
:
"/:<W>"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/d9974e8a-820e-4571-8fde-0fe21b725b7a"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/8426b197-1a1b-4f5f-a446-e47b2a2bff09"
,
key
:
"[啤酒]"
,
keyCode
:
"/:beer"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/4ff9ae58-e8df-4c9e-91ac-b91a6dc9096d"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/2578648c-f29b-46d3-91de-b636c6014dcc"
,
key
:
"[篮球]"
,
keyCode
:
"/:basketb"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/aa136900-c1f5-40f4-9130-1ddae518cb22"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/3b7a5bec-a119-4a7f-ae8f-e962cfb658b5"
,
key
:
"[乒乓]"
,
keyCode
:
"/:oo"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/4de4896d-a8b0-4cc6-921a-bb7a81788e68"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/5f1af094-059d-48a3-b374-381818827596"
,
key
:
"[咖啡]"
,
keyCode
:
"/:coffee"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/c61865c0-2fcf-44e9-bf62-3a5a606ca459"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/71a2ebba-3160-4a96-9370-2294e325c3d6"
,
key
:
"[饭]"
,
keyCode
:
"/:eat"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/2ffebcf6-48a8-4c26-8e67-dd6ea345407f"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/7309bbc1-3f2e-4df1-b523-b95ad9e18e0f"
,
key
:
"[猪头]"
,
keyCode
:
"/:pig"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/66dfc7b5-bebe-45d9-98f6-96d3a28214e8"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/06673bd8-c7ca-4672-b7a3-569bb5768efc"
,
key
:
"[玫瑰]"
,
keyCode
:
"/:rose"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/86a99146-e83b-4132-b3fb-2864aaf8cfa4"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/6b6b8364-d6eb-4c27-99d8-4bd0930b3cda"
,
key
:
"[凋谢]"
,
keyCode
:
"/:fade"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/090ae661-b401-496c-bd1f-d475e20e1c36"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/d42b19ce-943c-40df-8886-f1cc70281f5d"
,
key
:
"[嘴唇]"
,
keyCode
:
"/:showlove"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/a8295101-ac8c-4b8b-b1b0-97c548ec7c8d"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/579e7c8b-d538-4ac0-8b9b-5e0691c33c74"
,
key
:
"[爱心]"
,
keyCode
:
"/:heart"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/4b42af75-7434-4e1b-a727-def403b3c018"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/d8b6265f-2ca2-4227-8aa3-26cfee1e1d8f"
,
key
:
"[心碎]"
,
keyCode
:
"/:break"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/2eaf27d5-0f8e-4716-9f0c-7af7fce62980"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/f96201f2-32b8-462b-847a-22c49c3cf6df"
,
key
:
"[蛋糕]"
,
keyCode
:
"/:cake"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/ef55a1bb-6177-4075-b8ae-326b967cd612"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/f3e8ef24-0efa-4823-af8f-34604e832b94"
,
key
:
"[闪电]"
,
keyCode
:
"/:li"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/8672c806-0ecd-45ec-a9cd-2af63c806344"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/758a6b09-71e7-429b-9c2e-c744b8305610"
,
key
:
"[炸弹]"
,
keyCode
:
"/:bome"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/0dfd4afd-f954-4de3-93da-ac6104a007a9"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/d82af5eb-6fd5-48c8-9ba9-bf8b6ef7fe54"
,
key
:
"[刀]"
,
keyCode
:
"/:kn"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/12524677-2787-4a7b-9e8a-2874c44864f6"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/dbb1e536-27bb-47ea-a57e-25c89ecb4c81"
,
key
:
"[足球]"
,
keyCode
:
"/:footb"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/d65a0c9d-d50f-4986-86f4-de5babceeb4f"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/62a24697-7529-4dce-93ef-8d78ee2ef3d9"
,
key
:
"[瓢虫]"
,
keyCode
:
"/:ladybug"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/0c30bcc5-1ad8-4b33-8040-cf11b4c8cdb4"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/4beffad5-d07f-465b-987e-62687178a609"
,
key
:
"[便便]"
,
keyCode
:
"/:shit"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/adb7224b-ddd7-4e51-9cc0-c9642c3ca827"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/3e124ec4-68d2-4129-ace6-b02b5a0a47dd"
,
key
:
"[月亮]"
,
keyCode
:
"/:moon"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/55a303ca-bcbf-42fb-99c5-d2a2aaa2c254"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/191faab4-2c7d-4b6a-95e0-0cec831bdba8"
,
key
:
"[太阳]"
,
keyCode
:
"/:sun"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/a84809d8-4553-4380-966b-17484ce317b8"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/ffbc4ada-d572-4f80-821a-ee1d232c0da4"
,
key
:
"[礼物]"
,
keyCode
:
"/:gift"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/70f21a3f-165e-46dd-bbd3-9523e72761ef"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/1344a463-f19a-4a5a-9e99-450bf32c2c6b"
,
key
:
"[拥抱]"
,
keyCode
:
"/:hug"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/a008b2e1-6d02-47f0-b477-c2b0e9f585f2"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/b4cf425d-08fb-48a3-8383-e705d4ed990e"
,
key
:
"[强]"
,
keyCode
:
"/:strong"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/dd610773-3bc5-4bce-90a3-d5c7b7af1bd4"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/bab6f0b3-94e1-4e94-b144-5161c5ee0799"
,
key
:
"[弱]"
,
keyCode
:
"/:weak"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/4c027076-e5bb-492c-9cc7-39b58b50f720"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/72076aef-4091-4b6a-a727-b3b433c64e7e"
,
key
:
"[握手]"
,
keyCode
:
"/:share"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/fe962ed9-d581-4bcf-bf9e-8672e45353ef"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/fe962ed9-d581-4bcf-bf9e-8672e45353ef"
,
key
:
"[胜利]"
,
keyCode
:
"/:v"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/27f6adac-c525-4b8e-817d-f79e8b595ad8"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/ab16d400-9bb0-493d-9973-5cf97f6f8ab2"
,
key
:
"[抱拳]"
,
keyCode
:
"/:@)"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/ef165f66-cf6b-4588-81a6-e01a31679670"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/1e701efe-b602-4570-a957-5ba12486a853"
,
key
:
"[勾引]"
,
keyCode
:
"/:jj"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/c230a194-9f2f-4690-84ce-194aed18143b"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/fb9d43d1-506d-4684-8fc2-62a9cd528feb"
,
key
:
"[拳头]"
,
keyCode
:
"/:@@"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/4d963fc7-20c0-4942-b6f6-eb9282c509a6"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/443b1f18-c10d-4803-9a1d-698075874fcf"
,
key
:
"[差劲]"
,
keyCode
:
"/:bad"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/ac3fe192-103c-48f1-bd30-293d5f7551d0"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/8f0ce5ac-c0b6-4936-8091-953b13d1d091"
,
key
:
"[爱你]"
,
keyCode
:
"/:lvu"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/68d642b4-0573-4821-8c42-ecfdaf8ceeb9"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/633fc189-ab89-4ee5-9325-01f7b6c2a3fe"
,
key
:
"[NO]"
,
keyCode
:
"/:no"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/ceb1580b-e0b1-4fcf-a3d9-66b83346cc43"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/a80685a2-4e41-461c-b67d-e2092c2ba068"
,
key
:
"[OK]"
,
keyCode
:
"/:ok"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/1732e5d1-ab4b-4c63-9571-171feac408ef"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/a83394ea-9191-4eff-a3ca-84646ee748e4"
,
key
:
"[爱情]"
,
keyCode
:
"/:love"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/f15cf2a7-89d8-48c5-bd63-0e550a240813"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/b23f441c-2329-468b-a09a-e6a1d2cc38cf"
,
key
:
"[飞吻]"
,
keyCode
:
"/:<L>"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/7be4b8d5-6b2c-4c8c-9444-3e82057e6aca"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/db11cfab-1be4-4279-b11a-18787247513d"
,
key
:
"[跳跳]"
,
keyCode
:
"/:jump"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/a1147a2d-8fe4-4dac-b14b-4d144ce5e2f7"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/9e243eca-c1e3-4afa-a068-8260af2eb62b"
,
key
:
"[发抖]"
,
keyCode
:
"/:shake"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/845e5982-a104-4ca7-be4c-ef176a360c25"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/1695538d-744f-418b-9362-6eb052642163"
,
key
:
"[怄火]"
,
keyCode
:
"/:<O>"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/fd84d952-e6d0-498b-865c-4f9aaf570d81"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/4ae21d0e-b019-4ab8-a607-8e43b8f24bf1"
,
key
:
"[转圈]"
,
keyCode
:
"/:circle"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/976e7ef5-4381-4f98-8a94-b1647c501357"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/e63c5775-da40-480a-bf57-2fac6b88c372"
,
key
:
"[磕头]"
,
keyCode
:
"/:kotow"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/705e70c6-5524-4dc8-840b-ddf0a5558024"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/fa8c6f1d-3fe6-4ffe-b62b-bc6f6024a681"
,
key
:
"[回头]"
,
keyCode
:
"/:turn"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/069837fd-9b7c-4dfe-9203-2cc747c083d0"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/64a70d02-8888-4c23-93fc-a94c63589ea8"
,
key
:
"[跳绳]"
,
keyCode
:
"/:skip"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/ebeb6e1d-a159-4d11-9a41-e639c1b82203"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/6b12c653-0027-4c44-a9f2-d0bac2d405bf"
,
key
:
"[投降]"
,
keyCode
:
"/:oY"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/2da0f4d4-37ed-43bd-ba44-0f3a65c2f46c"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/21d5b626-e190-4a65-9c88-c4bfcb4261d7"
,
key
:
"[激动]"
,
keyCode
:
"/:#-0"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/6d34badb-1972-4b3f-9d42-f054f365ed5a"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/bc51d1d4-42de-442a-8e94-74ae0dd5abd0"
,
key
:
"[乱舞]"
,
keyCode
:
"/:hiphot"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/4e35c97d-f497-4fa8-8cf4-bd6fd8d7f9ad"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/6856fc16-279a-45cd-9ab3-9396d382f502"
,
key
:
"[献吻]"
,
keyCode
:
"/:kiss"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/209d7202-5972-445e-a0f6-336cbe8b0b9d"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/fadeb841-e07c-47f7-b948-081eabb556b9"
,
key
:
"[左太极]"
,
keyCode
:
"/:<&"
},{
imgUrl
:
"https://pic01-10001430.image.myqcloud.com/f566cd87-b948-4929-bfcc-955385937095"
,
gifUrl
:
"https://pic01-10001430.image.myqcloud.com/4b08fdfe-9ea8-420a-9eda-998b6ad2045f"
,
key
:
"[右太极]"
,
keyCode
:
"/:&>"
}],
b
=
{
props
:{
editRow
:{
type
:
Object
,
default
:
function
(){
return
{}}},
categoryId
:{
type
:
Object
,
default
:
function
(){
return
""
}}},
components
:{
limitInput
:
i
.
a
,
limitTextarea
:
f
.
a
},
data
:
function
(){
return
{
editPersion
:
localStorage
.
getItem
(
"userName"
),
dialogVisible
:
!
0
,
ruleForm
:{
materialId
:
""
,
materialTitle
:
""
,
materialContent
:
""
},
rules
:{
materialTitle
:[{
required
:
!
0
,
message
:
"请输入文本标题"
,
trigger
:
"blur"
}],
materialContent
:[{
required
:
!
0
,
message
:
"请输入文本内容"
,
trigger
:
"blur"
}]},
emojiList
:
h
}},
methods
:{
handleInput
:
function
(
e
){
this
.
ruleForm
.
materialContent
=
e
.
target
.
innerText
},
selectEmoji
:
function
(
e
){
this
.
ruleForm
.
materialContent
=
this
.
ruleForm
.
materialContent
+
e
.
key
},
toCancel
:
function
(){
this
.
$emit
(
"closeText"
),
this
.
$refs
.
ruleForm
.
resetFields
()},
handleClose
:
function
(
e
){
this
.
$emit
(
"closeText"
),
this
.
$refs
.
ruleForm
.
resetFields
()},
submitForm
:
Object
(
o
.
a
)(
function
(
e
){
var
t
=
this
;
t
.
$refs
[
e
].
validate
(
function
(
e
){
e
&&
t
.
postSave
()})},
300
),
postSave
:
function
(){
var
e
=
this
,
t
=
{
categoryId
:
e
.
categoryId
,
materialType
:
1
,
materialId
:
e
.
ruleForm
.
materialId
,
materialTitle
:
e
.
ruleForm
.
materialTitle
,
materialContent
:
e
.
ruleForm
.
materialContent
};
Object
(
r
.
d
)(
e
.
ruleForm
.
materialId
?
"/haoban-manage3-web/material-edit"
:
"/haoban-manage3-web/material-add"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
1
==
a
.
errorCode
?(
l
.
a
.
showmsg
(
"操作成功"
,
"success"
),
e
.
$refs
.
ruleForm
.
resetFields
(),
e
.
$emit
(
"submitText"
)):
c
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{
editRow
:
function
(
e
){
g
()(
e
).
length
&&
(
this
.
ruleForm
=
JSON
.
parse
(
m
()(
e
)))}},
mounted
:
function
(){
g
()(
this
.
editRow
).
length
&&
(
this
.
ruleForm
=
JSON
.
parse
(
m
()(
this
.
editRow
)))}},
y
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"el-dialog"
,{
attrs
:{
title
:
e
.
editRow
.
materialId
?
"编辑文本"
:
"新建文本"
,
visible
:
e
.
dialogVisible
,
width
:
"600px"
,
"before-close"
:
e
.
handleClose
},
on
:{
"update:visible"
:
function
(
t
){
e
.
dialogVisible
=
t
}}},[
a
(
"div"
,{},[
a
(
"el-form"
,{
ref
:
"ruleForm"
,
staticClass
:
"demo-ruleForm"
,
attrs
:{
model
:
e
.
ruleForm
,
rules
:
e
.
rules
,
"label-width"
:
"100px"
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"文本标题"
,
prop
:
"materialTitle"
}},[
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
440
,
inputValue
:
e
.
ruleForm
.
materialTitle
,
holder
:
"请输入文本标题"
,
getByType
:
"word"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"materialTitle"
,
t
)}}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"内容"
,
prop
:
"materialContent"
}},[
a
(
"div"
,{
staticClass
:
"material-content"
},[
a
(
"limit-textarea"
,{
staticClass
:
"material-body"
,
attrs
:{
inputWidth
:
440
,
inputValue
:
e
.
ruleForm
.
materialContent
,
holder
:
"请输入内容"
,
getByType
:
"char"
,
maxLength
:
4
e3
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"materialContent"
,
t
)}}}),
e
.
_v
(
" "
),
a
(
"el-popover"
,{
attrs
:{
placement
:
"top"
,
width
:
"388"
,
trigger
:
"click"
}},[
a
(
"ul"
,{
staticClass
:
"flex flex-wrap"
},
e
.
_l
(
e
.
emojiList
,
function
(
t
,
i
){
return
a
(
"li"
,{
key
:
i
+
"emoji"
},[
a
(
"img"
,{
attrs
:{
src
:
t
.
gifUrl
,
alt
:
""
},
on
:{
click
:
function
(
a
){
e
.
selectEmoji
(
t
)}}})])})),
e
.
_v
(
" "
),
a
(
"img"
,{
staticClass
:
"emoji-img cursor-pointer"
,
attrs
:{
slot
:
"reference"
,
src
:
"https://pic01-10001430.image.myqcloud.com/b0d3c14f-69e7-4753-8fbc-3bffcff9f8ce"
,
alt
:
""
},
slot
:
"reference"
})])],
1
)])],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"el-button"
,{
on
:{
click
:
e
.
toCancel
}},[
e
.
_v
(
"取消"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
submitForm
(
"ruleForm"
)}}},[
e
.
_v
(
"确定"
)])],
1
)])},
staticRenderFns
:[]};
var
v
=
a
(
"VU/8"
)(
b
,
y
,
!
1
,
function
(
e
){
a
(
"J7IQ"
)},
"data-v-4acf2108"
,
null
).
exports
,
C
=
a
(
"//Fk"
),
w
=
a
.
n
(
C
),
k
=
{
name
:
"single-upload"
,
props
:{
videoSrc
:{
type
:
String
,
default
:
""
},
imgSrc
:{
type
:
String
,
default
:
""
},
field
:{
type
:
String
,
default
:
""
},
uploadLimit
:{
type
:[
Number
,
String
],
default
:
2
},
uploadType
:{
type
:[
Number
,
String
],
default
:
1
}},
data
:
function
(){
return
{
projectName
:
""
,
imgShowFlag
:
!
1
,
imgUrl
:
""
,
videoFlag
:
!
1
,
fileType
:
1
==
this
.
uploadType
||
2
==
this
.
uploadType
?
"jpg"
:
"mp4"
}},
beforeMount
:
function
(){
var
e
=
window
.
location
.
origin
;
-
1
!=
e
.
indexOf
(
"localhost"
)?
this
.
baseUrl
=
"http://www.gicdev.com"
:
this
.
baseUrl
=
e
},
methods
:{
uploadUrl
:
function
(){
var
e
=
window
.
location
.
origin
,
t
=
void
0
;
return
t
=
"-1"
!=
e
.
indexOf
(
"localhost"
)?
"http://www.gicdev.com"
:
e
,
this
.
upUrl
=
t
+
"/haoban-manage3-web/upload-file?fileType="
+
this
.
fileType
,
this
.
upUrl
},
handleAvatarSuccess
:
function
(
e
,
t
,
a
){
1
==
e
.
errorCode
?(
console
.
log
(
e
),
this
.
videoFlag
=!
1
,
3
==
this
.
uploadType
?
this
.
$emit
(
"update:videoSrc"
,
e
.
result
.
url
):
this
.
$emit
(
"update:imgSrc"
,
e
.
result
.
url
)):
c
.
a
.
errorMsg
(
e
)},
beforeAvatarUpload
:
function
(
e
){
console
.
log
(
e
),
this
.
fileType
=
"image/jpeg"
===
e
.
type
?
"jpeg"
:
"image/jpg"
===
e
.
type
?
"jpg"
:
"image/png"
===
e
.
type
?
"png"
:
"video/mp4"
==
e
.
type
?
"mp4"
:
""
;
var
t
=
"image/jpeg"
===
e
.
type
||
"image/jpg"
===
e
.
type
||
"image/png"
===
e
.
type
,
a
=
"video/mp4"
==
e
.
type
,
i
=
e
.
size
/
1024
/
1024
<
this
.
uploadLimit
;
return
1
!=
this
.
uploadType
&&
2
!=
this
.
uploadType
||
t
||
this
.
$message
.
error
(
"上传图片支持png、jpg、jpeg格式!"
),
1
!=
this
.
uploadType
&&
2
!=
this
.
uploadType
||
i
||
this
.
$message
.
error
(
"上传图片大小不能超过 "
+
this
.
uploadLimit
+
"MB!"
),
3
!=
this
.
uploadType
||
a
||
this
.
$message
.
error
(
"上传视频支持MP4格式!"
),
3
!=
this
.
uploadType
||
i
||
this
.
$message
.
error
(
"上传视频大小不能超过 "
+
this
.
uploadLimit
+
"MB!"
),
3
==
this
.
uploadType
?
a
&&
i
:
t
&&
i
&&
new
w
.
a
(
function
(
t
,
a
){
var
i
=
new
FileReader
;
i
.
onload
=
function
(
e
){
var
a
=
new
Image
;
a
.
onload
=
function
(){
this
.
width
,
this
.
height
;
t
()},
a
.
src
=
e
.
target
.
result
},
i
.
readAsDataURL
(
e
)})},
showImage
:
function
(
e
){
if
(
!
e
||
""
==
e
)
return
!
1
;
this
.
imgShowFlag
=!
0
,
this
.
imgUrl
=
e
},
hideImage
:
function
(
e
){
this
.
imgShowFlag
=
e
}}},
_
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"single-upload-wrap"
},[
a
(
"el-upload"
,{
staticClass
:
"avatar-uploader"
,
attrs
:{
action
:
e
.
uploadUrl
(),
"show-file-list"
:
!
1
,
"on-success"
:
e
.
handleAvatarSuccess
,
"before-upload"
:
e
.
beforeAvatarUpload
}},[
e
.
imgSrc
?
a
(
"img"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
e
.
imgSrc
},
on
:{
mouseover
:
function
(
t
){
e
.
showImage
(
e
.
imgSrc
)}}}):
e
.
_e
(),
e
.
_v
(
" "
),
""
!=
e
.
videoSrc
&&
0
==
e
.
videoFlag
?
a
(
"video"
,{
staticClass
:
"avatar"
,
attrs
:{
src
:
e
.
videoSrc
}},[
e
.
_v
(
"您的浏览器不支持视频播放"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
imgSrc
||
e
.
videoSrc
?
e
.
_e
():
a
(
"div"
,[
a
(
"i"
,{
staticClass
:
"el-icon-plus avatar-uploader-icon"
}),
e
.
_v
(
" "
),
a
(
"p"
,{
staticClass
:
"font-12 color-606266"
},[
e
.
_v
(
e
.
_s
(
1
==
e
.
uploadType
||
2
==
e
.
uploadType
?
"上传图片"
:
"上传视频"
))])])]),
e
.
_v
(
" "
),
1
==
e
.
uploadType
?
a
(
"p"
,{
staticClass
:
"upload-tip color-909399 font-12"
},[
e
.
_v
(
"
\
n 图片支持png、jpg、jpeg格式,大小不超过2M,可上传1张
\
n "
)]):
e
.
_e
(),
e
.
_v
(
" "
),
2
==
e
.
uploadType
?
a
(
"p"
,{
staticClass
:
"upload-tip color-909399 font-12"
},[
e
.
_v
(
"
\
n 建议尺寸:160×160;支持jpg、jpeg、png格式,图片大小不超过1MB
\
n "
)]):
e
.
_e
(),
e
.
_v
(
" "
),
3
==
e
.
uploadType
?
a
(
"p"
,{
staticClass
:
"upload-tip color-909399 font-12"
},[
e
.
_v
(
"
\
n 视频支持MP4格式,大小不超过10M,上传企业微信后3天内有效
\
n "
)]):
e
.
_e
()],
1
)},
staticRenderFns
:[]};
var
x
=
a
(
"VU/8"
)(
k
,
_
,
!
1
,
function
(
e
){
a
(
"50B4"
)},
"data-v-08a0ab8c"
,
null
).
exports
,
S
=
{
props
:{
editRow
:{
type
:
Object
,
default
:
function
(){
return
{}}},
categoryId
:{
type
:
Object
,
default
:
function
(){
return
""
}}},
components
:{
limitInput
:
i
.
a
,
limitTextarea
:
f
.
a
,
singleUpload
:
x
},
data
:
function
(){
return
{
editPersion
:
localStorage
.
getItem
(
"userName"
),
dialogVisible
:
!
0
,
ruleForm
:{
materialId
:
""
,
materialTitle
:
""
,
imgUrl
:
""
},
rules
:{
materialTitle
:[{
required
:
!
0
,
message
:
"请输入图片标题"
,
trigger
:
"blur"
}],
imgUrl
:[{
required
:
!
0
,
message
:
"请上传图片"
,
trigger
:
"blur"
}]},
emojiList
:
h
}},
methods
:{
toCancel
:
function
(){
this
.
$emit
(
"closeText"
),
this
.
$refs
.
ruleForm
.
resetFields
()},
handleClose
:
function
(
e
){
this
.
$emit
(
"closeText"
),
this
.
$refs
.
ruleForm
.
resetFields
()},
submitForm
:
Object
(
o
.
a
)(
function
(
e
){
var
t
=
this
;
t
.
$refs
[
e
].
validate
(
function
(
e
){
e
&&
t
.
postSave
()})},
300
),
postSave
:
function
(){
var
e
=
this
,
t
=
{
categoryId
:
e
.
categoryId
,
materialType
:
2
,
materialId
:
e
.
ruleForm
.
materialId
,
materialTitle
:
e
.
ruleForm
.
materialTitle
,
imgUrl
:
e
.
ruleForm
.
imgUrl
};
Object
(
r
.
d
)(
e
.
ruleForm
.
materialId
?
"/haoban-manage3-web/material-edit"
:
"/haoban-manage3-web/material-add"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
1
==
a
.
errorCode
?(
l
.
a
.
showmsg
(
"操作成功"
,
"success"
),
e
.
$refs
.
ruleForm
.
resetFields
(),
e
.
$emit
(
"submitText"
)):
c
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{
editRow
:
function
(
e
){
g
()(
e
).
length
&&
(
this
.
ruleForm
=
JSON
.
parse
(
m
()(
e
)))}},
mounted
:
function
(){
g
()(
this
.
editRow
).
length
&&
(
this
.
ruleForm
=
JSON
.
parse
(
m
()(
this
.
editRow
)))}},
T
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"el-dialog"
,{
attrs
:{
title
:
e
.
editRow
.
materialId
?
"编辑图片"
:
"新建图片"
,
visible
:
e
.
dialogVisible
,
width
:
"600px"
,
"before-close"
:
e
.
handleClose
},
on
:{
"update:visible"
:
function
(
t
){
e
.
dialogVisible
=
t
}}},[
a
(
"div"
,{},[
a
(
"el-form"
,{
ref
:
"ruleForm"
,
staticClass
:
"demo-ruleForm"
,
attrs
:{
model
:
e
.
ruleForm
,
rules
:
e
.
rules
,
"label-width"
:
"100px"
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"图片标题"
,
prop
:
"materialTitle"
}},[
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
440
,
inputValue
:
e
.
ruleForm
.
materialTitle
,
holder
:
"请输入图片标题"
,
getByType
:
"word"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"materialTitle"
,
t
)}}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"图片"
,
prop
:
"imgUrl"
}},[
a
(
"single-upload"
,{
attrs
:{
uploadType
:
"1"
,
imgSrc
:
e
.
ruleForm
.
imgUrl
},
on
:{
"update:imgSrc"
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"imgUrl"
,
t
)}}})],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"el-button"
,{
on
:{
click
:
e
.
toCancel
}},[
e
.
_v
(
"取消"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
submitForm
(
"ruleForm"
)}}},[
e
.
_v
(
"确定"
)])],
1
)])},
staticRenderFns
:[]};
var
U
=
a
(
"VU/8"
)(
S
,
T
,
!
1
,
function
(
e
){
a
(
"UwuL"
)},
"data-v-1b09f0ee"
,
null
).
exports
,
I
=
{
props
:{
editRow
:{
type
:
Object
,
default
:
function
(){
return
{}}},
categoryId
:{
type
:
Object
,
default
:
function
(){
return
""
}}},
components
:{
limitInput
:
i
.
a
,
limitTextarea
:
f
.
a
,
singleUpload
:
x
},
data
:
function
(){
return
{
editPersion
:
localStorage
.
getItem
(
"userName"
),
dialogVisible
:
!
0
,
ruleForm
:{
materialId
:
""
,
link
:
""
,
materialTitle
:
""
,
materialDesc
:
""
,
imgUrl
:
""
},
rules
:{
materialTitle
:[{
required
:
!
0
,
message
:
"请输入网页标题"
,
trigger
:
"blur"
}],
link
:[{
required
:
!
0
,
validator
:
function
(
e
,
t
,
a
){
""
===
t
?
a
(
new
Error
(
"请输入链接"
)):
/
(
http|ftp|https
)
:
\/\/[\w\-
_
]
+
(\.[\w\-
_
]
+
)
+
([\w\-\.
,@?^=%&:
/
~
\+
#
]
*
[\w\-\@
?^=%&
/
~
\+
#
])?
/
.
test
(
t
)?
a
():
a
(
new
Error
(
"请输入链接,正确格式:https://www.XXX.com!"
))},
trigger
:
"blur"
}],
materialDesc
:[{
required
:
!
0
,
message
:
"请输入摘要"
,
trigger
:
"blur"
}],
imgUrl
:[{
required
:
!
0
,
message
:
"请上传网页封面"
,
trigger
:
"blur"
}]},
emojiList
:
h
}},
methods
:{
toCancel
:
function
(){
this
.
$emit
(
"closeText"
),
this
.
$refs
.
ruleForm
.
resetFields
()},
handleClose
:
function
(
e
){
this
.
$emit
(
"closeText"
),
this
.
$refs
.
ruleForm
.
resetFields
()},
submitForm
:
Object
(
o
.
a
)(
function
(
e
){
var
t
=
this
;
t
.
$refs
[
e
].
validate
(
function
(
e
){
e
&&
t
.
postSave
()})},
300
),
postSave
:
function
(){
var
e
=
this
,
t
=
{
categoryId
:
e
.
categoryId
,
materialType
:
3
,
link
:
e
.
ruleForm
.
link
,
materialId
:
e
.
ruleForm
.
materialId
,
materialTitle
:
e
.
ruleForm
.
materialTitle
,
imgUrl
:
e
.
ruleForm
.
imgUrl
,
materialDesc
:
e
.
ruleForm
.
materialDesc
};
Object
(
r
.
d
)(
e
.
ruleForm
.
materialId
?
"/haoban-manage3-web/material-edit"
:
"/haoban-manage3-web/material-add"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
1
==
a
.
errorCode
?(
l
.
a
.
showmsg
(
"操作成功"
,
"success"
),
e
.
$refs
.
ruleForm
.
resetFields
(),
e
.
$emit
(
"submitText"
)):
c
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{
editRow
:
function
(
e
){
g
()(
e
).
length
&&
(
this
.
ruleForm
=
JSON
.
parse
(
m
()(
e
)))}},
mounted
:
function
(){
g
()(
this
.
editRow
).
length
&&
(
this
.
ruleForm
=
JSON
.
parse
(
m
()(
this
.
editRow
)))}},
q
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"el-dialog"
,{
attrs
:{
title
:
e
.
editRow
.
materialId
?
"编辑网页"
:
"新建网页"
,
visible
:
e
.
dialogVisible
,
width
:
"600px"
,
"before-close"
:
e
.
handleClose
},
on
:{
"update:visible"
:
function
(
t
){
e
.
dialogVisible
=
t
}}},[
a
(
"div"
,{},[
a
(
"el-form"
,{
ref
:
"ruleForm"
,
staticClass
:
"demo-ruleForm"
,
attrs
:{
model
:
e
.
ruleForm
,
rules
:
e
.
rules
,
"label-width"
:
"100px"
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"网页标题"
,
prop
:
"materialTitle"
}},[
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
440
,
inputValue
:
e
.
ruleForm
.
materialTitle
,
holder
:
"请输入网页标题"
,
getByType
:
"word"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"materialTitle"
,
t
)}}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"链接"
,
prop
:
"link"
}},[
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
440
,
inputValue
:
e
.
ruleForm
.
link
,
holder
:
"请输入链接,格式需带https://www,或http://www"
,
getByType
:
"word"
,
maxLength
:
200
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"link"
,
t
)}}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"摘要"
,
prop
:
"materialDesc"
}},[
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
440
,
inputValue
:
e
.
ruleForm
.
materialDesc
,
holder
:
"请输入网页摘要"
,
getByType
:
"word"
,
maxLength
:
100
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"materialDesc"
,
t
)}}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"封面"
,
prop
:
"imgUrl"
}},[
a
(
"single-upload"
,{
attrs
:{
uploadType
:
"2"
,
uploadLimit
:
1
,
imgSrc
:
e
.
ruleForm
.
imgUrl
},
on
:{
"update:imgSrc"
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"imgUrl"
,
t
)}}})],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"el-button"
,{
on
:{
click
:
e
.
toCancel
}},[
e
.
_v
(
"取消"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
submitForm
(
"ruleForm"
)}}},[
e
.
_v
(
"确定"
)])],
1
)])},
staticRenderFns
:[]};
var
F
=
a
(
"VU/8"
)(
I
,
q
,
!
1
,
function
(
e
){
a
(
"/oSI"
)},
"data-v-160d6489"
,
null
).
exports
,
D
=
{
props
:{
editRow
:{
type
:
Object
,
default
:
function
(){
return
{}}},
categoryId
:{
type
:
Object
,
default
:
function
(){
return
""
}}},
components
:{
limitInput
:
i
.
a
,
limitTextarea
:
f
.
a
,
singleUpload
:
x
},
data
:
function
(){
return
{
editPersion
:
localStorage
.
getItem
(
"userName"
),
dialogVisible
:
!
0
,
ruleForm
:{
materialId
:
""
,
materialTitle
:
""
,
link
:
""
,
imgUrl
:
""
},
rules
:{
materialTitle
:[{
required
:
!
0
,
message
:
"请输入视频标题"
,
trigger
:
"blur"
}],
link
:[{
required
:
!
0
,
message
:
"请上传视频"
,
trigger
:
"blur"
}],
imgUrl
:[{
required
:
!
0
,
message
:
"请上传封面"
,
trigger
:
"blur"
}]},
emojiList
:
h
}},
methods
:{
toCancel
:
function
(){
this
.
$emit
(
"closeText"
),
this
.
$refs
.
ruleForm
.
resetFields
()},
handleClose
:
function
(
e
){
this
.
$emit
(
"closeText"
),
this
.
$refs
.
ruleForm
.
resetFields
()},
submitForm
:
Object
(
o
.
a
)(
function
(
e
){
var
t
=
this
;
t
.
$refs
[
e
].
validate
(
function
(
e
){
e
&&
t
.
postSave
()})},
300
),
postSave
:
function
(){
var
e
=
this
,
t
=
{
categoryId
:
e
.
categoryId
,
materialType
:
4
,
materialId
:
e
.
ruleForm
.
materialId
,
materialTitle
:
e
.
ruleForm
.
materialTitle
,
link
:
e
.
ruleForm
.
link
,
imgUrl
:
e
.
ruleForm
.
imgUrl
};
Object
(
r
.
d
)(
e
.
ruleForm
.
materialId
?
"/haoban-manage3-web/material-edit"
:
"/haoban-manage3-web/material-add"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
1
==
a
.
errorCode
?(
l
.
a
.
showmsg
(
"操作成功"
,
"success"
),
e
.
$refs
.
ruleForm
.
resetFields
(),
e
.
$emit
(
"submitText"
)):
c
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{
editRow
:
function
(
e
){
g
()(
e
).
length
&&
(
this
.
ruleForm
=
JSON
.
parse
(
m
()(
e
)))}},
mounted
:
function
(){
g
()(
this
.
editRow
).
length
&&
(
this
.
ruleForm
=
JSON
.
parse
(
m
()(
this
.
editRow
)))}},
$
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"el-dialog"
,{
attrs
:{
title
:
e
.
editRow
.
materialId
?
"编辑视频"
:
"新建视频"
,
visible
:
e
.
dialogVisible
,
width
:
"600px"
,
"before-close"
:
e
.
handleClose
},
on
:{
"update:visible"
:
function
(
t
){
e
.
dialogVisible
=
t
}}},[
a
(
"div"
,{},[
a
(
"el-form"
,{
ref
:
"ruleForm"
,
staticClass
:
"demo-ruleForm"
,
attrs
:{
model
:
e
.
ruleForm
,
rules
:
e
.
rules
,
"label-width"
:
"100px"
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"视频标题"
,
prop
:
"materialTitle"
}},[
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
440
,
inputValue
:
e
.
ruleForm
.
materialTitle
,
holder
:
"请输入视频标题"
,
getByType
:
"word"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"materialTitle"
,
t
)}}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"封面"
,
prop
:
"imgUrl"
}},[
a
(
"single-upload"
,{
attrs
:{
uploadType
:
"2"
,
uploadLimit
:
1
,
imgSrc
:
e
.
ruleForm
.
imgUrl
},
on
:{
"update:imgSrc"
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"imgUrl"
,
t
)}}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"视频"
,
prop
:
"link"
}},[
a
(
"single-upload"
,{
attrs
:{
uploadType
:
"3"
,
uploadLimit
:
10
,
videoSrc
:
e
.
ruleForm
.
link
},
on
:{
"update:videoSrc"
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"link"
,
t
)}}})],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"el-button"
,{
on
:{
click
:
e
.
toCancel
}},[
e
.
_v
(
"取消"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
submitForm
(
"ruleForm"
)}}},[
e
.
_v
(
"确定"
)])],
1
)])},
staticRenderFns
:[]};
var
N
=
a
(
"VU/8"
)(
D
,
$
,
!
1
,
function
(
e
){
a
(
"6vKc"
)},
"data-v-78cf93bb"
,
null
).
exports
,
j
=
{
props
:{
editRow
:{
type
:
Object
,
default
:
function
(){
return
{}}},
categoryId
:{
type
:
Object
,
default
:
function
(){
return
""
}}},
components
:{
limitInput
:
i
.
a
},
data
:
function
(){
return
{
editPersion
:
localStorage
.
getItem
(
"userName"
),
dialogVisible
:
!
0
,
ruleForm
:{
materialId
:
""
,
materialTitle
:
""
,
link
:
""
},
rules
:{
materialTitle
:[{
required
:
!
0
,
message
:
"请输入文件标题"
,
trigger
:
"blur"
}],
link
:[{
required
:
!
0
,
message
:
"请上传文件"
,
trigger
:
"blur"
}]},
emojiList
:
h
,
fileType
:
".doc"
,
fileDatas
:[]}},
methods
:{
uploadUrl
:
function
(){
var
e
=
window
.
location
.
origin
,
t
=
void
0
;
return
t
=
"-1"
!=
e
.
indexOf
(
"localhost"
)?
"http://www.gicdev.com"
:
e
,
this
.
upUrl
=
t
+
"/haoban-manage3-web/upload-file?fileType="
+
this
.
fileType
,
this
.
upUrl
},
beforeFileUpload
:
function
(
e
){
var
t
=
e
.
name
.
split
(
"."
),
a
=
t
[
t
.
length
-
1
],
i
=
a
.
includes
(
"pdf"
)
||
a
.
includes
(
"doc"
)
||
a
.
includes
(
"xls"
)
||
a
.
includes
(
"ppt"
)
||
a
.
includes
(
"zip"
)
||
a
.
includes
(
"rar"
),
o
=
e
.
size
/
1024
/
1024
<=
20
;
return
o
||
this
.
$message
.
error
(
"文件大小超出20M,无法上传"
),
i
?
o
&&
i
:(
this
.
$message
.
error
(
"仅支持word及excle,pdf,ppt,zip,rar格式"
),
!
1
)},
handleRemove
:
function
(
e
,
t
){},
handleExceed
:
function
(
e
,
t
){
this
.
$message
.
warning
(
"当前限制选择 1 个文件,本次选择了 "
+
e
.
length
+
" 个文件,共选择了 "
+
(
e
.
length
+
t
.
length
)
+
" 个文件"
)},
handleFileSuccess
:
function
(
e
,
t
){
this
.
ruleForm
.
link
=
e
.
result
.
url
},
handleFileChange
:
function
(
e
,
t
){
this
.
fileDatas
=
t
},
handleInput
:
function
(
e
){
this
.
ruleForm
.
materialContent
=
e
.
target
.
innerText
},
selectEmoji
:
function
(
e
){
this
.
ruleForm
.
materialContent
=
this
.
ruleForm
.
materialContent
+
e
.
key
},
toCancel
:
function
(){
this
.
$emit
(
"closeText"
),
this
.
$refs
.
ruleForm
.
resetFields
()},
handleClose
:
function
(
e
){
this
.
$emit
(
"closeText"
),
this
.
$refs
.
ruleForm
.
resetFields
()},
submitForm
:
Object
(
o
.
a
)(
function
(
e
){
var
t
=
this
;
t
.
$refs
[
e
].
validate
(
function
(
e
){
e
&&
t
.
postSave
()})},
300
),
postSave
:
function
(){
var
e
=
this
,
t
=
{
categoryId
:
e
.
categoryId
,
materialType
:
5
,
materialId
:
e
.
ruleForm
.
materialId
,
materialTitle
:
e
.
ruleForm
.
materialTitle
,
link
:
e
.
ruleForm
.
link
};
Object
(
r
.
d
)(
e
.
ruleForm
.
materialId
?
"/haoban-manage3-web/material-edit"
:
"/haoban-manage3-web/material-add"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
1
==
a
.
errorCode
?(
l
.
a
.
showmsg
(
"操作成功"
,
"success"
),
e
.
$refs
.
ruleForm
.
resetFields
(),
e
.
$emit
(
"submitText"
)):
c
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{
editRow
:
function
(
e
){
g
()(
e
).
length
&&
(
this
.
ruleForm
=
JSON
.
parse
(
m
()(
e
)),
this
.
fileDatas
=
[{
name
:
e
.
link
.
split
(
"/"
)[
5
],
url
:
e
.
link
}])}},
mounted
:
function
(){
g
()(
this
.
editRow
).
length
&&
(
this
.
ruleForm
=
JSON
.
parse
(
m
()(
this
.
editRow
)),
this
.
fileDatas
=
[{
name
:
this
.
editRow
.
link
.
split
(
"/"
)[
5
],
url
:
this
.
editRow
.
link
}])}},
O
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"el-dialog"
,{
attrs
:{
title
:
e
.
editRow
.
materialId
?
"编辑文件"
:
"新建文件"
,
visible
:
e
.
dialogVisible
,
width
:
"600px"
,
"before-close"
:
e
.
handleClose
},
on
:{
"update:visible"
:
function
(
t
){
e
.
dialogVisible
=
t
}}},[
a
(
"div"
,{},[
a
(
"el-form"
,{
ref
:
"ruleForm"
,
staticClass
:
"demo-ruleForm"
,
attrs
:{
model
:
e
.
ruleForm
,
rules
:
e
.
rules
,
"label-width"
:
"100px"
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"文件标题"
,
prop
:
"materialTitle"
}},[
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
440
,
inputValue
:
e
.
ruleForm
.
materialTitle
,
holder
:
"请输入文件标题"
,
getByType
:
"word"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"materialTitle"
,
t
)}}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"文件"
,
prop
:
"link"
}},[
a
(
"el-upload"
,{
staticClass
:
"upload-demo"
,
attrs
:{
action
:
e
.
uploadUrl
(),
"before-upload"
:
e
.
beforeFileUpload
,
"on-success"
:
e
.
handleFileSuccess
,
"on-change"
:
e
.
handleFileChange
,
"on-remove"
:
e
.
handleRemove
,
limit
:
1
,
"on-exceed"
:
e
.
handleExceed
,
"file-list"
:
e
.
fileDatas
}},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
}},[
a
(
"i"
,{
staticClass
:
"el-icon-upload el-icon--right"
,
staticStyle
:{
"font-size"
:
"16px"
,
"padding-right"
:
"5px"
}}),
e
.
_v
(
"上传"
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"font-12 color-909399"
,
attrs
:{
slot
:
"tip"
},
slot
:
"tip"
},[
e
.
_v
(
"普通文件,不大于20MB。支持word及excel,pdf,ppt,zip,rar格式"
)])],
1
)],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"el-button"
,{
on
:{
click
:
e
.
toCancel
}},[
e
.
_v
(
"取消"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
submitForm
(
"ruleForm"
)}}},[
e
.
_v
(
"确定"
)])],
1
)])},
staticRenderFns
:[]};
var
R
=
a
(
"VU/8"
)(
j
,
O
,
!
1
,
function
(
e
){
a
(
"fb+e"
)},
"data-v-36ecfd10"
,
null
).
exports
,
z
=
{
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}},
categoryId
:{
type
:
String
,
default
:
function
(){
return
""
}},
textTableData
:{
type
:[
Array
,
Object
],
default
:
function
(){
return
[]}},
currentPage
:{
type
:[
String
,
Number
],
default
:
function
(){
return
1
}},
pageSize
:{
type
:[
String
,
Number
],
default
:
function
(){
return
20
}},
total
:{
type
:[
String
,
Number
],
default
:
function
(){
return
0
}}},
data
:
function
(){
return
{
tableData
:[],
multipleSelection
:[],
textShow
:
!
1
,
editRow
:{}}},
computed
:{},
methods
:{
closeText
:
function
(){
this
.
textShow
=!
1
,
this
.
editRow
=
{}},
submitText
:
function
(){
this
.
textShow
=!
1
,
this
.
editRow
=
{},
this
.
$emit
(
"refreshTable"
)},
toEdit
:
function
(
e
,
t
){
this
.
textShow
=!
0
,
this
.
editRow
=
t
},
toDel
:
function
(
e
,
t
){
var
a
=
this
;
a
.
$confirm
(
"确定删除当前素材?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
postDel
(
e
,
t
)}).
catch
(
function
(){})},
postDel
:
function
(
e
,
t
){
var
a
=
this
,
i
=
{
materialIds
:
t
.
materialId
};
Object
(
r
.
d
)(
"/haoban-manage3-web/material-del"
,
i
).
then
(
function
(
e
){
var
t
=
e
.
data
;
if
(
1
==
t
.
errorCode
)
return
l
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
a
.
$emit
(
"refreshTable"
);
c
.
a
.
errorMsg
(
t
)}).
catch
(
function
(
e
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
handleSelectionChange
:
function
(
e
){
this
.
multipleSelection
=
e
,
this
.
$emit
(
"handleSelectionChange"
,
e
)},
multDel
:
function
(){
if
(
!
this
.
multipleSelection
.
length
)
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请选择删除项"
}),
!
1
;
this
.
showDialog
=!
0
},
hideDialog
:
function
(
e
){
if
(
this
.
showDialog
=!
1
,
!
g
()(
e
).
length
)
return
!
1
;
this
.
postMultDel
(
e
)},
handleSizeChange
:
function
(
e
){
this
.
$emit
(
"handleSizeChange"
,
e
)},
handleCurrentChange
:
function
(
e
){
this
.
$emit
(
"handleCurrentChange"
,
e
)}},
watch
:{
textTableData
:
function
(
e
,
t
){
e
.
length
?
this
.
tableData
=
JSON
.
parse
(
m
()(
e
)):
this
.
tableData
=
[]}},
mounted
:
function
(){
this
.
activeBrand
=
this
.
brandId
,
this
.
textTableData
.
length
?
this
.
tableData
=
JSON
.
parse
(
m
()(
this
.
textTableData
)):
this
.
tableData
=
[]},
components
:{
textEdit
:
v
}},
P
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"text-table-body"
},[
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
style
:{
width
:
"100%"
,
minHeight
:
e
.
tableH
},
attrs
:{
data
:
e
.
tableData
,
"tooltip-effect"
:
"dark"
},
on
:{
"selection-change"
:
e
.
handleSelectionChange
}},[
a
(
"el-table-column"
,{
attrs
:{
"class-name"
:
"hide-ellipsis"
,
type
:
"selection"
,
width
:
"35"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"标题"
,
width
:
"120"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
materialTitle
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"内容"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
materialContent
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"编辑人"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
staffName
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"最近编辑时间"
},
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
.
updateTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToHms"
)(
t
.
row
.
updateTime
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
toEdit
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"编辑"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
toDel
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"删除"
)])]}}])})],
1
),
e
.
_v
(
" "
),
0
!=
e
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
e
.
currentPage
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
e
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
e
.
total
},
on
:{
"size-change"
:
e
.
handleSizeChange
,
"current-change"
:
e
.
handleCurrentChange
}})],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
textShow
?
a
(
"text-edit"
,{
attrs
:{
editRow
:
e
.
editRow
,
categoryId
:
e
.
categoryId
},
on
:{
closeText
:
e
.
closeText
,
submitText
:
e
.
submitText
}}):
e
.
_e
()],
1
)},
staticRenderFns
:[]};
var
L
=
a
(
"VU/8"
)(
z
,
P
,
!
1
,
function
(
e
){
a
(
"b4ba"
)},
"data-v-21a00454"
,
null
).
exports
,
M
=
{
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}},
categoryId
:{
type
:
String
,
default
:
function
(){
return
""
}},
textTableData
:{
type
:[
Array
,
Object
],
default
:
function
(){
return
[]}},
currentPage
:{
type
:[
String
,
Number
],
default
:
function
(){
return
1
}},
pageSize
:{
type
:[
String
,
Number
],
default
:
function
(){
return
20
}},
total
:{
type
:[
String
,
Number
],
default
:
function
(){
return
0
}}},
data
:
function
(){
return
{
tableData
:[],
multipleSelection
:[],
textShow
:
!
1
,
editRow
:{}}},
computed
:{},
methods
:{
closeText
:
function
(){
this
.
textShow
=!
1
,
this
.
editRow
=
{}},
submitText
:
function
(){
this
.
textShow
=!
1
,
this
.
editRow
=
{},
this
.
$emit
(
"refreshTable"
)},
toEdit
:
function
(
e
,
t
){
this
.
textShow
=!
0
,
this
.
editRow
=
t
},
toDel
:
function
(
e
,
t
){
var
a
=
this
;
a
.
$confirm
(
"确定删除当前素材?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
postDel
(
e
,
t
)}).
catch
(
function
(){})},
postDel
:
function
(
e
,
t
){
var
a
=
this
,
i
=
{
materialIds
:
t
.
materialId
};
Object
(
r
.
d
)(
"/haoban-manage3-web/material-del"
,
i
).
then
(
function
(
e
){
var
t
=
e
.
data
;
if
(
1
==
t
.
errorCode
)
return
l
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
a
.
$emit
(
"refreshTable"
);
c
.
a
.
errorMsg
(
t
)}).
catch
(
function
(
e
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
handleSelectionChange
:
function
(
e
){
this
.
multipleSelection
=
e
,
this
.
$emit
(
"handleSelectionChange"
,
e
)},
multDel
:
function
(){
if
(
!
this
.
multipleSelection
.
length
)
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请选择删除项"
}),
!
1
;
this
.
showDialog
=!
0
},
hideDialog
:
function
(
e
){
if
(
this
.
showDialog
=!
1
,
!
g
()(
e
).
length
)
return
!
1
;
this
.
postMultDel
(
e
)},
handleSizeChange
:
function
(
e
){
this
.
$emit
(
"handleSizeChange"
,
e
)},
handleCurrentChange
:
function
(
e
){
this
.
$emit
(
"handleCurrentChange"
,
e
)}},
watch
:{
textTableData
:
function
(
e
,
t
){
e
.
length
?
this
.
tableData
=
JSON
.
parse
(
m
()(
e
)):
this
.
tableData
=
[]}},
mounted
:
function
(){
this
.
activeBrand
=
this
.
brandId
,
this
.
textTableData
.
length
?
this
.
tableData
=
JSON
.
parse
(
m
()(
this
.
textTableData
)):
this
.
tableData
=
[]},
components
:{
imageEdit
:
U
}},
G
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"text-table-body"
},[
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
style
:{
width
:
"100%"
,
minHeight
:
e
.
tableH
},
attrs
:{
data
:
e
.
tableData
,
"tooltip-effect"
:
"dark"
},
on
:{
"selection-change"
:
e
.
handleSelectionChange
}},[
a
(
"el-table-column"
,{
attrs
:{
type
:
"selection"
,
width
:
"35"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"标题"
,
width
:
"120"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
materialTitle
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"内容"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"div"
,{
staticStyle
:{
width
:
"40px"
,
height
:
"40px"
}},[
a
(
"img"
,{
staticStyle
:{
width
:
"40px"
,
height
:
"40px"
},
attrs
:{
src
:
e
.
row
.
imgUrl
,
alt
:
""
}})])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"编辑人"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
staffName
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
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
.
updateTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToHms"
)(
t
.
row
.
updateTime
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
toEdit
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"编辑"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
toDel
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"删除"
)])]}}])})],
1
),
e
.
_v
(
" "
),
0
!=
e
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
e
.
currentPage
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
e
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
e
.
total
},
on
:{
"size-change"
:
e
.
handleSizeChange
,
"current-change"
:
e
.
handleCurrentChange
}})],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
textShow
?
a
(
"image-edit"
,{
attrs
:{
editRow
:
e
.
editRow
,
categoryId
:
e
.
categoryId
},
on
:{
closeText
:
e
.
closeText
,
submitText
:
e
.
submitText
}}):
e
.
_e
()],
1
)},
staticRenderFns
:[]};
var
V
=
a
(
"VU/8"
)(
M
,
G
,
!
1
,
function
(
e
){
a
(
"seTx"
)},
"data-v-7d4a33c4"
,
null
).
exports
,
E
=
{
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}},
categoryId
:{
type
:
String
,
default
:
function
(){
return
""
}},
textTableData
:{
type
:[
Array
,
Object
],
default
:
function
(){
return
[]}},
currentPage
:{
type
:[
String
,
Number
],
default
:
function
(){
return
1
}},
pageSize
:{
type
:[
String
,
Number
],
default
:
function
(){
return
20
}},
total
:{
type
:[
String
,
Number
],
default
:
function
(){
return
0
}}},
data
:
function
(){
return
{
tableData
:[],
multipleSelection
:[],
textShow
:
!
1
,
editRow
:{}}},
computed
:{},
methods
:{
closeText
:
function
(){
this
.
textShow
=!
1
,
this
.
editRow
=
{}},
submitText
:
function
(){
this
.
textShow
=!
1
,
this
.
editRow
=
{},
this
.
$emit
(
"refreshTable"
)},
toEdit
:
function
(
e
,
t
){
this
.
textShow
=!
0
,
this
.
editRow
=
t
},
toDel
:
function
(
e
,
t
){
var
a
=
this
;
a
.
$confirm
(
"确定删除当前素材?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
postDel
(
e
,
t
)}).
catch
(
function
(){})},
postDel
:
function
(
e
,
t
){
var
a
=
this
,
i
=
{
materialIds
:
t
.
materialId
};
Object
(
r
.
d
)(
"/haoban-manage3-web/material-del"
,
i
).
then
(
function
(
e
){
var
t
=
e
.
data
;
if
(
1
==
t
.
errorCode
)
return
l
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
a
.
$emit
(
"refreshTable"
);
c
.
a
.
errorMsg
(
t
)}).
catch
(
function
(
e
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
handleSelectionChange
:
function
(
e
){
this
.
multipleSelection
=
e
,
this
.
$emit
(
"handleSelectionChange"
,
e
)},
multDel
:
function
(){
if
(
!
this
.
multipleSelection
.
length
)
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请选择删除项"
}),
!
1
;
this
.
showDialog
=!
0
},
hideDialog
:
function
(
e
){
if
(
this
.
showDialog
=!
1
,
!
g
()(
e
).
length
)
return
!
1
;
this
.
postMultDel
(
e
)},
handleSizeChange
:
function
(
e
){
this
.
$emit
(
"handleSizeChange"
,
e
)},
handleCurrentChange
:
function
(
e
){
this
.
$emit
(
"handleCurrentChange"
,
e
)}},
watch
:{
textTableData
:
function
(
e
,
t
){
e
.
length
?
this
.
tableData
=
JSON
.
parse
(
m
()(
e
)):
this
.
tableData
=
[]}},
mounted
:
function
(){
this
.
activeBrand
=
this
.
brandId
,
this
.
textTableData
.
length
?
this
.
tableData
=
JSON
.
parse
(
m
()(
this
.
textTableData
)):
this
.
tableData
=
[]},
components
:{
webEdit
:
F
}},
B
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"text-table-body"
},[
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
style
:{
width
:
"100%"
,
minHeight
:
e
.
tableH
},
attrs
:{
data
:
e
.
tableData
,
"tooltip-effect"
:
"dark"
},
on
:{
"selection-change"
:
e
.
handleSelectionChange
}},[
a
(
"el-table-column"
,{
attrs
:{
"class-name"
:
"hide-ellipsis"
,
type
:
"selection"
,
width
:
"35"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"标题"
,
width
:
"120"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
materialTitle
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"封面"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
e
){
return
[
a
(
"div"
,{
staticStyle
:{
width
:
"40px"
,
height
:
"40px"
}},[
a
(
"img"
,{
staticStyle
:{
width
:
"40px"
,
height
:
"40px"
},
attrs
:{
src
:
e
.
row
.
imgUrl
,
alt
:
""
}})])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"链接"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
link
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"编辑人"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
staffName
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
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
.
updateTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToHms"
)(
t
.
row
.
updateTime
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
toEdit
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"编辑"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
toDel
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"删除"
)])]}}])})],
1
),
e
.
_v
(
" "
),
0
!=
e
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
e
.
currentPage
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
e
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
e
.
total
},
on
:{
"size-change"
:
e
.
handleSizeChange
,
"current-change"
:
e
.
handleCurrentChange
}})],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
textShow
?
a
(
"web-edit"
,{
attrs
:{
editRow
:
e
.
editRow
,
categoryId
:
e
.
categoryId
},
on
:{
closeText
:
e
.
closeText
,
submitText
:
e
.
submitText
}}):
e
.
_e
()],
1
)},
staticRenderFns
:[]};
var
J
=
a
(
"VU/8"
)(
E
,
B
,
!
1
,
function
(
e
){
a
(
"I8yJ"
)},
"data-v-640572e1"
,
null
).
exports
,
A
=
{
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}},
categoryId
:{
type
:
String
,
default
:
function
(){
return
""
}},
textTableData
:{
type
:[
Array
,
Object
],
default
:
function
(){
return
[]}},
currentPage
:{
type
:[
String
,
Number
],
default
:
function
(){
return
1
}},
pageSize
:{
type
:[
String
,
Number
],
default
:
function
(){
return
20
}},
total
:{
type
:[
String
,
Number
],
default
:
function
(){
return
0
}}},
data
:
function
(){
return
{
tableData
:[],
multipleSelection
:[],
textShow
:
!
1
,
editRow
:{}}},
computed
:{},
methods
:{
toOpenUrl
:
function
(
e
){
window
.
open
(
e
.
link
)},
closeText
:
function
(){
this
.
textShow
=!
1
,
this
.
editRow
=
{}},
submitText
:
function
(){
this
.
textShow
=!
1
,
this
.
editRow
=
{},
this
.
$emit
(
"refreshTable"
)},
toEdit
:
function
(
e
,
t
){
this
.
textShow
=!
0
,
this
.
editRow
=
t
},
toDel
:
function
(
e
,
t
){
var
a
=
this
;
a
.
$confirm
(
"确定删除当前素材?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
postDel
(
e
,
t
)}).
catch
(
function
(){})},
postDel
:
function
(
e
,
t
){
var
a
=
this
,
i
=
{
materialIds
:
t
.
materialId
};
Object
(
r
.
d
)(
"/haoban-manage3-web/material-del"
,
i
).
then
(
function
(
e
){
var
t
=
e
.
data
;
if
(
1
==
t
.
errorCode
)
return
l
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
a
.
$emit
(
"refreshTable"
);
c
.
a
.
errorMsg
(
t
)}).
catch
(
function
(
e
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
handleSelectionChange
:
function
(
e
){
this
.
multipleSelection
=
e
,
this
.
$emit
(
"handleSelectionChange"
,
e
)},
multDel
:
function
(){
if
(
!
this
.
multipleSelection
.
length
)
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请选择删除项"
}),
!
1
;
this
.
showDialog
=!
0
},
hideDialog
:
function
(
e
){
if
(
this
.
showDialog
=!
1
,
!
g
()(
e
).
length
)
return
!
1
;
this
.
postMultDel
(
e
)},
handleSizeChange
:
function
(
e
){
this
.
$emit
(
"handleSizeChange"
,
e
)},
handleCurrentChange
:
function
(
e
){
this
.
$emit
(
"handleCurrentChange"
,
e
)}},
watch
:{
textTableData
:
function
(
e
,
t
){
e
.
length
?
this
.
tableData
=
JSON
.
parse
(
m
()(
e
)):
this
.
tableData
=
[]}},
mounted
:
function
(){
this
.
activeBrand
=
this
.
brandId
,
this
.
textTableData
.
length
?
this
.
tableData
=
JSON
.
parse
(
m
()(
this
.
textTableData
)):
this
.
tableData
=
[]},
components
:{
videoEdit
:
N
}},
H
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"text-table-body"
},[
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
style
:{
width
:
"100%"
,
minHeight
:
e
.
tableH
},
attrs
:{
data
:
e
.
tableData
,
"tooltip-effect"
:
"dark"
},
on
:{
"selection-change"
:
e
.
handleSelectionChange
}},[
a
(
"el-table-column"
,{
attrs
:{
type
:
"selection"
,
width
:
"35"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"标题"
,
width
:
"120"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
materialTitle
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"内容"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"cursor-pointer"
,
staticStyle
:{
width
:
"40px"
,
height
:
"40px"
},
on
:{
click
:
function
(
a
){
e
.
toOpenUrl
(
t
.
row
)}}},[
a
(
"video"
,{
staticClass
:
"avatar"
,
staticStyle
:{
width
:
"40px"
,
height
:
"40px"
},
attrs
:{
src
:
t
.
row
.
link
}},[
e
.
_v
(
"您的浏览器不支持视频播放"
)])])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"编辑人"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
staffName
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
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
.
updateTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToHms"
)(
t
.
row
.
updateTime
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
toEdit
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"编辑"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
toDel
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"删除"
)])]}}])})],
1
),
e
.
_v
(
" "
),
0
!=
e
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
e
.
currentPage
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
e
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
e
.
total
},
on
:{
"size-change"
:
e
.
handleSizeChange
,
"current-change"
:
e
.
handleCurrentChange
}})],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
textShow
?
a
(
"video-edit"
,{
attrs
:{
editRow
:
e
.
editRow
,
categoryId
:
e
.
categoryId
},
on
:{
closeText
:
e
.
closeText
,
submitText
:
e
.
submitText
}}):
e
.
_e
()],
1
)},
staticRenderFns
:[]};
var
W
=
a
(
"VU/8"
)(
A
,
H
,
!
1
,
function
(
e
){
a
(
"F+zQ"
)},
"data-v-3c9171e3"
,
null
).
exports
,
Z
=
{
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}},
categoryId
:{
type
:
String
,
default
:
function
(){
return
""
}},
textTableData
:{
type
:[
Array
,
Object
],
default
:
function
(){
return
[]}},
currentPage
:{
type
:[
String
,
Number
],
default
:
function
(){
return
1
}},
pageSize
:{
type
:[
String
,
Number
],
default
:
function
(){
return
20
}},
total
:{
type
:[
String
,
Number
],
default
:
function
(){
return
0
}}},
data
:
function
(){
return
{
tableData
:[],
multipleSelection
:[],
textShow
:
!
1
,
editRow
:{}}},
computed
:{},
methods
:{
toOpenFile
:
function
(
e
){
window
.
open
(
e
.
link
)},
closeText
:
function
(){
this
.
textShow
=!
1
,
this
.
editRow
=
{}},
submitText
:
function
(){
this
.
textShow
=!
1
,
this
.
editRow
=
{},
this
.
$emit
(
"refreshTable"
)},
toEdit
:
function
(
e
,
t
){
this
.
textShow
=!
0
,
this
.
editRow
=
t
},
toDel
:
function
(
e
,
t
){
var
a
=
this
;
a
.
$confirm
(
"确定删除当前文本素材?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
postDel
(
e
,
t
)}).
catch
(
function
(){})},
postDel
:
function
(
e
,
t
){
var
a
=
this
,
i
=
{
materialIds
:
t
.
materialId
};
Object
(
r
.
d
)(
"/haoban-manage3-web/material-del"
,
i
).
then
(
function
(
e
){
var
t
=
e
.
data
;
if
(
1
==
t
.
errorCode
)
return
l
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
a
.
$emit
(
"refreshTable"
);
c
.
a
.
errorMsg
(
t
)}).
catch
(
function
(
e
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
handleSelectionChange
:
function
(
e
){
this
.
multipleSelection
=
e
,
this
.
$emit
(
"handleSelectionChange"
,
e
)},
multDel
:
function
(){
if
(
!
this
.
multipleSelection
.
length
)
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请选择删除项"
}),
!
1
;
this
.
showDialog
=!
0
},
hideDialog
:
function
(
e
){
if
(
this
.
showDialog
=!
1
,
!
g
()(
e
).
length
)
return
!
1
;
this
.
postMultDel
(
e
)},
handleSizeChange
:
function
(
e
){
this
.
$emit
(
"handleSizeChange"
,
e
)},
handleCurrentChange
:
function
(
e
){
this
.
$emit
(
"handleCurrentChange"
,
e
)}},
watch
:{
textTableData
:
function
(
e
,
t
){
e
.
length
?
this
.
tableData
=
JSON
.
parse
(
m
()(
e
)):
this
.
tableData
=
[]}},
mounted
:
function
(){
this
.
activeBrand
=
this
.
brandId
,
this
.
textTableData
.
length
?
this
.
tableData
=
JSON
.
parse
(
m
()(
this
.
textTableData
)):
this
.
tableData
=
[]},
components
:{
fileEdit
:
R
}},
Y
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
i
=
e
.
_self
.
_c
||
t
;
return
i
(
"div"
,{
staticClass
:
"text-table-body"
},[
i
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
style
:{
width
:
"100%"
,
minHeight
:
e
.
tableH
},
attrs
:{
data
:
e
.
tableData
,
"tooltip-effect"
:
"dark"
},
on
:{
"selection-change"
:
e
.
handleSelectionChange
}},[
i
(
"el-table-column"
,{
attrs
:{
"class-name"
:
"hide-ellipsis"
,
type
:
"selection"
,
width
:
"35"
}}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"标题"
,
width
:
"120"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
materialTitle
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"内容"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
i
(
"div"
,{
staticClass
:
"flex flex-pack-center cursor-pointer"
,
staticStyle
:{
width
:
"40px"
,
height
:
"40px"
,
background
:
"#f5f7fa"
},
on
:{
click
:
function
(
a
){
e
.
toOpenFile
(
t
.
row
)}}},[
i
(
"img"
,{
staticStyle
:{
width
:
"23px"
},
attrs
:{
src
:
a
(
"C2ZR"
),
alt
:
""
}})])]}}])}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"编辑人"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
staffName
))]}}])}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"最近编辑时间"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
i
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToYmd"
)(
t
.
row
.
updateTime
)))]),
e
.
_v
(
" "
),
i
(
"div"
,{
staticClass
:
"color-606266 line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToHms"
)(
t
.
row
.
updateTime
)))])]}}])}),
e
.
_v
(
" "
),
i
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
i
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
toEdit
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"编辑"
)]),
e
.
_v
(
" "
),
i
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
toDel
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"删除"
)])]}}])})],
1
),
e
.
_v
(
" "
),
0
!=
e
.
tableData
.
length
?
i
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
i
(
"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
(),
e
.
_v
(
" "
),
e
.
textShow
?
i
(
"file-edit"
,{
attrs
:{
editRow
:
e
.
editRow
,
categoryId
:
e
.
categoryId
},
on
:{
closeText
:
e
.
closeText
,
submitText
:
e
.
submitText
}}):
e
.
_e
()],
1
)},
staticRenderFns
:[]};
var
Q
=
a
(
"VU/8"
)(
Z
,
Y
,
!
1
,
function
(
e
){
a
(
"KLSU"
)},
"data-v-44bbc31e"
,
null
).
exports
,
K
=
{
props
:{
editRow
:{
type
:
Object
,
default
:
function
(){
return
{}}},
categoryParentId
:{
type
:
Object
,
default
:
function
(){
return
""
}}},
components
:{
limitInput
:
i
.
a
},
data
:
function
(){
return
{
editPersion
:
localStorage
.
getItem
(
"userName"
),
dialogVisible
:
!
0
,
ruleForm
:{
categoryId
:
""
,
categoryName
:
""
,
categoryParentId
:
this
.
categoryParentId
},
rules
:{
categoryName
:[{
required
:
!
0
,
message
:
"请输入分组名称"
,
trigger
:
"blur"
}]}}},
methods
:{
toCancel
:
function
(){
this
.
$emit
(
"closeGroup"
),
this
.
$refs
.
ruleForm
.
resetFields
()},
handleClose
:
function
(
e
){
this
.
$emit
(
"closeGroup"
),
this
.
$refs
.
ruleForm
.
resetFields
()},
submitForm
:
Object
(
o
.
a
)(
function
(
e
){
var
t
=
this
;
t
.
$refs
[
e
].
validate
(
function
(
e
){
e
&&
t
.
postSave
()})},
300
),
postSave
:
function
(){
var
e
=
this
,
t
=
{
categoryParentId
:
e
.
ruleForm
.
categoryParentId
||
"0"
,
categoryId
:
e
.
ruleForm
.
categoryId
,
categoryName
:
e
.
ruleForm
.
categoryName
};
Object
(
r
.
d
)(
e
.
ruleForm
.
categoryId
?
"/haoban-manage3-web/category-edit"
:
"/haoban-manage3-web/mateial-add-category"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
1
==
a
.
errorCode
?(
l
.
a
.
showmsg
(
"操作成功"
,
"success"
),
e
.
$refs
.
ruleForm
.
resetFields
(),
e
.
$emit
(
"submitGroup"
)):
c
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{
editRow
:
function
(
e
){
g
()(
e
).
length
&&
(
this
.
ruleForm
=
JSON
.
parse
(
m
()(
e
)))}},
mounted
:
function
(){
g
()(
this
.
editRow
).
length
&&
(
this
.
ruleForm
=
JSON
.
parse
(
m
()(
this
.
editRow
)))}},
X
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"el-dialog"
,{
attrs
:{
title
:
e
.
editRow
.
categoryId
?
"编辑分组"
:
"新增分组"
,
visible
:
e
.
dialogVisible
,
width
:
"485px"
,
"before-close"
:
e
.
handleClose
},
on
:{
"update:visible"
:
function
(
t
){
e
.
dialogVisible
=
t
}}},[
a
(
"div"
,{},[
a
(
"el-form"
,{
ref
:
"ruleForm"
,
staticClass
:
"demo-ruleForm"
,
attrs
:{
model
:
e
.
ruleForm
,
rules
:
e
.
rules
,
"label-width"
:
"100px"
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"分组名称"
,
prop
:
"categoryName"
}},[
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
300
,
inputValue
:
e
.
ruleForm
.
categoryName
,
holder
:
"请输入分组名称"
,
getByType
:
"word"
,
maxLength
:
8
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
ruleForm
,
"categoryName"
,
t
)}}})],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"el-button"
,{
on
:{
click
:
e
.
toCancel
}},[
e
.
_v
(
"取消"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
submitForm
(
"ruleForm"
)}}},[
e
.
_v
(
"确定"
)])],
1
)])},
staticRenderFns
:[]};
var
ee
=
a
(
"VU/8"
)(
K
,
X
,
!
1
,
function
(
e
){
a
(
"61Rz"
)},
"data-v-73824ea0"
,
null
).
exports
,
te
=
{
props
:{},
data
:
function
(){
return
{
wxEnterpriseId
:
localStorage
.
getItem
(
"userInfos"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
wxEnterpriseId
:
""
,
searchInput
:
""
,
currentCategoryId
:
"-1"
,
groupData
:[],
categoryParentId
:
""
,
addShow
:
!
1
,
editGroupRow
:{},
expandArr
:[],
tableData
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
activeName
:
"1"
,
multOpt
:
""
,
multData
:[],
textShow
:
!
1
,
imageShow
:
!
1
,
webShow
:
!
1
,
videoShow
:
!
1
,
fileShow
:
!
1
,
multTrans
:
!
1
,
materialIds
:[]}},
methods
:{
changeOpt
:
function
(
e
){
var
t
=
this
;
if
(
!
t
.
multData
.
length
)
return
l
.
a
.
showmsg
(
"请先选择素材"
,
"warning"
),
t
.
multOpt
=
""
,
!
1
;
1
==
e
?
t
.
$confirm
(
"确定删除选中的素材?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
t
.
postMultDel
()}).
catch
(
function
(){}):(
t
.
materialIds
=
t
.
multData
.
map
(
function
(
e
){
return
e
.
materialId
}).
join
(
","
),
t
.
multTrans
=!
0
)},
postMultDel
:
function
(){
var
e
=
this
,
t
=
{
materialIds
:
e
.
multData
.
map
(
function
(
e
){
return
e
.
materialId
}).
join
(
","
)};
Object
(
r
.
d
)(
"/haoban-manage3-web/material-del"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
l
.
a
.
showmsg
(
"删除成功"
,
"success"
),
e
.
multOpt
=
""
,
void
e
.
refreshTable
();
c
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
handleSelText
:
function
(
e
){
this
.
multData
=
e
},
addText
:
function
(){
this
.
textShow
=!
0
},
closeText
:
function
(){
this
.
textShow
=!
1
,
this
.
imageShow
=!
1
,
this
.
webShow
=!
1
,
this
.
videoShow
=!
1
,
this
.
fileShow
=!
1
},
submitText
:
function
(){
this
.
textShow
=!
1
,
this
.
imageShow
=!
1
,
this
.
webShow
=!
1
,
this
.
videoShow
=!
1
,
this
.
fileShow
=!
1
,
this
.
refreshTable
()},
addImage
:
function
(){
this
.
imageShow
=!
0
},
addWeb
:
function
(){
this
.
webShow
=!
0
},
addVideo
:
function
(){
this
.
videoShow
=!
0
},
addFile
:
function
(){
this
.
fileShow
=!
0
},
refreshTable
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
handleClick
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
selectGroup
:
function
(
e
){
e
.
expand
=!
e
.
expand
,
this
.
currentCategoryId
=
e
.
categoryId
,
e
.
expand
?
this
.
expandArr
.
push
(
e
.
categoryId
):
this
.
expandArr
.
splice
(
this
.
expandArr
.
indexOf
(
e
.
categoryId
),
1
),
this
.
currentPage
=
1
,
this
.
getTableList
(),
this
.
$forceUpdate
()},
selectNoGroup
:
function
(){
this
.
currentCategoryId
=
"-1"
,
this
.
currentPage
=
1
,
this
.
getTableList
()},
toInput
:
Object
(
o
.
a
)(
function
(
e
,
t
){
this
.
currentPage
=
1
,
this
.
getTableList
()},
500
),
clearSearch
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
addGroup
:
function
(){
this
.
addShow
=!
0
,
this
.
categoryParentId
=
""
,
this
.
editGroupRow
=
{}},
closeGroup
:
function
(){
this
.
multTrans
=!
1
,
this
.
addShow
=!
1
,
this
.
multOpt
=
""
},
submitGroup
:
function
(){
this
.
multTrans
=!
1
,
this
.
addShow
=!
1
,
this
.
getGroupData
(),
this
.
currentPage
=
1
,
this
.
getTableList
(),
this
.
multOpt
=
""
},
addChildGroup
:
function
(
e
){
this
.
editGroupRow
=
{},
this
.
categoryParentId
=
e
.
categoryId
,
this
.
addShow
=!
0
},
editGroup
:
function
(
e
){
this
.
addShow
=!
0
,
this
.
categoryParentId
=
""
,
this
.
editGroupRow
=
e
},
delGroup
:
function
(
e
){
var
t
=
this
;
t
.
$confirm
(
"是否删除当前选中的分组?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
t
.
postDelData
(
e
)}).
catch
(
function
(){})},
postDelData
:
function
(
e
){
var
t
=
this
,
a
=
{
categoryId
:
e
.
categoryId
};
Object
(
r
.
a
)(
"/haoban-manage3-web/category-del"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
l
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
t
.
getGroupData
();
c
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
treeData
:
function
(
e
){
var
t
=
e
.
filter
(
function
(
t
){
var
a
=
e
.
filter
(
function
(
e
){
return
t
.
categoryId
==
e
.
categoryParentId
});
return
a
.
length
>
0
?
t
.
children
=
a
:
t
.
children
=
[],
0
==
t
.
categoryParentId
});
return
console
.
log
(
"tree:"
,
t
),
t
},
getGroupData
:
function
(
e
){
var
t
=
this
,
a
=
{
wxEnterpriseId
:
t
.
wxEnterpriseId
};
Object
(
r
.
a
)(
"/haoban-manage3-web/category-list"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
!=
a
.
errorCode
?
c
.
a
.
errorMsg
(
a
):
a
.
result
&&
a
.
result
.
length
&&
(
a
.
result
.
forEach
(
function
(
e
){
e
.
expand
=!!
t
.
expandArr
.
includes
(
e
.
categoryId
)}),
t
.
groupData
=
t
.
treeData
(
a
.
result
)
||
[])}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
handleSizeChange
:
function
(
e
){
this
.
pageSize
=
e
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getTableList
()},
getTableList
:
function
(
e
){
var
t
=
this
,
a
=
{
wxEnterpriseId
:
t
.
wxEnterpriseId
,
keyword
:
t
.
searchInput
,
categoryId
:
t
.
currentCategoryId
,
materialType
:
t
.
activeName
,
pageNum
:
t
.
currentPage
,
pageSize
:
t
.
pageSize
};
Object
(
r
.
a
)(
"/haoban-manage3-web/material-list"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
t
.
tableData
=
a
.
result
.
result
||
[],
void
(
t
.
total
=
a
.
result
.
totalCount
);
c
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
3
),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
getGroupData
(),
this
.
getTableList
()},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
groupDialog
:
ee
,
selectGroup
:
d
,
textTable
:
L
,
imageTable
:
V
,
webTable
:
J
,
videoTable
:
W
,
fileTable
:
Q
,
textEdit
:
v
,
imageEdit
:
U
,
webEdit
:
F
,
videoEdit
:
N
,
fileEdit
:
R
}},
ae
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"material-set-wrap "
},[
a
(
"div"
,{
staticClass
:
" border-box"
},[
a
(
"div"
,{
staticClass
:
"material-top border-box"
},[
a
(
"el-input"
,{
staticStyle
:{
width
:
"394px"
},
attrs
:{
placeholder
:
"请输入素材名称"
,
clearable
:
""
},
on
:{
clear
:
e
.
clearSearch
},
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
:
"material-body flex"
},[
a
(
"div"
,{
staticClass
:
"material-left"
},[
a
(
"div"
,{
staticClass
:
"material-left-add m-t-10 text-center"
},[
a
(
"div"
,{
staticClass
:
"add-group font-14 color-909399 cursor-pointer line-h-32"
,
on
:{
click
:
e
.
addGroup
}},[
a
(
"span"
,{
staticClass
:
"el-icon-plus"
}),
a
(
"span"
,{
staticClass
:
"p-l-5"
},[
e
.
_v
(
"新建分组"
)])])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"group-body"
},[
a
(
"div"
,{
class
:[
"no-group m-t-10 line-h-32 font-14 color-606266 cursor-pointer"
,
"-1"
==
e
.
currentCategoryId
?
"current-group"
:
""
],
on
:{
click
:
e
.
selectNoGroup
}},[
a
(
"span"
,{
class
:[
"color-c0c4cc font-12 cursor-pointer p-l-10 el-icon-caret-bottom el-icon-caret-right"
],
staticStyle
:{
color
:
"transparent"
}}),
e
.
_v
(
"未分组"
)]),
e
.
_v
(
" "
),
a
(
"ul"
,{
staticClass
:
"group-ul padding-lr-12"
},[
e
.
_l
(
e
.
groupData
,
function
(
t
,
i
){
return
[
a
(
"li"
,{
key
:
i
+
"group"
,
staticClass
:
"group-cell"
},[
a
(
"div"
,{
staticClass
:
"cursor-pointer group-cell-div"
,
on
:{
click
:
function
(
a
){
a
.
stopPropagation
(),
e
.
selectGroup
(
t
)}}},[
a
(
"span"
,{
class
:[
"color-c0c4cc font-12 cursor-pointer"
,
t
.
children
.
length
?
"color-c0c4cc"
:
"color-transparent"
,
t
.
expand
?
"el-icon-caret-bottom"
:
"el-icon-caret-right"
]}),
a
(
"span"
,{
class
:[
"group-name font-14 color-606266 p-l-10"
,
e
.
currentCategoryId
==
t
.
categoryId
?
"current-group"
:
""
]},[
e
.
_v
(
e
.
_s
(
t
.
categoryName
))]),
a
(
"el-popover"
,{
attrs
:{
placement
:
"bottom"
,
width
:
"75"
,
trigger
:
"hover"
,
"popper-class"
:
"group-popover"
}},[
a
(
"ul"
,[
a
(
"li"
,{
staticClass
:
"line-h-32 font-14 color-606266"
,
on
:{
click
:
function
(
a
){
a
.
stopPropagation
(),
e
.
addChildGroup
(
t
)}}},[
e
.
_v
(
"新增子分组"
)]),
e
.
_v
(
" "
),
a
(
"li"
,{
staticClass
:
"line-h-32 font-14 color-606266"
,
on
:{
click
:
function
(
a
){
a
.
stopPropagation
(),
e
.
editGroup
(
t
)}}},[
e
.
_v
(
"编辑"
)]),
e
.
_v
(
" "
),
t
.
children
.
length
?
e
.
_e
():
a
(
"li"
,{
staticClass
:
"line-h-32 font-14 color-606266"
,
on
:{
click
:
function
(
a
){
a
.
stopPropagation
(),
e
.
delGroup
(
t
)}}},[
e
.
_v
(
"删除"
)])]),
e
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"iconfont icongengduo color-afaeae cursor-pointer operate-icon"
,
attrs
:{
slot
:
"reference"
},
slot
:
"reference"
})])],
1
),
e
.
_v
(
" "
),
t
.
expand
?
a
(
"ul"
,{
staticClass
:
"p-l-10"
},[
e
.
_l
(
t
.
children
,
function
(
t
,
i
){
return
[
a
(
"li"
,{
key
:
i
+
"group"
,
staticClass
:
"group-cell"
},[
a
(
"div"
,{
staticClass
:
"cursor-pointer group-cell-div"
,
on
:{
click
:
function
(
a
){
a
.
stopPropagation
(),
e
.
selectGroup
(
t
)}}},[
a
(
"span"
,{
class
:[
"font-12 cursor-pointer"
,
t
.
children
.
length
?
"color-c0c4cc"
:
"color-transparent"
,
t
.
expand
?
"el-icon-caret-bottom"
:
"el-icon-caret-right"
]}),
a
(
"span"
,{
class
:[
"group-name font-14 color-606266 p-l-10"
,
e
.
currentCategoryId
==
t
.
categoryId
?
"current-group"
:
""
]},[
e
.
_v
(
e
.
_s
(
t
.
categoryName
))]),
a
(
"el-popover"
,{
attrs
:{
placement
:
"bottom"
,
width
:
"75"
,
trigger
:
"hover"
,
"popper-class"
:
"group-popover"
}},[
a
(
"ul"
,[
a
(
"li"
,{
staticClass
:
"line-h-32 font-14 color-606266"
,
on
:{
click
:
function
(
a
){
a
.
stopPropagation
(),
e
.
addChildGroup
(
t
)}}},[
e
.
_v
(
"新增子分组"
)]),
e
.
_v
(
" "
),
a
(
"li"
,{
staticClass
:
"line-h-32 font-14 color-606266"
,
on
:{
click
:
function
(
a
){
a
.
stopPropagation
(),
e
.
editGroup
(
t
)}}},[
e
.
_v
(
"编辑"
)]),
e
.
_v
(
" "
),
t
.
children
.
length
?
e
.
_e
():
a
(
"li"
,{
staticClass
:
"line-h-32 font-14 color-606266"
,
on
:{
click
:
function
(
a
){
a
.
stopPropagation
(),
e
.
delGroup
(
t
)}}},[
e
.
_v
(
"删除"
)])]),
e
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"iconfont icongengduo color-afaeae cursor-pointer operate-icon"
,
attrs
:{
slot
:
"reference"
},
slot
:
"reference"
})])],
1
),
e
.
_v
(
" "
),
t
.
expand
?
a
(
"ul"
,{
staticClass
:
"p-l-10"
},[
e
.
_l
(
t
.
children
,
function
(
t
,
i
){
return
[
a
(
"li"
,{
key
:
i
+
"group"
,
staticClass
:
"group-cell"
},[
a
(
"div"
,{
staticClass
:
"cursor-pointer group-cell-div"
,
on
:{
click
:
function
(
a
){
a
.
stopPropagation
(),
e
.
selectGroup
(
t
)}}},[
a
(
"span"
,{
class
:[
"font-12 cursor-pointer color-transparent"
,
t
.
expand
?
"el-icon-caret-bottom"
:
"el-icon-caret-right"
]}),
a
(
"span"
,{
class
:[
"group-name font-14 color-606266 p-l-10"
,
e
.
currentCategoryId
==
t
.
categoryId
?
"current-group"
:
""
]},[
e
.
_v
(
e
.
_s
(
t
.
categoryName
))]),
a
(
"el-popover"
,{
attrs
:{
placement
:
"bottom"
,
width
:
"75"
,
trigger
:
"hover"
,
"popper-class"
:
"group-popover"
}},[
a
(
"ul"
,[
a
(
"li"
,{
staticClass
:
"line-h-32 font-14 color-606266"
,
on
:{
click
:
function
(
a
){
a
.
stopPropagation
(),
e
.
editGroup
(
t
)}}},[
e
.
_v
(
"编辑"
)]),
e
.
_v
(
" "
),
a
(
"li"
,{
staticClass
:
"line-h-32 font-14 color-606266"
,
on
:{
click
:
function
(
a
){
a
.
stopPropagation
(),
e
.
delGroup
(
t
)}}},[
e
.
_v
(
"删除"
)])]),
e
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"iconfont icongengduo color-afaeae cursor-pointer operate-icon"
,
attrs
:{
slot
:
"reference"
},
slot
:
"reference"
})])],
1
)])]})],
2
):
e
.
_e
()])]})],
2
):
e
.
_e
()])]})],
2
)])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"material-right"
},[
a
(
"div"
,{
staticClass
:
"material-table"
},[
a
(
"div"
,{
staticClass
:
"add-btn-wrap"
},[
1
==
e
.
activeName
?
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
addText
}},[
e
.
_v
(
"新建文本"
)]):
e
.
_e
(),
2
==
e
.
activeName
?
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
addImage
}},[
e
.
_v
(
"新建图片"
)]):
e
.
_e
(),
3
==
e
.
activeName
?
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
addWeb
}},[
e
.
_v
(
"新建网页"
)]):
e
.
_e
(),
4
==
e
.
activeName
?
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
addVideo
}},[
e
.
_v
(
"新建视频"
)]):
e
.
_e
(),
5
==
e
.
activeName
?
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
addFile
}},[
e
.
_v
(
"新建文件"
)]):
e
.
_e
(),
a
(
"el-select"
,{
staticClass
:
"m-l-10"
,
attrs
:{
placeholder
:
"批量操作"
},
on
:{
change
:
e
.
changeOpt
},
model
:{
value
:
e
.
multOpt
,
callback
:
function
(
t
){
e
.
multOpt
=
t
},
expression
:
"multOpt"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"批量删除"
,
value
:
"1"
}}),
e
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"批量转移"
,
value
:
"2"
}})],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"el-tabs"
,{
on
:{
"tab-click"
:
e
.
handleClick
},
model
:{
value
:
e
.
activeName
,
callback
:
function
(
t
){
e
.
activeName
=
t
},
expression
:
"activeName"
}},[
a
(
"el-tab-pane"
,{
attrs
:{
name
:
"1"
}},[
a
(
"span"
,{
attrs
:{
slot
:
"label"
},
slot
:
"label"
},[
a
(
"i"
,{
staticClass
:
"iconfont iconwenzi p-r-5"
}),
e
.
_v
(
"文本"
)]),
e
.
_v
(
" "
),
a
(
"text-table"
,{
attrs
:{
currentPage
:
e
.
currentPage
,
pageSize
:
e
.
pageSize
,
total
:
e
.
total
,
textTableData
:
e
.
tableData
,
categoryId
:
e
.
currentCategoryId
},
on
:{
handleSelectionChange
:
e
.
handleSelText
,
refreshTable
:
e
.
refreshTable
,
handleCurrentChange
:
e
.
handleCurrentChange
,
handleSizeChange
:
e
.
handleSizeChange
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"图片"
,
name
:
"2"
}},[
a
(
"span"
,{
attrs
:{
slot
:
"label"
},
slot
:
"label"
},[
a
(
"i"
,{
staticClass
:
"iconfont icontupian p-r-5 "
}),
e
.
_v
(
"图片"
)]),
e
.
_v
(
" "
),
a
(
"image-table"
,{
attrs
:{
currentPage
:
e
.
currentPage
,
pageSize
:
e
.
pageSize
,
total
:
e
.
total
,
categoryId
:
e
.
currentCategoryId
,
textTableData
:
e
.
tableData
},
on
:{
handleSelectionChange
:
e
.
handleSelText
,
refreshTable
:
e
.
refreshTable
,
handleCurrentChange
:
e
.
handleCurrentChange
,
handleSizeChange
:
e
.
handleSizeChange
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"网页"
,
name
:
"3"
}},[
a
(
"span"
,{
attrs
:{
slot
:
"label"
},
slot
:
"label"
},[
a
(
"i"
,{
staticClass
:
"iconfont icondaima p-r-5 "
}),
e
.
_v
(
"网页"
)]),
e
.
_v
(
" "
),
a
(
"web-table"
,{
attrs
:{
currentPage
:
e
.
currentPage
,
pageSize
:
e
.
pageSize
,
total
:
e
.
total
,
categoryId
:
e
.
currentCategoryId
,
textTableData
:
e
.
tableData
},
on
:{
handleSelectionChange
:
e
.
handleSelText
,
refreshTable
:
e
.
refreshTable
,
handleCurrentChange
:
e
.
handleCurrentChange
,
handleSizeChange
:
e
.
handleSizeChange
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"视频"
,
name
:
"4"
}},[
a
(
"span"
,{
attrs
:{
slot
:
"label"
},
slot
:
"label"
},[
a
(
"i"
,{
staticClass
:
"iconfont iconshipin p-r-5 "
}),
e
.
_v
(
"视频"
)]),
e
.
_v
(
" "
),
a
(
"video-table"
,{
attrs
:{
currentPage
:
e
.
currentPage
,
pageSize
:
e
.
pageSize
,
total
:
e
.
total
,
categoryId
:
e
.
currentCategoryId
,
textTableData
:
e
.
tableData
},
on
:{
handleSelectionChange
:
e
.
handleSelText
,
refreshTable
:
e
.
refreshTable
,
handleCurrentChange
:
e
.
handleCurrentChange
,
handleSizeChange
:
e
.
handleSizeChange
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-tab-pane"
,{
attrs
:{
label
:
"文件"
,
name
:
"5"
}},[
a
(
"span"
,{
attrs
:{
slot
:
"label"
},
slot
:
"label"
},[
a
(
"i"
,{
staticClass
:
"iconfont iconwenjian p-r-5 "
}),
e
.
_v
(
"文件"
)]),
e
.
_v
(
" "
),
a
(
"file-table"
,{
attrs
:{
currentPage
:
e
.
currentPage
,
pageSize
:
e
.
pageSize
,
total
:
e
.
total
,
categoryId
:
e
.
currentCategoryId
,
textTableData
:
e
.
tableData
},
on
:{
handleSelectionChange
:
e
.
handleSelText
,
refreshTable
:
e
.
refreshTable
,
handleCurrentChange
:
e
.
handleCurrentChange
,
handleSizeChange
:
e
.
handleSizeChange
}})],
1
)],
1
)],
1
)])])]),
e
.
_v
(
" "
),
e
.
addShow
?
a
(
"group-dialog"
,{
attrs
:{
categoryParentId
:
e
.
categoryParentId
,
editRow
:
e
.
editGroupRow
},
on
:{
closeGroup
:
e
.
closeGroup
,
submitGroup
:
e
.
submitGroup
}}):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
textShow
?
a
(
"text-edit"
,{
attrs
:{
categoryId
:
e
.
currentCategoryId
},
on
:{
closeText
:
e
.
closeText
,
submitText
:
e
.
submitText
}}):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
imageShow
?
a
(
"image-edit"
,{
attrs
:{
categoryId
:
e
.
currentCategoryId
},
on
:{
closeText
:
e
.
closeText
,
submitText
:
e
.
submitText
}}):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
webShow
?
a
(
"web-edit"
,{
attrs
:{
categoryId
:
e
.
currentCategoryId
},
on
:{
closeText
:
e
.
closeText
,
submitText
:
e
.
submitText
}}):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
videoShow
?
a
(
"video-edit"
,{
attrs
:{
categoryId
:
e
.
currentCategoryId
},
on
:{
closeText
:
e
.
closeText
,
submitText
:
e
.
submitText
}}):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
fileShow
?
a
(
"file-edit"
,{
attrs
:{
categoryId
:
e
.
currentCategoryId
},
on
:{
closeText
:
e
.
closeText
,
submitText
:
e
.
submitText
}}):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
multTrans
?
a
(
"select-group"
,{
attrs
:{
materialIds
:
e
.
materialIds
},
on
:{
closeGroup
:
e
.
closeGroup
,
submitGroup
:
e
.
submitGroup
}}):
e
.
_e
()],
1
)},
staticRenderFns
:[]};
var
ie
=
a
(
"VU/8"
)(
te
,
ae
,
!
1
,
function
(
e
){
a
(
"kMip"
)},
"data-v-53da8a43"
,
null
);
t
.
default
=
ie
.
exports
},
seTx
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/manifest.8
d78675bbc7a77830ac5
.js
→
dist/static/js/manifest.8
7e1b4754860671b1321
.js
View file @
d5c8c759
!
function
(
e
){
var
c
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
d
,
b
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
d
.
length
;
i
++
)
t
=
d
[
i
],
a
[
t
]
&&
u
.
push
(
a
[
t
][
0
]),
a
[
t
]
=
0
;
for
(
r
in
b
)
Object
.
prototype
.
hasOwnProperty
.
call
(
b
,
r
)
&&
(
e
[
r
]
=
b
[
r
]);
for
(
c
&&
c
(
d
,
b
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
f
(
f
.
s
=
n
[
i
]);
return
o
};
var
d
=
{},
a
=
{
76
:
0
};
function
f
(
c
){
if
(
d
[
c
])
return
d
[
c
].
exports
;
var
a
=
d
[
c
]
=
{
i
:
c
,
l
:
!
1
,
exports
:{}};
return
e
[
c
].
call
(
a
.
exports
,
a
,
a
.
exports
,
f
),
a
.
l
=!
0
,
a
.
exports
}
f
.
e
=
function
(
e
){
var
c
=
a
[
e
];
if
(
0
===
c
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
c
)
return
c
[
2
];
var
d
=
new
Promise
(
function
(
d
,
f
){
c
=
a
[
e
]
=
[
d
,
f
]});
c
[
2
]
=
d
;
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
,
f
.
nc
&&
n
.
setAttribute
(
"nonce"
,
f
.
nc
),
n
.
src
=
f
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"75512f3d6a564da7391d"
,
1
:
"06c4e42e62c1f75191f0"
,
2
:
"95860c596ce8eeb79301"
,
3
:
"317153cd3f6b0047eb86"
,
4
:
"6b7271915855b9036dd6"
,
5
:
"28f71d5ecd4b2ff3b807"
,
6
:
"1a0b5a4ddf4d73a91f64"
,
7
:
"ece0a2d210892b176e55"
,
8
:
"7d0a8e6532c58d0c2415"
,
9
:
"5fbc5faf91d19ada3b4f"
,
10
:
"a1e55bdf20076ddc24d1"
,
11
:
"2947c26cd81c90d59d49"
,
12
:
"81dd2581c8a295c80f1f"
,
13
:
"5b8bc0cb49f0d5af1fd0"
,
14
:
"0225e369d82f24077aba"
,
15
:
"592a2e6008db77975bcc"
,
16
:
"bc276325eab50b4b86c0"
,
17
:
"edf42ec3b001b6cfe65e"
,
18
:
"4b0922e27b6b34b18611"
,
19
:
"7a53269ddf9f15768789"
,
20
:
"73339772cb0f938d6239"
,
21
:
"9e35f4bb567c79f900c4"
,
22
:
"4657c811baa7a2a81fa8"
,
23
:
"b696c3789461b84413c4"
,
24
:
"4ad7713214fd3234337d"
,
25
:
"9e5733792c18c643ff3a"
,
26
:
"8193e985e04feeeffd23"
,
27
:
"b5ca5d382b0cf2ab4d1d"
,
28
:
"a51ec6b6389db9f7088c"
,
29
:
"7b7f04b27985a4dd6087"
,
30
:
"6e3dad3ed142df770d0e"
,
31
:
"963d650c22609bb350cc"
,
32
:
"648e00249c751be0ef72"
,
33
:
"3b19f619921aacfda1e4"
,
34
:
"93b49282fdccc322c7b8"
,
35
:
"1e1c366da89de72e1273"
,
36
:
"613f45ac68082928b7d0"
,
37
:
"eb2f2f6d2d73849ad275"
,
38
:
"aa5cc391ec4cf87bfad2"
,
39
:
"ddfeeb2aff4f7ed79c37"
,
40
:
"7b324f8ae2bf959072d1"
,
41
:
"e2e9173a1de1a226ccba"
,
42
:
"e6708846dbe8aa3a739a"
,
43
:
"badcc25620c447c708dd"
,
44
:
"634e8387a4836d00cf31"
,
45
:
"a486c9c4d3a46ee305ff"
,
46
:
"41d0719b8e34e06155d4"
,
47
:
"92038db1f82264d5868e"
,
48
:
"e1c431339eb330885992"
,
49
:
"9fd4f029ea0801147047"
,
50
:
"91613ce4f17c75cebd9d"
,
51
:
"1d0b44b210fa29a9b7ae"
,
52
:
"786cdb9d06901d9f46d6"
,
53
:
"76cc13b40c7878ec1850"
,
54
:
"44d3c12a2724e5586b88"
,
55
:
"62d7e11a79d40049fabc"
,
56
:
"24e726ce5fe347c611e6"
,
57
:
"faf962e39bfd0f4ffda9"
,
58
:
"d3ebf67ef88c937fdaab"
,
59
:
"db51a7f4c51421d4f9bc"
,
60
:
"ff78f7652091a35782ec"
,
61
:
"e84c616b76d09228b6fe"
,
62
:
"cd195beac77b18e065fb"
,
63
:
"b62d98988a2f683868f1"
,
64
:
"505a529e5cda237ea46f"
,
65
:
"bb570dcb8ac1e63ede24"
,
66
:
"a970ad3d710b5c92c175"
,
67
:
"0dd6204bfe8e0903ea36"
,
68
:
"b0e48542a6189f95e7a9"
,
69
:
"78c1148df0648f724434"
,
70
:
"d8b620c8d056d806ac23"
,
71
:
"8ce9113b1568e9bf5537"
,
72
:
"a6222ada9c9a2655c92a"
,
73
:
"959fb844a60624eba321"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
c
=
a
[
e
];
0
!==
c
&&
(
c
&&
c
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
a
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
b
.
appendChild
(
n
),
d
},
f
.
m
=
e
,
f
.
c
=
d
,
f
.
d
=
function
(
e
,
c
,
d
){
f
.
o
(
e
,
c
)
||
Object
.
defineProperty
(
e
,
c
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
d
})},
f
.
n
=
function
(
e
){
var
c
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
f
.
d
(
c
,
"a"
,
c
),
c
},
f
.
o
=
function
(
e
,
c
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
c
)},
f
.
p
=
"./"
,
f
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
!
function
(
e
){
var
c
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
a
,
b
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
a
.
length
;
i
++
)
t
=
a
[
i
],
d
[
t
]
&&
u
.
push
(
d
[
t
][
0
]),
d
[
t
]
=
0
;
for
(
r
in
b
)
Object
.
prototype
.
hasOwnProperty
.
call
(
b
,
r
)
&&
(
e
[
r
]
=
b
[
r
]);
for
(
c
&&
c
(
a
,
b
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
f
(
f
.
s
=
n
[
i
]);
return
o
};
var
a
=
{},
d
=
{
76
:
0
};
function
f
(
c
){
if
(
a
[
c
])
return
a
[
c
].
exports
;
var
d
=
a
[
c
]
=
{
i
:
c
,
l
:
!
1
,
exports
:{}};
return
e
[
c
].
call
(
d
.
exports
,
d
,
d
.
exports
,
f
),
d
.
l
=!
0
,
d
.
exports
}
f
.
e
=
function
(
e
){
var
c
=
d
[
e
];
if
(
0
===
c
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
c
)
return
c
[
2
];
var
a
=
new
Promise
(
function
(
a
,
f
){
c
=
d
[
e
]
=
[
a
,
f
]});
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
,
f
.
nc
&&
n
.
setAttribute
(
"nonce"
,
f
.
nc
),
n
.
src
=
f
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"75512f3d6a564da7391d"
,
1
:
"06c4e42e62c1f75191f0"
,
2
:
"95860c596ce8eeb79301"
,
3
:
"317153cd3f6b0047eb86"
,
4
:
"6b7271915855b9036dd6"
,
5
:
"4d1a49e3433dc850aa0f"
,
6
:
"1a0b5a4ddf4d73a91f64"
,
7
:
"ece0a2d210892b176e55"
,
8
:
"7d0a8e6532c58d0c2415"
,
9
:
"5fbc5faf91d19ada3b4f"
,
10
:
"a1e55bdf20076ddc24d1"
,
11
:
"2947c26cd81c90d59d49"
,
12
:
"81dd2581c8a295c80f1f"
,
13
:
"5b8bc0cb49f0d5af1fd0"
,
14
:
"0225e369d82f24077aba"
,
15
:
"592a2e6008db77975bcc"
,
16
:
"bc276325eab50b4b86c0"
,
17
:
"edf42ec3b001b6cfe65e"
,
18
:
"4b0922e27b6b34b18611"
,
19
:
"7a53269ddf9f15768789"
,
20
:
"73339772cb0f938d6239"
,
21
:
"9e35f4bb567c79f900c4"
,
22
:
"4657c811baa7a2a81fa8"
,
23
:
"b696c3789461b84413c4"
,
24
:
"4ad7713214fd3234337d"
,
25
:
"9e5733792c18c643ff3a"
,
26
:
"8193e985e04feeeffd23"
,
27
:
"b5ca5d382b0cf2ab4d1d"
,
28
:
"a51ec6b6389db9f7088c"
,
29
:
"7b7f04b27985a4dd6087"
,
30
:
"6e3dad3ed142df770d0e"
,
31
:
"963d650c22609bb350cc"
,
32
:
"648e00249c751be0ef72"
,
33
:
"3b19f619921aacfda1e4"
,
34
:
"93b49282fdccc322c7b8"
,
35
:
"1e1c366da89de72e1273"
,
36
:
"613f45ac68082928b7d0"
,
37
:
"eb2f2f6d2d73849ad275"
,
38
:
"aa5cc391ec4cf87bfad2"
,
39
:
"ddfeeb2aff4f7ed79c37"
,
40
:
"7b324f8ae2bf959072d1"
,
41
:
"e2e9173a1de1a226ccba"
,
42
:
"e6708846dbe8aa3a739a"
,
43
:
"badcc25620c447c708dd"
,
44
:
"634e8387a4836d00cf31"
,
45
:
"a486c9c4d3a46ee305ff"
,
46
:
"41d0719b8e34e06155d4"
,
47
:
"92038db1f82264d5868e"
,
48
:
"e1c431339eb330885992"
,
49
:
"9fd4f029ea0801147047"
,
50
:
"91613ce4f17c75cebd9d"
,
51
:
"1d0b44b210fa29a9b7ae"
,
52
:
"786cdb9d06901d9f46d6"
,
53
:
"76cc13b40c7878ec1850"
,
54
:
"44d3c12a2724e5586b88"
,
55
:
"62d7e11a79d40049fabc"
,
56
:
"24e726ce5fe347c611e6"
,
57
:
"faf962e39bfd0f4ffda9"
,
58
:
"d3ebf67ef88c937fdaab"
,
59
:
"db51a7f4c51421d4f9bc"
,
60
:
"ff78f7652091a35782ec"
,
61
:
"e84c616b76d09228b6fe"
,
62
:
"cd195beac77b18e065fb"
,
63
:
"b62d98988a2f683868f1"
,
64
:
"505a529e5cda237ea46f"
,
65
:
"bb570dcb8ac1e63ede24"
,
66
:
"a970ad3d710b5c92c175"
,
67
:
"0dd6204bfe8e0903ea36"
,
68
:
"b0e48542a6189f95e7a9"
,
69
:
"78c1148df0648f724434"
,
70
:
"d8b620c8d056d806ac23"
,
71
:
"8ce9113b1568e9bf5537"
,
72
:
"a6222ada9c9a2655c92a"
,
73
:
"959fb844a60624eba321"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
c
=
d
[
e
];
0
!==
c
&&
(
c
&&
c
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
d
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
b
.
appendChild
(
n
),
a
},
f
.
m
=
e
,
f
.
c
=
a
,
f
.
d
=
function
(
e
,
c
,
a
){
f
.
o
(
e
,
c
)
||
Object
.
defineProperty
(
e
,
c
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
a
})},
f
.
n
=
function
(
e
){
var
c
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
f
.
d
(
c
,
"a"
,
c
),
c
},
f
.
o
=
function
(
e
,
c
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
c
)},
f
.
p
=
"./"
,
f
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
src/components/set/web-edit.vue
View file @
d5c8c759
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-04-14 09:50:16
* @LastEditors: 无尘
* @LastEditTime: 2020-05-1
5 16:55:02
* @LastEditTime: 2020-05-1
9 11:40:14
-->
<!--
<image-edit :categoryId="categoryId" @closeText="closeText" @submitText="submitText"></image-edit>
...
...
@@ -21,7 +21,7 @@
<limitInput
:inputWidth=
"440"
:inputValue
.
sync=
"ruleForm.link"
:holder=
"'请输入链接,格式需带https://www,或http://www'"
:getByType=
"'word'"
:maxLength=
"200"
>
</limitInput>
</el-form-item>
<el-form-item
label=
"摘要"
prop=
"materialDesc"
>
<limitInput
:inputWidth=
"440"
:inputValue
.
sync=
"ruleForm.materialDesc"
:holder=
"'请输入网页摘要'"
:getByType=
"'word'"
:maxLength=
"
2
00"
>
</limitInput>
<limitInput
:inputWidth=
"440"
:inputValue
.
sync=
"ruleForm.materialDesc"
:holder=
"'请输入网页摘要'"
:getByType=
"'word'"
:maxLength=
"
1
00"
>
</limitInput>
</el-form-item>
<el-form-item
label=
"封面"
prop=
"imgUrl"
>
<single-upload
uploadType=
"2"
:uploadLimit=
"1"
:imgSrc
.
sync=
"ruleForm.imgUrl"
>
</single-upload>
...
...
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