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 d1feb16f
authored
Jul 21, 2022
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
弹窗改版
1 parent
6fdf6d7d
Hide whitespace changes
Inline
Side-by-side
Showing
44 changed files
with
130 additions
and
156 deletions
src/App.vue
src/assets/css/public.scss
src/components/glsx-combi-form/index.vue
src/components/selectMutiProDialog/indexForCoupon.vue
src/components/selectSingleProDialog/index.vue
src/views/classifyList/editClassify.vue
src/views/classifyList/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/receiveDetail.vue
src/views/couponManage/recordList.vue
src/views/couponManage/writeOffDetail.vue
src/views/friendGroup/friendGroupAdd.vue
src/views/friendGroup/index.vue
src/views/giftBag/editGift.vue
src/views/giftBag/giftDetail.vue
src/views/giftBag/receivedGiftList.vue
src/views/giftBag/selectGiftDialog.vue
src/views/giftBag/selectStaffDialog.vue
src/views/homeSet/index.vue
src/views/newCarManage/editCar.vue
src/views/newCarManage/index.vue
src/views/orderComment/commentDetail.vue
src/views/orderComment/index.vue
src/views/orderManage/index.vue
src/views/orderManage/orderDetail.vue
src/views/productGroup/components/shareDialog.vue
src/views/productGroup/editProduct.vue
src/views/productGroup/index.vue
src/views/productStore/index.vue
src/views/seckillActivity/crowdFundList.vue
src/views/seckillActivity/editActivity.vue
src/views/seckillActivity/editCrowdFund.vue
src/views/seckillActivity/index.vue
src/views/sop/editSop/components/activityModel.vue
src/views/sop/editSop/components/materialModel.vue
src/views/sop/editSop/components/nicknameModel.vue
src/views/takeGood/index.vue
src/views/takeGood/takeGoodDetail.vue
src/views/zoneList/editZone.vue
src/views/zoneList/index.vue
src/App.vue
View file @
d1feb16
...
...
@@ -57,7 +57,7 @@ export default {
line-height
:
36px
;
}
#app
{
padding
:
0px
20px
20px
40px
;
//
padding
:
0px
20px
20px
40px
;
//
overflow-y
:
auto
;
margin-right
:
20px
;
height
:
100%
;
...
...
src/assets/css/public.scss
View file @
d1feb16
...
...
@@ -193,13 +193,6 @@ html {
padding
:
0
16px
!
important
;
}
.marketing
.table-btns
.el-button
{
padding
:
0
0
0
5px
;
margin-left
:
5px
;
border-left
:
1px
solid
#dcdfe6
;
border-radius
:
0
;
}
.marketing
.table-btns
.el-button
:first-child
{
padding
:
0
;
border
:
0
;
...
...
src/components/glsx-combi-form/index.vue
View file @
d1feb16
...
...
@@ -80,28 +80,28 @@
<!-- 地图 -->
<div
v-else-if=
"item.type === 'map'"
class=
"flex"
>
<Province
ref=
"provinceForm"
:subdistrict=
"subdistrict"
:isDisabled=
"item.isDisabled"
@
selectProvince=
"e => handleSelectProvince(e, item)"
@
selectCity=
"e => handleSelectCity(e, item)"
></Province>
<el-input
class=
"input-width
"
v-model=
"formObj[item.name]"
placeholder=
"请选择商户地址"
:disabled=
"item.isDisabled"
></el-input>
<el-input
style=
"flex: 1;
"
v-model=
"formObj[item.name]"
placeholder=
"请选择商户地址"
:disabled=
"item.isDisabled"
></el-input>
<el-button
class=
"m-l-10"
v-show=
"!item.isDisabled"
@
click=
"handleSelectMap(item)"
type=
"primary"
>
选择地址
</el-button>
</div>
</el-form-item>
</template>
<slot
name=
"footer"
></slot>
</el-form>
<
el-dialog
v-if=
"isImgVisible"
title=
"查看"
:visible
.
sync=
"isImgVisible"
:close-on-click-modal=
"
false"
>
<
GLDialog
v-if=
"isImgVisible"
bigTitle=
"查看"
mode=
"big"
:visible
.
sync=
"isImgVisible"
:close-on-click-modal=
"false"
@
onOk=
"isImgVisible = false"
@
onCancel=
"isImgVisible =
false"
>
<div
class=
"dialog-look"
>
<video
v-if=
"dialogObj.uploadType == 'video'"
class=
"dialog-video"
controls
>
<source
:src=
"dialogObj.url"
type=
"video/mp4"
/>
</video>
<img
v-else
class=
"dialog-img"
width=
"100%"
:src=
"dialogObj.url"
alt=
""
/>
</div>
</
el-d
ialog>
<
el-dialog
:visible
.
sync=
"dialogMapVisible"
width=
"60%
"
>
</
GLD
ialog>
<
GLDialog
bigTitle=
"选择地址"
mode=
"big"
:visible
.
sync=
"dialogMapVisible"
@
onOk=
"getAddress"
@
onCancel=
"dialogMapVisible = false
"
>
<map-view
ref=
"mapForm"
:mapHeight=
"mapHeight"
></map-view>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"
dialogMapVisible = false
"
>
取 消
</el-button>
<
!-- <
span slot="footer" class="dialog-footer">
<el-button @click="">取 消</el-button>
<el-button type="primary" @click="getAddress">确 定</el-button>
</span>
</
el-d
ialog>
</span>
-->
</
GLD
ialog>
</div>
</template>
...
...
@@ -277,7 +277,6 @@ export default {
this
.
targetItem
=
targetItem
this
.
dialogMapVisible
=
true
this
.
$nextTick
(()
=>
{
console
.
log
(
this
.
$refs
.
mapForm
)
if
(
this
.
formObj
[
targetItem
.
attrObj
.
fullAddress
]
&&
!
this
.
$refs
.
mapForm
.
address
)
{
this
.
$refs
.
mapForm
.
address
=
this
.
formObj
[
targetItem
.
attrObj
.
fullAddress
]
this
.
$refs
.
mapForm
.
addMarker
([
this
.
formObj
[
targetItem
.
attrObj
.
lng
],
this
.
formObj
[
targetItem
.
attrObj
.
lat
]])
...
...
src/components/selectMutiProDialog/indexForCoupon.vue
View file @
d1feb16
<!-- 选择商品弹窗 -->
<
template
>
<
glsx-dialog
class=
"muti-pro"
title=
"选择商品"
:isVisible
.
sync=
"isMutiSelectVisible"
:btnOkLabel=
"productList.length ? '确定' : '创建商品'"
width=
"70%"
@
confirmDialog=
"handleMutiSelectConfirm"
@
closeDialog
=
"handleMutiSelectClose"
:noClose=
"false"
:noCancel=
"true"
:showClose=
"true"
>
<
GLDialog
class=
"muti-pro"
bigTitle=
"选择商品"
mode=
"big"
:visible
.
sync=
"isMutiSelectVisible"
:okText=
"productList.length ? '确定' : '创建商品'"
@
onOk=
"handleMutiSelectConfirm"
@
onCancel
=
"handleMutiSelectClose"
:noClose=
"false"
:noCancel=
"true"
:showClose=
"true"
>
<div
style=
"max-height:60vh"
>
<div
class=
"noproDiv"
v-if=
"!productList.length && fnCallBack"
>
<img
src=
"@/assets/noPro.png"
/>
...
...
@@ -23,11 +23,10 @@
</GLTable>
</div>
</div>
</
glsx-d
ialog>
</
GLD
ialog>
</
template
>
<
script
>
import
glsxDialog
from
'@/components/glsx-dialog'
export
default
{
name
:
'selectMutiProForcouponDialog'
,
data
()
{
...
...
@@ -80,10 +79,6 @@ export default {
}
},
components
:
{
glsxDialog
},
mounted
()
{
this
.
userInfo
=
this
.
$globalState
.
session
this
.
getList
({},
true
)
...
...
src/components/selectSingleProDialog/index.vue
View file @
d1feb16
<!-- 选择商品 - 单选 -->
<
template
>
<
glsx-dialog
class=
"single-pro"
title=
"选择商品"
:btnOkLabel=
"productList.length ? '确定' : '创建商品'"
:isVisible
.
sync=
"isSingleSelectVisible"
width=
"900px"
@
confirmDialog=
"handleSingleSelectConfirm"
@
closeDialog=
"handleSingleSelectClose"
:showClose=
"tru
e"
>
<
GLDialog
class=
"single-pro"
bigTitle=
"选择商品"
mode=
"big"
:okText=
"productList.length ? '确定' : '创建商品'"
:visible
.
sync=
"isSingleSelectVisible"
@
onOk=
"handleSingleSelectConfirm"
@
onCancel=
"handleSingleSelectClos
e"
>
<div
style=
"max-height:60vh"
>
<div
class=
"noproDiv"
v-if=
"!productList.length && fnCallBack"
>
<img
src=
"@/assets/noPro.png"
/>
<p
class=
"noproP"
>
系统暂无已创建的商品
</p>
</div>
<el-radio-group
v-model=
"infoId"
v-if=
"productList.length"
>
<el-radio-group
v-model=
"infoId"
v-if=
"productList.length"
class=
"pro-group"
>
<el-radio
:class=
"['pro-box', item.id == infoId ? 'active' : '']"
v-for=
"item in productList"
:key=
"item.id"
:label=
"item.id"
>
<img
v-show=
"item.id == infoId"
class=
"icon-check"
src=
"@/assets/icon-check.png"
/>
<img
class=
"goods-img"
:src=
"item.goodsImage"
/>
...
...
@@ -20,12 +20,11 @@
</el-radio>
</el-radio-group>
</div>
</
glsx-d
ialog>
</
GLD
ialog>
</
template
>
<
script
>
// import { getGoodsList } from '@/api/modules/common'
import
glsxDialog
from
'@/components/glsx-dialog'
export
default
{
name
:
'selectSingleProDialog'
,
data
()
{
...
...
@@ -49,10 +48,6 @@ export default {
}
},
components
:
{
glsxDialog
},
computed
:
{},
mounted
()
{
...
...
@@ -132,11 +127,18 @@ export default {
}
</
script
>
<
style
>
.single-pro
.pro-group
{
margin-left
:
50px
;
}
.single-pro
.pro-box
{
width
:
202px
;
border
:
1px
solid
#e5e5e5
;
border-radius
:
6px
;
margin
:
0
10px
10px
0
;
/* margin: 0 10px 10px 0; */
margin
:
0
40px
20px
0
;
}
.single-pro
.pro-box
:nth-child
(
4n
)
{
margin
:
0
20px
20px
0
;
}
.single-pro
.pro-box.active
{
box-shadow
:
0px
6px
20px
0px
rgba
(
122
,
122
,
122
,
0.2
);
...
...
src/views/classifyList/editClassify.vue
View file @
d1feb16
<!-- 编辑分类 -->
<
template
>
<div
class=
"edit-classify marketing
p-t-20
edit-box"
>
<div
class=
"edit-classify marketing edit-box"
>
<div
class=
"container edit-container"
>
<p
class=
"edit-title"
>
{{
title
}}
</p>
<glsx-combi-form
class=
"edit-form-container m-r-20"
ref=
"editFormRef"
:isEdit=
"isEdit"
defaultWidth=
"320px"
:isBlock=
"true"
:formRef=
"editChildRef"
:formObj=
"editForm"
:formData=
"editFormData"
:formRules=
"editRule"
>
...
...
src/views/classifyList/index.vue
View file @
d1feb16
<!-- 分类管理 -->
<
template
>
<div
class=
"marketing
p-t-20
"
>
<div
class=
"marketing"
>
<div
class=
"m-b-20"
>
<GLButton
:size=
"size"
type=
"primary"
fn=
"新建分类"
class=
"el-icon-plus"
@
click=
"handleEdit(1)"
>
新建分类
</GLButton>
</div>
...
...
src/views/couponManage/editCashCoupon.vue
View file @
d1feb16
<!-- 编辑代金券 -->
<
template
>
<div
class=
"edit-share marketing
p-t-20
edit-box"
>
<div
class=
"edit-share marketing edit-box"
>
<div
class=
"container edit-container"
style=
"position: relative"
v-loading=
"loading"
>
<div
class=
"right_show"
>
<div
class=
"card-top"
></div>
...
...
@@ -605,7 +605,7 @@ export default {
this
.
$messageBox
.
confirm
(
'是否删除该商品?'
,
'删除'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
// type: 'error
',
type
:
'warning
'
,
callback
:
action
=>
{
if
(
action
==
'confirm'
)
{
var
idx
=
this
.
editForm
.
goodsRefList
.
findIndex
(
item
=>
item
.
id
==
obj
.
scope
.
id
)
...
...
src/views/couponManage/editDiscountCoupon.vue
View file @
d1feb16
<!-- 编辑折扣券 -->
<
template
>
<div
class=
"edit-share marketing
p-t-20
edit-box"
>
<div
class=
"edit-share marketing edit-box"
>
<div
class=
"container edit-container"
style=
"position: relative"
v-loading=
"loading"
>
<!--
<div
class=
"right_show"
>
<div
class=
"card-top"
></div>
...
...
src/views/couponManage/editExchangeCoupon.vue
View file @
d1feb16
<!-- 编辑兑换券 -->
<
template
>
<div
class=
"edit-share marketing
p-t-20
edit-box"
>
<div
class=
"edit-share marketing edit-box"
>
<div
class=
"container edit-container"
style=
"position: relative; min-height: 700px;"
v-loading=
"loading"
>
<div
class=
"right_show"
>
<div
class=
"card-top"
></div>
...
...
src/views/couponManage/editMemberService.vue
View file @
d1feb16
...
...
@@ -620,7 +620,7 @@ export default {
<
style
lang=
"scss"
scoped
>
.live-room
{
.topMsg
{
margin
:
20px
0px
0
;
//
margin
:
20px
0px
0
;
padding
:
0
20px
;
background-color
:
#fff
;
height
:
56px
;
...
...
src/views/couponManage/index.vue
View file @
d1feb16
<!-- 优惠券列表 -->
<
template
>
<div
class=
"marketing pro-group
p-t-10
"
>
<div
class=
"marketing pro-group"
>
<div
class=
"m-b-10"
>
<GLButton
:size=
"size"
type=
"default"
class=
"el-icon-plus default-blue-btn color-transparent"
@
click=
"addService()"
fn=
"新建服务券"
display=
"disabled"
mode=
"el-button"
>
新建服务券
</GLButton>
<GLButton
:size=
"size"
type=
"default"
class=
"el-icon-plus default-blue-btn color-transparent"
@
click=
"addCashCoupon()"
fn=
"新建代金券"
display=
"disabled"
mode=
"el-button"
>
新建代金券
</GLButton>
...
...
src/views/couponManage/receiveDetail.vue
View file @
d1feb16
...
...
@@ -43,14 +43,16 @@
<el-button
type=
"primary"
:size=
"size"
@
click=
"goback"
>
返回
</el-button>
</div>
<!-- 作废 -->
<glsx-dialog
title=
"作废确认"
:isVisible
.
sync=
"isCancelVisible"
@
confirmDialog=
"handleCancelConfirm"
@
closeDialog=
"handleCancelClose"
>
<p>
请先和客户沟通在确认,避免引起客诉,作废后客户将不可使用该礼包下所有优惠卷
</p>
<el-form
ref=
"cancelRef"
label-width=
"100px"
:rules=
"cancelRules"
:model=
"cancelForm"
>
<el-form-item
label=
"作废原因"
prop=
"cancelReason"
class=
"m-t-20"
>
<el-input
:size=
"size"
type=
"textarea"
v-model
.
trim=
"cancelForm.cancelReason"
placeholder=
"请输入作废原因"
maxlength=
"50"
rows=
"3"
show-word-limit
></el-input>
</el-form-item>
</el-form>
</glsx-dialog>
<GLDialog
title=
"作废确认"
mode=
"small"
:visible
.
sync=
"isCancelVisible"
@
onOk=
"handleCancelConfirm"
@
onCancel=
"handleCancelClose"
>
<div
class=
"small-content"
>
<p>
请先和客户沟通在确认,避免引起客诉,作废后客户将不可使用该礼包下所有优惠卷
</p>
<el-form
ref=
"cancelRef"
label-width=
"80px"
:rules=
"cancelRules"
:model=
"cancelForm"
>
<el-form-item
label=
"作废原因"
prop=
"cancelReason"
class=
"m-t-20"
>
<el-input
style=
"width: 410px;"
:size=
"size"
type=
"textarea"
v-model
.
trim=
"cancelForm.cancelReason"
placeholder=
"请输入作废原因"
maxlength=
"50"
rows=
"3"
show-word-limit
></el-input>
</el-form-item>
</el-form>
</div>
</GLDialog>
</div>
</
template
>
...
...
src/views/couponManage/recordList.vue
View file @
d1feb16
<
template
>
<div
class=
"marketing record-list
p-t-10
"
>
<div
class=
"marketing record-list"
>
<div
class=
"m-b-10"
>
<el-button
:size=
"size"
type=
"default"
class=
"default-blue-btn color-transparent"
@
click=
"openDialog"
>
核销优惠券
</el-button>
</div>
...
...
@@ -26,30 +26,27 @@
<span
class=
"cursor-pointer"
@
click=
"orderCodeHandleDetail(scope.scope)"
v-else
>
{{ scope.scope.orderCode }}
</span>
</span>
</GLTable>
<glsx-dialog
title=
"优惠券核销(请确保用户到店后核销,避免引起不必要问题)"
:hasScroll=
"false"
width=
"580px"
btnCloseLabel=
"取消"
:noClose=
"false"
:noCancel=
"true"
btnSize=
"small"
:isVisible=
"isDialogVisible"
:showClose=
"false"
@
closeDialog=
"handleClose"
@
confirmDialog=
"handleConfirm"
>
<div
class=
"content-body"
>
<GLDialog
mode=
"small"
:visible
.
sync=
"isDialogVisible"
@
onCancel=
"handleClose"
@
onOk=
"handleConfirm"
>
<div
slot=
"title"
>
优惠券核销(请确保用户到店后核销,避免引起不必要问题)
</div>
<div
class=
"small-content"
>
<el-form
:rules=
"rules"
ref=
"ruleForm"
:model=
"ruleForm"
label-width=
"80px"
>
<el-form-item
size=
"small"
label=
"核销码"
prop=
"verficationCode"
style=
"width: 380px"
>
<el-input
size=
"small"
v-model
.
trim=
"ruleForm.verficationCode"
maxlength=
"50"
placeholder=
"请输入核销码"
></el-input>
</el-form-item>
</el-form>
</div>
</
glsx-d
ialog>
</
GLD
ialog>
</div>
</div>
</template>
<
script
>
import
glsxDialog
from
'@/components/glsx-dialog'
// import { getRecordListApi, getVerificationCode, verificationExportApi } from '@/api/modules/record'
import
url
from
'@/assets/empty.png'
import
{
dateFormat
}
from
'@/utils/index.js'
import
{
exportFn
}
from
'@/common/constant'
export
default
{
name
:
'recordList'
,
components
:
{
glsxDialog
},
data
()
{
return
{
ruleForm
:
{
...
...
src/views/couponManage/writeOffDetail.vue
View file @
d1feb16
...
...
@@ -42,13 +42,14 @@
<!-- 表格区域 end -->
</div>
<!-- 优惠券核销 -->
<glsx-dialog
title=
"优惠券核销(请确保用户到店后核销,避免引起不必要问题)"
:isVisible
.
sync=
"writeOffVisible"
@
confirmDialog=
"handleDownConfirm"
@
closeDialog=
"handleDownClose"
>
<el-form
ref=
"writeOffRef"
label-width=
"100px"
:rules=
"writeOffRules"
:model=
"writeOffForm"
>
<GLDialog
mode=
"small"
:visible
.
sync=
"writeOffVisible"
@
onOk=
"handleDownConfirm"
@
onCancel=
"handleDownClose"
>
<div
slot=
"title"
>
优惠券核销(请确保用户到店后核销,避免引起不必要问题)
</div>
<el-form
class=
"small-content"
ref=
"writeOffRef"
label-width=
"100px"
:rules=
"writeOffRules"
:model=
"writeOffForm"
>
<el-form-item
label=
"核销码"
prop=
"verficationCode"
>
<el-input
:size=
"size"
v-model=
"writeOffForm.verficationCode"
placeholder=
"请输入核销码"
style=
"width:300px;"
maxlength=
"32"
></el-input>
</el-form-item>
</el-form>
</
glsx-d
ialog>
</
GLD
ialog>
</div>
</
template
>
...
...
src/views/friendGroup/friendGroupAdd.vue
View file @
d1feb16
...
...
@@ -63,10 +63,10 @@
</div>
</div>
</div>
<
glsx-dialog
:title=
"'选择成员'"
:width=
"'1142px'"
:isVisible=
"membersVisible"
@
confirmDialog=
"handleConfirm"
@
closeDialog
=
"membersVisible = !membersVisible"
>
<
GLDialog
bigTitle=
"选择成员"
mode=
"big"
:visible
.
sync=
"membersVisible"
@
onOk=
"handleConfirm"
@
onCancel
=
"membersVisible = !membersVisible"
>
<!--
<SelectMembers
islord=
"false"
:selectData=
"selectData"
ref=
"membersForm"
></SelectMembers>
-->
<SelectMember
ref=
"membersForm"
v-if=
"membersVisible"
:selectData=
"selectData"
></SelectMember>
</
glsx-d
ialog>
</
GLD
ialog>
</div>
<GLFooter>
<el-button
@
click=
"handleCancel"
>
取消
</el-button>
...
...
src/views/friendGroup/index.vue
View file @
d1feb16
<!-- 商品管理-集团 -->
<
template
>
<div
class=
"marketing pro-group
p-t-20
"
>
<div
class=
"marketing pro-group"
>
<div
class=
"m-b-20 friend-title"
>
<GLButton
:size=
"size"
type=
"primary"
fn=
"编辑朋友圈"
@
click=
"handleEdit(1)"
>
发布朋友圈
</GLButton>
<span>
管理员可直接在后台为员工创建朋友圈,员工收到朋友圈新消息提醒后,可快捷将管理员创建的朋友圈发送到自己朋友圈中。
</span>
...
...
src/views/giftBag/editGift.vue
View file @
d1feb16
<!-- 编辑礼包 -->
<
template
>
<div
class=
"edit-gift marketing
p-t-20
edit-box"
>
<div
class=
"edit-gift marketing edit-box"
>
<div
v-if=
"routeInfo.addOrEdit != 'add'"
class=
"container approval-container"
>
<p
class=
"edit-title"
>
审批信息
</p>
<div
class=
"approval-info"
>
...
...
src/views/giftBag/giftDetail.vue
View file @
d1feb16
<!-- 礼包详情 -->
<
template
>
<div
class=
"edit-gift marketing
p-t-20
edit-box"
>
<div
class=
"edit-gift marketing edit-box"
>
<div
class=
"container approval-container"
>
<p
class=
"edit-title"
>
审批信息
</p>
<div
class=
"approval-info"
>
...
...
src/views/giftBag/receivedGiftList.vue
View file @
d1feb16
...
...
@@ -41,21 +41,22 @@
</GLTable>
<!-- 表格区域 end -->
</div>
<glsx-dialog
title=
"作废确认"
:isVisible
.
sync=
"isCancelVisible"
@
confirmDialog=
"handleCancelConfirm"
@
closeDialog=
"handleCancelClose"
>
<p>
请先和客户沟通再确认,避免引起客诉,作废后客户将不可使用该礼包下所有优惠卷
</p>
<el-form
ref=
"cancelRef"
label-width=
"100px"
:rules=
"cancelRules"
:model=
"cancelForm"
>
<el-form-item
label=
"作废原因"
prop=
"cancelReason"
class=
"m-t-20"
>
<el-input
:size=
"size"
type=
"textarea"
v-model=
"cancelForm.cancelReason"
placeholder=
"请输入作废原因"
maxlength=
"50"
rows=
"3"
show-word-limit
></el-input>
</el-form-item>
</el-form>
</glsx-dialog>
<GLDialog
title=
"作废确认"
mode=
"small"
:visible
.
sync=
"isCancelVisible"
@
onOk=
"handleCancelConfirm"
@
onCancel=
"handleCancelClose"
>
<div
class=
"small-content"
>
<p>
请先和客户沟通再确认,避免引起客诉,作废后客户将不可使用该礼包下所有优惠卷
</p>
<el-form
ref=
"cancelRef"
label-width=
"80px"
:rules=
"cancelRules"
:model=
"cancelForm"
>
<el-form-item
label=
"作废原因"
prop=
"cancelReason"
class=
"m-t-20"
>
<el-input
style=
"width: 410px;"
:size=
"size"
type=
"textarea"
v-model=
"cancelForm.cancelReason"
placeholder=
"请输入作废原因"
maxlength=
"50"
rows=
"3"
show-word-limit
></el-input>
</el-form-item>
</el-form>
</div>
</GLDialog>
</div>
</
template
>
<
script
>
import
*
as
dayjs
from
'dayjs'
import
url
from
'@/assets/empty.png'
import
glsxDialog
from
'@/components/glsx-dialog'
import
{
aToExport
}
from
'@/common/constant'
export
default
{
name
:
'giftList'
,
...
...
@@ -333,9 +334,6 @@ export default {
pageConf
:
{
pageSize
:
'pageSize'
,
pageNum
:
'pageNum'
,
totalCount
:
'total'
}
}
},
components
:
{
glsxDialog
},
mounted
()
{
this
.
getOptionsList
(
'searchFormData'
)
...
...
@@ -491,7 +489,7 @@ export default {
this
.
$refs
.
receivedGiftListRef
.
data
.
length
?
(
this
.
$refs
.
receivedGiftListRef
.
tableHeightValues
=
''
)
:
this
.
$refs
.
receivedGiftListRef
.
setTableHeightFun
()
}
},
setGiftTableFinishFun
()
{},
setGiftTableFinishFun
()
{
},
handleSearch
()
{
this
.
$refs
.
receivedGiftListRef
.
refreshTable
()
},
...
...
src/views/giftBag/selectGiftDialog.vue
View file @
d1feb16
<!-- 选择礼包弹窗 -->
<
template
>
<
glsx-dialog
class=
"muti-gift"
title=
"选择礼包内容"
:isVisible
.
sync=
"isSelectGiftVisible"
width=
"70%"
@
confirmDialog=
"handleGiftConfirm"
@
closeDialog
=
"handleGiftClose"
v-loading=
"loading"
>
<
GLDialog
class=
"muti-gift"
bigTitle=
"选择礼包内容"
mode=
"big"
:visible
.
sync=
"isSelectGiftVisible"
@
onOk=
"handleGiftConfirm"
@
onCancel
=
"handleGiftClose"
v-loading=
"loading"
>
<!--
<div
class=
"nogiftDiv"
v-show=
"!giftList.length && fnCallBack"
>
<img
src=
"@/assets/noPro.png"
/>
<p
class=
"nogiftP"
>
系统暂无已创建的礼包
</p>
...
...
@@ -79,12 +79,11 @@
</div>
</div>
</div>
</
glsx-d
ialog>
</
GLD
ialog>
</
template
>
<
script
>
import
url
from
'@/assets/empty.png'
import
glsxDialog
from
'@/components/glsx-dialog'
export
default
{
name
:
'selectGiftDialog'
,
data
()
{
...
...
@@ -130,7 +129,8 @@ export default {
tableColumns
:
[
{
label
:
'名称'
,
prop
:
'couponName'
prop
:
'couponName'
,
width
:
180
},
{
label
:
'预估成本/元'
,
...
...
@@ -196,10 +196,6 @@ export default {
}
},
components
:
{
glsxDialog
},
mounted
()
{
this
.
userInfo
=
this
.
$globalState
.
session
this
.
getList
({},
true
,
true
)
...
...
@@ -230,7 +226,7 @@ export default {
this
.
$refs
[
this
.
activeName
+
'Ref'
].
tableTotal
=
res
.
total
this
.
recoverySelected
()
this
.
recoveryTotal
()
this
.
$refs
[
this
.
activeName
+
'Ref'
].
tableHeightValues
=
'
50
vh'
this
.
$refs
[
this
.
activeName
+
'Ref'
].
tableHeightValues
=
'
42
vh'
})
.
finally
(()
=>
{
this
.
loading
=
false
...
...
@@ -437,7 +433,7 @@ export default {
border-bottom
:
1px
solid
#f1f1f1
;
}
.list-gifts
{
height
:
61
vh
;
height
:
52
vh
;
overflow-y
:
scroll
;
}
.gift-box
{
...
...
src/views/giftBag/selectStaffDialog.vue
View file @
d1feb16
<!-- 选择员工弹窗 -->
<
template
>
<
glsx-dialog
class=
"muti-pro"
title=
"选择员工"
:isVisible
.
sync=
"isMutiSelectVisible"
width=
"70%"
@
confirmDialog=
"handleMutiSelectConfirm"
@
closeDialog
=
"handleMutiSelectClose"
v-loading=
"loading"
>
<
GLDialog
class=
"muti-pro"
bigTitle=
"选择员工"
mode=
"big"
:visible
.
sync=
"isMutiSelectVisible"
@
onOk=
"handleMutiSelectConfirm"
@
onCancel
=
"handleMutiSelectClose"
v-loading=
"loading"
>
<div
class=
"noproDiv"
v-show=
"!staffList.length && fnCallBack"
>
<img
src=
"@/assets/noPro.png"
/>
<p
class=
"noproP"
>
系统暂无已创建的员工
</p>
...
...
@@ -9,12 +9,11 @@
<slot
name=
"search"
></slot>
<GLTable
v-loading=
"loading"
ref=
"mutiProRef"
:tableData=
"staffList"
:pageConf=
"pageConf"
:noDataImg=
"url"
:tableParams=
"tableParams"
@
refreshTable=
"getList"
></GLTable>
</div>
</
glsx-d
ialog>
</
GLD
ialog>
</
template
>
<
script
>
import
url
from
'@/assets/empty.png'
import
glsxDialog
from
'@/components/glsx-dialog'
export
default
{
name
:
'selectStaffDialog'
,
data
()
{
...
...
@@ -22,7 +21,7 @@ export default {
// 表格组件
userInfo
:
{},
staffList
:
[],
selectList
:[],
selectList
:
[],
fnCallBack
:
false
,
url
:
url
,
loading
:
true
,
...
...
@@ -59,7 +58,7 @@ export default {
},
searchForm
:
{
type
:
Object
,
default
:
()
=>
{}
default
:
()
=>
{
}
},
selectedStaffList
:
{
type
:
Array
,
...
...
@@ -67,10 +66,6 @@ export default {
}
},
components
:
{
glsxDialog
},
mounted
()
{
this
.
userInfo
=
this
.
$globalState
.
session
this
.
selectList
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
selectedStaffList
))
...
...
@@ -96,7 +91,7 @@ export default {
this
.
loading
=
false
this
.
fnCallBack
=
true
this
.
$refs
.
mutiProRef
.
tableTotal
=
res
.
count
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
this
.
recoverySelected
()
})
this
.
$refs
.
mutiProRef
.
tableHeightValues
=
'50vh'
...
...
@@ -106,15 +101,15 @@ export default {
if
(
this
.
selectedStaffList
&&
this
.
selectedStaffList
.
length
)
{
this
.
selectedStaffList
.
forEach
(
row
=>
{
row
.
userOneId
=
row
.
staffUUID
this
.
$nextTick
(()
=>
{
let
idx
=
this
.
$refs
.
mutiProRef
.
$refs
[
this
.
tableParams
.
mutiSelectName
+
'MutiTable'
].
data
.
findIndex
(
item
=>
item
.
userOneId
==
row
.
staffUUID
)
if
(
idx
>-
1
)
{
try
{
this
.
$refs
.
mutiProRef
.
$refs
[
this
.
tableParams
.
mutiSelectName
+
'MutiTable'
].
toggleRowSelection
(
this
.
$refs
.
mutiProRef
.
$refs
[
this
.
tableParams
.
mutiSelectName
+
'MutiTable'
].
data
[
idx
],
true
)
let
id
=
this
.
selectList
.
findIndex
(
item
=>
item
.
staffUUID
==
row
.
staffUUID
)
if
(
id
>
-
1
)
this
.
selectList
.
splice
(
id
,
1
)
}
catch
(
err
)
{
this
.
$nextTick
(()
=>
{
let
idx
=
this
.
$refs
.
mutiProRef
.
$refs
[
this
.
tableParams
.
mutiSelectName
+
'MutiTable'
].
data
.
findIndex
(
item
=>
item
.
userOneId
==
row
.
staffUUID
)
if
(
idx
>
-
1
)
{
try
{
this
.
$refs
.
mutiProRef
.
$refs
[
this
.
tableParams
.
mutiSelectName
+
'MutiTable'
].
toggleRowSelection
(
this
.
$refs
.
mutiProRef
.
$refs
[
this
.
tableParams
.
mutiSelectName
+
'MutiTable'
].
data
[
idx
],
true
)
let
id
=
this
.
selectList
.
findIndex
(
item
=>
item
.
staffUUID
==
row
.
staffUUID
)
if
(
id
>
-
1
)
this
.
selectList
.
splice
(
id
,
1
)
}
catch
(
err
)
{
console
.
log
(
err
)
}
}
...
...
@@ -123,7 +118,7 @@ export default {
}
},
handleMutiSelectConfirm
()
{
var
selectedData
=
[...
this
.
$refs
.
mutiProRef
.
mutiSelectArr
[
this
.
tableParams
.
mutiSelectName
],...
this
.
selectList
]
var
selectedData
=
[...
this
.
$refs
.
mutiProRef
.
mutiSelectArr
[
this
.
tableParams
.
mutiSelectName
],
...
this
.
selectList
]
this
.
$emit
(
'handleMutiSelectConfirm'
,
selectedData
)
},
handleMutiSelectClose
()
{
...
...
src/views/homeSet/index.vue
View file @
d1feb16
<!-- 首页设置 -->
<
template
>
<div
class=
"home-set marketing
p-t-20
edit-box"
>
<div
class=
"home-set marketing edit-box"
>
<div
class=
"container edit-container flex"
>
<div
class=
"home-set-form flex-grow"
>
<div
v-for=
"(item, index) in externalFormList"
:key=
"index"
>
...
...
src/views/newCarManage/editCar.vue
View file @
d1feb16
<!-- 编辑新车 -->
<
template
>
<div
class=
"edit-car marketing
p-t-20
edit-box"
>
<div
class=
"edit-car marketing edit-box"
>
<div
class=
"container edit-container"
>
<p
class=
"edit-title"
>
{{
title
}}
</p>
<glsx-combi-form
class=
"edit-form-container m-r-20"
ref=
"editFormRef"
:isEdit=
"isEdit"
:labelWidth=
"labelWidth"
defaultWidth=
"320px"
:isBlock=
"true"
:formRef=
"editChildRef"
:formObj=
"editForm"
:formData=
"editFormData"
:formRules=
"editRule"
>
...
...
src/views/newCarManage/index.vue
View file @
d1feb16
<!-- 新车管理 -->
<
template
>
<div
class=
"marketing
p-t-20
"
>
<div
class=
"marketing"
>
<div
class=
"m-b-20"
>
<!--
<GLButton
:size=
"size"
type=
"primary"
fn=
"新增新车"
class=
"el-icon-plus"
@
click=
"handleEdit(1)"
>
新增新车
</GLButton>
-->
</div>
...
...
src/views/orderComment/commentDetail.vue
View file @
d1feb16
<!-- 评论详情 -->
<
template
>
<div
class=
"comment-detail marketing
p-t-20
edit-box"
>
<div
class=
"comment-detail marketing edit-box"
>
<div
class=
"container edit-container"
>
<p
class=
"edit-title"
>
{{
title
}}
</p>
<div
class=
"comment-container"
>
...
...
src/views/orderComment/index.vue
View file @
d1feb16
<!-- 评价管理-->
<
template
>
<div
class=
"marketing
p-t-20
"
>
<div
class=
"marketing"
>
<div
class=
"container"
>
<GLCombiForm
ref=
"showSearch"
:rowNumber=
"1"
:formObj=
"searchForm"
:formData=
"searchFormData"
@
handleOk=
"handleSearch"
@
handleRest=
"handleReset"
></GLCombiForm>
...
...
src/views/orderManage/index.vue
View file @
d1feb16
<!-- 订单管理 -->
<
template
>
<div
class=
"marketing
p-t-20
order-manage"
>
<div
class=
"marketing order-manage"
>
<div
class=
"container"
>
<GLCombiForm
ref=
"showSearch"
:rowNumber=
"1"
:formObj=
"searchForm"
:formData=
"searchFormData"
@
handleOk=
"handleSearch"
@
handleRest=
"handleReset"
></GLCombiForm>
...
...
src/views/orderManage/orderDetail.vue
View file @
d1feb16
<!-- 订单详情 -->
<
template
>
<div
class=
"order-detail marketing
p-t-20
edit-box"
>
<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"
>
...
...
src/views/productGroup/components/shareDialog.vue
View file @
d1feb16
<!-- 分享弹窗 -->
<
template
>
<
glsx-dialog
title=
"分享"
width=
"806px"
:noCancel=
"true"
btnOkLabel=
"关闭"
:isVisible=
"isShareVisible"
@
closeDialog=
"handleShareClose"
@
confirmDialog
=
"handleShareClose"
>
<
GLDialog
title=
"分享"
mode=
"mid"
okText=
"关闭"
:visible
.
sync=
"isShareVisible"
@
onCancel=
"handleShareClose"
@
onOk
=
"handleShareClose"
>
<div
class=
"share-dialog"
>
<div
class=
"flex"
>
<div
class=
"flex box poster"
>
...
...
@@ -9,7 +9,7 @@
<!--
<p>
小程序码不带参数
</p>
-->
<el-button
:size=
"size"
type=
"primary"
@
click=
"handleSaveImg(shareForm.posterUrl)"
>
保存图片
</el-button>
</div>
<img
:src=
"shareForm.posterUrl"
/>
<img
style=
"width: 170px; height: 280px;"
:src=
"shareForm.posterUrl"
/>
</div>
<div
class=
"flex box poster"
>
<div>
...
...
@@ -17,7 +17,7 @@
<!--
<p>
小程序码不带参数
</p>
-->
<el-button
:size=
"size"
type=
"primary"
@
click=
"handleSaveImg(shareForm.qrCodeUrl)"
>
保存图片
</el-button>
</div>
<img
style=
"width: 1
80px; height: 18
0px"
:src=
"shareForm.qrCodeUrl"
/>
<img
style=
"width: 1
20px; height: 12
0px"
:src=
"shareForm.qrCodeUrl"
/>
</div>
</div>
<div
class=
"box page-route"
>
...
...
@@ -31,7 +31,7 @@
</div>
</div>
</div>
</
glsx-d
ialog>
</
GLD
ialog>
</
template
>
<
script
>
...
...
@@ -48,11 +48,11 @@ export default {
},
shareForm
:
{
type
:
Object
,
default
:
()
=>
{}
default
:
()
=>
{
}
}
},
mounted
()
{},
mounted
()
{
},
methods
:
{
handleSaveImg
(
url
)
{
...
...
@@ -88,6 +88,9 @@ export default {
border-radius
:
6px
;
padding
:
30px
;
}
.share-dialog
.poster
{
width
:
43%
;
}
.share-dialog
.poster
img
{
width
:
180px
;
height
:
297px
;
...
...
src/views/productGroup/editProduct.vue
View file @
d1feb16
<!-- 编辑商品 -->
<
template
>
<div
class=
"edit-pro marketing
p-t-20
edit-box"
>
<div
class=
"edit-pro marketing edit-box"
>
<el-tabs
v-if=
"routeInfo.addOrEdit != '1'"
v-model=
"activeName"
@
tab-click=
"handleTabClick"
>
<el-tab-pane
label=
"基本信息"
name=
"basicInfo"
></el-tab-pane>
<el-tab-pane
label=
"评价信息"
name=
"afterOrder"
></el-tab-pane>
...
...
@@ -63,7 +63,7 @@
</div>
<
template
slot=
"association"
>
<el-button
type=
"default"
:disabled=
"specificationDetailList.length"
@
click=
"dialogTableVisible = true"
v-if=
"routeInfo.addOrEdit !== 3"
>
+选择
</el-button>
<
glsx-dialog
title=
"选择优惠券"
:isVisible
.
sync=
"dialogTableVisible"
width=
"50%"
@
confirmDialog=
"associationConfirm"
@
closeDialog
=
"associationCancel"
>
<
GLDialog
bigTitle=
"选择优惠券"
mode=
"big"
:visible
.
sync=
"dialogTableVisible"
@
onOk=
"associationConfirm"
@
onCancel
=
"associationCancel"
>
<glsx-combi-form
ref=
"showSearch"
:formObj=
"searchForm"
:formData=
"searchFormData"
>
<span
slot=
"footer"
class=
"footer-btns"
>
<el-button
:size=
"size"
type=
"primary"
@
click=
"handleSearch"
>
查询
</el-button>
...
...
@@ -82,7 +82,7 @@
<el-button
type=
"primary"
@
click=
"associationConfirm"
>
确定
</el-button>
<el-button
type=
"default"
@
click=
"associationCancel"
>
取消
</el-button>
</div>
-->
</
glsx-d
ialog>
</
GLD
ialog>
<div
class=
"association-X"
v-if=
"editForm.relatedCouponId"
>
<div
class=
"associationRow"
>
<span
class=
"associationLists"
>
名称
</span>
...
...
@@ -289,7 +289,7 @@
<el-dialog
:visible
.
sync=
"isImgVisible"
>
<img
class=
"dialog-img"
width=
"100%"
:src=
"dialogImageUrl"
alt
/>
</el-dialog>
<
glsx-dialog
title=
"规格"
:isVisible
.
sync=
"isSpescVisible"
width=
"70%"
@
confirmDialog=
"handleSpescConfirm"
@
closeDialog
=
"handleSpescClose"
>
<
GLDialog
title=
"规格"
mode=
"mid"
:visible
.
sync=
"isSpescVisible"
@
onOk=
"handleSpescConfirm"
@
onCancel
=
"handleSpescClose"
>
<el-form
label-width=
"120px"
:model=
"spescEditForm"
:rules=
"spescRules"
ref=
"spescRef"
>
<el-form-item
label=
"规格名:"
prop=
"specificationName"
>
<el-input
class=
"w-320"
:size=
"size"
maxlength=
"30"
v-model=
"spescEditForm.specificationName"
placeholder=
"请输入规格名"
></el-input>
...
...
@@ -300,7 +300,7 @@
<el-button
v-else
class=
"button-new-tag"
size=
"small"
@
click=
"showInput"
>
+ 规格值
</el-button>
</el-form-item>
</el-form>
</
glsx-d
ialog>
</
GLD
ialog>
<relate-store-dialog
v-if=
"relateStoreVisible"
ref=
"relateStore"
:relateStoreVisible=
"relateStoreVisible"
:storeApi=
"storeApi"
:storeSearchForm=
"storeSearchForm"
:storeSelected=
"selectedList"
:hasPage=
"true"
@
handleRelateStoreConfirm=
"handleRelateStoreConfirm"
@
handleRelateStoreClose=
"handleRelateStoreClose"
>
<el-row
slot
>
<el-form
:model=
"storeSearchForm"
ref=
"relate"
:inline=
"true"
label-width=
"90px"
>
...
...
src/views/productGroup/index.vue
View file @
d1feb16
<!-- 商品管理-集团 -->
<
template
>
<div
class=
"marketing pro-group
p-t-20
"
>
<div
class=
"marketing pro-group"
>
<div
class=
"m-b-20"
>
<GLButton
:size=
"size"
type=
"primary"
fn=
"新建商品"
class=
"el-icon-plus"
@
click=
"handleEdit(1)"
>
新建商品
</GLButton>
</div>
...
...
@@ -22,13 +22,13 @@
<!-- 表格区域 end -->
</div>
<!-- 下架 -->
<
glsx-dialog
title=
"下架"
:isVisible
.
sync=
"isDownVisible"
@
confirmDialog=
"handleDownConfirm"
@
closeDialog
=
"handleDownClose"
>
<el-form
ref=
"downRef"
label-width=
"100px"
:rules=
"downRules"
:model=
"downForm"
>
<
GLDialog
title=
"下架"
mode=
"small"
:visible
.
sync=
"isDownVisible"
@
onOk=
"handleDownConfirm"
@
onCancel
=
"handleDownClose"
>
<el-form
class=
"small-content"
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>
</
glsx-d
ialog>
</
GLD
ialog>
<!-- 分享 -->
<share-dialog
:isShareVisible=
"isShareVisible"
:shareForm=
"shareForm"
@
handleShareClose=
"handleShareClose"
></share-dialog>
</div>
...
...
src/views/productStore/index.vue
View file @
d1feb16
<!-- 商品管理-门店 -->
<
template
>
<div
class=
"marketing pro-group
p-t-20
"
>
<div
class=
"marketing pro-group"
>
<div
class=
"m-b-20"
>
<GLButton
:size=
"size"
type=
"primary"
fn=
"新建商品"
class=
"el-icon-plus"
@
click=
"handleEdit(1)"
>
新建商品
</GLButton>
</div>
...
...
src/views/seckillActivity/crowdFundList.vue
View file @
d1feb16
<!-- 秒杀活动 - 众筹模式 -->
<
template
>
<div
class=
"marketing
p-t-20
"
>
<div
class=
"marketing"
>
<div
class=
"m-b-20"
>
<GLButton
:size=
"size"
class=
"default-blue-btn el-icon-plus"
type=
"default"
@
click=
"handleEdit('add')"
fn=
"新增众筹"
mode=
"el-button"
>
新建众筹
</GLButton>
<el-button
:size=
"size"
type=
"default"
class=
"default-blue-btn"
@
click=
"handleJump"
>
订单管理
</el-button>
...
...
src/views/seckillActivity/editActivity.vue
View file @
d1feb16
<!-- 编辑代金券 -->
<
template
>
<div
class=
"edit-share marketing
p-t-20
edit-box edit-activity"
>
<div
class=
"edit-share marketing edit-box edit-activity"
>
<div
class=
"container edit-container"
>
<p
class=
"edit-title"
>
{{
title
}}
秒杀活动
</p>
<glsx-combi-form
class=
"edit-form-container"
ref=
"editFormRef"
:isEdit=
"true"
:isBlock=
"true"
:formRef=
"editChildRef"
:formObj=
"editForm"
:formData=
"editFormData"
:formRules=
"editRule"
>
...
...
src/views/seckillActivity/editCrowdFund.vue
View file @
d1feb16
<!-- 众筹活动 -->
<
template
>
<div
class=
"edit-share marketing
p-t-20
edit-box edit-activity"
v-loading=
"loading"
>
<div
class=
"edit-share marketing edit-box edit-activity"
v-loading=
"loading"
>
<div
class=
"container edit-container"
>
<!-- 基本信息 -->
<p
class=
"edit-title"
>
基本信息
</p>
...
...
@@ -926,6 +926,7 @@ export default {
this
.
$messageBox
.
confirm
(
'是否删除该表单设置?'
,
'删除'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
,
callback
:
action
=>
{
if
(
action
==
'confirm'
)
{
this
.
formDescribeList
.
splice
(
idx
,
1
)
...
...
src/views/seckillActivity/index.vue
View file @
d1feb16
<!-- 秒杀活动 -->
<
template
>
<div
class=
"marketing
p-t-20
"
>
<div
class=
"marketing"
>
<div
class=
"m-b-20"
>
<GLButton
:size=
"size"
type=
"primary"
class=
"el-icon-plus"
@
click=
"addActivity()"
fn=
"新增秒杀活动"
mode=
"el-button"
>
新增秒杀活动
</GLButton>
</div>
...
...
src/views/sop/editSop/components/activityModel.vue
View file @
d1feb16
<
template
>
<div
class=
"square-main"
>
<
el-dialog
title=
"选择活动
"
:visible
.
sync=
"dialogVisible"
width=
"1088px"
:before-close=
"handleClose"
>
<
GLDialog
bigTitle=
"选择活动"
mode=
"big
"
:visible
.
sync=
"dialogVisible"
width=
"1088px"
:before-close=
"handleClose"
>
<div
class=
"sop-activity-model model-panel"
>
<div
class=
"model-panel-tab"
>
<label>
活动类型:
</label>
...
...
@@ -87,7 +87,7 @@
<el-button
size=
"small"
type=
"primary"
@
click=
"handleOpen"
v-show=
"modelList.length == 0 && activeName == 5 && activityMenu"
>
立即添加
</el-button>
</span>
</
el-d
ialog>
</
GLD
ialog>
</div>
</
template
>
...
...
@@ -319,6 +319,7 @@ export default {
}
.model-item-empty
{
height
:
32vh
;
>img
{
display
:
block
;
margin
:
50px
auto
0px
;
...
...
@@ -340,7 +341,8 @@ export default {
//
display
:
grid
;
//
grid-template-columns
:
repeat
(
4
,
25%
);
//
grid-row-gap
:
10px
;
max-height
:
38vh
;
//
max-height
:
38vh
;
height
:
38vh
;
overflow
:
auto
;
display
:
flex
;
flex-wrap
:
wrap
;
...
...
src/views/sop/editSop/components/materialModel.vue
View file @
d1feb16
<!-- 素材弹窗 -->
<
template
>
<
glsx-dialog
title=
"选择素材"
:isVisible
.
sync=
"isMaterialVisible"
width=
"1088px"
@
confirmDialog=
"handleMaterialConfirm"
@
closeDialog
=
"handleMaterialClose"
class=
"relateStore"
>
<
GLDialog
bigTitle=
"选择素材"
mode=
"big"
:visible
.
sync=
"isMaterialVisible"
@
onOk=
"handleMaterialConfirm"
@
onCancel
=
"handleMaterialClose"
class=
"relateStore"
>
<glsx-combi-form
ref=
"showSearch"
:formObj=
"searchForm"
:formData=
"searchFormData"
>
<span
slot=
"footer"
>
<el-button
:size=
"size"
type=
"default"
@
click=
"handleReset"
>
重置
</el-button>
...
...
@@ -54,11 +54,10 @@
</div>
<el-pagination
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
:current-page=
"pageNum"
:page-sizes=
"[12, 24, 36, 48]"
:page-size=
"pageSize"
:total=
"tableTotal"
layout=
"total, sizes, prev, pager, next, jumper"
></el-pagination>
</div>
</
glsx-d
ialog>
</
GLD
ialog>
</
template
>
<
script
>
import
glsxDialog
from
'@/components/glsx-dialog'
export
default
{
name
:
'materialModel'
,
data
()
{
...
...
@@ -125,10 +124,6 @@ export default {
}
},
components
:
{
glsxDialog
},
created
()
{
this
.
getBaseData
()
},
...
...
src/views/sop/editSop/components/nicknameModel.vue
View file @
d1feb16
<!-- 朋友圈模板弹窗 -->
<
template
>
<
glsx-dialog
title=
"选择朋友圈模板"
:isVisible
.
sync=
"isNicknameVisible"
width=
"1088px"
@
confirmDialog=
"handleNicknameConfirm"
@
closeDialog
=
"handleNicknameClose"
class=
"relateStore"
>
<
GLDialog
bigTitle=
"选择朋友圈模板"
mode=
"big"
:visible
.
sync=
"isNicknameVisible"
@
onOk=
"handleNicknameConfirm"
@
onCancel
=
"handleNicknameClose"
class=
"relateStore"
>
<div
class=
"model-panel pyq-model"
v-loading=
"loading"
>
<div
class=
"model-panel-tab"
>
<label>
模板类型:
</label>
...
...
@@ -38,11 +38,10 @@
</div>
<el-pagination
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
:current-page=
"pageNum"
:page-sizes=
"[10, 20, 30, 40]"
:page-size=
"pageSize"
:total=
"tableTotal"
layout=
"total, sizes, prev, pager, next, jumper"
></el-pagination>
</div>
</
glsx-d
ialog>
</
GLD
ialog>
</
template
>
<
script
>
import
glsxDialog
from
'@/components/glsx-dialog'
export
default
{
name
:
'nicknameModel'
,
data
()
{
...
...
@@ -67,10 +66,6 @@ export default {
}
},
components
:
{
glsxDialog
},
mounted
()
{
this
.
getModelList
()
},
...
...
src/views/takeGood/index.vue
View file @
d1feb16
<!-- 带货管理 -->
<
template
>
<div
class=
"marketing take-good
p-t-20
"
>
<div
class=
"marketing take-good"
>
<div
class=
"container"
>
<GLCombiForm
ref=
"showSearch"
:rowNumber=
"1"
:formObj=
"searchForm"
:formData=
"searchFormData"
@
handleOk=
"handleSearch"
@
handleRest=
"handleReset"
></GLCombiForm>
...
...
src/views/takeGood/takeGoodDetail.vue
View file @
d1feb16
<!-- 带货详情 -->
<!-- 商品编辑 - 带货 -->
<
template
>
<div
class=
"edit-product-dh marketing
p-t-20
edit-box"
>
<div
class=
"edit-product-dh marketing edit-box"
>
<div
class=
"container"
>
<p
class=
"edit-title"
>
{{
title
}}
</p>
<div
class=
"flex"
style=
"margin-top: 20px;"
>
...
...
src/views/zoneList/editZone.vue
View file @
d1feb16
<!-- 编辑专区 -->
<
template
>
<div
class=
"edit-zone marketing
p-t-20
edit-box"
>
<div
class=
"edit-zone marketing edit-box"
>
<div
class=
"container edit-container"
>
<p
class=
"edit-title"
>
{{
title
}}
</p>
<glsx-combi-form
class=
"edit-form-container m-r-20"
ref=
"editFormRef"
:isEdit=
"isEdit"
:labelWidth=
"labelWidth"
defaultWidth=
"320px"
:isBlock=
"true"
:formRef=
"editChildRef"
:formObj=
"editForm"
:formData=
"editFormData"
:formRules=
"editRule"
>
...
...
src/views/zoneList/index.vue
View file @
d1feb16
<!-- 专区管理 -->
<
template
>
<div
class=
"marketing
p-t-20
"
>
<div
class=
"marketing"
>
<div
class=
"m-b-20"
>
<GLButton
:size=
"size"
type=
"primary"
fn=
"新建专区"
class=
"el-icon-plus"
@
click=
"handleEdit(1)"
>
新建专区
</GLButton>
</div>
...
...
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