MrShi
昨天 0425f0a90023e9a297520c30f7bbd24e8adc38f9
admin/src/components/business/cabinetDetails.vue
@@ -55,6 +55,15 @@
                    </el-select>
                </template>
            </el-table-column>
            <el-table-column label="当前状态" min-width="100px">
                <template slot-scope="{row}">
                    <span v-if="row.keyStatus === 0">未绑定</span>
                    <span v-if="row.keyStatus === 1">在位</span>
                    <span v-if="row.keyStatus === 2">借出</span>
                    <span v-if="row.keyStatus === 3">维修保养</span>
                    <span style="color: red;" v-if="row.keyStatus === 4">{{row.errInfo}}</span>
                </template>
            </el-table-column>
            <el-table-column label="板号" min-width="100px">
                <template slot-scope="{row}">
                    <el-input v-model="row.boardCode" @blur="blurFunc($event, row, 2)" placeholder="请输入板号"></el-input>
@@ -179,6 +188,7 @@
          unBindKeys(this.ids)
            .then(res => {
              this.getList()
              this.getKeysAll()
            })
        }).catch(() => {
@@ -207,7 +217,7 @@
          page: 1,
          model: {
            cabinetId: this.id,
            keyId: this.searchForm.keyId,
            keyCode: this.searchForm.keyCode,
            status: this.searchForm.status,
            bindStatus: this.searchForm.bindStatus,
            workingStatus: this.searchForm.workingStatus