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
cd44404a
Commit
cd44404a
authored
Nov 16, 2024
by
zhengyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
独立跟进列表切换为数据权限请求接口,客户详情查看的跟进列表不变
parent
6f8443cf
Changes
5
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
295 additions
and
26 deletions
+295
-26
customerFollow.vue
src/views/ecw/customer/components/customerFollow.vue
+1
-1
customerFollowUpdateStatus.vue
...ws/ecw/customer/components/customerFollowUpdateStatus.vue
+2
-12
query.vue
src/views/ecw/customer/query.vue
+10
-12
logListCommon.vue
src/views/ecw/offer/logListCommon.vue
+1
-1
logListCustomerCommon.vue
src/views/ecw/offer/logListCustomerCommon.vue
+281
-0
No files found.
src/views/ecw/customer/components/customerFollow.vue
View file @
cd44404a
...
...
@@ -171,7 +171,7 @@
}
</
style
>
<
script
>
import
{
createCustomerFollow
,
getCustomerFollowPage
,
getCustomerFollowPage2
,
addCustomerFollow
,
getCustomerFollowList
,
editCustomerFollow
,
getFollowupNewNumber
}
from
"
@/api/ecw/customerFollow
"
import
{
addCustomerFollow
,
editCustomerFollow
,
getFollowupNewNumber
}
from
"
@/api/ecw/customerFollow
"
import
{
getCustomerContactsSelect
}
from
"
@/api/ecw/customerContacts
"
import
{
getOfferPage
,
getOfferNumber
}
from
"
@/api/ecw/offer
"
import
{
DICT_TYPE
,
getDictDataLabel
}
from
"
@/utils/dict
"
...
...
src/views/ecw/customer/components/customerFollowUpdateStatus.vue
View file @
cd44404a
...
...
@@ -29,7 +29,7 @@
<
script
>
import
{
DICT_TYPE
,
getDictDatas
,
getDictDatas2
}
from
"
@/utils/dict
"
;
import
{
getCustomerFollowList
,
updateCustomerFollowupStatus
}
from
"
@/api/ecw/customerFollow
"
;
import
{
getCustomerFollow
up
List
,
updateCustomerFollowupStatus
}
from
"
@/api/ecw/customerFollow
"
;
export
default
{
name
:
"
customerFollowUpdateStatus
"
,
...
...
@@ -77,17 +77,7 @@ export default {
})
},
getCustomerFollowList
()
{
this
.
loading
=
true
getCustomerFollowList
({
...
this
.
followForm
,
...
this
.
formatQuery
()
}).
then
((
r
)
=>
{
this
.
customerFollowList
=
r
.
data
.
list
this
.
customerFollowTotal
=
r
.
data
.
total
this
.
loading
=
false
})
},
customerFollowUpdateStatusClose
()
{
this
.
status
=
null
;
this
.
$emit
(
'
update:show
'
,
false
)
...
...
src/views/ecw/customer/query.vue
View file @
cd44404a
...
...
@@ -377,7 +377,7 @@
<el-dropdown-menu
slot=
"dropdown"
>
<el-dropdown-item
@
click.native=
"$router.push('/offer/detail?offerId=' + scope.row.offerId)"
v-hasPermi=
"['ecw:offer:show']"
>
{{
$t
(
"
详情
"
)
}}
</el-dropdown-item>
<el-dropdown-item
@
click.native=
"$router.push('/offer/edit?id=' + scope.row.offerId)"
v-if=
"[1, 2, 3, 7].indexOf(scope.row.status) > -1"
v-hasPermi=
"['ecw:offer:update']"
>
{{
$t
(
"
编辑
"
)
}}
</el-dropdown-item>
<el-dropdown-item
@
click.native=
"$router.push('/offer/logList?offerId=' + scope.row.offerId)"
v-if=
"[1, 3, 7].indexOf(scope.row.status) > -1"
v-hasPermi=
"['ecw:offer:loglist']"
>
{{
$t
(
"
跟进
"
)
}}
</el-dropdown-item>
<el-dropdown-item
@
click.native=
"$router.push('/offer/logList
CustomerCommon
?offerId=' + scope.row.offerId)"
v-if=
"[1, 3, 7].indexOf(scope.row.status) > -1"
v-hasPermi=
"['ecw:offer:loglist']"
>
{{
$t
(
"
跟进
"
)
}}
</el-dropdown-item>
<el-dropdown-item
@
click.native=
"$router.push(`/offer/result?offerId=$
{scope.row.offerId}
&
number=${scope.row.number}`)" v-if="[3, 7].indexOf(scope.row.status) > -1" v-hasPermi="['ecw:offer:result']">
{{
$t
(
"
结果
"
)
}}
</el-dropdown-item>
<el-dropdown-item
@
click.native=
"$router.push('/offer/special?offerId=' + scope.row.offerId)"
v-if=
"[1, 3, 7].indexOf(scope.row.status) > -1"
v-hasPermi=
"['ecw:offer:discount', 'ecw:offer:commission']"
>
{{
$t
(
"
特价
"
)
}}
</el-dropdown-item>
<el-dropdown-item
@
click.native=
"cancel(scope.row.offerId)"
v-if=
"[1, 3, 7].indexOf(scope.row.status) > -1"
v-hasPermi=
"['ecw:offer:cancel']"
>
{{
$t
(
"
取消
"
)
}}
</el-dropdown-item>
...
...
@@ -394,7 +394,7 @@
</el-card>
</el-tab-pane>
<el-tab-pane
name=
"follow"
:label=
"$t('跟进')"
>
<log
ListCommon
ref=
"logList
Common"
:customerService=
"customer.customerService"
:customerNumber=
"customer.number"
v-if=
"activeName === 'follow'"
:customerId=
"id"
/>
<log
-list-customer-common
ref=
"logListCustomer
Common"
:customerService=
"customer.customerService"
:customerNumber=
"customer.number"
v-if=
"activeName === 'follow'"
:customerId=
"id"
/>
</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>
...
...
@@ -672,12 +672,12 @@
</div>
</el-dialog>
<customer-follow
ref=
"customerFollow"
v-if=
"customerFollowVisible"
@
close=
"customerFollowVisible = false"
:customer-id=
"id"
:customer-service=
"customer.customerService"
:customer-number=
"customer.number"
@
refresh=
"logListCommonRefresh"
/>
<customer-follow
ref=
"customerFollow"
v-if=
"customerFollowVisible"
@
close=
"customerFollowVisible = false"
:customer-id=
"id"
:customer-service=
"customer.customerService"
:customer-number=
"customer.number"
@
refresh=
"logListC
ustomerC
ommonRefresh"
/>
</div>
</template>
<
script
>
import
{
getCustomer
,
getCustomerSelect
,
getBrankByCustomer
,
levelLogPage
,
customerCreditLogPage
,
infoListOrderPage
,
orderStatistics
,
creditLogCreate
,
creditScoreStatistic
,
infoListReceiptPage
,
memberUserList
,
deleteCustomer
,
infoListStatisticsOrder
}
from
"
@/api/ecw/customer
"
import
{
getCustomer
,
getBrankByCustomer
,
levelLogPage
,
customerCreditLogPage
,
infoListOrderPage
,
orderStatistics
,
creditLogCreate
,
creditScoreStatistic
,
infoListReceiptPage
,
memberUserList
,
deleteCustomer
,
infoListStatisticsOrder
}
from
"
@/api/ecw/customer
"
import
{
getOfferPage
as
infoListOfferPage
}
from
"
@/api/ecw/offer
"
import
{
DICT_TYPE
,
getDictDataLabel
,
getDictDatas2
}
from
"
@/utils/dict
"
import
{
getProductTypeList
}
from
"
@/api/ecw/productType
"
...
...
@@ -695,25 +695,23 @@ import { getCurrencyList } from "@/api/ecw/currency"
import
customerLog
from
"
@/views/ecw/customer/customerLog.vue
"
import
{
checkPermi
}
from
"
@/utils/permission
"
import
ImageDisplay
from
"
@/views/ecw/order/components/imageDisplay.vue
"
import
{
getListTree
}
from
"
@/api/ecw/region
"
import
{
getWarehouseList
}
from
"
@/api/ecw/warehouse
"
import
{
deleteOffer
,
cancel
,
recovery
}
from
"
@/api/ecw/offer
"
import
logListCommon
from
"
@/views/ecw/offer/logListCommon
"
import
{
getTradeCityList
}
from
"
@/api/ecw/region
"
import
UserSelector
from
"
@/components/UserSelector
"
import
LogListCustomerCommon
from
"
@/views/ecw/offer/logListCustomerCommon.vue
"
;
export
default
{
name
:
"
query
"
,
components
:
{
LogListCustomerCommon
,
UserSelector
,
ImageDisplay
,
Template
,
CustomerFollow
,
CustomerComplaint
,
customerLog
,
logListCommon
customerLog
},
created
()
{
// 获取币种
...
...
@@ -1286,7 +1284,7 @@ export default {
this
.
getInfoListOfferPage
()
}
else
if
(
this
.
activeName
==
"
follow
"
)
{
this
.
followForm
.
pageNo
=
1
this
.
getCustomerFollowList
()
this
.
getCustomerFollow
up
List
()
}
},
getWarehouseList
()
{
...
...
@@ -1323,8 +1321,8 @@ export default {
this
.
handleQuery
()
})
},
logListCommonRefresh
()
{
this
.
$refs
.
logListC
ommon
&&
this
.
$refs
.
logList
Common
.
handleQuery
()
logListC
ustomerC
ommonRefresh
()
{
this
.
$refs
.
logListC
ustomerCommon
&&
this
.
$refs
.
logListCustomer
Common
.
handleQuery
()
}
}
}
...
...
src/views/ecw/offer/logListCommon.vue
View file @
cd44404a
...
...
@@ -129,7 +129,7 @@
</template>
<
script
>
import
{
getDataSpaceCustomerFollowupList
,
exportDataSpaceCustomerFollowup
}
from
"
@/api/ecw/customerFollow
"
import
{
get
CustomerFollowupList
,
get
DataSpaceCustomerFollowupList
,
exportDataSpaceCustomerFollowup
}
from
"
@/api/ecw/customerFollow
"
import
{
getDictDatas
,
DICT_TYPE
,
getDictDatas2
}
from
"
@/utils/dict
"
import
CustomerFollow
from
"
@/views/ecw/customer/components/customerFollow
"
import
UserSelector
from
"
@/components/UserSelector
"
...
...
src/views/ecw/offer/logListCustomerCommon.vue
0 → 100644
View file @
cd44404a
This diff is collapsed.
Click to expand it.
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