Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-pay
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 3f46c396
authored
Nov 30, 2021
by
cwq0219
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
merge
2 parents
fac2f0c5
1defe410
Hide whitespace changes
Inline
Side-by-side
Showing
23 changed files
with
331 additions
and
249 deletions
package.json
src/common/constant.js
src/components/glsx-combi-form/index.vue
src/views/couponManage/editCashCoupon.vue
src/views/couponManage/editDiscountCoupon.vue
src/views/couponManage/editExchangeCoupon.vue
src/views/couponManage/editMemberService.vue
src/views/couponManage/index.vue
src/views/couponManage/writeOffDetail.vue
src/views/customerTransform/addCustomer.vue
src/views/customerTransform/addCustomerGroup.vue
src/views/customerTransform/components/basicInfo.vue
src/views/customerTransform/detailCustomer.vue
src/views/home/index.vue
src/views/memberCenter/center.vue
src/views/memberCenter/order.vue
src/views/memberCenter/orderDetail.vue
src/views/memberCenter/record.vue
src/views/memberCenter/service.vue
src/views/memberCenter/setmeal.vue
src/views/memberCenter/setmealAddUpdate.vue
src/views/seckillActivity/editActivity.vue
src/views/seckillActivity/index.vue
package.json
View file @
3f46c39
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
"el-tree-transfer"
:
"^2.2.6"
,
"el-tree-transfer"
:
"^2.2.6"
,
"element-ui"
:
"^2.4.5"
,
"element-ui"
:
"^2.4.5"
,
"glsx-common"
:
"^1.4.6"
,
"glsx-common"
:
"^1.4.6"
,
"glsx-components"
:
"^1.2.
0
"
,
"glsx-components"
:
"^1.2.
2
"
,
"lodash"
:
"^4.17.21"
,
"lodash"
:
"^4.17.21"
,
"vue"
:
"^2.6.10"
,
"vue"
:
"^2.6.10"
,
"vue-router"
:
"^3.1.3"
,
"vue-router"
:
"^3.1.3"
,
...
@@ -41,4 +41,4 @@
...
@@ -41,4 +41,4 @@
"> 1%"
,
"> 1%"
,
"last 2 versions"
"last 2 versions"
]
]
}
}
\ No newline at end of file
\ No newline at end of file
src/common/constant.js
View file @
3f46c39
...
@@ -2,10 +2,10 @@
...
@@ -2,10 +2,10 @@
function
limitPrice
(
newValue
,
oldValue
,
intergerDigit
,
pointDigit
,
minValue
,
maxValue
,
regRule
)
{
function
limitPrice
(
newValue
,
oldValue
,
intergerDigit
,
pointDigit
,
minValue
,
maxValue
,
regRule
)
{
/* eslint-disable */
/* eslint-disable */
var
reg
=
{
var
reg
=
{
priceReg
:
/^
\d[\d\.]
*$/
,
priceReg
:
/^
\d[\d\.]
*$/
,
numReg
:
/^
[
1-9
]\d
*$/
numReg
:
/^
[
1-9
]\d
*$/
}
}
/* eslint-enable */
/* eslint-enable */
regRule
=
regRule
||
'priceReg'
regRule
=
regRule
||
'priceReg'
if
(
newValue
&&
((
minValue
&&
newValue
<
minValue
)
||
(
maxValue
&&
newValue
>
maxValue
)))
{
if
(
newValue
&&
((
minValue
&&
newValue
<
minValue
)
||
(
maxValue
&&
newValue
>
maxValue
)))
{
return
oldValue
||
''
return
oldValue
||
''
...
@@ -76,23 +76,22 @@ const auditStatusList = [{
...
@@ -76,23 +76,22 @@ const auditStatusList = [{
]
]
//会员中心得状态list
//会员中心得状态list
const
statusList
=
[
const
statusList
=
[
// {
// {
// confId: '',
// confId: '',
// confName: '全部'
// confName: '全部'
// },
// },
{
{
confId
:
1
,
confId
:
1
,
confName
:
'生效中'
confName
:
'生效中'
},
},
{
{
confId
:
2
,
confId
:
2
,
confName
:
'已失效'
confName
:
'已失效'
}
}
]
]
//会员订单类型字典
//会员订单类型字典
const
orderTypesList
=
[
const
orderTypesList
=
[{
{
confId
:
1
,
confId
:
1
,
confName
:
'套餐'
confName
:
'套餐'
},
},
...
@@ -101,7 +100,7 @@ const orderTypesList=[
...
@@ -101,7 +100,7 @@ const orderTypesList=[
confName
:
'会员卡'
confName
:
'会员卡'
}
}
]
]
const
orderStatusList
=
[
const
orderStatusList
=
[
// 2: '待收货',
// 2: '待收货',
// 3: '已完成',
// 3: '已完成',
// 4: '售后中',
// 4: '售后中',
...
@@ -128,8 +127,7 @@ const orderStatusList=[
...
@@ -128,8 +127,7 @@ const orderStatusList=[
confName
:
'已经退款'
confName
:
'已经退款'
},
},
]
]
const
serviceStatusList
=
[
const
serviceStatusList
=
[{
{
confId
:
1
,
confId
:
1
,
confName
:
'未生效'
confName
:
'未生效'
},
},
...
@@ -143,8 +141,7 @@ const serviceStatusList=[
...
@@ -143,8 +141,7 @@ const serviceStatusList=[
}
}
]
]
const
memberTypeList
=
[
const
memberTypeList
=
[{
{
confId
:
1
,
confId
:
1
,
confName
:
'正式会员'
confName
:
'正式会员'
},
},
...
@@ -153,8 +150,7 @@ const memberTypeList=[
...
@@ -153,8 +150,7 @@ const memberTypeList=[
confName
:
'试用会员'
confName
:
'试用会员'
}
}
]
]
const
stateList
=
[
const
stateList
=
[{
{
confId
:
0
,
confId
:
0
,
confName
:
'待上架'
confName
:
'待上架'
},
},
...
@@ -168,5 +164,14 @@ const stateList=[
...
@@ -168,5 +164,14 @@ const stateList=[
},
},
]
]
export
{
limitPrice
,
liveStatusList
,
auditStatusList
,
statusList
,
serviceStatusList
,
memberTypeList
,
stateList
,
orderTypesList
,
orderStatusList
}
\ No newline at end of file
\ No newline at end of file
export
{
limitPrice
,
liveStatusList
,
auditStatusList
,
statusList
,
serviceStatusList
,
memberTypeList
,
stateList
,
orderTypesList
,
orderStatusList
}
\ No newline at end of file
\ No newline at end of file
src/components/glsx-combi-form/index.vue
View file @
3f46c39
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<div
class=
"glsx-combi-form"
>
<div
class=
"glsx-combi-form"
>
<el-form
:ref=
"formRef"
:inline=
"true"
:model=
"formObj"
:label-width=
"labelWidth"
:rules=
"formRules"
size=
"small"
class=
"glsx-combi-form-block"
>
<el-form
:ref=
"formRef"
:inline=
"true"
:model=
"formObj"
:label-width=
"labelWidth"
:rules=
"formRules"
size=
"small"
class=
"glsx-combi-form-block"
>
<template
v-for=
"(item, index) in formData"
>
<template
v-for=
"(item, index) in formData"
>
<el-form-item
v-if=
"!item.isHide"
:key=
"index"
:id=
"item.name"
:class=
"
{ 'no-label': !item.label, isBlock: isBlock }" :style="{ ...item.style }" :label="item.label
? item.label + ':' : ''
" :prop="item.name">
<el-form-item
v-if=
"!item.isHide"
:key=
"index"
:id=
"item.name"
:class=
"
{ 'no-label': !item.label, isBlock: isBlock }" :style="{ ...item.style }" :label="item.label" :prop="item.name">
<span
v-if=
"!item.isHide && item.tips"
class=
"tips-block"
slot=
"label"
>
<span
v-if=
"!item.isHide && item.tips"
class=
"tips-block"
slot=
"label"
>
<span
class=
"tips-label"
>
{{
item
.
label
}}
</span>
<span
class=
"tips-label"
>
{{
item
.
label
}}
</span>
<el-tooltip
popper-class=
"tooltip-class"
effect=
"dark"
:content=
"item.tips"
:placement=
"item.placement || 'top'"
>
<el-tooltip
popper-class=
"tooltip-class"
effect=
"dark"
:content=
"item.tips"
:placement=
"item.placement || 'top'"
>
...
...
src/views/couponManage/editCashCoupon.vue
View file @
3f46c39
...
@@ -3,43 +3,40 @@
...
@@ -3,43 +3,40 @@
<div
class=
"edit-share marketing p-t-20"
>
<div
class=
"edit-share marketing p-t-20"
>
<div
class=
"container edit-container"
>
<div
class=
"container edit-container"
>
<p
class=
"edit-title"
>
{{
title
}}
代金券
</p>
<p
class=
"edit-title"
>
{{
title
}}
代金券
</p>
<glsx-combi-form
class=
"edit-form-container"
ref=
"editFormRef"
labelWidth=
"14
0
px"
:isBlock=
"true"
:formRef=
"editChildRef"
:formObj=
"editForm"
:formData=
"editFormData"
:formRules=
"editRule"
>
<glsx-combi-form
class=
"edit-form-container"
ref=
"editFormRef"
labelWidth=
"14
4
px"
:isBlock=
"true"
:formRef=
"editChildRef"
:formObj=
"editForm"
:formData=
"editFormData"
:formRules=
"editRule"
>
<template
slot=
"useChannelHtml"
>
<template
slot=
"useChannelHtml"
>
<el-radio
v-model=
"editForm.useChannel"
label=
"1"
:disabled=
"apear!='couponAdd'"
>
线上商品
</el-radio>
<el-radio
v-model=
"editForm.useChannel"
label=
"1"
:disabled=
"apear!='couponAdd'"
>
线上商品
</el-radio>
<el-radio
v-model=
"editForm.useChannel"
label=
"2"
:disabled=
"apear!='couponAdd'"
@
change=
"clickUseChannel"
>
到店核销
</el-radio>
<el-radio
v-model=
"editForm.useChannel"
label=
"2"
:disabled=
"apear!='couponAdd'"
@
change=
"clickUseChannel"
>
到店核销
</el-radio>
</
template
>
</
template
>
<
template
slot=
"effectiveHtml"
>
<
template
slot=
"effectiveHtml"
>
<el-radio
v-model=
"editForm.effectiveType"
label=
"3"
:disabled=
"apear!='couponAdd'"
>
无有效期
</el-radio><br>
<el-radio
v-model=
"editForm.effectiveType"
label=
"3"
:disabled=
"apear!='couponAdd'"
>
无有效期
</el-radio><br>
<el-
radio
v-model=
"editForm.effectiveType"
label=
"2"
:disabled=
"apear!='couponAdd'
"
>
<el-
form-item
prop=
"effectiveTime"
style=
"margin-top: 12px;display: block;
"
>
<el-
form-item
prop=
"effectiveTime
"
>
<el-
radio
v-model=
"editForm.effectiveType"
label=
"2"
:disabled=
"apear!='couponAdd'
"
>
<el-date-picker
<el-date-picker
v-model=
"editForm.effectiveTime"
v-model=
"editForm.effectiveTime"
type=
"daterange"
type=
"daterange"
style=
"width:295px"
range-separator=
"至"
range-separator=
"至"
start-placeholder=
"开始日期"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
end-placeholder=
"结束日期"
value-format=
"yyyy-MM-dd"
value-format=
"yyyy-MM-dd"
:disabled=
"editForm.effectiveType != 2||apear!='couponAdd'"
clearable
>
:disabled=
"editForm.effectiveType != 2||apear!='couponAdd'"
clearable
>
</el-date-picker>
</el-date-picker>
</el-form-item>
</el-radio>
</el-radio><br>
</el-form-item>
<el-radio
v-model=
"editForm.effectiveType"
label=
"1"
:disabled=
"apear!='couponAdd'"
>
<el-form-item
prop=
"effectiveDays"
>
<el-form-item
prop=
"effectiveDays"
>
<el-radio
v-model=
"editForm.effectiveType"
label=
"1"
:disabled=
"apear!='couponAdd'"
>
领取后
<el-input
v-model=
"editForm.effectiveDays"
style=
"width: 100px;"
:disabled=
"apear!='couponAdd'|| editForm.effectiveType != 1"
/>
天内有效
领取后你好
<el-input
v-model=
"editForm.effectiveDays"
style=
"width:100px;margin-left:5px;margin-right:5px"
:disabled=
"apear!='couponAdd'|| editForm.effectiveType != 1"
/>
天内有效
<!--
<el-input
v-model=
"editForm.effectiveDays"
style=
"width: 250px;"
:disabled=
"apear!='couponAdd'|| editForm.effectiveType != 1"
>
</el-radio>
<span
slot=
"prepend"
>
领取后
</span>
</el-form-item>
<span
slot=
"append"
>
天内有效
</span>
</el-input>
-->
</el-form-item>
</el-radio>
</
template
>
</
template
>
<
template
slot=
"useBarriersHtml"
>
<
template
slot=
"useBarriersHtml"
>
<el-radio
v-model=
"editForm.useBarriers"
label=
"1"
:disabled=
"apear!='couponAdd'"
>
无限制
</el-radio>
<el-radio
v-model=
"editForm.useBarriers"
label=
"1"
:disabled=
"apear!='couponAdd'"
>
无限制
</el-radio>
<el-
radio
v-model=
"editForm.useBarriers"
label=
"2"
:disabled=
"apear!='couponAdd' || editForm.useChannel == 2
"
>
<el-
form-item
prop=
"full
"
>
<el-
form-item
prop=
"full
"
>
<el-
radio
v-model=
"editForm.useBarriers"
label=
"2"
:disabled=
"apear!='couponAdd' || editForm.useChannel == 2
"
>
订单满
<el-input
v-model=
"editForm.full"
placeholder=
"输入金额(元)"
style=
"width: 110px;
"
:disabled=
"apear!='couponAdd'|| editForm.useBarriers != 2"
/>
元可用
订单满
<el-input
v-model=
"editForm.full"
placeholder=
"输入金额(元)"
style=
"width: 110px;margin-left:5px;margin-right:5px
"
:disabled=
"apear!='couponAdd'|| editForm.useBarriers != 2"
/>
元可用
</el-
form-item
>
</el-
radio
>
</el-
radio
>
</el-
form-item
>
</
template
>
</
template
>
<
template
slot=
"denominationHtml"
>
<
template
slot=
"denominationHtml"
>
<el-input
v-model=
"editForm.denomination"
style=
"width: 150px"
:disabled=
"apear!='couponAdd'"
@
blur
.
native
.
capture=
"denominationBlur"
>
<el-input
v-model=
"editForm.denomination"
style=
"width: 150px"
:disabled=
"apear!='couponAdd'"
@
blur
.
native
.
capture=
"denominationBlur"
>
...
@@ -64,7 +61,7 @@
...
@@ -64,7 +61,7 @@
</GLTable>
</GLTable>
</div>
</div>
<
template
slot=
"useDescriptionHtml"
>
<
template
slot=
"useDescriptionHtml"
>
<el-input
type=
"textarea"
v-model=
"editForm.useDescription"
style=
"width: 3
08
px"
:autosize=
"
{ minRows: 2, maxRows: 4}" maxlength="200" :disabled="apear=='couponSee'" />
<el-input
type=
"textarea"
v-model=
"editForm.useDescription"
style=
"width: 3
20
px"
:autosize=
"
{ minRows: 2, maxRows: 4}" maxlength="200" :disabled="apear=='couponSee'" />
</
template
>
</
template
>
</glsx-combi-form>
</glsx-combi-form>
</div>
</div>
...
@@ -110,24 +107,11 @@
...
@@ -110,24 +107,11 @@
</div>
</div>
</div>
</div>
<div
class=
"footer"
:style=
"{ left: footerLeft + 'px', width: footerWidth + 'px' }"
>
<div
class=
"footer"
:style=
"{ left: footerLeft + 'px', width: footerWidth + 'px' }"
>
<el-button
type=
"primary"
v-if=
"apear!='couponSee'"
@
click=
"handleConfirm"
>
确定
</el-button>
<el-button
type=
"default"
v-if=
"apear!='couponSee'"
@
click=
"handleCancel"
>
取消
</el-button>
<el-button
type=
"default"
v-if=
"apear!='couponSee'"
@
click=
"handleCancel"
>
取消
</el-button>
<el-button
type=
"primary"
v-if=
"apear!='couponSee'"
@
click=
"handleConfirm"
>
确定
</el-button>
<el-button
type=
"default"
v-if=
"apear=='couponSee'"
@
click=
"handleCancel"
>
返回
</el-button>
<el-button
type=
"default"
v-if=
"apear=='couponSee'"
@
click=
"handleCancel"
>
返回
</el-button>
</div>
</div>
<select-muti-pro-forcoupon-dialog
v-if=
"isMutiSelectVisible"
:isMutiSelectVisible=
"isMutiSelectVisible"
:searchForm=
"searchProForm"
:selectedProList=
"selectedProList"
@
handleMutiSelectConfirm=
"handleMutiSelectConfirm"
@
handleMutiSelectClose=
"handleMutiSelectClose"
>
<select-muti-pro-forcoupon-dialog
v-if=
"isMutiSelectVisible"
:isMutiSelectVisible=
"isMutiSelectVisible"
:searchForm=
"searchProForm"
:selectedProList=
"selectedProList"
@
handleMutiSelectConfirm=
"handleMutiSelectConfirm"
@
handleMutiSelectClose=
"handleMutiSelectClose"
>
<!-- <template slot="search">
<div class="flex">
<el-form :inline="true" :model="searchProForm">
<el-form-item label="商品名称:">
<el-input :size="size" v-model="searchProForm.name" placeholder="请输入商品名称" maxlength="20" clearable></el-input>
</el-form-item>
<el-form-item>
<el-button :size="size" type="primary" @click="handleConfigSearch">查询</el-button>
<el-button :size="size" @click="handleConfigReset">重置</el-button>
</el-form-item>
</el-form>
</div>
</template> -->
</select-muti-pro-forcoupon-dialog>
</select-muti-pro-forcoupon-dialog>
</div>
</div>
</template>
</template>
...
...
src/views/couponManage/editDiscountCoupon.vue
View file @
3f46c39
...
@@ -5,27 +5,28 @@
...
@@ -5,27 +5,28 @@
<p
class=
"edit-title"
>
{{
title
}}
折扣劵
</p>
<p
class=
"edit-title"
>
{{
title
}}
折扣劵
</p>
<glsx-combi-form
class=
"edit-form-container"
ref=
"editFormRef"
labelWidth=
"140px"
:isBlock=
"true"
:formRef=
"editChildRef"
:formObj=
"editForm"
:formData=
"editFormData"
:formRules=
"editRule"
>
<glsx-combi-form
class=
"edit-form-container"
ref=
"editFormRef"
labelWidth=
"140px"
:isBlock=
"true"
:formRef=
"editChildRef"
:formObj=
"editForm"
:formData=
"editFormData"
:formRules=
"editRule"
>
<template
slot=
"effectiveHtml"
>
<template
slot=
"effectiveHtml"
>
<el-
radio
v-model=
"editForm.effectiveType"
label=
"2"
:disabled=
"apear!='couponAdd'
"
>
<el-
form-item
prop=
"effectiveTime"
style=
"margin-top: 12px;display: block;
"
>
<el-
form-item
prop=
"effectiveTime
"
>
<el-
radio
v-model=
"editForm.effectiveType"
label=
"2"
:disabled=
"apear!='couponAdd'
"
>
<el-date-picker
<el-date-picker
v-model=
"editForm.effectiveTime"
v-model=
"editForm.effectiveTime"
type=
"daterange"
type=
"daterange"
style=
"width:295px"
range-separator=
"至"
range-separator=
"至"
start-placeholder=
"开始日期"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
end-placeholder=
"结束日期"
value-format=
"yyyy-MM-dd"
value-format=
"yyyy-MM-dd"
:disabled=
"editForm.effectiveType != 2||apear!='couponAdd'"
clearable
>
:disabled=
"editForm.effectiveType != 2||apear!='couponAdd'"
clearable
>
</el-date-picker>
</el-date-picker>
</el-
form-item
>
</el-
radio
>
</el-
radio><br
>
</el-
form-item
>
<el-
radio
v-model=
"editForm.effectiveType"
label=
"1"
:disabled=
"apear!='couponAdd'
"
>
<el-
form-item
prop=
"effectiveDays
"
>
<el-
form-item
prop=
"effectiveDays
"
>
<el-
radio
v-model=
"editForm.effectiveType"
label=
"1"
:disabled=
"apear!='couponAdd'
"
>
领取后
<el-input
v-model=
"editForm.effectiveDays"
style=
"width: 100px;"
:disabled=
"apear!='couponAdd'|| editForm.effectiveType != 1"
/>
天内有效
领取后
<el-input
v-model=
"editForm.effectiveDays"
style=
"width: 100px;margin-left:5px;margin-right:5px"
:disabled=
"apear!='couponAdd'|| editForm.effectiveType != 1"
/>
天内有效
</el-
form-item
>
</el-
radio
>
</el-
radio
>
</el-
form-item
>
</
template
>
</
template
>
<
template
slot=
"useDescriptionHtml"
>
<
template
slot=
"useDescriptionHtml"
>
<el-input
type=
"textarea"
v-model=
"editForm.useDescription"
style=
"width: 3
08
px"
:autosize=
"
{ minRows: 2, maxRows: 4}" maxlength="200" :disabled="apear=='couponSee'" />
<el-input
type=
"textarea"
v-model=
"editForm.useDescription"
style=
"width: 3
20
px"
:autosize=
"
{ minRows: 2, maxRows: 4}" maxlength="200" :disabled="apear=='couponSee'" />
</
template
>
</
template
>
</glsx-combi-form>
</glsx-combi-form>
</div>
</div>
...
@@ -48,8 +49,8 @@
...
@@ -48,8 +49,8 @@
</div>
</div>
</div>
</div>
<div
class=
"footer"
:style=
"{ left: footerLeft + 'px', width: footerWidth + 'px' }"
>
<div
class=
"footer"
:style=
"{ left: footerLeft + 'px', width: footerWidth + 'px' }"
>
<el-button
type=
"primary"
v-if=
"apear!='couponSee'"
@
click=
"handleConfirm"
>
确定
</el-button>
<el-button
type=
"default"
v-if=
"apear!='couponSee'"
@
click=
"handleCancel"
>
取消
</el-button>
<el-button
type=
"default"
v-if=
"apear!='couponSee'"
@
click=
"handleCancel"
>
取消
</el-button>
<el-button
type=
"primary"
v-if=
"apear!='couponSee'"
@
click=
"handleConfirm"
>
确定
</el-button>
<el-button
type=
"default"
v-if=
"apear=='couponSee'"
@
click=
"handleCancel"
>
返回
</el-button>
<el-button
type=
"default"
v-if=
"apear=='couponSee'"
@
click=
"handleCancel"
>
返回
</el-button>
</div>
</div>
</div>
</div>
...
...
src/views/couponManage/editExchangeCoupon.vue
View file @
3f46c39
...
@@ -5,27 +5,28 @@
...
@@ -5,27 +5,28 @@
<p
class=
"edit-title"
>
{{
title
}}
兑换券
</p>
<p
class=
"edit-title"
>
{{
title
}}
兑换券
</p>
<glsx-combi-form
class=
"edit-form-container"
ref=
"editFormRef"
labelWidth=
"140px"
:isBlock=
"true"
:formRef=
"editChildRef"
:formObj=
"editForm"
:formData=
"editFormData"
:formRules=
"editRule"
>
<glsx-combi-form
class=
"edit-form-container"
ref=
"editFormRef"
labelWidth=
"140px"
:isBlock=
"true"
:formRef=
"editChildRef"
:formObj=
"editForm"
:formData=
"editFormData"
:formRules=
"editRule"
>
<template
slot=
"effectiveHtml"
>
<template
slot=
"effectiveHtml"
>
<el-
radio
v-model=
"editForm.effectiveType"
label=
"2"
:disabled=
"apear!='couponAdd'
"
>
<el-
form-item
prop=
"effectiveTime"
style=
"margin-top: 12px;display: block;
"
>
<el-
form-item
prop=
"effectiveTime
"
>
<el-
radio
v-model=
"editForm.effectiveType"
label=
"2"
:disabled=
"apear!='couponAdd'
"
>
<el-date-picker
<el-date-picker
v-model=
"editForm.effectiveTime"
v-model=
"editForm.effectiveTime"
type=
"daterange"
type=
"daterange"
style=
"width:295px"
range-separator=
"至"
range-separator=
"至"
start-placeholder=
"开始日期"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
end-placeholder=
"结束日期"
value-format=
"yyyy-MM-dd"
value-format=
"yyyy-MM-dd"
:disabled=
"editForm.effectiveType != 2||apear!='couponAdd'"
clearable
>
:disabled=
"editForm.effectiveType != 2||apear!='couponAdd'"
clearable
>
</el-date-picker>
</el-date-picker>
</el-
form-item
>
</el-
radio
>
</el-
radio><br
>
</el-
form-item
>
<el-
radio
v-model=
"editForm.effectiveType"
label=
"1"
:disabled=
"apear!='couponAdd'
"
>
<el-
form-item
prop=
"effectiveDays
"
>
<el-
form-item
prop=
"effectiveDays
"
>
<el-
radio
v-model=
"editForm.effectiveType"
label=
"1"
:disabled=
"apear!='couponAdd'
"
>
领取后
<el-input
v-model=
"editForm.effectiveDays"
style=
"width: 100px;"
:disabled=
"apear!='couponAdd'|| editForm.effectiveType != 1"
/>
天内有效
领取后
<el-input
v-model=
"editForm.effectiveDays"
style=
"width: 100px;margin-left:5px;margin-right:5px"
:disabled=
"apear!='couponAdd'|| editForm.effectiveType != 1"
/>
天内有效
</el-
form-item
>
</el-
radio
>
</el-
radio
>
</el-
form-item
>
</
template
>
</
template
>
<
template
slot=
"useDescriptionHtml"
>
<
template
slot=
"useDescriptionHtml"
>
<el-input
type=
"textarea"
v-model=
"editForm.useDescription"
style=
"width: 3
08
px"
:autosize=
"
{ minRows: 2, maxRows: 4}" maxlength="200" :disabled="apear=='couponSee'" />
<el-input
type=
"textarea"
v-model=
"editForm.useDescription"
style=
"width: 3
20
px"
:autosize=
"
{ minRows: 2, maxRows: 4}" maxlength="200" :disabled="apear=='couponSee'" />
</
template
>
</
template
>
</glsx-combi-form>
</glsx-combi-form>
</div>
</div>
...
@@ -48,8 +49,8 @@
...
@@ -48,8 +49,8 @@
</div>
</div>
</div>
</div>
<div
class=
"footer"
:style=
"{ left: footerLeft + 'px', width: footerWidth + 'px' }"
>
<div
class=
"footer"
:style=
"{ left: footerLeft + 'px', width: footerWidth + 'px' }"
>
<el-button
type=
"primary"
v-if=
"apear!='couponSee'"
@
click=
"handleConfirm"
>
确定
</el-button>
<el-button
type=
"default"
v-if=
"apear!='couponSee'"
@
click=
"handleCancel"
>
取消
</el-button>
<el-button
type=
"default"
v-if=
"apear!='couponSee'"
@
click=
"handleCancel"
>
取消
</el-button>
<el-button
type=
"primary"
v-if=
"apear!='couponSee'"
@
click=
"handleConfirm"
>
确定
</el-button>
<el-button
type=
"default"
v-if=
"apear=='couponSee'"
@
click=
"handleCancel"
>
返回
</el-button>
<el-button
type=
"default"
v-if=
"apear=='couponSee'"
@
click=
"handleCancel"
>
返回
</el-button>
</div>
</div>
</div>
</div>
...
...
src/views/couponManage/editMemberService.vue
View file @
3f46c39
...
@@ -6,46 +6,47 @@
...
@@ -6,46 +6,47 @@
<glsx-combi-form
class=
"edit-form-container"
ref=
"editFormRef"
labelWidth=
"140px"
:isBlock=
"true"
:formRef=
"editChildRef"
:formObj=
"editForm"
:formData=
"editFormData"
:formRules=
"editRule"
>
<glsx-combi-form
class=
"edit-form-container"
ref=
"editFormRef"
labelWidth=
"140px"
:isBlock=
"true"
:formRef=
"editChildRef"
:formObj=
"editForm"
:formData=
"editFormData"
:formRules=
"editRule"
>
<template
slot=
"effectiveHtml"
>
<template
slot=
"effectiveHtml"
>
<el-radio
v-model=
"editForm.effectiveType"
label=
"3"
:disabled=
"apear!='couponAdd'"
>
无有效期
</el-radio><br>
<el-radio
v-model=
"editForm.effectiveType"
label=
"3"
:disabled=
"apear!='couponAdd'"
>
无有效期
</el-radio><br>
<el-
radio
v-model=
"editForm.effectiveType"
label=
"2"
:disabled=
"apear!='couponAdd'
"
>
<el-
form-item
prop=
"effectiveTime"
style=
"margin-top: 12px;display: block;
"
>
<el-
form-item
prop=
"effectiveTime
"
>
<el-
radio
v-model=
"editForm.effectiveType"
label=
"2"
:disabled=
"apear!='couponAdd'
"
>
<el-date-picker
<el-date-picker
v-model=
"editForm.effectiveTime"
v-model=
"editForm.effectiveTime"
type=
"daterange"
type=
"daterange"
style=
"width:295px"
range-separator=
"至"
range-separator=
"至"
start-placeholder=
"开始日期"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
end-placeholder=
"结束日期"
value-format=
"yyyy-MM-dd"
value-format=
"yyyy-MM-dd"
:disabled=
"editForm.effectiveType != 2||apear!='couponAdd'"
clearable
>
:disabled=
"editForm.effectiveType != 2||apear!='couponAdd'"
clearable
>
</el-date-picker>
</el-date-picker>
</el-
form-item
>
</el-
radio
>
</el-
radio><br
>
</el-
form-item
>
<el-
radio
v-model=
"editForm.effectiveType"
label=
"1"
:disabled=
"apear!='couponAdd'
"
>
<el-
form-item
prop=
"effectiveDays
"
>
<el-
form-item
prop=
"effectiveDays
"
>
<el-
radio
v-model=
"editForm.effectiveType"
label=
"1"
:disabled=
"apear!='couponAdd'
"
>
领取后
<el-input
v-model=
"editForm.effectiveDays"
style=
"width: 100px;"
:disabled=
"apear!='couponAdd'|| editForm.effectiveType != 1"
/>
天内有效
领取后
<el-input
v-model=
"editForm.effectiveDays"
style=
"width: 100px;margin-left:5px;margin-right:5px"
:disabled=
"apear!='couponAdd'|| editForm.effectiveType != 1"
/>
天内有效
</el-
form-item
>
</el-
radio
>
</el-
radio
>
</el-
form-item
>
</
template
>
</
template
>
<
template
slot=
"useTypeHtml"
>
<
template
slot=
"useTypeHtml"
>
<el-radio
v-model=
"editForm.useType"
label=
"0"
:disabled=
"apear!='couponAdd'"
>
无限制
</el-radio><br>
<el-radio
v-model=
"editForm.useType"
label=
"0"
:disabled=
"apear!='couponAdd'"
>
无限制
</el-radio><br>
<el-
radio
v-model=
"editForm.useType"
label=
"1"
:disabled=
"apear!='couponAdd'
"
>
<el-
form-item
prop=
"usageTimes"
style=
"margin-top: 12px;display: block;
"
>
<el-
form-item
prop=
"usageTimes
"
>
<el-
radio
v-model=
"editForm.useType"
label=
"1"
:disabled=
"apear!='couponAdd'
"
>
有效期内可使用
有效期内可使用
<el-input
v-model=
"editForm.usageTimes"
style=
"width: 100px;"
:disabled=
"apear!='couponAdd'|| editForm.useType != 1"
/>
次
<el-input
v-model=
"editForm.usageTimes"
style=
"width: 100px;margin-left:5px;margin-right:5px"
:disabled=
"apear!='couponAdd'|| editForm.useType != 1"
/>
次
</el-
form-item
>
</el-
radio
>
</el-
radio><br
>
</el-
form-item
>
<el-radio
v-model=
"editForm.useType"
label=
"2"
:disabled=
"apear!='couponAdd'"
>
<el-radio
v-model=
"editForm.useType"
label=
"2"
:disabled=
"apear!='couponAdd'"
>
<el-form-item
prop=
"useLimitDays"
>
<el-form-item
prop=
"useLimitDays"
>
有效期内
有效期内
<el-input
v-model=
"editForm.useLimitDays"
style=
"width: 100px;"
:disabled=
"apear!='couponAdd'|| editForm.useType != 2"
/>
天
<el-input
v-model=
"editForm.useLimitDays"
style=
"width: 100px;margin-left:5px;margin-right:5px"
:disabled=
"apear!='couponAdd'|| editForm.useType != 2"
/>
可使用
天可使用
</el-form-item>
</el-form-item>
<el-form-item
prop=
"usageTimes2"
>
<el-form-item
prop=
"usageTimes2"
>
<el-input
v-model=
"editForm.usageTimes2"
style=
"width: 100px;
"
:disabled=
"apear!='couponAdd'|| editForm.useType != 2"
/>
次
<el-input
v-model=
"editForm.usageTimes2"
style=
"width: 100px;
margin-right:5px"
:disabled=
"apear!='couponAdd'|| editForm.useType != 2"
/>
次
</el-form-item>
</el-form-item>
</el-radio>
</el-radio>
</
template
>
</
template
>
<
template
slot=
"useDescriptionHtml"
>
<
template
slot=
"useDescriptionHtml"
>
<el-input
type=
"textarea"
v-model=
"editForm.useDescription"
style=
"width: 3
08
px"
:autosize=
"
{ minRows: 2, maxRows: 4}" maxlength="200" :disabled="apear=='couponSee'" />
<el-input
type=
"textarea"
v-model=
"editForm.useDescription"
style=
"width: 3
20
px"
:autosize=
"
{ minRows: 2, maxRows: 4}" maxlength="200" :disabled="apear=='couponSee'" />
</
template
>
</
template
>
</glsx-combi-form>
</glsx-combi-form>
</div>
</div>
...
@@ -68,8 +69,8 @@
...
@@ -68,8 +69,8 @@
</div>
</div>
</div>
</div>
<div
class=
"footer"
:style=
"{ left: footerLeft + 'px', width: footerWidth + 'px' }"
>
<div
class=
"footer"
:style=
"{ left: footerLeft + 'px', width: footerWidth + 'px' }"
>
<el-button
type=
"primary"
v-if=
"apear!='couponSee'"
@
click=
"handleConfirm"
>
确定
</el-button>
<el-button
type=
"default"
v-if=
"apear!='couponSee'"
@
click=
"handleCancel"
>
取消
</el-button>
<el-button
type=
"default"
v-if=
"apear!='couponSee'"
@
click=
"handleCancel"
>
取消
</el-button>
<el-button
type=
"primary"
v-if=
"apear!='couponSee'"
@
click=
"handleConfirm"
>
确定
</el-button>
<el-button
type=
"default"
v-if=
"apear=='couponSee'"
@
click=
"handleCancel"
>
返回
</el-button>
<el-button
type=
"default"
v-if=
"apear=='couponSee'"
@
click=
"handleCancel"
>
返回
</el-button>
</div>
</div>
</div>
</div>
...
...
src/views/couponManage/index.vue
View file @
3f46c39
...
@@ -11,8 +11,8 @@
...
@@ -11,8 +11,8 @@
<div>
<div>
<glsx-combi-form
ref=
"showSearch"
labelWidth=
"100px"
:formObj=
"searchForm"
:formData=
"searchFormData"
>
<glsx-combi-form
ref=
"showSearch"
labelWidth=
"100px"
:formObj=
"searchForm"
:formData=
"searchFormData"
>
<span
slot=
"footer"
class=
"footer-btns"
>
<span
slot=
"footer"
class=
"footer-btns"
>
<el-button
:size=
"size"
@
click=
"handleReset"
>
重置
</el-button>
<el-button
:size=
"size"
type=
"primary"
@
click=
"handleSearch"
>
查询
</el-button>
<el-button
:size=
"size"
type=
"primary"
@
click=
"handleSearch"
>
查询
</el-button>
<el-button
:size=
"size"
type=
"primary"
@
click=
"handleReset"
>
重置
</el-button>
</span>
</span>
</glsx-combi-form>
</glsx-combi-form>
</div>
</div>
...
@@ -65,6 +65,7 @@ export default {
...
@@ -65,6 +65,7 @@ export default {
label
:
'名称'
,
label
:
'名称'
,
name
:
'couponName'
,
name
:
'couponName'
,
type
:
'input'
,
type
:
'input'
,
width
:
'215px'
,
maxlength
:
20
maxlength
:
20
},
},
// {
// {
...
@@ -78,7 +79,7 @@ export default {
...
@@ -78,7 +79,7 @@ export default {
label
:
'优惠券类型'
,
label
:
'优惠券类型'
,
name
:
'discountType'
,
name
:
'discountType'
,
type
:
'select'
,
type
:
'select'
,
width
:
'
160
px'
,
width
:
'
215
px'
,
optionList
:
[],
optionList
:
[],
optionId
:
'confId'
,
optionId
:
'confId'
,
optionLabel
:
'confName'
,
optionLabel
:
'confName'
,
...
@@ -88,7 +89,7 @@ export default {
...
@@ -88,7 +89,7 @@ export default {
label
:
'优惠券状态'
,
label
:
'优惠券状态'
,
name
:
'status'
,
name
:
'status'
,
type
:
'select'
,
type
:
'select'
,
width
:
'
160
px'
,
width
:
'
215
px'
,
optionList
:
[],
optionList
:
[],
optionId
:
'confId'
,
optionId
:
'confId'
,
optionLabel
:
'confName'
,
optionLabel
:
'confName'
,
...
...
src/views/couponManage/writeOffDetail.vue
View file @
3f46c39
...
@@ -5,10 +5,10 @@
...
@@ -5,10 +5,10 @@
<div>
<div>
<glsx-combi-form
ref=
"showSearch"
labelWidth=
"100px"
:formObj=
"searchForm"
:formData=
"searchFormData"
>
<glsx-combi-form
ref=
"showSearch"
labelWidth=
"100px"
:formObj=
"searchForm"
:formData=
"searchFormData"
>
<span
slot=
"footer"
class=
"footer-btns"
>
<span
slot=
"footer"
class=
"footer-btns"
>
<el-button
:size=
"size"
@
click=
"handleReset"
>
重置
</el-button>
<el-button
:size=
"size"
type=
"primary"
@
click=
"handleSearch"
>
查询
</el-button>
<el-button
:size=
"size"
type=
"primary"
@
click=
"handleSearch"
>
查询
</el-button>
<el-button
:size=
"size"
type=
"primary"
@
click=
"handleReset"
>
重置
</el-button>
<el-button
:size=
"size"
type=
"primary"
@
click=
"writeOff"
>
优惠券核销
</el-button>
<el-button
:size=
"size"
type=
"primary"
@
click=
"writeOff"
>
优惠券核销
</el-button>
<el-button
:size=
"size"
type=
"primary"
@
click=
"goback"
>
返回
</el-button>
<el-button
:size=
"size"
@
click=
"goback"
>
返回
</el-button>
</span>
</span>
</glsx-combi-form>
</glsx-combi-form>
</div>
</div>
...
...
src/views/customerTransform/addCustomer.vue
View file @
3f46c39
...
@@ -150,12 +150,15 @@
...
@@ -150,12 +150,15 @@
type=
"date"
type=
"date"
value-format=
"yyyy-MM-dd"
value-format=
"yyyy-MM-dd"
placeholder=
"选择日期"
placeholder=
"选择日期"
:picker-options=
"dateOptions"
@
change=
"changeValue"
></el-date-picker>
-
></el-date-picker>
-
<el-time-picker
<el-time-picker
v-model=
"basicForm.sendDate"
v-model=
"basicForm.sendDate"
size=
"small"
size=
"small"
value-format=
"HH:mm:ss"
value-format=
"HH:mm:ss"
placeholder=
"选择时间"
placeholder=
"选择时间"
:picker-options=
"timeOptions"
></el-time-picker>
></el-time-picker>
</div>
</div>
</el-form-item>
</el-form-item>
...
@@ -278,7 +281,17 @@ export default {
...
@@ -278,7 +281,17 @@ export default {
// 是否有修改筛选成员
// 是否有修改筛选成员
isUpdate
:
true
,
isUpdate
:
true
,
tagging
:
[],
tagging
:
[],
groupNumber
:
''
groupNumber
:
''
,
dateOptions
:
{
disabledDate
(
time
)
{
let
now
=
new
Date
()
now
.
setTime
(
now
.
getTime
()
-
3600
*
1000
*
24
)
return
time
.
getTime
()
<
now
}
},
timeOptions
:
{
selectableRange
:
'00:00:00 - 23:59:59'
}
}
}
},
},
mounted
()
{
mounted
()
{
...
@@ -438,6 +451,22 @@ export default {
...
@@ -438,6 +451,22 @@ export default {
this
.
groupNumber
=
res
this
.
groupNumber
=
res
this
.
isUpdate
=
false
this
.
isUpdate
=
false
})
})
},
changeValue
(
v
)
{
console
.
log
(
v
,
Date
.
now
())
const
date
=
new
Date
(
v
).
getTime
()
if
(
date
<
Date
.
now
())
{
this
.
timeOptions
=
{
selectableRange
:
`
${
dayjs
()
.
add
(
1
,
'm'
)
.
format
(
'HH:mm'
)}
:00 - 23:59:59`
}
console
.
log
(
this
.
timeOptions
)
}
else
{
this
.
timeOptions
=
{
selectableRange
:
'00:00:00 - 23:59:59'
}
}
}
}
}
}
}
}
...
...
src/views/customerTransform/addCustomerGroup.vue
View file @
3f46c39
...
@@ -52,12 +52,15 @@
...
@@ -52,12 +52,15 @@
type=
"date"
type=
"date"
value-format=
"yyyy-MM-dd"
value-format=
"yyyy-MM-dd"
placeholder=
"选择日期"
placeholder=
"选择日期"
:picker-options=
"dateOptions"
@
change=
"changeValue"
></el-date-picker>
-
></el-date-picker>
-
<el-time-picker
<el-time-picker
v-model=
"basicForm.sendDate"
v-model=
"basicForm.sendDate"
size=
"small"
size=
"small"
value-format=
"HH:mm:ss"
value-format=
"HH:mm:ss"
placeholder=
"选择时间"
placeholder=
"选择时间"
:picker-options=
"timeOptions"
></el-time-picker>
></el-time-picker>
</div>
</div>
</el-form-item>
</el-form-item>
...
@@ -97,6 +100,7 @@ import Vue from 'vue'
...
@@ -97,6 +100,7 @@ import Vue from 'vue'
import
WelcomeWords
from
'./components/welcomeWords.vue'
import
WelcomeWords
from
'./components/welcomeWords.vue'
import
SelectMembers
from
'./components/selectMembers.vue'
import
SelectMembers
from
'./components/selectMembers.vue'
import
Preview
from
'./components/preview.vue'
import
Preview
from
'./components/preview.vue'
import
*
as
dayjs
from
'dayjs'
export
default
{
export
default
{
components
:
{
components
:
{
WelcomeWords
,
WelcomeWords
,
...
@@ -166,7 +170,17 @@ export default {
...
@@ -166,7 +170,17 @@ export default {
]
]
},
},
membersVisible
:
false
,
membersVisible
:
false
,
key
:
new
Date
()
key
:
new
Date
(),
dateOptions
:
{
disabledDate
(
time
)
{
let
now
=
new
Date
()
now
.
setTime
(
now
.
getTime
()
-
3600
*
1000
*
24
)
return
time
.
getTime
()
<
now
}
},
timeOptions
:
{
selectableRange
:
'00:00:00 - 23:59:59'
}
}
}
},
},
mounted
()
{
mounted
()
{
...
@@ -246,6 +260,22 @@ export default {
...
@@ -246,6 +260,22 @@ export default {
})
})
}
}
})
})
},
changeValue
(
v
)
{
console
.
log
(
v
,
Date
.
now
())
const
date
=
new
Date
(
v
).
getTime
()
if
(
date
<
Date
.
now
())
{
this
.
timeOptions
=
{
selectableRange
:
`
${
dayjs
()
.
add
(
1
,
'm'
)
.
format
(
'HH:mm'
)}
:00 - 23:59:59`
}
console
.
log
(
this
.
timeOptions
)
}
else
{
this
.
timeOptions
=
{
selectableRange
:
'00:00:00 - 23:59:59'
}
}
}
}
}
}
}
}
...
...
src/views/customerTransform/components/basicInfo.vue
View file @
3f46c39
...
@@ -185,7 +185,7 @@ export default {
...
@@ -185,7 +185,7 @@ export default {
}
}
.statistics-li
{
.statistics-li
{
display
:
inline-block
;
display
:
inline-block
;
width
:
142px
;
//
width
:
142px
;
color
:
#424242
;
color
:
#424242
;
font-size
:
14px
;
font-size
:
14px
;
text-align
:
center
;
text-align
:
center
;
...
@@ -193,6 +193,7 @@ export default {
...
@@ -193,6 +193,7 @@ export default {
&.statistics-border
{
&.statistics-border
{
padding-right
:
35
px
;
padding-right
:
35
px
;
margin-right
:
0
;
margin-right
:
0
;
padding-right
:
36px
;
border-right
:
1px
solid
#5850ff
;
border-right
:
1px
solid
#5850ff
;
}
}
.statistics-number
{
.statistics-number
{
...
...
src/views/customerTransform/detailCustomer.vue
View file @
3f46c39
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
:class=
"[item.status == 0 ? 'unsend' : 'send']"
:class=
"[item.status == 0 ? 'unsend' : 'send']"
>
{{
item
.
status
==
0
?
'未'
:
'已'
}}
发送
</span>
>
{{
item
.
status
==
0
?
'未'
:
'已'
}}
发送
</span>
</div>
</div>
<div
class=
"info-num"
>
共
{{
item
.
customerCount
}}
个客户
</div>
<div
class=
"info-num"
>
共
{{
item
.
customerCount
?
item
.
customerCount
:
0
}}
个客户
</div>
</div>
</div>
<div
class=
"info-right"
>
<div
class=
"info-right"
>
<div
v-if=
"item.remindStatus == 1"
>
已提醒
</div>
<div
v-if=
"item.remindStatus == 1"
>
已提醒
</div>
...
@@ -68,6 +68,7 @@
...
@@ -68,6 +68,7 @@
<div
class=
"info-name"
>
<div
class=
"info-name"
>
{{
item
.
customerName
}}
{{
item
.
customerName
}}
<div
<div
class=
"customer-table"
:class=
"[item.status == 0 ? 'unsend' : 'send']"
:class=
"[item.status == 0 ? 'unsend' : 'send']"
>
{{
item
.
status
==
0
?
'未'
:
'已'
}}
送达
</div>
>
{{
item
.
status
==
0
?
'未'
:
'已'
}}
送达
</div>
</div>
</div>
...
@@ -260,6 +261,9 @@ export default {
...
@@ -260,6 +261,9 @@ export default {
color
:
#fff
;
color
:
#fff
;
border-radius
:
2px
;
border-radius
:
2px
;
}
}
.customer-table
{
display
:
table
;
}
div
{
div
{
margin-top
:
10px
;
margin-top
:
10px
;
font-size
:
14px
;
font-size
:
14px
;
...
...
src/views/home/index.vue
View file @
3f46c39
...
@@ -98,7 +98,7 @@
...
@@ -98,7 +98,7 @@
title=
"浏览量"
title=
"浏览量"
width=
"200"
width=
"200"
trigger=
"hover"
trigger=
"hover"
content=
"购买活动商品的账号数量。"
content=
"
进入活动页面但未购买商品的张傲数量+
购买活动商品的账号数量。"
>
>
<img
slot=
"reference"
:src=
"iconUrl"
alt
/>
<img
slot=
"reference"
:src=
"iconUrl"
alt
/>
</el-popover>
</el-popover>
...
@@ -116,7 +116,7 @@
...
@@ -116,7 +116,7 @@
title=
"累计销量"
title=
"累计销量"
width=
"200"
width=
"200"
trigger=
"hover"
trigger=
"hover"
content=
"购买活动商品
的账号数量
。"
content=
"购买活动商品
付款金额的累加
。"
>
>
<img
slot=
"reference"
:src=
"iconUrl"
alt
/>
<img
slot=
"reference"
:src=
"iconUrl"
alt
/>
</el-popover>
</el-popover>
...
...
src/views/memberCenter/center.vue
View file @
3f46c39
...
@@ -75,7 +75,7 @@
...
@@ -75,7 +75,7 @@
</el-form-item>
</el-form-item>
</el-row>
</el-row>
</el-form>
</el-form>
<GLTable
ref=
"memberCenterRef
"
:searchForm=
"searchFormTable"
:tableParams=
"tableParams"
:getListApi=
"getListApi"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchFn"
>
<GLTable
v-if=
"isReload"
ref=
"memberCenterRef"
@
setTableFinishFun=
"setTableFinishFun
"
:searchForm=
"searchFormTable"
:tableParams=
"tableParams"
:getListApi=
"getListApi"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchFn"
>
<span
slot=
"accountName"
slot-scope=
"scope"
>
<span
slot=
"accountName"
slot-scope=
"scope"
>
<div>
{{ scope.scope.accountName }}
</div>
<div>
{{ scope.scope.accountName }}
</div>
<div>
{{ scope.scope.mobile }}
</div>
<div>
{{ scope.scope.mobile }}
</div>
...
@@ -84,26 +84,26 @@
...
@@ -84,26 +84,26 @@
</div>
</div>
<glsx-dialog
title=
"权益详情"
width=
"712px"
:noBtnOk=
"true"
:noCancel=
"true"
:noClose=
"false"
btnCancelLabel=
"关闭"
btnSize=
"small"
:isVisible=
"isDialogVisible"
:showClose=
"false"
@
closeDialog=
"handleClose"
@
confirmDialog=
"handleClose"
>
<glsx-dialog
title=
"权益详情"
width=
"712px"
:noBtnOk=
"true"
:noCancel=
"true"
:noClose=
"false"
btnCancelLabel=
"关闭"
btnSize=
"small"
:isVisible=
"isDialogVisible"
:showClose=
"false"
@
closeDialog=
"handleClose"
@
confirmDialog=
"handleClose"
>
<!-- <el-scrollbar> -->
<!-- <el-scrollbar> -->
<div
class=
"modal-body"
>
<div
class=
"modal-body"
>
<div
class=
"equity-name"
>
汽车权益
</div>
<div
class=
"equity-name"
>
汽车权益
</div>
<div
class=
"equity-panel"
>
<div
class=
"equity-panel"
>
<div
class=
"equity-item"
v-for=
"(item, index) in merchantData.carServiceList"
:key=
"index"
>
<div
class=
"equity-item"
v-for=
"(item, index) in merchantData.carServiceList"
:key=
"index"
>
<div
class=
"equity-item-icon"
><img
:src=
"item.equityIcon"
/></div>
<div
class=
"equity-item-icon"
><img
:src=
"item.equityIcon"
/></div>
<div
class=
"equity-item-name"
>
{{ item.equityName }}
</div>
<div
class=
"equity-item-name"
>
{{ item.equityName }}
</div>
<div
class=
"equity-item-desc"
>
{{ item.equityDesc }}
</div>
<div
class=
"equity-item-desc"
>
{{ item.equityDesc }}
</div>
</div>
</div>
</div>
<div
v-for=
"(item, index) in merchantData.goodsServiceList"
:key=
"index"
>
</div
>
<div
class=
"equity-name"
>
{{ item.goodsCategory }}
</div
>
<div
v-for=
"(item, index) in merchantData.goodsServiceList"
:key=
"index"
>
<div
class=
"equity-panel"
>
<div
class=
"equity-name"
>
{{ item.goodsCategory }}
</div
>
<div
class=
"equity-item"
v-for=
"(v, xindex) in item.equityGoodsGroupDescDtos"
:key=
"xindex
"
>
<div
class=
"equity-panel
"
>
<div
class=
"equity-item-icon"
><img
:src=
"v.equityIcon"
/></div
>
<div
class=
"equity-item"
v-for=
"(v, xindex) in item.equityGoodsGroupDescDtos"
:key=
"xindex"
>
<div
class=
"equity-item-name"
>
{{ v.equityName }}
</div>
<div
class=
"equity-item-icon"
><img
:src=
"v.equityIcon"
/>
</div>
<div
class=
"equity-item-desc"
>
{{ v.equityDesc
}}
</div>
<div
class=
"equity-item-name"
>
{{ v.equityName
}}
</div>
</div>
<
div
class=
"equity-item-desc"
>
{{ v.equityDesc }}
<
/div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- </el-scrollbar> -->
<!-- </el-scrollbar> -->
</glsx-dialog>
</glsx-dialog>
</div>
</div>
...
@@ -135,6 +135,7 @@ export default {
...
@@ -135,6 +135,7 @@ export default {
// }, 1000)
// }, 1000)
}
}
return
{
return
{
isReload
:
true
,
pickerOptions
:
{
pickerOptions
:
{
disabledDate
(
time
)
{
disabledDate
(
time
)
{
return
time
.
getTime
()
>
Date
.
now
()
||
time
.
getTime
()
<
new
Date
(
'2017-12-31'
).
getTime
()
return
time
.
getTime
()
>
Date
.
now
()
||
time
.
getTime
()
<
new
Date
(
'2017-12-31'
).
getTime
()
...
@@ -190,13 +191,12 @@ export default {
...
@@ -190,13 +191,12 @@ export default {
},
},
{
{
label
:
'开通方式'
,
label
:
'开通方式'
,
prop
:
'activeTypeDesc'
,
prop
:
'activeTypeDesc'
},
},
{
{
label
:
'开通日期'
,
label
:
'开通日期'
,
prop
:
'activeTime'
,
prop
:
'activeTime'
// addHtml: 'activeTime'
// addHtml: 'activeTime'
},
},
{
{
...
@@ -237,7 +237,7 @@ export default {
...
@@ -237,7 +237,7 @@ export default {
//权益 - 弹窗
//权益 - 弹窗
isDialogVisible
:
false
,
isDialogVisible
:
false
,
merchantData
:
{},
merchantData
:
{},
merchantId
:
44184606
//记得改
merchantId
:
0
//记得改 44184606
}
}
},
},
created
()
{
created
()
{
...
@@ -281,12 +281,11 @@ export default {
...
@@ -281,12 +281,11 @@ export default {
},
},
getCardContentFun
()
{
getCardContentFun
()
{
getCardContent
({
merchantId
:
this
.
merchantId
}).
then
(
res
=>
{
getCardContent
({
merchantId
:
this
.
merchantId
}).
then
(
res
=>
{
this
.
ruleForm
.
equityId
=
res
[
0
].
id
this
.
ruleForm
.
equityId
=
res
[
0
].
id
this
.
ruleForm
.
cardName
=
res
[
0
].
cardClassName
this
.
ruleForm
.
cardName
=
res
[
0
].
cardClassName
this
.
ruleForm
.
price
=
res
[
0
].
price
this
.
ruleForm
.
price
=
res
[
0
].
price
this
.
ruleForm
.
marketPrice
=
res
[
0
].
marketPrice
this
.
ruleForm
.
marketPrice
=
res
[
0
].
marketPrice
this
.
ruleForm
.
linkUrl
=
res
[
0
].
url
this
.
ruleForm
.
linkUrl
=
res
[
0
].
url
})
})
},
},
openEditWrap
()
{
openEditWrap
()
{
...
@@ -333,16 +332,21 @@ export default {
...
@@ -333,16 +332,21 @@ export default {
})
})
},
},
handleReset
()
{
handleReset
()
{
// this.searchForm = {
this
.
isReload
=
false
// name: '',
// status: '-1'
// }
this
.
searchForm
=
{}
this
.
searchForm
=
{}
this
.
handleSearch
()
this
.
$nextTick
(()
=>
{
this
.
isReload
=
true
})
},
},
handleSearch
()
{
handleSearch
()
{
this
.
$refs
.
memberCenterRef
.
refreshTable
()
this
.
$refs
.
memberCenterRef
.
refreshTable
()
},
},
setTableFinishFun
()
{
//接收到的数据为空
if
(
!
this
.
$refs
.
memberCenterRef
.
data
.
length
)
{
this
.
$refs
.
memberCenterRef
.
setTableHeightFun
()
}
},
handleClose
()
{
handleClose
()
{
this
.
isDialogVisible
=
!
this
.
isDialogVisible
this
.
isDialogVisible
=
!
this
.
isDialogVisible
},
},
...
@@ -439,7 +443,7 @@ export default {
...
@@ -439,7 +443,7 @@ export default {
}
}
.editForm
{
.editForm
{
padding-top
:
0px
;
padding-top
:
0px
;
.cardNameInput
{
.cardNameInput
{
width
:
423px
;
width
:
423px
;
}
}
}
}
...
@@ -447,7 +451,7 @@ export default {
...
@@ -447,7 +451,7 @@ export default {
.pageTitle
{
.pageTitle
{
position
:
relative
;
position
:
relative
;
padding
:
0
0px
;
padding
:
0
0px
;
height
:
20px
;
height
:
20px
;
font-size
:
20px
;
font-size
:
20px
;
font-weight
:
700
;
font-weight
:
700
;
...
...
src/views/memberCenter/order.vue
View file @
3f46c39
...
@@ -2,15 +2,15 @@
...
@@ -2,15 +2,15 @@
<div
class=
"live-room"
>
<div
class=
"live-room"
>
<div
class=
"live-room container"
>
<div
class=
"live-room container"
>
<div
class=
"flex"
>
<div
class=
"flex"
>
<el-form
:inline=
"true"
style=
"width:100%"
:model=
"searchForm"
label-width=
"70px"
label-position=
"right"
>
<el-form
:inline=
"true"
style=
"width:
100%"
:model=
"searchForm"
label-width=
"70px"
label-position=
"right"
>
<el-row>
<el-row>
<el-form-item
size=
"small"
label=
"订单编号"
>
<el-form-item
size=
"small"
label=
"订单编号"
>
<el-input
:size=
"size"
v-model=
"searchForm.orderCode"
placeholder=
"请输入订单编号"
clearable
></el-input>
<el-input
:size=
"size"
v-model=
"searchForm.orderCode"
placeholder=
"请输入订单编号"
clearable
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
size=
"small"
label=
"名称"
style=
"margin-left:20px"
>
<el-form-item
size=
"small"
label=
"名称"
style=
"margin-left:
20px"
>
<el-input
:size=
"size"
v-model=
"searchForm.packageName"
placeholder=
"请输入名称"
clearable
></el-input>
<el-input
:size=
"size"
v-model=
"searchForm.packageName"
placeholder=
"请输入名称"
clearable
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
size=
"small"
label=
"类型"
style=
"margin-left:-10px"
>
<el-form-item
size=
"small"
label=
"类型"
style=
"margin-left:
-10px"
>
<el-select
size=
"small"
v-model=
"searchForm.orderType"
placeholder=
"请选择"
>
<el-select
size=
"small"
v-model=
"searchForm.orderType"
placeholder=
"请选择"
>
<el-option
v-for=
"item in orderTypeList"
:key=
"item.dictValue"
:label=
"item.dictLabel"
:value=
"item.dictValue"
></el-option>
<el-option
v-for=
"item in orderTypeList"
:key=
"item.dictValue"
:label=
"item.dictLabel"
:value=
"item.dictValue"
></el-option>
</el-select>
</el-select>
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
<el-date-picker
:size=
"size"
v-model=
"searchForm.daterange"
type=
"daterange"
value-format=
"yyyy-MM-dd"
range-separator=
"至"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
:picker-options=
"pickerOptions ||
{}">
</el-date-picker>
<el-date-picker
:size=
"size"
v-model=
"searchForm.daterange"
type=
"daterange"
value-format=
"yyyy-MM-dd"
range-separator=
"至"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
:picker-options=
"pickerOptions ||
{}">
</el-date-picker>
</el-form-item>
</el-form-item>
<el-form-item
size=
"small"
style=
"float:right"
>
<el-form-item
size=
"small"
style=
"float:
right"
>
<el-button
:size=
"size"
type=
"primary"
@
click=
"handleSearch"
>
查询
</el-button>
<el-button
:size=
"size"
type=
"primary"
@
click=
"handleSearch"
>
查询
</el-button>
<el-button
:size=
"size"
@
click=
"handleReset"
>
重置
</el-button>
<el-button
:size=
"size"
@
click=
"handleReset"
>
重置
</el-button>
</el-form-item>
</el-form-item>
...
@@ -36,12 +36,12 @@
...
@@ -36,12 +36,12 @@
{{
item
}}
{{
item
}}
</div>
</div>
</div>
</div>
<GLTable
ref=
"memberOrderRef"
:searchForm=
"searchFormTable"
:tableParams=
"tableParams"
:getListApi=
"getListApi"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchFn"
>
<GLTable
ref=
"memberOrderRef"
v-if=
"isReload"
@
setTableFinishFun=
"setTableFinishFun"
:searchForm=
"searchFormTable"
:tableParams=
"tableParams"
:getListApi=
"getListApi"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchFn"
>
<!--
<span
slot=
"shareImgUrl"
slot-scope=
"scope"
>
<!--
<span
slot=
"shareImgUrl"
slot-scope=
"scope"
>
<img
class=
"img-60"
:src=
"scope.scope.shareImgUrl"
/>
<img
class=
"img-60"
:src=
"scope.scope.shareImgUrl"
/>
</span>
-->
</span>
-->
<span
class=
"table-btns"
slot=
"auth-button"
slot-scope=
"scope"
:data=
"scope.scope"
>
<span
class=
"table-btns"
slot=
"auth-button"
slot-scope=
"scope"
:data=
"scope.scope"
>
<el-button
type=
"text"
@
click=
"handleDetail(scope.scope)"
v-if=
"scope.scope.orderType
==
1"
>
详情
</el-button>
<el-button
type=
"text"
@
click=
"handleDetail(scope.scope)"
v-if=
"scope.scope.orderType
==
1"
>
详情
</el-button>
</span>
</span>
</GLTable>
</GLTable>
</div>
</div>
...
@@ -54,6 +54,7 @@ import { getOrderListApi } from '@/api/modules/order'
...
@@ -54,6 +54,7 @@ import { getOrderListApi } from '@/api/modules/order'
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
isReload
:
true
,
pickerOptions
:
{
pickerOptions
:
{
disabledDate
(
time
)
{
disabledDate
(
time
)
{
return
time
.
getTime
()
>
Date
.
now
()
||
time
.
getTime
()
<
new
Date
(
'2017-12-31'
).
getTime
()
return
time
.
getTime
()
>
Date
.
now
()
||
time
.
getTime
()
<
new
Date
(
'2017-12-31'
).
getTime
()
...
@@ -162,7 +163,7 @@ export default {
...
@@ -162,7 +163,7 @@ export default {
break
break
case
3
:
case
3
:
delete
this
.
searchForm
.
orderStatus
delete
this
.
searchForm
.
orderStatus
delete
this
.
searchForm
[
'orderStatus[1]'
]
delete
this
.
searchForm
[
'orderStatus[1]'
]
delete
this
.
searchForm
[
'orderStatus[2]'
]
delete
this
.
searchForm
[
'orderStatus[2]'
]
this
.
searchForm
[
'orderStatus[0]'
]
=
3
this
.
searchForm
[
'orderStatus[0]'
]
=
3
break
break
...
@@ -202,9 +203,21 @@ export default {
...
@@ -202,9 +203,21 @@ export default {
handleSearch
()
{
handleSearch
()
{
this
.
$refs
.
memberOrderRef
.
refreshTable
()
this
.
$refs
.
memberOrderRef
.
refreshTable
()
},
},
setTableFinishFun
()
{
//接收到的数据为空
if
(
!
this
.
$refs
.
memberOrderRef
.
data
.
length
)
{
this
.
$refs
.
memberOrderRef
.
setTableHeightFun
()
}
},
handleReset
()
{
handleReset
()
{
this
.
isReload
=
false
this
.
currentIndex
=
1
this
.
searchForm
=
{}
this
.
searchForm
=
{}
this
.
handleSearch
()
this
.
searchForm
.
orderStatus
=
''
//默认查询全部
// this.handleSearch()
this
.
$nextTick
(()
=>
{
this
.
isReload
=
true
})
}
}
}
}
}
}
...
...
src/views/memberCenter/orderDetail.vue
View file @
3f46c39
...
@@ -67,7 +67,8 @@
...
@@ -67,7 +67,8 @@
</el-table-column>
</el-table-column>
<el-table-column
prop=
"orderStatus"
label=
"状态"
align=
"center"
>
<el-table-column
prop=
"orderStatus"
label=
"状态"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
orderStatus
==
2
?
'待收货'
:
scope
.
row
.
orderStatus
==
3
?
'已完成'
:
scope
.
row
.
orderStatus
==
4
?
'售后中'
:
scope
.
row
.
orderStatus
==
2
?
'退款失败'
:
scope
.
row
.
orderStatus
==
2
?
'已退款'
:
''
}}
</span>
<span>
{{
scope
.
row
.
orderStatus
==
2
?
'待收货'
:
scope
.
row
.
orderStatus
==
3
?
'已完成'
:
scope
.
row
.
orderStatus
==
4
?
'售后中'
:
scope
.
row
.
orderStatus
==
5
?
'退款失败'
:
scope
.
row
.
orderStatus
==
6
?
'已退款'
:
''
}}
</span>
<div>
{{
scope
.
row
.
refundReason
}}
</div>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
@@ -113,25 +114,12 @@ export default {
...
@@ -113,25 +114,12 @@ export default {
this
.
$set
(
this
.
tableData
[
0
],
'totalPrice'
,
this
.
detail
.
originalPrice
)
this
.
$set
(
this
.
tableData
[
0
],
'totalPrice'
,
this
.
detail
.
originalPrice
)
this
.
$set
(
this
.
tableData
[
0
],
'realPayPrice'
,
this
.
detail
.
realPayPrice
)
this
.
$set
(
this
.
tableData
[
0
],
'realPayPrice'
,
this
.
detail
.
realPayPrice
)
this
.
$set
(
this
.
tableData
[
0
],
'orderStatus'
,
this
.
detail
.
orderStatus
)
this
.
$set
(
this
.
tableData
[
0
],
'orderStatus'
,
this
.
detail
.
orderStatus
)
this
.
$set
(
this
.
tableData
[
0
],
'refundReason'
,
this
.
detail
.
refundReason
)
}
else
{
}
else
{
this
.
$message
.
error
(
`
${
res
.
message
}
`
)
this
.
$message
.
error
(
`
${
res
.
message
}
`
)
}
}
})
})
},
},
// setTableData() {
// this.$set(this.tableData[0], 'couponList', this.detail.couponList)
// this.$set(this.tableData[0], 'orderType', this.detail.orderType)
// this.$set(this.tableData[0], 'effectiveNum', this.detail.effectiveNum)
// this.$set(this.tableData[0], 'originalPrice', this.detail.originalPrice)
// this.$set(this.tableData[0], 'amount', 1)
// this.$set(this.tableData[0], 'totalPrice', this.detail.originalPrice)
// this.$set(this.tableData[0], 'realPayPrice', this.detail.realPayPrice)
// this.$set(this.tableData[0], 'orderStatus', this.detail.orderStatus)
// console.log(this.tableData[0], '表格数据')
// },
goBack
()
{
goBack
()
{
console
.
log
(
this
.
detail
,
'gggg'
)
console
.
log
(
this
.
detail
,
'gggg'
)
this
.
$router
.
go
(
-
1
)
this
.
$router
.
go
(
-
1
)
...
...
src/views/memberCenter/record.vue
View file @
3f46c39
...
@@ -37,7 +37,7 @@
...
@@ -37,7 +37,7 @@
</el-row>
</el-row>
</el-form>
</el-form>
</div>
</div>
<GLTable
ref=
"memberRecordRef"
@
setTableFinishFun=
"setTableFinishFun"
:searchForm=
"searchFormTable"
:tableParams=
"tableParams"
:getListApi=
"getListApi"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchFn"
>
<GLTable
ref=
"memberRecordRef"
v-if=
"isReload"
@
setTableFinishFun=
"setTableFinishFun"
:searchForm=
"searchFormTable"
:tableParams=
"tableParams"
:getListApi=
"getListApi"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchFn"
>
<span
slot=
"verificationTime"
slot-scope=
"scope"
>
<span
slot=
"verificationTime"
slot-scope=
"scope"
>
<span>
{{
dateFormatFun
(
scope
.
scope
.
verificationTime
)
}}
</span>
<span>
{{
dateFormatFun
(
scope
.
scope
.
verificationTime
)
}}
</span>
</span>
</span>
...
@@ -53,6 +53,7 @@ export default {
...
@@ -53,6 +53,7 @@ export default {
name
:
'record'
,
name
:
'record'
,
data
()
{
data
()
{
return
{
return
{
isReload
:
true
,
pickerOptions
:
{
pickerOptions
:
{
disabledDate
(
time
)
{
disabledDate
(
time
)
{
return
time
.
getTime
()
>
Date
.
now
()
||
time
.
getTime
()
<
new
Date
(
'2017-12-31'
).
getTime
()
return
time
.
getTime
()
>
Date
.
now
()
||
time
.
getTime
()
<
new
Date
(
'2017-12-31'
).
getTime
()
...
@@ -68,7 +69,7 @@ export default {
...
@@ -68,7 +69,7 @@ export default {
userReq
:
''
,
userReq
:
''
,
verificationOperator
:
''
,
verificationOperator
:
''
,
orderCode
:
''
,
orderCode
:
''
,
merchantId
:
44184606
merchantId
:
0
},
},
// 44187877
// 44187877
searchFormTable
:
{},
searchFormTable
:
{},
...
@@ -115,10 +116,18 @@ export default {
...
@@ -115,10 +116,18 @@ export default {
addHtml
:
'verificationTime'
addHtml
:
'verificationTime'
}
}
]
]
}
},
merchantId
:
0
}
}
},
},
created
()
{
if
(
window
.
__POWERED_BY_QIANKUN__
)
{
//运行在qiankun容器中
this
.
merchantId
=
this
.
$globalState
.
session
.
merchantId
this
.
searchForm
.
merchantId
=
this
.
merchantId
}
},
methods
:
{
methods
:
{
dateFormatFun
(
date
)
{
dateFormatFun
(
date
)
{
return
dateFormat
(
date
)
return
dateFormat
(
date
)
...
@@ -143,15 +152,7 @@ export default {
...
@@ -143,15 +152,7 @@ export default {
this
.
$refs
.
memberRecordRef
.
setTableHeightFun
()
this
.
$refs
.
memberRecordRef
.
setTableHeightFun
()
}
}
},
},
// handleShare(row) {
// getLiveShareApi({ id: row.id }).then(res => {
// console.log(res)
// this.isShareVisible = !this.isShareVisible
// this.shareForm = res
// })
// },
handleShareClose
()
{
handleShareClose
()
{
// this.handleShare()
this
.
isShareVisible
=
!
this
.
isShareVisible
this
.
isShareVisible
=
!
this
.
isShareVisible
},
},
...
@@ -186,8 +187,13 @@ export default {
...
@@ -186,8 +187,13 @@ export default {
this
.
$refs
.
memberRecordRef
.
refreshTable
()
this
.
$refs
.
memberRecordRef
.
refreshTable
()
},
},
handleReset
()
{
handleReset
()
{
this
.
searchForm
=
{
merchantId
:
44184606
}
// this.searchForm = { merchantId: 44184606 }
this
.
handleSearch
()
// this.handleSearch()
this
.
isReload
=
false
this
.
searchForm
=
{
merchantId
:
this
.
merchantId
}
this
.
$nextTick
(()
=>
{
this
.
isReload
=
true
})
}
}
}
}
}
}
...
...
src/views/memberCenter/service.vue
View file @
3f46c39
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
</el-form-item>
</el-form-item>
</el-row>
</el-row>
</el-form>
</el-form>
<GLTable
ref=
"memberServiceRef"
@
setTableFinishFun=
"setTableFinishFun"
:searchForm=
"searchForm"
:tableParams=
"tableParams"
:getListApi=
"getListApi"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchFn"
>
<GLTable
v-if=
"isReload"
ref=
"memberServiceRef"
@
setTableFinishFun=
"setTableFinishFun"
:searchForm=
"searchForm"
:tableParams=
"tableParams"
:getListApi=
"getListApi"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchFn"
>
<span
slot=
"effectiveType"
slot-scope=
"scope"
>
<span
slot=
"effectiveType"
slot-scope=
"scope"
>
<span>
{{
toLabelText
(
scope
.
scope
)
}}
</span>
<span>
{{
toLabelText
(
scope
.
scope
)
}}
</span>
</span>
</span>
...
@@ -57,6 +57,7 @@ export default {
...
@@ -57,6 +57,7 @@ export default {
},
},
data
()
{
data
()
{
return
{
return
{
isReload
:
true
,
isFirstShow
:
false
,
isFirstShow
:
false
,
panelContent
:
'会员服务:是由门店根据自店服务项目创建的线上服务券,如“一年十二次洗车券”、“陶瓷镀膜”等,客户购买后可到店出示服务券享受服务,门店扫码进行次数核销。'
,
panelContent
:
'会员服务:是由门店根据自店服务项目创建的线上服务券,如“一年十二次洗车券”、“陶瓷镀膜”等,客户购买后可到店出示服务券享受服务,门店扫码进行次数核销。'
,
size
:
'small'
,
size
:
'small'
,
...
@@ -164,14 +165,19 @@ export default {
...
@@ -164,14 +165,19 @@ export default {
},
},
handleReset
()
{
handleReset
()
{
this
.
isReload
=
false
this
.
searchForm
=
{
couponName
:
''
,
merchantId
:
this
.
merchantId
,
discountType
:
7
}
this
.
searchForm
=
{
couponName
:
''
,
merchantId
:
this
.
merchantId
,
discountType
:
7
}
this
.
handleSearch
()
// this.handleSearch()
this
.
$nextTick
(()
=>
{
this
.
isReload
=
true
})
},
},
handleSearch
()
{
handleSearch
()
{
this
.
$refs
.
memberServiceRef
.
refreshTable
()
this
.
$refs
.
memberServiceRef
.
refreshTable
()
},
},
setTableFinishFun
(
content
)
{
setTableFinishFun
(
content
)
{
console
.
log
(
content
,
this
.
$refs
.
memberServiceRef
.
data
.
length
,
'获取数据'
)
//
console.log(content, this.$refs.memberServiceRef.data.length, '获取数据')
//接收到的数据为空
//接收到的数据为空
if
(
!
this
.
$refs
.
memberServiceRef
.
data
.
length
)
{
if
(
!
this
.
$refs
.
memberServiceRef
.
data
.
length
)
{
this
.
$refs
.
memberServiceRef
.
setTableHeightFun
()
this
.
$refs
.
memberServiceRef
.
setTableHeightFun
()
...
...
src/views/memberCenter/setmeal.vue
View file @
3f46c39
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
<el-button
:size=
"size"
type=
"primary"
@
click=
"handleCreate"
icon=
"el-icon-plus"
>
创建套餐
</el-button>
<el-button
:size=
"size"
type=
"primary"
@
click=
"handleCreate"
icon=
"el-icon-plus"
>
创建套餐
</el-button>
<el-button
:size=
"size"
@
click=
"isDialogVisible = true"
>
查看示例效果
</el-button>
<el-button
:size=
"size"
@
click=
"isDialogVisible = true"
>
查看示例效果
</el-button>
</div>
</div>
<GLTable
ref=
"memberSetMealRef"
:searchForm=
"searchForm"
:tableParams=
"tableParams"
:getListApi=
"getListApi"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchFn"
>
<GLTable
ref=
"memberSetMealRef"
@
setTableFinishFun=
"setTableFinishFun"
:searchForm=
"searchForm"
:tableParams=
"tableParams"
:getListApi=
"getListApi"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchFn"
>
<span
slot=
"list"
slot-scope=
"scope"
>
<span
slot=
"list"
slot-scope=
"scope"
>
<div
v-for=
"(item, index) in scope.scope.list"
:key=
"index"
>
{{
item
.
couponName
}}
×
{{
item
.
serviceQuantity
}}
</div>
<div
v-for=
"(item, index) in scope.scope.list"
:key=
"index"
>
{{
item
.
couponName
}}
×
{{
item
.
serviceQuantity
}}
</div>
</span>
</span>
...
@@ -26,21 +26,17 @@
...
@@ -26,21 +26,17 @@
</span>
</span>
</GLTable>
</GLTable>
</div>
</div>
<!-- btnCancelLabel="关闭" -->
<!-- btnCancelLabel="关闭" -->
<glsx-dialog
title=
"示例效果"
width=
"1142px"
:hasScroll=
"false"
:noBtnOk=
"true"
:noCancel=
"true"
:noClose=
"false"
btnSize=
"small"
:isVisible=
"isDialogVisible"
:showClose=
"false"
@
closeDialog=
"handleClose"
@
confirmDialog=
"handleClose"
>
<glsx-dialog
title=
"示例效果"
width=
"1142px"
:hasScroll=
"false"
:noBtnOk=
"true"
:noCancel=
"true"
:noClose=
"false"
btnSize=
"small"
:isVisible=
"isDialogVisible"
:showClose=
"false"
@
closeDialog=
"handleClose"
@
confirmDialog=
"handleClose"
>
<div
class=
"content-body"
>
<div
class=
"content-body"
>
<div
class=
"content-item col1"
>
<div
class=
"content-item col1"
>
<div
class=
"subTitle"
>
<div
class=
"subTitle"
>
1、管理后台先创建套餐
</div>
1、管理后台先创建套餐
</div>
<div
class=
"imageWrap"
>
<div
class=
"imageWrap"
>
<img
src=
"@/assets/table.png"
alt=
""
/>
<img
src=
"@/assets/table.png"
alt=
""
/>
</div>
</div>
</div>
</div>
<div
class=
"content-item col2"
>
<div
class=
"content-item col2"
>
<div
class=
"subTitle"
>
<div
class=
"subTitle"
>
2、小程序端进行展示
</div>
2、小程序端进行展示
</div>
<div
class=
"twoImageWrap"
>
<div
class=
"twoImageWrap"
>
<img
src=
"@/assets/card1.png"
alt=
""
/>
<img
src=
"@/assets/card1.png"
alt=
""
/>
<img
src=
"@/assets/card2.png"
alt=
""
/>
<img
src=
"@/assets/card2.png"
alt=
""
/>
...
@@ -120,11 +116,11 @@ export default {
...
@@ -120,11 +116,11 @@ export default {
isDialogVisible
:
false
isDialogVisible
:
false
}
}
},
},
created
()
{
created
()
{
this
.
getLoginCountFun
()
this
.
getLoginCountFun
()
},
},
methods
:
{
methods
:
{
getLoginCountFun
()
{
getLoginCountFun
()
{
//loginType:5是查会员套餐浏览次数
//loginType:5是查会员套餐浏览次数
getLoginCount
({
loginType
:
5
}).
then
(
res
=>
{
getLoginCount
({
loginType
:
5
}).
then
(
res
=>
{
//获取是否第一次点击该页面
//获取是否第一次点击该页面
...
@@ -143,6 +139,13 @@ export default {
...
@@ -143,6 +139,13 @@ export default {
handleSearch
()
{
handleSearch
()
{
this
.
$refs
.
memberSetMealRef
.
refreshTable
()
this
.
$refs
.
memberSetMealRef
.
refreshTable
()
},
},
setTableFinishFun
()
{
//接收到的数据为空
if
(
!
this
.
$refs
.
memberSetMealRef
.
data
.
length
)
{
this
.
$refs
.
memberSetMealRef
.
setTableHeightFun
()
}
},
//创建套餐
//创建套餐
handleCreate
()
{
handleCreate
()
{
this
.
$router
.
push
(
'/memberCenter/setmealAddUpdate'
)
this
.
$router
.
push
(
'/memberCenter/setmealAddUpdate'
)
...
@@ -222,19 +225,18 @@ export default {
...
@@ -222,19 +225,18 @@ export default {
margin-bottom
:
20px
;
margin-bottom
:
20px
;
}
}
/
deep
/
.el-dialog__header
{
/
deep
/
.el-dialog__header
{
.main-title{
.main-title
{
font-size
:
16px
;
font-size
:
16px
;
font-weight
:
700
;
font-weight
:
700
;
color
:
#000000
;
color
:
#000000
;
}
}
}
}
/
deep
/
.el-dialog__body
{
/
deep
/
.el-dialog__body
{
border-top
:
1px
solid
#e6e6e6
;
border-top
:
1px
solid
#e6e6e6
;
border-bottom
:
1px
solid
#e6e6e6
;
border-bottom
:
1px
solid
#e6e6e6
;
padding
:
20px
25px
;
padding
:
20px
25px
;
.content-body
{
.content-body
{
display
:
flex
;
display
:
flex
;
...
@@ -249,13 +251,14 @@ export default {
...
@@ -249,13 +251,14 @@ export default {
font-weight
:
700
;
font-weight
:
700
;
color
:
#000000
;
color
:
#000000
;
}
}
.imageWrap
,
.twoImageWrap
{
.imageWrap
,
margin-left
:
25px
;
.twoImageWrap
{
img{
margin-left
:
25px
;
border
:
1.5px
solid
rgba
(
0
,
0
,
0
,
0.03
);
img
{
box-shadow
:
0px
10px
20px
0px
rgba
(
0
,
0
,
0
,
0.03
);
border
:
1.5px
solid
rgba
(
0
,
0
,
0
,
0.03
);
box-shadow
:
0px
10px
20px
0px
rgba
(
0
,
0
,
0
,
0.03
);
}
}
img
+
img
{
img
+
img
{
margin-left
:
22px
;
margin-left
:
22px
;
}
}
}
}
...
...
src/views/memberCenter/setmealAddUpdate.vue
View file @
3f46c39
<
template
>
<
template
>
<div
class=
"live-room"
>
<div
class=
"live-room"
>
<div
class=
"topMsg"
>
<div
class=
"topMsg"
>
<p
class=
"pageTitle"
>
创建套餐
</p>
<p
class=
"pageTitle"
v-if=
"!id"
>
创建套餐
</p>
<p
class=
"pageTitle"
v-else
>
编辑套餐
</p>
<el-button
type=
"primary"
size=
"small"
@
click=
"goBack"
>
返回
</el-button>
<el-button
type=
"primary"
size=
"small"
@
click=
"goBack"
>
返回
</el-button>
</div>
</div>
<div
class=
"live-room container"
>
<div
class=
"live-room container"
>
<el-form
ref=
"ruleForm"
:rules=
"rules"
:model=
"ruleForm"
label-width=
"120px"
class=
"demo-ruleForm"
>
<el-form
ref=
"ruleForm"
:rules=
"rules"
:model=
"ruleForm"
label-width=
"120px"
class=
"demo-ruleForm"
>
<el-form-item
size=
"small"
label=
"套餐名称"
prop=
"packageName"
style=
"width: 440px"
>
<el-form-item
size=
"small"
label=
"套餐名称"
prop=
"packageName"
style=
"width: 440px"
>
<el-input
size=
"small"
v-model=
"ruleForm.packageName"
maxlength=
"20"
placeholder=
"请输入套餐名称"
></el-input>
<el-input
size=
"small"
v-model=
"ruleForm.packageName"
maxlength=
"20"
placeholder=
"请输入套餐名称"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
size=
"small"
label=
"套餐内容"
class=
"is-required"
>
<el-form-item
size=
"small"
label=
"套餐内容"
class=
"is-required"
>
<el-button
@
click=
"openDialog"
size=
"small"
icon=
"el-icon-plus"
>
选择服务
</el-button>
<el-button
@
click=
"openDialog"
size=
"small"
icon=
"el-icon-plus"
>
选择服务
</el-button>
...
@@ -202,7 +203,7 @@ export default {
...
@@ -202,7 +203,7 @@ export default {
}
}
}
}
})
})
console
.
log
(
'编辑内容'
,
this
.
choseItemList
,
this
.
totalPrice
)
this
.
copyTotalPrice
=
this
.
totalPrice
this
.
copyTotalPrice
=
this
.
totalPrice
this
.
copyRuleForm
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
ruleForm
))
//深拷贝一份数据
this
.
copyRuleForm
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
ruleForm
))
//深拷贝一份数据
this
.
copyChoseItemList
=
this
.
choseItemList
this
.
copyChoseItemList
=
this
.
choseItemList
...
@@ -224,7 +225,7 @@ export default {
...
@@ -224,7 +225,7 @@ export default {
serviceQuantity
:
0
serviceQuantity
:
0
}
}
})
})
console
.
log
(
this
.
allItemList
,
'服务套餐'
)
if
(
this
.
id
)
{
if
(
this
.
id
)
{
this
.
getServiceInfo
()
//获取编辑详情
this
.
getServiceInfo
()
//获取编辑详情
}
}
...
@@ -241,12 +242,12 @@ export default {
...
@@ -241,12 +242,12 @@ export default {
closeChoseItemFun
(
item
,
index
)
{
closeChoseItemFun
(
item
,
index
)
{
this
.
totalPrice
=
this
.
totalPrice
-
item
.
vipPrice
*
item
.
serviceQuantity
this
.
totalPrice
=
this
.
totalPrice
-
item
.
vipPrice
*
item
.
serviceQuantity
// item.serviceQuantity = 0
// item.serviceQuantity = 0
this
.
allItemList
.
forEach
(
ele
=>
{
//
this.allItemList.forEach(ele => {
if
(
ele
.
id
==
item
.
serviceId
)
{
//
if (ele.id == item.serviceId) {
ele
.
serviceQuantity
=
0
//
ele.serviceQuantity = 0
}
//
}
})
//
})
this
.
selectNumFun
()
//
this.selectNumFun()
this
.
choseItemList
.
splice
(
index
,
1
)
this
.
choseItemList
.
splice
(
index
,
1
)
},
},
selectNumFun
()
{
selectNumFun
()
{
...
@@ -400,7 +401,8 @@ export default {
...
@@ -400,7 +401,8 @@ export default {
...
ele
,
...
ele
,
serviceId
:
ele
.
id
serviceId
:
ele
.
id
}
}
})
})
console
.
log
(
'确定之后choseItemList'
,
this
.
choseItemList
)
this
.
setmealDialogVisible
=
false
this
.
setmealDialogVisible
=
false
},
},
handleClose
()
{
handleClose
()
{
...
@@ -414,7 +416,7 @@ export default {
...
@@ -414,7 +416,7 @@ export default {
// //第二个参数这里是对象,不是number(n)
// //第二个参数这里是对象,不是number(n)
// return preValue + choseItem.vipPrice * choseItem.serviceQuantity
// return preValue + choseItem.vipPrice * choseItem.serviceQuantity
// }, 0)
// }, 0)
this
.
getSetmealServiceFun
()
//
this.getSetmealServiceFun()
},
},
handleTipClose
()
{
handleTipClose
()
{
this
.
isTipDialogVisible
=
false
this
.
isTipDialogVisible
=
false
...
...
src/views/seckillActivity/editActivity.vue
View file @
3f46c39
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<p
class=
"edit-title"
>
{{
title
}}
秒杀活动
</p>
<p
class=
"edit-title"
>
{{
title
}}
秒杀活动
</p>
<glsx-combi-form
class=
"edit-form-container"
ref=
"editFormRef"
labelWidth=
"140px"
:isBlock=
"true"
:formRef=
"editChildRef"
:formObj=
"editForm"
:formData=
"editFormData"
:formRules=
"editRule"
>
<glsx-combi-form
class=
"edit-form-container"
ref=
"editFormRef"
labelWidth=
"140px"
:isBlock=
"true"
:formRef=
"editChildRef"
:formObj=
"editForm"
:formData=
"editFormData"
:formRules=
"editRule"
>
<template
slot=
"activityTimeHtml"
>
<template
slot=
"activityTimeHtml"
>
<
el-form-item
>
<
!--
<el-form-item>
--
>
<el-date-picker
<el-date-picker
v-model=
"editForm.activityTime"
v-model=
"editForm.activityTime"
type=
"datetimerange"
type=
"datetimerange"
...
@@ -16,13 +16,12 @@
...
@@ -16,13 +16,12 @@
:picker-options=
"pickerOptions"
:picker-options=
"pickerOptions"
:disabled=
"isDisabled"
clearable
>
:disabled=
"isDisabled"
clearable
>
</el-date-picker>
</el-date-picker>
<
/el-form-item
>
<
!--
</el-form-item>
--
>
</
template
>
</
template
>
<div
slot=
"goodsHtml"
>
<div
slot=
"goodsHtml"
>
<el-button
type=
"primary"
v-if=
"apear!='see'"
@
click=
"handleRelateProClose"
>
选择商品
</el-button>
<el-button
type=
"primary"
v-if=
"apear!='see'"
@
click=
"handleRelateProClose"
>
选择商品
</el-button>
<div
v-if=
"selectedProInfo.id && !specificationDetailList.length"
>
<div
v-if=
"selectedProInfo.id && !specificationDetailList.length"
style=
"margin-top:10px"
>
<p>
<p>
<!-- <img ng-src="{{selectPro.goodsImage}}" style="width: 50px;height:50px;"/> -->
<img
class=
"img-60"
:src=
"selectedProInfo.goodsImage"
/>
<img
class=
"img-60"
:src=
"selectedProInfo.goodsImage"
/>
零售价 {{(selectedProInfo.retailPrice/100).toFixed(2)}}元
零售价 {{(selectedProInfo.retailPrice/100).toFixed(2)}}元
...
@@ -83,8 +82,8 @@
...
@@ -83,8 +82,8 @@
</glsx-combi-form>
</glsx-combi-form>
</div>
</div>
<div
class=
"footer"
:style=
"{ left: footerLeft + 'px', width: footerWidth + 'px' }"
>
<div
class=
"footer"
:style=
"{ left: footerLeft + 'px', width: footerWidth + 'px' }"
>
<el-button
type=
"primary"
v-if=
"apear!='see'"
@
click=
"handleConfirm"
>
确定
</el-button>
<el-button
type=
"default"
v-if=
"apear!='see'"
@
click=
"handleCancel"
>
取消
</el-button>
<el-button
type=
"default"
v-if=
"apear!='see'"
@
click=
"handleCancel"
>
取消
</el-button>
<el-button
type=
"primary"
v-if=
"apear!='see'"
@
click=
"handleConfirm"
>
确定
</el-button>
<el-button
type=
"default"
v-if=
"apear=='see'"
@
click=
"handleCancel"
>
返回
</el-button>
<el-button
type=
"default"
v-if=
"apear=='see'"
@
click=
"handleCancel"
>
返回
</el-button>
</div>
</div>
<select-single-pro-dialog
v-if=
"isSingleSelectVisible"
:isSingleSelectVisible=
"isSingleSelectVisible"
:selectedProInfo=
"selectedProInfo"
@
handleSingleSelectConfirm=
"handleSingleSelectConfirm"
@
handleSingleSelectClose=
"handleSingleSelectClose"
></select-single-pro-dialog>
<select-single-pro-dialog
v-if=
"isSingleSelectVisible"
:isSingleSelectVisible=
"isSingleSelectVisible"
:selectedProInfo=
"selectedProInfo"
@
handleSingleSelectConfirm=
"handleSingleSelectConfirm"
@
handleSingleSelectClose=
"handleSingleSelectClose"
></select-single-pro-dialog>
...
@@ -136,7 +135,8 @@ export default {
...
@@ -136,7 +135,8 @@ export default {
promotion
:
''
,
promotion
:
''
,
activityTime
:
[],
activityTime
:
[],
activityPrice
:
''
,
activityPrice
:
''
,
goodsStock
:
''
goodsStock
:
''
,
goodsId
:
''
},
},
//商品列表
//商品列表
tableParams
:
{
tableParams
:
{
...
@@ -160,8 +160,8 @@ export default {
...
@@ -160,8 +160,8 @@ export default {
searchProForm
:
{
searchProForm
:
{
name
:
''
name
:
''
},
},
selectedAllProList
:
[],
//
selectedAllProList: [],
selectedProList
:
[],
//
selectedProList: [],
editRule
:
{
editRule
:
{
activityName
:
[{
required
:
true
,
message
:
'请输入活动名称'
,
trigger
:
'change'
}],
activityName
:
[{
required
:
true
,
message
:
'请输入活动名称'
,
trigger
:
'change'
}],
activityImg
:
[{
required
:
true
,
message
:
'请选择活动宣传图'
,
trigger
:
'change'
}],
activityImg
:
[{
required
:
true
,
message
:
'请选择活动宣传图'
,
trigger
:
'change'
}],
...
@@ -169,6 +169,7 @@ export default {
...
@@ -169,6 +169,7 @@ export default {
activityTime
:
[{
required
:
true
,
message
:
'活动时间不能为空'
,
trigger
:
'change'
}],
activityTime
:
[{
required
:
true
,
message
:
'活动时间不能为空'
,
trigger
:
'change'
}],
activityPrice
:
[{
required
:
true
,
message
:
'请设置秒杀价'
,
trigger
:
'change'
}],
activityPrice
:
[{
required
:
true
,
message
:
'请设置秒杀价'
,
trigger
:
'change'
}],
goodsStock
:
[{
required
:
true
,
message
:
'请设置活动库存'
,
trigger
:
'change'
}],
goodsStock
:
[{
required
:
true
,
message
:
'请设置活动库存'
,
trigger
:
'change'
}],
goodsId
:
[{
required
:
true
,
message
:
'请选择商品'
,
trigger
:
[
'change'
,
'blur'
]
}],
},
},
editFormData
:
[
editFormData
:
[
{
{
...
@@ -209,7 +210,7 @@ export default {
...
@@ -209,7 +210,7 @@ export default {
},
},
{
{
label
:
'商品'
,
label
:
'商品'
,
name
:
''
,
name
:
'
goodsId
'
,
addHtml
:
'goodsHtml'
addHtml
:
'goodsHtml'
},
},
]
]
...
@@ -296,6 +297,7 @@ export default {
...
@@ -296,6 +297,7 @@ export default {
// this.editForm.goodsImage = selectedProInfo.goodsImage
// this.editForm.goodsImage = selectedProInfo.goodsImage
this
.
handleSingleSelectClose
()
this
.
handleSingleSelectClose
()
if
(
selectedProInfo
){
if
(
selectedProInfo
){
this
.
editForm
.
goodsId
=
selectedProInfo
.
id
this
.
getGoodInfo
(
selectedProInfo
.
id
)
this
.
getGoodInfo
(
selectedProInfo
.
id
)
}
}
},
},
...
@@ -499,13 +501,13 @@ export default {
...
@@ -499,13 +501,13 @@ export default {
handleConfirm
()
{
handleConfirm
()
{
this
.
validateRules
()
this
.
validateRules
()
var
flag
=
true
var
flag
=
true
if
(
JSON
.
stringify
(
this
.
selectedProInfo
)
==
'{}'
){
//
if(JSON.stringify(this.selectedProInfo) == '{}'){
this
.
$message
({
//
this.$message({
message
:
'未选择商品'
,
//
message: '未选择商品',
type
:
'error'
//
type: 'error'
})
//
})
flag
=
false
//
flag = false
}
//
}
if
(
this
.
nameToValSpecsList
&&
this
.
nameToValSpecsList
.
length
>
0
){
if
(
this
.
nameToValSpecsList
&&
this
.
nameToValSpecsList
.
length
>
0
){
for
(
var
key
in
this
.
nameToValSpecsList
)
{
for
(
var
key
in
this
.
nameToValSpecsList
)
{
var
item
=
this
.
nameToValSpecsList
[
key
]
var
item
=
this
.
nameToValSpecsList
[
key
]
...
...
src/views/seckillActivity/index.vue
View file @
3f46c39
...
@@ -8,8 +8,8 @@
...
@@ -8,8 +8,8 @@
<div>
<div>
<glsx-combi-form
ref=
"showSearch"
labelWidth=
"100px"
:formObj=
"searchForm"
:formData=
"searchFormData"
>
<glsx-combi-form
ref=
"showSearch"
labelWidth=
"100px"
:formObj=
"searchForm"
:formData=
"searchFormData"
>
<span
slot=
"footer"
class=
"footer-btns"
>
<span
slot=
"footer"
class=
"footer-btns"
>
<el-button
:size=
"size"
@
click=
"handleReset"
>
重置
</el-button>
<el-button
:size=
"size"
type=
"primary"
@
click=
"handleSearch"
>
查询
</el-button>
<el-button
:size=
"size"
type=
"primary"
@
click=
"handleSearch"
>
查询
</el-button>
<el-button
:size=
"size"
type=
"primary"
@
click=
"handleReset"
>
重置
</el-button>
</span>
</span>
</glsx-combi-form>
</glsx-combi-form>
</div>
</div>
...
@@ -64,13 +64,14 @@ export default {
...
@@ -64,13 +64,14 @@ export default {
label
:
'活动名称'
,
label
:
'活动名称'
,
name
:
'activityName'
,
name
:
'activityName'
,
type
:
'input'
,
type
:
'input'
,
width
:
'215px'
,
maxlength
:
20
maxlength
:
20
},
},
{
{
label
:
'状态'
,
label
:
'状态'
,
name
:
'activityStatus'
,
name
:
'activityStatus'
,
type
:
'select'
,
type
:
'select'
,
width
:
'
160
px'
,
width
:
'
215
px'
,
optionList
:
[],
optionList
:
[],
optionId
:
'confId'
,
optionId
:
'confId'
,
optionLabel
:
'confName'
,
optionLabel
:
'confName'
,
...
...
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