| | |
| | | // }, |
| | | { |
| | | dataIndex:'isUse_dictText', |
| | | title: '是否过滤', |
| | | title: '是否启用', |
| | | align: "center", |
| | | width:380 |
| | | // dictCode:'alarm_is_use' |
| | |
| | | fieldList.push({ type: 'string', value: 'alarmCode', text: '报警号', dictCode: '' }) |
| | | fieldList.push({ type: 'string', value: 'alarmDescription', text: '报警内容', dictCode: '' }) |
| | | fieldList.push({ type: 'int', value: 'driveType', text: '设备驱动类型', dictCode: '' }) |
| | | fieldList.push({ type: 'switch', value: 'isUse', text: '是否过滤' }) |
| | | fieldList.push({ type: 'switch', value: 'isUse', text: '是否启用' }) |
| | | this.superFieldList = fieldList |
| | | }, |
| | | |
| | |
| | | </a-form-item> |
| | | </a-col> |
| | | <a-col :span="24"> |
| | | <a-form-item label="是否过滤" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
| | | <a-form-item label="是否启用" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
| | | <!--<j-switch v-model="model.isUse"></j-switch>--> |
| | | <a-switch v-model="isUse"/> |
| | | <!--<a-radio-group v-model="model.isUse">--> |
| | |
| | | </a-form-item> |
| | | </a-col> |
| | | <a-col :span="24"> |
| | | <a-form-item label="是否过滤" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
| | | <a-form-item label="是否启用" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
| | | <a-switch :checked="isFilterChecked" v-decorator="['isUse', validatorRules.isUse]" @change="isFilterChange"></a-switch> |
| | | </a-form-item> |
| | | </a-col> |
| | |
| | | </a-form-item> |
| | | </a-col> |
| | | <a-col :span="24"> |
| | | <a-form-item label="是否过滤" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
| | | <a-form-item label="是否启用" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
| | | <a-switch :default-checked = 'showM' v-decorator="['isUse', validatorRules.isUse]"></a-switch> |
| | | </a-form-item> |
| | | </a-col> |