Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-life-system
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 524b4d2d
authored
Aug 12, 2022
by
wangql
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
提交v4.10.0功能代码
1 parent
744c16a3
Hide whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
493 additions
and
201 deletions
src/api/order.js
src/api/sys.base.js
src/views/customer/customerList.vue
src/views/financeManage/account/offlineAccountList.vue
src/views/financeManage/account/onlineAccountList.vue
src/views/financeManage/account/serviceAccount/serviceOfflineList.vue
src/views/financeManage/account/serviceAccount/serviceOnlineList.vue
src/views/financeManage/downloadAccountDialog.vue
src/views/financeManage/financeList.vue
src/views/financeManage/serviceFinanceList.vue
src/views/goods/commodity.vue
src/views/goods/coupons/index.vue
src/views/goods/product.vue
src/views/index/components/reportDownloads.vue
src/views/orderManage/orderDetail.vue
src/views/orderManage/orderList.vue
src/views/orderManage/orderSupplement.vue
src/views/orderManage/signRefundDialog.vue
src/api/order.js
View file @
524b4d2
...
...
@@ -56,3 +56,9 @@ export function downloadTemplate(data) {
data
.
method
=
`
${
path2
}
order.downloadTemplate`
return
request
(
data
,
'post'
)
}
// 订单退款
export
function
markAsRefunded
(
data
)
{
data
.
method
=
`
${
path2
}
goodsOrder.markAsRefunded`
return
request
(
data
,
'post'
)
}
src/api/sys.base.js
View file @
524b4d2
...
...
@@ -63,6 +63,7 @@ export function commonConfigApi(data) {
// Excel异步导出
export
function
asyncExportEecel
(
data
)
{
data
.
method
=
`
${
path
}
common.async.exportExcel`
return
request
(
data
,
RequestMethods
.
POST
)
}
// 获取Excel异步导出查询导出结果
...
...
src/views/customer/customerList.vue
View file @
524b4d2
<!-- 客户列表 -->
<
template
>
<d2-container
class=
"customer-list"
>
<div
class=
"header"
slot=
"header"
>
<d2-search
ref=
"showSearch"
class=
"show-search"
:searchForm=
"searchForm"
:formData=
"showFormData"
>
<div
class=
"header"
slot=
"header"
>
<d2-search
ref=
"showSearch"
class=
"show-search"
:searchForm=
"searchForm"
:formData=
"showFormData"
>
</d2-search>
<div
class=
"up-btns"
>
<el-button
size=
"small"
type=
"primary"
@
click=
"handleSearch"
>
查询
</el-button>
<el-button
size=
"small"
@
click=
"handleReset"
>
重置
</el-button>
<el-button
size=
"small"
type=
"primary"
@
click=
"handleSearch"
>
查询
</el-button>
<el-button
size=
"small"
@
click=
"handleReset"
>
重置
</el-button>
</div>
</div>
<div
class=
"d2-container-content"
>
...
...
@@ -30,127 +22,98 @@
<auth-button
category=
"Button"
></auth-button>
</d2-table-header>
<el-table
:data=
"tableData"
>
<el-table-column
label=
"序号"
width=
"60px"
type=
'index'
align=
"center"
></el-table-column>
<el-table-column
label=
"序号"
width=
"60px"
type=
'index'
align=
"center"
></el-table-column>
<el-table-column
label=
"客户信息"
>
<el-table-column
label=
"客户姓名"
prop=
"customerName"
align=
"center"
></el-table-column>
<el-table-column
label=
"性别"
align=
"center"
>
<el-table-column
label=
"客户姓名"
prop=
"customerName"
align=
"center"
></el-table-column>
<el-table-column
label=
"性别"
align=
"center"
>
<template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
customerSex
===
1
?
'男'
:
'女'
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"品牌车型"
align=
"center"
width=
"150px"
>
<el-table-column
label=
"品牌车型"
align=
"center"
width=
"150px"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
carBrand
||
''
}}{{
scope
.
row
.
carSeriesName
?
(
'-'
+
scope
.
row
.
carSeriesName
)
:
''
}}{{
scope
.
row
.
carTypeName
?
(
'-'
+
scope
.
row
.
carTypeName
)
:
''
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"车架号"
align=
"center"
prop=
"standNo"
></el-table-column>
<el-table-column
label=
"客户状态"
align=
"center"
>
<el-table-column
label=
"车架号"
align=
"center"
prop=
"standNo"
></el-table-column>
<el-table-column
label=
"客户状态"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<!--
<span
class=
"red"
v-if=
"customerStatusObj[1].includes(scope.row.status)"
>
未完成
</span>
<span
v-else
>
已完成
</span>
-->
<span
:class=
"
{ 'red': scope.row.status === 1 }">
{{
baseData
.
customerStatusList
.
find
(
item
=>
item
.
confId
==
scope
.
row
.
status
).
confLabel
}}
</span>
<span
:class=
"
{ 'red': scope.row.status === 1 }">
{{
baseData
.
customerStatusList
.
find
(
item
=>
item
.
confId
==
scope
.
row
.
status
).
confLabel
}}
</span>
<!--
<span>
{{
scope
.
row
.
status
}}
</span>
-->
</
template
>
</el-table-column>
<el-table-column
label=
"服务时间"
align=
"center"
>
<el-table-column
label=
"服务时间"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
order
?
(
!
scope
.
row
.
order
.
installUpgradeTime
?
''
:
new
Date
(
scope
.
row
.
order
.
installUpgradeTime
).
toLocaleDateString
())
:
''
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"备注信息"
align=
"center"
prop=
"order.remark"
>
<el-table-column
label=
"备注信息"
align=
"center"
prop=
"order.remark"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
order
?
(
scope
.
row
.
order
.
upgradeFlag
===
'N'
?
(
scope
.
row
.
order
.
customer
?
(
scope
.
row
.
order
.
customer
.
refusalReason
||
'无'
)
:
'无'
)
:
(
scope
.
row
.
order
.
remark
||
'无'
))
:
'无'
}}
</span>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"关联信息"
>
<el-table-column
label=
"流量来源"
align=
"center"
prop=
"merchantName"
width=
"170"
></el-table-column>
<el-table-column
label=
"推荐人"
align=
"center"
prop=
"employeeName"
>
<el-table-column
label=
"流量来源"
align=
"center"
prop=
"merchantName"
width=
"170"
></el-table-column>
<el-table-column
label=
"推荐人"
align=
"center"
prop=
"employeeName"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
order
?
scope
.
row
.
order
.
employeeName
:
''
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"园区店"
align=
"center"
prop=
"yqMerchantName"
width=
"170px"
></el-table-column>
<el-table-column
label=
"转化专员"
align=
"center"
prop=
"order.sellerName"
></el-table-column>
<el-table-column
label=
"园区店"
align=
"center"
prop=
"yqMerchantName"
width=
"170px"
></el-table-column>
<el-table-column
label=
"转化专员"
align=
"center"
prop=
"order.sellerName"
></el-table-column>
</el-table-column>
<el-table-column
label=
"创建时间"
align=
"center"
>
<el-table-column
label=
"创建时间"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<span>
{{
new
Date
(
scope
.
row
.
createdDate
).
toLocaleDateString
()
}}
</span>
</
template
></el-table-column>
<el-table-column
label=
"创建方式"
align=
"center"
prop=
"source"
>
<el-table-column
label=
"创建方式"
align=
"center"
prop=
"source"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
order
?
(
scope
.
row
.
order
.
source
===
3
?
'现场升级'
:
(
scope
.
row
.
order
.
source
===
5
?
'核销抵扣'
:
'系统录入'
)):
(
scope
.
row
.
source
===
3
?
'现场升级'
:
(
scope
.
row
.
source
===
5
?
'核销抵扣'
:
'系统录入'
))
}}
</span>
</
template
>
</el-table-column>
</el-table>
<el-pagination
background
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
:current-page=
"page.pageNum"
:page-sizes=
"[10,20,30,40]"
:page-size=
"page.pageSize"
:total=
"total"
layout=
"sizes,total,->,prev,pager,next,jumper"
>
<el-pagination
background
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
:current-page=
"page.pageNum"
:page-sizes=
"[10,20,30,40]"
:page-size=
"page.pageSize"
:total=
"total"
layout=
"sizes,total,->,prev,pager,next,jumper"
>
</el-pagination>
</div>
</d2-container>
...
...
@@ -159,6 +122,8 @@
<
script
>
import
{
getList
,
exportFile
,
orderCount
}
from
'@api/customerList'
import
{
getServiceStore
,
getParkStore
}
from
'@api/editCustomer'
import
{
asyncExportEecel
}
from
'@api/sys.base'
import
{
mapActions
,
mapState
}
from
'vuex'
export
default
{
name
:
'index'
,
data
()
{
...
...
@@ -294,6 +259,12 @@ export default {
}
},
computed
:
{
...
mapState
({
'dowloadList'
:
(
state
)
=>
state
.
d2admin
.
user
.
dowloadList
})
},
mounted
()
{
if
(
this
.
userInfo
.
beSuper
)
{
getParkStore
({}).
then
(
res
=>
{
...
...
@@ -312,6 +283,7 @@ export default {
},
methods
:
{
...
mapActions
(
'd2admin/user'
,
[
'actionSetDownloadList'
]),
getParams
()
{
var
params
=
{
merchantId
:
this
.
searchForm
.
merchantId
,
...
...
@@ -410,8 +382,20 @@ export default {
handleExport
()
{
var
params
=
this
.
getParams
()
params
.
pageNum
=
1
exportFile
(
params
).
then
(
res
=>
{
this
.
$open
(
res
)
params
.
method
=
'dj.api.customer.exportExcel'
// exportFile(params).then(res => {
// this.$open(res)
// })
asyncExportEecel
({
exportParam
:
JSON
.
stringify
(
params
)
}).
then
(
res
=>
{
const
list
=
[
...
this
.
dowloadList
,
{
name
:
'客户列表'
,
uuid
:
JSON
.
parse
(
res
).
data
,
ifSuccess
:
false
,
}
]
this
.
actionSetDownloadList
({
list
,
type
:
'dowloadList'
})
})
}
}
...
...
src/views/financeManage/account/offlineAccountList.vue
View file @
524b4d2
...
...
@@ -159,11 +159,12 @@
<
script
>
import
_
from
'lodash'
import
{
Util
}
from
'@/common/util'
import
{
mapActions
}
from
'vuex'
import
{
mapActions
,
mapState
}
from
'vuex'
import
{
getParkStore
}
from
'@api/editCustomer'
import
{
getListApi
,
getCountApi
,
exportApi
}
from
'@/api/account'
import
{
getPlatformMerchantList
}
from
'@api/index'
import
{
orderTypeList
}
from
'@/common/constants.js'
import
{
asyncExportEecel
}
from
'@api/sys.base'
export
default
{
name
:
'offlineAccountList'
,
data
()
{
...
...
@@ -246,6 +247,12 @@ export default {
}
},
computed
:
{
...
mapState
({
'dowloadList'
:
(
state
)
=>
state
.
d2admin
.
user
.
dowloadList
})
},
mounted
()
{
// this.searchForm.successDate = getCurrentSixMonth()
this
.
userInfo
.
beSuper
&&
getParkStore
({}).
then
(
res
=>
{
...
...
@@ -271,6 +278,7 @@ export default {
get
:
'd2admin/base/get'
,
close
:
'd2admin/page/close'
}),
...
mapActions
(
'd2admin/user'
,
[
'actionSetDownloadList'
]),
getOptionsList
()
{
this
.
showFormData
.
forEach
((
item
,
index
)
=>
{
...
...
@@ -380,8 +388,21 @@ export default {
handleExport
()
{
var
params
=
this
.
getParams
()
exportApi
(
params
).
then
(
res
=>
{
this
.
$open
(
res
)
// exportApi(params).then(res => {
// this.$open(res)
// })
params
.
method
=
'dj.api.smartcarlife.orderDivision.export'
asyncExportEecel
({
exportParam
:
JSON
.
stringify
(
params
)
}).
then
(
res
=>
{
const
list
=
[
...
this
.
dowloadList
,
{
name
:
'分账列表-线下分账(超管/园区店)'
,
uuid
:
JSON
.
parse
(
res
).
data
,
ifSuccess
:
false
,
}
]
this
.
actionSetDownloadList
({
list
,
type
:
'dowloadList'
})
this
.
handleClose
()
})
}
}
...
...
src/views/financeManage/account/onlineAccountList.vue
View file @
524b4d2
...
...
@@ -177,11 +177,12 @@
<
script
>
import
_
from
'lodash'
import
{
Util
}
from
'@/common/util'
import
{
mapActions
}
from
'vuex'
import
{
mapActions
,
mapState
}
from
'vuex'
import
{
getParkStore
}
from
'@api/editCustomer'
import
{
divisionStatusList
,
orderTypeList
}
from
'@/common/constants.js'
import
{
getListApi
,
getCountApi
,
exportApi
}
from
'@/api/account'
import
{
getPlatformMerchantList
}
from
'@api/index'
import
{
asyncExportEecel
}
from
'@api/sys.base'
export
default
{
name
:
'onlineAccountList'
,
data
()
{
...
...
@@ -295,6 +296,12 @@ export default {
}
},
computed
:
{
...
mapState
({
'dowloadList'
:
(
state
)
=>
state
.
d2admin
.
user
.
dowloadList
})
},
mounted
()
{
// this.searchForm.divisionDate = getCurrentSixMonth()
this
.
userInfo
.
beSuper
&&
getParkStore
({}).
then
(
res
=>
{
...
...
@@ -321,6 +328,7 @@ export default {
get
:
'd2admin/base/get'
,
close
:
'd2admin/page/close'
}),
...
mapActions
(
'd2admin/user'
,
[
'actionSetDownloadList'
]),
getOptionsList
()
{
this
.
showFormData
.
forEach
((
item
,
index
)
=>
{
...
...
@@ -440,8 +448,22 @@ export default {
handleExport
()
{
var
params
=
this
.
getParams
()
exportApi
(
params
).
then
(
res
=>
{
this
.
$open
(
res
)
// exportApi(params).then(res => {
// this.$open(res)
// })
params
.
method
=
'dj.api.smartcarlife.orderDivision.export'
asyncExportEecel
({
exportParam
:
JSON
.
stringify
(
params
)
}).
then
(
res
=>
{
const
list
=
[
...
this
.
dowloadList
,
{
name
:
'分账列表-线上分账(超管/园区店)'
,
uuid
:
JSON
.
parse
(
res
).
data
,
ifSuccess
:
false
,
}
]
this
.
actionSetDownloadList
({
list
,
type
:
'dowloadList'
})
this
.
handleClose
()
})
}
}
...
...
src/views/financeManage/account/serviceAccount/serviceOfflineList.vue
View file @
524b4d2
...
...
@@ -36,11 +36,12 @@
</
template
>
<
script
>
import
{
mapActions
}
from
'vuex'
import
{
mapActions
,
mapState
}
from
'vuex'
import
{
Util
}
from
'@/common/util'
// import { divisionTypeList } from '@/common/constants.js'
// getSeviceCountApi, getSeviceListApi, exportSeviceApi,
import
{
getPartnerYqListApi
,
getSeviceList
,
getSeviceCount
,
getSeviceExport
}
from
'@/api/account'
import
{
asyncExportEecel
}
from
'@api/sys.base'
export
default
{
name
:
'serviceOfflineList'
,
data
()
{
...
...
@@ -165,6 +166,12 @@ export default {
}
},
computed
:
{
...
mapState
({
'dowloadList'
:
(
state
)
=>
state
.
d2admin
.
user
.
dowloadList
})
},
mounted
()
{
this
.
getCount
()
getPartnerYqListApi
({}).
then
(
res
=>
{
...
...
@@ -177,6 +184,7 @@ export default {
...
mapActions
({
close
:
'd2admin/page/close'
}),
...
mapActions
(
'd2admin/user'
,
[
'actionSetDownloadList'
]),
handleAccTypeChange
(
value
)
{
(
value
!==
'2'
)
&&
(
this
.
searchForm
.
divisionStatus
=
''
)
...
...
@@ -262,8 +270,22 @@ export default {
handleExport
()
{
var
params
=
this
.
getParams
()
// exportSeviceApi(params).then(res => {
getSeviceExport
(
params
).
then
(
res
=>
{
this
.
$open
(
res
)
// getSeviceExport(params).then(res => {
// this.$open(res)
// })
params
.
method
=
'dj.api.smartcarlife.sevicerOrderDivision.export'
asyncExportEecel
({
exportParam
:
JSON
.
stringify
(
params
)
}).
then
(
res
=>
{
const
list
=
[
...
this
.
dowloadList
,
{
name
:
'分账列表-线下分账(服务商)'
,
uuid
:
JSON
.
parse
(
res
).
data
,
ifSuccess
:
false
,
}
]
this
.
actionSetDownloadList
({
list
,
type
:
'dowloadList'
})
this
.
handleClose
()
})
}
}
...
...
src/views/financeManage/account/serviceAccount/serviceOnlineList.vue
View file @
524b4d2
...
...
@@ -78,13 +78,12 @@
</template>
<
script
>
import
{
mapActions
}
from
'vuex'
import
{
mapActions
,
mapState
}
from
'vuex'
import
{
Util
}
from
'@/common/util'
import
cashDialog
from
'./cashDialog'
import
{
divisionStatusList
}
from
'@/common/constants.js'
// import { getPartnerYqListApi } from '@api/editCustomer'
// exportSeviceApi getSeviceListApi, getSeviceCountApi,
import
{
getBankBalanceApi
,
getPartnerYqListApi
,
getSeviceList
,
getSeviceCount
,
getSeviceExport
}
from
'@/api/account'
import
{
asyncExportEecel
}
from
'@api/sys.base'
export
default
{
name
:
'serviceOnlineList'
,
data
()
{
...
...
@@ -255,6 +254,12 @@ export default {
cashDialog
},
computed
:
{
...
mapState
({
'dowloadList'
:
(
state
)
=>
state
.
d2admin
.
user
.
dowloadList
})
},
mounted
()
{
this
.
getCount
()
// this.getBankBalance()
...
...
@@ -268,6 +273,7 @@ export default {
...
mapActions
({
close
:
'd2admin/page/close'
}),
...
mapActions
(
'd2admin/user'
,
[
'actionSetDownloadList'
]),
handleAccTypeChange
(
value
)
{
(
value
!==
'2'
)
&&
(
this
.
searchForm
.
divisionStatus
=
''
)
...
...
@@ -382,8 +388,22 @@ export default {
handleExport
()
{
var
params
=
this
.
getParams
()
// exportSeviceApi(params).then(res => {
getSeviceExport
(
params
).
then
(
res
=>
{
this
.
$open
(
res
)
// getSeviceExport(params).then(res => {
// this.$open(res)
// })
params
.
method
=
'dj.api.smartcarlife.sevicerOrderDivision.export'
asyncExportEecel
({
exportParam
:
JSON
.
stringify
(
params
)
}).
then
(
res
=>
{
const
list
=
[
...
this
.
dowloadList
,
{
name
:
'分账列表-线上分账(服务商)'
,
uuid
:
JSON
.
parse
(
res
).
data
,
ifSuccess
:
false
,
}
]
this
.
actionSetDownloadList
({
list
,
type
:
'dowloadList'
})
this
.
handleClose
()
})
}
}
...
...
src/views/financeManage/downloadAccountDialog.vue
View file @
524b4d2
...
...
@@ -89,7 +89,9 @@ import {
import
dayjs
from
'dayjs'
import
*
as
api
from
'@api/finance'
import
{
getMerchantPageSearch
}
from
'@api/publicAccount'
// import { getMerchantList } from '@api/serviceManage'
import
{
asyncExportEecel
}
from
'@api/sys.base'
import
{
mapActions
,
mapState
}
from
'vuex'
import
qs
from
'qs'
export
default
{
name
:
'downloadAccountDialog'
,
data
()
{
...
...
@@ -181,11 +183,18 @@ export default {
},
components
:
{},
computed
:
{
...
mapState
({
'dowloadList'
:
(
state
)
=>
state
.
d2admin
.
user
.
dowloadList
})
},
mounted
()
{
this
.
selectMerchant
()
},
methods
:
{
...
mapActions
(
'd2admin/user'
,
[
'actionSetDownloadList'
]),
selectMerchant
()
{
var
params
=
{}
params
.
currentPage
=
1
...
...
@@ -272,10 +281,35 @@ export default {
if
(
infoForm
.
merchantType
==
'7'
)
{
params
.
reportType
=
infoForm
.
reportType
}
console
.
log
(
params
)
api
.
exportAccountStatement
(
params
).
then
(
res
=>
{
window
.
location
.
href
=
res
// api.exportAccountStatement(params).then(res => {
// window.location.href = res
// this.handleClose()
// })
params
.
method
=
'dj.api.smartcarlife.goodsOrderProfitAllocation.exportAccountStatement'
// params.merchantList = qs.stringify({ merchantList: params.merchantList }, {
// arrayFormat: 'indices',
// allowDots: true,
// encodeValuesOnly: true
// })
console
.
log
(
params
);
var
objStr
=
qs
.
stringify
(
params
,
{
arrayFormat
:
'indices'
,
allowDots
:
true
,
encodeValuesOnly
:
true
})
asyncExportEecel
({
exportParam
:
objStr
}).
then
(
res
=>
{
const
list
=
[
...
this
.
dowloadList
,
{
name
:
'对账单'
,
uuid
:
JSON
.
parse
(
res
).
data
,
ifSuccess
:
false
,
}
]
this
.
actionSetDownloadList
({
list
,
type
:
'dowloadList'
})
this
.
handleClose
()
})
}
...
...
src/views/financeManage/financeList.vue
View file @
524b4d2
...
...
@@ -555,7 +555,7 @@ import * as api from '@api/finance'
import
{
getTransferData
,
getPlatformMerchantList
}
from
'@api/index'
import
funnelOption
from
'../index/funnelOption'
import
{
getServiceStore
,
getParkStore
}
from
'@api/editCustomer'
import
{
mapActions
}
from
'vuex'
import
{
mapActions
,
mapState
}
from
'vuex'
import
{
divisionTypeList
,
payTypeList
,
...
...
@@ -565,6 +565,7 @@ import {
import
downloadAccountDialog
from
'./downloadAccountDialog'
import
warehouseDetail
from
'./warehouseDetail'
import
*
as
echarts
from
'echarts'
import
{
asyncExportEecel
}
from
'@api/sys.base'
export
default
{
name
:
'financeList'
,
components
:
{
...
...
@@ -755,6 +756,12 @@ export default {
}
},
computed
:
{
...
mapState
({
'dowloadList'
:
(
state
)
=>
state
.
d2admin
.
user
.
dowloadList
})
},
mounted
()
{
// console.log(document.getElementById('financeChart'))
if
(
this
.
userInfo
.
beSuper
)
{
...
...
@@ -798,6 +805,7 @@ export default {
},
methods
:
{
...
mapActions
({
close
:
'd2admin/page/close'
}),
...
mapActions
(
'd2admin/user'
,
[
'actionSetDownloadList'
]),
handleAddClose
(
isRefresh
=
false
)
{
},
drawFunnelChart
()
{
// console.log(funnelOption)
...
...
@@ -838,9 +846,22 @@ export default {
handleExport
()
{
var
params
=
this
.
getParams
()
params
.
currentPage
=
1
api
.
exportFile
(
params
).
then
(
res
=>
{
// window.open(res, '_blank')
this
.
$open
(
res
)
// api.exportFile(params).then(res => {
// // window.open(res, '_blank')
// this.$open(res)
// })
params
.
method
=
'dj.api.smartcarlife.goodsOrderProfitAllocation.export'
asyncExportEecel
({
exportParam
:
JSON
.
stringify
(
params
)
}).
then
(
res
=>
{
const
list
=
[
...
this
.
dowloadList
,
{
name
:
'合并导出'
,
uuid
:
JSON
.
parse
(
res
).
data
,
ifSuccess
:
false
,
}
]
this
.
actionSetDownloadList
({
list
,
type
:
'dowloadList'
})
})
},
// 下载对账单
...
...
src/views/financeManage/serviceFinanceList.vue
View file @
524b4d2
...
...
@@ -443,9 +443,10 @@ import warehouseDetail from './warehouseDetail'
import
{
exportFile
,
getListTotal
,
getServicerefApi
,
getServiceSummaryApi
,
getList
}
from
'@api/finance'
import
{
getPartnerYqListApi
}
from
'@/api/account'
import
{
getServiceStore
}
from
'@api/editCustomer'
import
{
mapActions
}
from
'vuex'
import
{
mapActions
,
mapState
}
from
'vuex'
import
{
divisionTypeList
,
payTypeList
}
from
'@/common/constants.js'
import
*
as
echarts
from
'echarts'
import
{
asyncExportEecel
}
from
'@api/sys.base'
export
default
{
name
:
'serviceFinanceList'
,
data
()
{
...
...
@@ -630,6 +631,12 @@ export default {
// captchaInput
},
computed
:
{
...
mapState
({
'dowloadList'
:
(
state
)
=>
state
.
d2admin
.
user
.
dowloadList
})
},
mounted
()
{
this
.
getList
()
...
...
@@ -654,6 +661,7 @@ export default {
},
methods
:
{
...
mapActions
({
close
:
'd2admin/page/close'
}),
...
mapActions
(
'd2admin/user'
,
[
'actionSetDownloadList'
]),
handleAddClose
(
isRefresh
=
false
)
{
},
...
...
@@ -699,9 +707,22 @@ export default {
handleExport
()
{
var
params
=
this
.
getParams
()
params
.
pageNum
=
1
exportFile
(
params
).
then
(
res
=>
{
// window.open(res, '_blank')
this
.
$open
(
res
)
// exportFile(params).then(res => {
// // window.open(res, '_blank')
// this.$open(res)
// })
params
.
method
=
'dj.api.smartcarlife.goodsOrderProfitAllocation.export'
asyncExportEecel
({
exportParam
:
JSON
.
stringify
(
params
)
}).
then
(
res
=>
{
const
list
=
[
...
this
.
dowloadList
,
{
name
:
'合并导出'
,
uuid
:
JSON
.
parse
(
res
).
data
,
ifSuccess
:
false
,
}
]
this
.
actionSetDownloadList
({
list
,
type
:
'dowloadList'
})
})
},
// 查看明细
...
...
src/views/goods/commodity.vue
View file @
524b4d2
...
...
@@ -97,10 +97,11 @@ import { getList, exportBaseList, baseGoodsUpOrDown, baseGoodsDelete, baseGoodsU
import
{
getParkStore
}
from
'@api/editCustomer'
import
{
BaseData
,
brandMerchantList
}
from
'@/common/constants.js'
import
{
exportJsonToExcel
}
from
'@/common/Export2Excel.js'
import
{
mapActions
}
from
'vuex'
import
{
mapActions
,
mapState
}
from
'vuex'
import
_
from
'lodash'
import
storeDetail
from
'./storeDetail'
import
drawerDetail
from
'./drawerDetail'
import
{
asyncExportEecel
}
from
'@api/sys.base'
export
default
{
name
:
'commodity'
,
data
()
{
...
...
@@ -308,6 +309,12 @@ export default {
drawerDetail
},
computed
:
{
...
mapState
({
'dowloadList'
:
(
state
)
=>
state
.
d2admin
.
user
.
dowloadList
})
},
mounted
()
{
const
$store
=
this
.
$store
.
getters
[
'd2admin/auth/curBtns'
]
console
.
log
(
$store
)
...
...
@@ -333,6 +340,7 @@ export default {
get
:
'd2admin/base/get'
,
close
:
'd2admin/page/close'
}),
...
mapActions
(
'd2admin/user'
,
[
'actionSetDownloadList'
]),
async
getBaseData
()
{
this
.
baseData
.
productTypeList
=
_
.
cloneDeep
(
await
this
.
get
(
BaseData
.
productType
))
this
.
baseData
.
productTypeList
.
unshift
({
...
...
@@ -393,13 +401,27 @@ export default {
})
},
handleExport
()
{
const
tHeader
=
[
'序号'
,
'商品ID'
,
'商品名称'
,
'分类'
,
'绑定商品数(件)'
,
'分配门店数(家)'
,
'园区店名称'
,
'创建时间'
,
'审核时间'
,
'审核状态'
,
'状态'
]
const
fieldVal
=
[
'index'
,
'goodsCode'
,
'goodsName'
,
'goodsTypeName'
,
'upgradeGoodsNum'
,
'merchantNum'
,
'yqMerchantNames'
,
'createdDate'
,
'reviewDate'
,
'reviewStatus'
,
'status'
]
exportBaseList
(
this
.
searchForm
).
then
(
res
=>
{
require
.
ensure
([],
()
=>
{
const
data
=
this
.
formatJson
(
fieldVal
,
res
)
exportJsonToExcel
(
tHeader
,
data
,
'基础商品列表'
)
})
// const tHeader = ['序号', '商品ID', '商品名称', '分类', '绑定商品数(件)', '分配门店数(家)', '园区店名称', '创建时间', '审核时间', '审核状态', '状态']
// const fieldVal = ['index', 'goodsCode', 'goodsName', 'goodsTypeName', 'upgradeGoodsNum', 'merchantNum', 'yqMerchantNames', 'createdDate', 'reviewDate', 'reviewStatus', 'status']
// exportBaseList(this.searchForm).then(res => {
// require.ensure([], () => {
// const data = this.formatJson(fieldVal, res)
// exportJsonToExcel(tHeader, data, '基础商品列表')
// })
// })
var
params
=
this
.
searchForm
params
.
method
=
'dj.api.basegoods.export'
asyncExportEecel
({
exportParam
:
JSON
.
stringify
(
params
)
}).
then
(
res
=>
{
const
list
=
[
...
this
.
dowloadList
,
{
name
:
'基础商品列表'
,
uuid
:
JSON
.
parse
(
res
).
data
,
ifSuccess
:
false
,
}
]
this
.
actionSetDownloadList
({
list
,
type
:
'dowloadList'
})
})
},
formatJson
(
filterVal
,
jsonData
)
{
...
...
src/views/goods/coupons/index.vue
View file @
524b4d2
...
...
@@ -47,6 +47,8 @@ import storeList from './storeList'
import
couponsDetail
from
'./couponsDetail'
import
editCouponsDialog
from
'./editCouponsDialog'
import
{
exportListApi
,
exportDetailListApi
}
from
'@api/coupons'
import
{
asyncExportEecel
}
from
'@api/sys.base'
import
{
mapActions
,
mapState
}
from
'vuex'
export
default
{
name
:
'coupons'
,
data
()
{
...
...
@@ -80,9 +82,16 @@ export default {
editCouponsDialog
},
computed
:
{
...
mapState
({
'dowloadList'
:
(
state
)
=>
state
.
d2admin
.
user
.
dowloadList
})
},
mounted
()
{
},
methods
:
{
...
mapActions
(
'd2admin/user'
,
[
'actionSetDownloadList'
]),
handleSearch
()
{
// console.log(this.activeName)
this
.
$refs
[
this
.
activeName
].
keyDowmGetList
()
...
...
@@ -95,19 +104,46 @@ export default {
}
},
handleExport
()
{
this
.
activeName
===
'storeList'
?
exportListApi
({
...
this
.
parentSearchForm
,
currentPage
:
1
}).
then
(
res
=>
{
this
.
$open
(
res
)
})
:
exportDetailListApi
({
...
this
.
parentSearchForm
,
currentPage
:
1
}).
then
(
res
=>
{
this
.
$open
(
res
)
})
// this.activeName === 'storeList'
// ? exportListApi({
// ...this.parentSearchForm,
// currentPage: 1
// }).then(res => {
// this.$open(res)
// })
// : exportDetailListApi({
// ...this.parentSearchForm,
// currentPage: 1
// }).then(res => {
// this.$open(res)
// })
var
method
=
this
.
activeName
===
'storeList'
?
'dj.api.life.merchant.coupon.exportExcel'
:
'dj.api.life.customer.coupon.exportExcel'
var
params
=
{
...
this
.
parentSearchForm
,
currentPage
:
1
,
method
:
method
}
console
.
log
(
params
);
asyncExportEecel
({
exportParam
:
JSON
.
stringify
(
params
)
}).
then
(
res
=>
{
const
list
=
[
...
this
.
dowloadList
,
{
name
:
this
.
activeName
===
'storeList'
?
'店面列表'
:
'领用明细'
,
uuid
:
JSON
.
parse
(
res
).
data
,
ifSuccess
:
false
,
}
]
this
.
actionSetDownloadList
({
list
,
type
:
'dowloadList'
})
})
},
handleAdd
()
{
this
.
couponsVisible
=
!
this
.
couponsVisible
...
...
src/views/goods/product.vue
View file @
524b4d2
...
...
@@ -57,7 +57,8 @@
import
_
from
'lodash'
import
{
getList
,
deleteGoods
,
checkDeleteGoods
,
exportGoodsList
}
from
'@api/product'
import
{
BaseData
,
brandMerchantList
}
from
'@/common/constants.js'
import
{
mapActions
}
from
'vuex'
import
{
asyncExportEecel
}
from
'@api/sys.base'
import
{
mapActions
,
mapState
}
from
'vuex'
// import { exportJsonToExcel } from '@/common/Export2Excel.js'
export
default
{
name
:
'product'
,
...
...
@@ -165,6 +166,12 @@ export default {
}
},
computed
:
{
...
mapState
({
'dowloadList'
:
(
state
)
=>
state
.
d2admin
.
user
.
dowloadList
})
},
mounted
()
{
this
.
baseData
.
brandList
=
_
.
cloneDeep
(
brandMerchantList
)
var
allOpt
=
{
confId
:
''
,
confValue
:
'全部'
}
...
...
@@ -174,6 +181,7 @@ export default {
},
methods
:
{
...
mapActions
(
'd2admin/user'
,
[
'actionSetDownloadList'
]),
...
mapActions
({
get
:
'd2admin/base/get'
,
close
:
'd2admin/page/close'
...
...
@@ -227,8 +235,21 @@ export default {
// const tHeader = ['序号', '素材名称', '产品ID', '分类', '品牌商', '创建时间', '状态']
// const fieldVal = ['index', 'goodsName', 'id', 'goodsTypeName', 'brandMerchantName', 'createdDateStr', 'statusStr']
// 改为调用后端下载
exportGoodsList
(
this
.
searchForm
).
then
(
res
=>
{
this
.
$open
(
res
)
// exportGoodsList(this.searchForm).then(res => {
// this.$open(res)
// })
var
params
=
this
.
searchForm
params
.
method
=
'dj.api.goodsinfo.export'
asyncExportEecel
({
exportParam
:
JSON
.
stringify
(
params
)
}).
then
(
res
=>
{
const
list
=
[
...
this
.
dowloadList
,
{
name
:
'素材列表'
,
uuid
:
JSON
.
parse
(
res
).
data
,
ifSuccess
:
false
,
}
]
this
.
actionSetDownloadList
({
list
,
type
:
'dowloadList'
})
})
// exportGoodsList(this.searchForm).then(res => {
// require.ensure([], () => {
...
...
src/views/index/components/reportDownloads.vue
View file @
524b4d2
...
...
@@ -45,6 +45,8 @@ import outputValueDialog from './outputValueDialog'
import
dayjs
from
'dayjs'
import
{
getExportDailyReport
}
from
'@api/index'
import
{
downLoadFile
}
from
'@/common/util'
import
{
asyncExportEecel
}
from
'@api/sys.base'
import
{
mapActions
,
mapState
}
from
'vuex'
export
default
{
name
:
'reportDownloadsCom'
,
components
:
{
...
...
@@ -66,20 +68,41 @@ export default {
exportDailyReportBtn
:
false
}
},
computed
:
{
...
mapState
({
'dowloadList'
:
(
state
)
=>
state
.
d2admin
.
user
.
dowloadList
})
},
mounted
()
{
},
methods
:
{
...
mapActions
(
'd2admin/user'
,
[
'actionSetDownloadList'
]),
exportDailyReport
()
{
if
(
!
this
.
dateValue
)
return
this
.
$message
.
warning
(
'请选择日期'
)
this
.
exportDailyReportBtn
=
true
// console.log(downLoadFile)
// return
getExportDailyReport
({
endDateStr
:
this
.
dateValue
}).
then
((
result
)
=>
{
var
params
=
{}
params
.
method
=
'dj.api.smartcarlife.workbench.exportDailyReport'
params
.
endDateStr
=
this
.
dateValue
asyncExportEecel
({
exportParam
:
JSON
.
stringify
(
params
)
}).
then
((
result
)
=>
{
// getExportDailyReport({ endDateStr: this.dateValue }).then((result) => {
// if (result.code == 0) {
// console.log(downLoadFile)
// console.log(result)
downLoadFile
(
result
)
//
downLoadFile(result)
// }
console
.
log
(
JSON
.
parse
(
result
));
const
list
=
[
...
this
.
dowloadList
,
{
name
:
'日报表'
,
uuid
:
JSON
.
parse
(
result
).
data
,
ifSuccess
:
false
,
}
]
this
.
actionSetDownloadList
({
list
,
type
:
'dowloadList'
})
}).
catch
((
err
)
=>
{
console
.
log
(
err
)
}).
finally
((
result
)
=>
{
...
...
src/views/orderManage/orderDetail.vue
View file @
524b4d2
...
...
@@ -3,9 +3,10 @@
<
template
>
<d2-container
class=
"order-detail"
>
<div
class=
"d2-container-content"
>
<p
class=
"edit-title"
>
订单详情
<el-button
v-if=
"signRefundFlag"
icon=
"signRefundIcon"
@
click=
"refund"
>
标记为退款
</el-button>
<p
class=
"edit-title"
>
订单详情
<el-button
size=
"mini"
v-if=
"signRefundFlag && [4, 6].includes(detail.status)"
class=
"signRefundIcon"
@
click=
"refund"
><img
src=
"./images/sign.png"
/>
标记为退款
</el-button>
</p>
<div
class=
"form_gp"
>
<p
class=
"edit-sub-title"
>
订单详情
</p>
...
...
@@ -31,6 +32,11 @@
@
click=
"handleEnlargeImg"
/>
<span
v-else
>
无
</span>
</el-form-item>
<el-form-item
label=
"退款订单:"
v-if=
"detail.status == 12"
>
{{
detail
.
refundRemark
}}
</el-form-item>
<!--
<el-form-item
label=
"退款订单:"
v-if=
"detail.status == 12"
>
啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊
</el-form-item>
-->
</el-form>
</div>
<div
class=
"form_gp"
>
...
...
@@ -156,6 +162,7 @@
</el-dialog>
<sign-refund-dialog
:signRefundVisible=
"signRefundVisible"
:detail=
"detail"
v-if=
"signRefundVisible"
@
dialogClose=
"dialogClose"
></sign-refund-dialog>
</d2-container>
...
...
@@ -164,8 +171,8 @@
<
script
>
import
{
mapActions
}
from
'vuex'
import
signRefundDialog
from
'./signRefundDialog'
// import { getOrderDetail } from '@api/order'
import
dayjs
from
'dayjs'
import
{
getList
}
from
'@api/order'
export
default
{
name
:
'orderDetail'
,
components
:
{
...
...
@@ -184,7 +191,7 @@ export default {
3
:
'待支付'
,
4
:
'已支付'
,
// 5: '已退款',
6
:
'已
完成
'
,
6
:
'已
评价
'
,
9
:
'已撤销'
,
10
:
'已关闭'
,
11
:
'错误订单'
,
...
...
@@ -218,13 +225,17 @@ export default {
progressList
:
[],
signRefundVisible
:
false
,
signRefundFlag
:
false
,
page
:
{
pageNum
:
1
,
pageSize
:
20
}
}
},
mounted
()
{
this
.
detail
=
this
.
$route
.
params
.
detail
this
.
signRefundFlag
=
this
.
$route
.
params
.
signRefundFlag
console
.
log
(
this
.
signRefundFlag
)
;
console
.
log
(
this
.
signRefundFlag
)
if
(
this
.
detail
.
source
==
7
)
{
this
.
detail
.
createdDate
=
dayjs
(
this
.
detail
.
createdDate
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
...
...
@@ -288,9 +299,22 @@ export default {
this
.
signRefundVisible
=
!
this
.
signRefundVisible
},
dialogClose
()
{
dialogClose
(
flag
)
{
this
.
signRefundVisible
=
!
this
.
signRefundVisible
if
(
flag
)
{
this
.
getList
()
}
},
getList
()
{
var
params
=
{
...
this
.
page
,
orderCode
:
this
.
detail
.
orderCode
}
getList
(
params
).
then
(
res
=>
{
this
.
detail
=
res
.
list
[
0
]
})
}
}
}
...
...
@@ -337,8 +361,6 @@ export default {
}
}
.signRefundIcon
{
background
:
url('images/sign.png')
no-repeat
;
font-size
:
16px
;
background-size
:
cover
;
margin-left
:
10px
;
}
</
style
>
src/views/orderManage/orderList.vue
View file @
524b4d2
...
...
@@ -257,8 +257,8 @@
import
{
Util
}
from
'@/common/util'
import
{
getList
,
exportFile
,
getOrderCount
,
waitinputorderCount
,
orderImport
,
downloadTemplate
}
from
'@api/order'
import
{
mapActions
,
mapState
,
mapMutations
}
from
'vuex'
// import
{
mapActions
,
mapState
}
from
'vuex'
import
{
getServiceStore
,
getParkStore
}
from
'@api/editCustomer'
import
{
asyncExportEecel
}
from
'@api/sys.base'
export
default
{
name
:
'orderList'
,
data
()
{
...
...
@@ -722,8 +722,20 @@ export default {
handleExport
()
{
var
params
=
this
.
getParams
()
params
.
pageNum
=
1
exportFile
(
params
).
then
(
res
=>
{
this
.
$open
(
res
)
// exportFile(params).then(res =>
{
// this.$open(res)
//
}
)
params
.
method
=
'dj.api.smartcarlife.ordermanage.export'
asyncExportEecel
({
exportParam
:
JSON
.
stringify
(
params
)
}
).
then
(
res
=>
{
const
list
=
[
...
this
.
dowloadList
,
{
name
:
'订单列表'
,
uuid
:
JSON
.
parse
(
res
).
data
,
ifSuccess
:
false
,
}
]
this
.
actionSetDownloadList
({
list
,
type
:
'dowloadList'
}
)
}
)
}
,
// 查看详情
...
...
src/views/orderManage/orderSupplement.vue
View file @
524b4d2
...
...
@@ -57,9 +57,10 @@
<
script
>
import
{
Util
}
from
'@/common/util'
import
_
from
'lodash'
import
{
mapActions
}
from
'vuex'
import
{
mapActions
,
mapState
}
from
'vuex'
import
{
getParkStore
}
from
'@api/editCustomer'
import
{
waitinputorderCount
,
waitinputorderPage
,
waitinputorderExport
,
getList
}
from
'@api/order'
import
{
asyncExportEecel
}
from
'@api/sys.base'
export
default
{
name
:
'orderSupplement'
,
data
()
{
...
...
@@ -244,8 +245,13 @@ export default {
}
}
},
computed
:
{
...
mapState
({
'dowloadList'
:
(
state
)
=>
state
.
d2admin
.
user
.
dowloadList
})
},
mounted
()
{
this
.
userInfo
.
beSuper
&&
getParkStore
({}).
then
(
res
=>
{
res
.
forEach
(
item
=>
{
item
.
merchantId
=
item
.
merchantNo
...
...
@@ -261,6 +267,7 @@ export default {
get
:
'd2admin/base/get'
,
close
:
'd2admin/page/close'
}),
...
mapActions
(
'd2admin/user'
,
[
'actionSetDownloadList'
]),
beforeSearchFn
()
{
return
new
Promise
(
resolve
=>
{
...
...
@@ -338,8 +345,20 @@ export default {
handleExport
()
{
var
params
=
this
.
searchFormSearch
waitinputorderExport
(
params
).
then
(
res
=>
{
this
.
$open
(
res
)
// waitinputorderExport(params).then(res => {
// this.$open(res)
// })
params
.
method
=
'dj.api.smartcarlife.waitinputorder.export'
asyncExportEecel
({
exportParam
:
JSON
.
stringify
(
params
)
}).
then
(
res
=>
{
const
list
=
[
...
this
.
dowloadList
,
{
name
:
'订单补录列表'
,
uuid
:
JSON
.
parse
(
res
).
data
,
ifSuccess
:
false
,
}
]
this
.
actionSetDownloadList
({
list
,
type
:
'dowloadList'
})
})
},
...
...
src/views/orderManage/signRefundDialog.vue
View file @
524b4d2
...
...
@@ -12,6 +12,8 @@
<el-input
type=
"textarea"
:rows=
"5"
placeholder=
"不超过100个字。"
maxlength=
"100"
show-word-limit
v-model=
"infoForm.remark"
>
</el-input>
</el-form-item>
...
...
@@ -21,17 +23,14 @@
<
script
>
import
{
getMerchantPageSearch
}
from
'@api/publicAccount'
import
{
markAsRefunded
}
from
'@api/order'
export
default
{
name
:
'signRefundDialog'
,
data
()
{
return
{
userInfo
:
this
.
$store
.
state
.
d2admin
.
user
.
info
,
infoForm
:
{
merchantType
:
''
,
merchant
:
[],
payStartDate
:
''
,
payEndDate
:
''
,
reportType
:
'1'
remark
:
''
,
},
formRules
:
{
...
...
@@ -44,6 +43,10 @@ export default {
signRefundVisible
:
{
type
:
Boolean
,
default
:
false
},
detail
:
{
type
:
Object
,
default
:
null
}
},
...
...
@@ -55,7 +58,7 @@ export default {
components
:
{},
mounted
()
{
console
.
log
(
this
.
detail
);
},
methods
:
{
...
...
@@ -64,37 +67,19 @@ export default {
this
.
$refs
.
refundForm
.
validate
(
valid
=>
{
if
(
valid
)
{
var
infoForm
=
_
.
cloneDeep
(
this
.
infoForm
)
console
.
log
(
infoForm
)
var
params
=
{}
var
merchantList
=
[]
var
obj
infoForm
.
merchant
.
forEach
(
item
=>
{
obj
=
{}
obj
.
merchantId
=
item
obj
.
merchantName
=
this
.
baseData
.
merchantList
.
find
(
mer
=>
mer
.
merchantId
===
item
).
merchantName
merchantList
.
push
(
obj
)
})
params
.
payStartDate
=
infoForm
.
payStartDate
+
' 00:00:00'
params
.
payEndDate
=
infoForm
.
payEndDate
+
' 23:59:59'
params
.
merchantList
=
merchantList
params
.
merchantType
=
infoForm
.
merchantType
if
(
infoForm
.
merchantType
==
'7'
)
{
params
.
reportType
=
infoForm
.
reportType
}
console
.
log
(
params
)
api
.
exportAccountStatement
(
params
).
then
(
res
=>
{
window
.
location
.
href
=
res
this
.
handleClose
()
params
.
refundRemark
=
infoForm
.
remark
params
.
orderCode
=
this
.
detail
.
orderCode
markAsRefunded
(
params
).
then
(
res
=>
{
this
.
notice
.
okTips
(
'操作成功'
)
this
.
handleClose
(
true
)
})
}
})
},
handleClose
()
{
this
.
$emit
(
'dialogClose'
,
true
)
handleClose
(
flag
)
{
this
.
$emit
(
'dialogClose'
,
flag
)
}
}
}
...
...
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