Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
linshenxs-shop
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
陈超
linshenxs-shop
Commits
cf981713
Commit
cf981713
authored
Aug 24, 2022
by
10_noah@other.ren
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
商家端没有权限控制
parent
169d5a56
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
10 deletions
+5
-10
src/views/businessGoods/index.vue
+1
-6
src/views/businessOrder/index.vue
+4
-4
No files found.
src/views/businessGoods/index.vue
View file @
cf981713
...
...
@@ -23,10 +23,9 @@
<el-button
type=
"button"
size=
"small"
@
click=
"lookDetail(scope.row)"
style=
"color: #409EFF;margin: 5px;padding: 0px;border: 0px"
>
详情
</el-button>
<el-button
type=
"button"
size=
"small"
v-if=
"
permissions.admin_mallgoods_edit &&
scope.row.auditState!=1"
v-if=
"scope.row.auditState!=1"
@
click=
"handleUpdate(scope.row)"
style=
"color: #409EFF;margin: 5px;padding: 0px;border: 0px"
>
编辑
</el-button>
<el-button
type=
"button"
size=
"small"
v-if=
"permissions.admin_mallgoods_del"
@
click=
"handleDel(scope.row)"
style=
"color: #409EFF;margin: 5px;padding: 0px;border: 0px"
>
删除
</el-button>
</
template
>
...
...
@@ -34,22 +33,18 @@
<
template
slot-scope=
"scope"
slot=
"menuLeft"
>
<div
class=
"layout_h"
>
<el-button
v-if=
"permissions.admin_mallgoods_add"
type=
"primary"
size=
"small"
@
click=
"add"
>
添加
</el-button>
<el-button
v-if=
"permissions.admin_mallgoods_updown"
type=
"primary"
size=
"small"
@
click=
"batchIsUpon(scope.row)"
>
上架
</el-button>
<el-button
v-if=
"permissions.admin_mallgoods_updown"
type=
"primary"
size=
"small"
@
click=
"batchIsNotUpon"
>
下架
</el-button>
<el-button
v-if=
"permissions.admin_mallgoods_del"
type=
"primary"
size=
"small"
@
click=
"handleDelBatch(scope.row)"
>
删除
</el-button>
...
...
src/views/businessOrder/index.vue
View file @
cf981713
...
...
@@ -22,16 +22,16 @@
v-if=
"qxqAuth(scope.row)>=0"
@
click=
"checkTheDetails(scope.row)"
style=
"color: #409EFF;margin: 5px;padding: 0px;border: 0px"
>
详情
</el-button>
<el-button
type=
"button"
size=
"small"
v-if=
"
permissions.admin_mallorder_logistics &&
(scope.row.state===4||scope.row.state===4||scope.row.state===6) && scope.row.isLogistics===1"
v-if=
"(scope.row.state===4||scope.row.state===4||scope.row.state===6) && scope.row.isLogistics===1"
@
click=
"viewLogistics(scope.row)"
style=
"color: #409EFF;margin: 5px;padding: 0px;border: 0px"
>
查看物流
</el-button>
<el-button
type=
"button"
size=
"small"
v-if=
"
permissions.admin_mallorder_post &&
ljfhAuth(scope.row)>=0"
v-if=
"ljfhAuth(scope.row)>=0"
@
click=
"shipsImmediately(scope.row)"
style=
"color: #409EFF;margin: 5px;padding: 0px;border: 0px"
>
立即发货
</el-button>
<el-button
type=
"button"
size=
"small"
v-if=
"
permissions.admin_mallorder_del &&
delAuth(scope.row)>=0"
v-if=
"delAuth(scope.row)>=0"
@
click=
"handleDel(scope.row)"
style=
"color: #409EFF;margin: 5px;padding: 0px;border: 0px"
>
删除
</el-button>
<el-button
type=
"button"
size=
"small"
v-if=
"
permissions.admin_mallorder_cancel &&
qxddAuth(scope.row)>=0"
v-if=
"qxddAuth(scope.row)>=0"
@
click=
"cancelOrder(scope.row)"
style=
"color: #409EFF;margin: 5px;padding: 0px;border: 0px"
>
取消订单
</el-button>
</
template
>
</avue-crud>
...
...
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