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
d759053c
Commit
d759053c
authored
Jul 07, 2022
by
wanglianghe
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://gitlab.jdshangmen.com/jiedao-app/jiedao-app-operator
into dev
parents
d42ef7a2
3880c4c6
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
32 additions
and
15 deletions
+32
-15
customer.js
src/api/ecw/customer.js
+7
-5
index.vue
src/components/Ueditor/index.vue
+1
-1
index.vue
src/views/ecw/customer/index.vue
+20
-5
special.vue
src/views/ecw/offer/special.vue
+1
-1
index.vue
src/views/system/myInternalMessage/index.vue
+3
-3
No files found.
src/api/ecw/customer.js
View file @
d759053c
import
request
from
'
@/utils/request
'
import
query
from
"
@/views/ecw/customer/query
"
;
// 创建客户
export
function
createCustomer
(
data
)
{
...
...
@@ -104,9 +105,6 @@ export function handOverCustomer(data) {
url
:
'
/ecw/customer/handOver
'
,
method
:
'
put
'
,
data
:
data
,
headers
:
{
'
Content-Type
'
:
'
application/x-www-form-urlencoded; charset=UTF-8
'
}
})
}
...
...
@@ -120,10 +118,14 @@ export function getPublicList(query) {
}
//捞取
export
function
setFishing
(
data
){
export
function
setFishing
(
query
){
return
request
({
url
:
'
/ecw/customer/catch-open-sea-customer
?id=
'
+
data
.
id
,
url
:
'
/ecw/customer/catch-open-sea-customer
'
,
method
:
'
put
'
,
params
:
query
,
headers
:
{
'
Content-Type
'
:
'
application/x-www-form-urlencoded; charset=UTF-8
'
}
})
}
//待分配 客户列表
...
...
src/components/Ueditor/index.vue
View file @
d759053c
...
...
@@ -30,7 +30,7 @@
autoHeightEnabled
:
false
,
initialFrameHeight
:
300
,
initialFrameWidth
:
'
100%
'
,
serverUrl
:
process
.
env
.
VUE_APP_BASE_API
+
"
/admin-api/
ecw/lading-templat
e/editor?api_token=
"
+
getToken
().
replace
(
"
Bearer
"
,
""
),
serverUrl
:
process
.
env
.
VUE_APP_BASE_API
+
"
/admin-api/
infra/fil
e/editor?api_token=
"
+
getToken
().
replace
(
"
Bearer
"
,
""
),
}
}
},
...
...
src/views/ecw/customer/index.vue
View file @
d759053c
...
...
@@ -73,17 +73,18 @@
<dict-tag
:type=
"DICT_TYPE.COUNTRY"
:value=
"scope.row.country"
/>
</
template
>
</el-table-column>
<el-table-column
label=
"跟进客服"
align=
"center"
prop=
"customerService"
>
<
template
slot-scope=
"scope"
>
<dict-tag
:type=
"DICT_TYPE.COMMON_STATUS"
:value=
"scope.row.customerService"
/>
</
template
>
<el-table-column
label=
"跟进客服"
align=
"center"
prop=
"customerService"
:formatter=
"customerServiceFn"
>
</el-table-column>
<el-table-column
label=
"客户状态"
align=
"center"
prop=
"status"
>
<
template
slot-scope=
"scope"
>
<dict-tag
:type=
"DICT_TYPE.CUSTOMER_STATUS"
:value=
"scope.row.status"
/>
</
template
>
</el-table-column>
<el-table-column
label=
"部门"
align=
"center"
prop=
"department"
/>
<el-table-column
label=
"部门"
align=
"center"
prop=
"department"
>
<
template
v-slot:default=
"scope"
>
{{
scope
.
row
.
department
}}
</
template
>
</el-table-column>
<el-table-column
label=
"创建时间"
align=
"center"
prop=
"createTime"
width=
"180"
>
<
template
slot-scope=
"scope"
>
<span>
{{
parseTime
(
scope
.
row
.
createTime
)
}}
</span>
...
...
@@ -468,6 +469,7 @@ import upload from '@/components/ImageUpload'
import
{
getNodeList
}
from
"
@/api/ecw/node
"
import
CustomerFollowList
from
"
@/components/CustomerFollowList
"
import
customerComplaints
from
"
@/components/customerComplaints
"
import
{
listServiceUser
}
from
"
@/api/system/user
"
;
export
default
{
name
:
"
Customer
"
,
...
...
@@ -525,6 +527,7 @@ export default {
nodeList
:
[],
showLine
:
false
,
customerId
:
undefined
,
customerServiceList
:[]
};
},
created
()
{
...
...
@@ -532,8 +535,20 @@ export default {
// getNodeList().then(r => {
// this.nodeList = r.data
// })
listServiceUser
().
then
(
r
=>
{
console
.
log
(
r
,
'
客服
'
);
this
.
customerServiceList
=
r
.
data
;
})
},
methods
:
{
customerServiceFn
(
val
){
if
(
this
.
customerServiceList
.
length
>
0
){
let
index
=
this
.
customerServiceList
.
findIndex
(
item
=>
item
.
id
===
val
.
customerService
);
return
index
!==
-
1
?
this
.
customerServiceList
[
index
]?.
nickname
:
''
}
else
{
return
''
}
},
/** 查询列表 */
getList
()
{
this
.
loading
=
true
;
...
...
src/views/ecw/offer/special.vue
View file @
d759053c
...
...
@@ -49,7 +49,7 @@
prop=
"address"
label=
"操作"
>
<
template
v-slot=
"{row}"
>
<el-button
size=
"mini"
type=
"text"
v-hasPermi=
"['ecw:offer:update']"
@
click=
"$router.push(`
'
/offer/discount?offerId=$
{row.offerId}
&
offerProdId=${row.offerProdId}`)">优惠申请
</el-button>
<el-button
size=
"mini"
type=
"text"
v-hasPermi=
"['ecw:offer:update']"
@
click=
"$router.push(`/offer/discount?offerId=$
{row.offerId}
&
offerProdId=${row.offerProdId}`)">优惠申请
</el-button>
<!--
<el-button
size=
"mini"
type=
"text"
v-hasPermi=
"['ecw:offer:update']"
>
佣金规则
</el-button>
-->
<!--
<el-button
size=
"mini"
type=
"text"
v-hasPermi=
"['ecw:offer:update']"
>
管理折扣
</el-button>
-->
</
template
>
...
...
src/views/system/myInternalMessage/index.vue
View file @
d759053c
...
...
@@ -71,7 +71,7 @@
</el-table-column>
</el-table>
<!-- 分页组件 -->
<pagination
v-show=
"total > 0"
:total=
"total"
:page.sync=
"queryParams.page
No"
:limit.sync=
"queryParams.pageSize
"
<pagination
v-show=
"total > 0"
:total=
"total"
:page.sync=
"queryParams.page
"
:limit.sync=
"queryParams.rows
"
@
pagination=
"getList"
/>
<el-dialog
...
...
@@ -132,8 +132,8 @@ export default {
dateRangeCreateTime
:
[],
// 查询参数
queryParams
:
{
page
No
:
1
,
pageSize
:
10
,
page
:
1
,
rows
:
10
,
fromId
:
null
,
title
:
null
,
content
:
null
,
...
...
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