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 795f7f00
authored
Jul 27, 2022
by
wuwx
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'v2.7.0' into wuwx_dev_v2.7.0
2 parents
ce248f7b
7dc2fbe9
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
98 additions
and
142 deletions
src/assets/seckillActivity/icon-add.png
src/common/constant.js
src/components/relate-store-dialog/index.vue
src/views/giftBag/giftList.vue
src/views/material/components/functionIntroduc.vue
src/views/material/components/selectLable.vue
src/views/memberCenter/center.vue
src/views/memberCenter/order.vue
src/views/memberCenter/record.vue
src/views/orderManage/orderDetail.vue
src/views/productGroup/editProduct.vue
src/views/seckillActivity/editCrowdFund.vue
src/assets/seckillActivity/icon-add.png
0 → 100644
View file @
795f7f0
827 Bytes
src/common/constant.js
View file @
795f7f0
...
...
@@ -230,7 +230,6 @@ function setMinHeight(calssName = '.edit-container') {
let
height
=
document
.
querySelector
(
'.header-wrap'
).
clientHeight
+
110
+
'px'
let
minHeight
=
'calc(100vh - '
+
height
+
')'
document
.
querySelector
(
calssName
).
style
.
minHeight
=
minHeight
console
.
log
(
minHeight
)
}
export
{
limitPrice
,
getExplorer
,
exportFn
,
aToExport
,
downloadIamge
,
orderManageStatusList
,
afterSaleStatusList
,
orderSourceList
,
deliveryTypeList
,
statusList
,
serviceStatusList
,
memberTypeList
,
stateList
,
orderTypesList
,
orderStatusList
,
setMinHeight
}
src/components/relate-store-dialog/index.vue
View file @
795f7f0
...
...
@@ -121,12 +121,12 @@ export default {
})
},
handleChange
(
selection
,
row
)
{
var
addOrDelete
=
!!
selection
.
find
(
item
=>
item
.
merchantNo
===
row
.
merchantNo
)
var
addOrDelete
=
!!
selection
.
find
(
item
=>
+
item
.
merchantNo
===
+
row
.
merchantNo
)
addOrDelete
?
this
.
selectedData
.
push
(
row
)
:
(
this
.
selectedData
=
this
.
selectedData
.
filter
(
item
=>
item
.
merchantNo
!==
row
.
merchantNo
))
},
handleAll
(
selection
)
{
this
.
selectingData
.
forEach
(
item
=>
{
var
isExit
=
this
.
selectedData
.
findIndex
(
subItem
=>
subItem
.
merchantNo
===
item
.
merchantNo
)
let
isExit
=
this
.
selectedData
.
findIndex
(
subItem
=>
+
subItem
.
merchantNo
===
+
item
.
merchantNo
)
var
isServed
=
item
.
hasOwnProperty
(
'beServed'
)
?
item
.
beServed
:
false
if
(
selection
.
length
&&
isExit
===
-
1
&&
!
isServed
)
{
this
.
selectedData
.
push
(
item
)
...
...
@@ -136,7 +136,7 @@ export default {
})
},
handleDelete
(
row
)
{
this
.
selectedData
=
this
.
selectedData
.
filter
(
item
=>
item
.
merchantNo
!==
row
.
merchantNo
)
this
.
selectedData
=
this
.
selectedData
.
filter
(
item
=>
+
item
.
merchantNo
!==
+
row
.
merchantNo
)
this
.
recoverySelection
()
},
handleCurrentChange
(
val
)
{
...
...
src/views/giftBag/giftList.vue
View file @
795f7f0
...
...
@@ -40,7 +40,7 @@
</GLTable>
<!-- 表格区域 end -->
</div>
<
glsx-dialog
class=
"qr-dialog"
width=
"720px"
title=
"生成二维码"
btnOkLabel=
"下载"
:isVisible
.
sync=
"isQrcodeVisible"
@
confirmDialog=
"handleCancelConfirm"
@
closeDialog
=
"handleCancelClose"
>
<
GLDialog
class=
"qr-dialog"
title=
"生成二维码"
mode=
"mid"
okText=
"下载"
:visible
.
sync=
"isQrcodeVisible"
@
onOk=
"handleCancelConfirm"
@
onCancel
=
"handleCancelClose"
>
<div
class=
"qrcode-body"
>
<p>
可生成对应发放员工的小程序领取二维码
</p>
<el-select
filterable
v-model=
"curStaffId"
@
change=
"changeStaff"
placeholder=
"请选择发放员工"
>
...
...
@@ -50,7 +50,7 @@
<el-image
:src=
"curQrcode"
alt=
""
></el-image>
</div>
</div>
</
glsx-d
ialog>
</
GLD
ialog>
</div>
</
template
>
...
...
@@ -58,12 +58,8 @@
import
*
as
dayjs
from
'dayjs'
import
url
from
'@/assets/empty.png'
import
{
aToExport
,
downloadIamge
}
from
'@/common/constant'
import
glsxDialog
from
'@/components/glsx-dialog'
export
default
{
name
:
'giftList'
,
components
:
{
glsxDialog
},
data
()
{
return
{
isQrcodeVisible
:
false
,
...
...
@@ -512,7 +508,7 @@ export default {
.qr-dialog
{
/deep/.el-dialog__body
{
padding
:
20px
;
//
padding
:
20px
;
.el-scrollbar__wrap
{
overflow
:
hidden
;
}
...
...
src/views/material/components/functionIntroduc.vue
View file @
795f7f0
<
template
>
<div
class=
"introduct"
>
<
el-dialog
title=
"功能介绍"
:visible
.
sync=
"introductionDialog"
width=
"1080px"
:before-close=
"handleClo
se"
>
<
GLDialog
bigTitle=
"功能介绍"
mode=
"big"
:visible
.
sync=
"introductionDialog"
:before-close=
"handleClose"
:hasFooter=
"fal
se"
>
<p
class=
"note"
>
营销素材——将业务资料、经典案例、活动等以图文、PDF形式上传在营销素材中,企业成员可在企业微信聊天侧边栏或者嘀加企微管家工作台中一键发给客户。发送给客户的营销素材支持雷达追踪,将客户阅读行为记录到客户动态中,同时给客户打上指定标签并通知其对应的跟进员工。
</p>
<h3>
我的优势
</h3>
<p
class=
"list"
>
1、门店可以为不同的业务部门提供不同的营销素材,规范营销内容;
</p>
...
...
@@ -9,10 +9,7 @@
<div
class=
"img_div"
>
<img
src=
"@/assets/material/introduction.png"
alt=
""
>
</div>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
type=
"primary"
@
click=
"handleClose"
class=
"btn-close"
>
关闭
</el-button>
</span>
</el-dialog>
</GLDialog>
</div>
</
template
>
...
...
src/views/material/components/selectLable.vue
View file @
795f7f0
<
template
>
<div
class=
"tag-main"
>
<
el-dialog
title=
"选择标签"
:visible
.
sync=
"dialogVisible"
width=
"50%
"
:before-close=
"handleClose"
>
<
GLDialog
bigTitle=
"选择标签"
mode=
"big"
:visible
.
sync=
"dialogVisible
"
:before-close=
"handleClose"
>
<div
class=
"tag-panel"
>
<div
class=
"tag-panel-select"
>
<div
class=
"tag-title"
>
预选标签
</div>
...
...
@@ -45,7 +45,7 @@
<el-button
size=
"small"
@
click=
"dialogVisible = false"
>
取 消
</el-button>
<el-button
size=
"small"
type=
"primary"
@
click=
"handleSelect"
>
确 定
</el-button>
</span>
</
el-d
ialog>
</
GLD
ialog>
</div>
</template>
...
...
src/views/memberCenter/center.vue
View file @
795f7f0
...
...
@@ -110,7 +110,7 @@
</span>
</GLTable>
</div>
<GLDialog
:mode=
"mode"
title=
"权益详情"
:
type=
"'error'"
okText=
"关闭"
@
onOk=
"handleClose"
@
onCancel=
"handleClose"
:visible
.
sync=
"isDialogVisible"
>
<GLDialog
:mode=
"mode"
title=
"权益详情"
:
hasFooter=
"hasFooter"
:type=
"'error'"
:visible
.
sync=
"isDialogVisible"
>
<div
class=
"modal-body"
>
<div
class=
"equity-name"
>
汽车权益
</div>
<div
class=
"equity-panel"
>
...
...
@@ -133,7 +133,7 @@
</div>
</GLDialog>
<!-- 推广弹窗 -->
<GLDialog
:mode=
"mode"
title=
"试用推广"
:hasFooter=
"hasFooter"
:type=
"'error'"
@
onOk=
"handleQRConfirm"
@
onCancel=
"handleQRClose"
:visible
.
sync=
"isQRVisible"
>
<GLDialog
:mode=
"mode"
title=
"试用推广"
@
onOk=
"handleQRConfirm"
@
onCancel=
"handleQRClose"
:visible
.
sync=
"isQRVisible"
>
<el-form
class=
"proForm"
:model=
"ruleForm"
:rules=
"rules"
ref=
"ruleForm"
label-width=
"68px"
>
<div
class=
"form"
>
<div
class=
"main-qrcode"
>
...
...
@@ -172,7 +172,7 @@ export default {
data
()
{
return
{
mode
:
'mid'
,
hasFooter
:
tru
e
,
hasFooter
:
fals
e
,
showGh
:
true
,
promotionForm
:
{
QRurl
:
''
,
...
...
@@ -585,9 +585,6 @@ export default {
width
:
53px
;
margin
:
0
3px
;
}
/
deep
/
.btn-three
{
display
:
none
;
}
.lineCtn
{
display
:
flex
;
flex-direction
:
row
;
...
...
@@ -773,32 +770,9 @@ export default {
.el-range-editor--small.el-input__inner
{
width
:
215px
;
}
//
/
deep
/
.container
.el-input--small
.el-input__inner
{
//
width
:
215px
;
//
}
/
deep
/
.el-dialog__header
.el-dialog__title
{
//
font-size
:
16px
;
//
color
:
#000
;
//
font-weight
:
700
;
//
height
:
24px
;
//
line-height
:
24px
;
font-size
:
20px
;
font-weight
:
500
;
color
:
#333
;
line-height
:
28px
;
}
//
::v-deep
.el-dialog__body
{
//
border-top
:
1px
solid
#e6e6e6
;
//
border-bottom
:
1px
solid
#e6e6e6
;
//
padding
:
20px
25px
;
//
}
/
deep
/
.el-dialog__body
{
border-top
:
1px
solid
#e6e6e6
;
border-bottom
:
1px
solid
#e6e6e6
;
//
padding
:
20px
45px
;
padding
:
20px
20px
20px
45px
;
.modal-body
{
//
overflow
:
auto
;
max-height
:
400px
;
}
.equity-panel
{
...
...
@@ -852,10 +826,6 @@ export default {
overflow
:
hidden
;
}
}
/
deep
/
.el-dialog__footer
{
padding
:
20px
;
text-align
:
center
;
}
.pricesMerge
{
display
:
flex
;
...
...
src/views/memberCenter/order.vue
View file @
795f7f0
...
...
@@ -540,8 +540,8 @@ export default {
padding-bottom
:
12px
;
}
}
::v-deep
.el-dialog__footer
{
text-align
:
center
;
}
//
::v-deep
.el-dialog__footer
{
//
text-align
:
center
;
//
}
}
</
style
>
src/views/memberCenter/record.vue
View file @
795f7f0
...
...
@@ -293,24 +293,6 @@ export default {
.el-range-editor--small.el-input__inner
{
width
:
215px
;
}
/
deep
/
.el-dialog__header
{
padding-top
:
20px
;
padding-bottom
:
20px
;
}
/
deep
/
.el-dialog__body
{
//
border-bottom
:
1px
solid
#e6e6e6
;
//
border-top
:
1px
solid
#e6e6e6
;
padding
:
30px
20px
;
.content-body
{
.el-input--small
.el-input__inner
{
width
:
300px
;
}
}
}
/
deep
/
.el-dialog__footer
{
//
text-align
:
center
;
padding-top
:
12px
;
padding-bottom
:
12px
;
}
</
style
>
src/views/orderManage/orderDetail.vue
View file @
795f7f0
<!-- 订单详情 -->
<
template
>
<div
class=
"order-detail marketing edit-box"
>
<div
class=
"container m-b-20"
>
<p
class=
"edit-title"
>
订单信息
</p>
<el-form
label-width=
"100px"
:inline=
"true"
>
<el-row
v-for=
"(item, index) in detailFormDataRow"
: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-row>
</el-form>
</div>
<div
:class=
"['container', orderRefund ? 'm-b-20' : 'edit-container']"
>
<p
class=
"edit-title"
>
发货信息
</p>
<el-form
label-width=
"100px"
:inline=
"true"
>
<el-form-item
label=
"物流信息"
>
<span>
{{
detailForm
.
deliveryCompany
}}
{{
detailForm
.
deliveryNumber
}}
</span>
</el-form-item>
</el-form>
<div
v-if=
"orderGoods.length"
class=
"p-l-40"
>
<table
class=
"show-table"
>
<tbody>
<tr
v-for=
"(item, index) in orderGoods"
:key=
"index"
style=
"height: 70px;"
>
<td><img
:src=
"item.goodsImage"
class=
"img-60"
/></td>
<td>
{{
item
.
goodsName
}}
</td>
<td>
{{
item
.
specificationData
}}
</td>
<td>
{{
item
.
activityPrice
?
item
.
activityPrice
:
item
.
retailPrice
}}
元 *
{{
item
.
goodsNumber
}}
</td>
</tr>
<tr
v-if=
"detailForm.subOrderCoupon"
style=
"height: 40px;"
>
<td
style=
"text-align: left;"
colspan=
"3"
>
优惠券
</td>
<td>
{{
detailForm
.
subOrderCoupon
.
discountAmount
}}
元
</td>
</tr>
</tbody>
</table>
<div
class=
"order-detail marketing"
>
<div
class=
"edit-box"
>
<div
class=
"container m-b-20"
>
<p
class=
"edit-title"
>
订单信息
</p>
<el-form
label-width=
"100px"
:inline=
"true"
>
<el-row
v-for=
"(item, index) in detailFormDataRow"
: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-row>
</el-form>
</div>
</div>
<div
class=
"container edit-container"
v-if=
"orderRefund"
>
<p
class=
"edit-title"
>
售后信息
</p>
<el-form
label-width=
"100px"
:inline=
"true"
>
<el-row
v-for=
"(item, index) in afterInfoDataRow"
: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-row>
</el-form>
<div
class=
"form-img"
>
<div
:class=
"['container', orderRefund ? 'm-b-20' : 'edit-container']"
>
<p
class=
"edit-title"
>
发货信息
</p>
<el-form
label-width=
"100px"
:inline=
"true"
>
<el-form-item
label=
"售后凭证"
>
<div
class=
"flex"
>
<span
v-for=
"(item, index) in orderRefund.imgUrls"
:key=
"index"
>
<el-image
class=
"img-60 comment-img"
:src=
"item"
:preview-src-list=
"[item]"
></el-image>
</span>
</div>
<el-form-item
label=
"物流信息"
>
<span>
{{
detailForm
.
deliveryCompany
}}
{{
detailForm
.
deliveryNumber
}}
</span>
</el-form-item>
</el-form>
<div
v-if=
"orderGoods.length"
class=
"p-l-40"
>
<table
class=
"show-table"
>
<tbody>
<tr
v-for=
"(item, index) in orderGoods"
:key=
"index"
style=
"height: 70px;"
>
<td><img
:src=
"item.goodsImage"
class=
"img-60"
/></td>
<td>
{{
item
.
goodsName
}}
</td>
<td>
{{
item
.
specificationData
}}
</td>
<td>
{{
item
.
activityPrice
?
item
.
activityPrice
:
item
.
retailPrice
}}
元 *
{{
item
.
goodsNumber
}}
</td>
</tr>
<tr
v-if=
"detailForm.subOrderCoupon"
style=
"height: 40px;"
>
<td
style=
"text-align: left;"
colspan=
"3"
>
优惠券
</td>
<td>
{{
detailForm
.
subOrderCoupon
.
discountAmount
}}
元
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div
class=
"container edit-container"
v-if=
"orderRefund"
>
<p
class=
"edit-title"
>
售后信息
</p>
<el-form
label-width=
"100px"
:inline=
"true"
>
<el-row
v-for=
"(item, index) in afterInfoDataRow"
: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-row>
</el-form>
<div
class=
"form-img"
>
<el-form
label-width=
"100px"
:inline=
"true"
>
<el-form-item
label=
"售后凭证"
>
<div
class=
"flex"
>
<span
v-for=
"(item, index) in orderRefund.imgUrls"
:key=
"index"
>
<el-image
class=
"img-60 comment-img"
:src=
"item"
:preview-src-list=
"[item]"
></el-image>
</span>
</div>
</el-form-item>
</el-form>
</div>
</div>
</div>
<
div
class=
"footer"
:style=
"
{ left: footerLeft + 'px', width: footerWidth + 'px' }"
>
<el-button
type=
"default"
@
click=
"handleCancel"
>
返回
</el-button>
</
div
>
<
GLFooter
>
<el-button
@
click=
"handleCancel"
size=
"medium"
>
取消
</el-button>
</
GLFooter
>
</div>
</
template
>
...
...
@@ -71,8 +73,6 @@ export default {
return
{
size
:
'small'
,
title
:
'查看订单'
,
footerLeft
:
'0'
,
footerWidth
:
'0'
,
editChildRef
:
'editChildRef'
,
routeInfo
:
{
orderCode
:
''
...
...
@@ -201,8 +201,7 @@ export default {
},
mounted
()
{
this
.
footerLeft
=
document
.
querySelector
(
'.base-container-right'
).
offsetLeft
this
.
footerWidth
=
document
.
documentElement
.
clientWidth
-
this
.
footerLeft
this
.
setMinHeight
(
'.edit-box'
)
this
.
routeInfo
=
this
.
$route
.
query
this
.
getInfo
()
},
...
...
src/views/productGroup/editProduct.vue
View file @
795f7f0
...
...
@@ -210,7 +210,7 @@
<el-button
:disabled=
"isDisabled"
v-show=
"editForm.takeAllMerchant == '0'"
type=
"default"
@
click=
"handleRelateStoreClose(scope)"
>
{{ editForm.supplyMerchantList.length ? '更换门店' : '+选择门店' }}
</el-button>
</div>
<div
slot=
"merchantTable"
class=
"select-merchant"
v-show=
"editForm.takeAllMerchant == '0'"
:style=
"{ 'margin-left': labelWidth, width: `calc(100% - ${labelWidth} - 10px )` }"
>
<GLTable
v-show=
"editForm.supplyMerchantList.length"
ref=
"merchantTableRef"
:tableParams=
"tableParams"
:tableData=
"editForm.supplyMerchantList"
>
<GLTable
v-show=
"editForm.supplyMerchantList.length"
ref=
"merchantTableRef"
:tableParams=
"tableParams"
:tableData=
"editForm.supplyMerchantList"
:hasPage=
"false"
>
<span
slot=
"auth-button"
slot-scope=
"scope"
>
<el-button
:disabled=
"isDisabled"
type=
"text"
@
click=
"handleMerchantDelete(scope)"
>
删除
</el-button>
</span>
...
...
src/views/seckillActivity/editCrowdFund.vue
View file @
795f7f0
...
...
@@ -105,14 +105,15 @@
<div
slot=
"activityBigImg"
class=
"edit-tips m-t-8"
>
建议尺寸750*1258
</div>
<div
slot=
"activityVideos"
class=
"edit-tips m-t-8"
>
最多上传6个视频
</div>
<div
slot=
"posterImg"
class=
"edit-tips m-t-8"
>
建议尺寸640*1008
</div>
<div
class=
"form-describe flex-default"
slot=
"formDescribe"
v-for=
"(item, index) in formDescribeList"
:key=
"index"
>
<el-input
class=
"describe-input"
v-model=
"item.value"
placeholder=
"请输入"
maxlength=
"20"
>
<el-button
v-show=
"index == formDescribeList.length - 1 && formDescribeList.length < describeNum"
slot=
"suffix"
:size=
"size"
type=
"text"
@
click=
"handleDescribeAdd"
>
<span
class=
"describe-plus"
>
+
</span>
</el-button>
</el-input>
<el-button
class=
"describe-delete"
v-show=
"index != formDescribeList.length - 1 || index == describeNum - 1"
icon=
"el-icon-delete"
type=
"text"
@
click=
"handleDescribeDelete(index)"
></el-button>
<!-- <el-button v-show="index == formDescribeList.length - 1 && formDescribeList.length < describeNum" :size="size" type="default" class="default-blue-btn el-icon-plus" @click="handleDescribeAdd">新增</el-button> -->
<div
class=
"form-describe-box"
slot=
"formDescribe"
>
<div
v-for=
"(item, index) in formDescribeList"
:key=
"index"
class=
"form-describe flex-default"
>
<el-input
class=
"describe-input"
v-model=
"item.value"
placeholder=
"请输入"
maxlength=
"20"
></el-input>
<el-button
class=
"describe-delete"
v-show=
"!(index == 0 && formDescribeList.length == 1)"
icon=
"el-icon-delete"
type=
"text"
@
click=
"handleDescribeDelete(index)"
></el-button>
</div>
<el-button
class=
"describe-btn"
v-show=
"formDescribeList.length < describeNum"
:size=
"size"
type=
"text"
@
click=
"handleDescribeAdd"
>
<img
class=
"icon-add"
src=
"@/assets/seckillActivity/icon-add.png"
/>
新增表单
</el-button>
</div>
</glsx-combi-form>
</div>
...
...
@@ -1356,10 +1357,22 @@ export default {
padding
:
20px
20px
0
20px
;
background
:
#f9f9f9
;
}
.edit-activity
.form-describe-box
{
width
:
597px
;
background
:
#f9f9f9
;
}
.edit-activity
.describe-btn
{
color
:
#5850ff
;
cursor
:
pointer
;
padding
:
0
0
16px
20px
;
}
.edit-activity
.form-describe-box
.icon-add
{
width
:
20px
;
height
:
20px
;
vertical-align
:
middle
;
}
.edit-activity
.form-describe
{
width
:
560px
;
padding
:
0
20px
20px
;
background
:
#f9f9f9
;
}
.edit-activity
.form-describe
:first-child
{
padding
:
20px
;
...
...
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