Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-marketing
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 6f767331
authored
Dec 08, 2022
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
v3.2 版本分支代码更新
1 parent
c4955a9a
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
184 additions
and
41 deletions
src/api/modules/seckillActivity.js
src/common/constant.js
src/views/orderManage/index.vue
src/views/orderManage/orderDetail.vue
src/views/productStore/index.vue
src/views/seckillActivity/dataBoard.vue
src/api/modules/seckillActivity.js
View file @
6f76733
...
@@ -212,4 +212,58 @@ const getDataBoardApi = params => {
...
@@ -212,4 +212,58 @@ const getDataBoardApi = params => {
sign
:
true
sign
:
true
})
})
}
}
export
default
{
getActivityPageApi
,
getCrowdfundListApi
,
exportCrowdfundApi
,
getBrowseListApi
,
exportBrowseApi
,
toggleStatusApi
,
deleteActivityApi
,
topActivityApi
,
getSharedApi
,
addOrUpdateActivityApi
,
getActivityDetailApi
,
getCrowdSharedApi
,
getLiveListApi
,
getPayListApi
,
getRankListApi
,
exportRankListApi
,
getDataBoardApi
,
getVisitorListApi
,
getSharedListApi
}
/**每日订单量统计 */
const
getDailyOrderQuantityStatistics
=
params
=>
{
params
.
method
=
'scrm.api.shopmall.activity.daily.order.quantity'
return
http
({
url
:
'rop-scrm-shopmall/router'
,
method
:
'POST'
,
data
:
params
,
sign
:
true
})
}
/**导出每日订单量统计 */
const
exportDailyOrderQuantityStatistics
=
params
=>
{
params
.
method
=
'scrm.api.shopmall.activity.daily.order.quantity.export'
return
http
({
url
:
'rop-scrm-shopmall/router'
,
method
:
'POST'
,
data
:
params
,
sign
:
true
})
}
/**活动直播间数据统计-详情导出 */
const
liveroomDetailexport
=
params
=>
{
params
.
method
=
'scrm.api.shopmall.activity.liveroom.detailexport'
return
http
({
url
:
'rop-scrm-shopmall/router'
,
method
:
'POST'
,
data
:
params
,
sign
:
true
})
}
/**活动直播间数据统计-分页详情 */
const
liveroomDetailpage
=
params
=>
{
params
.
method
=
'scrm.api.shopmall.activity.liveroom.detailpage'
return
http
({
url
:
'rop-scrm-shopmall/router'
,
method
:
'POST'
,
data
:
params
,
sign
:
true
})
}
/**活动直播间数据统计-概览 */
const
liveroomOverview
=
params
=>
{
params
.
method
=
'scrm.api.shopmall.activity.liveroom.overview'
return
http
({
url
:
'rop-scrm-shopmall/router'
,
method
:
'POST'
,
data
:
params
,
sign
:
true
})
export
default
{
exportDailyOrderQuantityStatistics
,
liveroomDetailexport
,
liveroomDetailpage
,
getDailyOrderQuantityStatistics
,
liveroomOverview
,
getActivityPageApi
,
getCrowdfundListApi
,
exportCrowdfundApi
,
getBrowseListApi
,
exportBrowseApi
,
toggleStatusApi
,
deleteActivityApi
,
topActivityApi
,
getSharedApi
,
addOrUpdateActivityApi
,
getActivityDetailApi
,
getCrowdSharedApi
,
getLiveListApi
,
getPayListApi
,
getRankListApi
,
exportRankListApi
,
getDataBoardApi
,
getVisitorListApi
,
getSharedListApi
}
src/common/constant.js
View file @
6f76733
...
@@ -102,13 +102,16 @@ const orderManageStatusList = [
...
@@ -102,13 +102,16 @@ const orderManageStatusList = [
{
confId
:
'1'
,
confName
:
'待付款'
},
{
confId
:
'1'
,
confName
:
'待付款'
},
{
confId
:
'2'
,
confName
:
'已支付'
},
{
confId
:
'2'
,
confName
:
'已支付'
},
{
confId
:
'3'
,
confName
:
'已失效'
},
{
confId
:
'3'
,
confName
:
'已失效'
},
{
confId
:
'21'
,
confName
:
'待收货(待核销)'
},
// { confId: '21', confName: '待收货(待核销)' },
{
confId
:
'22'
,
confName
:
'已收货(已核销)'
},
{
confId
:
'21'
,
confName
:
'待核销'
},
{
confId
:
'22'
,
confName
:
'已核销'
},
// { confId: '22', confName: '已收货(已核销)' },
{
confId
:
'6'
,
confName
:
'待发货'
},
{
confId
:
'6'
,
confName
:
'待发货'
},
// { confId: '7', confName: '待核销' },
// { confId: '7', confName: '待核销' },
// { confId: '8', confName: '已核销' },
// { confId: '8', confName: '已核销' },
{
confId
:
'9'
,
confName
:
'售后中'
},
{
confId
:
'9'
,
confName
:
'售后中'
},
{
confId
:
'10'
,
confName
:
'售后完成'
}
{
confId
:
'10'
,
confName
:
'售后完成'
},
{
confId
:
'11'
,
confName
:
'待审批'
}
]
]
const
afterSaleStatusList
=
[
const
afterSaleStatusList
=
[
...
@@ -225,7 +228,20 @@ const stateList = [
...
@@ -225,7 +228,20 @@ const stateList = [
confName
:
'已下架'
confName
:
'已下架'
}
}
]
]
const
businessType
=
[
{
optionId
:
1
,
optionLabel
:
'1.2'
},
{
optionId
:
2
,
optionLabel
:
'1.3'
},
{
optionId
:
3
,
optionLabel
:
'2.0'
}
]
function
setMinHeight
(
calssName
=
'.edit-container'
)
{
function
setMinHeight
(
calssName
=
'.edit-container'
)
{
let
height
=
document
.
querySelector
(
'.header-wrap'
).
clientHeight
+
110
+
'px'
let
height
=
document
.
querySelector
(
'.header-wrap'
).
clientHeight
+
110
+
'px'
let
minHeight
=
'calc(100vh - '
+
height
+
')'
let
minHeight
=
'calc(100vh - '
+
height
+
')'
...
@@ -247,4 +263,4 @@ function isShowBtn(value) {
...
@@ -247,4 +263,4 @@ function isShowBtn(value) {
}
}
return
isShowStatus
return
isShowStatus
}
}
export
{
isShowBtn
,
limitPrice
,
getExplorer
,
exportFn
,
aToExport
,
downloadIamge
,
orderManageStatusList
,
afterSaleStatusList
,
orderSourceList
,
deliveryTypeList
,
statusList
,
serviceStatusList
,
memberTypeList
,
stateList
,
orderTypesList
,
orderStatusList
,
setMinHeight
}
export
{
isShowBtn
,
limitPrice
,
getExplorer
,
exportFn
,
aToExport
,
downloadIamge
,
businessType
,
orderManageStatusList
,
afterSaleStatusList
,
orderSourceList
,
deliveryTypeList
,
statusList
,
serviceStatusList
,
memberTypeList
,
stateList
,
orderTypesList
,
orderStatusList
,
setMinHeight
}
src/views/orderManage/index.vue
View file @
6f76733
This diff is collapsed.
Click to expand it.
src/views/orderManage/orderDetail.vue
View file @
6f76733
...
@@ -4,10 +4,16 @@
...
@@ -4,10 +4,16 @@
<div
class=
"edit-box"
>
<div
class=
"edit-box"
>
<div
class=
"container m-b-20"
>
<div
class=
"container m-b-20"
>
<p
class=
"edit-title"
>
订单信息
</p>
<p
class=
"edit-title"
>
订单信息
</p>
<el-form
label-width=
"100px"
:inline=
"true"
>
<el-form
label-width=
"100px"
<el-row
v-for=
"(item, index) in detailFormDataRow"
:key=
"index"
>
:inline=
"true"
>
<el-form-item
v-for=
"(subItem, subIndex) in item.rowList"
:key=
"subIndex"
:label=
"subItem.label"
class=
"row-item"
>
<el-row
v-for=
"(item, index) in detailFormDataRow"
<span
class=
"detail-txt ellipsis-1"
:title=
"detailForm[subItem.name]"
>
{{
detailForm
[
subItem
.
name
]
?
detailForm
[
subItem
.
name
]
+
(
subItem
.
suffix
||
''
)
:
'-'
}}
</span>
:key=
"index"
>
<el-form-item
v-for=
"(subItem, subIndex) in item.rowList"
:key=
"subIndex"
:label=
"subItem.label"
class=
"row-item"
>
<span
class=
"detail-txt ellipsis-1"
:title=
"detailForm[subItem.name]"
>
{{
detailForm
[
subItem
.
name
]
?
detailForm
[
subItem
.
name
]
+
(
subItem
.
suffix
||
''
)
:
'-'
}}
</span>
</el-form-item>
</el-form-item>
</el-row>
</el-row>
<el-form-item
label=
"其他信息"
>
{{
detailForm
.
formDescribe
}}
</el-form-item>
<el-form-item
label=
"其他信息"
>
{{
detailForm
.
formDescribe
}}
</el-form-item>
...
@@ -15,43 +21,61 @@
...
@@ -15,43 +21,61 @@
</div>
</div>
<div
:class=
"['container', orderRefund ? 'm-b-20' : 'edit-container']"
>
<div
:class=
"['container', orderRefund ? 'm-b-20' : 'edit-container']"
>
<p
class=
"edit-title"
>
发货信息
</p>
<p
class=
"edit-title"
>
发货信息
</p>
<el-form
label-width=
"100px"
:inline=
"true"
>
<el-form
label-width=
"100px"
:inline=
"true"
>
<el-form-item
label=
"物流信息"
>
<el-form-item
label=
"物流信息"
>
<span>
{{
detailForm
.
deliveryCompany
}}
{{
detailForm
.
deliveryNumber
}}
</span>
<span>
{{
detailForm
.
deliveryCompany
}}
{{
detailForm
.
deliveryNumber
}}
</span>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
<div
v-if=
"orderGoods.length"
class=
"p-l-40"
>
<div
v-if=
"orderGoods.length"
class=
"p-l-40"
>
<table
class=
"show-table"
>
<table
class=
"show-table"
>
<tbody>
<tbody>
<tr
v-for=
"(item, index) in orderGoods"
:key=
"index"
style=
"height: 70px;"
>
<tr
v-for=
"(item, index) in orderGoods"
<td><img
:src=
"item.goodsImage"
class=
"img-60"
/></td>
:key=
"index"
style=
"height: 70px;"
>
<td><img
:src=
"item.goodsImage"
class=
"img-60"
/></td>
<td>
{{
item
.
goodsName
}}
</td>
<td>
{{
item
.
goodsName
}}
</td>
<td>
{{
item
.
specificationData
}}
</td>
<td>
{{
item
.
specificationData
}}
</td>
<td>
{{
item
.
activityPrice
?
item
.
activityPrice
:
item
.
retailPrice
}}
元 *
{{
item
.
goodsNumber
}}
</td>
<td>
{{
item
.
activityPrice
?
item
.
activityPrice
:
item
.
retailPrice
}}
元 *
{{
item
.
goodsNumber
}}
</td>
</tr>
</tr>
<tr
v-if=
"detailForm.subOrderCoupon"
style=
"height: 40px;"
>
<tr
v-if=
"detailForm.subOrderCoupon"
<td
style=
"text-align: left;"
colspan=
"3"
>
优惠券
</td>
style=
"height: 40px;"
>
<td
style=
"text-align: left;"
colspan=
"3"
>
优惠券
</td>
<td>
{{
detailForm
.
subOrderCoupon
.
discountAmount
}}
元
</td>
<td>
{{
detailForm
.
subOrderCoupon
.
discountAmount
}}
元
</td>
</tr>
</tr>
</tbody>
</tbody>
</table>
</table>
</div>
</div>
</div>
</div>
<div
class=
"container edit-container"
v-if=
"orderRefund"
>
<div
class=
"container edit-container"
v-if=
"orderRefund"
>
<p
class=
"edit-title"
>
售后信息
</p>
<p
class=
"edit-title"
>
售后信息
</p>
<el-form
label-width=
"100px"
:inline=
"true"
>
<el-form
label-width=
"100px"
<el-row
v-for=
"(item, index) in afterInfoDataRow"
:key=
"index"
>
:inline=
"true"
>
<el-form-item
v-for=
"(subItem, subIndex) in item.rowList"
:key=
"subIndex"
:label=
"subItem.label"
>
<el-row
v-for=
"(item, index) in afterInfoDataRow"
<span
class=
"detail-txt ellipsis-1"
:title=
"orderRefund[subItem.name]"
>
{{
orderRefund
[
subItem
.
name
]
||
'-'
}}
</span>
:key=
"index"
>
<el-form-item
v-for=
"(subItem, subIndex) in item.rowList"
:key=
"subIndex"
:label=
"subItem.label"
>
<span
class=
"detail-txt ellipsis-1"
:title=
"orderRefund[subItem.name]"
>
{{
orderRefund
[
subItem
.
name
]
||
'-'
}}
</span>
</el-form-item>
</el-form-item>
</el-row>
</el-row>
</el-form>
</el-form>
<div
class=
"form-img"
>
<div
class=
"form-img"
>
<el-form
label-width=
"100px"
:inline=
"true"
>
<el-form
label-width=
"100px"
:inline=
"true"
>
<el-form-item
label=
"售后凭证"
>
<el-form-item
label=
"售后凭证"
>
<div
class=
"flex"
>
<div
class=
"flex"
>
<span
v-for=
"(item, index) in orderRefund.imgUrls"
:key=
"index"
>
<span
v-for=
"(item, index) in orderRefund.imgUrls"
<el-image
class=
"img-60 comment-img"
:src=
"item"
:preview-src-list=
"[item]"
></el-image>
:key=
"index"
>
<el-image
class=
"img-60 comment-img"
:src=
"item"
:preview-src-list=
"[item]"
></el-image>
</span>
</span>
</div>
</div>
</el-form-item>
</el-form-item>
...
@@ -60,7 +84,8 @@
...
@@ -60,7 +84,8 @@
</div>
</div>
</div>
</div>
<GLFooter>
<GLFooter>
<el-button
@
click=
"handleCancel"
size=
"medium"
>
取消
</el-button>
<el-button
@
click=
"handleCancel"
size=
"medium"
>
取消
</el-button>
</GLFooter>
</GLFooter>
</div>
</div>
</
template
>
</
template
>
...
@@ -134,10 +159,14 @@ export default {
...
@@ -134,10 +159,14 @@ export default {
name
:
'orderStatusName'
name
:
'orderStatusName'
},
},
{
{
label
:
'支付
总价
'
,
label
:
'支付
定金
'
,
name
:
'payPrice'
name
:
'payPrice'
},
},
{
{
label
:
'尾款'
,
name
:
'crowdFundingPrice'
},
{
label
:
'发货地址'
,
label
:
'发货地址'
,
name
:
'shipAddress'
name
:
'shipAddress'
},
},
...
...
src/views/productStore/index.vue
View file @
6f76733
...
@@ -2,35 +2,75 @@
...
@@ -2,35 +2,75 @@
<
template
>
<
template
>
<div
class=
"marketing pro-group"
>
<div
class=
"marketing pro-group"
>
<div
class=
"m-b-20"
>
<div
class=
"m-b-20"
>
<GLButton
:size=
"size"
type=
"primary"
fn=
"新建商品"
class=
"el-icon-plus"
@
click=
"handleEdit(1)"
>
新建商品
</GLButton>
<GLButton
:size=
"size"
type=
"primary"
fn=
"新建商品"
class=
"el-icon-plus"
@
click=
"handleEdit(1)"
>
新建商品
</GLButton>
</div>
</div>
<div
class=
"container"
>
<div
class=
"container"
>
<GLCombiForm
ref=
"showSearch"
:rowNumber=
"1"
:formObj=
"searchForm"
:formData=
"searchFormData"
@
handleOk=
"handleSearch"
@
handleRest=
"handleReset"
></GLCombiForm>
<GLCombiForm
ref=
"showSearch"
:rowNumber=
"1"
:formObj=
"searchForm"
:formData=
"searchFormData"
@
handleOk=
"handleSearch"
@
handleRest=
"handleReset"
></GLCombiForm>
<!-- 表格区域 开始 -->
<!-- 表格区域 开始 -->
<GLTable
ref=
"proGroupRef"
class=
"table-img"
:getListApi=
"getListApi"
:noDataImg=
"url"
:searchForm=
"tableSearchForm"
:tableParams=
"tableParams"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchFn"
@
setTableFinishFun=
"setTableFinishFun"
>
<GLTable
ref=
"proGroupRef"
<template
slot=
"goodsImage"
slot-scope=
"scope"
>
class=
"table-img"
<el-popover
placement=
"top"
width=
"160"
trigger=
"hover"
popper-class=
"table-popover-block"
>
:getListApi=
"getListApi"
<img
class=
"table-popover-img"
:src=
"scope.scope.goodsImage"
/>
:noDataImg=
"url"
<img
class=
"img-60 pointer"
slot=
"reference"
:src=
"scope.scope.goodsImage"
/>
:searchForm=
"tableSearchForm"
:tableParams=
"tableParams"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchFn"
@
setTableFinishFun=
"setTableFinishFun"
>
<template
slot=
"goodsImage"
slot-scope=
"scope"
>
<el-popover
placement=
"top"
width=
"160"
trigger=
"hover"
popper-class=
"table-popover-block"
>
<img
class=
"table-popover-img"
:src=
"scope.scope.goodsImage"
/>
<img
class=
"img-60 pointer"
slot=
"reference"
:src=
"scope.scope.goodsImage"
/>
</el-popover>
</el-popover>
</
template
>
</
template
>
<div
class=
"table-btns"
slot=
"auth-button"
slot-scope=
"scope"
>
<div
class=
"table-btns"
<GLTableButton
:buttonList=
"tableButtonList"
:buttonItem=
"scope.scope"
:buttonNum=
"3"
></GLTableButton>
slot=
"auth-button"
slot-scope=
"scope"
>
<GLTableButton
:buttonList=
"tableButtonList"
:buttonItem=
"scope.scope"
:buttonNum=
"3"
></GLTableButton>
</div>
</div>
</GLTable>
</GLTable>
<!-- 表格区域 end -->
<!-- 表格区域 end -->
</div>
</div>
<!-- 下架 -->
<!-- 下架 -->
<glsx-dialog
title=
"下架"
:isVisible
.
sync=
"isDownVisible"
@
confirmDialog=
"handleDownConfirm"
@
closeDialog=
"handleDownClose"
>
<glsx-dialog
title=
"下架"
<el-form
ref=
"downRef"
label-width=
"100px"
:rules=
"downRules"
:model=
"downForm"
>
:isVisible
.
sync=
"isDownVisible"
<el-form-item
label=
"下架备注"
prop=
"offReason"
>
@
confirmDialog=
"handleDownConfirm"
<el-input
:size=
"size"
v-model=
"downForm.offReason"
placeholder=
"请输入下架备注"
maxlength=
"30"
></el-input>
@
closeDialog=
"handleDownClose"
>
<el-form
ref=
"downRef"
label-width=
"100px"
:rules=
"downRules"
:model=
"downForm"
>
<el-form-item
label=
"下架备注"
prop=
"offReason"
>
<el-input
:size=
"size"
v-model=
"downForm.offReason"
placeholder=
"请输入下架备注"
maxlength=
"30"
></el-input>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
</glsx-dialog>
</glsx-dialog>
<!-- 分享 -->
<!-- 分享 -->
<share-dialog
:isShareVisible=
"isShareVisible"
:shareForm=
"shareForm"
@
handleShareClose=
"handleShareClose"
></share-dialog>
<share-dialog
:isShareVisible=
"isShareVisible"
:shareForm=
"shareForm"
@
handleShareClose=
"handleShareClose"
></share-dialog>
</div>
</div>
</template>
</template>
...
@@ -332,6 +372,10 @@ export default {
...
@@ -332,6 +372,10 @@ export default {
{
{
confId
:
'2'
,
confId
:
'2'
,
confName
:
'带货'
confName
:
'带货'
},
{
confId
:
'3'
,
confName
:
''
}
}
]
]
}
}
...
...
src/views/seckillActivity/dataBoard.vue
View file @
6f76733
This diff is collapsed.
Click to expand it.
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