2
13693261870
2022-09-16 653761a31dfeb50dd3d007e892d69c90bf0cdafc
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml" xmlns:shiro="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8"/>
    <title></title>
 
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport"/>
    <link rel="stylesheet" th:href="@{${pubzyWebRoot} + 'BootStrap4/assets/css/style.css'}"/>
    <link rel="stylesheet" th:href="@{${pubzyWebRoot} + 'BootStrap4/expand/css/bootstrap-extract.css'}"/>
    <link th:href="@{${pubzyWebRoot} + 'media/css/pagination.css'}" type="text/css" rel="stylesheet"/>
    <link th:href="@{${pubzyWebRoot} + 'ext-4.2.1.883/resources/css/ext-all-neptune.css'}" rel="stylesheet"
          type="text/css"/>
    <!-- 表单样式  -->
    <script th:src="@{${pubzyWebRoot} + 'BootStrap4/assets/js/jquery.min.js'}"></script>
    <script th:src="@{${pubzyWebRoot} + 'BootStrap4/expand/plugins/layer/layer.js'}"></script>
    <script th:src="@{${pubzyWebRoot} + 'BootStrap4/assets/js/tether.min.js'}"></script>
    <script th:src="@{${pubzyWebRoot} + 'BootStrap4/assets/js/bootstrap.min.js'}"></script>
    <script th:src="@{${pubzyWebRoot} + 'jqPaginator/jqpaginator.min.js'}"></script>
    <script th:src="@{${pubzyWebRoot} + 'ext-4.2.1.883/ext-all.js'}"></script>
    <script th:src="@{${pubzyWebRoot} + 'ext-4.2.1.883/locale/ext-lang-zh_CN.js'}"></script>
    <script th:src="@{${pubzyWebRoot} + 'ext-4.2.1.883/PagingToolbar.js'}"></script>
    <script src="/js/Extjs/ResTheme/ResThemeModule.js"></script>
    <script src="/js/openresource.js"></script>
    <script th:src="@{${pubzyWebRoot} + 'media/js/winPro.js'}"></script>
    <style>
        .pagination > li {
            display: inline;
        }
 
        #tbSet th, td {
            white-space: nowrap;
            text-align: center !important;
        }
 
        .x-grid-view {
            overflow: hidden !important;
        }
 
        .x-body{
            overflow-x: hidden;
        }
    </style>
    <script th:inline="javascript">
        //清除
        function Clear() {
            document.getElementById("SearchForm").reset();
        }
 
        //查询
        function Search() {
            Ext.getCmp('gridexample').dockedItems.items[1].store.currentPage = 1;
            ThemeStore.load();
        }
 
        //设置地图
        function Add() {
            var selectList = new Map();
            $("input[name='moduleid']:checked").each(function () {
                selectList.set($(this).val(),$(this).attr("getname"));
            });
            if (selectList == null || selectList == undefined || selectList == "") {
                alert("请选择模块再点击确定按钮!");
            }
            else {
                var index = parent.layer.getFrameIndex(window.name); //获取窗口索引
                parent.showModuleName(1,selectList);
                parent.layer.close(index);
            }
        }
 
        function updateMould(id) {
            layer.open({
                type: 2,
                title: "修改模块",
                shadeClose: true,
                area: ["900px", "600px"],
                content: "AddResThemeModule?moduleid=" + id
            })
        };
 
        //新增微件
        function AddMould() {
            if(parent.$("#resourceid").val() == "" || parent.$("#resourceid").val() == 0){
                alert("请选择专题地图!");
                return;
            }
            layer.open({
                type: 2,
                title: "新增微件",
                shadeClose: true,
                area: ["900px", "600px"],
                content: "/res/ResThemeModule/AddResThemeModule"
            })
        };
    </script>
</head>
<body>
<div id="rapp" shiro:hasPermission="org_user_admin">
    <input type="hidden" id="selectIds" th:value="${selectIds}" />
    <div>
        <div class="panel panel-default">
            <div class="panel-heading" style="background-color: #b1d1fd;">
                <i class="fa fa-reorder"></i>查询区
            </div>
            <div class="panel-body SearchBox">
                <form id="SearchForm">
                    <div class="row">
                        <div class="col-sm-5 DivHeight">
                            <label class="control-label">微件名称</label>
                            <div class="controls">
                                <input type="text" class="form-control" id="title" name="title"/>
                            </div>
                        </div>
                        <a class="btn btn-primary-outline" onclick="Search();" style="height: 33px;"><i class="fa fa-search"></i>&nbsp;查询</a>
                    <!--</div>-->
                    <!--<div class="row" style="display:block;">-->
                        <!--<div style="padding-left: 0.75em; float: left;"><a class="btn btn-success" onclick="AddMould();"><i class="fa fa-plus"></i>&nbsp;新增</a></div>-->
                        <div style="position: absolute;right: 1.75em;">
                            <a class="btn btn-primary-outline" onclick="AddMould();" style="height: 33px;"><i class="fa fa-plus"></i>&nbsp;新增</a>
                            <a class="btn btn-primary-outline" onclick="Add();" style="height: 33px;"><i class="fa fa-check"></i>&nbsp;确定</a>
                        </div>
                    </div>
                </form>
            </div>
        </div>
        <div id="grid" style="width: 100%"></div>
 
    </div>
</div>
</body>
</html>