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 0b8f5c78
authored
Jul 22, 2022
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
ui修改
1 parent
3fabd379
Show whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
58 additions
and
55 deletions
src/assets/css/public.scss
src/common/constant.js
src/main.js
src/views/classifyList/editClassify.vue
src/views/couponManage/editExchangeCoupon.vue
src/views/memberCenter/center.vue
src/views/memberCenter/orderDetail.vue
src/views/memberCenter/setmeal.vue
src/views/memberCenter/setmealAddUpdate.vue
src/views/productGroup/components/commentDetail.vue
src/views/productGroup/editProduct.vue
src/views/productStore/editProductDh.vue
src/views/template/edit.vue
src/views/zoneList/editZone.vue
src/assets/css/public.scss
View file @
0b8f5c7
...
@@ -16,7 +16,7 @@ html {
...
@@ -16,7 +16,7 @@ html {
.marketing
.container
{
.marketing
.container
{
background
:
#ffffff
;
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
;
padding
:
20px
;
}
}
...
@@ -26,7 +26,7 @@ html {
...
@@ -26,7 +26,7 @@ html {
.live-room
.container
{
.live-room
.container
{
background
:
#ffffff
;
background
:
#ffffff
;
margin
:
20px
0
;
//
margin: 20px 0;
padding
:
15px
20px
;
padding
:
15px
20px
;
box-shadow
:
0
1px
5px
0
rgba
(
38
,
38
,
38
,
0
.1
);
box-shadow
:
0
1px
5px
0
rgba
(
38
,
38
,
38
,
0
.1
);
}
}
...
@@ -119,7 +119,9 @@ html {
...
@@ -119,7 +119,9 @@ html {
}
}
.marketing
.edit-container
{
.marketing
.edit-container
{
margin-bottom
:
84px
;
// margin-bottom: 84px;
// min-height: calc(100vh - 156px);
margin-bottom
:
16px
;
}
}
.marketing
.approval-container
{
.marketing
.approval-container
{
margin-bottom
:
10px
;
margin-bottom
:
10px
;
...
...
src/common/constant.js
View file @
0b8f5c7
...
@@ -226,4 +226,11 @@ const stateList = [
...
@@ -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 @
0b8f5c7
...
@@ -14,6 +14,7 @@ import './public-path'
...
@@ -14,6 +14,7 @@ import './public-path'
import
'@/components'
import
'@/components'
// import 'glsx-components/dist/glsx-components.css'
// import 'glsx-components/dist/glsx-components.css'
import
{
start
}
from
'@/setup'
import
{
start
}
from
'@/setup'
import
{
setMinHeight
}
from
'@/common/constant'
import
VueAMap
from
'vue-amap'
import
VueAMap
from
'vue-amap'
Vue
.
use
(
VueAMap
)
Vue
.
use
(
VueAMap
)
// 初始化vue-amap
// 初始化vue-amap
...
@@ -25,6 +26,7 @@ VueAMap.initAMapApiLoader({
...
@@ -25,6 +26,7 @@ VueAMap.initAMapApiLoader({
Vue
.
config
.
productionTip
=
false
Vue
.
config
.
productionTip
=
false
Vue
.
prototype
.
$apis
=
apis
Vue
.
prototype
.
$apis
=
apis
Vue
.
prototype
.
size
=
'small'
Vue
.
prototype
.
size
=
'small'
Vue
.
prototype
.
setMinHeight
=
setMinHeight
start
()
start
()
export
{
bootstrap
,
mount
,
unmount
}
from
'@/setup'
export
{
bootstrap
,
mount
,
unmount
}
from
'@/setup'
export
const
http
=
params
=>
Vue
.
prototype
.
$http
(
params
)
export
const
http
=
params
=>
Vue
.
prototype
.
$http
(
params
)
...
...
src/views/classifyList/editClassify.vue
View file @
0b8f5c7
...
@@ -20,10 +20,10 @@
...
@@ -20,10 +20,10 @@
</div>
</div>
</glsx-combi-form>
</glsx-combi-form>
</div>
</div>
<
div
class=
"footer"
:style=
"{ left: footerLeft + 'px', width: footerWidth + 'px' }"
>
<
GLFooter
>
<el-button
type=
"primary"
@
click=
"handleConfirm"
>
确定
</el-button>
<el-button
@
click=
"handleCancel"
size=
"medium"
>
取消
</el-button>
<el-button
type=
"
default"
@
click=
"handleCancel"
>
取消
</el-button>
<el-button
type=
"
primary"
@
click=
"handleConfirm"
size=
"medium"
:loading=
"sloading"
>
提交
</el-button>
</
div
>
</
GLFooter
>
<select-muti-pro-dialog
ref=
"classMutiProRef"
v-if=
"isMutiSelectVisible"
:isMutiSelectVisible=
"isMutiSelectVisible"
:searchForm=
"searchProForm"
:selectedProList=
"selectedProList"
@
handleMutiSelectConfirm=
"handleMutiSelectConfirm"
@
handleMutiSelectClose=
"handleMutiSelectClose"
>
<select-muti-pro-dialog
ref=
"classMutiProRef"
v-if=
"isMutiSelectVisible"
:isMutiSelectVisible=
"isMutiSelectVisible"
:searchForm=
"searchProForm"
:selectedProList=
"selectedProList"
@
handleMutiSelectConfirm=
"handleMutiSelectConfirm"
@
handleMutiSelectClose=
"handleMutiSelectClose"
>
<!-- <template slot="search">
<!-- <template slot="search">
<div class="flex">
<div class="flex">
...
@@ -53,8 +53,6 @@ export default {
...
@@ -53,8 +53,6 @@ export default {
1
:
'新建分类'
,
1
:
'新建分类'
,
2
:
'编辑分类'
2
:
'编辑分类'
},
},
footerLeft
:
'0'
,
footerWidth
:
'0'
,
editChildRef
:
'editChildRef'
,
editChildRef
:
'editChildRef'
,
routeInfo
:
{
routeInfo
:
{
// 1-新建;2-编辑;3-查看
// 1-新建;2-编辑;3-查看
...
@@ -126,8 +124,7 @@ export default {
...
@@ -126,8 +124,7 @@ export default {
},
},
mounted
()
{
mounted
()
{
this
.
footerLeft
=
document
.
querySelector
(
'.base-container-right'
).
offsetLeft
this
.
setMinHeight
()
this
.
footerWidth
=
document
.
documentElement
.
clientWidth
-
this
.
footerLeft
this
.
routeInfo
=
this
.
$route
.
query
this
.
routeInfo
=
this
.
$route
.
query
this
.
title
=
this
.
titleObj
[
this
.
routeInfo
.
addOrEdit
]
this
.
title
=
this
.
titleObj
[
this
.
routeInfo
.
addOrEdit
]
this
.
routeInfo
.
addOrEdit
!=
1
?
this
.
getInfo
()
:
''
this
.
routeInfo
.
addOrEdit
!=
1
?
this
.
getInfo
()
:
''
...
...
src/views/couponManage/editExchangeCoupon.vue
View file @
0b8f5c7
<!-- 编辑兑换券 -->
<!-- 编辑兑换券 -->
<
template
>
<
template
>
<div
class=
"edit-share marketing 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=
"container edit-container"
style=
"position: relative;"
v-loading=
"loading"
>
<div
class=
"right_show"
>
<div
class=
"right_show"
>
<div
class=
"card-top"
></div>
<div
class=
"card-top"
></div>
<div
class=
"slider"
>
<div
class=
"slider"
>
...
@@ -101,11 +101,10 @@
...
@@ -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>
<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>
</div>
<div
class=
"footer"
:style=
"{ left: footerLeft + 'px', width: footerWidth + 'px' }"
>
<GLFooter>
<el-button
type=
"primary"
v-if=
"showSubmit"
@
click=
"handleConfirm"
>
确定
</el-button>
<el-button
@
click=
"handleCancel"
size=
"medium"
>
{{ apear != 'couponSee' ? '取消' : '返回' }}
</el-button>
<el-button
v-if=
"apear != 'couponSee'"
@
click=
"handleCancel"
>
取消
</el-button>
<el-button
type=
"primary"
@
click=
"handleConfirm"
size=
"medium"
:loading=
"sloading"
>
提交
</el-button>
<el-button
v-if=
"apear == 'couponSee'"
@
click=
"handleCancel"
>
返回
</el-button>
</GLFooter>
</div>
</div>
</div>
</template>
</template>
...
@@ -125,8 +124,6 @@ export default {
...
@@ -125,8 +124,6 @@ export default {
1
:
'创建晒单'
,
1
:
'创建晒单'
,
2
:
'编辑晒单'
2
:
'编辑晒单'
},
},
footerLeft
:
'0'
,
footerWidth
:
'0'
,
editChildRef
:
'editChildRef'
,
editChildRef
:
'editChildRef'
,
loading
:
false
,
loading
:
false
,
editStatus
:
false
,
editStatus
:
false
,
...
@@ -251,8 +248,7 @@ export default {
...
@@ -251,8 +248,7 @@ export default {
},
},
mounted
()
{
mounted
()
{
this
.
footerLeft
=
document
.
querySelector
(
'.base-container-right'
).
offsetLeft
this
.
setMinHeight
()
this
.
footerWidth
=
document
.
documentElement
.
clientWidth
-
this
.
footerLeft
this
.
routeInfo
=
this
.
$route
.
params
this
.
routeInfo
=
this
.
$route
.
params
// this.title = this.titleObj[this.routeInfo.addOrEdit]
// this.title = this.titleObj[this.routeInfo.addOrEdit]
this
.
routeInfo
.
addOrEdit
!=
1
?
this
.
getInfo
()
:
''
this
.
routeInfo
.
addOrEdit
!=
1
?
this
.
getInfo
()
:
''
...
@@ -488,7 +484,7 @@ export default {
...
@@ -488,7 +484,7 @@ export default {
.
then
(()
=>
{
.
then
(()
=>
{
this
.
cancelJump
()
this
.
cancelJump
()
})
})
.
catch
(()
=>
{})
.
catch
(()
=>
{
})
}
else
{
}
else
{
this
.
cancelJump
()
this
.
cancelJump
()
}
}
...
...
src/views/memberCenter/center.vue
View file @
0b8f5c7
...
@@ -93,8 +93,8 @@
...
@@ -93,8 +93,8 @@
</div>
</div>
</div>
</div>
<div
class=
"pageTitle"
>
会员用户
</div>
<div
class=
"pageTitle"
>
会员用户
</div>
<div
class=
"live-room container
p-t-20
"
>
<div
class=
"live-room container"
>
<GLCombiForm
ref=
"showSearch"
:rowNumber=
"1"
:formObj=
"searchForm"
:formData=
"searchFormData"
@
handleOk=
"handleSearch"
@
handleRest=
"handleReset"
></GLCombiForm>
<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=
"flex-between m-b-10 m-t-10"
>
<div
class=
"text-16 color-3 weight-5"
>
会员列表
</div>
<div
class=
"text-16 color-3 weight-5"
>
会员列表
</div>
<div
class=
"export"
@
click=
"handleExport"
>
全部导出
</div>
<div
class=
"export"
@
click=
"handleExport"
>
全部导出
</div>
...
@@ -633,7 +633,6 @@ export default {
...
@@ -633,7 +633,6 @@ export default {
background-color
:
#fff
;
background-color
:
#fff
;
height
:
190px
;
height
:
190px
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
margin-top
:
20px
;
padding
:
10px
8px
;
padding
:
10px
8px
;
box-shadow
:
0
1px
5px
0
rgba
(
38
,
38
,
38
,
0.1
);
box-shadow
:
0
1px
5px
0
rgba
(
38
,
38
,
38
,
0.1
);
.cardBoxWrap
{
.cardBoxWrap
{
...
...
src/views/memberCenter/orderDetail.vue
View file @
0b8f5c7
...
@@ -272,7 +272,7 @@ export default {
...
@@ -272,7 +272,7 @@ export default {
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.marketing
{
.marketing
{
.container-detail
{
.container-detail
{
padding
:
20px
0
;
padding
-bottom
:
20px
;
.order-info
{
.order-info
{
width
:
100%
;
width
:
100%
;
height
:
auto
;
height
:
auto
;
...
...
src/views/memberCenter/setmeal.vue
View file @
0b8f5c7
...
@@ -406,7 +406,7 @@ export default {
...
@@ -406,7 +406,7 @@ export default {
this
.
$messageBox
.
confirm
(
'是否删除该套餐?'
,
'删除'
,
{
this
.
$messageBox
.
confirm
(
'是否删除该套餐?'
,
'删除'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
// type: 'error
',
type
:
'warning
'
,
callback
:
action
=>
{
callback
:
action
=>
{
if
(
action
==
'confirm'
)
{
if
(
action
==
'confirm'
)
{
deleteSetMeal
({
id
:
row
.
id
}).
then
(
res
=>
{
deleteSetMeal
({
id
:
row
.
id
}).
then
(
res
=>
{
...
@@ -428,7 +428,7 @@ export default {
...
@@ -428,7 +428,7 @@ export default {
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.btnWrap
{
.btnWrap
{
margin
:
10px
0
;
margin
-bottom
:
20px
;
}
}
/
deep
/
.el-dialog__header
{
/
deep
/
.el-dialog__header
{
...
...
src/views/memberCenter/setmealAddUpdate.vue
View file @
0b8f5c7
...
@@ -462,7 +462,6 @@ export default {
...
@@ -462,7 +462,6 @@ export default {
color
:
#5850ff
!important
;
color
:
#5850ff
!important
;
}
}
.topMsg
{
.topMsg
{
margin
:
20px
0px
0
;
padding
:
0
20px
;
padding
:
0
20px
;
background-color
:
#fff
;
background-color
:
#fff
;
height
:
56px
;
height
:
56px
;
...
...
src/views/productGroup/components/commentDetail.vue
View file @
0b8f5c7
...
@@ -91,7 +91,7 @@ export default {
...
@@ -91,7 +91,7 @@ export default {
setTableFinishFun
()
{
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
)
{
handleImgLook
(
imgUrls
)
{
...
...
src/views/productGroup/editProduct.vue
View file @
0b8f5c7
...
@@ -282,10 +282,10 @@
...
@@ -282,10 +282,10 @@
</div>
</div>
</div>
</div>
<comment-detail
v-show=
"['2', '3'].includes(routeInfo.addOrEdit + '') && activeName == 'afterOrder'"
:goodsId=
"routeInfo.id"
></comment-detail>
<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' }"
>
<
GLFooter
>
<el-button
v-if=
"routeInfo.addOrEdit == '1' || (routeInfo.addOrEdit == '2' && activeName == 'basicInfo')"
type=
"primary"
@
click=
"handleConfirm"
>
确定
</el-button>
<el-button
@
click=
"handleCancel"
size=
"medium"
>
取消
</el-button>
<el-button
type=
"default"
@
click=
"handleCancel"
>
取消
</el-button>
<el-button
v-if=
"routeInfo.addOrEdit == '1' || (routeInfo.addOrEdit == '2' && activeName == 'basicInfo')"
type=
"primary"
@
click=
"handleConfirm"
size=
"medium"
:loading=
"sloading"
>
提交
</el-button>
</
div
>
</
GLFooter
>
<el-dialog
:visible
.
sync=
"isImgVisible"
>
<el-dialog
:visible
.
sync=
"isImgVisible"
>
<img
class=
"dialog-img"
width=
"100%"
:src=
"dialogImageUrl"
alt
/>
<img
class=
"dialog-img"
width=
"100%"
:src=
"dialogImageUrl"
alt
/>
</el-dialog>
</el-dialog>
...
@@ -418,8 +418,6 @@ export default {
...
@@ -418,8 +418,6 @@ export default {
]
]
},
},
size
:
'small'
,
size
:
'small'
,
footerLeft
:
'0'
,
footerWidth
:
'0'
,
editChildRef
:
'editChildRef'
,
editChildRef
:
'editChildRef'
,
// tab
// tab
activeName
:
'basicInfo'
,
activeName
:
'basicInfo'
,
...
@@ -933,8 +931,6 @@ export default {
...
@@ -933,8 +931,6 @@ export default {
mounted
()
{
mounted
()
{
this
.
userInfo
=
this
.
$globalState
.
session
this
.
userInfo
=
this
.
$globalState
.
session
this
.
$refs
.
merchantTableRef
[
0
].
tableHeightValues
=
'400px'
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
.
getBaseDate
().
then
(()
=>
{
this
.
getOptionsList
(
0
,
'editFormData'
,
false
)
this
.
getOptionsList
(
0
,
'editFormData'
,
false
)
})
})
...
...
src/views/productStore/editProductDh.vue
View file @
0b8f5c7
<!-- 商品编辑 - 带货 -->
<!-- 商品编辑 - 带货 -->
<
template
>
<
template
>
<div
class=
"edit-product-dh marketing p-t-20 edit-box"
>
<div
class=
"edit-product-dh marketing edit-box"
>
<div
class=
"edit-content"
>
<el-tabs
v-if=
"routeInfo.addOrEdit != '1'"
v-model=
"activeName"
@
tab-click=
"handleTabClick"
>
<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=
"basicInfo"
></el-tab-pane>
<el-tab-pane
label=
"评价信息"
name=
"afterOrder"
></el-tab-pane>
<el-tab-pane
label=
"评价信息"
name=
"afterOrder"
></el-tab-pane>
...
@@ -66,10 +67,11 @@
...
@@ -66,10 +67,11 @@
</div>
</div>
</div>
</div>
<comment-detail
v-show=
"['2', '3'].includes(routeInfo.addOrEdit + '') && activeName == 'afterOrder'"
:goodsId=
"routeInfo.id"
></comment-detail>
<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>
</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=
"sloading"
>
提交
</el-button>
</GLFooter>
</div>
</div>
</
template
>
</
template
>
...
@@ -87,8 +89,6 @@ export default {
...
@@ -87,8 +89,6 @@ export default {
2
:
'编辑商品'
,
2
:
'编辑商品'
,
3
:
'查看商品'
3
:
'查看商品'
},
},
footerLeft
:
'0'
,
footerWidth
:
'0'
,
editChildRef
:
'editChildRef'
,
editChildRef
:
'editChildRef'
,
// tab
// tab
activeName
:
'basicInfo'
,
activeName
:
'basicInfo'
,
...
@@ -172,8 +172,7 @@ export default {
...
@@ -172,8 +172,7 @@ export default {
},
},
mounted
()
{
mounted
()
{
this
.
footerLeft
=
document
.
querySelector
(
'.base-container-right'
).
offsetLeft
this
.
setMinHeight
(
'.edit-content'
)
this
.
footerWidth
=
document
.
documentElement
.
clientWidth
-
this
.
footerLeft
this
.
title
=
this
.
titleObj
[
this
.
routeInfo
.
addOrEdit
]
this
.
title
=
this
.
titleObj
[
this
.
routeInfo
.
addOrEdit
]
this
.
isDisabled
=
this
.
routeInfo
.
addOrEdit
==
3
this
.
isDisabled
=
this
.
routeInfo
.
addOrEdit
==
3
this
.
editFormData
[
0
].
isDisabled
=
this
.
isDisabled
this
.
editFormData
[
0
].
isDisabled
=
this
.
isDisabled
...
@@ -381,6 +380,11 @@ export default {
...
@@ -381,6 +380,11 @@ export default {
border-bottom
:
1px
solid
#e5e5e5
;
border-bottom
:
1px
solid
#e5e5e5
;
}
}
.edit-product-dh
.edit-content
{
background-color
:
#ffffff
;
margin-bottom
:
16px
;
}
.edit-product-dh
.view
{
.edit-product-dh
.view
{
width
:
375px
;
width
:
375px
;
height
:
667px
;
height
:
667px
;
...
...
src/views/template/edit.vue
View file @
0b8f5c7
<!-- 编辑专区 -->
<!-- 编辑专区 -->
<
template
>
<
template
>
<div
class=
"edit-gift marketing
p-t-20
edit-box"
>
<div
class=
"edit-gift marketing edit-box"
>
<div
class=
"container edit-container"
>
<div
class=
"container edit-container"
>
<p
class=
"edit-title"
>
{{
title
}}
</p>
<p
class=
"edit-title"
>
{{
title
}}
</p>
<glsx-combi-form
class=
"edit-form-container m-r-20"
ref=
"editFormRef"
:isEdit=
"isEdit"
:labelWidth=
"labelWidth"
defaultWidth=
"320px"
:isBlock=
"true"
:formRef=
"editChildRef"
:formObj=
"editForm"
:formData=
"editFormData"
:formRules=
"editRule"
></glsx-combi-form>
<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 @
0b8f5c7
...
@@ -31,10 +31,14 @@
...
@@ -31,10 +31,14 @@
</el-row>
</el-row>
</relate-store-dialog>
</relate-store-dialog>
</div>
</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=
"sloading"
>
提交
</el-button>
</GLFooter>
<!--
<div
class=
"footer"
:style=
"
{ left: footerLeft + 'px', width: footerWidth + 'px' }">
<el-button
type=
"primary"
@
click=
"handleConfirm"
>
确定
</el-button>
<el-button
type=
"primary"
@
click=
"handleConfirm"
>
确定
</el-button>
<el-button
type=
"default"
@
click=
"handleCancel"
>
取消
</el-button>
<el-button
type=
"default"
@
click=
"handleCancel"
>
取消
</el-button>
</div>
</div>
-->
</div>
</div>
</
template
>
</
template
>
...
@@ -49,8 +53,6 @@ export default {
...
@@ -49,8 +53,6 @@ export default {
1
:
'新增专区'
,
1
:
'新增专区'
,
2
:
'编辑专区'
2
:
'编辑专区'
},
},
footerLeft
:
'0'
,
footerWidth
:
'0'
,
editChildRef
:
'editChildRef'
,
editChildRef
:
'editChildRef'
,
routeInfo
:
{
routeInfo
:
{
// 1-新增;2-编辑;3-查看
// 1-新增;2-编辑;3-查看
...
@@ -139,8 +141,7 @@ export default {
...
@@ -139,8 +141,7 @@ export default {
},
},
mounted
()
{
mounted
()
{
this
.
footerLeft
=
document
.
querySelector
(
'.base-container-right'
).
offsetLeft
this
.
setMinHeight
()
this
.
footerWidth
=
document
.
documentElement
.
clientWidth
-
this
.
footerLeft
this
.
routeInfo
=
this
.
$route
.
query
this
.
routeInfo
=
this
.
$route
.
query
this
.
title
=
this
.
titleObj
[
this
.
routeInfo
.
addOrEdit
]
this
.
title
=
this
.
titleObj
[
this
.
routeInfo
.
addOrEdit
]
this
.
routeInfo
.
addOrEdit
!=
1
?
this
.
getInfo
()
:
''
this
.
routeInfo
.
addOrEdit
!=
1
?
this
.
getInfo
()
:
''
...
@@ -232,7 +233,7 @@ export default {
...
@@ -232,7 +233,7 @@ export default {
.
then
(()
=>
{
.
then
(()
=>
{
this
.
cancelJump
()
this
.
cancelJump
()
})
})
.
catch
(()
=>
{})
.
catch
(()
=>
{
})
}
else
{
}
else
{
this
.
cancelJump
()
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