| | |
| | | COM_IS_INT = 'com_is_int', |
| | | DATA_POINT_TYPE = 'data_point_type', |
| | | MINFREQID = 'minfreqid', |
| | | CUMULATEUNIT = 'cumulateUnit', |
| | | MEASURE_VALUE_TYPE = 'measure_value_type', |
| | | NVR_ONLINE_STATUS = 'nvr_online_status', |
| | | CAMERA_BRAND = 'camera_brand', |
| | |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-col :span="8"> |
| | | <el-form-item label="累计长度" prop="cumulatePoint.length"> |
| | | <el-input-number v-model="formData.cumulatePoint.length" style="width: 100%" |
| | | :min="1" :max="3000" |
| | | :controls="false"/> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-col :span="8"> |
| | | <el-form-item label="累计单位" prop="cumulatePoint.cumulateUnit"> |
| | | <el-select |
| | | v-model="formData.cumulatePoint.cumulateUnit" |
| | | placeholder="请选择累计单位" |
| | | > |
| | | <el-option |
| | | v-for="dict in getDictOptions(DICT_TYPE.CUMULATEUNIT)" |
| | | :key="dict.value" |
| | | :label="dict.label" |
| | | :value="dict.value" |
| | | /> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="8"> |
| | | <el-form-item label="除数" prop="cumulatePoint.divisor"> |
| | | <el-input-number v-model="formData.cumulatePoint.divisor" style="width: 100%" |
| | | :min="1" :max="3000" |
| | |
| | | pointId: '', |
| | | momentPoint: '', |
| | | length: 60, |
| | | cumulateUnit: 'min', |
| | | divisor: 60 |
| | | } |
| | | } |