Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
dj-scrm-wx-work-attachment-customer
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 46a2b9c4
authored
Nov 23, 2021
by
王志慧
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
commit
1 parent
9931f68a
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
313 additions
and
178 deletions
src/assets/css/index.scss
src/components/Empty.vue
src/components/ScrollView.vue
src/utils/util.js
src/views/customer/information.vue
src/views/customerDetails/add.vue
src/views/customerDetails/index.vue
src/views/tag/index.vue
src/views/tag/make.vue
vue.config.js
src/assets/css/index.scss
View file @
46a2b9c
...
@@ -60,4 +60,14 @@ img {
...
@@ -60,4 +60,14 @@ img {
.sticky
{
.sticky
{
position
:
static
;
position
:
static
;
}
.buttomLine
{
position
:
absolute
;
left
:
0
;
bottom
:
0
;
width
:
375px
;
height
:
1px
;
opacity
:
0
.3
;
background-color
:
#c3c3c3
;
}
}
\ No newline at end of file
\ No newline at end of file
src/components/Empty.vue
View file @
46a2b9c
<
template
>
<
template
>
<van-empty
class=
"custom-image"
:image=
"empty"
:description=
"description"
/>
<van-empty
class=
"custom-image"
:image=
"empty"
:description=
"description"
/>
</
template
>
</
template
>
<
script
>
<
script
>
export
default
{
export
default
{
name
:
'empty'
,
name
:
'empty'
,
data
(){
data
()
{
return
{
return
{
empty
:
require
(
'../assets/images/empty.png'
)
empty
:
require
(
'../assets/images/empty.png'
)
}
},
props
:{
description
:{
type
:
String
,
default
:
'暂无数据'
}
}
}
},
props
:
{
description
:
{
type
:
String
,
default
:
'暂无数据'
}
}
}
}
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.custom-image
{
.custom-image
{
padding-top
:
79px
;
padding-top
:
79px
;
}
}
.custom-image
.van-empty__image
{
.custom-image
/
deep
/
.van-empty__image
{
width
:
88px
;
width
:
88px
;
height
:
56px
;
height
:
56px
;
}
}
</
style
>
</
style
>
\ No newline at end of file
\ No newline at end of file
src/components/ScrollView.vue
View file @
46a2b9c
...
@@ -38,4 +38,7 @@ export default {
...
@@ -38,4 +38,7 @@ export default {
overflow-y
:
scroll
;
overflow-y
:
scroll
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
}
}
.van-list
{
background-color
:
#ffffff
;
}
</
style
>
</
style
>
\ No newline at end of file
\ No newline at end of file
src/utils/util.js
View file @
46a2b9c
...
@@ -125,6 +125,9 @@ const setClipboardData = data => {
...
@@ -125,6 +125,9 @@ const setClipboardData = data => {
data
,
data
,
success
(
res
)
{
success
(
res
)
{
Toast
(
'复制成功'
)
Toast
(
'复制成功'
)
},
fail
(
res
){
console
.
log
(
res
)
}
}
})
})
}
}
...
...
src/views/customer/information.vue
View file @
46a2b9c
<
template
>
<
template
>
<div
class=
"layout"
>
<div
class=
"layout"
>
<div
class=
"tips flex"
>
<div
class=
"tips flex"
>
请完善以下客户信息
</div>
请完善以下客户信息
</div>
<template>
<template>
<template>
<template>
<scroll-view
<scroll-view
class=
"content"
@
ReachBottom=
"onReachBottom"
ref=
"scrollView"
>
class=
"content"
<template
v-for=
"(item, index) in customerList"
>
@
ReachBottom=
"onReachBottom"
<div
:key=
"index"
class=
"item flex"
>
ref=
"scrollView"
>
<template
v-for=
"(item,index) in 10"
>
<div
:key=
"index"
class=
"item flex"
>
<div
class=
"avatar"
>
<div
class=
"avatar"
>
<div
class=
"sprite-icon icon-avatar"
></div>
<div
class=
"sprite-icon icon-avatar"
></div>
</div>
</div>
<div
class=
"info"
>
<div
class=
"info"
>
<div
class=
"phone flex"
>
<div
class=
"phone flex name"
>
{{
item
.
customerName
}}
</div>
恒河猴
</div>
<div
class=
"tags flex"
>
<div
class=
"tags flex"
>
<template
v-for=
"(i,ind) in 5"
>
<template
v-for=
"(i, ind) in 5"
>
<div
<div
:key=
"ind"
class=
"tag text-center"
>
{{
index
}}{{
ind
}}
恒河猴
</div>
:key=
"ind"
class=
"tag text-center"
>
{{
index
}}{{
ind
}}
恒河猴
</div>
</
template
>
</
template
>
</div>
</div>
</div>
</div>
...
@@ -45,17 +29,155 @@
...
@@ -45,17 +29,155 @@
<
script
type=
'text/ecmascript-6'
>
<
script
type=
'text/ecmascript-6'
>
export
default
{
export
default
{
name
:
''
,
name
:
''
,
data
()
{
data
()
{
return
{
return
{
customerList
:
[]
}
}
},
},
mounted
()
{
created
()
{
this
.
init
()
},
},
methods
:
{
methods
:
{
onReachBottom
()
{
onReachBottom
()
{
console
.
log
(
'触底'
)
console
.
log
(
'触底'
)
this
.
$refs
.
scrollView
.
loading
=
false
this
.
$refs
.
scrollView
.
loading
=
false
this
.
$refs
.
scrollView
.
finished
=
true
this
.
$refs
.
scrollView
.
finished
=
true
},
// 消息盒子-好友列表
init
()
{
let
search
=
{
taskId
:
'cb3b9128e620413c931601a6d439d365'
,
status
:
this
.
status
}
this
.
customerList
=
[
{
id
:
null
,
userid
:
'wmdMreDgAAY_3bc9griISYSmgyx_FuQw'
,
customerName
:
'王欣伟'
,
customerPhone
:
'13476670746'
,
avatar
:
'http://wx.qlogo.cn/mmhead/Q3auHgzwzM7CwgjO4zXia5tmwgfKRK1IXhialS5hiaVMt15SlniciaRRHDA/0'
,
type
:
1
,
createdTime
:
'2021-11-14 17:17:38'
,
status
:
2
},
{
id
:
null
,
userid
:
'wodMreDgAAJ4g8Q6XpoIcNFXtr_M42xA'
,
customerName
:
'曾琪aaaa啊啊啊啊啊啊啊啊aaaaaaaa嗷嗷嗷'
,
customerPhone
:
'13476670746'
,
avatar
:
'http://wework.qpic.cn/bizmail/TzKjFfYqwUNTjchjy3lQW3u9HibSkzuicPdrkZWhP7p9KTSysersUWWA/0'
,
type
:
2
,
createdTime
:
'2021-09-18 14:27:35'
,
status
:
1
},
{
id
:
null
,
userid
:
'wmdMreDgAAvkJ7PZmeph-HYoSLmkMUFQ'
,
customerName
:
'爱就在一起'
,
customerPhone
:
'13476670746'
,
avatar
:
'http://wx.qlogo.cn/mmhead/A7sq8BD8oexpibZTkv1gC7uib0sOrUZuhfPgrK7aicuib4JqRDq1bed4kQ/0'
,
type
:
1
,
createdTime
:
'2021-08-31 14:51:06'
,
status
:
0
},
{
id
:
null
,
userid
:
'wodMreDgAAcjbEcZ4kycsCEeb0sGqDkA'
,
customerName
:
'李崇源'
,
customerPhone
:
'13476670746'
,
avatar
:
'https://wework.qpic.cn/wwhead/duc2TvpEgSQO4BpE0WZSZ8I5J6rakCVOgvErIPJwQaxPiaq5xiblVNTV8pMYcrcHjRPAvHhZQWxy8/0'
,
type
:
2
,
createdTime
:
'2021-08-24 09:39:05'
,
status
:
1
},
{
id
:
null
,
userid
:
'wmdMreDgAAY_3bc9griISYSmgyx_FuQw'
,
customerName
:
'王欣伟'
,
customerPhone
:
'13476670746'
,
avatar
:
'http://wx.qlogo.cn/mmhead/Q3auHgzwzM7CwgjO4zXia5tmwgfKRK1IXhialS5hiaVMt15SlniciaRRHDA/0'
,
type
:
1
,
createdTime
:
'2021-11-14 17:17:38'
,
status
:
2
},
{
id
:
null
,
userid
:
'wodMreDgAAJ4g8Q6XpoIcNFXtr_M42xA'
,
customerName
:
'曾琪aaaa啊啊啊啊啊啊啊啊aaaaaaaa嗷嗷嗷'
,
customerPhone
:
'13476670746'
,
avatar
:
'http://wework.qpic.cn/bizmail/TzKjFfYqwUNTjchjy3lQW3u9HibSkzuicPdrkZWhP7p9KTSysersUWWA/0'
,
type
:
2
,
createdTime
:
'2021-09-18 14:27:35'
,
status
:
1
},
{
id
:
null
,
userid
:
'wmdMreDgAAvkJ7PZmeph-HYoSLmkMUFQ'
,
customerName
:
'爱就在一起'
,
customerPhone
:
'13476670746'
,
avatar
:
'http://wx.qlogo.cn/mmhead/A7sq8BD8oexpibZTkv1gC7uib0sOrUZuhfPgrK7aicuib4JqRDq1bed4kQ/0'
,
type
:
1
,
createdTime
:
'2021-08-31 14:51:06'
,
status
:
0
},
{
id
:
null
,
userid
:
'wodMreDgAAcjbEcZ4kycsCEeb0sGqDkA'
,
customerName
:
'李崇源'
,
customerPhone
:
'13476670746'
,
avatar
:
'https://wework.qpic.cn/wwhead/duc2TvpEgSQO4BpE0WZSZ8I5J6rakCVOgvErIPJwQaxPiaq5xiblVNTV8pMYcrcHjRPAvHhZQWxy8/0'
,
type
:
2
,
createdTime
:
'2021-08-24 09:39:05'
,
status
:
1
},
{
id
:
null
,
userid
:
'wmdMreDgAAY_3bc9griISYSmgyx_FuQw'
,
customerName
:
'王欣伟'
,
customerPhone
:
'13476670746'
,
avatar
:
'http://wx.qlogo.cn/mmhead/Q3auHgzwzM7CwgjO4zXia5tmwgfKRK1IXhialS5hiaVMt15SlniciaRRHDA/0'
,
type
:
1
,
createdTime
:
'2021-11-14 17:17:38'
,
status
:
2
},
{
id
:
null
,
userid
:
'wodMreDgAAJ4g8Q6XpoIcNFXtr_M42xA'
,
customerName
:
'曾琪aaaa啊啊啊啊啊啊啊啊aaaaaaaa嗷嗷嗷'
,
customerPhone
:
'13476670746'
,
avatar
:
'http://wework.qpic.cn/bizmail/TzKjFfYqwUNTjchjy3lQW3u9HibSkzuicPdrkZWhP7p9KTSysersUWWA/0'
,
type
:
2
,
createdTime
:
'2021-09-18 14:27:35'
,
status
:
1
},
{
id
:
null
,
userid
:
'wmdMreDgAAvkJ7PZmeph-HYoSLmkMUFQ'
,
customerName
:
'爱就在一起'
,
customerPhone
:
'13476670746'
,
avatar
:
'http://wx.qlogo.cn/mmhead/A7sq8BD8oexpibZTkv1gC7uib0sOrUZuhfPgrK7aicuib4JqRDq1bed4kQ/0'
,
type
:
1
,
createdTime
:
'2021-08-31 14:51:06'
,
status
:
0
},
{
id
:
null
,
userid
:
'wodMreDgAAcjbEcZ4kycsCEeb0sGqDkA'
,
customerName
:
'李崇源'
,
customerPhone
:
'13476670746'
,
avatar
:
'https://wework.qpic.cn/wwhead/duc2TvpEgSQO4BpE0WZSZ8I5J6rakCVOgvErIPJwQaxPiaq5xiblVNTV8pMYcrcHjRPAvHhZQWxy8/0'
,
type
:
2
,
createdTime
:
'2021-08-24 09:39:05'
,
status
:
1
}
]
console
.
log
(
this
.
customerList
)
groupCustomer
.
getCustomerList
(
search
).
then
(
res
=>
{
console
.
log
(
res
)
if
(
res
.
code
==
0
)
{
this
.
customerList
=
res
.
data
}
})
}
}
}
}
}
}
...
@@ -71,6 +193,12 @@ export default {
...
@@ -71,6 +193,12 @@ export default {
height
:
auto
;
height
:
auto
;
padding
:
16px
16px
12px
16px
;
padding
:
16px
16px
12px
16px
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
.name
{
width
:
50px
;
overflow
:
hidden
;
white-space
:
nowrap
;
text-overflow
:
ellipsis
;
}
.tags
{
.tags
{
flex-wrap
:
wrap
;
flex-wrap
:
wrap
;
.tag
{
.tag
{
...
...
src/views/customerDetails/add.vue
View file @
46a2b9c
<
template
>
<
template
>
<div
:class=
"['container-add', `page-type-$
{tabIndex}`]">
<div
:class=
"['container-add', `page-type-$
{tabIndex}`]">
<tip
:title=
"title"
></tip>
<tip
:title=
"title"
></tip>
<template
v-if=
"
customerList
.length > 0"
>
<template
v-if=
"
data
.length > 0"
>
<div
class=
"customerList-add"
>
<div
class=
"customerList-add"
>
<scroll-view
class=
"content"
@
ReachBottom=
"onReachBottom"
ref=
"scrollView"
>
<scroll-view
class=
"content"
@
ReachBottom=
"onReachBottom"
ref=
"scrollView"
>
<div
class=
"customer-add"
v-for=
"(item, index) in
customerList
"
:key=
"index"
>
<div
class=
"customer-add"
v-for=
"(item, index) in
data
"
:key=
"index"
>
<div
class=
"customer-add-portrait"
v-if=
"tabIndex == 3"
>
<div
class=
"customer-add-portrait"
v-if=
"tabIndex == 3"
>
<img
:src=
"item.avatar"
/>
<img
:src=
"item.avatar"
/>
</div>
</div>
...
...
src/views/customerDetails/index.vue
View file @
46a2b9c
...
@@ -20,7 +20,130 @@ export default {
...
@@ -20,7 +20,130 @@ export default {
isTitle
:
false
,
//是否显示search组件
isTitle
:
false
,
//是否显示search组件
tabIndex
:
0
,
tabIndex
:
0
,
status
:
0
,
status
:
0
,
customerList
:
[]
taskId
:
this
.
$route
.
query
.
taskId
?
this
.
$route
.
query
.
taskId
:
''
,
customerList
:
[],
// customerList : [
// {
// id: null,
// userid: 'wmdMreDgAAY_3bc9griISYSmgyx_FuQw',
// customerName: '王欣伟',
// customerPhone: '13476670746',
// avatar: 'http://wx.qlogo.cn/mmhead/Q3auHgzwzM7CwgjO4zXia5tmwgfKRK1IXhialS5hiaVMt15SlniciaRRHDA/0',
// type: 1,
// createdTime: '2021-11-14 17:17:38',
// status: 2
// },
// {
// id: null,
// userid: 'wodMreDgAAJ4g8Q6XpoIcNFXtr_M42xA',
// customerName: '曾琪',
// customerPhone: '13476670746',
// avatar: 'http://wework.qpic.cn/bizmail/TzKjFfYqwUNTjchjy3lQW3u9HibSkzuicPdrkZWhP7p9KTSysersUWWA/0',
// type: 2,
// createdTime: '2021-09-18 14:27:35',
// status: 1
// },
// {
// id: null,
// userid: 'wmdMreDgAAvkJ7PZmeph-HYoSLmkMUFQ',
// customerName: '爱就在一起',
// customerPhone: '13476670746',
// avatar: 'http://wx.qlogo.cn/mmhead/A7sq8BD8oexpibZTkv1gC7uib0sOrUZuhfPgrK7aicuib4JqRDq1bed4kQ/0',
// type: 1,
// createdTime: '2021-08-31 14:51:06',
// status: 0
// },
// {
// id: null,
// userid: 'wodMreDgAAcjbEcZ4kycsCEeb0sGqDkA',
// customerName: '李崇源',
// customerPhone: '13476670746',
// avatar: 'https://wework.qpic.cn/wwhead/duc2TvpEgSQO4BpE0WZSZ8I5J6rakCVOgvErIPJwQaxPiaq5xiblVNTV8pMYcrcHjRPAvHhZQWxy8/0',
// type: 2,
// createdTime: '2021-08-24 09:39:05',
// status: 1
// },
// {
// id: null,
// userid: 'wmdMreDgAAY_3bc9griISYSmgyx_FuQw',
// customerName: '王欣伟',
// customerPhone: '13476670746',
// avatar: 'http://wx.qlogo.cn/mmhead/Q3auHgzwzM7CwgjO4zXia5tmwgfKRK1IXhialS5hiaVMt15SlniciaRRHDA/0',
// type: 1,
// createdTime: '2021-11-14 17:17:38',
// status: 2
// },
// {
// id: null,
// userid: 'wodMreDgAAJ4g8Q6XpoIcNFXtr_M42xA',
// customerName: '曾琪',
// customerPhone: '13476670746',
// avatar: 'http://wework.qpic.cn/bizmail/TzKjFfYqwUNTjchjy3lQW3u9HibSkzuicPdrkZWhP7p9KTSysersUWWA/0',
// type: 2,
// createdTime: '2021-09-18 14:27:35',
// status: 1
// },
// {
// id: null,
// userid: 'wmdMreDgAAvkJ7PZmeph-HYoSLmkMUFQ',
// customerName: '爱就在一起',
// customerPhone: '13476670746',
// avatar: 'http://wx.qlogo.cn/mmhead/A7sq8BD8oexpibZTkv1gC7uib0sOrUZuhfPgrK7aicuib4JqRDq1bed4kQ/0',
// type: 1,
// createdTime: '2021-08-31 14:51:06',
// status: 0
// },
// {
// id: null,
// userid: 'wodMreDgAAcjbEcZ4kycsCEeb0sGqDkA',
// customerName: '李崇源',
// customerPhone: '13476670746',
// avatar: 'https://wework.qpic.cn/wwhead/duc2TvpEgSQO4BpE0WZSZ8I5J6rakCVOgvErIPJwQaxPiaq5xiblVNTV8pMYcrcHjRPAvHhZQWxy8/0',
// type: 2,
// createdTime: '2021-08-24 09:39:05',
// status: 1
// },
// {
// id: null,
// userid: 'wmdMreDgAAY_3bc9griISYSmgyx_FuQw',
// customerName: '王欣伟',
// customerPhone: '13476670746',
// avatar: 'http://wx.qlogo.cn/mmhead/Q3auHgzwzM7CwgjO4zXia5tmwgfKRK1IXhialS5hiaVMt15SlniciaRRHDA/0',
// type: 1,
// createdTime: '2021-11-14 17:17:38',
// status: 2
// },
// {
// id: null,
// userid: 'wodMreDgAAJ4g8Q6XpoIcNFXtr_M42xA',
// customerName: '曾琪',
// customerPhone: '13476670746',
// avatar: 'http://wework.qpic.cn/bizmail/TzKjFfYqwUNTjchjy3lQW3u9HibSkzuicPdrkZWhP7p9KTSysersUWWA/0',
// type: 2,
// createdTime: '2021-09-18 14:27:35',
// status: 1
// },
// {
// id: null,
// userid: 'wmdMreDgAAvkJ7PZmeph-HYoSLmkMUFQ',
// customerName: '爱就在一起',
// customerPhone: '13476670746',
// avatar: 'http://wx.qlogo.cn/mmhead/A7sq8BD8oexpibZTkv1gC7uib0sOrUZuhfPgrK7aicuib4JqRDq1bed4kQ/0',
// type: 1,
// createdTime: '2021-08-31 14:51:06',
// status: 0
// },
// {
// id: null,
// userid: 'wodMreDgAAcjbEcZ4kycsCEeb0sGqDkA',
// customerName: '李崇源',
// customerPhone: '13476670746',
// avatar: 'https://wework.qpic.cn/wwhead/duc2TvpEgSQO4BpE0WZSZ8I5J6rakCVOgvErIPJwQaxPiaq5xiblVNTV8pMYcrcHjRPAvHhZQWxy8/0',
// type: 2,
// createdTime: '2021-08-24 09:39:05',
// status: 1
// }
// ],
}
}
},
},
components
:
{
components
:
{
...
@@ -34,135 +157,11 @@ export default {
...
@@ -34,135 +157,11 @@ export default {
// 消息盒子-好友列表
// 消息盒子-好友列表
init
()
{
init
()
{
let
search
=
{
let
search
=
{
taskId
:
'cb3b9128e620413c931601a6d439d365'
,
taskId
:
this
.
taskId
,
status
:
this
.
status
status
:
this
.
status
}
}
this
.
customerList
=
[
{
id
:
null
,
userid
:
'wmdMreDgAAY_3bc9griISYSmgyx_FuQw'
,
customerName
:
'王欣伟'
,
customerPhone
:
'13476670746'
,
avatar
:
'http://wx.qlogo.cn/mmhead/Q3auHgzwzM7CwgjO4zXia5tmwgfKRK1IXhialS5hiaVMt15SlniciaRRHDA/0'
,
type
:
1
,
createdTime
:
'2021-11-14 17:17:38'
,
status
:
2
},
{
id
:
null
,
userid
:
'wodMreDgAAJ4g8Q6XpoIcNFXtr_M42xA'
,
customerName
:
'曾琪aaaa啊啊啊啊啊啊啊啊aaaaaaaa嗷嗷嗷'
,
customerPhone
:
'13476670746'
,
avatar
:
'http://wework.qpic.cn/bizmail/TzKjFfYqwUNTjchjy3lQW3u9HibSkzuicPdrkZWhP7p9KTSysersUWWA/0'
,
type
:
2
,
createdTime
:
'2021-09-18 14:27:35'
,
status
:
1
},
{
id
:
null
,
userid
:
'wmdMreDgAAvkJ7PZmeph-HYoSLmkMUFQ'
,
customerName
:
'爱就在一起'
,
customerPhone
:
'13476670746'
,
avatar
:
'http://wx.qlogo.cn/mmhead/A7sq8BD8oexpibZTkv1gC7uib0sOrUZuhfPgrK7aicuib4JqRDq1bed4kQ/0'
,
type
:
1
,
createdTime
:
'2021-08-31 14:51:06'
,
status
:
0
},
{
id
:
null
,
userid
:
'wodMreDgAAcjbEcZ4kycsCEeb0sGqDkA'
,
customerName
:
'李崇源'
,
customerPhone
:
'13476670746'
,
avatar
:
'https://wework.qpic.cn/wwhead/duc2TvpEgSQO4BpE0WZSZ8I5J6rakCVOgvErIPJwQaxPiaq5xiblVNTV8pMYcrcHjRPAvHhZQWxy8/0'
,
type
:
2
,
createdTime
:
'2021-08-24 09:39:05'
,
status
:
1
},
{
id
:
null
,
userid
:
'wmdMreDgAAY_3bc9griISYSmgyx_FuQw'
,
customerName
:
'王欣伟'
,
customerPhone
:
'13476670746'
,
avatar
:
'http://wx.qlogo.cn/mmhead/Q3auHgzwzM7CwgjO4zXia5tmwgfKRK1IXhialS5hiaVMt15SlniciaRRHDA/0'
,
type
:
1
,
createdTime
:
'2021-11-14 17:17:38'
,
status
:
2
},
{
id
:
null
,
userid
:
'wodMreDgAAJ4g8Q6XpoIcNFXtr_M42xA'
,
customerName
:
'曾琪aaaa啊啊啊啊啊啊啊啊aaaaaaaa嗷嗷嗷'
,
customerPhone
:
'13476670746'
,
avatar
:
'http://wework.qpic.cn/bizmail/TzKjFfYqwUNTjchjy3lQW3u9HibSkzuicPdrkZWhP7p9KTSysersUWWA/0'
,
type
:
2
,
createdTime
:
'2021-09-18 14:27:35'
,
status
:
1
},
{
id
:
null
,
userid
:
'wmdMreDgAAvkJ7PZmeph-HYoSLmkMUFQ'
,
customerName
:
'爱就在一起'
,
customerPhone
:
'13476670746'
,
avatar
:
'http://wx.qlogo.cn/mmhead/A7sq8BD8oexpibZTkv1gC7uib0sOrUZuhfPgrK7aicuib4JqRDq1bed4kQ/0'
,
type
:
1
,
createdTime
:
'2021-08-31 14:51:06'
,
status
:
0
},
{
id
:
null
,
userid
:
'wodMreDgAAcjbEcZ4kycsCEeb0sGqDkA'
,
customerName
:
'李崇源'
,
customerPhone
:
'13476670746'
,
avatar
:
'https://wework.qpic.cn/wwhead/duc2TvpEgSQO4BpE0WZSZ8I5J6rakCVOgvErIPJwQaxPiaq5xiblVNTV8pMYcrcHjRPAvHhZQWxy8/0'
,
type
:
2
,
createdTime
:
'2021-08-24 09:39:05'
,
status
:
1
},
{
id
:
null
,
userid
:
'wmdMreDgAAY_3bc9griISYSmgyx_FuQw'
,
customerName
:
'王欣伟'
,
customerPhone
:
'13476670746'
,
avatar
:
'http://wx.qlogo.cn/mmhead/Q3auHgzwzM7CwgjO4zXia5tmwgfKRK1IXhialS5hiaVMt15SlniciaRRHDA/0'
,
type
:
1
,
createdTime
:
'2021-11-14 17:17:38'
,
status
:
2
},
{
id
:
null
,
userid
:
'wodMreDgAAJ4g8Q6XpoIcNFXtr_M42xA'
,
customerName
:
'曾琪aaaa啊啊啊啊啊啊啊啊aaaaaaaa嗷嗷嗷'
,
customerPhone
:
'13476670746'
,
avatar
:
'http://wework.qpic.cn/bizmail/TzKjFfYqwUNTjchjy3lQW3u9HibSkzuicPdrkZWhP7p9KTSysersUWWA/0'
,
type
:
2
,
createdTime
:
'2021-09-18 14:27:35'
,
status
:
1
},
{
id
:
null
,
userid
:
'wmdMreDgAAvkJ7PZmeph-HYoSLmkMUFQ'
,
customerName
:
'爱就在一起'
,
customerPhone
:
'13476670746'
,
avatar
:
'http://wx.qlogo.cn/mmhead/A7sq8BD8oexpibZTkv1gC7uib0sOrUZuhfPgrK7aicuib4JqRDq1bed4kQ/0'
,
type
:
1
,
createdTime
:
'2021-08-31 14:51:06'
,
status
:
0
},
{
id
:
null
,
userid
:
'wodMreDgAAcjbEcZ4kycsCEeb0sGqDkA'
,
customerName
:
'李崇源'
,
customerPhone
:
'13476670746'
,
avatar
:
'https://wework.qpic.cn/wwhead/duc2TvpEgSQO4BpE0WZSZ8I5J6rakCVOgvErIPJwQaxPiaq5xiblVNTV8pMYcrcHjRPAvHhZQWxy8/0'
,
type
:
2
,
createdTime
:
'2021-08-24 09:39:05'
,
status
:
1
},
]
console
.
log
(
this
.
customerList
)
groupCustomer
.
getCustomerList
(
search
).
then
(
res
=>
{
groupCustomer
.
getCustomerList
(
search
).
then
(
res
=>
{
console
.
log
(
res
)
console
.
log
(
res
)
if
(
res
.
code
==
0
)
{
if
(
res
.
code
==
0
)
{
this
.
customerList
=
res
.
data
this
.
customerList
=
res
.
data
}
}
...
...
src/views/tag/index.vue
View file @
46a2b9c
This diff is collapsed.
Click to expand it.
src/views/tag/make.vue
View file @
46a2b9c
...
@@ -75,7 +75,7 @@ export default {
...
@@ -75,7 +75,7 @@ export default {
}
}
],
],
checkAll
:
[],
checkAll
:
[],
tagShow
:
tru
e
tagShow
:
fals
e
}
}
},
},
created
()
{
created
()
{
...
...
vue.config.js
View file @
46a2b9c
...
@@ -2,7 +2,6 @@
...
@@ -2,7 +2,6 @@
const
path
=
require
(
'path'
)
const
path
=
require
(
'path'
)
const
defaultSettings
=
require
(
'./src/config/conf.js'
)
const
defaultSettings
=
require
(
'./src/config/conf.js'
)
const
BundleAnalyzerPlugin
=
require
(
'webpack-bundle-analyzer'
).
BundleAnalyzerPlugin
const
BundleAnalyzerPlugin
=
require
(
'webpack-bundle-analyzer'
).
BundleAnalyzerPlugin
const
resolve
=
dir
=>
path
.
join
(
__dirname
,
dir
)
const
resolve
=
dir
=>
path
.
join
(
__dirname
,
dir
)
// page title
// page title
const
name
=
defaultSettings
.
title
||
'vue mobile template'
const
name
=
defaultSettings
.
title
||
'vue mobile template'
...
@@ -51,7 +50,6 @@ const spritesmithFunction = data => {
...
@@ -51,7 +50,6 @@ const spritesmithFunction = data => {
module
.
exports
=
{
module
.
exports
=
{
publicPath
:
IS_PROD
?
'./'
:
'/dj-scrm-wx-group-chat/'
,
publicPath
:
IS_PROD
?
'./'
:
'/dj-scrm-wx-group-chat/'
,
// publicPath: IS_PROD ? './' : '/dj-scrm-wx-work-main/', // 署应用包时的基本 URL。 vue-router hash 模式使用
// publicPath: IS_PROD ? './' : '/dj-scrm-wx-work-main/', // 署应用包时的基本 URL。 vue-router hash 模式使用
// publicPath: IS_PROD ? './' : '/dj-scrm-wx-work-attachment-customer/', // 署应用包时的基本 URL。 vue-router hash 模式使用
// publicPath: IS_PROD ? './' : '/dj-scrm-wx-work-attachment-customer/', // 署应用包时的基本 URL。 vue-router hash 模式使用
// publicPath: '/dj-scrm-wx-work-attachment-customer/', // 署应用包时的基本 URL。 vue-router history模式使用
// publicPath: '/dj-scrm-wx-work-attachment-customer/', // 署应用包时的基本 URL。 vue-router history模式使用
outputDir
:
'dist'
,
// 生产环境构建文件的目录
outputDir
:
'dist'
,
// 生产环境构建文件的目录
...
@@ -134,11 +132,9 @@ module.exports = {
...
@@ -134,11 +132,9 @@ module.exports = {
// config.externals = externals
// config.externals = externals
// }
// }
},
},
chainWebpack
:
config
=>
{
chainWebpack
:
config
=>
{
config
.
plugins
.
delete
(
'preload'
)
// TODO: need test
config
.
plugins
.
delete
(
'preload'
)
// TODO: need test
config
.
plugins
.
delete
(
'prefetch'
)
// TODO: need test
config
.
plugins
.
delete
(
'prefetch'
)
// TODO: need test
// 别名 alias
// 别名 alias
config
.
resolve
.
alias
config
.
resolve
.
alias
.
set
(
'@'
,
resolve
(
'src'
))
.
set
(
'@'
,
resolve
(
'src'
))
...
@@ -148,7 +144,6 @@ module.exports = {
...
@@ -148,7 +144,6 @@ module.exports = {
.
set
(
'components'
,
resolve
(
'src/components'
))
.
set
(
'components'
,
resolve
(
'src/components'
))
.
set
(
'plugins'
,
resolve
(
'src/components'
))
.
set
(
'plugins'
,
resolve
(
'src/components'
))
.
set
(
'utils'
,
resolve
(
'src/utils'
))
.
set
(
'utils'
,
resolve
(
'src/utils'
))
/**
/**
* 添加CDN参数到htmlWebpackPlugin配置中
* 添加CDN参数到htmlWebpackPlugin配置中
*/
*/
...
@@ -160,7 +155,6 @@ module.exports = {
...
@@ -160,7 +155,6 @@ module.exports = {
// }
// }
// return args
// return args
// })
// })
/**
/**
* 设置保留空格
* 设置保留空格
*/
*/
...
@@ -184,7 +178,6 @@ module.exports = {
...
@@ -184,7 +178,6 @@ module.exports = {
config
config
// https://webpack.js.org/configuration/devtool/#development
// https://webpack.js.org/configuration/devtool/#development
.
when
(
!
IS_PROD
,
config
=>
config
.
devtool
(
'cheap-source-map'
))
.
when
(
!
IS_PROD
,
config
=>
config
.
devtool
(
'cheap-source-map'
))
config
.
when
(
IS_PROD
,
config
=>
{
config
.
when
(
IS_PROD
,
config
=>
{
config
config
.
plugin
(
'ScriptExtHtmlWebpackPlugin'
)
.
plugin
(
'ScriptExtHtmlWebpackPlugin'
)
...
...
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