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
e449a2ed
Commit
e449a2ed
authored
Dec 01, 2022
by
dcy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新建客户分配为其他的客户经理,创建后,客户经理仍然为创建账号 bug修复
parent
a98e369f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
8 deletions
+11
-8
edit.vue
src/views/ecw/customer/edit.vue
+8
-7
query.vue
src/views/ecw/customer/query.vue
+3
-1
No files found.
src/views/ecw/customer/edit.vue
View file @
e449a2ed
...
@@ -492,7 +492,6 @@ export default {
...
@@ -492,7 +492,6 @@ export default {
// 新建客户
// 新建客户
this
.
handleAddContact
()
this
.
handleAddContact
()
if
(
this
.
isCustomerServiceConfirmed
){
if
(
this
.
isCustomerServiceConfirmed
){
console
.
log
(
this
.
userId
);
this
.
form
.
customerService
=
this
.
userId
this
.
form
.
customerService
=
this
.
userId
}
}
}
}
...
@@ -512,7 +511,7 @@ export default {
...
@@ -512,7 +511,7 @@ export default {
getWarehouseList
().
then
(
r
=>
{
getWarehouseList
().
then
(
r
=>
{
this
.
warehouseList
=
r
.
data
this
.
warehouseList
=
r
.
data
})
})
listS
impleUsers
().
then
(
r
=>
{
listS
erviceUser
().
then
(
r
=>
{
this
.
serviceUserList
=
r
.
data
this
.
serviceUserList
=
r
.
data
})
})
getCountryListAll
().
then
(
r
=>
{
getCountryListAll
().
then
(
r
=>
{
...
@@ -700,7 +699,9 @@ export default {
...
@@ -700,7 +699,9 @@ export default {
}
}
// 添加的提交
// 添加的提交
//我的客户页面跳转直接
//我的客户页面跳转直接
form
.
isCustomerServiceConfirmed
=
true
;
if
(
this
.
isCustomerServiceConfirmed
){
form
.
isCustomerServiceConfirmed
=
this
.
isCustomerServiceConfirmed
;
}
createCustomer
(
form
).
then
(
response
=>
{
createCustomer
(
form
).
then
(
response
=>
{
this
.
$modal
.
msgSuccess
(
this
.
$t
(
'
新增成功
'
));
this
.
$modal
.
msgSuccess
(
this
.
$t
(
'
新增成功
'
));
this
.
open
=
false
;
this
.
open
=
false
;
...
...
src/views/ecw/customer/query.vue
View file @
e449a2ed
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
<
el
-
descriptions
-
item
:
label
=
"
$t('客户类别')
"
>
{{
getDictDatas2
(
DICT_TYPE
.
CUSTOMER_TYPE
,
(
customer
.
type
||
''
).
split
(
'
,
'
)).
map
(
e
=>
e
.
label
).
join
(
'
,
'
)
}}
<
/el-descriptions-item
>
<
el
-
descriptions
-
item
:
label
=
"
$t('客户类别')
"
>
{{
getDictDatas2
(
DICT_TYPE
.
CUSTOMER_TYPE
,
(
customer
.
type
||
''
).
split
(
'
,
'
)).
map
(
e
=>
e
.
label
).
join
(
'
,
'
)
}}
<
/el-descriptions-item
>
<!--
<
el
-
descriptions
-
item
:
label
=
"
$t('联系方式')
"
>
{{
customer
}}
<
/el-descriptions-item>--
>
<!--
<
el
-
descriptions
-
item
:
label
=
"
$t('联系方式')
"
>
{{
customer
}}
<
/el-descriptions-item>--
>
<
el
-
descriptions
-
item
:
label
=
"
$t('推介人')
"
>
{{
promoter
}}
<
/el-descriptions-item
>
<
el
-
descriptions
-
item
:
label
=
"
$t('推介人')
"
>
{{
promoter
}}
<
/el-descriptions-item
>
<
el
-
descriptions
-
item
:
label
=
"
$t('客户经理')
"
>
{{
customerService
}}
<
/el-descriptions-item
>
<
el
-
descriptions
-
item
:
label
=
"
$t('客户经理')
"
>
{{
customerService
}}
<
/el-descriptions-item
>
<
el
-
descriptions
-
item
:
label
=
"
$t('公司名称')
"
>
{{
customer
.
company
}}
<
/el-descriptions-item
>
<
el
-
descriptions
-
item
:
label
=
"
$t('公司名称')
"
>
{{
customer
.
company
}}
<
/el-descriptions-item
>
<
el
-
descriptions
-
item
:
label
=
"
$t('联系地址')
"
>
{{
customer
.
address
}}
<
/el-descriptions-item
>
<
el
-
descriptions
-
item
:
label
=
"
$t('联系地址')
"
>
{{
customer
.
address
}}
<
/el-descriptions-item
>
<
el
-
descriptions
-
item
:
label
=
"
$t('创建时间')
"
>
{{
parseTime
(
customer
.
createTime
)
}}
<
/el-descriptions-item
>
<
el
-
descriptions
-
item
:
label
=
"
$t('创建时间')
"
>
{{
parseTime
(
customer
.
createTime
)
}}
<
/el-descriptions-item
>
...
@@ -469,6 +469,7 @@ export default {
...
@@ -469,6 +469,7 @@ export default {
getCustomerSelect
().
then
(
r
=>
{
getCustomerSelect
().
then
(
r
=>
{
this
.
customerSelect
=
r
.
data
.
list
this
.
customerSelect
=
r
.
data
.
list
}
)
}
)
listServiceUser
().
then
(
r
=>
{
listServiceUser
().
then
(
r
=>
{
this
.
serviceUserList
=
r
.
data
this
.
serviceUserList
=
r
.
data
}
)
}
)
...
@@ -601,6 +602,7 @@ export default {
...
@@ -601,6 +602,7 @@ export default {
return
this
.
customerSelect
.
find
(
e
=>
e
.
id
===
this
.
customer
.
promoter
)?.
name
||
''
return
this
.
customerSelect
.
find
(
e
=>
e
.
id
===
this
.
customer
.
promoter
)?.
name
||
''
}
,
}
,
customerService
()
{
customerService
()
{
console
.
log
(
this
.
serviceUserList
,
'
this.serviceUserList
'
);
return
this
.
serviceUserList
.
find
(
e
=>
e
.
id
===
this
.
customer
.
customerService
)?.
nickname
||
''
return
this
.
serviceUserList
.
find
(
e
=>
e
.
id
===
this
.
customer
.
customerService
)?.
nickname
||
''
}
,
}
,
id
()
{
id
()
{
...
...
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