Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
template_vue
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
胡宝山
template_vue
Commits
f57af83f
Commit
f57af83f
authored
Dec 08, 2023
by
cat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
权限控制
parent
c6d2ba77
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
+7
-6
control.vue
src/views/controlPlatform/control.vue
+4
-4
index.vue
src/views/equipment/printingCheck/index.vue
+3
-2
No files found.
src/views/controlPlatform/control.vue
View file @
f57af83f
...
@@ -101,7 +101,7 @@
...
@@ -101,7 +101,7 @@
<div
class=
"controlPlatform-footer"
>
<div
class=
"controlPlatform-footer"
>
<el-row
:gutter=
"10"
>
<el-row
:gutter=
"10"
>
<!-- 库类型饼图 -->
<!-- 库类型饼图 -->
<el-col
:span=
"12"
>
<el-col
:span=
"12"
v-hasPermi=
"['views:controlPlatform:pieChart1']"
>
<el-card
style=
"height: 393px"
>
<el-card
style=
"height: 393px"
>
<div
style=
"display: flex;justify-content: space-between"
>
<div
style=
"display: flex;justify-content: space-between"
>
<div
class=
"controlSpan_middle"
>
<div
class=
"controlSpan_middle"
>
...
@@ -115,7 +115,7 @@
...
@@ -115,7 +115,7 @@
</el-card>
</el-card>
</el-col>
</el-col>
<!-- 入库时间饼图 -->
<!-- 入库时间饼图 -->
<el-col
:span=
"12"
>
<el-col
:span=
"12"
v-hasPermi=
"['views:controlPlatform:pieChart1']"
>
<el-card
style=
"height: 393px"
>
<el-card
style=
"height: 393px"
>
<div
style=
"display: flex;justify-content: space-between"
>
<div
style=
"display: flex;justify-content: space-between"
>
<div
class=
"controlSpan_middle"
>
<div
class=
"controlSpan_middle"
>
...
@@ -134,7 +134,7 @@
...
@@ -134,7 +134,7 @@
<div
class=
"controlPlatform-body"
>
<div
class=
"controlPlatform-body"
>
<el-row
:gutter=
"10"
style=
"margin-bottom: 10px"
>
<el-row
:gutter=
"10"
style=
"margin-bottom: 10px"
>
<!-- 折线图-->
<!-- 折线图-->
<el-col
:span=
"16"
>
<el-col
:span=
"16"
v-hasPermi=
"['views:controlPlatform:lineChart']"
>
<el-card>
<el-card>
<el-row>
<el-row>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
...
@@ -150,7 +150,7 @@
...
@@ -150,7 +150,7 @@
</el-card>
</el-card>
</el-col>
</el-col>
<!-- 柱状图-->
<!-- 柱状图-->
<el-col
:span=
"8"
>
<el-col
:span=
"8"
v-hasPermi=
"['views:controlPlatform:barChart']"
>
<el-card>
<el-card>
<el-row>
<el-row>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
...
...
src/views/equipment/printingCheck/index.vue
View file @
f57af83f
...
@@ -82,7 +82,8 @@
...
@@ -82,7 +82,8 @@
<el-table-column
label=
"操作"
class-name=
"small-padding fixed-width"
width=
"200px"
>
<el-table-column
label=
"操作"
class-name=
"small-padding fixed-width"
width=
"200px"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
<el-button
v-if=
"scope.row.appstatus === '0' && username === 'admin'"
v-if=
"scope.row.appstatus === '0'"
v-hasPermi=
"['equipment:printingCheck:edit']"
size=
"mini"
size=
"mini"
type=
"text"
type=
"text"
style=
"color: #49cec9"
style=
"color: #49cec9"
...
@@ -90,7 +91,7 @@
...
@@ -90,7 +91,7 @@
>
处理
>
处理
</el-button>
</el-button>
<el-button
<el-button
v-
if=
"username === 'admin'
"
v-
hasPermi=
"['system:menu:remove']
"
size=
"mini"
size=
"mini"
type=
"text"
type=
"text"
icon=
"el-icon-delete"
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