zoukankan      html  css  js  c++  java
  • angularJs select

    方式一:
    <label>性别:</label>   
    <select id="sex" class="PatientInfo-text" ng-model="patient.Sex" ng-options="x.Name for x in SexTypes">
    </select>
    
    方式二
       <label>年龄:</label>
                    <input type="number" style=" 7.6%" ng-model="applyForm.Age" min="0" step="1" required />
                    <select ng-model="applyForm.AgeUnit" style=" 3.3%">
                        <option value="岁" selected="selected">岁</option>
                        <option value="月">月</option>
                        <option value="周">周</option>
                        <option value="天">天</option>
                        <option value="时">时</option>
                    </select>
    
    方式三:
     <label for="report.LibType">库类别:</label>
                    <select ng-model="LibType" class="Apply-text" ng-options="LibType.Name for LibType in LibTypes" ng-change="libTypeChanged(LibType);">
                        <option value="">-- 请选择 --</option>
                    </select>
    
    方式四:
     <label>民族:</label>
                    <select class="PatientInfo-text" ng-model="patient.Nationality.InstanceId">
                        <option ng-repeat="NationType in NationTypes" value="{{NationType.InstanceId}}">{{NationType.Name}}</option>
                    </select>
    
    ==》
       <label>病人来源:</label>
                    <select ng-model="applyForm.PatientSource.InstanceId" class="PatientInfo-text">
                        <option ng-repeat="PatientSource in PatientSources" value="{{PatientSource.InstanceId}}">{{PatientSource.Name}}</option>
                    </select>
    
    ==》
    <label>费别:</label>
                    <select ng-model="applyForm.ChargeTypeId" class="Select-text">
                        <option ng-repeat="ChargeType in ChargeTypes" value="{{ChargeType.InstanceId}}">{{ChargeType.Name}}</option>
                    </select>
    

      

  • 相关阅读:
    UVa 10118 记忆化搜索 Free Candies
    CodeForces 568B DP Symmetric and Transitive
    UVa 11695 树的直径 Flight Planning
    UVa 10934 DP Dropping water balloons
    CodeForces 543D 树形DP Road Improvement
    CodeForces 570E DP Pig and Palindromes
    HDU 5396 区间DP 数学 Expression
    HDU 5402 模拟 构造 Travelling Salesman Problem
    HDU 5399 数学 Too Simple
    CodeForces 567F DP Mausoleum
  • 原文地址:https://www.cnblogs.com/YYkun/p/6245662.html
Copyright © 2011-2022 走看看