Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
9
91isoft_vue_manage
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
杨硕
91isoft_vue_manage
Commits
0f3cb8a5
Commit
0f3cb8a5
authored
Dec 22, 2023
by
孙浩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
用户模块表单参数menuCheckStrictly更改类型
parent
2ae12971
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
index.vue
src/views/system/role/index.vue
+10
-10
No files found.
src/views/system/role/index.vue
View file @
0f3cb8a5
...
...
@@ -108,13 +108,13 @@
<!-- @click="handleUpdate(scope.row)"-->
<!-- >修改
</el-button>
-->
<coolbutton
style=
"color: #49cec9"
:type=
"typeParent"
:name=
"updataName"
:size=
"size"
:haspermi=
"updateHaspermi"
@
btn-click=
"handleUpdate(scope.row)"
/>
<!--
<el-button-->
<!-- v-hasPermi="['sys:role:update']"-->
<!-- size="mini"-->
<!-- type="text"-->
<!-- icon="el-icon-circle-check"-->
<!-- @click="handleMenu(scope.row)"-->
<!-- >数据权限
</el-button>
--
>
<el-button
v-hasPermi=
"['sys:role:update']"
size=
"mini"
type=
"text"
icon=
"el-icon-circle-check"
@
click=
"handleMenu(scope.row)"
>
数据权限
</el-button
>
<el-button
size=
"mini"
type=
"text"
...
...
@@ -428,7 +428,7 @@ export default {
/** 查询菜单列表 */
getMenuList
(
roleId
)
{
roleMenuTreeselectMC
(
roleId
).
then
(
response
=>
{
this
.
menuList
=
this
.
handleTree
(
response
.
data
.
menus
,
'businessId'
)
this
.
menuList
=
this
.
handleTree
(
response
.
data
,
'businessId'
)
this
.
loading
=
false
})
},
...
...
@@ -542,7 +542,7 @@ export default {
menuIds
:
[],
menuName
:
undefined
,
deptIds
:
[],
menuCheckStrictly
:
false
,
menuCheckStrictly
:
0
,
deptCheckStrictly
:
false
,
remark
:
undefined
}
...
...
@@ -649,7 +649,7 @@ export default {
submitForm
:
function
()
{
this
.
$refs
[
'form'
].
validate
(
valid
=>
{
if
(
valid
)
{
this
.
form
.
menuCheckStrictly
=
false
this
.
form
.
menuCheckStrictly
=
0
if
(
this
.
form
.
businessId
!==
undefined
)
{
this
.
form
.
menuIds
=
this
.
getMenuAllCheckedKeys
()
updateRole
(
this
.
form
).
then
(
response
=>
{
...
...
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