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
f631b513
Commit
f631b513
authored
Jun 23, 2022
by
黄卓
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
客户字段id转义翻译
parent
ee8b6e4e
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
25 additions
and
6 deletions
+25
-6
index.vue
src/components/CustomerFollow/index.vue
+5
-1
edit.vue
src/views/ecw/customer/edit.vue
+1
-1
query.vue
src/views/ecw/customer/query.vue
+18
-3
index.vue
src/views/ecw/customerComplaint/index.vue
+1
-1
No files found.
src/components/CustomerFollow/index.vue
View file @
f631b513
...
...
@@ -9,13 +9,14 @@
style=
"width: 100%"
>
<el-table-column
prop=
"
"
type=
"index
"
label=
"#"
>
</el-table-column>
<el-table-column
prop=
"followType"
label=
"跟进类型"
:formatter=
"(row, column, cellValue) => getDictDataLabel(DICT_TYPE.CUSTOMER_FOLLOW_TYPE, cellValue)"
>
</el-table-column>
<el-table-column
...
...
@@ -26,6 +27,7 @@
<el-table-column
prop=
"followMethod"
label=
"跟进方式"
:formatter=
"(row, column, cellValue) => getDictDataLabel(DICT_TYPE.CUSTOMER_FOLLOW_METHOD, cellValue)"
>
</el-table-column>
<el-table-column
...
...
@@ -47,6 +49,7 @@
<el-table-column
prop=
"followUserId"
label=
"跟进业务"
:formatter=
"(row, column, cellValue) => serviceUserList.find(e => e.id === cellValue).nickname"
>
</el-table-column>
</el-table>
...
...
@@ -136,6 +139,7 @@ export default {
data
()
{
return
{
DICT_TYPE
,
getDictDataLabel
,
parseTime
,
customerFollowList
:
[],
serviceUserList
:
[],
...
...
src/views/ecw/customer/edit.vue
View file @
f631b513
...
...
@@ -529,7 +529,7 @@ export default {
},
getCustomer
(
id
)
{
getCustomer
(
id
).
then
(
response
=>
{
this
.
form
=
{
...
this
.
form
,
...
response
.
data
};
this
.
form
=
{
...
this
.
form
,
...
response
.
data
,
id
:
this
.
customerId
};
this
.
open
=
true
;
this
.
title
=
"
修改客户
"
;
});
...
...
src/views/ecw/customer/query.vue
View file @
f631b513
...
...
@@ -25,8 +25,8 @@
<
el
-
descriptions
-
item
label
=
"
客户来源
"
>
{{
getDictDataLabel
(
DICT_TYPE
.
CUSTOMER_SOURCE
,
customer
.
source
)
}}
<
/el-descriptions-item
>
<
el
-
descriptions
-
item
label
=
"
客户类别
"
>
{{
getDictDataLabel
(
DICT_TYPE
.
CUSTOMER_TYPE
,
customer
.
type
)
}}
<
/el-descriptions-item
>
<!--
<
el
-
descriptions
-
item
label
=
"
联系方式
"
>
{{
customer
}}
<
/el-descriptions-item>--
>
<
el
-
descriptions
-
item
label
=
"
推介人
"
>
{{
customer
.
promoter
}}
<
/el-descriptions-item
>
<
el
-
descriptions
-
item
label
=
"
跟进客服
"
>
{{
customer
.
customer
Service
}}
<
/el-descriptions-item
>
<
el
-
descriptions
-
item
label
=
"
推介人
"
>
{{
promoter
}}
<
/el-descriptions-item
>
<
el
-
descriptions
-
item
label
=
"
跟进客服
"
>
{{
customerService
}}
<
/el-descriptions-item
>
<
el
-
descriptions
-
item
label
=
"
公司名称
"
>
{{
customer
.
company
}}
<
/el-descriptions-item
>
<
el
-
descriptions
-
item
label
=
"
联系地址
"
>
{{
customer
.
address
}}
<
/el-descriptions-item
>
<
el
-
descriptions
-
item
label
=
"
创建时间
"
>
{{
parseTime
(
customer
.
createTime
)
}}
<
/el-descriptions-item
>
...
...
@@ -172,7 +172,7 @@
<
/template
>
<
script
>
import
{
getCustomer
}
from
'
@/api/ecw/customer
'
import
{
getCustomer
,
getCustomerSelect
}
from
'
@/api/ecw/customer
'
import
{
DICT_TYPE
,
getDictDataLabel
}
from
'
@/utils/dict
'
import
{
getProductTypeList
}
from
'
@/api/ecw/productType
'
import
{
getNodeList
}
from
'
@/api/ecw/node
'
...
...
@@ -180,6 +180,7 @@ import DictSelector from "@/components/DictSelector"
import
CustomerFollow
from
"
@/components/CustomerFollow
"
import
{
parseTime
}
from
'
@/utils/ruoyi
'
import
CustomerComplaint
from
'
@/views/ecw/customerComplaint
'
import
{
listServiceUser
}
from
'
@/api/system/user
'
export
default
{
name
:
'
query
'
,
...
...
@@ -202,6 +203,12 @@ export default {
this
.
productTypeList
=
r
.
data
}
)
getCustomerSelect
().
then
(
r
=>
{
this
.
customerSelect
=
r
.
data
}
)
listServiceUser
().
then
(
r
=>
{
this
.
serviceUserList
=
r
.
data
}
)
}
,
data
()
{
return
{
...
...
@@ -210,6 +217,8 @@ export default {
parseTime
,
nodeList
:
[],
productTypeList
:
[],
customerSelect
:
[],
serviceUserList
:
[],
customer
:
{
id
:
undefined
,
number
:
undefined
,
...
...
@@ -258,6 +267,12 @@ export default {
pickupPoint
(){
const
pickupPoint
=
this
.
nodeList
.
find
(
p
=>
p
.
id
===
parseInt
(
this
.
customer
.
pickupPoint
))
return
pickupPoint
?
pickupPoint
.
titleZh
:
''
}
,
promoter
()
{
return
this
.
customerSelect
.
find
(
e
=>
e
.
id
===
this
.
customer
.
promoter
)?.
name
||
''
}
,
customerService
()
{
return
this
.
serviceUserList
.
find
(
e
=>
e
.
id
===
this
.
customer
.
customerService
)?.
nickname
||
''
}
}
}
...
...
src/views/ecw/customerComplaint/index.vue
View file @
f631b513
...
...
@@ -100,7 +100,7 @@
v-for=
"item in customerSelect"
:key=
"item.id"
:label=
"item.name"
:value=
"item.id
.toString()
"
></el-option>
:value=
"item.id"
></el-option>
</el-select>
</el-form-item>
<el-form-item
label=
"投诉类型"
prop=
"type"
>
...
...
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