diff --git a/src/api/mes/vulcAlarmStandard/types.ts b/src/api/mes/vulcAlarmStandard/types.ts
index 734c544..b90b497 100644
--- a/src/api/mes/vulcAlarmStandard/types.ts
+++ b/src/api/mes/vulcAlarmStandard/types.ts
@@ -1,6 +1,6 @@
export interface VulcAlarmStandardVO {
/**
- * 报警项目ID
+ * 报警标准ID
*/
alarmStandardId: string | number;
@@ -54,11 +54,26 @@ export interface VulcAlarmStandardVO {
*/
remark: string;
+ /**
+ * 数据类型
+ */
+ dataType: string;
+
+ /**
+ * 地址
+ */
+ pointAddress: string;
+
+ /**
+ * 频率(毫秒)
+ */
+ stepTime: number;
+
}
export interface VulcAlarmStandardForm extends BaseEntity {
/**
- * 报警项目ID
+ * 报警标准ID
*/
alarmStandardId?: string | number;
@@ -112,12 +127,27 @@ export interface VulcAlarmStandardForm extends BaseEntity {
*/
remark?: string;
+ /**
+ * 数据类型
+ */
+ dataType?: string;
+
+ /**
+ * 地址
+ */
+ pointAddress?: string;
+
+ /**
+ * 频率(毫秒)
+ */
+ stepTime?: number;
+
}
export interface VulcAlarmStandardQuery extends PageQuery {
/**
- * 报警项目ID
+ * 报警标准ID
*/
alarmStandardId?: string | number;
@@ -166,10 +196,25 @@ export interface VulcAlarmStandardQuery extends PageQuery {
*/
activeFlag?: string;
- /**
- * 日期范围参数
- */
- params?: any;
+ /**
+ * 数据类型
+ */
+ dataType?: string;
+
+ /**
+ * 地址
+ */
+ pointAddress?: string;
+
+ /**
+ * 频率(毫秒)
+ */
+ stepTime?: number;
+
+ /**
+ * 日期范围参数
+ */
+ params?: any;
}
diff --git a/src/views/mes/vulcAlarmStandard/index.vue b/src/views/mes/vulcAlarmStandard/index.vue
index 5443141..a66a5fc 100644
--- a/src/views/mes/vulcAlarmStandard/index.vue
+++ b/src/views/mes/vulcAlarmStandard/index.vue
@@ -88,6 +88,13 @@
width='120' />
+
+
+
+
+
+
+
@@ -152,6 +159,22 @@
+
+
+
+
+
+
+
+
+
+
+
(proxy?.useDict('active_flag'));
+const { active_flag, machine_data_type } = toRefs(proxy?.useDict('active_flag', 'machine_data_type'));
const vulcAlarmStandardList = ref([]);
const buttonLoading = ref(false);
@@ -243,7 +266,10 @@ const columns = ref([
{ key: 15, label: `更新人`, visible: false },
{ key: 16, label: `更新时间`, visible: false },
{ key: 17, label: `删除标志`, visible: false },
- { key: 18, label: `工艺名称`, visible: true }
+ { key: 18, label: `工艺名称`, visible: true },
+ { key: 19, label: `数据类型`, visible: true },
+ { key: 20, label: `地址`, visible: true },
+ { key: 21, label: `频率(毫秒)`, visible: true },
]);
const initFormData: VulcAlarmStandardForm = {