modal-add-callrequester.html 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. <div class="modal-header">
  2. <div class="modal-title fontcolor-two fontsizes-14">{{title}}<button type="button" class="close pull-right" ng-click="cancel()">×</button></div>
  3. </div>
  4. <div class="modal-body margin-top-15 margin-left-15 margin-bottom-15 margin-right-15 addrequster">
  5. <form role="form" class="row">
  6. <div class="margin-left-30 margin-right-30 margin-top-20">
  7. <div class="margin-bottom-15 anline">
  8. <div class="pull-left openaddlable control-label fontcolor-two fontsizes-14">人员编号*:</div>
  9. <!-- <div class="col-md-7"> -->
  10. <!-- <input class="form-control" id="studentNo" name="studentNo" ng-model="requester.studentNo" placeholder="学工号" /> -->
  11. <select-input class="pull-right openaddinput" onChangeadd="onChangeadd()" requesdata="requesdata" showkey="account,name"></select-input>
  12. <!-- </div> -->
  13. </div>
  14. <div class="margin-bottom-15 anline">
  15. <div class="pull-left openaddlable control-label fontcolor-two fontsizes-14">姓名*:</div>
  16. <div class="pull-right openaddinput">
  17. <input class="form-control" id="name" name="name" ng-model="requester.name" placeholder="姓名" />
  18. </div>
  19. </div>
  20. <!-- <div class="margin-bottom-15 anline">
  21. <div class="pull-left openaddlable control-label fontcolor-two fontsizes-14">性别:</div>
  22. <div class="pull-right openaddinput">
  23. <div class="clip-radio radio-primary" style="margin-bottom: 0px;margin-top: 4px;">
  24. <input type="radio" id="female" ng-model="requester.gender.id" name="gender" value="1609" checked="checked">
  25. <label for="female">男</label>
  26. <input type="radio" id="male" ng-model="requester.gender.id" name="gender" value="1610" checked="checked">
  27. <label for="male">女</label>
  28. </div>
  29. </div>
  30. </div> -->
  31. <!-- <div class="margin-bottom-15 anline">
  32. <div class="pull-left openaddlable control-label fontcolor-two fontsizes-14">邮箱:</div>
  33. <div class="pull-right openaddinput">
  34. <input class="form-control" id="email" name="email" ng-model="requester.email" placeholder="邮箱" />
  35. </div>
  36. </div> -->
  37. <div class="margin-bottom-15 anline">
  38. <div class="pull-left openaddlable control-label fontcolor-two fontsizes-14">人员类型*:</div>
  39. <div class="pull-right openaddinput">
  40. <ui-select ng-model="requester.requesterType" theme="bootstrap" >
  41. <!-- <ui-select ng-model="requester.requesterTypeDTO" theme="bootstrap" ng-change="onChangeRequester(requester.requesterTypeDTO, options, this, $event ,model)"> -->
  42. <ui-select-match placeholder="选择人员类型">
  43. {{$select.selected.name}}
  44. </ui-select-match>
  45. <ui-select-choices repeat="item in networktypes | filter: $select.search">
  46. <div ng-bind-html="item.name | highlight: $select.search"></div>
  47. </ui-select-choices>
  48. </ui-select>
  49. </div>
  50. </div>
  51. <div class="margin-bottom-15 anline">
  52. <div class="pull-left openaddlable control-label fontcolor-two fontsizes-14" for="phone">联系电话*:</div>
  53. <div class="pull-right openaddinput">
  54. <input style="width:270px;float: left;" class="form-control" id="phone" name="phone" ng-model="requester.phone" placeholder="联系电话" />
  55. <span ng-click="requester.phone=requester.telephone" style="float: left;width:68px;background-color: #fff;height:30px;border:1px solid #ccc;border-radius: 5px;text-align: center;line-height: 30px;font-size: 14px;cursor: pointer;">来电替换</span>
  56. </div>
  57. </div>
  58. <div class="margin-bottom-15 anline">
  59. <div class="pull-left openaddlable control-label fontcolor-two fontsizes-14">座机号码:</div>
  60. <div class="pull-right openaddinput">
  61. <input style="padding:4px 12px;text-align: left" class="form-control" id="telephone" name="telephone" ng-model="requester.telephone" placeholder="座机号码" />
  62. <!-- <div class="form-control" style="padding:4px 12px;text-align: left">{{requester.telephone}}</div> -->
  63. </div>
  64. </div>
  65. <div class="margin-bottom-15 anline">
  66. <div class="pull-left openaddlable control-label fontcolor-two fontsizes-14">区域:</div>
  67. <div class="pull-right openaddinput">
  68. <ui-select ng-model="requester.place.area" theme="bootstrap" ng-change="onChange(requester.place.area)">
  69. <ui-select-match placeholder="区域">
  70. {{$select.selected.area}}
  71. </ui-select-match>
  72. <ui-select-choices repeat="item in areas | filter: $select.search">
  73. <div ng-bind-html="item.area | highlight: $select.search"></div>
  74. </ui-select-choices>
  75. </ui-select>
  76. </div>
  77. </div>
  78. <div class="margin-bottom-15 anline">
  79. <div class="pull-left openaddlable control-label fontcolor-two fontsizes-14">地点:</div>
  80. <div class="pull-right openaddinput">
  81. <ui-select ng-model="requester.place" theme="bootstrap" ng-change="onChangePlace(requester.place)">
  82. <ui-select-match placeholder="地点">
  83. {{$select.selected.place}}
  84. </ui-select-match>
  85. <ui-select-choices repeat="item in places" refresh="refresh($select.search)">
  86. <div ng-bind-html="item.place | highlight: $select.search"></div>
  87. </ui-select-choices>
  88. </ui-select>
  89. </div>
  90. </div>
  91. <div class="margin-bottom-15 anline" ng-if="isRoom">
  92. <div class="pull-left openaddlable control-label fontcolor-two fontsizes-14">房间号:</div>
  93. <div class="pull-right openaddinput">
  94. <ui-select ng-model="requester.room" theme="bootstrap">
  95. <ui-select-match placeholder="房间号">
  96. {{$select.selected.room}}
  97. </ui-select-match>
  98. <ui-select-choices repeat="item in rooms" refresh="refreshPlace()">
  99. <div ng-bind-html="item.room | highlight: $select.search"></div>
  100. </ui-select-choices>
  101. </ui-select>
  102. </div>
  103. </div>
  104. <div class="margin-bottom-15 anline">
  105. <div class="pull-left openaddlable control-label fontcolor-two fontsizes-14">详细地址:</div>
  106. <div class="pull-right openaddinput">
  107. <input class="form-control" id="houseNumber" name="houseNumber" ng-model="requester.houseNumber" placeholder="详细地址" />
  108. </div>
  109. </div>
  110. <!-- <div class="margin-bottom-15 anline">
  111. <div class="pull-left openaddlable control-label fontcolor-two fontsizes-14">备注:</div>
  112. <div class="pull-right openaddinput">
  113. <input class="form-control" id="remark" name="remark" ng-model="requester.remark" placeholder="备注" />
  114. </div>
  115. </div> -->
  116. </div>
  117. </form>
  118. </div>
  119. <div class="modal-footer">
  120. <button class="btn btn-addbutton addbutton" ng-click="ok()" translate="modal.button.OK">OK</button>
  121. <!-- <button class="btn btn-primary btn-o" ng-click="cancel()" translate="modal.button.CANCEL">Cancel</button> -->
  122. </div>