tab 界面展示多选单选过滤条件组成

<!DOCTYPE html>
<html ng-app="indApp">
<head lang="en">
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <title></title>
  <style>
    .btss {
      display: inline-block;
      color: #FFF !important;
      text-shadow: 0 -1px 0 rgba(0, 0, 0, .25);
      background-image: none !important;
      border: 5px solid #FFF;
      border-radius: 0;
      box-shadow: none !important;
      -webkit-transition: background-color .15s, border-color .15s, opacity .15s;
      -o-transition: background-color .15s, border-color .15s, opacity .15s;
      transition: background-color .15s, border-color .15s, opacity .15s;
      cursor: pointer;
      vertical-align: middle;
      margin: 0;
      position: relative;
      background-color: #abbac3 !important;
      border-color: #abbac3;
      margin: 0 1px 0 0;
    }

    .btss1 {
      display: inline-block;
      color: #FFF !important;
      text-shadow: 0 -1px 0 #348CBF;
      background-image: none !important;
      border: 5px solid #FFF;
      border-radius: 0;
      box-shadow: none !important;
      -webkit-transition: background-color .15s, border-color .15s, opacity .15s;
      -o-transition: background-color .15s, border-color .15s, opacity .15s;
      transition: background-color .15s, border-color .15s, opacity .15s;
      cursor: pointer;
      vertical-align: middle;
      margin: 0;
      position: relative;
      background-color: #348CBF !important;
      border-color: #348CBF;
      margin: 0 1px 0 0;
    }

    a.btss:hover {
      text-decoration: none;
    }

    a.btss1:hover {
      text-decoration: none;
    }

    .bt {
      padding: 0 4px;
      line-height: 28px;
      border-width: 4px;
      font-size: 12px;
      background-color: #fee188 !important;
      border-color: #fee188;
      color: #963 !important;
      text-shadow: 0 -1px 0 rgba(255, 255, 255, .4) ! importan;
    }

    input {
      width: 40px
    }
    .mags{margin-left: 15px}
  </style>
</head>
<link href="http://libs.baidu.com/bootstrap/3.0.3/css/bootstrap.min.css" rel="stylesheet">
<script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
<script src="http://libs.baidu.com/bootstrap/3.0.3/js/bootstrap.min.js"></script>
<script src="http://ngnice.com/lib/angular/1.2.16/angular.js"></script>
<!--<script src="Industry.js" charset="UTF-8"></script>-->

