Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-appreciation
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 40e1842d
authored
Apr 29, 2024
by
zhangquan
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
更换接口
1 parent
63c6f5f7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
12 deletions
src/api/modules/rules.js
src/views/inSale/upgradeOrder.vue
src/api/modules/rules.js
View file @
40e1842
...
@@ -77,6 +77,11 @@ const exportUpgrade = () => {
...
@@ -77,6 +77,11 @@ const exportUpgrade = () => {
let
method
=
'dj.api.smartcarlife.goodsOrderProfitAllocation.shop.merchant.export'
let
method
=
'dj.api.smartcarlife.goodsOrderProfitAllocation.shop.merchant.export'
return
method
return
method
}
}
// 延保订单导出
const
exportInsurance
=
()
=>
{
let
method
=
'dj.api.smartcarlife.goodsOrderProfitAllocation.shop.merchant.exportNew'
return
method
}
// 我的分账导出
// 我的分账导出
const
exportMydivision
=
()
=>
{
const
exportMydivision
=
()
=>
{
let
method
=
'dj.smartcarlife.api.shop.order.division.export'
let
method
=
'dj.smartcarlife.api.shop.order.division.export'
...
@@ -137,4 +142,4 @@ const getMerchantList = params => {
...
@@ -137,4 +142,4 @@ const getMerchantList = params => {
sign
:
true
sign
:
true
})
})
}
}
export
{
getRulesData
,
getRulesListData
,
guestComTotal
,
isOpenUpgrade
,
isOpenInsurance
,
orderTotal
,
couponsTotal
,
couponsTotalByDay
,
moneyTotal
,
findCoupons
,
findupGradeOrder
,
newFindupGradeOrder
,
checkCoupons
,
mydivision
,
exportMydivision
,
exportUpgrade
,
exportCoupons
,
getEmployName
,
checkDetail
,
orderTotalOfJT
,
orderTotalNumOfJT
,
myAccountTotalNumOfJT
,
get4SList
,
introConpute
,
getMerchantList
}
export
{
getRulesData
,
getRulesListData
,
guestComTotal
,
isOpenUpgrade
,
isOpenInsurance
,
orderTotal
,
couponsTotal
,
couponsTotalByDay
,
moneyTotal
,
findCoupons
,
findupGradeOrder
,
newFindupGradeOrder
,
checkCoupons
,
mydivision
,
exportMydivision
,
exportUpgrade
,
export
Insurance
,
export
Coupons
,
getEmployName
,
checkDetail
,
orderTotalOfJT
,
orderTotalNumOfJT
,
myAccountTotalNumOfJT
,
get4SList
,
introConpute
,
getMerchantList
}
src/views/inSale/upgradeOrder.vue
View file @
40e1842
...
@@ -197,7 +197,7 @@
...
@@ -197,7 +197,7 @@
</template>
</template>
<
script
>
<
script
>
import
{
findupGradeOrder
,
newFindupGradeOrder
,
exportUpgrade
,
checkDetail
,
orderTotalNumOfJT
,
getMerchantList
}
from
'../../api/modules/rules'
import
{
findupGradeOrder
,
newFindupGradeOrder
,
exportUpgrade
,
exportInsurance
,
checkDetail
,
orderTotalNumOfJT
,
getMerchantList
}
from
'../../api/modules/rules'
import
{
converterApi
}
from
'../../api/modules/converter'
import
{
converterApi
}
from
'../../api/modules/converter'
import
utils
from
'../../util/util'
import
utils
from
'../../util/util'
const
logTypeList
=
[
'预录用户'
,
'用户下单'
,
'用户付款'
,
'完成服务'
]
const
logTypeList
=
[
'预录用户'
,
'用户下单'
,
'用户付款'
,
'完成服务'
]
...
@@ -1119,23 +1119,24 @@ export default {
...
@@ -1119,23 +1119,24 @@ export default {
})
})
},
},
toExport
()
{
toExport
()
{
const
showCoulumList
=
this
.
tableCoulumList
.
map
(
item
=>
item
.
value
)
let
hiddenColumnList
=
[]
let
hiddenColumnList
=
[]
this
.
fieldList
.
forEach
(
item
=>
{
if
(
this
.
pageName
==
'insurance'
)
{
if
(
!
showCoulumList
.
includes
(
item
.
value
))
{
const
showCoulumList
=
this
.
tableCoulumList
.
map
(
item
=>
item
.
value
)
hiddenColumnList
.
push
(
item
.
enumId
)
this
.
fieldList
.
forEach
(
item
=>
{
}
if
(
!
showCoulumList
.
includes
(
item
.
value
))
{
}
)
hiddenColumnList
.
push
(
item
.
enumId
)
if
(
this
.
pageName
!=
'insurance'
)
{
}
hiddenColumnList
.
push
(
'packageProfitAllocationRule'
)
//金品升级进来的过滤了套餐规则,这里要加上
})
}
}
let
method
=
exportUpgrade
()
let
method
=
this
.
pageName
==
'insurance'
?
exportInsurance
()
:
exportUpgrade
()
let
para
=
{
let
para
=
{
routerMethod
:
method
,
routerMethod
:
method
,
...
this
.
httpParam
,
...
this
.
httpParam
,
hiddenColumnList
,
sceneType
:
this
.
pageName
==
'insurance'
?
0
:
1
sceneType
:
this
.
pageName
==
'insurance'
?
0
:
1
}
}
if
(
this
.
pageName
==
'insurance'
)
{
para
.
hiddenColumnList
=
hiddenColumnList
}
converterApi
(
para
).
then
(
res
=>
{
converterApi
(
para
).
then
(
res
=>
{
let
tempaa
=
utils
.
getExplorer
()
let
tempaa
=
utils
.
getExplorer
()
if
(
tempaa
==
'QQ'
)
{
if
(
tempaa
==
'QQ'
)
{
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment