Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
integral-mall
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
integralMall
integral-mall
Commits
bb737e5e
Commit
bb737e5e
authored
Dec 16, 2021
by
caoyanzhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 按钮权限
parent
2c67652f
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
28 additions
and
8 deletions
+28
-8
selectGoodsType.vue
src/components/selectGoodsType.vue
+1
-1
index.js
src/router/index.js
+20
-0
list.vue
src/views/activities/flashSale/list.vue
+1
-1
coupon.vue
src/views/goods/coupon/coupon.vue
+5
-5
deliverSet.vue
src/views/setting/deliverSet.vue
+1
-1
No files found.
src/components/selectGoodsType.vue
View file @
bb737e5e
...
...
@@ -30,7 +30,7 @@ export default {
},
methods
:
{
goAdd
(
type
)
{
this
.
$router
.
push
({
name
:
'gift
Info
'
,
query
:
{
type
:
type
,
giftId
:
'-1'
,
proReferId
:
'-1'
,
canEdit
:
true
}
});
this
.
$router
.
push
({
name
:
'gift
Add
'
,
query
:
{
type
:
type
,
giftId
:
'-1'
,
proReferId
:
'-1'
,
canEdit
:
true
}
});
},
cancel
()
{
this
.
addModalData
.
dialogVisible
=
false
;
...
...
src/router/index.js
View file @
bb737e5e
...
...
@@ -40,6 +40,11 @@ const router = new Router({
}
},
{
path
:
'/giftAdd'
,
name
:
'giftAdd'
,
component
:
giftInfo
},
{
path
:
'/giftInfo'
,
name
:
'giftInfo'
,
component
:
giftInfo
...
...
@@ -53,6 +58,11 @@ const router = new Router({
}
},
{
path
:
'/couponAdd'
,
name
:
'couponAdd'
,
component
:
couponInfo
},
{
path
:
'/couponInfo'
,
name
:
'couponInfo'
,
component
:
couponInfo
...
...
@@ -71,6 +81,11 @@ const router = new Router({
}
},
{
path
:
'/flashSaleAdd'
,
name
:
'flashSaleAdd'
,
component
:
flashSaleInfo
},
{
path
:
'/flashSaleInfo'
,
name
:
'flashSaleInfo'
,
component
:
flashSaleInfo
...
...
@@ -113,6 +128,11 @@ const router = new Router({
}
},
{
path
:
'/addDeliver'
,
name
:
'addDeliver'
,
component
:
editDeliver
},
{
path
:
'/editDeliver'
,
name
:
'editDeliver'
,
component
:
editDeliver
...
...
src/views/activities/flashSale/list.vue
View file @
bb737e5e
...
...
@@ -247,7 +247,7 @@ export default {
});
},
addActivity
()
{
this
.
$router
.
push
({
name
:
'flashSale
Info
'
,
query
:
{
activityId
:
''
,
edit
:
false
,
canEdit
:
''
}
});
this
.
$router
.
push
({
name
:
'flashSale
Add
'
,
query
:
{
activityId
:
''
,
edit
:
false
,
canEdit
:
''
}
});
},
edit
(
item
)
{
this
.
$router
.
push
({
name
:
'flashSaleInfo'
,
query
:
{
activityId
:
item
.
activityId
,
edit
:
true
,
canEdit
:
''
}
});
...
...
src/views/goods/coupon/coupon.vue
View file @
bb737e5e
...
...
@@ -59,9 +59,9 @@
clearable
@
change=
"handleData"
>
<el-option
label=
"批量上架"
:value=
"0"
/>
<el-option
label=
"批量下架"
:value=
"1"
/>
<el-option
label=
"批量删除"
:value=
"2"
/>
<el-option
v-if=
"$getButtonLimit($buttonCode.couponNew)"
:limit-code=
"$buttonCode.couponNew"
label=
"批量上架"
:value=
"0"
/>
<el-option
v-if=
"$getButtonLimit($buttonCode.couponRemove)"
:limit-code=
"$buttonCode.couponRemove"
label=
"批量下架"
:value=
"1"
/>
<el-option
v-if=
"$getButtonLimit($buttonCode.couponDelete)"
:limit-code=
"$buttonCode.couponDelete"
label=
"批量删除"
:value=
"2"
/>
</el-select>
</div>
<el-button
...
...
@@ -325,7 +325,7 @@
>
<span
class=
"el-dropdown-link"
style=
"color:#1890ff;cursor: pointer;"
>
<i
class=
"el-icon-more"
/>
</span>
<el-dropdown-menu
slot=
"dropdown"
style=
"width:110px;"
>
<el-dropdown-item
command=
"1"
v-if=
"$getButtonLimit($buttonCode.couponConversion)"
>
<el-dropdown-item
command=
"1"
v-if=
"$getButtonLimit($buttonCode.couponConversion)"
:limit-code=
"$buttonCode.couponConversion"
>
查看订单
</el-dropdown-item>
<el-dropdown-item
command=
"2"
v-if=
"scope.row.isDifferentialPricing && $getButtonLimit($buttonCode.couponTieredPricing)"
:limit-code=
"$buttonCode.couponTieredPricing"
>
...
...
@@ -802,7 +802,7 @@ export default {
},
// 新增礼品
addCoupon
()
{
this
.
$router
.
push
({
name
:
'coupon
Info
'
,
query
:
{
giftId
:
'-1'
,
coupCardId
:
'-1'
,
canEdit
:
true
}
});
this
.
$router
.
push
({
name
:
'coupon
Add
'
,
query
:
{
giftId
:
'-1'
,
coupCardId
:
'-1'
,
canEdit
:
true
}
});
},
// 编辑
goAdd
(
item
)
{
...
...
src/views/setting/deliverSet.vue
View file @
bb737e5e
...
...
@@ -461,7 +461,7 @@ export default {
// 新增
addStore
()
{
this
.
$router
.
push
({
name
:
'
edit
Deliver'
,
query
:
{
integralMallPickUpPointId
:
'-1'
}
});
this
.
$router
.
push
({
name
:
'
add
Deliver'
,
query
:
{
integralMallPickUpPointId
:
'-1'
}
});
},
// 编辑
goAdd
(
item
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment