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
5e598469
Commit
5e598469
authored
Mar 28, 2023
by
邓春圆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
客户添加操作日志,以及客户列表修改
parent
c30a6e70
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
46 additions
and
16 deletions
+46
-16
customerLog.vue
src/views/ecw/customer/customerLog.vue
+40
-15
query.vue
src/views/ecw/customer/query.vue
+6
-1
No files found.
src/views/ecw/customer/customerLog.vue
View file @
5e598469
<
template
>
<
template
>
<div
style=
"padding: 20px
"
>
<div
:style=
"
{padding:customerId ? '0px' : '20px'}
">
<el-card
:title=
"'客户操作日志'"
>
<el-card
style=
"margin-bottom: 30px"
v-show=
"!customerId"
:title=
"'客户操作日志'"
>
<el-descriptions
border
:column=
"3"
>
<el-descriptions
border
:column=
"3"
>
<el-descriptions-item
label=
"订单编号"
><el-input
v-model=
"queryForm.orderNo"
></el-input></el-descriptions-item>
<el-descriptions-item
label=
"订单编号"
><el-input
:placeholder=
"$t('请输入订单编号')"
v-model=
"queryForm.orderNo"
></el-input></el-descriptions-item>
<el-descriptions-item
label=
"操作人"
><el-input
v-model=
"queryForm.operator"
></el-input></el-descriptions-item>
<el-descriptions-item
label=
"操作人"
>
<el-descriptions-item
label=
"老客户经理"
><el-input
v-model=
"queryForm.oldCustomerService"
></el-input></el-descriptions-item>
<el-select
filterable
v-model=
"queryForm.operator"
>
<el-descriptions-item
label=
"客户编号"
><el-input
v-model=
"queryForm.number"
></el-input></el-descriptions-item>
<el-option
v-for=
"(item) in allSimplList"
:value=
"item.id"
:label=
"item.nickname"
:key=
"item.id"
></el-option>
<el-descriptions-item
label=
"新客户经理"
><el-input
v-model=
"queryForm.newCustomerService"
></el-input></el-descriptions-item>
</el-select>
<el-descriptions-item
label=
"客户名称"
><el-input
v-model=
"queryForm.name"
></el-input></el-descriptions-item>
</el-descriptions-item>
<el-descriptions-item
label=
"老客户经理"
>
<el-select
filterable
v-model=
"queryForm.oldCustomerService"
>
<el-option
v-for=
"(item) in customerServiceList"
:value=
"item.id"
:label=
"item.nickname"
:key=
"item.id"
></el-option>
</el-select>
<!--
<el-input
v-model=
"queryForm.oldCustomerService"
></el-input>
-->
</el-descriptions-item>
<el-descriptions-item
label=
"客户编号"
><el-input
:placeholder=
"$t('请输入客户编号')"
v-model=
"queryForm.number"
></el-input></el-descriptions-item>
<el-descriptions-item
label=
"新客户经理"
>
<el-select
clearable
filterable
v-model=
"queryForm.newCustomerService"
>
<el-option
v-for=
"(item) in customerServiceList"
:value=
"item.id"
:label=
"item.nickname"
:key=
"item.id"
></el-option>
</el-select>
<!--
<el-input
v-model=
"queryForm.newCustomerService"
></el-input>
-->
</el-descriptions-item>
<el-descriptions-item
label=
"客户名称"
><el-input
:placeholder=
"$t('请输入客户名称')"
style=
"width: 45%;"
v-model=
"queryForm.name"
></el-input></el-descriptions-item>
<el-descriptions-item
label=
"操作类型"
>
<el-descriptions-item
label=
"操作类型"
>
<dict-selector
:type=
"DICT_TYPE.CUSTOMER_OPERATE_TYPE"
v-model=
"queryForm.operateType"
>
<dict-selector
:type=
"DICT_TYPE.CUSTOMER_OPERATE_TYPE"
v-model=
"queryForm.operateType"
>
...
@@ -41,18 +55,18 @@
...
@@ -41,18 +55,18 @@
</el-descriptions-item>
</el-descriptions-item>
</el-descriptions>
</el-descriptions>
</el-card>
</el-card>
<el-table
style=
"margin-top: 30px"
:data=
"list"
>
<el-table
:data=
"list"
>
<el-table-column
label=
"订单编号"
prop=
"orderNo"
></el-table-column>
<el-table-column
label=
"订单编号"
prop=
"orderNo"
></el-table-column>
<el-table-column
label=
"客户编号"
prop=
"number"
></el-table-column>
<el-table-column
label=
"客户编号"
prop=
"number"
></el-table-column>
<el-table-column
label=
"客户名称"
prop=
"name"
></el-table-column>
<el-table-column
label=
"客户名称"
prop=
"name"
></el-table-column>
<el-table-column
label=
"新客户经理"
prop=
"newCustomerService"
>
<el-table-column
label=
"新客户经理"
prop=
"newCustomerService"
>
<template
v-slot=
"
{row}">
<template
v-slot=
"
{row}">
{{
row
.
newCustomerService
?
row
.
newCustomerService
:
'
/
'
}}
{{
row
.
newCustomerService
?
operatorFn
(
row
.
newCustomerService
)
:
'
/
'
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"老客户经理"
prop=
"oldCustomerService"
>
<el-table-column
label=
"老客户经理"
prop=
"oldCustomerService"
>
<
template
v-slot=
"{row}"
>
<
template
v-slot=
"{row}"
>
{{
row
.
oldCustomerService
?
row
.
oldCustomerService
:
'
/
'
}}
{{
row
.
oldCustomerService
?
operatorFn
(
row
.
oldCustomerService
)
:
'
/
'
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"操作类型"
>
<el-table-column
label=
"操作类型"
>
...
@@ -130,9 +144,16 @@ import {getCustomerOperatelog, getCustomerOperatelogPage} from "@/api/ecw/custom
...
@@ -130,9 +144,16 @@ import {getCustomerOperatelog, getCustomerOperatelogPage} from "@/api/ecw/custom
import
{
parseTime
}
from
"
../../../utils/ruoyi
"
;
import
{
parseTime
}
from
"
../../../utils/ruoyi
"
;
import
Template
from
"
@/views/cms/template/index.vue
"
;
import
Template
from
"
@/views/cms/template/index.vue
"
;
import
{
DICT_TYPE
}
from
"
@/utils/dict
"
;
import
{
DICT_TYPE
}
from
"
@/utils/dict
"
;
import
{
listAllSimpl
}
from
"
@/api/system/user
"
;
import
{
listAllSimpl
,
listServiceUser
}
from
"
@/api/system/user
"
;
import
{
number
}
from
"
echarts/lib/export
"
;
export
default
{
export
default
{
name
:
"
customerLog
"
,
name
:
"
customerLog
"
,
props
:{
customerId
:{
type
:[
Number
,
String
],
default
:
null
,
}
},
computed
:
{
computed
:
{
DICT_TYPE
()
{
DICT_TYPE
()
{
return
DICT_TYPE
return
DICT_TYPE
...
@@ -150,6 +171,9 @@ export default {
...
@@ -150,6 +171,9 @@ export default {
listAllSimpl
().
then
(
r
=>
{
listAllSimpl
().
then
(
r
=>
{
this
.
allSimplList
=
r
.
data
this
.
allSimplList
=
r
.
data
})
})
listServiceUser
().
then
(
r
=>
{
this
.
customerServiceList
=
r
.
data
;
})
},
},
data
(){
data
(){
return
{
return
{
...
@@ -160,7 +184,8 @@ export default {
...
@@ -160,7 +184,8 @@ export default {
total
:
0
,
total
:
0
,
show
:
false
,
show
:
false
,
allSimplList
:[],
allSimplList
:[],
dataLog
:{}
dataLog
:{},
customerServiceList
:[],
}
}
},
},
methods
:{
methods
:{
...
@@ -173,7 +198,6 @@ export default {
...
@@ -173,7 +198,6 @@ export default {
oldCustomerService
:
null
,
oldCustomerService
:
null
,
newCustomerService
:
null
,
newCustomerService
:
null
,
operateType
:
null
,
operateType
:
null
,
operator
:
null
,
operator
:
null
,
orderNo
:
null
,
orderNo
:
null
,
newEstimateEnterOpenSeaTime
:
null
,
newEstimateEnterOpenSeaTime
:
null
,
...
@@ -181,6 +205,7 @@ export default {
...
@@ -181,6 +205,7 @@ export default {
beginOldEstimateEnterOpenSeaTime
:
null
,
beginOldEstimateEnterOpenSeaTime
:
null
,
endNewEstimateEnterOpenSeaTime
:
null
,
endNewEstimateEnterOpenSeaTime
:
null
,
endOldEstimateEnterOpenSeaTime
:
null
,
endOldEstimateEnterOpenSeaTime
:
null
,
customerId
:
this
.
customerId
}
}
},
},
getList
(){
getList
(){
...
...
src/views/ecw/customer/query.vue
View file @
5e598469
...
@@ -427,6 +427,9 @@
...
@@ -427,6 +427,9 @@
<
/el-table
>
<
/el-table
>
<
pagination
@
pagination
=
"
getCustomerGrade
"
:
page
.
sync
=
"
getCustomerGradeFrom.pageNo
"
:
limit
.
sync
=
"
getCustomerGradeFrom.pageSize
"
:
total
=
"
getCustomerGradeFrom.total
"
><
/pagination
>
<
pagination
@
pagination
=
"
getCustomerGrade
"
:
page
.
sync
=
"
getCustomerGradeFrom.pageNo
"
:
limit
.
sync
=
"
getCustomerGradeFrom.pageSize
"
:
total
=
"
getCustomerGradeFrom.total
"
><
/pagination
>
<
/el-tab-pane
>
<
/el-tab-pane
>
<
el
-
tab
-
pane
name
=
"
operationLog
"
v
-
if
=
"
permissions.includes('ecw:customer:operation-log')
"
:
label
=
"
$t('操作日志')
"
>
<
customer
-
log
:
customerId
=
"
id
"
v
-
if
=
"
'operationLog' === activeName
"
><
/customer-log
>
<
/el-tab-pane
>
<
/el-tabs
>
<
/el-tabs
>
<
/el-col
>
<
/el-col
>
<
/el-row
>
<
/el-row
>
...
@@ -485,13 +488,15 @@ import Template from "@/views/cms/template";
...
@@ -485,13 +488,15 @@ import Template from "@/views/cms/template";
import
{
getCreditRulePage
}
from
"
@/api/customer/creditRule
"
;
import
{
getCreditRulePage
}
from
"
@/api/customer/creditRule
"
;
import
{
getCountry
}
from
"
@/api/ecw/country
"
import
{
getCountry
}
from
"
@/api/ecw/country
"
import
{
getCurrencyList
}
from
"
@/api/ecw/currency
"
;
import
{
getCurrencyList
}
from
"
@/api/ecw/currency
"
;
import
customerLog
from
"
@/views/ecw/customer/customerLog.vue
"
;
export
default
{
export
default
{
name
:
'
query
'
,
name
:
'
query
'
,
components
:
{
components
:
{
Template
,
Template
,
CustomerFollow
,
CustomerFollow
,
CustomerComplaint
CustomerComplaint
,
customerLog
,
}
,
}
,
created
()
{
created
()
{
// 获取币种
// 获取币种
...
...
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