修改bug

This commit is contained in:
‘937886381’
2024-04-12 14:27:51 +08:00
parent 4866198a98
commit 6050eb4df5
10 changed files with 165 additions and 154 deletions

View File

@@ -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',

View File

@@ -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'
: '',