<script>
import i18n from './i18n';
const searchSelectInfo = { // value: 传给后台的值;label:显示给用户看的值
severity: [ //告警级别
{
value: 'medium',
label: i18n.t("alert.config.medium")
},
value: 'high',
label: i18n.t("alert.config.high")
value: 'low',
label: i18n.t("alert.config.low")
}
],
promType: [ //promServer类型
value: 1,
label: 'Global'
value: 2,
label: 'Per-Datacenter'
alertType: [ //告警类型
label: i18n.t('alert.config.typeOption.project')
label: i18n.t('alert.config.typeOption.module')
value: 3,
label: i18n.t('alert.config.typeOption.asset')
assetState: [ //资产入库/出库状态
label: i18n.t('asset.createAssetTab.inStock')
}, {
label: i18n.t('asset.createAssetTab.notInStock')
pingStatus:[
value: '0',
label:i18n.t('asset.pingInactive')
value: '1',
label:i18n.t('asset.pingActive')
alertMessageState: [
label:i18n.t('alert.list.pending')
value: '2',
label:i18n.t('alert.list.expired')
terminalProtocol:[
value: 'SSH',
label: i18n.t('config.terminallog.SSH')
value: 'TELNET',
label: i18n.t('config.terminallog.TELNET')
]
};
export default searchSelectInfo;
</script>