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 ee421406
authored
Jul 25, 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
fa0789b6
656f66dd
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
28 changed files
with
115 additions
and
160 deletions
src/assets/css/public.scss
src/common/constant.js
src/main.js
src/views/classifyList/editClassify.vue
src/views/couponManage/editCashCoupon.vue
src/views/couponManage/editDiscountCoupon.vue
src/views/couponManage/editExchangeCoupon.vue
src/views/couponManage/editMemberService.vue
src/views/friendGroup/friendGroupAdd.vue
src/views/giftBag/editGift.vue
src/views/giftBag/giftDetail.vue
src/views/homeSet/index.vue
src/views/memberCenter/center.vue
src/views/memberCenter/orderDetail.vue
src/views/memberCenter/setmeal.vue
src/views/memberCenter/setmealAddUpdate.vue
src/views/newCarManage/index.vue
src/views/orderComment/commentDetail.vue
src/views/productGroup/components/commentDetail.vue
src/views/productGroup/editProduct.vue
src/views/productStore/editProductDh.vue
src/views/seckillActivity/editActivity.vue
src/views/seckillActivity/editCrowdFund.vue
src/views/sop/editSop/baseInfo.vue
src/views/sop/editSop/editEvent.vue
src/views/takeGood/takeGoodDetail.vue
src/views/template/edit.vue
src/views/zoneList/editZone.vue
src/assets/css/public.scss
View file @
ee42140
...
...
@@ -16,7 +16,7 @@ html {
.marketing
.container
{
background
:
#ffffff
;
box-shadow
:
0
10px
20px
0
rgba
(
88
,
80
,
255
,
0
.1
);
//
box-shadow: 0 10px 20px 0 rgba(88, 80, 255, 0.1);
padding
:
20px
;
}
...
...
@@ -26,7 +26,7 @@ html {
.live-room
.container
{
background
:
#ffffff
;
margin
:
20px
0
;
//
margin: 20px 0;
padding
:
15px
20px
;
box-shadow
:
0
1px
5px
0
rgba
(
38
,
38
,
38
,
0
.1
);
}
...
...
@@ -119,7 +119,9 @@ html {
}
.marketing
.edit-container
{
margin-bottom
:
84px
;
// margin-bottom: 84px;
// min-height: calc(100vh - 156px);
margin-bottom
:
16px
;
}
.marketing
.approval-container
{
margin-bottom
:
10px
;
...
...
src/common/constant.js
View file @
ee42140
...
...
@@ -2,11 +2,11 @@
function
limitPrice
(
newValue
,
oldValue
,
intergerDigit
,
pointDigit
,
minValue
,
maxValue
,
regRule
)
{
/* eslint-disable */
var
reg
=
{
priceReg
:
/^
\d[\d\.]
*$/
,
numReg
:
/^
[
1-9
]\d
*$/
,
zNumReg
:
/^
\d
*$/
}
/* eslint-enable */
priceReg
:
/^
\d[\d\.]
*$/
,
numReg
:
/^
[
1-9
]\d
*$/
,
zNumReg
:
/^
\d
*$/
}
/* eslint-enable */
regRule
=
regRule
||
'priceReg'
if
(
newValue
&&
((
minValue
&&
newValue
<
minValue
)
||
(
maxValue
&&
newValue
>
maxValue
)))
{
return
oldValue
||
''
...
...
@@ -226,4 +226,11 @@ const stateList = [
}
]
export
{
limitPrice
,
getExplorer
,
exportFn
,
aToExport
,
downloadIamge
,
orderManageStatusList
,
afterSaleStatusList
,
orderSourceList
,
deliveryTypeList
,
statusList
,
serviceStatusList
,
memberTypeList
,
stateList
,
orderTypesList
,
orderStatusList
}
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/main.js
View file @
ee42140
...
...
@@ -14,6 +14,7 @@ import './public-path'
import
'@/components'
// import 'glsx-components/dist/glsx-components.css'
import
{
start
}
from
'@/setup'
import
{
setMinHeight
}
from
'@/common/constant'
import
VueAMap
from
'vue-amap'
Vue
.
use
(
VueAMap
)
// 初始化vue-amap
...
...
@@ -25,6 +26,7 @@ VueAMap.initAMapApiLoader({
Vue
.
config
.
productionTip
=
false
Vue
.
prototype
.
$apis
=
apis
Vue
.
prototype
.
size
=
'small'
Vue
.
prototype
.
setMinHeight
=
setMinHeight
start
()
export
{
bootstrap
,
mount
,
unmount
}
from
'@/setup'
export
const
http
=
params
=>
Vue
.
prototype
.
$http
(
params
)
...
...
src/views/classifyList/editClassify.vue
View file @
ee42140
...
...
@@ -20,10 +20,10 @@
</div>
</glsx-combi-form>
</div>
<
div
class=
"footer"
:style=
"{ left: footerLeft + 'px', width: footerWidth + 'px' }"
>
<el-button
type=
"primary"
@
click=
"handleConfirm"
>
确定
</el-button>
<el-button
type=
"
default"
@
click=
"handleCancel"
>
取消
</el-button>
</
div
>
<
GLFooter
>
<el-button
@
click=
"handleCancel"
size=
"medium"
>
取消
</el-button>
<el-button
type=
"
primary"
@
click=
"handleConfirm"
size=
"medium"
:loading=
"loading"
>
提交
</el-button>
</
GLFooter
>
<select-muti-pro-dialog
ref=
"classMutiProRef"
v-if=
"isMutiSelectVisible"
:isMutiSelectVisible=
"isMutiSelectVisible"
:searchForm=
"searchProForm"
:selectedProList=
"selectedProList"
@
handleMutiSelectConfirm=
"handleMutiSelectConfirm"
@
handleMutiSelectClose=
"handleMutiSelectClose"
>
<!-- <template slot="search">
<div class="flex">
...
...
@@ -53,8 +53,6 @@ export default {
1
:
'新建分类'
,
2
:
'编辑分类'
},
footerLeft
:
'0'
,
footerWidth
:
'0'
,
editChildRef
:
'editChildRef'
,
routeInfo
:
{
// 1-新建;2-编辑;3-查看
...
...
@@ -126,8 +124,7 @@ export default {
},
mounted
()
{
this
.
footerLeft
=
document
.
querySelector
(
'.base-container-right'
).
offsetLeft
this
.
footerWidth
=
document
.
documentElement
.
clientWidth
-
this
.
footerLeft
this
.
setMinHeight
()
this
.
routeInfo
=
this
.
$route
.
query
this
.
title
=
this
.
titleObj
[
this
.
routeInfo
.
addOrEdit
]
this
.
routeInfo
.
addOrEdit
!=
1
?
this
.
getInfo
()
:
''
...
...
src/views/couponManage/editCashCoupon.vue
View file @
ee42140
...
...
@@ -166,11 +166,10 @@
</glsx-combi-form>
</div>
</div>
<div
class=
"footer"
:style=
"{ left: footerLeft + 'px', width: footerWidth + 'px' }"
>
<el-button
type=
"primary"
v-if=
"showSubmit"
@
click=
"handleConfirm"
>
确定
</el-button>
<el-button
v-if=
"apear != 'couponSee'"
@
click=
"handleCancel"
>
取消
</el-button>
<el-button
v-if=
"apear == 'couponSee'"
@
click=
"handleCancel"
>
返回
</el-button>
</div>
<GLFooter>
<el-button
@
click=
"handleCancel"
size=
"medium"
>
{{ apear != 'couponSee' ? '取消' : '返回' }}
</el-button>
<el-button
v-if=
"showSubmit"
type=
"primary"
@
click=
"handleConfirm"
size=
"medium"
:loading=
"loading"
>
提交
</el-button>
</GLFooter>
<select-muti-pro-forcoupon-dialog
v-if=
"isMutiSelectVisible"
:isMutiSelectVisible=
"isMutiSelectVisible"
:searchForm=
"searchProForm"
:selectedProList=
"selectedProList"
@
handleMutiSelectConfirm=
"handleMutiSelectConfirm"
@
handleMutiSelectClose=
"handleMutiSelectClose"
></select-muti-pro-forcoupon-dialog>
...
...
@@ -189,8 +188,6 @@ export default {
userDisable
:
false
,
size
:
'small'
,
title
:
'创建'
,
footerLeft
:
'0'
,
footerWidth
:
'0'
,
editChildRef
:
'editChildRef'
,
loading
:
false
,
routeInfo
:
{
...
...
@@ -374,8 +371,7 @@ export default {
},
mounted
()
{
this
.
footerLeft
=
document
.
querySelector
(
'.base-container-right'
).
offsetLeft
this
.
footerWidth
=
document
.
documentElement
.
clientWidth
-
this
.
footerLeft
this
.
setMinHeight
()
this
.
routeInfo
=
this
.
$route
.
params
this
.
getAllGoods
()
var
id
=
this
.
routeInfo
.
id
...
...
src/views/couponManage/editDiscountCoupon.vue
View file @
ee42140
...
...
@@ -151,11 +151,10 @@
</glsx-combi-form>
</div>
</div>
<div
class=
"footer"
:style=
"{ left: footerLeft + 'px', width: footerWidth + 'px' }"
>
<el-button
type=
"primary"
v-if=
"showSubmit"
@
click=
"handleConfirm"
>
确定
</el-button>
<el-button
v-if=
"apear != 'couponSee'"
@
click=
"handleCancel"
>
取消
</el-button>
<el-button
v-if=
"apear == 'couponSee'"
@
click=
"handleCancel"
>
返回
</el-button>
</div>
<GLFooter>
<el-button
@
click=
"handleCancel"
size=
"medium"
>
{{ apear != 'couponSee' ? '取消' : '返回' }}
</el-button>
<el-button
v-if=
"showSubmit"
type=
"primary"
@
click=
"handleConfirm"
size=
"medium"
:loading=
"loading"
>
提交
</el-button>
</GLFooter>
</div>
</template>
...
...
@@ -175,8 +174,6 @@ export default {
1
:
'创建晒单'
,
2
:
'编辑晒单'
},
footerLeft
:
'0'
,
footerWidth
:
'0'
,
editChildRef
:
'editChildRef'
,
loading
:
false
,
// pickerOptions: {
...
...
@@ -318,8 +315,7 @@ export default {
},
mounted
()
{
this
.
footerLeft
=
document
.
querySelector
(
'.base-container-right'
).
offsetLeft
this
.
footerWidth
=
document
.
documentElement
.
clientWidth
-
this
.
footerLeft
this
.
setMinHeight
()
this
.
routeInfo
=
this
.
$route
.
params
// this.title = this.titleObj[this.routeInfo.addOrEdit]
this
.
routeInfo
.
addOrEdit
!=
1
?
this
.
getInfo
()
:
''
...
...
src/views/couponManage/editExchangeCoupon.vue
View file @
ee42140
<!-- 编辑兑换券 -->
<
template
>
<div
class=
"edit-share marketing edit-box"
>
<div
class=
"container edit-container"
style=
"position: relative;
min-height: 700px;
"
v-loading=
"loading"
>
<div
class=
"container edit-container"
style=
"position: relative;"
v-loading=
"loading"
>
<div
class=
"right_show"
>
<div
class=
"card-top"
></div>
<div
class=
"slider"
>
...
...
@@ -101,11 +101,10 @@
<glsx-combi-form
class=
"edit-form-container"
ref=
"merchantRef"
:isEdit=
"true"
:isBlock=
"true"
:formRef=
"editChildRef"
:formObj=
"editForm"
:formData=
"merchantEditFormData"
:formRules=
"merchantRule"
></glsx-combi-form>
</div>
</div>
<div
class=
"footer"
:style=
"{ left: footerLeft + 'px', width: footerWidth + 'px' }"
>
<el-button
type=
"primary"
v-if=
"showSubmit"
@
click=
"handleConfirm"
>
确定
</el-button>
<el-button
v-if=
"apear != 'couponSee'"
@
click=
"handleCancel"
>
取消
</el-button>
<el-button
v-if=
"apear == 'couponSee'"
@
click=
"handleCancel"
>
返回
</el-button>
</div>
<GLFooter>
<el-button
@
click=
"handleCancel"
size=
"medium"
>
{{ apear != 'couponSee' ? '取消' : '返回' }}
</el-button>
<el-button
type=
"primary"
@
click=
"handleConfirm"
size=
"medium"
:loading=
"loading"
>
提交
</el-button>
</GLFooter>
</div>
</template>
...
...
@@ -125,8 +124,6 @@ export default {
1
:
'创建晒单'
,
2
:
'编辑晒单'
},
footerLeft
:
'0'
,
footerWidth
:
'0'
,
editChildRef
:
'editChildRef'
,
loading
:
false
,
editStatus
:
false
,
...
...
@@ -251,8 +248,7 @@ export default {
},
mounted
()
{
this
.
footerLeft
=
document
.
querySelector
(
'.base-container-right'
).
offsetLeft
this
.
footerWidth
=
document
.
documentElement
.
clientWidth
-
this
.
footerLeft
this
.
setMinHeight
()
this
.
routeInfo
=
this
.
$route
.
params
// this.title = this.titleObj[this.routeInfo.addOrEdit]
this
.
routeInfo
.
addOrEdit
!=
1
?
this
.
getInfo
()
:
''
...
...
@@ -488,7 +484,7 @@ export default {
.
then
(()
=>
{
this
.
cancelJump
()
})
.
catch
(()
=>
{})
.
catch
(()
=>
{
})
}
else
{
this
.
cancelJump
()
}
...
...
src/views/couponManage/editMemberService.vue
View file @
ee42140
...
...
@@ -157,13 +157,10 @@
</div>
</div>
</div>
<div
class=
"footer-panel"
:style=
"{
left: footerLeft + 'px',
width: footerWidth + 'px'
}"
>
<el-button
type=
"primary"
@
click=
"submitForm('ruleForm')"
size=
"medium"
:loading=
"sloading"
v-if=
"showSubmit"
>
确定
</el-button>
<el-button
type=
"default"
@
click=
"goBack"
size=
"medium"
>
取消
</el-button>
</div>
<GLFooter>
<el-button
@
click=
"goBack"
size=
"medium"
>
取消
</el-button>
<el-button
type=
"primary"
v-if=
"showSubmit"
@
click=
"submitForm('ruleForm')"
size=
"medium"
:loading=
"loading"
>
提交
</el-button>
</GLFooter>
<!-- :hasScroll="false" :noBtnOk="true" :noCancel="true" :noClose="false" -->
<glsx-dialog
title=
""
top=
"30vh"
:hasScroll=
"false"
width=
"547px"
btnCloseLabel=
"取消"
:noClose=
"false"
:noCancel=
"true"
btnSize=
"small"
:isVisible=
"isDialogVisible"
:showClose=
"false"
@
closeDialog=
"handleClose"
@
confirmDialog=
"handleConfirm"
>
<div
class=
"content-body"
>
...
...
@@ -344,8 +341,6 @@ export default {
this
.
rules
.
stock
[
0
].
required
=
!
this
.
$isGroupUp
},
mounted
()
{
this
.
footerLeft
=
document
.
querySelector
(
'.base-container-right'
).
offsetLeft
this
.
footerWidth
=
document
.
documentElement
.
clientWidth
-
this
.
footerLeft
if
(
this
.
title
==
'查看'
||
this
.
title
==
'编辑'
)
{
this
.
disabledCost
=
true
this
.
disabledDescription
=
true
...
...
@@ -640,7 +635,7 @@ export default {
}
}
.container
{
margin
:
0
0px
1
00
px
;
margin
:
0
0px
1
6
px
;
position
:
relative
;
/deep/
.el-form-item__content
{
...
...
src/views/friendGroup/friendGroupAdd.vue
View file @
ee42140
<
template
>
<div
class
>
<div
class=
"container"
>
<div>
<div
class=
"edit-container"
>
<!-- 基础信息 -->
<div
class=
"title"
>
编辑朋友圈
...
...
@@ -219,7 +219,9 @@ export default {
deep
:
true
}
},
mounted
()
{},
mounted
()
{
this
.
setMinHeight
()
},
methods
:
{
openMembers
()
{
this
.
membersVisible
=
!
this
.
membersVisible
...
...
@@ -419,7 +421,7 @@ export default {
<
style
lang=
"scss"
scoped
>
.container
{
margin-bottom
:
84
px
;
margin-bottom
:
16
px
;
background
:
#ffffff
;
box-shadow
:
0
10px
20px
0
rgba
(
88
,
80
,
255
,
0.1
);
//
padding
:
20px
;
...
...
src/views/giftBag/editGift.vue
View file @
ee42140
...
...
@@ -102,10 +102,10 @@
</div>
</div>
</div>
<
div
class=
"footer"
:style=
"
{ left: footerLeft + 'px', width: footerWidth + 'px' }"
>
<el-button
type=
"default"
@
click=
"handleCancel
"
>
取消
</el-button>
<el-button
type=
"primary"
@
click=
"handleConfirm"
>
提交
</el-button>
</
div
>
<
GLFooter
>
<el-button
@
click=
"handleCancel"
size=
"medium
"
>
取消
</el-button>
<el-button
type=
"primary"
@
click=
"handleConfirm"
size=
"medium"
:loading=
"loading"
>
提交
</el-button>
</
GLFooter
>
<select-gift-dialog
v-if=
"isSelectGiftVisible"
:isSelectGiftVisible=
"isSelectGiftVisible"
:selectedGiftList=
"selectedGiftList"
@
handleGiftConfirm=
"handleGiftConfirm"
@
handleGiftClose=
"handleGiftClose"
></select-gift-dialog>
<select-staff-dialog
v-if=
"isMutiSelectVisible"
:isMutiSelectVisible=
"isMutiSelectVisible"
:searchForm=
"searchStaffForm"
:selectedStaffList=
"selectedStaffList"
@
handleMutiSelectConfirm=
"handleMutiSelectConfirm"
@
handleMutiSelectClose=
"handleMutiSelectClose"
></select-staff-dialog>
</div>
...
...
@@ -133,8 +133,6 @@ export default {
add
:
'新增礼包'
,
edit
:
'编辑礼包'
},
footerLeft
:
'0'
,
footerWidth
:
'0'
,
// 选择员工弹窗
isMutiSelectVisible
:
false
,
searchStaffForm
:
{},
...
...
@@ -434,8 +432,7 @@ export default {
},
mounted
()
{
this
.
footerLeft
=
document
.
querySelector
(
'.base-container-right'
).
offsetLeft
this
.
footerWidth
=
document
.
documentElement
.
clientWidth
-
this
.
footerLeft
this
.
setMinHeight
()
this
.
routeInfo
=
this
.
$route
.
query
if
(
this
.
routeInfo
.
receivedStock
)
this
.
routeInfo
.
receivedStock
=
+
this
.
routeInfo
.
receivedStock
this
.
title
=
this
.
titleObj
[
this
.
routeInfo
.
addOrEdit
]
...
...
src/views/giftBag/giftDetail.vue
View file @
ee42140
...
...
@@ -72,10 +72,9 @@
<
/div
>
<
/div
>
<
/div
>
<
div
class
=
"footer"
:
style
=
"
{
left
:
footerLeft
+
'px'
,
width
:
footerWidth
+
'px'
}
">
<el-button type="
default
" @click="
handleCancel
">返回</el-button>
<!-- <el-button type="
default
" @click="
handleCancel
"
>
修改
<
/el-button> --
>
<
/div
>
<
GLFooter
>
<
el
-
button
@
click
=
"handleCancel"
size
=
"medium"
>
取消
<
/el-button
>
<
/GLFooter
>
<
/div
>
<
/template
>
...
...
@@ -87,8 +86,6 @@ export default {
return
{
size
:
'small'
,
title
:
'礼包详情'
,
footerLeft
:
'0'
,
footerWidth
:
'0'
,
loading
:
false
,
editChildRef
:
'editChildRef'
,
receiveDetailList
:
[],
...
...
@@ -203,8 +200,7 @@ export default {
}
,
mounted
()
{
this
.
footerLeft
=
document
.
querySelector
(
'.base-container-right'
).
offsetLeft
this
.
footerWidth
=
document
.
documentElement
.
clientWidth
-
this
.
footerLeft
this
.
setMinHeight
()
this
.
routeInfo
=
this
.
$route
.
query
this
.
loading
=
true
this
.
getInfo
()
...
...
src/views/homeSet/index.vue
View file @
ee42140
...
...
@@ -186,9 +186,9 @@
</div>
</div>
</div>
<
div
class=
"footer"
:style=
"{ left: footerLeft + 'px', width: footerWidth + 'px' }"
>
<el-button
type=
"primary"
@
click=
"handleConfirm"
>
确定
</el-button>
</
div
>
<
GLFooter
>
<el-button
type=
"primary"
@
click=
"handleConfirm"
size=
"medium"
:loading=
"loading"
>
提交
</el-button>
</
GLFooter
>
<select-single-pro-dialog
v-if=
"isSingleSelectVisible"
:isSingleSelectVisible=
"isSingleSelectVisible"
:selectedProInfo=
"selectedProInfo"
@
handleSingleSelectConfirm=
"handleSingleSelectConfirm"
@
handleSingleSelectClose=
"handleSingleSelectClose"
></select-single-pro-dialog>
<!-- 在线客服 -->
<glsx-dialog
class=
"server-dialog"
title=
"在线客服"
width=
"712px"
:noBtnOk=
"true"
:isVisible
.
sync=
"isConsultantVisible"
@
confirmDialog=
"handleConsultantConfirm"
@
closeDialog=
"handleConsultantClose"
>
...
...
@@ -246,8 +246,6 @@ export default {
name
:
'homeSet'
,
data
()
{
return
{
footerLeft
:
'0'
,
footerWidth
:
'0'
,
size
:
'small'
,
userInfo
:
{},
// 查看大图
...
...
@@ -501,8 +499,6 @@ export default {
mounted
()
{
this
.
userInfo
=
this
.
$globalState
.
session
this
.
footerLeft
=
document
.
querySelector
(
'.base-container-right'
).
offsetLeft
this
.
footerWidth
=
document
.
documentElement
.
clientWidth
-
this
.
footerLeft
this
.
getInfo
()
this
.
getConsultant
()
// 非集团账号隐藏配置门店
...
...
src/views/memberCenter/center.vue
View file @
ee42140
...
...
@@ -93,8 +93,8 @@
</div>
</div>
<div
class=
"pageTitle"
>
会员用户
</div>
<div
class=
"live-room container
p-t-20
"
>
<GLCombiForm
ref=
"showSearch"
:rowNumber=
"1"
:formObj=
"searchForm"
:formData=
"searchFormData"
@
handleOk=
"handleSearch"
@
handleRest=
"handleReset"
></GLCombiForm>
<div
class=
"live-room container"
>
<GLCombiForm
class=
"p-t-20"
ref=
"showSearch"
:rowNumber=
"1"
:formObj=
"searchForm"
:formData=
"searchFormData"
@
handleOk=
"handleSearch"
@
handleRest=
"handleReset"
></GLCombiForm>
<div
class=
"flex-between m-b-10 m-t-10"
>
<div
class=
"text-16 color-3 weight-5"
>
会员列表
</div>
<div
class=
"export"
@
click=
"handleExport"
>
全部导出
</div>
...
...
@@ -633,7 +633,6 @@ export default {
background-color
:
#fff
;
height
:
190px
;
box-sizing
:
border-box
;
margin-top
:
20px
;
padding
:
10px
8px
;
box-shadow
:
0
1px
5px
0
rgba
(
38
,
38
,
38
,
0.1
);
.cardBoxWrap
{
...
...
src/views/memberCenter/orderDetail.vue
View file @
ee42140
...
...
@@ -272,7 +272,7 @@ export default {
<
style
lang=
"scss"
scoped
>
.marketing
{
.container-detail
{
padding
:
20px
0
;
padding
-bottom
:
20px
;
.order-info
{
width
:
100%
;
height
:
auto
;
...
...
src/views/memberCenter/setmeal.vue
View file @
ee42140
...
...
@@ -367,7 +367,7 @@ export default {
this
.
$messageBox
.
confirm
(
'下架后将隐藏且客户不能购买该套餐,已经购买的客户仍继续享有该套餐的服务?'
,
'下架'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
,
type
:
'warning'
,
// type: 'error',
callback
:
action
=>
{
if
(
action
==
'confirm'
)
{
...
...
@@ -406,7 +406,7 @@ export default {
this
.
$messageBox
.
confirm
(
'是否删除该套餐?'
,
'删除'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
// type: 'error
',
type
:
'warning
'
,
callback
:
action
=>
{
if
(
action
==
'confirm'
)
{
deleteSetMeal
({
id
:
row
.
id
}).
then
(
res
=>
{
...
...
@@ -428,7 +428,7 @@ export default {
<
style
lang=
"scss"
scoped
>
.btnWrap
{
margin
:
10px
0
;
margin
-bottom
:
20px
;
}
/
deep
/
.el-dialog__header
{
...
...
src/views/memberCenter/setmealAddUpdate.vue
View file @
ee42140
...
...
@@ -462,7 +462,6 @@ export default {
color
:
#5850ff
!important
;
}
.topMsg
{
margin
:
20px
0px
0
;
padding
:
0
20px
;
background-color
:
#fff
;
height
:
56px
;
...
...
src/views/newCarManage/index.vue
View file @
ee42140
<!-- 新车管理 -->
<
template
>
<div
class=
"marketing"
>
<div
class=
"m-b-20"
>
<
!--
<GLButton
:size=
"size"
type=
"primary"
fn=
"新增新车"
class=
"el-icon-plus"
@
click=
"handleEdit(1)"
>
新增新车
</GLButton>
--
>
</div>
<
!--
<
div
class=
"m-b-20"
>
<
GLButton
:size=
"size"
type=
"primary"
fn=
"新增新车"
class=
"el-icon-plus"
@
click=
"handleEdit(1)"
>
新增新车
</GLButton
>
</div>
-->
<div
class=
"container"
>
<GLCombiForm
ref=
"showSearch"
:rowNumber=
"1"
:formObj=
"searchForm"
:formData=
"searchFormData"
@
handleOk=
"handleSearch"
@
handleRest=
"handleReset"
></GLCombiForm>
...
...
src/views/orderComment/commentDetail.vue
View file @
ee42140
...
...
@@ -26,9 +26,9 @@
</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
>
...
...
@@ -39,8 +39,6 @@ export default {
return
{
size
:
'small'
,
title
:
'评论详情'
,
footerLeft
:
'0'
,
footerWidth
:
'0'
,
editChildRef
:
'editChildRef'
,
routeInfo
:
{
id
:
''
...
...
@@ -51,8 +49,7 @@ export default {
},
mounted
()
{
this
.
footerLeft
=
document
.
querySelector
(
'.base-container-right'
).
offsetLeft
this
.
footerWidth
=
document
.
documentElement
.
clientWidth
-
this
.
footerLeft
this
.
setMinHeight
()
this
.
routeInfo
=
this
.
$route
.
query
this
.
getInfo
()
},
...
...
src/views/productGroup/components/commentDetail.vue
View file @
ee42140
...
...
@@ -91,7 +91,7 @@ export default {
setTableFinishFun
()
{
//接收到的数据为空
this
.
$refs
.
commentRef
.
data
.
length
?
(
this
.
$refs
.
commentRef
.
tableHeightValues
=
''
)
:
this
.
$refs
.
commentRef
.
setTableHeightFun
()
//
this.$refs.commentRef.data.length ? (this.$refs.commentRef.tableHeightValues = '') : this.$refs.commentRef.setTableHeightFun()
},
handleImgLook
(
imgUrls
)
{
...
...
src/views/productGroup/editProduct.vue
View file @
ee42140
...
...
@@ -282,10 +282,10 @@
</div>
</div>
<comment-detail
v-show=
"['2', '3'].includes(routeInfo.addOrEdit + '') && activeName == 'afterOrder'"
:goodsId=
"routeInfo.id"
></comment-detail>
<
div
class=
"footer"
:style=
"{ left: footerLeft + 'px', width: footerWidth + 'px' }"
>
<el-button
v-if=
"routeInfo.addOrEdit == '1' || (routeInfo.addOrEdit == '2' && activeName == 'basicInfo')"
type=
"primary"
@
click=
"handleConfirm"
>
确定
</el-button>
<el-button
type=
"default"
@
click=
"handleCancel"
>
取消
</el-button>
</
div
>
<
GLFooter
>
<el-button
@
click=
"handleCancel"
size=
"medium"
>
取消
</el-button>
<el-button
v-if=
"routeInfo.addOrEdit == '1' || (routeInfo.addOrEdit == '2' && activeName == 'basicInfo')"
type=
"primary"
@
click=
"handleConfirm"
size=
"medium"
:loading=
"loading"
>
提交
</el-button>
</
GLFooter
>
<el-dialog
:visible
.
sync=
"isImgVisible"
>
<img
class=
"dialog-img"
width=
"100%"
:src=
"dialogImageUrl"
alt
/>
</el-dialog>
...
...
@@ -418,8 +418,6 @@ export default {
]
},
size
:
'small'
,
footerLeft
:
'0'
,
footerWidth
:
'0'
,
editChildRef
:
'editChildRef'
,
// tab
activeName
:
'basicInfo'
,
...
...
@@ -933,8 +931,6 @@ export default {
mounted
()
{
this
.
userInfo
=
this
.
$globalState
.
session
this
.
$refs
.
merchantTableRef
[
0
].
tableHeightValues
=
'400px'
this
.
footerLeft
=
document
.
querySelector
(
'.base-container-right'
).
offsetLeft
this
.
footerWidth
=
document
.
documentElement
.
clientWidth
-
this
.
footerLeft
this
.
getBaseDate
().
then
(()
=>
{
this
.
getOptionsList
(
0
,
'editFormData'
,
false
)
})
...
...
src/views/productStore/editProductDh.vue
View file @
ee42140
This diff is collapsed.
Click to expand it.
src/views/seckillActivity/editActivity.vue
View file @
ee42140
...
...
@@ -76,11 +76,10 @@
<p
class=
"wechat-name one-line-ellipsis"
>
{{ editForm.activityName }}
</p>
<p
v-show=
"editForm.limitPurchaseNumber"
class=
"wechat-limit-num one-line-ellipsis"
>
{{ editForm.limitPurchaseNumber }}
</p>
</div>
<div
class=
"footer"
:style=
"{ left: footerLeft + 'px', width: footerWidth + 'px' }"
>
<el-button
type=
"primary"
v-if=
"apear != 'see'"
@
click=
"handleConfirm"
>
确定
</el-button>
<el-button
v-if=
"apear != 'see'"
@
click=
"handleCancel"
>
取消
</el-button>
<el-button
v-if=
"apear == 'see'"
@
click=
"handleCancel"
>
返回
</el-button>
</div>
<GLFooter>
<el-button
@
click=
"handleCancel"
size=
"medium"
>
{{ apear != 'see' ? '取消' : '返回' }}
</el-button>
<el-button
v-if=
"apear != 'see'"
type=
"primary"
@
click=
"handleConfirm"
size=
"medium"
:loading=
"loading"
>
提交
</el-button>
</GLFooter>
<select-single-pro-dialog
v-if=
"isSingleSelectVisible"
:isSingleSelectVisible=
"isSingleSelectVisible"
:selectedProInfo=
"selectedProInfo"
@
handleSingleSelectConfirm=
"handleSingleSelectConfirm"
@
handleSingleSelectClose=
"handleSingleSelectClose(true)"
></select-single-pro-dialog>
</div>
</template>
...
...
@@ -97,8 +96,6 @@ export default {
1
:
'创建秒杀活动'
,
2
:
'编辑秒杀活动'
},
footerLeft
:
'0'
,
footerWidth
:
'0'
,
editChildRef
:
'editChildRef'
,
pickerOptions
:
{
disabledDate
(
v
)
{
...
...
@@ -274,8 +271,7 @@ export default {
},
mounted
()
{
this
.
footerLeft
=
document
.
querySelector
(
'.base-container-right'
).
offsetLeft
this
.
footerWidth
=
document
.
documentElement
.
clientWidth
-
this
.
footerLeft
this
.
setMinHeight
()
this
.
routeInfo
=
this
.
$route
.
params
this
.
routeInfo
.
addOrEdit
!=
1
?
this
.
getInfo
()
:
''
var
id
=
this
.
routeInfo
.
id
...
...
src/views/seckillActivity/editCrowdFund.vue
View file @
ee42140
...
...
@@ -165,11 +165,10 @@
<img
class=
"wechat-footer"
src=
"@/assets/seckillActivity/crowd-footer.png"
/>
</div>
</div>
<div
class=
"footer"
:style=
"{ left: footerLeft + 'px', width: footerWidth + 'px' }"
>
<el-button
type=
"primary"
v-if=
"routeInfo.addOrEdit != 'detail'"
@
click=
"handleConfirm"
>
确定
</el-button>
<el-button
v-if=
"routeInfo.addOrEdit != 'detail'"
@
click=
"handleCancel"
>
取消
</el-button>
<el-button
v-if=
"routeInfo.addOrEdit == 'detail'"
@
click=
"handleCancel"
>
返回
</el-button>
</div>
<GLFooter>
<el-button
@
click=
"handleCancel"
size=
"medium"
>
{{ routeInfo.addOrEdit != 'detail' ? '取消' : '返回' }}
</el-button>
<el-button
v-if=
"routeInfo.addOrEdit != 'detail'"
type=
"primary"
@
click=
"handleConfirm"
size=
"medium"
:loading=
"loading"
>
提交
</el-button>
</GLFooter>
<select-single-pro-dialog
v-if=
"isSingleSelectVisible"
:isSingleSelectVisible=
"isSingleSelectVisible"
:selectedProInfo=
"selectedProInfo"
@
handleSingleSelectConfirm=
"handleSingleSelectConfirm"
@
handleSingleSelectClose=
"handleSingleSelectClose(true)"
></select-single-pro-dialog>
</div>
</template>
...
...
@@ -188,8 +187,6 @@ export default {
}
return
{
size
:
'small'
,
footerLeft
:
'0'
,
footerWidth
:
'0'
,
editChildRef
:
'editChildRef'
,
loading
:
false
,
userInfo
:
{},
...
...
@@ -592,8 +589,7 @@ export default {
},
mounted
()
{
this
.
footerLeft
=
document
.
querySelector
(
'.base-container-right'
).
offsetLeft
this
.
footerWidth
=
document
.
documentElement
.
clientWidth
-
this
.
footerLeft
this
.
setMinHeight
()
this
.
routeInfo
=
this
.
$route
.
query
this
.
routeInfo
.
addOrEdit
!=
'add'
?
this
.
getInfo
()
:
this
.
getMerchantInfo
()
var
id
=
this
.
routeInfo
.
id
...
...
src/views/sop/editSop/baseInfo.vue
View file @
ee42140
...
...
@@ -93,10 +93,10 @@
<div
v-show=
"!editForm.eventList.length && submit"
class=
"red-txt"
>
请创建营销事件
</div>
</div>
</div>
<
div
class=
"footer"
:style=
"{ left: footerLeft + 'px', width: footerWidth + 'px' }"
>
<el-button
type=
"primary"
@
click=
"handleConfirm"
>
确定
</el-button>
<el-button
type=
"
default"
@
click=
"handleCancel"
>
取消
</el-button>
</
div
>
<
GLFooter
>
<el-button
@
click=
"handleCancel"
size=
"medium"
>
取消
</el-button>
<el-button
type=
"
primary"
@
click=
"handleConfirm"
size=
"medium"
:loading=
"loading"
>
提交
</el-button>
</
GLFooter
>
<select-Crowd
v-if=
"isCrowdCustVisible"
:dialogVisible=
"isCrowdCustVisible"
:selectedCrowdList=
"JSON.parse(JSON.stringify(customerDataList[0].list))"
@
handleCrowdCustClose=
"handleCrowdCustClose"
@
handleCrowdCustConfirm=
"handleDialogConfirm"
></select-Crowd>
<select-tag
ref=
"selectTagForm"
@
tagSelected=
"handleDialogConfirm"
:dialogVisible=
"isTagVisible"
></select-tag>
<select-customer
v-if=
"isAppointCustVisible"
:dialogVisible=
"isAppointCustVisible"
:parentSelectedCustomerList=
"customerDataList[2].list"
@
handleAppointCustClose=
"handleAppointCustClose"
@
handleAppointCustConfirm=
"handleDialogConfirm"
></select-customer>
...
...
@@ -114,8 +114,6 @@ export default {
size
:
'small'
,
title
:
'基本信息'
,
url
:
url
,
footerLeft
:
'0'
,
footerWidth
:
'0'
,
editChildRef
:
'editChildRef'
,
editStatus
:
false
,
editDisabled
:
false
,
...
...
@@ -298,8 +296,7 @@ export default {
},
mounted
()
{
this
.
footerLeft
=
document
.
querySelector
(
'.base-container-right'
).
offsetLeft
this
.
footerWidth
=
document
.
documentElement
.
clientWidth
-
this
.
footerLeft
this
.
setMinHeight
(
'.sop-base-info'
)
if
(
this
.
routeInfo
.
addOrEdit
==
'edit'
)
{
this
.
getInfo
()
}
else
if
(
this
.
routeInfo
.
info
)
{
...
...
src/views/sop/editSop/editEvent.vue
View file @
ee42140
...
...
@@ -96,10 +96,10 @@
</
template
>
</glsx-combi-form>
</div>
<
div
class=
"footer"
:style=
"{ left: footerLeft + 'px', width: footerWidth + 'px' }"
>
<el-button
type=
"primary"
@
click=
"handleConfirm"
>
确定
</el-button>
<el-button
type=
"
default"
@
click=
"handleCancel"
>
取消
</el-button>
</
div
>
<
GLFooter
>
<el-button
@
click=
"handleCancel"
size=
"medium"
>
取消
</el-button>
<el-button
type=
"
primary"
@
click=
"handleConfirm"
size=
"medium"
:loading=
"loading"
>
提交
</el-button>
</
GLFooter
>
<ActivityModel
ref=
"activity"
@
selectActivity=
"selectActivity"
></ActivityModel>
<material-model
v-if=
"isMaterialVisible"
:isMaterialVisible
.
sync=
"isMaterialVisible"
@
handleMaterialConfirm=
"handleMaterialConfirm"
@
handleMaterialClose=
"handleMaterialClose"
></material-model>
<nickname-model
v-if=
"isNicknameVisible"
:isNicknameVisible
.
sync=
"isNicknameVisible"
@
handleNicknameConfirm=
"handleNicknameConfirm"
@
handleNicknameClose=
"handleNicknameClose"
></nickname-model>
...
...
@@ -117,8 +117,6 @@ export default {
data
()
{
return
{
size
:
'small'
,
footerLeft
:
'0'
,
footerWidth
:
'0'
,
editChildRef
:
'editChildRef'
,
isMaterialVisible
:
false
,
isNicknameVisible
:
false
,
...
...
@@ -454,8 +452,6 @@ export default {
},
mounted
()
{
this
.
footerLeft
=
document
.
querySelector
(
'.base-container-right'
).
offsetLeft
this
.
footerWidth
=
document
.
documentElement
.
clientWidth
-
this
.
footerLeft
Object
.
assign
(
this
.
editForm
,
this
.
eventObj
.
info
)
this
.
getStaffTypeList
()
this
.
$nextTick
(()
=>
{
...
...
src/views/takeGood/takeGoodDetail.vue
View file @
ee42140
...
...
@@ -2,7 +2,7 @@
<!-- 商品编辑 - 带货 -->
<
template
>
<div
class=
"edit-product-dh marketing edit-box"
>
<div
class=
"container"
>
<div
class=
"container
edit-container
"
>
<p
class=
"edit-title"
>
{{
title
}}
</p>
<div
class=
"flex"
style=
"margin-top: 20px;"
>
<div
class=
"main-img-box"
>
...
...
@@ -50,10 +50,9 @@
</div>
<glsx-combi-form
v-if=
"!specificationDetailList.length"
class=
"edit-form-container"
ref=
"editFormRef"
labelWidth=
"140px"
defaultWidth=
"320px"
:isBlock=
"true"
:formRef=
"editChildRef"
:formObj=
"editForm"
:formData=
"editFormData"
:formRules=
"editRule"
></glsx-combi-form>
</div>
<div
class=
"footer"
:style=
"
{ left: footerLeft + 'px', width: footerWidth + 'px' }">
<!--
<el-button
type=
"primary"
@
click=
"handleConfirm"
>
确定
</el-button>
-->
<el-button
type=
"default"
@
click=
"handleCancel"
>
取消
</el-button>
</div>
<GLFooter>
<el-button
@
click=
"handleCancel"
size=
"medium"
>
返回
</el-button>
</GLFooter>
</div>
</
template
>
...
...
@@ -65,8 +64,6 @@ export default {
return
{
size
:
'small'
,
title
:
'查看商品'
,
footerLeft
:
'0'
,
footerWidth
:
'0'
,
editChildRef
:
'editChildRef'
,
// submitted: false,
isDisabled
:
false
,
...
...
@@ -109,8 +106,7 @@ export default {
},
mounted
()
{
this
.
footerLeft
=
document
.
querySelector
(
'.base-container-right'
).
offsetLeft
this
.
footerWidth
=
document
.
documentElement
.
clientWidth
-
this
.
footerLeft
this
.
setMinHeight
()
this
.
routeInfo
=
this
.
$route
.
query
this
.
isDisabled
=
true
this
.
editFormData
[
0
].
isDisabled
=
true
...
...
src/views/template/edit.vue
View file @
ee42140
<!-- 编辑专区 -->
<
template
>
<div
class=
"edit-gift marketing
p-t-20
edit-box"
>
<div
class=
"edit-gift 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"
></glsx-combi-form>
...
...
src/views/zoneList/editZone.vue
View file @
ee42140
...
...
@@ -31,10 +31,14 @@
</el-row>
</relate-store-dialog>
</div>
<div
class=
"footer"
:style=
"
{ left: footerLeft + 'px', width: footerWidth + 'px' }">
<GLFooter>
<el-button
@
click=
"handleCancel"
size=
"medium"
>
取消
</el-button>
<el-button
type=
"primary"
@
click=
"handleConfirm"
size=
"medium"
:loading=
"loading"
>
提交
</el-button>
</GLFooter>
<!--
<div
class=
"footer"
:style=
"
{ left: footerLeft + 'px', width: footerWidth + 'px' }">
<el-button
type=
"primary"
@
click=
"handleConfirm"
>
确定
</el-button>
<el-button
type=
"default"
@
click=
"handleCancel"
>
取消
</el-button>
</div>
</div>
-->
</div>
</
template
>
...
...
@@ -49,8 +53,6 @@ export default {
1
:
'新增专区'
,
2
:
'编辑专区'
},
footerLeft
:
'0'
,
footerWidth
:
'0'
,
editChildRef
:
'editChildRef'
,
routeInfo
:
{
// 1-新增;2-编辑;3-查看
...
...
@@ -139,8 +141,7 @@ export default {
},
mounted
()
{
this
.
footerLeft
=
document
.
querySelector
(
'.base-container-right'
).
offsetLeft
this
.
footerWidth
=
document
.
documentElement
.
clientWidth
-
this
.
footerLeft
this
.
setMinHeight
()
this
.
routeInfo
=
this
.
$route
.
query
this
.
title
=
this
.
titleObj
[
this
.
routeInfo
.
addOrEdit
]
this
.
routeInfo
.
addOrEdit
!=
1
?
this
.
getInfo
()
:
''
...
...
@@ -232,7 +233,7 @@ export default {
.
then
(()
=>
{
this
.
cancelJump
()
})
.
catch
(()
=>
{})
.
catch
(()
=>
{
})
}
else
{
this
.
cancelJump
()
}
...
...
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