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
a9fbc238
Commit
a9fbc238
authored
Oct 26, 2023
by
邓春圆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
客户模块列表添加 查看按钮
parent
27d07b50
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
20 additions
and
12 deletions
+20
-12
index.vue
src/views/ecw/customer/index.vue
+5
-1
indirectCustomer.vue
src/views/ecw/customer/indirectCustomer.vue
+4
-2
index.vue
src/views/ecw/customerConfirm/index.vue
+3
-2
index.vue
src/views/ecw/customerToBeAssigned/index.vue
+3
-2
index.vue
src/views/ecw/myCustomerService/index.vue
+0
-2
index.vue
src/views/ecw/oceanCustomer/index.vue
+4
-3
index.vue
src/views/member/user/index.vue
+1
-0
No files found.
src/views/ecw/customer/index.vue
View file @
a9fbc238
...
...
@@ -96,7 +96,7 @@
>
{{
$t
(
'
设置海运非整柜客户
'
)
}}
</el-button>
</el-col>
<el-col
:span=
"1.5"
>
<el-button
v-has-permi=
"[
'ecw:customer:create-potential'
]"
v-if=
"path === '/customer/customer'"
type=
"primary"
plain
icon=
"el-icon-plus"
size=
"mini"
@
click=
"handleAddPotential"
>
{{
$t
(
'
新增潜在客户
'
)
}}
</el-button>
<el-button
v-has-permi=
"[
selectAuthorityFn('ecw:customer:create-potential')
]"
v-if=
"path === '/customer/customer'"
type=
"primary"
plain
icon=
"el-icon-plus"
size=
"mini"
@
click=
"handleAddPotential"
>
{{
$t
(
'
新增潜在客户
'
)
}}
</el-button>
</el-col>
<right-toolbar
:showSearch.sync=
"showSearch"
@
queryTable=
"getList"
></right-toolbar>
</el-row>
...
...
@@ -649,6 +649,9 @@ export default {
case
'
/customer/department-customers
'
:
i
=
'
dep-
'
break
;
case
'
/customer/potential
'
:
i
=
'
pot-
'
break
;
}
return
i
},
...
...
@@ -656,6 +659,7 @@ export default {
return
(
val
)
=>
{
let
t
=
val
.
split
(
"
:
"
)
t
[
t
.
length
-
1
]
=
this
.
authorityFn
+
t
[
t
.
length
-
1
]
console
.
log
(
t
.
join
(
"
:
"
))
return
t
.
join
(
"
:
"
)
}
}
...
...
src/views/ecw/customer/indirectCustomer.vue
View file @
a9fbc238
...
...
@@ -43,9 +43,8 @@
</el-table-column>
<el-table-column
:label=
"$t('客户名称')"
align=
"center"
prop=
"name"
>
<template
v-slot=
"scope"
>
<router-link
:to=
"
{path: '/customer/indirectInfo',query: {id: scope.row.id}}" class="link-type">
<span>
{{
$l
(
scope
.
row
,
'
name
'
)
}}
</span>
</router-link>
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('联系方式')"
prop=
"defaultContactPhone"
>
...
...
@@ -78,6 +77,9 @@
</el-table-column>
<el-table-column
:label=
"$t('操作')"
align=
"center"
class-name=
"small-padding fixed-width"
>
<
template
slot-scope=
"scope"
>
<router-link
:to=
"
{path: '/customer/indirectInfo',query: {id: scope.row.id}}" class="link-type">
<el-button
v-has-permi=
"['ecw:customer:indirect:view']"
size=
"mini"
style=
"margin-right: 10px"
type=
"text"
>
查看
</el-button>
</router-link>
<el-button
v-has-permi=
"['ecw:customer:indirect:perfect']"
size=
"mini"
type=
"text"
icon=
"el-icon-user"
@
click=
"delay(scope.row)"
>
{{
$t
(
'
完善
'
)
}}
</el-button>
</
template
>
</el-table-column>
...
...
src/views/ecw/customerConfirm/index.vue
View file @
a9fbc238
...
...
@@ -80,9 +80,7 @@
<el-table
v-loading=
"loading"
:data=
"list"
>
<el-table-column
:label=
"$t('客户编号')"
align=
"center"
prop=
"number"
>
<template
v-slot=
"
{row}">
<router-link
:to=
"'/customer/query/' + row.id"
>
{{
row
.
number
}}
</router-link>
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('客户名称')"
align=
"center"
prop=
"name"
>
...
...
@@ -125,6 +123,9 @@
<el-table-column
:label=
"$t('国家')"
align=
"center"
prop=
"country"
:formatter=
"countryFormatter"
></el-table-column>
<el-table-column
:label=
"$t('操作')"
align=
"center"
class-name=
"small-padding fixed-width"
>
<
template
slot-scope=
"scope"
>
<router-link
:to=
"'/customer/query/' + scope.row.id"
>
<el-button
v-has-permi=
"['ecw:customer:treat-view']"
size=
"mini"
style=
"margin-right: 10px"
type=
"text"
>
查看
</el-button>
</router-link>
<el-button
size=
"mini"
type=
"text"
@
click=
"handleConfirmService(scope.row)"
v-hasPermi=
"['ecw:customer:treat-accept']"
>
{{
$t
(
'
确认接收
'
)
}}
</el-button>
<el-button
size=
"mini"
type=
"text"
@
click=
"handOver(scope.row)"
...
...
src/views/ecw/customerToBeAssigned/index.vue
View file @
a9fbc238
...
...
@@ -91,9 +91,7 @@
</el-table-column>
<el-table-column
:label=
"$t('客户编号')"
align=
"center"
prop=
"number"
>
<template
v-slot=
"
{row}">
<router-link
:to=
"'/customer/query/' + row.id"
>
{{
row
.
number
}}
</router-link>
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('客户名称')"
align=
"center"
prop=
"name"
>
...
...
@@ -131,6 +129,9 @@
<el-table-column
:label=
"$t('国家')"
align=
"center"
prop=
"country"
:formatter=
"countryFormatter"
></el-table-column>
<el-table-column
:label=
"$t('操作')"
align=
"center"
class-name=
"small-padding fixed-width"
>
<
template
slot-scope=
"scope"
>
<router-link
:to=
"'/customer/query/' + scope.row.id"
>
<el-button
v-has-permi=
"['ecw:customer:distribution-view']"
size=
"mini"
style=
"margin-right: 10px"
type=
"text"
>
查看
</el-button>
</router-link>
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handleUpdate(scope.row)"
v-hasPermi=
"['ecw:customer:distribution-update']"
>
{{
$t
(
'
编辑
'
)
}}
</el-button>
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-delete"
@
click=
"handleDelete(scope.row)"
...
...
src/views/ecw/myCustomerService/index.vue
View file @
a9fbc238
...
...
@@ -80,9 +80,7 @@
</el-table-column>
<el-table-column
:label=
"$t('客户编号')"
align=
"center"
prop=
"number"
>
<template
v-slot=
"
{row}">
<router-link
:to=
"'/customer/query/' + row.id"
>
{{
row
.
number
}}
</router-link>
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('客户名称')"
align=
"center"
prop=
"name"
>
...
...
src/views/ecw/oceanCustomer/index.vue
View file @
a9fbc238
...
...
@@ -85,9 +85,7 @@
</el-table-column>
<el-table-column
:label=
"$t('客户编号')"
align=
"center"
prop=
"number"
>
<template
v-slot=
"
{row}">
<router-link
:to=
"'/customer/query/' + row.id"
>
{{
row
.
number
}}
</router-link>
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('客户名称')"
align=
"center"
prop=
"name"
>
...
...
@@ -130,6 +128,9 @@
<el-table-column
:label=
"$t('国家')"
align=
"center"
prop=
"country"
:formatter=
"countryFormatter"
></el-table-column>
<el-table-column
:label=
"$t('操作')"
align=
"center"
class-name=
"small-padding fixed-width"
>
<
template
slot-scope=
"scope"
>
<router-link
:to=
"'/customer/query/' + scope.row.id"
>
<el-button
v-has-permi=
"['ecw:customer:sea-view']"
size=
"mini"
style=
"margin-right: 10px"
type=
"text"
>
查看
</el-button>
</router-link>
<!--
<el-button
size=
"mini"
type=
"text"
@
click=
"distribution(scope.row)"
>
{{
$t
(
'
移交
'
)
}}
</el-button>
-->
<el-button
v-has-permi=
"['ecw:customer:sea-gain']"
size=
"mini"
type=
"text"
@
click=
"fishingFn(scope.row)"
>
{{
$t
(
'
捞取
'
)
}}
</el-button>
</
template
>
...
...
@@ -362,7 +363,7 @@ export default {
// this.open = true;
// this.title = this.$t("添加客户");
},
/** 查看按钮操作 */
/** 查看按钮操作 */
handleView
(
row
)
{
this
.
$router
.
push
(
'
/customer/query/
'
+
row
.
id
)
},
...
...
src/views/member/user/index.vue
View file @
a9fbc238
...
...
@@ -93,6 +93,7 @@
<
el
-
button
v
-
has
-
permi
=
"
['member:id-card']
"
size
=
"
mini
"
type
=
"
text
"
@
click
=
"
identityFn(scope.row , '1')
"
>
{{
$t
(
'
身份证
'
)
}}
<
/el-button
>
<
el
-
button
v
-
has
-
permi
=
"
['member:business-license']
"
size
=
"
mini
"
type
=
"
text
"
@
click
=
"
identityFn(scope.row, '2')
"
>
{{
$t
(
'
营业执照
'
)
}}
<
/el-button
>
<
el
-
button
v
-
has
-
permi
=
"
['member:delete']
"
size
=
"
mini
"
type
=
"
text
"
@
click
=
"
deleteFn(scope.row)
"
>
{{
$t
(
'
删 除
'
)
}}
<
/el-button
>
<
el
-
button
type
=
"
text
"
v
-
has
-
permi
=
"
['member:user:info']
"
size
=
"
mini
"
@
click
=
"
$router.push('member/member-details/' + scope.row.id )
"
>
{{
$t
(
'
查看
'
)
}}
<
/el-button
>
<
/template
>
<
/el-table-column
>
<
/el-table
>
...
...
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