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
53468e1a
Commit
53468e1a
authored
Jun 28, 2022
by
dcy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
全部客户列表,添加投诉,和客户跟进
parent
b77a794e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
2 deletions
+21
-2
index.vue
src/views/ecw/customer/index.vue
+21
-2
No files found.
src/views/ecw/customer/index.vue
View file @
53468e1a
...
...
@@ -97,6 +97,8 @@
v-hasPermi=
"['ecw:customer:update']"
>
修改
</el-button>
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-delete"
@
click=
"handleDelete(scope.row)"
v-hasPermi=
"['ecw:customer:delete']"
>
删除
</el-button>
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-collection"
@
click=
"followUp(scope.row)"
>
跟进
</el-button>
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-user"
@
click=
"complaint(scope.row)"
>
客诉
</el-button>
</
template
>
</el-table-column>
</el-table>
...
...
@@ -450,6 +452,8 @@
<el-button
@
click=
"cancel"
>
取 消
</el-button>
</div>
</el-dialog>
<customer-follow-list
:customer-id=
"customerId"
:id=
"customerId"
ref=
"CustomerFollowList"
></customer-follow-list>
<customer-complaints
:customer-id=
"customerId"
ref=
"customerComplaints"
></customer-complaints>
</div>
</template>
...
...
@@ -462,11 +466,15 @@ import { uploadFile } from "@/api/infra/file";
import
upload
from
'
@/components/ImageUpload
'
import
{
getNodeList
}
from
"
@/api/ecw/node
"
import
CustomerFollowList
from
"
@/components/CustomerFollowList
"
import
customerComplaints
from
"
@/components/customerComplaints
"
export
default
{
name
:
"
Customer
"
,
components
:
{
upload
upload
,
CustomerFollowList
,
customerComplaints
},
data
()
{
return
{
...
...
@@ -515,7 +523,8 @@ export default {
},
// 网点
nodeList
:
[],
showLine
:
false
showLine
:
false
,
customerId
:
undefined
,
};
},
created
()
{
...
...
@@ -665,6 +674,16 @@ export default {
this
.
$download
.
excel
(
response
,
'
${table.classComment}.xls
'
);
this
.
exportLoading
=
false
;
}).
catch
(()
=>
{});
},
followUp
(
row
){
this
.
customerId
=
row
.
id
;
this
.
$refs
.
CustomerFollowList
.
customerFollow
.
dialogVisible
=
true
;
},
complaint
(
row
){
this
.
customerId
=
row
.
id
;
this
.
$nextTick
(()
=>
{
this
.
$refs
.
customerComplaints
.
handleAdd
();
})
}
}
};
...
...
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