fix:添加设备告警 换图标 设备告警详情 状态流程 按钮权限

This commit is contained in:
zhaohy
2024-07-17 11:13:56 +08:00
parent 1401d3611f
commit c2e69b4d36
19 changed files with 491 additions and 292 deletions

View File

@@ -79,7 +79,7 @@
headerActions: [
{
label: '新增',
name: 'RoleTypeAdd',
name: 'configureEquipmentAlarmAdd',
type: 'primary',
handle: () => {
editConfigureDeviceAlarms.value.toggle(null, configureDeviceAlarmsData.value);
@@ -87,7 +87,7 @@
},
{
label: '导入',
name: 'groupImport',
name: 'configureEquipmentAlarmImport',
type: 'primary',
extra: {
// api: props.postImportApi, // 导入接口名
@@ -104,7 +104,7 @@
},
{
label: '导出',
name: 'groupExports',
name: 'configureEquipmentAlarmExports',
type: 'primary',
handle: () => {
doWnload('/hx-ai-intelligent/asset/file/whiteListUser.xlsx');
@@ -112,7 +112,7 @@
},
{
label: '批量删除',
name: 'groupTemDownload',
name: 'configureEquipmentAlarmDels',
type: 'primary',
confirm: true,
dynamicDisabled: (data: any) => {
@@ -177,7 +177,7 @@
actions: [
{
label: '编辑',
name: 'FeedBackDetail',
name: 'configureEquipmentAlarmEdit',
dynamicParams: ['uuid', 'appealType'],
handle: (data: any) => {
editConfigureDeviceAlarms.value.toggle(data, configureDeviceAlarmsData);
@@ -185,7 +185,7 @@
},
{
label: '删除',
name: 'FeedBackDetail',
name: 'configureEquipmentAlarmDel',
dynamicParams: ['uuid', 'appealType'],
confirm: true,
handle: (data: any) => {