Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
lanbaoming
jiedao-app-operator-master
Commits
8573c2bd
Commit
8573c2bd
authored
Dec 20, 2022
by
houjn@hikoon.cn
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://gitlab.jdshangmen.com/jiedao-app/jiedao-app-operator
parents
bcc6308a
be0bbc01
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
10 deletions
+18
-10
editIndirect.vue
src/views/ecw/customer/editIndirect.vue
+4
-2
indirectInfo.vue
src/views/ecw/customer/indirectInfo.vue
+14
-8
No files found.
src/views/ecw/customer/editIndirect.vue
View file @
8573c2bd
...
...
@@ -450,6 +450,7 @@ export default {
this
.
customerId
=
this
.
$route
.
query
.
id
this
.
getCustomer
(
this
.
customerId
).
then
(()
=>
{
getCustomerContactsListByCustomer
({
customerId
:
this
.
customerId
}).
then
(
r
=>
{
if
(
r
.
data
&&
r
.
data
.
length
>
0
){
this
.
form
.
customerContacts
=
r
.
data
let
list
=
this
.
form
.
customerContacts
.
map
(
item
=>
item
.
userid
);
if
(
list
.
length
>
0
){
...
...
@@ -457,6 +458,7 @@ export default {
this
.
selectMemberList
=
r
.
data
})
}
}
if
(
this
.
form
.
promoter
){
getCustomerList
({
ids
:
this
.
form
.
promoter
}).
then
(
r
=>
{
this
.
recommended
=
r
.
data
;
...
...
@@ -531,9 +533,9 @@ export default {
type
:
[{
required
:
true
,
message
:
this
.
$t
(
'
客户类别不能为空
'
),
trigger
:
"
blur
"
}],
createTime
:
[{
required
:
true
,
message
:
this
.
$t
(
'
创建时间不能为空
'
),
trigger
:
"
blur
"
}],
source
:
[{
required
:
true
,
message
:
this
.
$t
(
'
客户来源不能为空
'
),
trigger
:
"
blur
"
}],
customerService
:
[{
required
:
true
,
message
:
this
.
$t
(
'
客户经理不能为空
'
),
trigger
:
"
blur
"
}],
//
customerService: [{ required: true, message: this.$t('客户经理不能为空'), trigger: "blur" }],
status
:
[{
required
:
true
,
message
:
this
.
$t
(
'
客户状态不能为空
'
),
trigger
:
"
blur
"
}],
founder
:
[{
required
:
true
,
message
:
this
.
$t
(
'
创建人不能为空
'
),
trigger
:
"
blur
"
}],
//
founder: [{ required: true, message: this.$t('创建人不能为空'), trigger: "blur" }],
},
...
...
src/views/ecw/customer/indirectInfo.vue
View file @
8573c2bd
...
...
@@ -5,11 +5,11 @@
<div
style=
"display: flex;justify-content: space-between;align-items: flex-end;"
>
<h2>
{{
$t
(
'
查看
'
)
}}
</h2>
<div>
<el-button
type=
"primary"
size=
"small"
@
click=
"$router.push('/customer/edit
/
' + id)"
>
{{
$t
(
'
编辑
'
)
}}
</el-button>
<el-button
type=
"primary"
size=
"small"
@
click=
"$router.push('/customer/edit
Indirect?id=
' + id)"
>
{{
$t
(
'
编辑
'
)
}}
</el-button>
<!--
<el-button
@
click=
"$router.push('/offer/create')"
type=
"primary"
size=
"small"
>
{{
$t
(
'
报价
'
)
}}
</el-button>
<el-button
type=
"primary"
size=
"small"
@
click=
"$refs['customerFollow'].customerFollow.dialogVisible = true"
>
{{
$t
(
'
跟进
'
)
}}
</el-button>
<el-button
type=
"primary"
size=
"small"
@
click=
"$refs['customerComplaint'].handleAdd()"
>
{{
$t
(
'
客诉
'
)
}}
</el-button>
-->
<el-button
type=
"danger"
size=
"small"
>
{{
$t
(
'
删除
'
)
}}
</el-button>
<el-button
type=
"danger"
@
click=
"delCustomer"
size=
"small"
>
{{
$t
(
'
删除
'
)
}}
</el-button>
</div>
</div>
<el-card
style=
"margin-top: 15px;"
>
...
...
@@ -441,15 +441,18 @@ export default {
this
.
customer
=
{
...
this
.
customer
,
...
response
.
data
}
console
.
log
(
this
.
id
)
getCustomerContactsListByCustomer
({
customerId
:
this
.
id
}
).
then
(
r
=>
{
this
.
customerContacts
=
r
.
data
let
list
=
this
.
customerContacts
.
map
(
r
=>
r
.
userid
)
memberUserList
({
ids
:
list
.
join
(
'
,
'
)
}
).
then
(
r
=>
{
this
.
memberList
=
r
.
data
}
)
if
(
r
.
data
&&
r
.
data
.
length
>
0
){
this
.
customerContacts
=
r
.
data
let
list
=
this
.
customerContacts
.
map
(
r
=>
r
.
userid
)
memberUserList
({
ids
:
list
.
join
(
'
,
'
)
}
).
then
(
r
=>
{
this
.
memberList
=
r
.
data
}
)
}
}
)
getCountry
(
this
.
customer
.
country
?
this
.
customer
.
country
:
0
).
then
(
r
=>
{
this
.
country
=
r
.
data
.
nameZh
this
.
country
=
r
.
data
?
r
.
data
.
nameZh
:
''
}
)
}
)
getProductTypeList
().
then
(
r
=>
{
...
...
@@ -614,6 +617,9 @@ export default {
}
else
{
return
''
}
}
,
delCustomer
(){
}
,
changeDate
(
val
){
if
(
val
){
...
...
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