function.html
4.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<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>