ui-apiontperson.html 5.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. <!-- <div class="panel">
  2. <div class="panel-body" style="padding:0px">
  3. <div class="form-group col-xs-12" ng-class={'has-error':showError} ng-model="model[options.key].id">
  4. <div class="input-group col-xs-6">
  5. <div class="col-xs-6">
  6. <label class="control-label">工作组</label>
  7. <ui-select ng-model="option" theme="bootstrap" ng-required="{{to.required}}"
  8. ng-change="to['onChange'](id, options, this, $event ,model);"
  9. ng-disabled="to.disabled" reset-search-input="false">
  10. <ui-select-match placehoslder="{{to.placeholder}}">
  11. {{$select.selected.groupName}}
  12. </ui-select-match>
  13. <ui-select-choices uiDisableChoice="option.disabled" repeat="option as option in multipleDemo" refresh="to.refresh($select.search, options)" refresh-delay="{{to.refreshDelay}}">
  14. <div ng-bind-html="option.groupName | highlight: $select.search"></div>
  15. </ui-select-choices>
  16. </ui-select>
  17. </div>
  18. <div class="col-xs-6">
  19. <label class="control-label">技术人员</label>
  20. <ui-select ng-model="id" theme="bootstrap" ng-required="{{to.required}}"
  21. ng-change="to['onChange'](id, options, this, $event ,model);"
  22. ng-disabled="to.disabled" reset-search-input="false">
  23. <ui-select-match placeholder="{{to.placeholder}}">
  24. {{$select.selected.name}}
  25. </ui-select-match>
  26. <ui-select-choices uiDisableChoice="option.disabled" repeat="option as option in userdata" refresh="to.refresh($select.search, options)" refresh-delay="{{to.refreshDelay}}">
  27. <div ng-bind-html="option.name"></div>
  28. </ui-select-choices>
  29. </ui-select>
  30. </div>
  31. </div>
  32. </div>
  33. </div>
  34. </div> -->
  35. <!-- <div class="" style="padding-top: 8px;">
  36. <label class="control-label">工作组</label>
  37. <ui-select ng-model="option" theme="bootstrap" ng-required="{{to.required}}" ng-change="to['onChange'](id, options, this, $event ,model);" ng-disabled="to.disabled" reset-search-input="false">
  38. <ui-select-match placehoslder="{{to.placeholder}}">
  39. {{$select.selected.groupName}}
  40. </ui-select-match>
  41. <ui-select-choices uiDisableChoice="option.disabled" repeat="option as option in multipleDemo" refresh="to.refresh($select.search, options)" refresh-delay="{{to.refreshDelay}}">
  42. <div ng-bind-html="option.groupName | highlight: $select.search"></div>
  43. </ui-select-choices>
  44. </ui-select>
  45. </div>
  46. <div class="">
  47. <label class="control-label">技术人员</label>
  48. <ui-select ng-model="id" theme="bootstrap" ng-required="{{to.required}}" ng-change="to['onChange'](id, options, this, $event ,model);" ng-disabled="to.disabled" reset-search-input="false">
  49. <ui-select-match placeholder="{{to.placeholder}}">
  50. {{$select.selected.name}}
  51. </ui-select-match>
  52. <ui-select-choices uiDisableChoice="option.disabled" repeat="option as option in userdata" refresh="to.refresh($select.search, options)" refresh-delay="{{to.refreshDelay}}">
  53. <div ng-bind-html="option.name"></div>
  54. </ui-select-choices>
  55. </ui-select>
  56. </div> -->
  57. <div class="ui-handler-style">
  58. <div>
  59. <div class="normal-label-text">
  60. <span ng-class="{'labelColor':to.required}">指派人的工作组</span>
  61. </div>
  62. <ui-select ng-model="option" theme="bootstrap" ng-required="{{to.required}}" ng-change="to['onChange'](id, options, this, $event ,model);" ng-disabled="to.disabled" reset-search-input="false">
  63. <ui-select-match placehoslder="{{to.placeholder}}">
  64. {{$select.selected.groupName}}
  65. </ui-select-match>
  66. <ui-select-choices uiDisableChoice="option.disabled" repeat="option as option in multipleDemo" refresh="to.refresh($select.search, options)" refresh-delay="{{to.refreshDelay}}">
  67. <div ng-bind-html="option.groupName | highlight: $select.search"></div>
  68. </ui-select-choices>
  69. </ui-select>
  70. </div>
  71. <div>
  72. <div class="normal-label-text">
  73. <span ng-class="{'labelColor':to.required}">被指派的人</span>
  74. </div>
  75. <ui-select ng-model="id" theme="bootstrap" ng-required="{{to.required}}" ng-change="to['onChange'](id, options, this, $event ,model);" ng-disabled="to.disabled" reset-search-input="false">
  76. <ui-select-match placeholder="{{to.placeholder}}">
  77. {{$select.selected.name}}
  78. </ui-select-match>
  79. <ui-select-choices uiDisableChoice="option.disabled" repeat="option as option in userdata" refresh="to.refresh($select.search, options)" refresh-delay="{{to.refreshDelay}}">
  80. <div ng-bind-html="option.name"></div>
  81. </ui-select-choices>
  82. </ui-select>
  83. </div>
  84. </div>