12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- <div class="modal" tabindex="-1" role="dialog">
- <div class="modal-dialog">
- <div class="card">
- <div class="header" dragable-header>
- <button type="button" class="close" ng-click="$hide()">×</button>
- <h3 class="modal-title">{{params.title}}</h3>
- </div>
- <div activate-input activate-select class="body">
- <form class="form-horizontal" role="form" id="dicItemform"
- name="dicItemform" ng-submit="saveData(dicItemform.$valid)" novalidate>
- <div class="dj-formtable">
- <table class="gt-table gt-table-bordered">
- <tr>
- <th>字典类型:</th>
- <td ng-class="{ 'has-error' : dicItemform.selectedDic.$invalid && (dicItemform.$submitted) }">
- <label class="input-group input-group-search">
- <input name="selectedDic" type="text" ng-model="selectDictionaryParams.selectedLabeData" class="form-control"
- required value={{selectDictionaryParams.selectedLabeData}} ng-readonly="true"/>
- <span class="input-group-addon" data-dataoptions="selectDictionaryParams" bsselectdata-pro ng-hide="readonly">
- <i class="glyphicon glyphicon-zoom-in" ></i>
- </span>
- </label>
- <span ng-show="dicItemform.selectedDic.$invalid && (dicItemform.$submitted)"
- class="help-block">请选择字典类型</span>
- </td>
- </tr>
- <tr>
- <th>元素名称:</th>
- <td colspan="3" ng-class="{ 'has-error' : this.dicItemform.name.$invalid && this.dicItemform.$submitted}">
- <input type="text"
- name="name" ng-model="dicItem.Name"
- class="form-control" ng-required="true" />
- <span ng-show="this.dicItemform.name.$invalid && this.dicItemform.$submitted"
- class="error">必填.</span>
- </td>
- </tr>
- <tr>
- <th>元素值:</th>
- <td colspan="3" ng-class="{ 'has-error' : this.dicItemform.value.$invalid && this.dicItemform.$submitted}">
- <input type="number"
- name="value" ng-model="dicItem.Value"
- class="form-control" ng-required="true" ng-readonly="readonly"/>
- <span ng-show="this.dicItemform.value.$invalid && this.dicItemform.$submitted"
- class="error">必填.</span>
- </td>
- </tr>
- <tr>
- <th>排序:</th>
- <td colspan="3" ng-class="{ 'has-error' : this.dicItemform.orderNo.$invalid && this.dicItemform.$submitted}">
- <input type="number"
- name="orderNo" ng-model="dicItem.OrderNo"
- class="form-control" ng-required="true" ng-readonly="readonly"/>
- <span ng-show="this.dicItemform.orderNo.$invalid && this.dicItemform.$submitted"
- class="error">必填.</span>
- </td>
- </tr>
- </table>
- </div>
- <div class="form_foot">
- <button type="button" class="btn btn-default" ng-click="$hide()">取消</button>
- <button type="submit" class="btn btn-primary" form="dicItemform">保存</button>
- </div>
- </form>
- </div>
- </div>
- </div>
- </div>
|