lb #10
@@ -47,6 +47,7 @@
 | 
				
			|||||||
								:options="configs.fields[(n - 1) * COLUMN_PER_ROW + (c - 1)].options"
 | 
													:options="configs.fields[(n - 1) * COLUMN_PER_ROW + (c - 1)].options"
 | 
				
			||||||
								:props="configs.fields[(n - 1) * COLUMN_PER_ROW + (c - 1)].props"
 | 
													:props="configs.fields[(n - 1) * COLUMN_PER_ROW + (c - 1)].props"
 | 
				
			||||||
								:disabled="isDetail"
 | 
													:disabled="isDetail"
 | 
				
			||||||
 | 
													clearable
 | 
				
			||||||
							/>
 | 
												/>
 | 
				
			||||||
							<el-time-select v-if="getType(n, c) === 'time'" v-model="dataForm[configs.fields[(n - 1) * COLUMN_PER_ROW + (c - 1)].name]" :disabled="isDetail" />
 | 
												<el-time-select v-if="getType(n, c) === 'time'" v-model="dataForm[configs.fields[(n - 1) * COLUMN_PER_ROW + (c - 1)].name]" :disabled="isDetail" />
 | 
				
			||||||
							<el-date-picker
 | 
												<el-date-picker
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -223,6 +223,9 @@ t.alarm.content = 'Alarm Content'
 | 
				
			|||||||
t.alarm.source = 'Alarm Source'
 | 
					t.alarm.source = 'Alarm Source'
 | 
				
			||||||
t.alarm.det = 'Alarm Details'
 | 
					t.alarm.det = 'Alarm Details'
 | 
				
			||||||
t.alarm.externalCode = 'External Code'
 | 
					t.alarm.externalCode = 'External Code'
 | 
				
			||||||
 | 
					t.alarm.description = 'Description'
 | 
				
			||||||
 | 
					t.alarm.remark = 'Remark'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
t.report = {}
 | 
					t.report = {}
 | 
				
			||||||
t.report.name = 'Report Name'
 | 
					t.report.name = 'Report Name'
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -225,6 +225,8 @@ t.alarm.content = '报警内容'
 | 
				
			|||||||
t.alarm.source = '报警来源'
 | 
					t.alarm.source = '报警来源'
 | 
				
			||||||
t.alarm.det = '报警详细内容'
 | 
					t.alarm.det = '报警详细内容'
 | 
				
			||||||
t.alarm.externalCode = '外部编码'
 | 
					t.alarm.externalCode = '外部编码'
 | 
				
			||||||
 | 
					t.alarm.description = '描述'
 | 
				
			||||||
 | 
					t.alarm.remark = '备注'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
t.report = {}
 | 
					t.report = {}
 | 
				
			||||||
t.report.name = '报表名称'
 | 
					t.report.name = '报表名称'
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -76,7 +76,9 @@ const tableConfigs = [
 | 
				
			|||||||
	{ prop: 'typeDictValue', name: i18n.t('alarm.type'), filter: dictFilter(dictEntries.alarmType.value) },
 | 
						{ prop: 'typeDictValue', name: i18n.t('alarm.type'), filter: dictFilter(dictEntries.alarmType.value) },
 | 
				
			||||||
	{ prop: 'gradeDictValue', name: i18n.t('alarm.level'), filter: dictFilter(dictEntries.alarmLevel.value) },
 | 
						{ prop: 'gradeDictValue', name: i18n.t('alarm.level'), filter: dictFilter(dictEntries.alarmLevel.value) },
 | 
				
			||||||
	{ prop: 'alarmContent', name: i18n.t('alarm.content') },
 | 
						{ prop: 'alarmContent', name: i18n.t('alarm.content') },
 | 
				
			||||||
	{ prop: 'externalCode', name: i18n.t('alarm.externalCode') },
 | 
						// { prop: 'externalCode', name: i18n.t('alarm.externalCode') },
 | 
				
			||||||
 | 
						{ prop: 'description', name: i18n.t('alarm.description') },
 | 
				
			||||||
 | 
						{ prop: 'remark', name: i18n.t('alarm.remark') },
 | 
				
			||||||
	{ prop: 'operations', name: i18n.t('handle'), fixed: 'right', width: 180, subcomponent: TableOperateComponent, options: ['edit', 'delete'] }
 | 
						{ prop: 'operations', name: i18n.t('handle'), fixed: 'right', width: 180, subcomponent: TableOperateComponent, options: ['edit', 'delete'] }
 | 
				
			||||||
]
 | 
					]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -88,7 +90,9 @@ const addOrUpdateConfigs = {
 | 
				
			|||||||
		{ name: 'typeDictValue', label: i18n.t('alarm.type'), type: 'select', options: [] },
 | 
							{ name: 'typeDictValue', label: i18n.t('alarm.type'), type: 'select', options: [] },
 | 
				
			||||||
		{ name: 'gradeDictValue', label: i18n.t('alarm.level'), type: 'select', options: [] },
 | 
							{ name: 'gradeDictValue', label: i18n.t('alarm.level'), type: 'select', options: [] },
 | 
				
			||||||
		{ name: 'alarmContent', label: i18n.t('alarm.content'), required: true },
 | 
							{ name: 'alarmContent', label: i18n.t('alarm.content'), required: true },
 | 
				
			||||||
		{ name: 'externalCode', label: i18n.t('alarm.externalCode') }
 | 
							{ name: 'description', label: i18n.t('alarm.description') },
 | 
				
			||||||
 | 
							{ name: 'remark', label: i18n.t('alarm.remark') }
 | 
				
			||||||
 | 
							// { name: 'externalCode', label: i18n.t('alarm.externalCode') }
 | 
				
			||||||
	],
 | 
						],
 | 
				
			||||||
	operations: [
 | 
						operations: [
 | 
				
			||||||
		{ name: 'cancel', showAlways: true },
 | 
							{ name: 'cancel', showAlways: true },
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user