修改bug
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
* @Author: zwq
|
||||
* @Date: 2023-08-01 14:55:51
|
||||
* @LastEditors: zhp
|
||||
* @LastEditTime: 2024-04-10 16:31:48
|
||||
* @LastEditTime: 2024-04-12 14:12:55
|
||||
* @Description:
|
||||
-->
|
||||
<template>
|
||||
@@ -131,7 +131,7 @@ export default {
|
||||
width: 250
|
||||
},
|
||||
{
|
||||
type: this.$auth.hasPermi('monitoring:materiel-date-from:query') ? 'button' : '',
|
||||
type: this.$auth.hasPermi('base:material-use-log:query') ? 'button' : '',
|
||||
btnName: '查询',
|
||||
name: 'search',
|
||||
color: 'primary',
|
||||
@@ -163,13 +163,13 @@ export default {
|
||||
// },
|
||||
{
|
||||
type: this.$auth.hasPermi(
|
||||
'monitoring:materiel-date-from:export'
|
||||
'base:material-use-log:export'
|
||||
)
|
||||
? 'separate'
|
||||
: '',
|
||||
},
|
||||
{
|
||||
type: this.$auth.hasPermi('monitoring:materiel-date-from:export') ? 'button' : '',
|
||||
type: this.$auth.hasPermi('base:material-use-log:export') ? 'button' : '',
|
||||
btnName: '导出',
|
||||
name: 'export',
|
||||
color: 'primary',
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* @Author: zwq
|
||||
* @Date: 2023-08-01 14:55:51
|
||||
* @LastEditors: zhp
|
||||
* @LastEditTime: 2024-04-07 16:26:56
|
||||
* @LastEditTime: 2024-04-12 14:16:03
|
||||
* @Description:
|
||||
-->
|
||||
<template>
|
||||
@@ -96,11 +96,14 @@ export default {
|
||||
// btnName: '编辑',
|
||||
// }
|
||||
// : undefined,
|
||||
{
|
||||
type: 'processDetail',
|
||||
{
|
||||
type: this.$auth.hasPermi(
|
||||
'extend:process-retrospect:query'
|
||||
)
|
||||
? 'button'
|
||||
: '',
|
||||
btnName: '查看工艺详情',
|
||||
},
|
||||
|
||||
].filter((v) => v),
|
||||
list: [],
|
||||
listQuery: {
|
||||
@@ -137,7 +140,7 @@ export default {
|
||||
{
|
||||
|
||||
type: this.$auth.hasPermi(
|
||||
'monitoring:process-traceability:query'
|
||||
'extend:process-retrospect:query'
|
||||
)
|
||||
? 'button'
|
||||
: '',
|
||||
|
||||
Reference in New Issue
Block a user