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
205c5c03
Commit
205c5c03
authored
Dec 17, 2021
by
caoyanzhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 按钮权限
parent
dcbf36a5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
10 deletions
+10
-10
webpack.base.conf.js
build/webpack.base.conf.js
+2
-2
gift.vue
src/views/goods/gift/gift.vue
+6
-6
deliverSet.vue
src/views/setting/deliverSet.vue
+2
-2
No files found.
build/webpack.base.conf.js
View file @
205c5c03
...
...
@@ -91,8 +91,8 @@ module.exports = {
new
ESLintPlugin
({
extensions
:
[
'js'
,
'vue'
],
files
:
'src'
,
fix
:
tru
e
,
lintDirtyModulesOnly
:
tru
e
,
fix
:
fals
e
,
lintDirtyModulesOnly
:
fals
e
,
exclude
:
[
'assets'
],
formatter
:
'visualstudio'
,
}),
...
...
src/views/goods/gift/gift.vue
View file @
205c5c03
...
...
@@ -193,8 +193,8 @@
<i
class=
"el-icon-edit"
@
click=
"handleTable(scope.row, 'cash')"
v-if=
"scope.row.canEdit && $getButtonLimit($buttonCode.giftPointsAndCush)"
:limit-code=
"$buttonCode.giftPointsAndCush"
v-if=
"scope.row.canEdit && $getButtonLimit($buttonCode.gift
Edit
PointsAndCush)"
:limit-code=
"$buttonCode.gift
Edit
PointsAndCush"
/>
</p>
</
template
>
...
...
@@ -210,9 +210,9 @@
{{
scope
.
row
.
cashCost
}}
元
<i
class=
"el-icon-edit"
v-if=
"scope.row.canEdit && $getButtonLimit($buttonCode.giftPointsAndCush)"
v-if=
"scope.row.canEdit && $getButtonLimit($buttonCode.gift
Edit
PointsAndCush)"
@
click=
"handleTable(scope.row, 'cash')"
:limit-code=
"$buttonCode.giftPointsAndCush"
:limit-code=
"$buttonCode.gift
Edit
PointsAndCush"
/>
</p>
</
template
>
...
...
@@ -242,9 +242,9 @@
<span
v-else
>
{{
scope
.
row
.
virtualStock
}}
</span>
<i
class=
"el-icon-edit"
v-if=
"scope.row.giftType === 1 && scope.row.canEdit && $getButtonLimit($buttonCode.giftStock)"
v-if=
"scope.row.giftType === 1 && scope.row.canEdit && $getButtonLimit($buttonCode.gift
Edit
Stock)"
@
click=
"handleTable(scope.row, 'stock')"
:limit-code=
"$buttonCode.giftStock"
:limit-code=
"$buttonCode.gift
Edit
Stock"
/>
</p>
</
template
>
...
...
src/views/setting/deliverSet.vue
View file @
205c5c03
...
...
@@ -99,8 +99,8 @@
plain
@
click=
"setPicked"
style=
"margin:0 10px 0 0"
v-if=
"$getButtonLimit($buttonCode.deliverSet
Setting
)"
:limit-code=
"$buttonCode.deliverSet
Setting
"
v-if=
"$getButtonLimit($buttonCode.deliverSet)"
:limit-code=
"$buttonCode.deliverSet"
>
自提设置
</el-button>
...
...
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