Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ElectricitySheep
Project
Project
Details
Activity
Releases
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
黄媛媛
ElectricitySheep
Commits
a0979b29
Commit
a0979b29
authored
Aug 17, 2021
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
c292e8fe
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
goodsList.vue
src/components/CommodityMan/goodsList.vue
+1
-1
EmployeesList.vue
src/components/StoreDesign/EmployeesList.vue
+7
-0
No files found.
src/components/CommodityMan/goodsList.vue
View file @
a0979b29
...
...
@@ -156,7 +156,7 @@
</el-table-column>
<el-table-column
prop=
"address"
width=
"200"
label=
"操作"
>
<
template
slot-scope=
"scope"
>
<img
@
click=
"goGoodsEdit(scope.row.Id)"
style=
"width:32px;height:32px;margin:0 10px"
<img
@
click=
"goGoodsEdit(scope.row.Id)"
style=
"width:32px;height:32px;margin:0 10px"
v-if=
"currentUserInfo.empid == 0 || currentUserInfo.IsOtherUpdateGoods ==1"
src=
"../../assets/img/userman/edit.png"
alt=
""
>
<img
@
click=
"Delete(scope.row)"
style=
"width:32px;height:32px;margin:0 10px"
src=
"../../assets/img/userman/del.png"
alt=
""
>
...
...
src/components/StoreDesign/EmployeesList.vue
View file @
a0979b29
...
...
@@ -280,10 +280,12 @@
});
},
handleCheckAllChange
(
val
)
{
this
.
checkArr
=
[];
if
(
val
)
{
this
.
RoleList
.
forEach
(
x
=>
{
this
.
checkArr
.
push
(
x
.
RoleId
);
});
}
},
...
...
@@ -302,9 +304,14 @@
},
//获取角色列表
getRoleList
()
{
let
userInfo
=
this
.
getLocalStorage
();
this
.
apipost
(
"/api/Employee/GetRoleList"
,
{},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
RoleList
=
res
.
data
.
data
;
if
(
userInfo
&&
userInfo
.
TenantId
==
1
&&
userInfo
.
MallBaseId
==
1
){
let
obj
=
{
RoleId
:
-
1
,
RoleName
:
'修改他人商品'
}
this
.
RoleList
.
push
(
obj
)
}
}
else
{
this
.
Info
(
res
.
data
.
message
);
}
...
...
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