Przeglądaj źródła

update 小修改“

lb
g7hoo 1 rok temu
rodzic
commit
5d36eb676c
4 zmienionych plików z 12 dodań i 2 usunięć
  1. +1
    -0
      src/components/base-dialog/addOrUpdate/index.vue
  2. +3
    -0
      src/i18n/en.js
  3. +2
    -0
      src/i18n/zh-CN.js
  4. +6
    -2
      src/views/modules/monitoring/equipmentGroupAlarm.vue

+ 1
- 0
src/components/base-dialog/addOrUpdate/index.vue Wyświetl plik

@@ -47,6 +47,7 @@
:options="configs.fields[(n - 1) * COLUMN_PER_ROW + (c - 1)].options"
:props="configs.fields[(n - 1) * COLUMN_PER_ROW + (c - 1)].props"
: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-date-picker


+ 3
- 0
src/i18n/en.js Wyświetl plik

@@ -223,6 +223,9 @@ t.alarm.content = 'Alarm Content'
t.alarm.source = 'Alarm Source'
t.alarm.det = 'Alarm Details'
t.alarm.externalCode = 'External Code'
t.alarm.description = 'Description'
t.alarm.remark = 'Remark'


t.report = {}
t.report.name = 'Report Name'


+ 2
- 0
src/i18n/zh-CN.js Wyświetl plik

@@ -225,6 +225,8 @@ t.alarm.content = '报警内容'
t.alarm.source = '报警来源'
t.alarm.det = '报警详细内容'
t.alarm.externalCode = '外部编码'
t.alarm.description = '描述'
t.alarm.remark = '备注'

t.report = {}
t.report.name = '报表名称'


+ 6
- 2
src/views/modules/monitoring/equipmentGroupAlarm.vue Wyświetl plik

@@ -76,7 +76,9 @@ const tableConfigs = [
{ 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: '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'] }
]

@@ -88,7 +90,9 @@ const addOrUpdateConfigs = {
{ name: 'typeDictValue', label: i18n.t('alarm.type'), type: 'select', options: [] },
{ name: 'gradeDictValue', label: i18n.t('alarm.level'), type: 'select', options: [] },
{ 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: [
{ name: 'cancel', showAlways: true },


Ładowanie…
Anuluj
Zapisz