| | |
| | | }, |
| | | methods: { |
| | | handleClear () { |
| | | this.currentId = ''; |
| | | this.currentId = undefined; |
| | | this.name = undefined; |
| | | this.$emit("change", ''); |
| | | this.$emit("change", undefined); |
| | | }, |
| | | getCurrentRow (e) { |
| | | this.currentId = e.id |
| | |
| | | }, |
| | | methods: { |
| | | handleClear () { |
| | | this.currentId = ''; |
| | | this.currentId = undefined; |
| | | this.name = undefined; |
| | | this.$emit("change", ''); |
| | | this.$emit("change", undefined); |
| | | this.$emit('nvrIdChange') |
| | | }, |
| | | getCurrentRow (e) { |
| | |
| | | }, |
| | | methods: { |
| | | handleClear () { |
| | | this.currentId = ''; |
| | | this.currentId = undefined; |
| | | this.name = undefined; |
| | | this.$emit("change", ''); |
| | | this.$emit("change", undefined); |
| | | }, |
| | | getCurrentRow (e) { |
| | | this.currentId = e.id |
| | |
| | | <el-link type="primary" @click="nvrClick(scope.row)">{{ scope.row.nvrId_dictText }}</el-link> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="通道号" align="center" prop="passageway_dictText" show-overflow-tooltip/> |
| | | <el-table-column label="通道号" align="center" prop="passageway" show-overflow-tooltip/> |
| | | <el-table-column label="序列号" min-width="180" align="center" prop="serialNumber" show-overflow-tooltip/> |
| | | <el-table-column label="生产厂商" min-width="220" align="center" prop="manufacturerId_dictText" show-overflow-tooltip/> |
| | | <el-table-column label="安装位置" min-width="240" align="center" prop="buildingId_dictText" show-overflow-tooltip/> |
| | |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="通道号" prop="passageway"> |
| | | <el-select v-model="form.passageway" :disabled="!form.nvrId" placeholder="请选择通道(路)" style="width: 100%;"> |
| | | <el-option |
| | | v-for="dict in dict.type.DICT109" |
| | | :key="dict.value" |
| | | :label="dict.label" |
| | | :value="dict.value" |
| | | /> |
| | | </el-select> |
| | | <el-input v-model="form.passageway" :disabled="!form.nvrId" maxlength="4" show-word-limit placeholder="请输入通道号"/> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |