<template>
  <a-spin :spinning="confirmLoading">
    <j-form-container :disabled="formDisabled">
      <a-form-model ref="form" :model="model" :rules="validatorRules" slot="detail">
        <a-row>
          <a-col :span="24">
            <a-form-model-item label="上传服务器名" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="serverName">
              <a-input v-model="model.serverName" placeholder="请输入上传服务器名"  ></a-input>
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="传感器ID" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="sensorId">
              <a-input v-model="model.sensorId" placeholder="请输入传感器ID"  ></a-input>
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="状态" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="status">
              <a-input-number v-model="model.status" placeholder="请输入状态" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="报警字段名" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="statusname">
              <a-textarea v-model="model.statusname" rows="4" placeholder="请输入报警字段名" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="机车速度" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="vw4500">
              <a-input-number v-model="model.vw4500" placeholder="请输入机车速度" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="传动箱子转速" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="vw4502">
              <a-input-number v-model="model.vw4502" placeholder="请输入传动箱子转速" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="蓄电池电流" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="vw4504">
              <a-input-number v-model="model.vw4504" placeholder="请输入蓄电池电流" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="蓄电池电压" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="vw4506">
              <a-input-number v-model="model.vw4506" placeholder="请输入蓄电池电压" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="柴油机转速" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="vw4508">
              <a-input-number v-model="model.vw4508" placeholder="请输入柴油机转速" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="蓄电池电压" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="vw4510">
              <a-input-number v-model="model.vw4510" placeholder="请输入蓄电池电压" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="传动箱油温" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="vw4512">
              <a-input-number v-model="model.vw4512" placeholder="请输入传动箱油温" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="传动箱压力" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="vw4514">
              <a-input-number v-model="model.vw4514" placeholder="请输入传动箱压力" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="冷却水温度" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="vw4516">
              <a-input-number v-model="model.vw4516" placeholder="请输入冷却水温度" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="滑油压力" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="vw4518">
              <a-input-number v-model="model.vw4518" placeholder="请输入滑油压力" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="滑油温度" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="vw4520">
              <a-input-number v-model="model.vw4520" placeholder="请输入滑油温度" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="负载反馈" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="vw4522">
              <a-input-number v-model="model.vw4522" placeholder="请输入负载反馈" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="柴油机工作计时H" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="vw4526">
              <a-input-number v-model="model.vw4526" placeholder="请输入柴油机工作计时H" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="燃料温度" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="vw4530">
              <a-input-number v-model="model.vw4530" placeholder="请输入燃料温度" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="燃油压力" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="vw4532">
              <a-input-number v-model="model.vw4532" placeholder="请输入燃油压力" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="前进输入" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45345">
              <a-input-number v-model="model.v45345" placeholder="请输入前进输入" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="后退输入" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45346">
              <a-input-number v-model="model.v45346" placeholder="请输入后退输入" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="加载0位输入" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45347">
              <a-input-number v-model="model.v45347" placeholder="请输入加载0位输入" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="加载1位输入" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45350">
              <a-input-number v-model="model.v45350" placeholder="请输入加载1位输入" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="升输入" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45351">
              <a-input-number v-model="model.v45351" placeholder="请输入升输入" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="保输入" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45352">
              <a-input-number v-model="model.v45352" placeholder="请输入保输入" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="降输入" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45353">
              <a-input-number v-model="model.v45353" placeholder="请输入降输入" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="自动换档输入" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45354">
              <a-input-number v-model="model.v45354" placeholder="请输入自动换档输入" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="手动1档输入" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45355">
              <a-input-number v-model="model.v45355" placeholder="请输入手动1档输入" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="手动2档输入" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45356">
              <a-input-number v-model="model.v45356" placeholder="请输入手动2档输入" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="手动3档输入" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45357">
              <a-input-number v-model="model.v45357" placeholder="请输入手动3档输入" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="手动4档输入" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45360">
              <a-input-number v-model="model.v45360" placeholder="请输入手动4档输入" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="柴油机起动按钮输入" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45361">
              <a-input-number v-model="model.v45361" placeholder="请输入柴油机起动按钮输入" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="紧急制动按钮输入" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45362">
              <a-input-number v-model="model.v45362" placeholder="请输入紧急制动按钮输入" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="停放制动继电器反馈" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45363">
              <a-input-number v-model="model.v45363" placeholder="请输入停放制动继电器反馈" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="加载保护继电器反馈" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45364">
              <a-input-number v-model="model.v45364" placeholder="请输入加载保护继电器反馈" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="撒砂输入" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45367">
              <a-input-number v-model="model.v45367" placeholder="请输入撒砂输入" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="柴油机报警输入" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45370">
              <a-input-number v-model="model.v45370" placeholder="请输入柴油机报警输入" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="总风缸压力开关输入" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45371">
              <a-input-number v-model="model.v45371" placeholder="请输入总风缸压力开关输入" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="空压机过温输入" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45373">
              <a-input-number v-model="model.v45373" placeholder="请输入空压机过温输入" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="3km低恒速" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45374">
              <a-input-number v-model="model.v45374" placeholder="请输入3km低恒速" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="5km低恒速" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45375">
              <a-input-number v-model="model.v45375" placeholder="请输入5km低恒速" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="8km低恒速" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45376">
              <a-input-number v-model="model.v45376" placeholder="请输入8km低恒速" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="紧急停机" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45377">
              <a-input-number v-model="model.v45377" placeholder="请输入紧急停机" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="通风" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45380">
              <a-input-number v-model="model.v45380" placeholder="请输入通风" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="启动" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45381">
              <a-input-number v-model="model.v45381" placeholder="请输入启动" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="制冷" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45382">
              <a-input-number v-model="model.v45382" placeholder="请输入制冷" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="制热" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45383">
              <a-input-number v-model="model.v45383" placeholder="请输入制热" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="他车主机信号入" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45384">
              <a-input-number v-model="model.v45384" placeholder="请输入他车主机信号入" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="补车柴油机起动按钮" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45385">
              <a-input-number v-model="model.v45385" placeholder="请输入补车柴油机起动按钮" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="检测车停放制动重联" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45386">
              <a-input-number v-model="model.v45386" placeholder="请输入检测车停放制动重联" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="他车柴油机停机按钮" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45387">
              <a-input-number v-model="model.v45387" placeholder="请输入他车柴油机停机按钮" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="空调电机启动器反馈" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45390">
              <a-input-number v-model="model.v45390" placeholder="请输入空调电机启动器反馈" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="相序继电器反馈" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45392">
              <a-input-number v-model="model.v45392" placeholder="请输入相序继电器反馈" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="高压压力保护" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45393">
              <a-input-number v-model="model.v45393" placeholder="请输入高压压力保护" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="低压压力保护" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45394">
              <a-input-number v-model="model.v45394" placeholder="请输入低压压力保护" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="过热保护" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45395">
              <a-input-number v-model="model.v45395" placeholder="请输入过热保护" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="后向电磁阀输出" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45402">
              <a-input-number v-model="model.v45402" placeholder="请输入后向电磁阀输出" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="前向电磁阀输出" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45403">
              <a-input-number v-model="model.v45403" placeholder="请输入前向电磁阀输出" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="四档电磁阀输出" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45404">
              <a-input-number v-model="model.v45404" placeholder="请输入四档电磁阀输出" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="三档电磁阀输出" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45405">
              <a-input-number v-model="model.v45405" placeholder="请输入三档电磁阀输出" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="二档电磁阀输出" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45406">
              <a-input-number v-model="model.v45406" placeholder="请输入二档电磁阀输出" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="一档电磁阀输出" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45407">
              <a-input-number v-model="model.v45407" placeholder="请输入一档电磁阀输出" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="蜂鸣器输出" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45410">
              <a-input-number v-model="model.v45410" placeholder="请输入蜂鸣器输出" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="前向撒砂输出" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45411">
              <a-input-number v-model="model.v45411" placeholder="请输入前向撒砂输出" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="后向撒砂输出" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45412">
              <a-input-number v-model="model.v45412" placeholder="请输入后向撒砂输出" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="排水阀输出" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45414">
              <a-input-number v-model="model.v45414" placeholder="请输入排水阀输出" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="空压机进气输出" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45415">
              <a-input-number v-model="model.v45415" placeholder="请输入空压机进气输出" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="放风阀输出" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45416">
              <a-input-number v-model="model.v45416" placeholder="请输入放风阀输出" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="柴油机起动输出" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45424">
              <a-input-number v-model="model.v45424" placeholder="请输入柴油机起动输出" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="柴油机停机输出" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45425">
              <a-input-number v-model="model.v45425" placeholder="请输入柴油机停机输出" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="PTO允许输出" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45426">
              <a-input-number v-model="model.v45426" placeholder="请输入PTO允许输出" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="PTO升速输出" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45427">
              <a-input-number v-model="model.v45427" placeholder="请输入PTO升速输出" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="PTO降速输出" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45430">
              <a-input-number v-model="model.v45430" placeholder="请输入PTO降速输出" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="干燥器" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45432">
              <a-input-number v-model="model.v45432" placeholder="请输入干燥器" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="前向风笛10K输出" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45433">
              <a-input-number v-model="model.v45433" placeholder="请输入前向风笛10K输出" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="后向风笛9K输出" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45434">
              <a-input-number v-model="model.v45434" placeholder="请输入后向风笛9K输出" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="本车从机确认" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45435">
              <a-input-number v-model="model.v45435" placeholder="请输入本车从机确认" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="柴油机工作" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45436">
              <a-input-number v-model="model.v45436" placeholder="请输入柴油机工作" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="空调电源相序错误报警" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45440">
              <a-input-number v-model="model.v45440" placeholder="请输入空调电源相序错误报警" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="滑油液位低禁止启机" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45441">
              <a-input-number v-model="model.v45441" placeholder="请输入滑油液位低禁止启机" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="列车管风压低报警卸载" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45442">
              <a-input-number v-model="model.v45442" placeholder="请输入列车管风压低报警卸载" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="紧急制动报警卸载" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45443">
              <a-input-number v-model="model.v45443" placeholder="请输入紧急制动报警卸载" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="停放制动报警卸载" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45444">
              <a-input-number v-model="model.v45444" placeholder="请输入停放制动报警卸载" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="紧急停机报警" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45447">
              <a-input-number v-model="model.v45447" placeholder="请输入紧急停机报警" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="传动箱油温高报警" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45450">
              <a-input-number v-model="model.v45450" placeholder="请输入传动箱油温高报警" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="传动箱油温高报警卸载" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45451">
              <a-input-number v-model="model.v45451" placeholder="请输入传动箱油温高报警卸载" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="传动箱油压高报警" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45452">
              <a-input-number v-model="model.v45452" placeholder="请输入传动箱油压高报警" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="传动箱油压高报警卸载" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45453">
              <a-input-number v-model="model.v45453" placeholder="请输入传动箱油压高报警卸载" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="冷却水水温高报警" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45454">
              <a-input-number v-model="model.v45454" placeholder="请输入冷却水水温高报警" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="冷却水水温高报警卸载" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45455">
              <a-input-number v-model="model.v45455" placeholder="请输入冷却水水温高报警卸载" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="滑油压力低报警" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45456">
              <a-input-number v-model="model.v45456" placeholder="请输入滑油压力低报警" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="滑油温度高报警" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45457">
              <a-input-number v-model="model.v45457" placeholder="请输入滑油温度高报警" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="传动箱油温高卸载停机" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45460">
              <a-input-number v-model="model.v45460" placeholder="请输入传动箱油温高卸载停机" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="柴油机超速卸停机" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45461">
              <a-input-number v-model="model.v45461" placeholder="请输入柴油机超速卸停机" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="柴油机硬线报警" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45462">
              <a-input-number v-model="model.v45462" placeholder="请输入柴油机硬线报警" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="机车超速报警" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45463">
              <a-input-number v-model="model.v45463" placeholder="请输入机车超速报警" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="机车超速卸载" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45464">
              <a-input-number v-model="model.v45464" placeholder="请输入机车超速卸载" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="冷却水液位低报警" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45465">
              <a-input-number v-model="model.v45465" placeholder="请输入冷却水液位低报警" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="换向降柴油机转速" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45466">
              <a-input-number v-model="model.v45466" placeholder="请输入换向降柴油机转速" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="空调电机过载" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45467">
              <a-input-number v-model="model.v45467" placeholder="请输入空调电机过载" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="空调过热保护" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45471">
              <a-input-number v-model="model.v45471" placeholder="请输入空调过热保护" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="空调高压故障锁死" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45473">
              <a-input-number v-model="model.v45473" placeholder="请输入空调高压故障锁死" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="空调高压故障" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45474">
              <a-input-number v-model="model.v45474" placeholder="请输入空调高压故障" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="空档" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45480">
              <a-input-number v-model="model.v45480" placeholder="请输入空档" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="换挡1档" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45481">
              <a-input-number v-model="model.v45481" placeholder="请输入换挡1档" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="换挡2档" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45482">
              <a-input-number v-model="model.v45482" placeholder="请输入换挡2档" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="换挡3档" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45483">
              <a-input-number v-model="model.v45483" placeholder="请输入换挡3档" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="换挡4档" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45484">
              <a-input-number v-model="model.v45484" placeholder="请输入换挡4档" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="机车前向" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45485">
              <a-input-number v-model="model.v45485" placeholder="请输入机车前向" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="机车后向" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45486">
              <a-input-number v-model="model.v45486" placeholder="请输入机车后向" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="机车前向加载" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45487">
              <a-input-number v-model="model.v45487" placeholder="请输入机车前向加载" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="机车后向加载" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45490">
              <a-input-number v-model="model.v45490" placeholder="请输入机车后向加载" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="空调低压故障锁死" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45491">
              <a-input-number v-model="model.v45491" placeholder="请输入空调低压故障锁死" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="空调低压故障" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45492">
              <a-input-number v-model="model.v45492" placeholder="请输入空调低压故障" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="机车超速紧急制动" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45495">
              <a-input-number v-model="model.v45495" placeholder="请输入机车超速紧急制动" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="柴油机停机硬线" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45496">
              <a-input-number v-model="model.v45496" placeholder="请输入柴油机停机硬线" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="燃油压力低报警" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45497">
              <a-input-number v-model="model.v45497" placeholder="请输入燃油压力低报警" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="机车里程" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="vw4550">
              <a-input-number v-model="model.vw4550" placeholder="请输入机车里程" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="机车程序版本号" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="vw4554">
              <a-input-number v-model="model.vw4554" placeholder="请输入机车程序版本号" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="理论换档速度升" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="vw4556">
              <a-input-number v-model="model.vw4556" placeholder="请输入理论换档速度升" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="理论换档速度降" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="vw4558">
              <a-input-number v-model="model.vw4558" placeholder="请输入理论换档速度降" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="柴油机停机" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45601">
              <a-input-number v-model="model.v45601" placeholder="请输入柴油机停机" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="他车从机" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45602">
              <a-input-number v-model="model.v45602" placeholder="请输入他车从机" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="低水位报警" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45603">
              <a-input-number v-model="model.v45603" placeholder="请输入低水位报警" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="柴油机停机报警" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45604">
              <a-input-number v-model="model.v45604" placeholder="请输入柴油机停机报警" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="风笛按钮输入" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45605">
              <a-input-number v-model="model.v45605" placeholder="请输入风笛按钮输入" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="旁路制动按钮输入" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45606">
              <a-input-number v-model="model.v45606" placeholder="请输入旁路制动按钮输入" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="电加热器" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45624">
              <a-input-number v-model="model.v45624" placeholder="请输入电加热器" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="室内风机" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45625">
              <a-input-number v-model="model.v45625" placeholder="请输入室内风机" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="室外风机" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45626">
              <a-input-number v-model="model.v45626" placeholder="请输入室外风机" style="width: 100%" />
            </a-form-model-item>
          </a-col>
          <a-col :span="24">
            <a-form-model-item label="压缩机" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="v45627">
              <a-input-number v-model="model.v45627" placeholder="请输入压缩机" style="width: 100%" />
            </a-form-model-item>
          </a-col>
        </a-row>
      </a-form-model>
    </j-form-container>
  </a-spin>
