Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
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
罗超
SuperMan
Commits
b85cf42e
Commit
b85cf42e
authored
Jan 15, 2025
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
3dee9245
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
5 deletions
+16
-5
CustomerContactList.vue
src/components/SalesModule/Common/CustomerContactList.vue
+16
-5
No files found.
src/components/SalesModule/Common/CustomerContactList.vue
View file @
b85cf42e
...
@@ -87,7 +87,9 @@
...
@@ -87,7 +87,9 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
<el-pagination
background
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"currentPage"
layout=
"total,prev, pager, next, jumper"
:page-size=
"pageSize"
:total=
"total"
>
</el-pagination>
<addCustomerContact
v-if=
"addTeammanShow"
:ContactData=
"ContactData"
@
addTeammanOk=
"addTeammanOk"
@
closeaddTeamman=
"addTeammanShow=false"
/>
<addCustomerContact
v-if=
"addTeammanShow"
:ContactData=
"ContactData"
@
addTeammanOk=
"addTeammanOk"
@
closeaddTeamman=
"addTeammanShow=false"
/>
</el-dialog>
</el-dialog>
...
@@ -126,6 +128,10 @@
...
@@ -126,6 +128,10 @@
data
()
{
data
()
{
return
{
return
{
loadingOut
:
false
,
loadingOut
:
false
,
pageIndex
:
1
,
pageSize
:
3
,
currentPage
:
1
,
total
:
0
,
loadingRom
:
false
,
loadingRom
:
false
,
ContactData
:{
ContactData
:{
InfoID
:
0
,
InfoID
:
0
,
...
@@ -193,10 +199,11 @@
...
@@ -193,10 +199,11 @@
GetCustomerContactList
(){
GetCustomerContactList
(){
if
(
this
.
customerId
===
0
)
return
if
(
this
.
customerId
===
0
)
return
this
.
loading
=
true
this
.
loading
=
true
this
.
crmapipost
(
'/api/Customer/GetC
ontactByCustomerID'
,
{
CustomerId
:
this
.
customerId
},
res
=>
{
this
.
crmapipost
(
'/api/Customer/GetC
ustomerContactPageList'
,
{
pageIndex
:
this
.
pageIndex
,
pageSize
:
this
.
pageSize
,
CustomerId
:
this
.
customerId
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
loading
=
false
this
.
loading
=
false
;
this
.
dataList
=
res
.
data
.
data
this
.
dataList
=
res
.
data
.
data
.
pageData
;
this
.
total
=
res
.
data
.
data
.
count
;
}
else
{
}
else
{
this
.
loading
=
false
this
.
loading
=
false
}
}
...
@@ -229,7 +236,11 @@
...
@@ -229,7 +236,11 @@
this
.
showUpdatePW
=
false
;
this
.
showUpdatePW
=
false
;
}
}
})
})
}
},
handleCurrentChange
(
val
)
{
this
.
pageIndex
=
val
;
this
.
GetCustomerContactList
();
},
},
},
mounted
()
{
mounted
()
{
this
.
GetCustomerContactList
()
this
.
GetCustomerContactList
()
...
...
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