function.html 4.5 KB
<div class="wrapper wrapper-content animated fadeInRight  wo-wrap">
  <div class="ibox relative">
    <div class="ibox-title clearfix">
      <div class="row">
        <form class="form-inline col-lg-10" role="form" ng-submit="functionListForm();">

          <div class="form-group">
            <label class="control-label">菜单:</label>
            <ui-select class="a_select pd0" ng-model="$parent.firsrMenuCode" name="firsrMenuCode" theme="select2" style="width:180px;" required ng-change="changeMenu(1)">
              <ui-select-match placeholder="请选择">
                <span ng-bind="$select.selected.name"></span>
              </ui-select-match>
              <ui-select-choices repeat="item in ($root.curUserMenuClassList | filter:{name:$select.search}) track by item.code">
                <span ng-bind="item.name"></span>
              </ui-select-choices>
            </ui-select>
            <ui-select class="a_select pd0" ng-model="$parent.secondMenuCode" theme="select2" style="width:180px;" ng-show="firsrMenuCode.sublist.length > 0" ng-change="changeMenu(2)">
              <ui-select-match placeholder="选择">
                <span ng-bind="$select.selected.name"></span>
              </ui-select-match>
              <ui-select-choices repeat="item in (firsrMenuCode.sublist | filter:{name:$select.search}) track by item.code">
                <span ng-bind="item.name"></span>
              </ui-select-choices>
            </ui-select>
            <ui-select class="a_select pd0" ng-model="$parent.thirdMenuCode" theme="select2" style="width:180px;" ng-show="secondMenuCode.sublist.length > 0" ng-change="changeMenu(3)">
              <ui-select-match placeholder="选择分类">
                <span ng-bind="$select.selected.name"></span>
              </ui-select-match>
              <ui-select-choices repeat="item in (secondMenuCode.sublist | filter:{name:$select.search}) track by item.code">
                <span ng-bind="item.name"></span>
              </ui-select-choices>
            </ui-select>
          </div>
          <div class="form-group">
            <label class="control-label">功能名称:</label>
            <input type="text" class="form-control sys-search-input" maxlength="10" ng-model="functionName">
          </div>
          <div class="form-group">
            <label class="control-label">功能属性类型:</label>
            <select class="form-control a_select mt3" ng-model="functionAttrType" style="width:180px;">
		                    <option value="" selected>全部</option>
		                    <option value="1">文本输入框</option>
		                    <option value="2">单项选择框</option>
		                    <option value="3">按钮</option>
		                    <option value="4">文本输入框(属性限制)</option>
		                    <option value="5">后台业务开关</option>
		                </select>
          </div>
          <div class="form-group">
            <label class="control-label">用户群体:</label>
            <select class="form-control a_select mt3" ng-model="userLimitType" style="width:150px;">
		                    <option value="" selected>全部</option>
		                    <option value="0">指定角色</option>
		                    <option value="1">用户类型</option>
		                   	<option value="2">指定用户ID</option>
		                   	<option value="3">所属商户用户类型</option>
		                </select>
          </div>
          <!-- <div class="form-group fl">
		                <select class="form-control a_select mt3" ng-model="fieldName" style="width:120px;">
		                    <option value="-1" selected>无排序值</option>
		                    <option value="1">降序排序</option>
		                    <option value="2">升序排序</option>
		                </select>
		                <input type="text" class="form-control a_ipt mt3" ng-model="fieldText" style="width:120px;"/>
          			 </div> -->
          <div class="form-group">
            <button type="submit" class="btn btn-primary">查询</button>
          </div>
        </form>
      </div>
    </div>
  </div>
  <div class="ibox relative">
    <div class="ibox-title">
      <p class="ibox-ctrl form-inline">
        <button class="btn btn-primary" ng-click="functionAddOrUpdate()">新增功能</button>
      </p>
    </div>
    <div class="ibox-content table-container">
      <div process-datatable dt-options="dtOptions" dt-instance="dtInstance" dt-columns="dtColumns" condition="condition" />
    </div>
  </div>
</div>