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
0903d3d1
Commit
0903d3d1
authored
Jan 20, 2021
by
刘洪铨
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
权限标识符修改
parent
0b10b72b
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
34 additions
and
34 deletions
+34
-34
index.vue
src/views/system/dept/index.vue
+3
-3
index.vue
src/views/system/deptManage/index.vue
+4
-4
data.vue
src/views/system/dict/data.vue
+7
-7
index.vue
src/views/system/dict/index.vue
+8
-8
index.vue
src/views/system/menu/index.vue
+6
-6
index.vue
src/views/system/post/index.vue
+6
-6
No files found.
src/views/system/dept/index.vue
View file @
0903d3d1
...
...
@@ -99,7 +99,7 @@
<!-- </template>-->
<
template
slot-scope=
"scope"
>
<el-button
v-hasPermi=
"['sys
tem
:dept:update']"
v-hasPermi=
"['sys:dept:update']"
size=
"mini"
type=
"text"
style=
"color: #49cec9"
...
...
@@ -113,14 +113,14 @@
<!-- @change="handleStatusChange(scope.row)"-->
<!-- />-->
<el-button
v-hasPermi=
"['sys
tem
:dept:add']"
v-hasPermi=
"['sys:dept:add']"
size=
"mini"
type=
"text"
@
click=
"handleAdd(scope.row)"
>
新增
</el-button>
<el-button
v-if=
"scope.row.parentId !== 0"
v-hasPermi=
"['sys
tem
:dept:delete']"
v-hasPermi=
"['sys:dept:delete']"
size=
"mini"
type=
"text"
@
click=
"handleDelete(scope.row)"
...
...
src/views/system/deptManage/index.vue
View file @
0903d3d1
...
...
@@ -53,28 +53,28 @@
<
template
slot-scope=
"scope"
>
<el-button
v-if=
"scope.row.$nodeLevel > 1"
v-hasPermi=
"['sys
tem
:dept:edit']"
v-hasPermi=
"['sys:dept:edit']"
size=
"mini success"
type=
"text"
@
click=
"editDeptNode(scope.row)"
>
修改
</el-button>
<el-button
v-if=
"scope.row.$nodeLevel
<
3
"
v-hasPermi=
"['sys
tem
:dept:add']"
v-hasPermi=
"['sys:dept:add']"
size=
"mini"
type=
"text"
@
click=
"addNewDeptNode(scope.row)"
>
新增
</el-button>
<el-button
v-if=
"scope.row.$nodeLevel > 1"
v-hasPermi=
"['sys
tem
:dept:remove']"
v-hasPermi=
"['sys:dept:remove']"
size=
"mini"
type=
"text"
@
click=
"delDeptNode(scope.row)"
>
删除
</el-button>
<el-button
v-if=
"scope.row.$nodeLevel === 1"
v-hasPermi=
"['sys
tem
:otree:list']"
v-hasPermi=
"['sys:otree:list']"
type=
"text primary"
size=
"mini"
@
click=
"toTransformOtree"
...
...
src/views/system/dict/data.vue
View file @
0903d3d1
...
...
@@ -39,7 +39,7 @@
<el-row
:gutter=
"10"
class=
"mb8"
>
<el-col
:span=
"1.5"
>
<el-button
v-hasPermi=
"['sys
tem
:dict:add']"
v-hasPermi=
"['sys:dict:add']"
type=
"primary"
icon=
"el-icon-plus"
size=
"mini"
...
...
@@ -49,7 +49,7 @@
</el-col>
<el-col
:span=
"1.5"
>
<el-button
v-hasPermi=
"['sys
tem
:dict:update']"
v-hasPermi=
"['sys:dict:update']"
type=
"success"
icon=
"el-icon-edit"
size=
"mini"
...
...
@@ -60,7 +60,7 @@
</el-col>
<el-col
:span=
"1.5"
>
<el-button
v-hasPermi=
"['sys
tem
:dict:delete']"
v-hasPermi=
"['sys:dict:delete']"
type=
"danger"
icon=
"el-icon-delete"
size=
"mini"
...
...
@@ -71,7 +71,7 @@
</el-col>
<el-col
:span=
"1.5"
>
<el-button
v-has-permi=
"['sys
tem
:dict:export']"
v-has-permi=
"['sys:dict:export']"
type=
"warning"
icon=
"el-icon-download"
size=
"mini"
...
...
@@ -132,21 +132,21 @@
<el-table-column
label=
"操作"
class-name=
"small-padding fixed-width"
>
<
template
slot-scope=
"scope"
>
<el-button
v-hasPermi=
"['sys
tem
:dictConfig:edit']"
v-hasPermi=
"['sys:dictConfig:edit']"
size=
"mini"
type=
"text"
style=
"color: #49cec9"
@
click=
"handleUpdate(scope.row)"
>
修改
</el-button>
<el-button
v-hasPermi=
"['sys
tem
:dictConfig:remove']"
v-hasPermi=
"['sys:dictConfig:remove']"
size=
"mini"
type=
"text"
@
click=
"handleDelete(scope.row)"
>
删除
</el-button>
<el-switch
v-model=
"scope.row.status"
v-hasPermi=
"['sys
tem
:dictConfig:toggle']"
v-hasPermi=
"['sys:dictConfig:toggle']"
disabled
class=
"switchDisabledStyle"
active-value=
"0"
...
...
src/views/system/dict/index.vue
View file @
0903d3d1
...
...
@@ -58,7 +58,7 @@
<el-row
:gutter=
"10"
class=
"mb8"
>
<el-col
:span=
"1.5"
>
<el-button
v-hasPermi=
"['sys
tem
:dict:add']"
v-hasPermi=
"['sys:dict:add']"
type=
"primary"
icon=
"el-icon-plus"
size=
"small"
...
...
@@ -67,7 +67,7 @@
</el-col>
<el-col
:span=
"1.5"
>
<el-button
v-hasPermi=
"['sys
tem
:dict:update']"
v-hasPermi=
"['sys:dict:update']"
type=
"success"
icon=
"el-icon-edit"
size=
"mini"
...
...
@@ -78,7 +78,7 @@
</el-col>
<el-col
:span=
"1.5"
>
<el-button
v-hasPermi=
"['sys
tem
:dict:delete']"
v-hasPermi=
"['sys:dict:delete']"
type=
"danger"
icon=
"el-icon-delete"
size=
"mini"
...
...
@@ -89,7 +89,7 @@
</el-col>
<el-col
:span=
"1.5"
>
<el-button
v-hasPermi=
"['sys
tem
:dict:export']"
v-hasPermi=
"['sys:dict:export']"
type=
"success"
icon=
"el-icon-download"
size=
"small"
...
...
@@ -115,11 +115,11 @@
<!-- v-hasPermi="['system:dictConfig:list']"-->
<router-link
v-if=
"scope.row.businessId"
:style=
"
{ pointerEvents: $haveAuth('sys
tem
:dictConfig:list') ? '' : 'none' }"
:style=
"
{ pointerEvents: $haveAuth('sys:dictConfig:list') ? '' : 'none' }"
:to="'/dict/type/data/' + scope.row.businessId"
class="link-type"
>
<span
:style=
"
{color: $haveAuth('sys
tem
:dictConfig:list') ? '#20a0ff' : '#333333' }">
{{
scope
.
row
.
dictType
}}
</span>
<span
:style=
"
{color: $haveAuth('sys:dictConfig:list') ? '#20a0ff' : '#333333' }">
{{
scope
.
row
.
dictType
}}
</span>
</router-link>
<div
v-else
>
-
</div>
</
template
>
...
...
@@ -148,14 +148,14 @@
<el-table-column
label=
"操作"
class-name=
"small-padding fixed-width"
>
<
template
slot-scope=
"scope"
>
<el-button
v-hasPermi=
"['sys
tem
:dict:edit']"
v-hasPermi=
"['sys:dict:edit']"
size=
"mini"
type=
"text"
style=
"color: #49cec9"
@
click=
"handleUpdate(scope.row)"
>
修改
</el-button>
<el-button
v-hasPermi=
"['sys
tem
:dict:remove']"
v-hasPermi=
"['sys:dict:remove']"
size=
"mini"
type=
"text"
@
click=
"handleDelete(scope.row)"
...
...
src/views/system/menu/index.vue
View file @
0903d3d1
...
...
@@ -12,11 +12,11 @@
/>
</el-form-item>
<el-form-item>
<el-button
v-hasPermi=
"['sys
tem
:menu:query']"
type=
"primary"
size=
"small"
@
click=
"handleQuery"
>
查询
</el-button>
<el-button
v-hasPermi=
"['sys:menu:query']"
type=
"primary"
size=
"small"
@
click=
"handleQuery"
>
查询
</el-button>
</el-form-item>
<div
style=
"float: right"
>
<el-form-item>
<el-button
v-hasPermi=
"['sys
tem
:menu:add']"
type=
"primary"
size=
"small"
@
click=
"handleAdd"
>
新增
</el-button>
<el-button
v-hasPermi=
"['sys:menu:add']"
type=
"primary"
size=
"small"
@
click=
"handleAdd"
>
新增
</el-button>
<!--
<el-button
size=
"small"
@
click=
"resetQuery"
>
重置
</el-button>
-->
</el-form-item>
</div>
...
...
@@ -84,7 +84,7 @@
</template>-->
<
template
slot-scope=
"scope"
>
<el-button
v-hasPermi=
"['sys
tem
:menu:update']"
v-hasPermi=
"['sys:menu:update']"
size=
"mini"
type=
"text"
style=
"color: #49cec9"
...
...
@@ -92,7 +92,7 @@
>
修改
</el-button>
<el-switch
v-model=
"scope.row.flag"
v-hasPermi=
"['sys
tem
:menu:toggle']"
v-hasPermi=
"['sys:menu:toggle']"
active-value=
"1"
inactive-value=
"0"
@
change=
"handleStatusChange(scope.row)"
...
...
@@ -104,7 +104,7 @@
<el-dropdown-menu
slot=
"dropdown"
>
<el-dropdown-item>
<el-button
v-hasPermi=
"['sys
tem
:menu:delete']"
v-hasPermi=
"['sys:menu:delete']"
size=
"mini"
type=
"text"
@
click=
"handleDelete(scope.row)"
...
...
@@ -112,7 +112,7 @@
</el-dropdown-item>
<el-dropdown-item>
<el-button
v-hasPermi=
"['sys
tem
:menu:add']"
v-hasPermi=
"['sys:menu:add']"
size=
"mini"
type=
"text"
@
click=
"handleAdd(scope.row)"
...
...
src/views/system/post/index.vue
View file @
0903d3d1
...
...
@@ -38,7 +38,7 @@
<el-row
:gutter=
"10"
class=
"mb8"
>
<el-col
:span=
"1.5"
>
<el-button
v-hasPermi=
"['sys
tem
:post:add']"
v-hasPermi=
"['sys:post:add']"
type=
"primary"
icon=
"el-icon-plus"
size=
"small"
...
...
@@ -47,7 +47,7 @@
</el-col>
<el-col
:span=
"1.5"
>
<el-button
v-hasPermi=
"['sys
tem
:post:update']"
v-hasPermi=
"['sys:post:update']"
type=
"success"
icon=
"el-icon-edit"
size=
"mini"
...
...
@@ -58,7 +58,7 @@
</el-col>
<el-col
:span=
"1.5"
>
<el-button
v-hasPermi=
"['sys
tem
:post:delete']"
v-hasPermi=
"['sys:post:delete']"
type=
"danger"
icon=
"el-icon-delete"
size=
"mini"
...
...
@@ -69,7 +69,7 @@
</el-col>
<el-col
:span=
"1.5"
>
<el-button
v-has-permi=
"['sys
tem
:post:export']"
v-has-permi=
"['sys:post:export']"
type=
"warning"
icon=
"el-icon-download"
size=
"mini"
...
...
@@ -128,7 +128,7 @@
<el-table-column
label=
"操作"
align=
"center"
class-name=
"small-padding fixed-width"
>
<
template
slot-scope=
"scope"
>
<el-button
v-hasPermi=
"['sys
tem
:post:edit']"
v-hasPermi=
"['sys:post:edit']"
size=
"mini"
type=
"text"
style=
"color: #49cec9"
...
...
@@ -136,7 +136,7 @@
@
click=
"handleUpdate(scope.row)"
>
修改
</el-button>
<el-button
v-hasPermi=
"['sys
tem
:post:remove']"
v-hasPermi=
"['sys:post:remove']"
size=
"mini"
type=
"text"
icon=
"el-icon-delete"
...
...
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