|  |  | 
 |  |  |     private BasDevpService basDevpService; | 
 |  |  |  | 
 |  |  |     @PostMapping("/system/running/status") | 
 |  |  |     @ManagerAuth(memo = "系统运行状态") | 
 |  |  | //    @ManagerAuth(memo = "系统运行状态") | 
 |  |  |     public R systemRunningStatus(){ | 
 |  |  |         return R.ok().add(Cools.add("status", SystemProperties.WCS_RUNNING_STATUS.get())); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     @PostMapping("/system/switch") | 
 |  |  |     @ManagerAuth(memo = "系统运行开关操作") | 
 |  |  | //    @ManagerAuth(memo = "系统运行开关操作") | 
 |  |  |     public R systemSwitch(SystemSwitchParam param) throws InterruptedException { | 
 |  |  |         if (Cools.isEmpty(param.getOperatorType())){ | 
 |  |  |             return R.error(); | 
 
 |  |  | 
 |  |  |     private Integer operatorType; | 
 |  |  |  | 
 |  |  |     // 密码口令 | 
 |  |  |     private String password; | 
 |  |  |     private String password = "root"; | 
 |  |  |  | 
 |  |  |     public Integer getOperatorType() { | 
 |  |  |         return operatorType; | 
 
 |  |  | 
 |  |  |  | 
 |  |  |             <!-- Stations on outer ring --> | 
 |  |  |             <div v-for="station in tableDataDev" class="station" :style="{ top: station.valueX + '%', left: station.valueY + '%' }">{{ station.index }}</div> | 
 |  |  |  | 
 |  |  |             <div> | 
 |  |  |                 <el-switch | 
 |  |  |                         style="display: block" | 
 |  |  |                         v-model="valueSystem" | 
 |  |  |                         active-color="#13ce66" | 
 |  |  |                         inactive-color="#ff4949" | 
 |  |  |                         active-text="系统运行中..." | 
 |  |  |                         inactive-text="系统已停止!" | 
 |  |  |                         @change='upDateValueSystem'> | 
 |  |  |                 </el-switch> | 
 |  |  |             </div> | 
 |  |  |             <!-- Buses --> | 
 |  |  |             <div v-for="bus in tableDataRgv" class="bus" :style="{ top: bus.valueX + '%', left: bus.valueY + '%' , borderColor: bus.modeColor, backgroundColor: bus.statusColor}">{{ bus.index }}</div> | 
 |  |  |         </div> | 
 |  |  | 
 |  |  |                 activeNames: ['1'], | 
 |  |  |                 valueLeft: '0', | 
 |  |  |                 valueRight: '0', | 
 |  |  |                 valueSystem: false, | 
 |  |  |                 tableDataRgv: [], | 
 |  |  |                 tableDataDev: [], | 
 |  |  |                 energyGatheringRing: [], | 
 |  |  | 
 |  |  |                     this.getTableDataTrack() | 
 |  |  |                     this.getTableDataLeft() | 
 |  |  |                     this.getTableDataRight() | 
 |  |  |                     this.getValueSystem() | 
 |  |  |  | 
 |  |  |                     setInterval(() => { | 
 |  |  |                         this.getTableDataRgv() | 
 |  |  | 
 |  |  |                         this.getTableDataTrack() | 
 |  |  |                         this.getTableDataLeft() | 
 |  |  |                         this.getTableDataRight() | 
 |  |  |                         this.getValueSystem() | 
 |  |  |  | 
 |  |  |                     }, 1000) | 
 |  |  |                 }, | 
 |  |  |                 handleChange(val) { | 
 |  |  | 
 |  |  |                     } | 
 |  |  |                     return ''; | 
 |  |  |                 }, | 
 |  |  |                 getValueSystem() { | 
 |  |  |                     let that = this; | 
 |  |  |                     $.ajax({ | 
 |  |  |                         url: baseUrl + "/console/system/running/status", | 
 |  |  |                         headers: { | 
 |  |  |                             'token': localStorage.getItem('token') | 
 |  |  |                         }, | 
 |  |  |                         data: {}, | 
 |  |  |                         dataType: 'json', | 
 |  |  |                         contentType: 'application/json;charset=UTF-8', | 
 |  |  |                         method: 'post', | 
 |  |  |                         success: function (res) { | 
 |  |  |                             that.valueSystem = res.data.status | 
 |  |  |                         } | 
 |  |  |                     }); | 
 |  |  |                 }, | 
 |  |  |                 upDateValueSystem: function (){ | 
 |  |  |                     let that = this; | 
 |  |  |                     let operatorTypeI = 0; | 
 |  |  |                     if (that.valueSystem){ | 
 |  |  |                         operatorTypeI = 1; | 
 |  |  |                     } | 
 |  |  |                     $.ajax({ | 
 |  |  |                         url: baseUrl + "/console/system/switch", | 
 |  |  |                         headers: { | 
 |  |  |                             'token': localStorage.getItem('token') | 
 |  |  |                         }, | 
 |  |  |                         data: { | 
 |  |  |                             operatorType : operatorTypeI | 
 |  |  |                         }, | 
 |  |  |                         method: 'POST', | 
 |  |  |                         success: function (res) { | 
 |  |  |                             if (res.code === 200) { | 
 |  |  |                                 if (res.data.status) { | 
 |  |  |                                     that.valueSystem = true; | 
 |  |  |                                 } else { | 
 |  |  |                                     that.valueSystem = false; | 
 |  |  |                                 } | 
 |  |  |                             } | 
 |  |  |                         } | 
 |  |  |                     }); | 
 |  |  |                 }, | 
 |  |  |                 getTableDataLeft() { | 
 |  |  |                     let that = this; | 
 |  |  |                     $.ajax({ |