private void view() {
   int id = getSelectId(getJTable());
   Vehicle vehicle = vehicleblservice.getById(id);
   MainFrame.getLoglabel().setText("查看车辆(车辆编号:" + vehicle.getVehicle_num() + ")");
   this.textField_vehicleId.setText(id + "");
   this.comboBox_showBusiness.setSelectedItem(makeDepartment(vehicle.getDepartment()));
   this.textField_vehicleNum.setText(vehicle.getVehicle_num());
   this.textField_license.setText(vehicle.getLicense_plate_number());
   this.textField_usetime.setText(DateUtil.getStringByDate(vehicle.getUsetime()));
   this.textField_vehicleinfo.setText(vehicle.getVehicle_info());
 }
 private Vector<Vector> changeDatas(Vector<Vehicle> vehicles) {
   Vector<Vector> view = new Vector<Vector>();
   for (Vehicle vehicle : vehicles) {
     Vector v = new Vector();
     v.add(vehicle.getId());
     v.add(vehicle.getVehicle_num());
     v.add(vehicle.getLicense_plate_number());
     v.add(DateUtil.getStringByDate(vehicle.getUsetime()));
     v.add(vehicle.getDepartment().getDepartment_name());
     view.add(v);
   }
   return view;
 }