123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- <div class="modal" tabindex="-1" role="dialog">
- <div class="modal-dialog" role="document" style="width: 500px;">
- <div class="modal-content">
- <div class="panel-heading modal-header" dragable-header>
- <button type="button" class="close" ng-click="$hide()">×</button>
- <h3 class="modal-title">{{title}}</h3>
- </div>
- <form class="form-horizontal formtable1 panel-body modal-body"
- ng-submit="save(editForm.$valid)" role="form" id="editForm"
- name="editForm" style="padding: 10px; margin: 10px;" novalidate>
- <table class="gt-table gt-table-bordered">
- <tr>
- <th th-bind title="'关联用户'" required="false"></th>
- <td colspan="3">
- <div class="input-group input-group-search">
- <select boots-select class="form-control show-tick"
- ng-model="user.EmployeeId"
- data-live-search="true" option-datas="employeeList"
- ng-options="type.EmployeeId as type.Name for type in employeeList">
- <option value="" selected>--创建内部员工用户,请选择此项--</option>
- </select>
- </div>
- </td>
- </tr>
- <tr>
- <th th-bind title="'集团主账号'" required="true"></th>
- <td colspan="3" ng-class="{ 'has-error' : this.userform.CmWorkLinkAccountPsid.$invalid && this.userform.$submitted}">
- <input type="text"
- name="CmWorkLinkAccountPsid" ng-model="user.CmWorkLinkAccountPsid"
- class="form-control" ng-required="true" />
- <span ng-show="this.userform.CmWorkLinkAccountPsid.$invalid && this.userform.$submitted"
- class="error">必填.</span>
- </td>
- </tr>
- <tr>
- <th th-bind title="'用户名'" required="true"></th>
- <td colspan="3" ng-class="{ 'has-error' : this.userform.name.$invalid && this.userform.$submitted}">
- <input type="text"
- name="name" ng-model="user.Name"
- class="form-control" ng-required="true" />
- <span ng-show="this.userform.name.$invalid && this.userform.$submitted"
- class="error">必填.</span>
- </td>
- </tr>
- <tr>
- <th th-bind title="'登录账号'" required="true"></th>
- <td colspan="3" ng-class="{ 'has-error' : this.userform.loginID.$invalid && this.userform.$submitted}">
- <input type="text"
- name="loginID" ng-model="user.LoginID"
- class="form-control" ng-required="true" />
- <span ng-show="this.userform.loginID.$invalid && this.userform.$submitted"
- class="error">必填.</span>
- </td>
- </tr>
- <tr>
- <th th-bind title="'状态'" required="true"></th>
- <td colspan="4" ng-class="{ 'has-error' : this.editForm.recordStatus.$invalid && this.editForm.$submitted}">
- <select class="form-control show-tick" name="recordStatus"
- ng-model="user.RecordStatus"
- ng-options="type.dickey as type.dicvalue for type in recordStatusList"
- ng-required="true">
- </select>
- <span ng-show="this.editForm.recordStatus.$invalid && this.editForm.$submitted"
- class="error">必填.</span>
- </td>
- </tr>
- </table>
- <div class="form_foot" id="buttons" style="text-align:center">
- <button id="submit" class="btn btn-default1" style="padding:4px 20px 4px 20px" type="submit"
- form="editForm">
- 保存
- </button>
- <button id="cancel" type="button" class="btn btn-default" style="padding:4px 20px 4px 20px"
- ng-click="$hide()">
- 取消
- </button>
- </div>
- </form>
- </div>
- </div>
- </div>
|