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
83f24f18
Commit
83f24f18
authored
Jul 25, 2023
by
邓春圆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面报错bug修复
parent
3397b923
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
4 deletions
+14
-4
query.vue
src/views/ecw/customer/query.vue
+14
-4
No files found.
src/views/ecw/customer/query.vue
View file @
83f24f18
...
...
@@ -7,8 +7,8 @@
<div>
<el-button
type=
"primary"
size=
"small"
v-has-permi=
"['ecw:customer:query-edit']"
@
click=
"$router.push('/customer/edit/' + id)"
>
{{
$t
(
'
编辑
'
)
}}
</el-button>
<el-button
v-has-permi=
"['ecw:customer:query-quoted-price']"
@
click=
"$router.push('/offer/create')"
type=
"primary"
size=
"small"
>
{{
$t
(
'
报价
'
)
}}
</el-button>
<el-button
v-has-permi=
"['ecw:customer:query-follow-up']"
type=
"primary"
size=
"small"
@
click=
"
$refs['customerFollow'].customerFollow.dialogVisible = true
"
>
{{
$t
(
'
跟进
'
)
}}
</el-button>
<el-button
v-has-permi=
"['ecw:customer:query-customer-complaint']"
type=
"primary"
size=
"small"
@
click=
"
$refs['customerComplaint'].handleAdd(
)"
>
{{
$t
(
'
客诉
'
)
}}
</el-button>
<el-button
v-has-permi=
"['ecw:customer:query-follow-up']"
type=
"primary"
size=
"small"
@
click=
"
customerFollowFn('follow')
"
>
{{
$t
(
'
跟进
'
)
}}
</el-button>
<el-button
v-has-permi=
"['ecw:customer:query-customer-complaint']"
type=
"primary"
size=
"small"
@
click=
"
customerFollowFn('complain'
)"
>
{{
$t
(
'
客诉
'
)
}}
</el-button>
<el-button
v-hasPermi=
"['ecw:customer:query-delete']"
type=
"danger"
size=
"small"
@
click=
"deleteCustomerFn()"
>
{{
$t
(
'
删除
'
)
}}
</el-button>
</div>
</div>
...
...
@@ -303,10 +303,10 @@
<
pagination
@
pagination
=
"
getInfoListOfferPage
"
:
page
.
sync
=
"
infoListOfferFrom.pageNo
"
:
limit
.
sync
=
"
infoListOfferFrom.pageSize
"
:
total
=
"
infoListOfferTotal
"
><
/pagination
>
<
/el-tab-pane
>
<
el
-
tab
-
pane
name
=
"
follow
"
:
label
=
"
$t('跟进')
"
>
<
customer
-
follow
v
-
if
=
"
activeName === 'follow'
"
customerQuery
ref
=
"
customerFollow
"
:
id
=
"
id
"
:
customer
-
id
=
"
id
"
><
/customer-follow
>
<
customer
-
follow
v
-
if
=
"
activeName === 'follow'
"
customerQuery
ref
=
"
customerFollow
"
:
id
=
"
id
"
:
customer
-
id
=
"
id
"
><
/customer-follow
>
<
/el-tab-pane
>
<
el
-
tab
-
pane
name
=
"
complain
"
:
label
=
"
$t('客户投诉')
"
>
<
customer
-
complaint
v
-
if
=
"
activeName === 'complain'
"
ref
=
"
customerComplaint
"
:
customer
-
id
=
"
id
"
hidden
-
search
><
/customer-complaint
>
<
customer
-
complaint
v
-
if
=
"
activeName === 'complain'
"
ref
=
"
customerComplaint
"
:
customer
-
id
=
"
id
"
hidden
-
search
><
/customer-complaint
>
<
/el-tab-pane
>
<
el
-
tab
-
pane
name
=
"
bill
"
:
label
=
"
$t('账单')
"
>
<
el
-
table
style
=
"
width: 100%
"
:
data
=
"
infoListReceiptList
"
>
...
...
@@ -732,6 +732,16 @@ export default {
}
}
,
methods
:{
customerFollowFn
(
val
){
this
.
activeName
=
val
this
.
$nextTick
(()
=>
{
if
(
val
===
'
follow
'
){
this
.
$refs
[
'
customerFollow
'
].
customerFollow
.
dialogVisible
=
true
;
}
else
{
this
.
$refs
[
'
customerComplaint
'
].
handleAdd
()
}
}
)
}
,
checkPermi
,
userIdFormatter
(
row
,
column
,
cellValue
){
const
member
=
this
.
memberList
.
find
(
e
=>
e
.
id
===
cellValue
)
...
...
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