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 4575644a
authored
Mar 21, 2023
by
xinla
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
--no commit message
1 parent
9e4eb267
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
119 additions
and
120 deletions
linkwe-pc/src/styles/common.css
linkwe-pc/src/views/communityOperating/keywords/aev.vue
linkwe-pc/src/views/communityOperating/newCustomer/aev.vue
linkwe-pc/src/views/communityOperating/oldCustomer/aev.vue
linkwe-pc/src/views/customerManage/customerDetail.vue
linkwe-pc/src/views/drainageCode/highSeas/add.vue
linkwe-pc/src/views/drainageCode/store/list.vue
linkwe-pc/src/styles/common.css
View file @
4575644
...
@@ -61,8 +61,8 @@ li {
...
@@ -61,8 +61,8 @@ li {
.flex
{
.flex
{
display
:
flex
;
display
:
flex
;
}
}
.f
lex1
{
.f
xat
{
flex
:
1
;
flex
:
auto
;
}
}
.fxbw
{
.fxbw
{
display
:
flex
;
display
:
flex
;
...
...
linkwe-pc/src/views/communityOperating/keywords/aev.vue
View file @
4575644
<
template
>
<
template
>
<div
class=
"flex"
v-loading=
"loading"
>
<div
class=
"flex"
v-loading=
"loading"
>
<el-form
:model=
"form"
ref=
"form"
:rules=
"rules"
label-width=
"100px"
class=
"g-card f
lex1
mr20"
>
<el-form
:model=
"form"
ref=
"form"
:rules=
"rules"
label-width=
"100px"
class=
"g-card f
xat
mr20"
>
<el-form-item
label=
"活码名称"
prop=
"taskName"
>
<el-form-item
label=
"活码名称"
prop=
"taskName"
>
<el-input
v-model=
"form.taskName"
maxlength=
"30"
show-word-limit
placeholder=
"请输入名称"
clearable
/>
<el-input
v-model=
"form.taskName"
maxlength=
"30"
show-word-limit
placeholder=
"请输入名称"
clearable
/>
</el-form-item>
</el-form-item>
...
...
linkwe-pc/src/views/communityOperating/newCustomer/aev.vue
View file @
4575644
...
@@ -150,7 +150,7 @@ export default {
...
@@ -150,7 +150,7 @@ export default {
<
template
>
<
template
>
<div
class=
"flex"
v-loading=
"loading"
>
<div
class=
"flex"
v-loading=
"loading"
>
<el-form
:model=
"form"
ref=
"form"
:rules=
"rules"
label-width=
"100px"
class=
"g-card f
lex1
mr20"
>
<el-form
:model=
"form"
ref=
"form"
:rules=
"rules"
label-width=
"100px"
class=
"g-card f
xat
mr20"
>
<el-form-item
label=
"活码名称"
prop=
"codeName"
>
<el-form-item
label=
"活码名称"
prop=
"codeName"
>
<el-input
v-model=
"form.codeName"
maxlength=
"30"
show-word-limit
placeholder=
"请输入"
clearable
></el-input>
<el-input
v-model=
"form.codeName"
maxlength=
"30"
show-word-limit
placeholder=
"请输入"
clearable
></el-input>
</el-form-item>
</el-form-item>
...
...
linkwe-pc/src/views/communityOperating/oldCustomer/aev.vue
View file @
4575644
<
template
>
<
template
>
<div
class=
"flex"
v-loading=
"loading"
>
<div
class=
"flex"
v-loading=
"loading"
>
<el-form
:model=
"form"
ref=
"form"
:rules=
"rules"
label-width=
"100px"
class=
"g-card f
lex1
mr20"
>
<el-form
:model=
"form"
ref=
"form"
:rules=
"rules"
label-width=
"100px"
class=
"g-card f
xat
mr20"
>
<el-form-item
label=
"任务名称"
prop=
"taskName"
>
<el-form-item
label=
"任务名称"
prop=
"taskName"
>
<el-input
<el-input
type=
"textarea"
type=
"textarea"
...
...
linkwe-pc/src/views/customerManage/customerDetail.vue
View file @
4575644
<
script
>
<
script
>
import
{
updateBirthday
,
getDetail
,
getSummary
,
getFollowUpRecord
,
getCustomerInfoByUserId
}
from
'@/api/customer'
import
{
updateBirthday
,
getDetail
,
getSummary
,
getFollowUpRecord
,
getCustomerInfoByUserId
}
from
'@/api/customer'
import
{
getList
}
from
'@/api/salesCenter/businessConver.js'
import
{
getList
}
from
'@/api/salesCenter/businessConver.js'
import
{
dictAddType
,
dictJoinGroupType
,
dictTrackState
}
from
'@/utils/dictionary'
import
{
dictAddType
,
dictJoinGroupType
,
dictTrackState
}
from
'@/utils/dictionary'
import
InfoTab
from
'./customer/infoTab.vue'
import
InfoTab
from
'./customer/infoTab.vue'
export
default
{
export
default
{
name
:
'CustomerDetail'
,
name
:
'CustomerDetail'
,
components
:
{
InfoTab
},
components
:
{
InfoTab
},
data
()
{
data
()
{
return
{
return
{
datePickerVisible
:
false
,
datePickerVisible
:
false
,
customer
:
{
customer
:
{
// weFlowerCustomerRels: [{}]
// weFlowerCustomerRels: [{}]
},
},
birthday
:
''
,
birthday
:
''
,
pickerOptions
:
{
pickerOptions
:
{
disabledDate
(
time
)
{
disabledDate
(
time
)
{
return
time
.
getTime
()
>
Date
.
now
()
return
time
.
getTime
()
>
Date
.
now
()
}
},
},
dictAddType
,
},
dictJoinGroupType
,
dictAddType
,
dictTrackState
,
dictJoinGroupType
,
dictTrackState
,
active
:
0
,
active
:
0
,
openedTabs
:
[
'0'
]
openedTabs
:
[
'0'
],
}
}
},
created
()
{
this
.
getDetail
()
this
.
getStage
()
},
methods
:
{
getStage
()
{
getList
().
then
((
res
)
=>
{
this
.
stageList
=
res
.
data
})
},
},
created
()
{
setValue
(
data
)
{
this
.
getDetail
()
let
str
=
''
this
.
getStage
()
this
.
stageList
.
forEach
((
dd
)
=>
{
if
(
dd
.
stageVal
==
data
)
{
str
=
dd
.
stageKey
}
})
return
str
},
},
methods
:
{
// updateBirthday() {
getStage
()
{
// if (!this.birthday || this.birthday == this.customer.birthday) {
getList
().
then
((
res
)
=>
{
// return
this
.
stageList
=
res
.
data
// }
})
// let data = {
},
// externalUserid: this.customer.externalUserid,
setValue
(
data
)
{
// birthday: this.birthday,
let
str
=
''
// firstUserId: this.customer.firstUserId
this
.
stageList
.
forEach
((
dd
)
=>
{
// }
if
(
dd
.
stageVal
==
data
)
{
// updateBirthday(data).then((response) => {
str
=
dd
.
stageKey
// this.msgSuccess('操作成功')
}
// // this.getDetail()
})
// this.$set(this.customer, 'birthday', this.birthday)
return
str
// // this.datePickerVisible = false
},
// })
// updateBirthday() {
// },
// if (!this.birthday || this.birthday == this.customer.birthday) {
/**
// return
*客户详情基础(基础信息+社交关系)
// }
* @param {*}
// let data = {
* externalUserid 是 当前客户id
// externalUserid: this.customer.externalUserid,
* userId 是 当前跟进人id
// birthday: this.birthday,
*/
// firstUserId: this.customer.firstUserId
getDetail
()
{
// }
getDetail
({
...
this
.
$route
.
query
,
delFlag
:
this
.
$route
.
query
.
isDelete
?
1
:
0
}).
then
(({
data
})
=>
{
// updateBirthday(data).then((response) => {
data
.
companyTags
&&
(
data
.
companyTags
=
data
.
companyTags
.
split
(
','
))
// this.msgSuccess('操作成功')
this
.
customer
=
data
// // this.getDetail()
// this.$set(this.customer, 'birthday', this.birthday)
// // this.datePickerVisible = false
// })
// },
/**
*客户详情基础(基础信息+社交关系)
* @param {*}
* externalUserid 是 当前客户id
* userId 是 当前跟进人id
*/
getDetail
()
{
getDetail
({
...
this
.
$route
.
query
,
delFlag
:
this
.
$route
.
query
.
isDelete
?
1
:
0
}).
then
(({
data
})
=>
{
data
.
companyTags
&&
(
data
.
companyTags
=
data
.
companyTags
.
split
(
','
))
this
.
customer
=
data
if
(
data
.
trackUsers
&&
data
.
trackUsers
.
length
===
1
)
{
if
(
data
.
trackUsers
&&
data
.
trackUsers
.
length
===
1
)
{
this
.
openedTabs
=
[
data
.
trackUsers
[
0
].
trackUserId
]
this
.
openedTabs
=
[
data
.
trackUsers
[
0
].
trackUserId
]
}
}
this
.
birthday
=
data
.
birthday
this
.
birthday
=
data
.
birthday
})
})
},
},
changeTab
(
tab
)
{
changeTab
(
tab
)
{
this
.
openedTabs
.
includes
(
tab
.
$attrs
.
id
)
||
this
.
openedTabs
.
push
(
tab
.
$attrs
.
id
)
this
.
openedTabs
.
includes
(
tab
.
$attrs
.
id
)
||
this
.
openedTabs
.
push
(
tab
.
$attrs
.
id
)
}
},
// remark(item) {
// remark(item) {
// return (
// return (
// item.remark ||
// item.remark ||
// this.customer.customerName + (item.remarkCorpName ? '-' + item.remarkCorpName : '')
// this.customer.customerName + (item.remarkCorpName ? '-' + item.remarkCorpName : '')
// )
// )
// }
// }
}
},
}
}
</
script
>
</
script
>
<
template
>
<
template
>
...
@@ -166,13 +166,11 @@
...
@@ -166,13 +166,11 @@
v
-
for
=
"(item, index) of customer.trackUsers"
v
-
for
=
"(item, index) of customer.trackUsers"
:
key
=
"index"
:
key
=
"index"
:
label
=
"item.userName"
:
label
=
"item.userName"
:
id
=
"item.trackUserId"
:
id
=
"item.trackUserId"
>
>
<
info
-
tab
<
info
-
tab
v
-
if
=
"openedTabs.includes(item.trackUserId)"
v
-
if
=
"openedTabs.includes(item.trackUserId)"
:
stageList
=
"stageList"
:
stageList
=
"stageList"
:
userId
=
"item.trackUserId"
:
userId
=
"item.trackUserId"
><
/info-tab
>
><
/info-tab
>
<
/el-tab-pane
>
<
/el-tab-pane
>
<
/el-tabs
>
<
/el-tabs
>
<
/div
>
<
/div
>
...
@@ -180,31 +178,32 @@
...
@@ -180,31 +178,32 @@
<
/template
>
<
/template
>
<
style
lang
=
"scss"
scoped
>
<
style
lang
=
"scss"
scoped
>
.
avatar
{
.
avatar
{
width
:
80
px
;
width
:
80
px
;
height
:
80
px
;
height
:
80
px
;
border
-
radius
:
var
(
--
border
-
radius
-
big
);
border
-
radius
:
var
(
--
border
-
radius
-
big
);
}
flex
:
none
;
.
info
-
wrap
{
}
margin
-
left
:
20
px
;
.
info
-
wrap
{
.
info
{
margin
-
left
:
20
px
;
color
:
#
aaa
;
.
info
{
line
-
height
:
32
px
;
color
:
#
aaa
;
}
line
-
height
:
32
px
;
}
}
}
.
el
-
icon
-
s
-
custom
{
.
el
-
icon
-
s
-
custom
{
font
-
size
:
16
px
;
font
-
size
:
16
px
;
margin
-
left
:
4
px
;
margin
-
left
:
4
px
;
color
:
#
999
;
color
:
#
999
;
&
.
man
{
&
.
man
{
color
:
#
13
a2e8
;
color
:
#
13
a2e8
;
}
&
.
woman
{
color
:
#
f753b2
;
}
}
}
.
g
-
card
-
title
{
&
.
woman
{
margin
-
bottom
:
5
px
;
color
:
#
f753b2
;
}
}
}
.
g
-
card
-
title
{
margin
-
bottom
:
5
px
;
}
<
/style
>
<
/style
>
linkwe-pc/src/views/drainageCode/highSeas/add.vue
View file @
4575644
...
@@ -120,7 +120,7 @@ export default {
...
@@ -120,7 +120,7 @@ export default {
</
script
>
</
script
>
<
template
>
<
template
>
<div
class=
"flex"
v-loading=
"loading"
>
<div
class=
"flex"
v-loading=
"loading"
>
<el-form
:model=
"form"
ref=
"form"
label-width=
"100px"
class=
"g-card f
lex1
mr20"
>
<el-form
:model=
"form"
ref=
"form"
label-width=
"100px"
class=
"g-card f
xat
mr20"
>
<el-form-item
label=
"类型"
prop=
"codeType"
>
<el-form-item
label=
"类型"
prop=
"codeType"
>
<el-radio-group
v-model=
"form.codeType"
@
change=
"codeTypeChange"
>
<el-radio-group
v-model=
"form.codeType"
@
change=
"codeTypeChange"
>
<el-radio
v-for=
"(value, key, index) in type"
:key=
"index"
:label=
"+key"
>
{{
value
}}
</el-radio>
<el-radio
v-for=
"(value, key, index) in type"
:key=
"index"
:label=
"+key"
>
{{
value
}}
</el-radio>
...
...
linkwe-pc/src/views/drainageCode/store/list.vue
View file @
4575644
<
template
>
<
template
>
<div>
<div>
<div
class=
"tab flex"
>
<div
class=
"tab flex"
>
<div
class=
"g-card mr20 f
lex1
"
>
<div
class=
"g-card mr20 f
xat
"
>
<div
class=
"g-card-title"
>
<div
class=
"g-card-title"
>
门店导购码
门店导购码
<span
class=
"desc mr10"
>
根据客户最近位置,引导添加最近门店的导购
</span>
<span
class=
"desc mr10"
>
根据客户最近位置,引导添加最近门店的导购
</span>
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"g-card mt0 f
lex1
"
>
<div
class=
"g-card mt0 f
xat
"
>
<div
class=
"g-card-title"
>
<div
class=
"g-card-title"
>
门店群活码
门店群活码
<span
class=
"desc mr10"
>
根据客户最近位置,引导添加最近门店的客户群
</span>
<span
class=
"desc mr10"
>
根据客户最近位置,引导添加最近门店的客户群
</span>
...
...
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