MrShi
2026-05-29 e501d64391f0fe6e50af572067cef1eb1ee302c1
admin/src/components/business/OperaJkCabinetWindow.vue
@@ -42,6 +42,18 @@
          <span style="margin-left: 20px;">单位:分钟</span>
        </div>
      </el-form-item>
      <el-form-item label="酒精检测" prop="doubleAuth">
        <div style="width: 100%; display: flex; align-items: center;">
          <el-switch
            v-model="form.alcoholStatus"
            active-color="#13ce66"
            inactive-color="#ff4949"
            :active-value="0"
            :inactive-value="1">
          </el-switch>
          <span style="margin-left: 20px; color: #999999;">开启后,需要酒精检测通过后,才能开门</span>
        </div>
      </el-form-item>
      <el-form-item label="双重验证" prop="doubleAuth">
        <div style="width: 100%; display: flex; align-items: center;">
          <el-switch
@@ -50,8 +62,19 @@
            inactive-color="#ff4949"
            :active-value="1"
            :inactive-value="0">
          </el-switch>
          <span style="margin-left: 20px; color: #999999;">开启双重认证后,钥匙领取时先校验验证人身份,再校验司机身份</span>
        </div>
        <div style="width: 100%; display: flex; align-items: center;">
          <el-switch
            v-model="form.returnDoubleAuth"
            active-color="#13ce66"
            inactive-color="#ff4949"
            :active-value="1"
            :inactive-value="0">
          </el-switch>
          <span style="margin-left: 20px; color: #999999;">开启双重认证后,钥匙归还时先校验验证人身份,再校验司机身份</span>
        </div>
      </el-form-item>
      <el-form-item label="验证人" prop="authMemberIdList">
@@ -82,7 +105,7 @@
          :inactive-value="1">
        </el-switch>
      </el-form-item>
      <el-form-item label="附件" prop="activateFile">
      <el-form-item label="激活文件" prop="activateFile">
        <el-upload
          accept=".zip"
          class="upload-demo"
@@ -167,6 +190,7 @@
        location: '',
        useTime: '',
        doubleAuth: 0,
        returnDoubleAuth: 0,
        authMemberIdList: '',
        rowNum: '',
        columnNum: '',
@@ -177,7 +201,8 @@
        noLength: '',
        noIndex: '',
        sortType: 0,
        activateFile: null
        activateFile: null,
        alcoholStatus: 0
      },
      // 验证规则
      rules: {
@@ -277,6 +302,7 @@
            managerIdList: '',
            useTime: '',
            doubleAuth: 0,
            returnDoubleAuth: 0,
            authMemberIdList: '',
            rowNum: '',
            columnNum: '',
@@ -286,7 +312,8 @@
            noPrefix: '',
            noLength: '',
            noIndex: '',
            sortType: 0
            sortType: 0,
            alcoholStatus: 0
          }
          this.$refs.form.resetFields()
          this.form[this.configData['field.id']] = null