<script>
  angular.module('indApp', [])
    .controller('indController', ['$scope','$http', function ($scope,$http) {
      $scope.obj = {};
      $scope.coalShow = false;
      $scope.coalShow1 = false;
      $scope.sinterShow = false;
      $scope.steelEtaShow = false;
      $scope.steelEtaShow1 = false;
      $scope.steelEtaShow2 = false;
      $scope.steelEtaShow3 = false;


      $scope.filterData = {};
      $scope.filterData.filter = {};
      var power = {};
      var steel = {};
      var cement = {};
      var coking = {};
      var glass = {};
      var others = {};

      $scope.toSplit = toSplit;
      function toSplit (n) {
        if (n.indexOf("~") >= 0) {
          var arr = n.split("~");
          return arr;
        }
      }

      function initialze() {
        $.ajax({
          async: false,
          type: "GET",
          url: 'data1.json',
          dataType: 'json',
          success: function (data) {
            $scope.obj = data;
          }
        });
 

      initialze();
 

      $scope.changeOption =function(obj){
        if (obj.min != null&obj.max!=null) {
          obj.value = obj.min + "~" + obj.max;
        }else if(obj.min!=null){
          obj.value = obj.min+"~";
        } else if(obj.max!=null){
          obj.value = "~"+obj.max;
        }
        obj.limit=true;
      };

  
$scope.changeOption = function (obj) {
  if (obj.min != null & obj.max != null) {
    obj.value = obj.min + "~" + obj.max;
  } else if (obj.min != null) {
    obj.value = obj.min + "~";
  } else if (obj.max != null) {
    obj.value = "~" + obj.max;
  }
  obj.limit = true;
};
function onRegion(sp,indName,reg){
  indName = reg;
  if (sp == '') {
    indName.value = {};
    indName.limit = false;
    return;
  }
  if (indName.value == undefined) {
    indName.value = {};
  }
  if (indName.value[sp] == undefined) {
    indName.limit = true;
    indName.value[sp] = true;
  } else {
    indName.value[sp] = undefined;
  }
}

function onAll(sp,names,prop){
  names = prop;
  if (sp != otherData.unlimited.name) {
    names.limit = true;
    names.value = sp;
    var sp = $scope.toSplit(sp);
    names.min = sp[0];
    names.max = sp[1];
  } else {
    names.min = null;
    names.max = null;
    names.limit = false;
    names.value = sp;
  }
}
/*电力*/
$scope.onPowerRegion = function (sp) {
  var powerRig;
  onRegion(sp,powerRig,$scope.obj.industry.properties.power.properties.regionId);
};
$scope.onPowerCapacity = function (sp) {
  var powerCapA;
  onAll(sp,powerCapA,$scope.obj.industry.properties.power.properties.capacityAmount);
};
$scope.onPowerUnitYear = function (sp) {

  var powerUnitY;
  onAll(sp,powerUnitY,$scope.obj.industry.properties.power.properties.unityear);
};
$scope.onPowerExpand = function (sp) {
  var powerExpand = $scope.obj.industry.properties.power.properties.expand;
  if (sp == '') {
    powerExpand.value = {};
    powerExpand.limit = false;
    $scope.coalShow = false;
    $scope.coalShow1 = false;
    return;
  }
  if (powerExpand.value == undefined) {
    powerExpand.value = {};
  }
  if (powerExpand.value[sp] == undefined) {
    powerExpand.limit = true;
    powerExpand.value[sp] = true;
    if (sp == otherData.coal.name) {
      $scope.coalShow = true;
    }
    if (sp == otherData.fuel.name) {
      $scope.coalShow1 = true;
    }
  } else {
    powerExpand.value[sp] = undefined;
    if (sp == otherData.coal.name) {
      $scope.coalShow = false;
    }
    if (sp == otherData.fuel.name) {
      $scope.coalShow1 = false;
    }
  }
};
$scope.onPowerHeated = function (sp) {
  var powerCoH = $scope.obj.industry.properties.power.properties.co_heated;
  if (sp !=otherData.unlimited.name) {
    powerCoH.limit = true;
    powerCoH.value = sp;
  } else {
    powerCoH.limit = false;
    powerCoH.value = sp;
  }
};
$scope.onPowerSoEquip = function (sp) {
  var powerEtaS;
  onAll(sp,powerEtaS,$scope.obj.industry.properties.power.properties.Eta_SO2);
};
$scope.onPowerNoEquip = function (sp) {

  var powerEtaN;
  onAll(sp,powerEtaN,$scope.obj.industry.properties.power.properties.Eta_NOx);
};
$scope.onPowerExpandCoal = function (sp) {
  var powerECoalC ;
  onAll(sp,powerECoalC,$scope.obj.industry.properties.power.properties.expand.properties.coal.properties.coalConsumption);
};
$scope.onPowerExpandSulfurCoal = function (sp) {
  var powerECoalSulfurC;
  onAll(sp,powerECoalSulfurC,$scope.obj.industry.properties.power.properties.expand.properties.coal.properties.sulfur_coal);
};
$scope.onPowerExpandAshCoal = function (sp) {
  var powerECoalAshC;
  onAll(sp,powerECoalAshC,$scope.obj.industry.properties.power.properties.expand.properties.coal.properties.ash_coal)
};
$scope.onPowerExpandOil = function (sp) {
  var powerESulfulOS;
  onAll(sp,powerESulfulOS,$scope.obj.industry.properties.power.properties.expand.properties.sulfur_oil.sulfur);
};
$scope.onPowerDust = function (sp) {
  var powerDust;
  onAll(sp,powerDust,$scope.obj.industry.properties.power.properties.dust_removal);
};

/*钢铁*/
$scope.onSteelRegion = function (sp) {
  var steelReg;
  onRegion(sp,steelReg,$scope.obj.industry.properties.steel.properties.regionId);
};
$scope.onSteelUnitYear = function (sp) {
  var steelUnitY;
  onAll(sp,steelUnitY,$scope.obj.industry.properties.steel.properties.unityear);
};
$scope.onSteelProcess = function (sp) {
  var steelProcess = $scope.obj.industry.properties.steel.properties.process;
  if (sp == '') {
    $scope.sinterShow = false;
    $scope.steelEtaShow = false;
    $scope.steelEtaShow1 = false;
    $scope.steelEtaShow2 = false;
    $scope.steelEtaShow3 = false;
    steelProcess.value = {};
    steelProcess.limit = false;
    return;
  }
  if (steelProcess.value == undefined) {
    steelProcess.value = {};
  }
  if (steelProcess.value[sp] == undefined) {
    steelProcess.limit = true;
    steelProcess.value[sp] = true;
    if (sp == otherData.sinter.name) {
      $scope.sinterShow = true;
      if (steelProcess.properties.Asinter.properties.deSO2_equip.limit != false) {
        if (steelProcess.properties.Asinter.properties.deSO2_equip.value == otherData.yes.name) {
          $scope.steelEtaShow = true;
        }
      }
    }
    if (sp == otherData.coking.name) {
      $scope.steelEtaShow1 = true;
    }
    if (sp == otherData.toSmeltIron.name) {
      $scope.steelEtaShow2 = true;
    }
    if (sp == otherData.steelMaking.name) {
      $scope.steelEtaShow3 = true;
    }
  } else {
    steelProcess.value[sp] = undefined;
    if (sp == otherData.sinter.name) {
      $scope.sinterShow = false;
      $scope.steelEtaShow = false;
    }
    if (sp == otherData.coking.name) {
      $scope.steelEtaShow1 = false;
    }
    if (sp == otherData.toSmeltIron.name) {
      $scope.steelEtaShow2 = false;
    }
    if (sp ==otherData.steelMaking.name) {
      $scope.steelEtaShow3 = false;
    }
  }
};
$scope.onSteelProcessAsinter = function (sp) {
  var steelPACap;
  onAll(sp,steelPACap,$scope.obj.industry.properties.steel.properties.process.properties.Asinter.properties.capacityAmount_frit);
};
$scope.onSteelProcessAsinter1 = function (sp) {
  var steelPADeso = $scope.obj.industry.properties.steel.properties.process.properties.Asinter.properties.deSO2_equip;
  if (sp != otherData.unlimited.name) {
    if (sp != otherData.yes.name) {
      $scope.steelEtaShow = false;
    } else {
      $scope.steelEtaShow = true;
    }
    steelPADeso.limit = true;
    steelPADeso.value = sp;
  } else {
    $scope.steelEtaShow = false;
    steelPADeso.limit = false;
    steelPADeso.value = sp;
  }
};
$scope.onSteelProcessAsinter2 = function (sp) {
  var steelPADeEtaSo;
  onAll(sp,steelPADeEtaSo, $scope.obj.industry.properties.steel.properties.process.properties.Asinter.properties.deSO2_equip.option[1].properties.Eta_SO2);
};
$scope.onSteelProcessAsinter3 = function (sp) {
  var steelPBCap;
  onAll(sp,steelPBCap,$scope.obj.industry.properties.steel.properties.process.properties.Bcoking.capacityAmount_coke);
};
$scope.onSteelProcessIronmaking = function (sp) {
  var steelPICap ;
  onAll(sp,steelPICap,$scope.obj.industry.properties.steel.properties.process.properties.Ironmaking.capacityAmount_iron);
};
$scope.onSteelProcessSteelmaking = function (sp) {
  var steelPSCSteel ;
  onAll(sp,steelPSCSteel,$scope.obj.industry.properties.steel.properties.process.properties.Steelmaking.capacityAmount_steel);
};
$scope.onSteelDust = function (sp) {
  var steelDust;
  onAll(sp,steelDust,$scope.obj.industry.properties.steel.properties.dust_removal);
};


/*水泥*/
$scope.onCementRegion = function (sp) {
  var cementReg;
  onRegion(sp,cementReg,$scope.obj.industry.properties.cement.properties.regionId);
};
$scope.onCementTechProcess = function (sp) {
  var cementTech = $scope.obj.industry.properties.cement.properties.techProcess;
  if (sp == '') {
    cementTech.value = {};
    cementTech.limit = false;
    return;
  }
  if (cementTech.value == undefined) {
    cementTech.value = {};
  }
  if (cementTech.value[sp] == undefined) {
    cementTech.limit = true;
    cementTech.value[sp] = true;
  } else {
    cementTech.value[sp] = undefined;
  }
};
$scope.onCementCapacityAmount = function (sp) {
  var cementCap;
  onAll(sp,cementCap,$scope.obj.industry.properties.cement.properties.capacityAmount);
};
$scope.onCementUnitYear = function (sp) {
  var cementUnitY;
  onAll(sp,cementUnitY,$scope.obj.industry.properties.cement.properties.unityear);
};
$scope.onCementdeNOx_equip = function (sp) {
  var cementEtaNo;
  onAll(sp,cementEtaNo,$scope.obj.industry.properties.cement.properties.Eta_NOx);
};
$scope.onCementDust_removal = function (sp) {
  var cementDust;
  onAll(sp,cementDust,$scope.obj.industry.properties.cement.properties.dust_removal);
};


/*焦化*/
$scope.onCokingRegion = function (sp) {
  var cokingReg;
  onRegion(sp,cokingReg,$scope.obj.industry.properties.coking.properties.regionId);
};
$scope.onCokingCapacity = function (sp) {
  var cokingCap ;
  onAll(sp,cokingCap,$scope.obj.industry.properties.coking.properties.capacityAmount);
};
$scope.onCokingUnitYear = function (sp) {
  var cokingUnitY;
  onAll(sp,cokingUnitY,$scope.obj.industry.properties.coking.properties.unityear);
};
$scope.onCokingDustRemoval = function (sp) {
  var cokingDust;
  onAll(sp,cokingDust,$scope.obj.industry.properties.coking.properties.dust_removal);
};

/*玻璃*/
$scope.onGlassRegion = function (sp) {
  var glassReg;
  onRegion(sp,glassReg,$scope.obj.industry.properties.glass.properties.regionId);
};
$scope.onGlassCapacity = function (sp) {
  var glassCap;
  onAll(sp,glassCap, $scope.obj.industry.properties.glass.properties.capacityAmount);
};
$scope.onGlassDustRemoval = function (sp) {
  var glassDust;
  onAll(sp,glassDust,$scope.obj.industry.properties.glass.properties.dust_removal);
};

/*其他*/
$scope.onOtherRegion = function (sp) {
  var otherReg;
  onRegion(sp,otherReg,$scope.obj.industry.properties.others.properties.regionId);
};
$scope.onOthersCapacity = function (sp) {
  var othersCap;
  onAll(sp,othersCap,$scope.obj.industry.properties.others.properties.capacityAmount);
};
$scope.onOthersSulfur = function (sp) {
  var othersSulfur ;
  onAll(sp,othersSulfur,$scope.obj.industry.properties.others.properties.sulfur);
};
$scope.onOthersAsh = function (sp) {
  var othersAsh ;
  onAll(sp,othersAsh,$scope.obj.industry.properties.others.properties.ash);
};
$scope.onOthersDeSO2Equip = function (sp) {
  var othersEta;
  onAll(sp,othersEta,$scope.obj.industry.properties.others.properties.Eta_SO2);
};
$scope.onOthersDustRemoval = function (sp) {
  var othersDust;
  onAll(sp,othersDust,$scope.obj.industry.properties.others.properties.dust_removal);
};


/*检测 触发事件*/

var private_fuel = 'private_fuelType';
var private_unityear = 'private_unityear';
var private_capacityAmount = 'private_capacityAmount';
var adcode = "func_getCityCode_regionId";
var category = "func_getCategory_id0_id1_id2_id3";
var ash_coal = 'ash';
var sulfur_coal = 'sulfur';
var dust_removal = 'private_dust-removal';
var co_heated = 'private_co-heated';
var Eta_SO2 = 'private_100-Eta_SO2';
var Eta_NOx = 'private_100-Eta_NOx';
var fuelType = 'expand';
var instance = 'instance';
var private_process = 'private_process';
var process = 'process';
var deSO2_equip = 'private_deSO2-equip';
var coalConsumption = 'private_coalConsumption';
var capacityAmount_frit = 'private_capacityAmount';
var capacityAmount_coke = 'private_capacityAmount';
var capacityAmount_iron = 'private_capacityAmount';
var capacityAmount_steel = 'private_capacityAmount';
var techProcess = 'techProcess';
var ash = 'ash';
var sulfur = 'sulfur';
var private_techProcess = 'private_techProcess';

function watchReg(prop,names){
  if (prop.regionId.limit != false) {
    if (prop.regionId.value != undefined) {
      names[adcode] = [];
      for (var i in prop.regionId.value) {
        if (prop.regionId.value[i] != undefined) {
          for (var t in $scope.obj.region.properties) {
            if (i == $scope.obj.region.properties[t].name) {
              names[adcode].push(t);
            }
          }
        }
      }
    }
  } else {
    if (names[adcode] != undefined) {
      delete names[adcode];
    }
  }
}
function watchProp(prop,names,cp){
  if (prop.limit != false) {
    names[cp] = prop.value;
  } else {
    if (names[cp] != undefined) {
      delete names[cp];
    }
  }
}
$scope.$watch('obj.industry.properties.power', function (newV, oldV) {
  var powerProperties = $scope.obj.industry.properties.power.properties;
  /*电力*/
  watchReg(powerProperties,power);
  watchProp(powerProperties.capacityAmount,power,private_capacityAmount);
  watchProp(powerProperties.unityear,power,private_unityear);
  if (powerProperties.expand.limit != false) {
    if (powerProperties.expand.value != undefined) {
      var i = 0;
      power[fuelType] = [];
      for (var j in powerProperties.expand.value) {
        var exp = {};
        if (powerProperties.expand.value[j] != undefined) {
          if (j == otherData.gas.name) {
            exp[private_fuel] =otherData.gas.name;
          } else if (j ==otherData.coal.name) {
            if (powerProperties.expand.properties.coal.properties.coalConsumption.limit != false) {
              exp[coalConsumption] = powerProperties.expand.properties.coal.properties.coalConsumption.value;
            } else {
              if (exp[coalConsumption] != undefined) {
                delete exp[coalConsumption];
              }
            }

            if (powerProperties.expand.properties.coal.properties.ash_coal.limit != false) {
              exp[ash_coal] = powerProperties.expand.properties.coal.properties.ash_coal.value;
            } else {
              if (exp[ash_coal] != undefined) {
                delete exp[ash_coal];
              }
            }
            if (powerProperties.expand.properties.coal.properties.sulfur_coal.limit != false) {
              exp[sulfur_coal] = powerProperties.expand.properties.coal.properties.sulfur_coal.value;
            } else {
              if (exp[sulfur_coal] != undefined) {
                delete exp[sulfur_coal];
              }
            }
            exp[private_fuel] = otherData.coal.name;
          } else {
            if (powerProperties.expand.properties.sulfur_oil.sulfur.limit != false) {
              exp[sulfur] = powerProperties.expand.properties.sulfur_oil.sulfur.value;
            } else {
              if (exp[sulfur] != undefined) {
                delete exp[sulfur];
              }
            }
            exp[private_fuel] = otherData.fuel.name;
          }
          power[fuelType].push(exp);
        }
      }
    }
  } else {
    if (power[fuelType] != undefined) {
      delete power[fuelType];
    }
  }
  watchProp(powerProperties.dust_removal,power,dust_removal);
  watchProp(powerProperties.co_heated,power,co_heated);
  watchProp(powerProperties.Eta_SO2,power,Eta_SO2);
  watchProp(powerProperties.Eta_NOx,power,Eta_NOx);
  $scope.filterData.filter.power = power;
}, true);
$scope.$watch('obj.industry.properties.steel', function (newV, oldV) {
  /*钢铁*/
  var steelProperties = $scope.obj.industry.properties.steel.properties;
  watchReg(steelProperties,steel);
  watchProp(steelProperties.unityear,steel,private_unityear);
  watchProp(steelProperties.dust_removal,steel,dust_removal);
  if (steelProperties.process.limit != false) {
    steel[process] = [];
    for (var j in steelProperties.process.value) {
      var exp = {};
      if (steelProperties.process.value[j] != undefined) {
        if (j ==otherData.sinter.name) {
          exp[private_process] = otherData.sinter.name;
          if (steelProperties.process.properties.Asinter.properties.deSO2_equip.limit != false) {
            exp[deSO2_equip] = steelProperties.process.properties.Asinter.properties.deSO2_equip.value;
            if (steelProperties.process.properties.Asinter.properties.deSO2_equip.option[1].properties.Eta_SO2.limit != false) {
              exp[Eta_SO2] = steelProperties.process.properties.Asinter.properties.deSO2_equip.option[1].properties.Eta_SO2.value;
            }
          }
          if (steelProperties.process.properties.Asinter.properties.capacityAmount_frit.limit != false) {
            exp[capacityAmount_frit] = steelProperties.process.properties.Asinter.properties.capacityAmount_frit.value;
          }
        } else if (j == otherData.coking.name) {
          exp[private_process] = otherData.coking.name;
          if (steelProperties.process.properties.Bcoking.capacityAmount_coke.limit != false) {
            exp[capacityAmount_coke] = steelProperties.process.properties.Bcoking.capacityAmount_coke.value;
          }
        } else if (j == otherData.toSmeltIron.name) {
          exp[private_process] = otherData.toSmeltIron.name;
          if (steelProperties.process.properties.Ironmaking.capacityAmount_iron.limit != false) {
            exp[capacityAmount_iron] = steelProperties.process.properties.Ironmaking.capacityAmount_iron.value;
          }
        } else {
          exp[private_process] = otherData.steelMaking.name;
          if (steelProperties.process.properties.Steelmaking.capacityAmount_steel.limit != false) {
            exp[capacityAmount_steel] = steelProperties.process.properties.Steelmaking.capacityAmount_steel.value;
          }
        }
        steel[process].push(exp);
      }
    }
  } else {
    if (steel[process] != undefined) {
      delete steel[process];
    }
  }
  $scope.filterData.filter.steel = steel;
}, true);
$scope.$watch('obj.industry.properties.cement', function (newV, oldV) {
  /*水泥*/
  var cementProperties = $scope.obj.industry.properties.cement.properties;
  watchReg(cementProperties,cement);
  if (cementProperties.techProcess.limit != false) {
    cement[techProcess] = [];
    for (var i in cementProperties.techProcess.value) {
      if (cementProperties.techProcess.value[i] != undefined) {
        var exp = {};
        exp[private_techProcess] = i;
        cement[techProcess].push(exp);
      }
    }
  } else {
    if (cement[techProcess] != undefined) {
      delete cement[techProcess];
    }
  }
  watchProp(cementProperties.capacityAmount,cement,private_capacityAmount);
  watchProp(cementProperties.unityear,cement,private_unityear);
  watchProp(cementProperties.dust_removal,cement,dust_removal);
  watchProp(cementProperties.Eta_NOx,cement,Eta_NOx);
  $scope.filterData.filter.cement = cement;
}, true);
$scope.$watch('obj.industry.properties.coking', function (newV, oldV) {
  /*焦化*/
  var cokingProperties = $scope.obj.industry.properties.coking.properties;
  watchReg(cokingProperties,coking);
  watchProp(cokingProperties.capacityAmount,coking,private_capacityAmount);
  watchProp(cokingProperties.unityear,coking,private_unityear);
  watchProp(cokingProperties.dust_removal,coking,dust_removal);
  $scope.filterData.filter.coking = coking;
}, true);
$scope.$watch('obj.industry.properties.glass', function (newV, oldV) {
  /*玻璃*/
  var glassProperties = $scope.obj.industry.properties.glass.properties;
  watchReg(glassProperties,glass);
  watchProp(glassProperties.capacityAmount,glass,private_capacityAmount);
  watchProp(glassProperties.dust_removal,glass,dust_removal);
  $scope.filterData.filter.glass = glass;
}, true);
$scope.$watch('obj.industry.properties.others', function (newV, oldV) {
  /*其他*/
  var othersProperties = $scope.obj.industry.properties.others.properties;
  watchReg(othersProperties,others);
  watchProp(othersProperties.capacityAmount,others,private_capacityAmount);
  watchProp(othersProperties.ash,others,ash);
  watchProp(othersProperties.sulfur,others,sulfur);
  watchProp(othersProperties.dust_removal,others,dust_removal);
  watchProp(othersProperties.Eta_SO2,others,Eta_SO2);
  $scope.filterData.filter.others = others;
}, true);
      $scope.$watch('filterData', function (newV, oldV) {        $scope.filterDataNew =[];        for(var i in $scope.filterData.filter){    
var dex={}; dex = $scope.filterData.filter[i]; if($.isEmptyObject(dex)){ continue; } if(i=='power'){ dex[category]="电力"; }else if(i=='steel'){ dex[category]="钢铁"; }else if(i=='cement'){ dex[category]="水泥"; }else if(i=='coking'){ dex[category]="焦化"; }else if(i=='glass'){ dex[category]="玻璃"; }else{ dex[category]="其它"; } $scope.filterDataNew.push(dex) } console.log($scope.filterDataNew,$scope.filterData, 111); }, true); }]);</script><body><div ng-controller="indController"> <ul id="myTab" class="nav nav-tabs"> <li class="active"><a href="/demo/bootstrap3-plugin-tab-method.htm#power" data-toggle="tab">电力</a></li> <li><a href="/demo/bootstrap3-plugin-tab-method.htm#steel" data-toggle="tab">钢铁</a></li> <li><a href="/demo/bootstrap3-plugin-tab-method.htm#cement" data-toggle="tab">水泥</a></li> <li><a href="/demo/bootstrap3-plugin-tab-method.htm#coking" data-toggle="tab">焦化</a></li> <li><a href="/demo/bootstrap3-plugin-tab-method.htm#glass" data-toggle="tab">玻璃</a></li> <li><a href="/demo/bootstrap3-plugin-tab-method.htm#others" data-toggle="tab">其它</a></li> </ul> <div id="myTabContent" class="tab-content"> <div class="tab-pane fade in active" id="power"> <div class="mags"> <h5>{{obj.region.name}}</h5> <p> <span><a ng-bind="obj.region.limitName"></a></span><!--区县--> <span> <a ng-click="onPowerRegion('')" ng-class="obj.industry.properties.power.properties.regionId.limit?'btss':'btss1'">不限</a> <a ng-repeat="r in obj.region.properties" ng-class="obj.industry.properties.power.properties.regionId.value[r.name]?'btss1':'btss'" ng-click="onPowerRegion(r.name)" ng-bind="r.name" style="padding-right: 5px"></a> </span> </p> <h5>{{obj.industry.properties.power.properties.capacityAmount.name}}</h5><!--装机容量--> <p> <a ng-repeat="o in obj.industry.properties.power.properties.capacityAmount.option" ng-class="obj.industry.properties.power.properties.capacityAmount.value!=o?'btss':'btss1'" ng-click="onPowerCapacity(o)" ng-bind="o" style="margin-right: 10px"></a> <input type="text" οnkeyup="this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')" ng-model="obj.industry.properties.power.properties.capacityAmount.min"> - <input type="text" οnkeyup="this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')" ng-model="obj.industry.properties.power.properties.capacityAmount.max"> <button class="btn btn-minier btn-yellow bt" ng-click="changeOption(obj.industry.properties.power.properties.capacityAmount)">确定</button> </p> <h5>{{obj.industry.properties.power.properties.unityear.name}}</h5><!--服役年限--> <p> <a ng-repeat="o in obj.industry.properties.power.properties.unityear.option" ng-class="obj.industry.properties.power.properties.unityear.value!=o?'btss':'btss1'" ng-click="onPowerUnitYear(o)" ng-bind="o" style="margin-right: 10px"></a> <input type="text" οnkeyup="this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')" ng-model="obj.industry.properties.power.properties.unityear.min"> - <input type="text" οnkeyup="this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')" ng-model="obj.industry.properties.power.properties.unityear.max"> <button class="btn btn-minier btn-yellow bt" ng-click="changeOption(obj.industry.properties.power.properties.unityear)">确定</button> </p> <h5>{{obj.industry.properties.power.properties.expand.name}}</h5><!--燃料类型--> <p> <a ng-click="onPowerExpand('')" ng-class="obj.industry.properties.power.properties.expand.limit?'btss':'btss1'">不限</a> <a ng-repeat="o in obj.industry.properties.power.properties.expand.properties" ng-class="obj.industry.properties.power.properties.expand.value[o.name]?'btss1':'btss'" ng-click="onPowerExpand(o.name)" ng-bind="o.name" style="margin-right: 10px"></a> </p> <!--燃煤--> <div ng-show="coalShow"> <h5>{{obj.industry.properties.power.properties.expand.properties.coal.properties.coalConsumption.name}}</h5> <!--发电标煤耗--> <p> <a ng-repeat="o in obj.industry.properties.power.properties.expand.properties.coal.properties.coalConsumption.option" ng-class="obj.industry.properties.power.properties.expand.properties.coal.properties.coalConsumption.value!=o?'btss':'btss1'" ng-click="onPowerExpandCoal(o)" ng-bind="o" style="margin-right: 10px"></a> <input type="text" οnkeyup="this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')" ng-model="obj.industry.properties.power.properties.expand.properties.coal.properties.coalConsumption.min"> - <input type="text" οnkeyup="this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')" ng-model="obj.industry.properties.power.properties.expand.properties.coal.properties.coalConsumption.max"> <button class="btn btn-minier btn-yellow bt" ng-click="changeOption(obj.industry.properties.power.properties.expand.properties.coal.properties.coalConsumption)">确定 </button> </p> <h5>{{obj.industry.properties.power.properties.expand.properties.coal.properties.sulfur_coal.name}}</h5> <!--硫分--> <p> <a ng-repeat="o in obj.industry.properties.power.properties.expand.properties.coal.properties.sulfur_coal.option" ng-class="obj.industry.properties.power.properties.expand.properties.coal.properties.sulfur_coal.value!=o?'btss':'btss1'" ng-click="onPowerExpandSulfurCoal(o)" ng-bind="o" style="margin-right: 10px"></a> <input type="text" οnkeyup="this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')" ng-model="obj.industry.properties.power.properties.expand.properties.coal.properties.sulfur_coal.min"> - <input type="text" οnkeyup="this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')" ng-model="obj.industry.properties.power.properties.expand.properties.coal.properties.sulfur_coal.max"> <button class="btn btn-minier btn-yellow bt" ng-click="changeOption(obj.industry.properties.power.properties.expand.properties.coal.properties.sulfur_coal)">确定 </button> </p> <h5>{{obj.industry.properties.power.properties.expand.properties.coal.properties.ash_coal.name}}</h5><!--灰分--> <p> <a ng-repeat="o in obj.industry.properties.power.properties.expand.properties.coal.properties.ash_coal.option" ng-class="obj.industry.properties.power.properties.expand.properties.coal.properties.ash_coal.value!=o?'btss':'btss1'" ng-click="onPowerExpandAshCoal(o)" ng-bind="o" style="margin-right: 10px"></a> <input type="text" οnkeyup="this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')" ng-model="obj.industry.properties.power.properties.expand.properties.coal.properties.ash_coal.min"> - <input type="text" οnkeyup="this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')" ng-model="obj.industry.properties.power.properties.expand.properties.coal.properties.ash_coal.max"> <button class="btn btn-minier btn-yellow bt" ng-click="changeOption(obj.industry.properties.power.properties.expand.properties.coal.properties.ash_coal)">确定 </button> </p> </div> <!--燃煤--> <!--燃油--> <div ng-show="coalShow1"> <h5>{{obj.industry.properties.power.properties.expand.properties.sulfur_oil.sulfur.name}}</h5><!--含硫量--> <p> <a ng-repeat="o in obj.industry.properties.power.properties.expand.properties.sulfur_oil.sulfur.option" ng-class="obj.industry.properties.power.properties.expand.properties.sulfur_oil.sulfur.value!=o?'btss':'btss1'" ng-click="onPowerExpandOil(o)" ng-bind="o" style="margin-right: 10px"></a> <input type="text" οnkeyup="this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')" ng-model="obj.industry.properties.power.properties.expand.properties.sulfur_oil.sulfur.min"> - <input type="text" οnkeyup="this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')" ng-model="obj.industry.properties.power.properties.expand.properties.sulfur_oil.sulfur.max"> <button class="btn btn-minier btn-yellow bt" ng-click="changeOption(obj.industry.properties.power.properties.expand.properties.sulfur_oil.sulfur)">确定 </button> </p> </div> <!--燃油--> <h5>{{obj.industry.properties.power.properties.co_heated.name}}</h5><!--是否热电联产--> <p> <a ng-repeat="o in obj.industry.properties.power.properties.co_heated.option" ng-class="obj.industry.properties.power.properties.co_heated.value!=o.name?'btss':'btss1'" ng-click="onPowerHeated(o.name)" ng-bind="o.name" style="margin-right: 10px"></a> </p> <h5>{{obj.industry.properties.power.properties.Eta_SO2.name}}</h5><!--综合脱硫效率--> <p> <a ng-repeat="o in obj.industry.properties.power.properties.Eta_SO2.option" ng-class="obj.industry.properties.power.properties.Eta_SO2.value!=o?'btss':'btss1'" ng-click="onPowerSoEquip(o)" ng-bind="o" style="margin-right: 10px"></a> <input type="text" οnkeyup="this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')" ng-model="obj.industry.properties.power.properties.Eta_SO2.min"> - <input type="text" οnkeyup="this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')" ng-model="obj.industry.properties.power.properties.Eta_SO2.max"> <button class="btn btn-minier btn-yellow bt" ng-click="changeOption(obj.industry.properties.power.properties.Eta_SO2)">确定 </button> </p> <h5>{{obj.industry.properties.power.properties.Eta_NOx.name}}</h5><!--综合脱硝效率--> <p> <a ng-repeat="o in obj.industry.properties.power.properties.Eta_NOx.option" ng-class="obj.industry.properties.power.properties.Eta_NOx.value!=o?'btss':'btss1'" ng-click="onPowerNoEquip(o)" ng-bind="o" style="margin-right: 10px"></a> <input type="text" οnkeyup="this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')" ng-model="obj.industry.properties.power.properties.Eta_NOx.min"> - <input type="text" οnkeyup="this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')" ng-model="obj.industry.properties.power.properties.Eta_NOx.max"> <button class="btn btn-minier btn-yellow bt" ng-click="changeOption(obj.industry.properties.power.properties.Eta_NOx)">确定 </button> </p> <h5>{{obj.industry.properties.power.properties.dust_removal.name}}</h5><!--综合除尘效率--> <p> <a ng-repeat="o in obj.industry.properties.power.properties.dust_removal.option" ng-class="obj.industry.properties.power.properties.dust_removal.value!=o?'btss':'btss1'" ng-click="onPowerDust(o)" ng-bind="o" style="margin-right: 10px"></a> <input type="text" οnkeyup="this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')" ng-model="obj.industry.properties.power.properties.dust_removal.min"> - <input type="text" οnkeyup="this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')" ng-model="obj.industry.properties.power.properties.dust_removal.max"> <button class="btn btn-minier btn-yellow bt" ng-click="changeOption(obj.industry.properties.power.properties.dust_removal)">确定 </button> </p> </div> </div> <div class="tab-pane fade" id="steel"> <div class="mags"> <h5> {{obj.region.name}} </h5> <p> <span><a ng-bind="obj.region.limitName"></a></span><!--区县--> <span> <a ng-click="onSteelRegion('')" ng-class="obj.industry.properties.steel.properties.regionId.limit?'btss':'btss1'">不限</a> <a ng-repeat="r in obj.region.properties" ng-class="obj.industry.properties.steel.properties.regionId.value[r.name]?'btss1':'btss'" ng-click="onSteelRegion(r.name)" ng-bind="r.name" style="padding-right: 5px"></a> </span> </p> <h5>{{obj.industry.properties.steel.properties.unityear.name}}</h5><!--服役年限--> <p> <a ng-repeat="o in obj.industry.properties.steel.properties.unityear.option" ng-class="obj.industry.properties.steel.properties.unityear.value!=o?'btss':'btss1'" ng-click="onSteelUnitYear(o)" ng-bind="o" style="margin-right: 10px"></a> <input type="text" οnkeyup=" this.value=this.value.replace(/\D/g,'')" onafterpaste=" this.value=this.value.replace(/\D/g,'')" ng-model="obj.industry.properties.steel.properties.unityear.min"> - <input type="text" οnkeyup=" this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')" ng-model="obj.industry.properties.steel.properties.unityear.max"> <button class="btn btn-minier btn-yellow bt" ng-click="changeOption(obj.industry.properties.steel.properties.unityear)">确定 </button> </p> <h5>{{obj.industry.properties.steel.properties.process.name}}</h5><!--工序--> <p> <a ng-click="onSteelProcess('')" ng-class="obj.industry.properties.steel.properties.process.limit?'btss':'btss1'">不限</a> <a ng-repeat="o in obj.industry.properties.steel.properties.process.properties" ng-class="obj.industry.properties.steel.properties.process.value[o.name]?'btss1':'btss'" ng-click="onSteelProcess(o.name)" ng-bind="o.name" style="margin-right: 10px"></a> </p> <!--炼铁--> <div ng-show="sinterShow"> <h5> {{obj.industry.properties.steel.properties.process.properties.Asinter.properties.capacityAmount_frit.name}}</h5> <!--烧结-产能--> <p> <a ng-repeat="o in obj.industry.properties.steel.properties.process.properties.Asinter.properties.capacityAmount_frit.option" ng-class="obj.industry.properties.steel.properties.process.properties.Asinter.properties.capacityAmount_frit.value!=o?'btss':'btss1'" ng-click="onSteelProcessAsinter(o)" ng-bind="o" style="margin-right: 10px"></a> <input type="text" οnkeyup=" this.value=this.value.replace(/\D/g,'')" onafterpaste=" this.value=this.value.replace(/\D/g,'')" ng-model="obj.industry.properties.steel.properties.process.properties.Asinter.properties.capacityAmount_frit.min"> - <input type="text" οnkeyup=" this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')" ng-model="obj.industry.properties.steel.properties.process.properties.Asinter.properties.capacityAmount_frit.max"> <button class="btn btn-minier btn-yellow bt" ng-click="changeOption(obj.industry.properties.steel.properties.process.properties.Asinter.properties.capacityAmount_frit)">确定 </button> </p> <h5>{{obj.industry.properties.steel.properties.process.properties.Asinter.properties.deSO2_equip.name}}</h5> <!--脱硫设备--> <p> <a ng-repeat="o in obj.industry.properties.steel.properties.process.properties.Asinter.properties.deSO2_equip.option" ng-class="obj.industry.properties.steel.properties.process.properties.Asinter.properties.deSO2_equip.value!=o.name?'btss':'btss1'" ng-click="onSteelProcessAsinter1(o.name)" ng-bind="o.name" style="margin-right: 10px"></a> </p> </div> <div ng-show="steelEtaShow"><!--脱硫设备 综合脱硫--> <h5> {{obj.industry.properties.steel.properties.process.properties.Asinter.properties.deSO2_equip.option[1].properties.Eta_SO2.name}}</h5> <p> <a ng-repeat="o in obj.industry.properties.steel.properties.process.properties.Asinter.properties.deSO2_equip.option[1].properties.Eta_SO2.option" ng-class="obj.industry.properties.steel.properties.process.properties.Asinter.properties.deSO2_equip.option[1].properties.Eta_SO2.value!=o?'btss':'btss1'" ng-click="onSteelProcessAsinter2(o)" ng-bind="o" style="margin-right: 10px"></a> <input type="text" οnkeyup=" this.value=this.value.replace(/\D/g,'')" onafterpaste=" this.value=this.value.replace(/\D/g,'')" ng-model="obj.industry.properties.steel.properties.process.properties.Asinter.properties.deSO2_equip.option[1].properties.Eta_SO2.min"> - <input type="text" οnkeyup=" this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')" ng-model="obj.industry.properties.steel.properties.process.properties.Asinter.properties.deSO2_equip.option[1].properties.Eta_SO2.max"> <button class="btn btn-minier btn-yellow bt" ng-click="changeOption(obj.industry.properties.steel.properties.process.properties.Asinter.properties.deSO2_equip.option[1].properties.Eta_SO2)">确定 </button> </p> </div> <!--炼铁--> <!--炼焦 炼焦-产能--> <div ng-show="steelEtaShow1"> <h5> {{obj.industry.properties.steel.properties.process.properties.Bcoking.capacityAmount_coke.name}}</h5> <p> <a ng-repeat="o in obj.industry.properties.steel.properties.process.properties.Bcoking.capacityAmount_coke.option" ng-class="obj.industry.properties.steel.properties.process.properties.Bcoking.capacityAmount_coke.value!=o?'btss':'btss1'" ng-click="onSteelProcessAsinter3(o)" ng-bind="o" style="margin-right: 10px"></a> <input type="text" οnkeyup=" this.value=this.value.replace(/\D/g,'')" onafterpaste=" this.value=this.value.replace(/\D/g,'')" ng-model="obj.industry.properties.steel.properties.process.properties.Bcoking.capacityAmount_coke.min"> - <input type="text" οnkeyup=" this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')" ng-model="obj.industry.properties.steel.properties.process.properties.Bcoking.capacityAmount_coke.max"> <button class="btn btn-minier btn-yellow bt" ng-click="changeOption(obj.industry.properties.steel.properties.process.properties.Bcoking.capacityAmount_coke)">确定 </button> </p> </div> <!--炼焦 炼焦-产能--> <!--炼铁 产能 --> <div ng-show="steelEtaShow2"> <h5> {{obj.industry.properties.steel.properties.process.properties.Ironmaking.capacityAmount_iron.name}}</h5> <p> <a ng-repeat="o in obj.industry.properties.steel.properties.process.properties.Ironmaking.capacityAmount_iron.option" ng-class="obj.industry.properties.steel.properties.process.properties.Ironmaking.capacityAmount_iron.value!=o?'btss':'btss1'" ng-click="onSteelProcessIronmaking(o)" ng-bind="o" style="margin-right: 10px"></a> <input type="text" οnkeyup=" this.value=this.value.replace(/\D/g,'')" onafterpaste=" this.value=this.value.replace(/\D/g,'')" ng-model="obj.industry.properties.steel.properties.process.properties.Ironmaking.capacityAmount_iron.min"> - <input type="text" οnkeyup=" this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')" ng-model="obj.industry.properties.steel.properties.process.properties.Ironmaking.capacityAmount_iron.max"> <button class="btn btn-minier btn-yellow bt" ng-click="changeOption(obj.industry.properties.steel.properties.process.properties.Ironmaking.capacityAmount_iron)">确定 </button> </p> </div> <!--炼铁 产能 --> <!--炼钢 产能 --> <div ng-show="steelEtaShow3"> <h5> {{obj.industry.properties.steel.properties.process.properties.Steelmaking.capacityAmount_steel.name}}</h5> <p> <a ng-repeat="o in obj.industry.properties.steel.properties.process.properties.Steelmaking.capacityAmount_steel.option" ng-class="obj.industry.properties.steel.properties.process.properties.Steelmaking.capacityAmount_steel.value!=o?'btss':'btss1'" ng-click="onSteelProcessSteelmaking(o)" ng-bind="o" style="margin-right: 10px"></a> <input type="text" οnkeyup=" this.value=this.value.replace(/\D/g,'')" onafterpaste=" this.value=this.value.replace(/\D/g,'')" ng-model="obj.industry.properties.steel.properties.process.properties.Steelmaking.capacityAmount_steel.min"> - <input type="text" οnkeyup=" this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')" ng-model="obj.industry.properties.steel.properties.process.properties.Steelmaking.capacityAmount_steel.max"> <button class="btn btn-minier btn-yellow bt" ng-click="changeOption(obj.industry.properties.steel.properties.process.properties.Steelmaking.capacityAmount_steel)">确定 </button> </p> </div> <!--炼钢 产能 --> <!--综合除尘效率--> <h5> {{obj.industry.properties.steel.properties.dust_removal.name}}</h5> <p> <a ng-repeat="o in obj.industry.properties.steel.properties.dust_removal.option" ng-class="obj.industry.properties.steel.properties.dust_removal.value!=o?'btss':'btss1'" ng-click="onSteelDust(o)" ng-bind="o" style="margin-right: 10px"></a> <input type="text" οnkeyup=" this.value=this.value.replace(/\D/g,'')" onafterpaste=" this.value=this.value.replace(/\D/g,'')" ng-model="obj.industry.properties.steel.properties.dust_removal.min"> - <input type="text" οnkeyup=" this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')" ng-model="obj.industry.properties.steel.properties.dust_removal.max"> <button class="btn btn-minier btn-yellow bt" ng-click="changeOption(obj.industry.properties.steel.properties.dust_removal)">确定 </button> </p> </div> </div> <div class="tab-pane fade" id="cement"> <div class="mags"> <h5>{{obj.region.name}}</h5> <p> <span><a ng-bind="obj.region.limitName"></a></span><!--区县--> <span> <a ng-click="onCementRegion('')" ng-class="obj.industry.properties.cement.properties.regionId.limit?'btss':'btss1'">不限</a> <a ng-repeat="r in obj.region.properties" ng-class="obj.industry.properties.cement.properties.regionId.value[r.name]?'btss1':'btss'" ng-click="onCementRegion(r.name)" ng-bind="r.name" style="padding-right: 5px"></a> </span> </p> <!--设备类型--> <h5>{{obj.industry.properties.cement.properties.techProcess.name}}</h5> <p> <a ng-click="onCementTechProcess('')" ng-class="obj.industry.properties.cement.properties.techProcess.limit?'btss':'btss1'">不限</a> <a ng-repeat="o in obj.industry.properties.cement.properties.techProcess.option" ng-class="obj.industry.properties.cement.properties.techProcess.value[o]?'btss1':'btss'" ng-click="onCementTechProcess(o)" ng-bind="o" style="margin-right: 10px"></a> </p> <!--产能(吨 熟料/日)--> <h5>{{obj.industry.properties.cement.properties.capacityAmount.name}}</h5> <p> <a ng-repeat="o in obj.industry.properties.cement.properties.capacityAmount.option" ng-class="obj.industry.properties.cement.properties.capacityAmount.value!=o?'btss':'btss1'" ng-click="onCementCapacityAmount(o)" ng-bind="o" style="margin-right: 10px"></a> <input type="text" οnkeyup=" this.value=this.value.replace(/\D/g,'')" onafterpaste=" this.value=this.value.replace(/\D/g,'')" ng-model="obj.industry.properties.cement.properties.capacityAmount.min"> - <input type="text" οnkeyup=" this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')" ng-model="obj.industry.properties.cement.properties.capacityAmount.max"> <button class="btn btn-minier btn-yellow bt" ng-click="changeOption(obj.industry.properties.cement.properties.capacityAmount)">确定 </button> </p> <!--服役年限--> <h5>{{obj.industry.properties.cement.properties.unityear.name}}</h5> <p> <a ng-repeat="o in obj.industry.properties.cement.properties.unityear.option" ng-class="obj.industry.properties.cement.properties.unityear.value!=o?'btss':'btss1'" ng-click="onCementUnitYear(o)" ng-bind="o" style="margin-right: 10px"></a> <input type="text" οnkeyup=" this.value=this.value.replace(/\D/g,'')" onafterpaste=" this.value=this.value.replace(/\D/g,'')" ng-model="obj.industry.properties.cement.properties.unityear.min"> - <input type="text" οnkeyup=" this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')" ng-model="obj.industry.properties.cement.properties.unityear.max"> <button class="btn btn-minier btn-yellow bt" ng-click="changeOption(obj.industry.properties.cement.properties.unityear)">确定 </button> </p> <!--脱硝设备--> <h5>{{obj.industry.properties.cement.properties.Eta_NOx.name}}</h5> <p> <a ng-repeat="o in obj.industry.properties.cement.properties.Eta_NOx.option" ng-class="obj.industry.properties.cement.properties.Eta_NOx.value!=o?'btss':'btss1'" ng-click="onCementdeNOx_equip(o)" ng-bind="o" style="margin-right: 10px"></a> <input type="text" οnkeyup=" this.value=this.value.replace(/\D/g,'')" onafterpaste=" this.value=this.value.replace(/\D/g,'')" ng-model="obj.industry.properties.cement.properties.Eta_NOx.min"> - <input type="text" οnkeyup=" this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')" ng-model="obj.industry.properties.cement.properties.Eta_NOx.max"> <button class="btn btn-minier btn-yellow bt" ng-click="changeOption(obj.industry.properties.cement.properties.Eta_NOx)">确定 </button> </p> <!--脱硝设备 综合脱硝效率--> <!--综合脱硝效率--> <h5>{{obj.industry.properties.cement.properties.dust_removal.name}}</h5> <p> <a ng-repeat="o in obj.industry.properties.cement.properties.dust_removal.option" ng-class="obj.industry.properties.cement.properties.dust_removal.value!=o?'btss':'btss1'" ng-click="onCementDust_removal(o)" ng-bind="o" style="margin-right: 10px"></a> <input type="text" οnkeyup=" this.value=this.value.replace(/\D/g,'')" onafterpaste=" this.value=this.value.replace(/\D/g,'')" ng-model="obj.industry.properties.cement.properties.dust_removal.min"> - <input type="text" οnkeyup=" this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')" ng-model="obj.industry.properties.cement.properties.dust_removal.max"> <button class="btn btn-minier btn-yellow bt" ng-click="changeOption(obj.industry.properties.cement.properties.dust_removal)">确定 </button> </p> </div> </div> <div class="tab-pane fade" id="coking"> <div class="mags"> <h5>{{obj.region.name}}</h5> <p> <span><a ng-bind="obj.region.limitName"></a></span><!--区县--> <span> <a ng-click="onCokingRegion('')" ng-class="obj.industry.properties.coking.properties.regionId.limit?'btss':'btss1'">不限</a> <a ng-repeat="r in obj.region.properties" ng-class="obj.industry.properties.coking.properties.regionId.value[r.name]?'btss1':'btss'" ng-click="onCokingRegion(r.name)" ng-bind="r.name" style="padding-right: 5px"></a> </span> </p> <h5>{{obj.industry.properties.coking.properties.capacityAmount.name}}</h5><!--产能--> <p> <a ng-repeat="o in obj.industry.properties.coking.properties.capacityAmount.option" ng-class="obj.industry.properties.coking.properties.capacityAmount.value!=o?'btss':'btss1'" ng-click="onCokingCapacity(o)" ng-bind="o" style="margin-right: 10px"></a> <input type="text" οnkeyup=" this.value=this.value.replace(/\D/g,'')" onafterpaste=" this.value=this.value.replace(/\D/g,'')" ng-model="obj.industry.properties.coking.properties.capacityAmount.min"> - <input type="text" οnkeyup=" this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')" ng-model="obj.industry.properties.coking.properties.capacityAmount.max"> <button class="btn btn-minier btn-yellow bt" ng-click="changeOption(obj.industry.properties.coking.properties.capacityAmount)">确定 </button> </p> <h5>{{obj.industry.properties.coking.properties.unityear.name}}</h5><!--服役年限 --> <p> <a ng-repeat="o in obj.industry.properties.coking.properties.unityear.option" ng-class="obj.industry.properties.coking.properties.unityear.value!=o?'btss':'btss1'" ng-click="onCokingUnitYear(o)" ng-bind="o" style="margin-right: 10px"></a> <input type="text" οnkeyup=" this.value=this.value.replace(/\D/g,'')" onafterpaste=" this.value=this.value.replace(/\D/g,'')" ng-model="obj.industry.properties.coking.properties.unityear.min"> - <input type="text" οnkeyup=" this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')" ng-model="obj.industry.properties.coking.properties.unityear.max"> <button class="btn btn-minier btn-yellow bt" ng-click="changeOption(obj.industry.properties.coking.properties.unityear)">确定 </button> </p> <h5>{{obj.industry.properties.coking.properties.dust_removal.name}}</h5><!--综合除尘 --> <p> <a ng-repeat="o in obj.industry.properties.coking.properties.dust_removal.option" ng-class="obj.industry.properties.coking.properties.dust_removal.value!=o?'btss':'btss1'" ng-click="onCokingDustRemoval(o)" ng-bind="o" style="margin-right: 10px"></a> <input type="text" οnkeyup=" this.value=this.value.replace(/\D/g,'')" onafterpaste=" this.value=this.value.replace(/\D/g,'')" ng-model="obj.industry.properties.coking.properties.dust_removal.min"> - <input type="text" οnkeyup=" this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')" ng-model="obj.industry.properties.coking.properties.dust_removal.max"> <button class="btn btn-minier btn-yellow bt" ng-click="changeOption(obj.industry.properties.coking.properties.dust_removal)">确定 </button> </p> </div> </div> <div class="tab-pane fade" id="glass"> <div class="mags"> <h5>{{obj.region.name}}</h5> <p> <span><a ng-bind="obj.region.limitName"></a></span><!--区县--> <span> <a ng-click="onGlassRegion('')" ng-class="obj.industry.properties.glass.properties.regionId.limit?'btss':'btss1'">不限</a> <a ng-repeat="r in obj.region.properties" ng-class="obj.industry.properties.glass.properties.regionId.value[r.name]?'btss1':'btss'" ng-click="onGlassRegion(r.name)" ng-bind="r.name" style="padding-right: 5px"></a> </span> </p> <h5>{{obj.industry.properties.glass.properties.capacityAmount.name}}</h5><!--产能 --> <p> <a ng-repeat="o in obj.industry.properties.glass.properties.capacityAmount.option" ng-class="obj.industry.properties.glass.properties.capacityAmount.value!=o?'btss':'btss1'" ng-click="onGlassCapacity(o)" ng-bind="o" style="margin-right: 10px"></a> <input type="text" οnkeyup=" this.value=this.value.replace(/\D/g,'')" onafterpaste=" this.value=this.value.replace(/\D/g,'')" ng-model="obj.industry.properties.glass.properties.capacityAmount.min"> - <input type="text" οnkeyup=" this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')" ng-model="obj.industry.properties.glass.properties.capacityAmount.max"> <button class="btn btn-minier btn-yellow bt" ng-click="changeOption(obj.industry.properties.glass.properties.capacityAmount)">确定 </button> </p> <h5>{{obj.industry.properties.glass.properties.dust_removal.name}}</h5><!--综合除尘 --> <p> <a ng-repeat="o in obj.industry.properties.glass.properties.dust_removal.option" ng-class="obj.industry.properties.glass.properties.dust_removal.value!=o?'btss':'btss1'" ng-click="onGlassDustRemoval(o)" ng-bind="o" style="margin-right: 10px"></a> <input type="text" οnkeyup=" this.value=this.value.replace(/\D/g,'')" onafterpaste=" this.value=this.value.replace(/\D/g,'')" ng-model="obj.industry.properties.glass.properties.dust_removal.min"> - <input type="text" οnkeyup=" this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')" ng-model="obj.industry.properties.glass.properties.dust_removal.max"> <button class="btn btn-minier btn-yellow bt" ng-click="changeOption(obj.industry.properties.glass.properties.dust_removal)">确定 </button> </p> </div> </div> <div class="tab-pane fade" id="others"> <div class="mags"> <h5>{{obj.region.name}}</h5> <p> <span><a ng-bind="obj.region.limitName"></a></span><!--区县--> <span> <a ng-click="onOtherRegion('')" ng-class="obj.industry.properties.others.properties.regionId.limit?'btss':'btss1'">不限</a> <a ng-repeat="r in obj.region.properties" ng-class="obj.industry.properties.others.properties.regionId.value[r.name]?'btss1':'btss'" ng-click="onOtherRegion(r.name)" ng-bind="r.name" style="padding-right: 5px"></a> </span> </p> <h5>{{obj.industry.properties.others.properties.capacityAmount.name}}</h5><!--设备容量 --> <p> <a ng-repeat="o in obj.industry.properties.others.properties.capacityAmount.option" ng-class="obj.industry.properties.others.properties.capacityAmount.value!=o?'btss':'btss1'" ng-click="onOthersCapacity(o)" ng-bind="o" style="margin-right: 10px"></a> <input type="text" οnkeyup=" this.value=this.value.replace(/\D/g,'')" onafterpaste=" this.value=this.value.replace(/\D/g,'')" ng-model="obj.industry.properties.others.properties.capacityAmount.min"> - <input type="text" οnkeyup=" this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')" ng-model="obj.industry.properties.others.properties.capacityAmount.max"> <button class="btn btn-minier btn-yellow bt" ng-click="changeOption(obj.industry.properties.others.properties.capacityAmount)">确定 </button> </p> <h5>{{obj.industry.properties.others.properties.sulfur.name}}</h5><!--硫分 --> <p> <a ng-repeat="o in obj.industry.properties.others.properties.sulfur.option" ng-class="obj.industry.properties.others.properties.sulfur.value!=o?'btss':'btss1'" ng-click="onOthersSulfur(o)" ng-bind="o" style="margin-right: 10px"></a> <input type="text" οnkeyup=" this.value=this.value.replace(/\D/g,'')" onafterpaste=" this.value=this.value.replace(/\D/g,'')" ng-model="obj.industry.properties.others.properties.sulfur.min"> - <input type="text" οnkeyup=" this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')" ng-model="obj.industry.properties.others.properties.sulfur.max"> <button class="btn btn-minier btn-yellow bt" ng-click="changeOption(obj.industry.properties.others.properties.sulfur)">确定 </button> </p> <h5>{{obj.industry.properties.others.properties.ash.name}}</h5><!--灰分 --> <p> <a ng-repeat="o in obj.industry.properties.others.properties.ash.option" ng-class="obj.industry.properties.others.properties.ash.value!=o?'btss':'btss1'" ng-click="onOthersAsh(o)" ng-bind="o" style="margin-right: 10px"></a> <input type="text" οnkeyup=" this.value=this.value.replace(/\D/g,'')" onafterpaste=" this.value=this.value.replace(/\D/g,'')" ng-model="obj.industry.properties.others.properties.ash.min"> - <input type="text" οnkeyup=" this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')" ng-model="obj.industry.properties.others.properties.ash.max"> <button class="btn btn-minier btn-yellow bt" ng-click="changeOption(obj.industry.properties.others.properties.ash)">确定 </button> </p> <h5>{{obj.industry.properties.others.properties.Eta_SO2.name}}</h5> <!--脱硫 综合脱硫--> <p> <a ng-repeat="o in obj.industry.properties.others.properties.Eta_SO2.option" ng-class="obj.industry.properties.others.properties.Eta_SO2.value!=o?'btss':'btss1'" ng-click="onOthersDeSO2Equip(o)" ng-bind="o" style="margin-right: 10px"></a> <input type="text" οnkeyup=" this.value=this.value.replace(/\D/g,'')" onafterpaste=" this.value=this.value.replace(/\D/g,'')" ng-model="obj.industry.properties.others.properties.Eta_SO2.min"> - <input type="text" οnkeyup=" this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')" ng-model="obj.industry.properties.others.properties.Eta_SO2.max"> <button class="btn btn-minier btn-yellow bt" ng-click="changeOption(obj.industry.properties.others.properties.Eta_SO2)">确定 </button> </p> <h5>{{obj.industry.properties.others.properties.dust_removal.name}}</h5><!--综合除尘效率 --> <p> <a ng-repeat="o in obj.industry.properties.others.properties.dust_removal.option" ng-class="obj.industry.properties.others.properties.dust_removal.value!=o?'btss':'btss1'" ng-click="onOthersDustRemoval(o)" ng-bind="o" style="margin-right: 10px"></a> <input type="text" οnkeyup=" this.value=this.value.replace(/\D/g,'')" onafterpaste=" this.value=this.value.replace(/\D/g,'')" ng-model="obj.industry.properties.others.properties.dust_removal.min"> - <input type="text" οnkeyup=" this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')" ng-model="obj.industry.properties.others.properties.dust_removal.max"> <button class="btn btn-minier btn-yellow bt" ng-click="changeOption(obj.industry.properties.others.properties.dust_removal)">确定 </button> </p> </div> </div> </div></div></body></html>
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
提供的源码资源涵盖了Java应用等多个领域,每个领域都包含了丰富的实例和项目。这些源码都是基于各自平台的最新技术和标准编写,确保了在对应环境下能够无缝运行。同时,源码中配备了详细的注释和文档,帮助用户快速理解代码结构和实现逻辑。 适用人群: 适合毕业设计、课程设计作业。这些源码资源特别适合大学生群体。无论你是计算机相关专业的学生,还是对其他领域编程感兴趣的学生,这些资源都能为你提供宝贵的学习和实践机会。通过学习和运行这些源码,你可以掌握各平台开发的基础知识,提升编程能力和项目实战经验。 使用场景及目标: 在学习阶段,你可以利用这些源码资源进行课程实践、课外项目或毕业设计。通过分析和运行源码,你将深入了解各平台开发的技术细节和最佳实践,逐步培养起自己的项目开发和问题解决能力。此外,在求职或创业过程中,具备跨平台开发能力的大学生将更具竞争力。 其他说明: 为了确保源码资源的可运行性和易用性,特别注意了以下几点:首先,每份源码都提供了详细的运行环境和依赖说明,确保用户能够轻松搭建起开发环境;其次,源码中的注释和文档都非常完善,方便用户快速上手和理解代码;最后,我会定期更新这些源码资源,以适应各平台技术的最新发展和市场需求。 所有源码均经过严格测试,可以直接运行,可以放心下载使用。有任何使用问题欢迎随时与博主沟通,第一时间进行解答!

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值