Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
pda-ui
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
pda
pda-ui
Commits
0567b380
Commit
0567b380
authored
Jan 26, 2024
by
鲁鑫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
去掉权限验证
parent
483560cb
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
14 deletions
+14
-14
hasPermi.js
src/directive/permission/hasPermi.js
+3
-3
index.vue
src/views/mes/md/product/index.vue
+1
-1
mdpaymentClause.vue
src/views/mes/md/sales/mdpaymentClause.vue
+10
-10
No files found.
src/directive/permission/hasPermi.js
View file @
0567b380
...
...
@@ -2,12 +2,12 @@
* v-hasPermi 操作权限处理
* Copyright (c) 2019 ruoyi
*/
import
store
from
'@/store'
export
default
{
inserted
(
el
,
binding
,
vnode
)
{
const
{
value
}
=
binding
/*
const { value } = binding
const all_permission = "*:*:*";
const permissions = store.getters && store.getters.permissions
...
...
@@ -23,6 +23,6 @@ export default {
}
} else {
throw new Error(`请设置操作权限标签值`)
}
}
*/
}
}
src/views/mes/md/product/index.vue
View file @
0567b380
...
...
@@ -1037,7 +1037,7 @@ export default {
}
else
if
(
this
.
activeName
===
'SapQAProperty'
)
{
this
.
$refs
.
SapQAProperty
.
init
(
2
,
'sapQA'
,
this
.
form
.
itemId
,
this
.
form
)
}
else
if
(
this
.
activeName
===
'SapFinanceProperty'
)
{
this
.
$refs
.
SapFinanceProperty
.
init
(
2
,
'sap
QA
'
,
this
.
form
.
itemId
,
this
.
form
)
this
.
$refs
.
SapFinanceProperty
.
init
(
2
,
'sap
Finance
'
,
this
.
form
.
itemId
,
this
.
form
)
}
//else this.$refs[this.activeName].init && this.$refs[this.activeName].init(this.form)
}
},
...
...
src/views/mes/md/sales/mdpaymentClause.vue
View file @
0567b380
...
...
@@ -39,7 +39,7 @@
icon=
"el-icon-plus"
size=
"mini"
@
click=
"handleAdd"
v-hasPermi=
"['md:
clause
:add']"
v-hasPermi=
"['md:
payment
:add']"
>
新增
</el-button>
</el-col>
<el-col
:span=
"1.5"
>
...
...
@@ -50,7 +50,7 @@
size=
"mini"
:disabled=
"single"
@
click=
"handleUpdate"
v-hasPermi=
"['md:
clause
:edit']"
v-hasPermi=
"['md:
payment
:edit']"
>
修改
</el-button>
</el-col>
<el-col
:span=
"1.5"
>
...
...
@@ -61,7 +61,7 @@
size=
"mini"
:disabled=
"multiple"
@
click=
"handleDelete"
v-hasPermi=
"['md:
clause
:remove']"
v-hasPermi=
"['md:
payment
:remove']"
>
删除
</el-button>
</el-col>
<el-col
:span=
"1.5"
>
...
...
@@ -71,7 +71,7 @@
icon=
"el-icon-download"
size=
"mini"
@
click=
"handleExport"
v-hasPermi=
"['md:
clause
:export']"
v-hasPermi=
"['md:
payment
:export']"
>
导出
</el-button>
</el-col>
<right-toolbar
:showSearch
.
sync=
"showSearch"
@
queryTable=
"getList"
></right-toolbar>
...
...
@@ -97,19 +97,19 @@
type=
"text"
icon=
"el-icon-edit"
@
click=
"handleUpdate(scope.row)"
v-hasPermi=
"['md:
clause
:edit']"
v-hasPermi=
"['md:
payment
:edit']"
>
修改
</el-button>
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-delete"
@
click=
"handleDelete(scope.row)"
v-hasPermi=
"['md:
clause
:remove']"
v-hasPermi=
"['md:
payment
:remove']"
>
删除
</el-button>
</
template
>
</el-table-column>
</el-table>
<pagination
v-show=
"total>0"
:total=
"total"
...
...
@@ -161,7 +161,7 @@
</el-form-item>
</el-col>
</el-form>
<div
slot=
"footer"
class=
"dialog-footer"
>
<el-button
type=
"primary"
@
click=
"submitForm"
>
确 定
</el-button>
...
...
@@ -209,7 +209,7 @@ export default {
{
required
:
true
,
message
:
"编码不能为空"
,
trigger
:
"blur"
}
],
Name
:
[
{
required
:
true
,
message
:
"名称不能为空"
,
trigger
:
"blur"
}
],
],
}
};
},
...
...
@@ -301,7 +301,7 @@ export default {
},
/** 导出按钮操作 */
handleExport
()
{
this
.
download
(
'md/
clause
/export'
,
{
this
.
download
(
'md/
payment
/export'
,
{
...
this
.
queryParams
},
`clause_
${
new
Date
().
getTime
()}
.xlsx`
)
}
...
...
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