</template>

<script>

  import { httpAction, getAction } from '@/api/manage'
  import { validateDuplicateValue } from '@/utils/util'

  export default {
    name: 'BuZyNrgccOnlineForm',
    components: {
    },
    props: {
      //表单禁用
      disabled: {
        type: Boolean,
        default: false,
        required: false
      },
      // 添加查询类型和月份参数
      queryType: {
        type: String,
        default: 'online'
      },
      queryMonth: {
        type: String,
        default: undefined
      }
    },
    data () {
      return {
        model:{
         },
        labelCol: {
          xs: { span: 24 },
          sm: { span: 5 },
        },
        wrapperCol: {
          xs: { span: 24 },
          sm: { span: 16 },
        },
        confirmLoading: false,
        validatorRules: {
        },
        url: {
          add: "/ZyNrgcc/buZyNrgccOnline/add",
          edit: "/ZyNrgcc/buZyNrgccOnline/edit",
          queryById: "/ZyNrgcc/buZyNrgccOnline/queryById"
        }
      }
    },
    computed: {
      formDisabled(){
        return this.disabled
      },
    },
    created () {
       //备份model原始值
      this.modelDefault = JSON.parse(JSON.stringify(this.model));
    },
    methods: {
      add () {
        this.edit(this.modelDefault);
      },
      edit (record) {
        this.model = Object.assign({}, record);
        this.visible = true;
        // Store the query type and month for use during submission
        this.currentQueryType = queryType;
        this.currentQueryMonth = queryMonth;
      },
      submitForm () {
        const that = this;
        // 触发表单验证
        this.$refs.form.validate(valid => {
          if (valid) {
            that.confirmLoading = true;
            let httpurl = '';
            let method = '';
            if(!this.model.id){
              httpurl+=this.url.add;
              method = 'post';
            }else{
              httpurl+=this.url.edit;
               method = 'put';
            }
            httpAction(httpurl,this.model,method).then((res)=>{
              if(res.success){
                that.$message.success(res.message);
                that.$emit('ok');
              }else{
                that.$message.warning(res.message);
              }
            }).finally(() => {
              that.confirmLoading = false;
            })
          }

        })
      },
    }
  }
</script>