|
@@ -118,6 +118,11 @@
|
118
|
118
|
<dict-tag :options="dict.type.elevator_info_status" :value="scope.row.status"/>
|
119
|
119
|
</template>
|
120
|
120
|
</el-table-column>
|
|
121
|
+ <el-table-column label="连接状态" align="center" prop="connectStatus">
|
|
122
|
+ <template slot-scope="scope">
|
|
123
|
+ <dict-tag :options="dict.type.connection_status" :value="scope.row.connectStatus"/>
|
|
124
|
+ </template>
|
|
125
|
+ </el-table-column>
|
121
|
126
|
<el-table-column label="电梯类型" align="center" prop="type">
|
122
|
127
|
<template slot-scope="scope">
|
123
|
128
|
<dict-tag :options="dict.type.elevator_type" :value="scope.row.type"/>
|
|
@@ -191,6 +196,16 @@
|
191
|
196
|
></el-option>
|
192
|
197
|
</el-select>
|
193
|
198
|
</el-form-item>
|
|
199
|
+ <el-form-item label="电梯连接状态" prop="status">
|
|
200
|
+ <el-select v-model="form.connectStatus" placeholder="请选择">
|
|
201
|
+ <el-option
|
|
202
|
+ v-for="dict in dict.type.connection_status"
|
|
203
|
+ :key="dict.value"
|
|
204
|
+ :label="dict.label"
|
|
205
|
+ :value="parseInt(dict.value)"
|
|
206
|
+ ></el-option>
|
|
207
|
+ </el-select>
|
|
208
|
+ </el-form-item>
|
194
|
209
|
<el-form-item label="电梯名字" prop="elevatorName">
|
195
|
210
|
<el-input v-model="form.elevatorName" placeholder="请输入电梯名字" />
|
196
|
211
|
</el-form-item>
|
|
@@ -218,7 +233,7 @@ import { listElevatorInfo, getElevatorInfo, delElevatorInfo, addElevatorInfo, up
|
218
|
233
|
import { listBuildingInfo, getBuildingInfo } from "@/api/info/buildingInfo";
|
219
|
234
|
export default {
|
220
|
235
|
name: "ElevatorInfo",
|
221
|
|
- dicts: ['elevator_info_status', 'elevator_type'],
|
|
236
|
+ dicts: ['elevator_info_status', 'elevator_type', 'connection_status'],
|
222
|
237
|
data() {
|
223
|
238
|
return {
|
224
|
239
|
buildingList: [],
|
|
@@ -308,7 +323,8 @@ export default {
|
308
|
323
|
upkeepNum: null,
|
309
|
324
|
type: null,
|
310
|
325
|
runFloor: null,
|
311
|
|
- runTime: null
|
|
326
|
+ runTime: null,
|
|
327
|
+ connectStatus: null
|
312
|
328
|
};
|
313
|
329
|
this.resetForm("form");
|
314
|
330
|
},
|