| | |
| | | /> |
| | | |
| | | <!-- 添加或修改智控设备对话框 --> |
| | | <el-dialog :title="title" :visible.sync="open" width="500px" append-to-body> |
| | | <el-dialog :title="title" :close-on-click-modal="false" :visible.sync="open" width="500px" append-to-body> |
| | | <el-form ref="form" :model="form" :rules="rules" label-width="100px"> |
| | | <el-form-item label="序列号" prop="serialNumber"> |
| | | <el-input v-model="form.serialNumber" :disabled="disabled" placeholder="请输入序列号"/> |
| | |
| | | /** 删除按钮操作 */ |
| | | handleDelete(row) { |
| | | const ids = row.id || this.ids; |
| | | this.$modal.confirm('是否确认删?').then(() => { |
| | | this.$modal.confirm(`是否确认删序列号为${this.formatZero(row.serialNumber, 4)}的指控设备?`).then(() => { |
| | | this.loading = true; |
| | | return delEquipment(ids); |
| | | }).then(() => { |