AngularAdmin - AngularJS 管理 UI
jopen
10年前
AngularAdmin 是 AngularJS 管理 UI,包括:
-
组件(所有控件)
-
过滤器(常规过滤器)
-
服务(常规服务)s
-
模版(自定义控件模版)
-
admin.js 条目文件
表单 UI
<ui-form column="1"> <ui-form-input label="normal" placeholder="abc" help="help" model="ccc" ></ui-form-input> <ui-form-date label="date" placeholder="abc" help="help" model="aaa"></ui-form-date> <ui-form-select label="select"> <option value="a">aa</option> <option value="a">aa</option> </ui-form-select> <ui-form-switch label="switch" name="qqq" on-value="1" off-value="2" on-text="123" off-text="321"></ui-form-switch> <ui-form-region label="region"></ui-form-region> <ui-form-user-select label="user"></ui-form-user-select> <ui-form-textarea label="<span style='color:red'>*</span> textarea:"></ui-form-textarea> </ui-form>
搜索表单
<ui-search-form> <ui-search-input class="input-medium" label="测试" name="test"></ui-search-input> <ui-search-select name="test2"> <option value="aaa">创建人</option> <option value="bbbb">沟通人</option> </ui-search-select> <ui-search-input-select> <option value="aaa">联系方式</option> <option value="bbbb">客户姓名</option> </ui-search-input-select> <ui-search-multi-select tip="xxxxx"> <option value="aaa">联系方式</option> <option value="bbbb">客户姓名</option> <option value="ccc">联系方式</option> <option value="ddd">客户姓名</option> </ui-search-multi-select> <ui-search-date class="input-medium" label="日期" name="test3"></ui-search-date> <ui-search-region mode="c" label="区域" name="asdasd22"></ui-search-region> <ui-search-user-select class="input-medium" label="用户"></ui-search-user-select> <ui-search-date-range label="注册时间"></ui-search-date-range> </ui-search-form>
工具栏和表格
<ui-table url="/test" edit-url="/test"> <ui-table-check-column name="a"></ui-table-check-column> <ui-table-column head="checkbox" name="a" editable="region"></ui-table-column> <ui-table-progress-column head="progress" name="a"></ui-table-progress-column> <ui-table-image-column head="image" name="ww"></ui-table-image-column> <ui-table-date-column head="date" name="e" ></ui-table-date-column> <ui-table-state-column hred="state" name="f" default="0" > <span class='label label-sm label-default' state="0" style='background-color:red !important'>0</span> <span class='label label-sm label-default' state="1" style='background-color:green !important'>1</span> </ui-table-state-column> <ui-table-operation-column head="opertion"> <a class="btn btn-sm default" href="javascript:;" ng-click="managePotential()"><iclass="fa fa-cogs"></i></a> <a class="btn btn-sm default" href="javascript:;" ng-click="assignPotential()"><i class="fa fa-hand-o-right"></i></a> <a class="btn btn-sm default" href="javascript:;" ng-click="editContact()"><i class="fa fa-comments-o"></i></a> <a class="btn btn-sm default" href="javascript:;" ng-click="assignClaim()"><i class=" fa fa-chain"></i></a> <a class="btn btn-sm default " href="javascript:;" ng-click="assignRelease()"><i class=" fa fa-chain-broken"></i></a> </ui-table-operation-column> </ui-table>
树
<ui-tree url="/region" expand="1" on-click="treeTwoClick"></ui-tree>