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
1d0c04e5
Commit
1d0c04e5
authored
Jun 23, 2022
by
黄卓
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
customerId类型问题
parent
01fef0b3
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
7 deletions
+10
-7
index.vue
src/components/CustomerFollow/index.vue
+1
-1
query.vue
src/views/ecw/customer/query.vue
+8
-5
index.vue
src/views/ecw/customerComplaint/index.vue
+1
-1
No files found.
src/components/CustomerFollow/index.vue
View file @
1d0c04e5
...
...
@@ -134,7 +134,7 @@ export default {
*/
name
:
"
CustomerFollow
"
,
props
:
{
customerId
:
String
customerId
:
Number
},
data
()
{
return
{
...
...
src/views/ecw/customer/query.vue
View file @
1d0c04e5
...
...
@@ -6,7 +6,7 @@
<h2>
查看
</h2>
<div>
<el-button
type=
"primary"
size=
"small"
>
添加优惠
</el-button>
<el-button
type=
"primary"
size=
"small"
@
click=
"$router.push('/customer/edit/' +
customerI
d)"
>
编辑
</el-button>
<el-button
type=
"primary"
size=
"small"
@
click=
"$router.push('/customer/edit/' +
i
d)"
>
编辑
</el-button>
<el-button
type=
"primary"
size=
"small"
>
报价
</el-button>
<el-button
type=
"primary"
size=
"small"
@
click=
"$refs['customerFollow'].customerFollow.dialogVisible = true"
>
跟进
</el-button>
<el-button
type=
"primary"
size=
"small"
@
click=
"$refs['customerComplaint'].handleAdd()"
>
客诉
</el-button>
...
...
@@ -144,10 +144,10 @@
<
/el-table
>
<
/el-tab-pane
>
<
el
-
tab
-
pane
label
=
"
跟进
"
>
<
customer
-
follow
ref
=
"
customerFollow
"
:
customer
-
id
=
"
customerI
d
"
><
/customer-follow
>
<
customer
-
follow
ref
=
"
customerFollow
"
:
customer
-
id
=
"
i
d
"
><
/customer-follow
>
<
/el-tab-pane
>
<
el
-
tab
-
pane
label
=
"
客户投诉
"
>
<
customer
-
complaint
ref
=
"
customerComplaint
"
:
customer
-
id
=
"
customerI
d
"
hidden
-
search
><
/customer-complaint
>
<
customer
-
complaint
ref
=
"
customerComplaint
"
:
customer
-
id
=
"
i
d
"
hidden
-
search
><
/customer-complaint
>
<
/el-tab-pane
>
<
el
-
tab
-
pane
label
=
"
账单
"
>
...
...
@@ -197,10 +197,10 @@ export default {
getNodeList
().
then
(
r
=>
{
this
.
nodeList
=
r
.
data
}
)
getCustomer
(
this
.
customerI
d
).
then
(
response
=>
{
getCustomer
(
this
.
i
d
).
then
(
response
=>
{
this
.
customer
=
{
...
this
.
customer
,
...
response
.
data
}
getCustomerContactsListByCustomer
({
customerId
:
this
.
customerI
d
}
).
then
(
r
=>
{
getCustomerContactsListByCustomer
({
customerId
:
this
.
i
d
}
).
then
(
r
=>
{
this
.
customerContacts
=
r
.
data
}
)
}
)
...
...
@@ -278,6 +278,9 @@ export default {
}
,
customerService
()
{
return
this
.
serviceUserList
.
find
(
e
=>
e
.
id
===
this
.
customer
.
customerService
)?.
nickname
||
''
}
,
id
()
{
return
this
.
customerId
?
parseInt
(
this
.
customerId
)
:
undefined
}
}
}
...
...
src/views/ecw/customerComplaint/index.vue
View file @
1d0c04e5
...
...
@@ -149,7 +149,7 @@ export default {
* 作为组件时要传入 customerId,用于限制范围和隐藏搜索筛选
*/
props
:
{
customerId
:
String
customerId
:
Number
},
components
:
{
CustomerFollow
...
...
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