Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
江名洋
/
linkwe-scrm
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit a3f4f38b
authored
Nov 02, 2023
by
xinla
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
代码优化,删除冗余过时文件等
1 parent
7cc0b5f8
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
108 additions
and
911 deletions
vue3-lw-pc/src/components/WelcomeContent.vue
vue3-lw-pc/src/components/previewInMobileClient.vue
vue3-lw-pc/src/views/contentCenter/corporateScripts/Statistics.vue
vue3-lw-pc/src/views/contentCenter/serviceScripts/Statistics.vue
vue3-lw-pc/src/views/drainageCode/components/PreviewInStore.vue
vue3-lw-pc/src/views/drainageCode/smartForms/add.vue
vue3-lw-pc/src/views/drainageCode/staff/add.vue
vue3-lw-pc/src/views/drainageCode/store/base_detail.vue
vue3-lw-pc/src/views/drainageCode/store/guide_code.vue
vue3-lw-pc/src/views/drainageCode/welcome/add.vue
vue3-lw-pc/src/views/drainageCode/welcome/components/Tab.vue
vue3-lw-pc/src/views/drainageCode/welcome/list.vue
vue3-lw-pc/src/views/groupMessage/add.vue
vue3-lw-pc/src/components/WelcomeContent.vue
deleted
100644 → 0
View file @
7cc0b5f
This diff is collapsed.
Click to expand it.
vue3-lw-pc/src/components/previewInMobileClient.vue
deleted
100644 → 0
View file @
7cc0b5f
<
template
>
<div
class=
"preview"
>
<div
class=
"title"
>
{{
name
}}
</div>
<div
class=
"content"
>
<div
class=
"item"
>
<div
class=
"avatar222"
><img
src=
"../assets/drainageCode/header.png"
/></div>
<div
class=
"msg"
>
<div
class=
"word"
>
<p
style=
"line-height: 18px"
v-html=
"list?.welcomeMsg?.replace(/\n|\r\n/g, '
<br>
').replace(/ /g, '
&
nbsp')">
</p>
</div>
</div>
</div>
<div
class=
"item"
v-for=
"(data, key) in list?.materialMsgList"
:key=
"key"
>
<div
class=
"avatar222"
><img
src=
"../assets/drainageCode/header.png"
/></div>
<div
class=
"msg"
v-if=
"data.msgType === '4'"
>
<div
class=
"word"
>
{{
data
.
content
}}
</div>
</div>
<div
class=
"msg"
v-if=
"data.msgType === '0'"
>
<div
class=
"image"
>
<img
:src=
"data.materialUrl"
/>
</div>
</div>
<div
class=
"msg"
v-if=
"data.msgType === '8'"
>
<div
class=
"word-and-image"
>
<div>
{{
data
.
materialName
}}
</div>
<div
class=
"sub-content"
>
<div>
<!--
{{
data
.
materialUrl
}}
-->
</div>
<div>
<img
src=
"../assets/drainageCode/default_icon.png"
/>
</div>
</div>
</div>
</div>
<div
class=
"msg"
v-if=
"data.msgType === '9'"
>
<div
class=
"miniprogram"
>
<div
class=
"mini-header"
>
<img
src=
"../assets/drainageCode/miniprogram-icon.png"
alt=
""
/>
{{
data
.
materialName
}}
</div>
<img
class=
"mini-img"
:src=
"data.coverUrl"
/>
<div
class=
"mini-footer"
>
<img
src=
"../assets/drainageCode/miniprogram-link.png"
/>
小程序
</div>
</div>
</div>
</div>
<!--
<div
class=
"item"
>
<div
class=
"avatar222"
><img
src=
"../assets/drainageCode/header.png"
></div>
<div
class=
"msg"
>
<div
class=
"image"
>
<img
src=
"../assets/drainageCode/demo-img.png"
/>
</div>
</div>
</div>
-->
<!--
<div
class=
"item"
>
<div
class=
"avatar"
><img
src=
"../assets/drainageCode/header.png"
></div>
<div
class=
"msg"
>
<div
class=
"word-and-image"
>
<div>
全新智能电池系统,首秀小米
</div>
<div
class=
"sub-content"
>
<div>
三大能力延缓电池老化
</div>
<div>
<img
src=
"../assets/drainageCode/preview-middle-img.png"
/>
</div>
</div>
</div>
</div>
</div>
-->
<!--
<div
class=
"item"
>
<div
class=
"avatar"
><img
src=
"../assets/drainageCode/header.png"
></div>
<div
class=
"msg"
>
<div
class=
"miniprogram"
>
<div
class=
"mini-header"
>
<img
src=
"../assets/drainageCode/miniprogram-icon.png"
alt=
""
>
测试测试测试测试
</div>
<img
class=
"mini-img"
src=
"../assets/drainageCode/miniprogram-img.png"
>
<div
class=
"mini-footer"
>
<img
src=
"../assets/drainageCode/miniprogram-link.png"
/>
小程序
</div>
</div>
</div>
</div>
-->
</div>
</div>
</
template
>
<
script
>
export
default
{
name
:
'preview-client'
,
components
:
{},
props
:
{
name
:
{
type
:
String
,
default
:
'小微'
,
},
list
:
{
type
:
Object
,
default
:
{},
},
},
data
()
{
return
{}
},
computed
:
{},
created
()
{},
mounted
()
{},
methods
:
{},
}
</
script
>
<
style
lang=
"scss"
scoped
>
.preview
{
margin
:
0
auto
;
position
:
relative
;
width
:
300px
;
height
:
640px
;
background
:
url(../assets/drainageCode/preview-bg.png)
;
background-repeat
:
no-repeat
;
background-size
:
100%
100%
;
.title
{
position
:
absolute
;
top
:
37px
;
left
:
50%
;
transform
:
translateX
(
-50%
);
font-size
:
14px
;
font-weight
:
400
;
color
:
var
(
--font-black
);
}
.content
{
position
:
absolute
;
height
:
545px
;
width
:
280px
;
overflow-y
:
auto
;
top
:
70px
;
left
:
50%
;
transform
:
translateX
(
-50%
);
border-bottom-left-radius
:
20px
;
border-bottom-right-radius
:
20px
;
padding
:
20px
;
.item
{
font-size
:
12px
;
font-weight
:
400
;
color
:
var
(
--font-black-4
);
display
:
flex
;
margin-top
:
20px
;
&:first-child
{
margin-top
:
0
;
}
.avatar222
{
//
align-self
:
center
;
margin-right
:
5px
;
}
.msg
{
position
:
relative
;
min-height
:
26px
;
background
:
var
(
--bg-white
);
box-shadow
:
0px
2px
6px
0px
rgba
(
60
,
136
,
240
,
0.1
);
border
:
1px
solid
var
(
--color-light-9
);
display
:
inline-block
;
border-radius
:
4px
;
box-sizing
:
border-box
;
word-break
:
break-all
;
margin-left
:
5px
;
&:before
{
content
:
' '
;
display
:
block
;
position
:
absolute
;
left
:
-5px
;
box-shadow
:
0px
2px
6px
0px
rgba
(
60
,
136
,
240
,
0.1
);
border-width
:
5px
;
border-left
:
0
;
width
:
0
;
border-style
:
solid
;
border-color
:
transparent
;
border-right-color
:
var
(
--border-white
);
top
:
8px
;
z-index
:
888
;
}
.word
{
padding
:
5px
12px
;
}
.image
{
padding
:
12px
;
img
{
width
:
94px
;
height
:
90px
;
}
}
.word-and-image
{
padding
:
12px
;
.sub-content
{
margin-top
:
10px
;
display
:
flex
;
justify-content
:
space-between
;
font-size
:
12px
;
font-weight
:
400
;
color
:
var
(
--font-black-6
);
img
{
height
:
40px
;
width
:
40px
;
}
}
}
.miniprogram
{
padding
:
12px
;
.mini-header
{
display
:
flex
;
align-items
:
center
;
img
{
height
:
18px
;
width
:
18px
;
margin-right
:
5px
;
}
}
.mini-img
{
margin
:
10px
0
;
width
:
143px
;
height
:
120px
;
}
.mini-footer
{
display
:
flex
;
align-items
:
center
;
img
{
height
:
14px
;
width
:
14px
;
margin-right
:
5px
;
}
}
}
}
}
}
}
</
style
>
vue3-lw-pc/src/views/contentCenter/corporateScripts/Statistics.vue
View file @
a3f4f38
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
<div
class=
"data-content"
>
<div
class=
"data-content"
>
<div
class=
"chart-content"
>
<div
class=
"chart-content"
>
<search-title
@
search=
"getLineData"
></search-title>
<search-title
@
search=
"getLineData"
></search-title>
<chart-line
style=
"height: 300px
;
"
:legend=
"legend"
:xData=
"xdata"
:series=
"series"
></chart-line>
<chart-line
style=
"height: 300px"
:legend=
"legend"
:xData=
"xdata"
:series=
"series"
></chart-line>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -24,9 +24,9 @@
...
@@ -24,9 +24,9 @@
</div>
</div>
<div>
<div>
<div>
<div>
<search-title
:showToday=
"true"
@
search=
"getTableData"
style=
"margin-top: 20px
;
"
></search-title>
<search-title
:showToday=
"true"
@
search=
"getTableData"
style=
"margin-top: 20px"
></search-title>
</div>
</div>
<div
class=
"data-content"
style=
"margin-top: 20px
;
"
>
<div
class=
"data-content"
style=
"margin-top: 20px"
>
<DataDetail
:tableList=
"tableList"
:timeObj=
"query"
:resourceType=
"2"
/>
<DataDetail
:tableList=
"tableList"
:timeObj=
"query"
:resourceType=
"2"
/>
</div>
</div>
</div>
</div>
...
@@ -35,21 +35,19 @@
...
@@ -35,21 +35,19 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
{
getCount
}
from
'@/api/contentCenter/common.js'
import
{
getCount
}
from
'@/api/contentCenter/common.js'
import
{
getTalkMaterial
}
from
'@/api/contentCenter/scriptCenter.js'
import
{
getTalkMaterial
}
from
'@/api/contentCenter/scriptCenter.js'
import
PreviewClient
from
'@/components/previewInMobileClient.vue'
import
ChartBar
from
'@/components/ChartBar.vue'
import
ChartBar
from
'@/components/ChartBar.vue'
import
ChartLine
from
'@/components/ChartLine.vue'
import
ChartLine
from
'@/components/ChartLine.vue'
import
SearchTitle
from
'../components/SearchTitle.vue'
import
SearchTitle
from
'../components/SearchTitle.vue'
import
DataDetail
from
'@/views/contentCenter/components/DataDetail.vue'
import
DataDetail
from
'@/views/contentCenter/components/DataDetail.vue'
export
default
{
export
default
{
components
:
{
components
:
{
SearchTitle
,
SearchTitle
,
ChartLine
,
ChartLine
,
ChartBar
,
ChartBar
,
PreviewClient
,
DataDetail
,
DataDetail
},
},
data
()
{
data
()
{
return
{
return
{
...
@@ -68,14 +66,14 @@
...
@@ -68,14 +66,14 @@
'图文'
,
'图文'
,
'链接'
,
'链接'
,
'小程序'
,
'小程序'
,
'文章'
'文章'
,
],
],
disabled
:
true
,
disabled
:
true
,
mobForm
:
{
mobForm
:
{
welcomeMsg
:
''
,
welcomeMsg
:
''
,
materialMsgList
:
[],
materialMsgList
:
[],
userIds
:
''
,
userIds
:
''
,
userNames
:
''
userNames
:
''
,
},
},
exportLoading
:
false
,
exportLoading
:
false
,
// barLegend1: ['访问客户总数'],
// barLegend1: ['访问客户总数'],
...
@@ -89,33 +87,33 @@
...
@@ -89,33 +87,33 @@
{
{
title
:
'发送总次数 '
,
title
:
'发送总次数 '
,
value
:
0
,
value
:
0
,
noArrow
:
true
noArrow
:
true
,
},
},
{
{
title
:
'查看总次数'
,
title
:
'查看总次数'
,
value
:
0
value
:
0
,
},
},
{
{
title
:
'查看总人数'
,
title
:
'查看总人数'
,
value
:
0
value
:
0
,
},
},
{
{
title
:
'今日发送次数'
,
title
:
'今日发送次数'
,
value
:
0
value
:
0
,
},
},
{
{
title
:
'今日查看次数'
,
title
:
'今日查看次数'
,
value
:
0
value
:
0
,
},
},
{
{
title
:
'今日查看人数'
,
title
:
'今日查看人数'
,
value
:
0
value
:
0
,
}
},
],
],
total
:
0
,
total
:
0
,
query
:
{
query
:
{
pageSize
:
10
,
pageSize
:
10
,
pageNum
:
1
pageNum
:
1
,
},
},
tableList
:
[],
tableList
:
[],
loading
:
false
,
loading
:
false
,
...
@@ -126,7 +124,7 @@
...
@@ -126,7 +124,7 @@
value2
:
[],
value2
:
[],
tableSearch
:
{},
tableSearch
:
{},
treeData
:
[{}],
// 树
treeData
:
[{}],
// 树
talkId
:
''
talkId
:
''
,
}
}
},
},
methods
:
{
methods
:
{
...
@@ -179,16 +177,16 @@
...
@@ -179,16 +177,16 @@
// this.total = Number(res.total)
// this.total = Number(res.total)
this
.
loading
=
false
this
.
loading
=
false
})
})
}
},
},
},
created
()
{
created
()
{
this
.
talkId
=
this
.
$route
.
query
.
talkId
this
.
talkId
=
this
.
$route
.
query
.
talkId
}
},
}
}
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.group
{
.group
{
font-size
:
12px
;
font-size
:
12px
;
background
:
var
(
--color
);
background
:
var
(
--color
);
color
:
var
(
--font-white
,
#fff
);
color
:
var
(
--font-white
,
#fff
);
...
@@ -199,8 +197,8 @@
...
@@ -199,8 +197,8 @@
border-radius
:
5px
;
border-radius
:
5px
;
text-align
:
center
;
text-align
:
center
;
margin-left
:
20px
;
margin-left
:
20px
;
}
}
.data-content
{
.data-content
{
margin-top
:
10px
;
margin-top
:
10px
;
.chart-content
{
.chart-content
{
margin-top
:
10px
;
margin-top
:
10px
;
...
@@ -221,5 +219,5 @@
...
@@ -221,5 +219,5 @@
.table-content
{
.table-content
{
margin-top
:
10px
;
margin-top
:
10px
;
}
}
}
}
</
style
>
</
style
>
vue3-lw-pc/src/views/contentCenter/serviceScripts/Statistics.vue
View file @
a3f4f38
...
@@ -37,7 +37,6 @@
...
@@ -37,7 +37,6 @@
<
script
>
<
script
>
import
{
getCount
}
from
'@/api/contentCenter/common.js'
import
{
getCount
}
from
'@/api/contentCenter/common.js'
import
{
getTalkMaterial
}
from
'@/api/contentCenter/scriptCenter.js'
import
{
getTalkMaterial
}
from
'@/api/contentCenter/scriptCenter.js'
import
PreviewClient
from
'@/components/previewInMobileClient.vue'
import
ChartBar
from
'@/components/ChartBar.vue'
import
ChartBar
from
'@/components/ChartBar.vue'
import
ChartLine
from
'@/components/ChartLine.vue'
import
ChartLine
from
'@/components/ChartLine.vue'
import
SearchTitle
from
'../components/SearchTitle.vue'
import
SearchTitle
from
'../components/SearchTitle.vue'
...
@@ -48,7 +47,6 @@ export default {
...
@@ -48,7 +47,6 @@ export default {
SearchTitle
,
SearchTitle
,
ChartLine
,
ChartLine
,
ChartBar
,
ChartBar
,
PreviewClient
,
DataDetail
,
DataDetail
,
},
},
data
()
{
data
()
{
...
...
vue3-lw-pc/src/views/drainageCode/components/PreviewInStore.vue
View file @
a3f4f38
<
template
>
<
template
>
<div
class=
"preview"
>
<PhoneTemplate
:title=
"name"
>
<div
class=
"title"
>
{{
name
}}
</div>
<div
class=
"content"
>
<div
class=
"content"
>
<el-select
style=
"width: 100%"
disabled
v-model=
"pro"
>
<el-select
style=
"width: 100%"
disabled
v-model=
"pro"
>
<el-option
label=
"安徽省合肥市蜀山区"
:value=
"1"
></el-option>
<el-option
label=
"安徽省合肥市蜀山区"
:value=
"1"
></el-option>
...
@@ -47,7 +46,7 @@
...
@@ -47,7 +46,7 @@
</div>
</div>
</
template
>
</
template
>
</div>
</div>
</
div
>
</
PhoneTemplate
>
</template>
</template>
<
script
>
<
script
>
export
default
{
export
default
{
...
@@ -95,38 +94,10 @@ export default {
...
@@ -95,38 +94,10 @@ export default {
}
}
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.preview
{
.content
{
margin
:
0
auto
;
position
:
relative
;
width
:
300px
;
height
:
640px
;
background
:
url(../../../assets/drainageCode/preview-bg.png)
;
background-repeat
:
no-repeat
;
background-size
:
100%
100%
;
.title
{
position
:
absolute
;
top
:
37px
;
left
:
50%
;
transform
:
translateX
(
-50%
);
font-size
:
14px
;
font-weight
:
400
;
color
:
var
(
--font-black
);
}
.content
{
//
text-align
:
center
;
//
text-align
:
center
;
position
:
absolute
;
padding
:
50px
10%
0
;
height
:
545px
;
//
background
:
#fff
;
width
:
280px
;
overflow-y
:
auto
;
top
:
70px
;
left
:
50%
;
transform
:
translateX
(
-50%
);
border-bottom-left-radius
:
20px
;
border-bottom-right-radius
:
20px
;
padding
:
20px
10px
;
.tip
{
.tip
{
font-size
:
12px
;
font-size
:
12px
;
margin-top
:
30px
;
margin-top
:
30px
;
...
@@ -141,7 +112,6 @@ export default {
...
@@ -141,7 +112,6 @@ export default {
margin
:
10px
auto
;
margin
:
10px
auto
;
}
}
}
}
}
}
}
.sub-des
{
.sub-des
{
text-align
:
center
;
text-align
:
center
;
...
...
vue3-lw-pc/src/views/drainageCode/smartForms/add.vue
View file @
a3f4f38
...
@@ -287,17 +287,12 @@ import {
...
@@ -287,17 +287,12 @@ import {
}
from
'@/api/drainageCode/smartForms.js'
}
from
'@/api/drainageCode/smartForms.js'
import
FormsDetail
from
'./build/formsDetail.vue'
import
FormsDetail
from
'./build/formsDetail.vue'
import
SelectTag
from
'@/components/SelectTag'
import
SelectMaterial
from
'@/components/SelectMaterial'
import
SelectMaterial
from
'@/components/SelectMaterial'
import
WelcomeContent
from
'@/components/WelcomeContent.vue'
import
Build
from
'./build/index'
import
Build
from
'./build/index'
import
{
dateFormat
}
from
'@/utils/index'
import
{
dateFormat
}
from
'@/utils/index'
export
default
{
export
default
{
components
:
{
components
:
{
SelectTag
,
SelectMaterial
,
SelectMaterial
,
WelcomeContent
,
Build
,
Build
,
FormsDetail
,
FormsDetail
,
},
},
...
...
vue3-lw-pc/src/views/drainageCode/staff/add.vue
View file @
a3f4f38
...
@@ -222,7 +222,6 @@
...
@@ -222,7 +222,6 @@
</el-form>
</el-form>
</el-col>
</el-col>
</el-row>
</el-row>
<!-- <welcome-content v-loading="loading" :showBack="true" @update="currentActive = 2" :baseData="materialData" @submit="getWelData"></welcome-content> -->
<AddMaterial
<AddMaterial
v-if=
"currentActive === 3"
v-if=
"currentActive === 3"
:moduleType=
"4"
:moduleType=
"4"
...
@@ -263,17 +262,13 @@
...
@@ -263,17 +262,13 @@
<
script
>
<
script
>
import
{
getDetail
,
add
,
update
,
getCodeCategoryList
}
from
'@/api/drainageCode/staff'
import
{
getDetail
,
add
,
update
,
getCodeCategoryList
}
from
'@/api/drainageCode/staff'
import
SelectTag
from
'@/components/SelectTag'
import
SelectMaterial
from
'@/components/SelectMaterial'
import
SelectMaterial
from
'@/components/SelectMaterial'
import
WelcomeContent
from
'@/components/WelcomeContent.vue'
import
AddMaterial
from
'@/components/ContentCenter/AddMaterial'
import
AddMaterial
from
'@/components/ContentCenter/AddMaterial'
import
MemeberList
from
'./memberList.vue'
import
MemeberList
from
'./memberList.vue'
export
default
{
export
default
{
components
:
{
components
:
{
SelectTag
,
MemeberList
,
MemeberList
,
SelectMaterial
,
SelectMaterial
,
WelcomeContent
,
AddMaterial
,
AddMaterial
,
},
},
data
()
{
data
()
{
...
...
vue3-lw-pc/src/views/drainageCode/store/base_detail.vue
View file @
a3f4f38
...
@@ -72,8 +72,12 @@
...
@@ -72,8 +72,12 @@
<div
class=
"g-card"
style=
"height: 100%; display: flex"
>
<div
class=
"g-card"
style=
"height: 100%; display: flex"
>
<
template
v-if=
"codeType === 1"
>
<
template
v-if=
"codeType === 1"
>
<preview-store-client
:showGuide=
"true"
name=
"专属门店导购"
:value=
"form"
></preview-store-client>
<preview-store-client
:showGuide=
"true"
name=
"专属门店导购"
:value=
"form"
></preview-store-client>
<preview-client
:list=
"materialData"
></preview-client>
<PreviewInPhone
:list=
"materialData.attachments"
:templateInfo=
"materialData.welcomeMsg"
:liveUrl=
"liveUrl"
/>
</
template
>
</
template
>
.
<
template
v-if=
"codeType === 2"
>
<
template
v-if=
"codeType === 2"
>
<preview-store-client
key=
"1"
:showStore=
"true"
name=
"专属门店群"
:value=
"form"
></preview-store-client>
<preview-store-client
key=
"1"
:showStore=
"true"
name=
"专属门店群"
:value=
"form"
></preview-store-client>
<preview-store-client
key=
"2"
:showTip=
"true"
name=
"专属门店群"
:value=
"form"
></preview-store-client>
<preview-store-client
key=
"2"
:showTip=
"true"
name=
"专属门店群"
:value=
"form"
></preview-store-client>
...
@@ -85,7 +89,7 @@
...
@@ -85,7 +89,7 @@
</template>
</template>
<
script
>
<
script
>
import
Preview
Client
from
'@/components/previewInMobileClient.vu
e'
import
Preview
InPhone
from
'@/components/ContentCenter/PreviewInPhon
e'
import
PreviewStoreClient
from
'../components/PreviewInStore.vue'
import
PreviewStoreClient
from
'../components/PreviewInStore.vue'
import
{
getCode
,
downloadUrl
}
from
'@/api/drainageCode/store'
import
{
getCode
,
downloadUrl
}
from
'@/api/drainageCode/store'
...
@@ -107,12 +111,12 @@ export default {
...
@@ -107,12 +111,12 @@ export default {
},
},
materialData
:
{
materialData
:
{
welcomeMsg
:
''
,
welcomeMsg
:
''
,
materialMsgList
:
[],
attachments
:
[],
},
},
}
}
},
},
components
:
{
components
:
{
Preview
Client
,
Preview
InPhone
,
PreviewStoreClient
,
PreviewStoreClient
,
},
},
props
:
{
props
:
{
...
@@ -156,28 +160,86 @@ export default {
...
@@ -156,28 +160,86 @@ export default {
let
arr
=
[]
let
arr
=
[]
if
(
list
&&
list
.
length
)
{
if
(
list
&&
list
.
length
)
{
list
.
forEach
((
dd
)
=>
{
list
.
forEach
((
dd
)
=>
{
if
(
dd
.
msgType
===
'image'
)
{
if
(
dd
.
realType
===
0
)
{
let
obj
=
{
let
obj
=
{
msgType
:
'0'
,
id
:
dd
.
materialId
,
mediaType
:
'0'
,
materialUrl
:
dd
.
picUrl
,
materialUrl
:
dd
.
picUrl
,
}
}
arr
.
push
(
obj
)
arr
.
push
(
obj
)
}
else
if
(
dd
.
msgType
===
'link'
)
{
}
else
if
(
dd
.
realType
===
2
)
{
let
obj
=
{
id
:
dd
.
materialId
,
mediaType
:
'2'
,
materialUrl
:
dd
.
fileUrl
,
coverUrl
:
dd
.
picUrl
,
digest
:
dd
.
description
,
materialName
:
dd
.
title
,
}
arr
.
push
(
obj
)
}
else
if
(
dd
.
realType
===
3
)
{
let
obj
=
{
id
:
dd
.
materialId
,
mediaType
:
'3'
,
materialUrl
:
dd
.
fileUrl
,
digest
:
dd
.
description
,
materialName
:
dd
.
title
,
}
arr
.
push
(
obj
)
}
else
if
(
dd
.
realType
===
4
)
{
let
obj
=
{
id
:
dd
.
materialId
,
mediaType
:
'4'
,
content
:
dd
.
content
,
}
arr
.
push
(
obj
)
}
else
if
(
dd
.
realType
===
9
)
{
let
obj
=
{
id
:
dd
.
materialId
,
mediaType
:
'9'
,
content
:
dd
.
content
,
coverUrl
:
dd
.
picUrl
,
materialUrl
:
dd
.
linkUrl
,
materialName
:
dd
.
title
,
}
arr
.
push
(
obj
)
}
else
if
(
dd
.
realType
===
8
)
{
let
ob
=
{
let
ob
=
{
msgType
:
'8'
,
id
:
dd
.
materialId
,
mediaType
:
'8'
,
materialName
:
dd
.
title
,
materialName
:
dd
.
title
,
materialUrl
:
dd
.
linkUrl
,
materialUrl
:
dd
.
linkUrl
,
}
}
arr
.
push
(
ob
)
arr
.
push
(
ob
)
}
else
if
(
dd
.
msgType
===
'miniprogram'
)
{
}
else
if
(
dd
.
realType
===
11
)
{
let
ff
=
{
let
ff
=
{
msgType
:
'9'
,
id
:
dd
.
materialId
,
mediaType
:
'11'
,
digest
:
dd
.
appId
,
digest
:
dd
.
appId
,
materialName
:
dd
.
title
,
materialName
:
dd
.
title
,
coverUrl
:
dd
.
picUrl
,
coverUrl
:
dd
.
picUrl
,
materialUrl
:
dd
.
linkUrl
,
materialUrl
:
dd
.
fileUrl
,
}
arr
.
push
(
ff
)
}
else
if
(
dd
.
realType
===
12
)
{
let
ff
=
{
id
:
dd
.
materialId
,
mediaType
:
'12'
,
digest
:
dd
.
description
,
materialUrl
:
dd
.
fileUrl
,
coverUrl
:
dd
.
picUrl
,
content
:
dd
.
content
,
materialName
:
dd
.
title
,
}
}
arr
.
push
(
ff
)
arr
.
push
(
ff
)
}
else
if
(
dd
.
realType
===
5
)
{
let
obj
=
{
id
:
dd
.
materialId
,
mediaType
:
'5'
,
materialUrl
:
dd
.
picUrl
,
materialName
:
dd
.
title
,
}
arr
.
push
(
obj
)
}
}
})
})
}
}
...
@@ -197,7 +259,7 @@ export default {
...
@@ -197,7 +259,7 @@ export default {
if
(
this
.
form
.
weQrAttachments
&&
this
.
form
.
weQrAttachments
.
length
)
{
if
(
this
.
form
.
weQrAttachments
&&
this
.
form
.
weQrAttachments
.
length
)
{
this
.
materialData
=
{
this
.
materialData
=
{
welcomeMsg
:
this
.
form
.
weQrAttachments
?
this
.
form
.
weQrAttachments
[
0
].
content
:
''
,
welcomeMsg
:
this
.
form
.
weQrAttachments
?
this
.
form
.
weQrAttachments
[
0
].
content
:
''
,
materialMsgList
:
this
.
form
.
weQrAttachments
?
this
.
setEditList
(
this
.
form
.
weQrAttachments
)
:
[],
attachments
:
this
.
form
.
weQrAttachments
?
this
.
setEditList
(
this
.
form
.
weQrAttachments
)
:
[],
}
}
}
}
if
(
this
.
form
.
tagIds
)
{
if
(
this
.
form
.
tagIds
)
{
...
...
vue3-lw-pc/src/views/drainageCode/store/guide_code.vue
View file @
a3f4f38
...
@@ -71,7 +71,6 @@
...
@@ -71,7 +71,6 @@
</el-row>
</el-row>
</template>
</template>
<
template
v-if=
"currentActive === 2"
>
<
template
v-if=
"currentActive === 2"
>
<!--
<welcome-content
v-loading=
"loading"
:showBack=
"true"
@
update=
"currentActive = 1"
:baseData=
"materialData"
@
submit=
"getWelData"
></welcome-content>
-->
<AddMaterial
<AddMaterial
:moduleType=
"4"
:moduleType=
"4"
:otherType=
"4"
:otherType=
"4"
...
@@ -95,9 +94,7 @@
...
@@ -95,9 +94,7 @@
</template>
</template>
<
script
>
<
script
>
import
PreviewClient
from
'../components/PreviewInStore.vue'
import
PreviewClient
from
'../components/PreviewInStore.vue'
import
WelcomeContent
from
'@/components/WelcomeContent.vue'
import
{
addOrUpdateCodeInStore
,
getCode
}
from
'@/api/drainageCode/store'
import
{
addOrUpdateCodeInStore
,
getCode
}
from
'@/api/drainageCode/store'
import
SelectTag
from
'@/components/SelectTag'
import
AddMaterial
from
'@/components/ContentCenter/AddMaterial'
import
AddMaterial
from
'@/components/ContentCenter/AddMaterial'
function
validateRadius
(
rule
,
value
,
callback
)
{
function
validateRadius
(
rule
,
value
,
callback
)
{
if
(
value
==
''
)
{
if
(
value
==
''
)
{
...
@@ -144,8 +141,6 @@ export default {
...
@@ -144,8 +141,6 @@ export default {
},
},
components
:
{
components
:
{
PreviewClient
,
PreviewClient
,
WelcomeContent
,
SelectTag
,
AddMaterial
,
AddMaterial
,
},
},
methods
:
{
methods
:
{
...
...
vue3-lw-pc/src/views/drainageCode/welcome/add.vue
deleted
100644 → 0
View file @
7cc0b5f
<
template
>
<div
v-if=
"loading"
>
<div
style=
"height: 500px; width: 500px"
v-loading=
"loading"
></div>
</div>
<div
v-else
>
<welcome-content
v-if=
"show"
:strType=
"form.tplType === '3'"
:isSingle=
"form.tplType === '3'"
:showTemplate=
"false"
:showMember=
"form.tplType === '2'"
:showMorMaterial=
"true"
:baseData=
"materialData"
@
submit=
"getWelData"
></welcome-content>
</div>
</
template
>
<
script
>
import
{
add
,
update
,
getPreview
}
from
'@/api/drainageCode/welcome'
import
SelectMaterial
from
'@/components/SelectMaterial'
import
WelcomeContent
from
'@/components/WelcomeContent.vue'
export
default
{
components
:
{
SelectMaterial
,
WelcomeContent
,
},
props
:
{},
data
()
{
return
{
name
:
'活码'
,
type
:
'新建'
,
materialData
:
{
welcomeMsg
:
''
,
materialMsgList
:
[],
},
dialogVisible
:
false
,
dialogVisibleSelectMaterial
:
false
,
form
:
{
id
:
''
,
tplType
:
''
,
attachments
:
[],
},
// 遮罩层
loading
:
false
,
show
:
false
,
}
},
watch
:
{},
computed
:
{},
created
()
{
this
.
form
.
id
=
this
.
$route
.
query
.
id
if
(
this
.
form
.
id
)
{
let
data
=
JSON
.
parse
(
localStorage
.
getItem
(
'obj'
))
this
.
form
=
Object
.
assign
(
this
.
form
,
data
)
this
.
form
.
tplType
=
this
.
form
.
tplType
.
toString
()
}
else
{
this
.
form
.
tplType
=
this
.
$route
.
query
.
tplType
}
this
.
name
=
this
.
form
.
tplType
===
'1'
?
'活码'
:
this
.
form
.
tplType
===
'2'
?
'员工'
:
'入群'
this
.
type
=
this
.
form
.
id
?
'编辑'
:
'新建'
this
.
$route
.
meta
.
title
=
(
this
.
form
.
id
?
'编辑'
:
'新建'
)
+
'欢迎语'
this
.
form
.
id
&&
this
.
getData
()
},
mounted
()
{
this
.
show
=
true
},
methods
:
{
getWelData
(
materialData
)
{
let
list
=
this
.
resetData
(
materialData
.
materialMsgList
)
let
myObj
=
{
// content: materialData.welcomeMsg,
attachments
:
[
{
content
:
materialData
.
welcomeMsg
,
msgType
:
'text'
,
},
],
}
if
(
materialData
.
userIds
)
{
myObj
.
userIds
=
materialData
.
userIds
myObj
.
userNames
=
materialData
.
userNames
}
myObj
.
attachments
.
push
(...
list
)
let
data
=
Object
.
assign
({},
this
.
form
,
myObj
)
this
.
submit
(
data
)
},
resetData
(
list
)
{
let
arr
=
[]
if
(
list
&&
list
.
length
)
{
list
.
forEach
((
dd
)
=>
{
if
(
dd
.
msgType
===
'0'
)
{
let
obj
=
{
msgType
:
'image'
,
picUrl
:
dd
.
materialUrl
,
}
arr
.
push
(
obj
)
}
else
if
(
dd
.
msgType
===
'8'
)
{
let
ob
=
{
msgType
:
'link'
,
title
:
dd
.
materialName
,
linkUrl
:
dd
.
materialUrl
,
}
arr
.
push
(
ob
)
}
else
if
(
dd
.
msgType
===
'9'
)
{
let
ff
=
{
msgType
:
'miniprogram'
,
appId
:
dd
.
digest
,
title
:
dd
.
materialName
,
picUrl
:
dd
.
coverUrl
,
linkUrl
:
dd
.
materialUrl
,
}
arr
.
push
(
ff
)
}
})
}
return
arr
},
getData
()
{
getPreview
(
this
.
form
.
id
).
then
(({
data
})
=>
{
this
.
materialData
=
this
.
form
// this.materialData.users = []
// if (this.materialData.userIds) {
// let name = this.materialData.userNames.split(',')
// this.materialData.userIds.split(',').forEach((ddd, index) => {
// let obj = {
// useUserId: ddd,
// userName: name[index]
// }
// this.materialData.users.push(obj)
// })
// }
this
.
materialData
.
welcomeMsg
=
data
.
attachments
?
data
.
attachments
[
0
].
content
:
''
this
.
materialData
.
materialMsgList
=
data
.
attachments
?
this
.
setEditList
(
data
.
attachments
)
:
[]
// this.$forceUpdate()
})
},
setEditList
(
list
)
{
let
arr
=
[]
if
(
list
&&
list
.
length
)
{
list
.
forEach
((
dd
)
=>
{
if
(
dd
.
msgType
===
'image'
)
{
let
obj
=
{
msgType
:
'0'
,
materialUrl
:
dd
.
picUrl
,
}
arr
.
push
(
obj
)
}
else
if
(
dd
.
msgType
===
'link'
)
{
let
ob
=
{
msgType
:
'8'
,
materialName
:
dd
.
title
,
materialUrl
:
dd
.
linkUrl
,
}
arr
.
push
(
ob
)
}
else
if
(
dd
.
msgType
===
'miniprogram'
)
{
let
ff
=
{
msgType
:
'9'
,
digest
:
dd
.
appId
,
materialName
:
dd
.
title
,
coverUrl
:
dd
.
picUrl
,
materialUrl
:
dd
.
linkUrl
,
}
arr
.
push
(
ff
)
}
})
}
return
arr
},
submit
(
data
)
{
this
.
loading
=
true
data
.
tplType
=
Number
(
data
.
tplType
)
delete
data
.
materialMsgList
delete
data
.
welcomeMsg
if
(
data
.
id
)
{
update
(
data
)
.
then
(({
data
})
=>
{
this
.
msgSuccess
(
'操作成功'
)
this
.
loading
=
false
this
.
$router
.
push
({
path
:
'/content/template/welcome'
,
query
:
{
type
:
this
.
form
.
tplType
.
toString
(),
},
})
})
.
catch
(()
=>
{
this
.
loading
=
false
})
}
else
{
add
(
data
)
.
then
(({
data
})
=>
{
this
.
msgSuccess
(
'操作成功'
)
this
.
loading
=
false
this
.
$router
.
push
({
path
:
'/content/template/welcome'
,
query
:
{
type
:
this
.
form
.
tplType
.
toString
(),
},
})
})
.
catch
(()
=>
{
this
.
loading
=
false
})
}
},
},
}
</
script
>
<
style
lang=
"scss"
scoped
>
.page
{
padding
:
30px
;
background
:
var
(
--bg-white
);
border-radius
:
8px
;
}
.form
{
width
:
50%
;
max-width
:
500px
;
}
.filter-wrap
{
justify-content
:
space-between
;
}
.list-wrap
{
flex-wrap
:
wrap
;
}
.crumb-
{
//
一级
页面标题
&title
{
display
:
flex
;
flex-direction
:
column
;
justify-content
:
center
;
height
:
90px
;
//
line-height
:
90px
;
font-size
:
18px
;
font-weight
:
500
;
color
:
var
(
--font-black
);
padding
:
0
20px
;
background
:
var
(
--bg-white
);
border-top-left-radius
:
4px
;
border-top-right-radius
:
4px
;
}
}
.crumb
{
font-size
:
12px
;
font-weight
:
400
;
color
:
var
(
--font-black-4
);
display
:
flex
;
}
</
style
>
vue3-lw-pc/src/views/drainageCode/welcome/components/Tab.vue
deleted
100644 → 0
View file @
7cc0b5f
<
template
>
<div>
<div>
<!-- v-hasPermi="['wecom:tlp:add']" -->
<el-form
label-position=
"left"
inline
label-width=
"80px"
>
<el-form-item
label=
"欢迎语"
>
<el-input
clearable
placeholder=
"请输入欢迎语"
v-model=
"query.welcomeMsg"
style=
"width: 260px"
></el-input>
</el-form-item>
<el-form-item
label-width=
"0"
>
<el-button
type=
"primary"
@
click=
"getList(0)"
>
查询
</el-button>
<el-button
@
click=
";(query.welcomeMsg = ''), getList(0)"
>
重置
</el-button>
</el-form-item>
</el-form>
<div
style=
"margin-top: 20px; display: flex; justify-content: space-between"
>
<el-button
type=
"primary"
@
click=
"goRoute()"
>
新建
{{
wel
[
type
]
}}
欢迎语
</el-button>
<div>
<el-button
style=
"align-self: flex-end"
type=
"primary"
plain
@
click=
"removeMult()"
>
批量删除
</el-button>
</div>
</div>
</div>
<div>
<el-table
v-loading=
"loading"
:data=
"list"
@
selection-change=
"handleSelectionChange"
>
<el-table-column
type=
"selection"
width=
"55"
align=
"center"
/>
<el-table-column
label=
"欢迎语"
align=
"center"
prop=
"welcomeMsg"
min-width=
"250"
show-overflow-tooltip
>
<template
#
default=
"scope"
>
{{
scope
.
row
.
attachments
[
0
].
content
}}
</
template
>
</el-table-column>
<el-table-column
v-if=
"type === '2'"
label=
"员工"
prop=
"userNames"
align=
"center"
></el-table-column>
<el-table-column
label=
"创建人"
align=
"center"
prop=
"createBy"
/>
<el-table-column
label=
"创建时间"
align=
"center"
prop=
"createTime"
/>
<el-table-column
label=
"操作"
align=
"center"
>
<
template
#
default=
"scope"
>
<el-button
text
@
click=
"showPreview(scope.row)"
>
预览
</el-button>
<el-button
text
@
click=
"goRoute(scope.row)"
>
编辑
</el-button>
<!-- v-hasPermi="['wecom:tlp:edit']" -->
<el-button
text
@
click=
"remove(scope.row.id)"
>
删除
</el-button>
<!-- v-hasPermi="['wecom:tlp:remove']" -->
</
template
>
</el-table-column>
</el-table>
<div
class=
"bottom"
>
<pagination
:total=
"total"
v-model:page=
"query.pageNum"
v-model:limit=
"query.pageSize"
@
pagination=
"getList()"
/>
</div>
</div>
<el-dialog
title=
"预览"
v-model=
"showPreviewDialog"
width=
"50%"
>
<div>
<preview-client
:list=
"previewData"
></preview-client>
</div>
<
template
#
footer
>
<span
class=
"dialog-footer"
>
<el-button
type=
"primary"
@
click=
"showPreviewDialog = false"
>
关闭
</el-button>
</span>
</
template
>
</el-dialog>
</div>
</template>
<
script
>
import
PreviewClient
from
'@/components/previewInMobileClient.vue'
import
{
getList
,
remove
}
from
'@/api/drainageCode/welcome'
export
default
{
name
:
'Tab'
,
components
:
{
PreviewClient
,
},
props
:
{
type
:
{
type
:
[
Number
,
String
],
default
:
'1'
,
},
},
data
()
{
return
{
ids
:
[],
// 查询参数
query
:
{
pageNum
:
1
,
pageSize
:
10
,
welcomeMsg
:
undefined
,
tplType
:
1
,
orderByColumn
:
'wmt.create_time'
,
isAsc
:
'desc'
,
},
loading
:
false
,
total
:
0
,
list
:
[],
wel
:
{
1
:
'活码'
,
2
:
'员工'
,
3
:
'入群'
,
},
showPreviewDialog
:
false
,
previewData
:
{
welcomeMsg
:
''
,
materialMsgList
:
[],
},
}
},
watch
:
{},
computed
:
{},
created
()
{
this
.
query
.
tplType
=
+
this
.
type
this
.
getList
()
},
mounted
()
{},
methods
:
{
handleSelectionChange
(
selection
)
{
this
.
ids
=
selection
.
map
((
item
)
=>
item
.
id
)
},
/** 查询 */
getList
(
page
)
{
page
&&
(
this
.
query
.
pageNum
=
page
)
this
.
loading
=
true
getList
(
this
.
query
)
.
then
(({
rows
,
total
})
=>
{
this
.
list
=
rows
this
.
total
=
+
total
this
.
loading
=
false
})
.
catch
(()
=>
{
this
.
loading
=
false
})
},
/** 删除按钮操作 */
remove
(
id
)
{
// const operIds = id || this.ids + "";
this
.
$confirm
(
'是否确认删除吗?'
,
'警告'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
})
.
then
(()
=>
{
return
remove
(
id
)
})
.
then
(()
=>
{
this
.
getList
()
this
.
msgSuccess
(
'删除成功'
)
})
},
removeMult
()
{
if
(
!
this
.
ids
.
length
)
{
this
.
msgInfo
(
'请勾选需要删除的项!'
)
return
}
this
.
$confirm
(
'是否确认删除吗?'
,
'警告'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
})
.
then
(()
=>
{
return
remove
(
this
.
ids
.
join
(
','
))
})
.
then
(()
=>
{
this
.
getList
()
this
.
msgSuccess
(
'删除成功'
)
})
},
goRoute
(
data
)
{
let
query
=
{}
if
(
data
)
{
localStorage
.
setItem
(
'obj'
,
JSON
.
stringify
(
data
))
query
.
id
=
data
.
id
}
else
{
query
.
tplType
=
this
.
type
}
this
.
$router
.
push
({
path
:
'/content/template/welcomeAdd'
,
query
:
query
,
})
},
showPreview
(
data
)
{
;(
this
.
previewData
.
welcomeMsg
=
data
.
attachments
?
data
.
attachments
[
0
].
content
:
''
),
(
this
.
previewData
.
materialMsgList
=
data
.
attachments
?
this
.
setEditList
(
data
.
attachments
)
:
[])
this
.
showPreviewDialog
=
true
// })
},
setEditList
(
list
)
{
let
arr
=
[]
if
(
list
&&
list
.
length
)
{
list
.
forEach
((
dd
)
=>
{
if
(
dd
.
msgType
===
'image'
)
{
let
obj
=
{
msgType
:
'0'
,
materialUrl
:
dd
.
picUrl
,
}
arr
.
push
(
obj
)
}
else
if
(
dd
.
msgType
===
'link'
)
{
let
ob
=
{
msgType
:
'8'
,
materialName
:
dd
.
title
,
materialUrl
:
dd
.
linkUrl
,
}
arr
.
push
(
ob
)
}
else
if
(
dd
.
msgType
===
'miniprogram'
)
{
let
ff
=
{
msgType
:
'9'
,
digest
:
dd
.
appId
,
materialName
:
dd
.
title
,
coverUrl
:
dd
.
picUrl
,
materialUrl
:
dd
.
linkUrl
,
}
arr
.
push
(
ff
)
}
})
}
return
arr
},
},
}
</
script
>
<
style
lang=
"scss"
scoped
>
.header
{
padding
:
0
20px
;
}
.divider-content
{
width
:
100%
;
height
:
10px
;
background-color
:
var
(
--bg-black-11
);
}
.bottom
{
display
:
flex
;
justify-content
:
flex-end
;
align-items
:
center
;
}
</
style
>
vue3-lw-pc/src/views/drainageCode/welcome/list.vue
deleted
100644 → 0
View file @
7cc0b5f
<
template
>
<div>
<el-tabs
:model-value=
"active"
>
<el-tab-pane
label=
"活码欢迎语"
name=
"1"
>
<Tab
ref=
"tab1"
type=
"1"
@
total=
"totalChange"
></Tab>
</el-tab-pane>
<el-tab-pane
label=
"员工欢迎语"
name=
"2"
>
<Tab
ref=
"tab2"
type=
"2"
@
total=
"totalChange"
></Tab>
</el-tab-pane>
<el-tab-pane
label=
"入群欢迎语"
name=
"3"
>
<Tab
ref=
"tab3"
type=
"3"
@
total=
"totalChange"
></Tab>
</el-tab-pane>
</el-tabs>
</div>
</
template
>
<
script
>
import
Tab
from
'./components/Tab'
export
default
{
name
:
'Welcome'
,
components
:
{
Tab
},
props
:
{},
data
()
{
return
{
active
:
'1'
,
total1
:
0
,
total2
:
0
,
total3
:
0
,
}
},
watch
:
{},
computed
:
{},
created
()
{
if
(
this
.
$route
.
query
.
type
)
{
this
.
active
=
this
.
$route
.
query
.
type
}
},
mounted
()
{
this
.
$store
.
setBusininessDesc
(
`
<div>活码欢迎语:客户通过员工活码添加员工时,系统自动回复欢迎语;新建活码时也可以从活码欢迎语模板中选择。</div>
<div>员工欢迎语:客户通过搜索手机号等非员工活码方式添加员工时,系统自动回复欢迎语。</div>
<div>入群欢迎语:客户加入群聊时,系统自动回复欢迎语。</div>
`
,
)
},
// beforeRouteLeave(to, from, next) {
// // this.$store.setBusininessDesc(( ''))
// this.$store.app.busininessDesc = ''
// next()
// },
methods
:
{
totalChange
([
type
,
total
])
{
this
[
'total'
+
type
]
=
total
},
},
}
</
script
>
<
style
lang=
"scss"
scoped
></
style
>
vue3-lw-pc/src/views/groupMessage/add.vue
View file @
a3f4f38
...
@@ -130,16 +130,6 @@
...
@@ -130,16 +130,6 @@
</el-form>
</el-form>
</div>
</div>
<div
class=
"g-margin-t"
v-if=
"currentActive === 2"
>
<div
class=
"g-margin-t"
v-if=
"currentActive === 2"
>
<!-- <welcome-detail
v-loading="loading"
showBack
:showTemplate="false"
showMorMaterial
isgroup
v-model:currentActive="currentActive"
@update="currentActive = 1"
@submit="save"
></welcome-detail> -->
<AddMaterial
<AddMaterial
:showModle=
"true"
:showModle=
"true"
:moduleType=
"4"
:moduleType=
"4"
...
@@ -178,17 +168,13 @@ import { add, getCustomerList } from '@/api/groupMessage'
...
@@ -178,17 +168,13 @@ import { add, getCustomerList } from '@/api/groupMessage'
import
{
getMaterialMediaId
}
from
'@/api/material'
import
{
getMaterialMediaId
}
from
'@/api/material'
import
{
getList
}
from
'@/api/salesCenter/businessConver.js'
import
{
getList
}
from
'@/api/salesCenter/businessConver.js'
import
SelectTag
from
'@/components/SelectTag'
import
WelcomeDetail
from
'@/components/WelcomeContent.vue'
import
SelectCustomerGroup
from
'@/components/SelectCustomerGroup'
import
SelectCustomerGroup
from
'@/components/SelectCustomerGroup'
import
moment
from
'moment'
import
moment
from
'moment'
import
{
parseTime
}
from
'@/utils/common'
import
{
parseTime
}
from
'@/utils/common'
import
AddMaterial
from
'@/components/ContentCenter/AddMaterial'
import
AddMaterial
from
'@/components/ContentCenter/AddMaterial'
export
default
{
export
default
{
components
:
{
components
:
{
SelectTag
,
//
//
WelcomeDetail
,
SelectCustomerGroup
,
SelectCustomerGroup
,
AddMaterial
,
AddMaterial
,
},
},
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment