123456789101112131415161718192021222324252627282930313233343536373839 |
- <div class="panel">
- <div class="panel-body" style="padding:0px">
- <div class="form-group col-xs-12" ng-class={'has-error':showError} ng-model="model[options.key].id">
- <div class="input-group col-xs-6">
- <div class="col-xs-6">
- <label class="control-label">工作组</label>
-
- <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">
- <ui-select-match placehoslder="{{to.placeholder}}">
- {{$select.selected.groupName}}
- </ui-select-match>
- <ui-select-choices uiDisableChoice="option.disabled" repeat="option as option in multipleDemo" refresh="to.refresh($select.search, options)" refresh-delay="{{to.refreshDelay}}">
- <div ng-bind-html="option.groupName | highlight: $select.search"></div>
- </ui-select-choices>
- </ui-select>
- </div>
- <div class="col-xs-6">
- <label class="control-label">技术人员</label>
-
- <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">
- <ui-select-match placeholder="{{to.placeholder}}">
- {{$select.selected.name}}
- </ui-select-match>
- <ui-select-choices uiDisableChoice="option.disabled" repeat="option as option in userdata" refresh="to.refresh($select.search, options)" refresh-delay="{{to.refreshDelay}}">
- <div ng-bind-html="option.name"></div>
- </ui-select-choices>
- </ui-select>
- </div>
- </div>
- </div>
- </div>
- </div>
|