Bladeren bron

自来水用户基本信息

“你lipengggit config --global user.name “你的名lipeng““ 3 jaren geleden
bovenliggende
commit
d5a5a8545b

+ 91 - 0
mybusiness/src/main/resources/templates/system/yhjbxx/add.html

@@ -0,0 +1,91 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
+<head>
+    <th:block th:include="include :: header('新增自来水人员基本信息')" />
+</head>
+<body class="white-bg">
+    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
+        <form class="form-horizontal m" id="form-yhjbxx-add">
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">推送时间:</label>
+                <div class="col-sm-8">
+                    <input name="cdTime" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">批次号:</label>
+                <div class="col-sm-8">
+                    <input name="cdBatch" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">操作状态:</label>
+                <div class="col-sm-8">
+                    <input name="cdOperation" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">数据来源:</label>
+                <div class="col-sm-8">
+                    <input name="cdSource" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">用户编号:</label>
+                <div class="col-sm-8">
+                    <input name="yhbh" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">用户名称:</label>
+                <div class="col-sm-8">
+                    <input name="yhmc" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">用户地址:</label>
+                <div class="col-sm-8">
+                    <input name="yhdz" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">用水月份:</label>
+                <div class="col-sm-8">
+                    <input name="ysyf" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">用水量:</label>
+                <div class="col-sm-8">
+                    <input name="ysl" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">是否缴费:</label>
+                <div class="col-sm-8">
+                    <input name="sfjf" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">缴费时间:</label>
+                <div class="col-sm-8">
+                    <input name="jfsj" class="form-control" type="text">
+                </div>
+            </div>
+        </form>
+    </div>
+    <th:block th:include="include :: footer" />
+    <script th:inline="javascript">
+        var prefix = ctx + "system/yhjbxx"
+        $("#form-yhjbxx-add").validate({
+            focusCleanup: true
+        });
+
+        function submitHandler() {
+            if ($.validate.form()) {
+                $.operate.save(prefix + "/add", $('#form-yhjbxx-add').serialize());
+            }
+        }
+    </script>
+</body>
+</html>

+ 35 - 0
mybusiness/src/main/resources/templates/system/yhjbxx/detail.html

@@ -0,0 +1,35 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
+<head>
+	<th:block th:include="include :: header('用户基本信息详细')" />
+	<th:block th:include="include :: jsonview-css" />
+</head>
+<body class="white-bg">
+	<div class="wrapper wrapper-content animated fadeInRight ibox-content">
+		<form class="form-horizontal m" id="form-yhjbxx-edit" th:object="${tGuijiHousingconstructionYhjbxx}">
+		<div class="form-group">
+			<label class="col-sm-2 control-label">用户编号:</label>
+			<div class="form-control-static" th:text="*{yhbh}">
+			</div>
+		</div>
+		<div class="form-group">
+			<label class="col-sm-2 control-label">用户名称:</label>
+			<div class="form-control-static" th:text="*{yhmc}">
+			</div>
+		</div>
+		<div class="form-group">
+			<label class="col-sm-2 control-label">用户地址:</label>
+			<div class="form-control-static" th:text="*{yhdz}">
+			</div>
+		</div>
+		<div class="form-group">
+			<label class="col-sm-2 control-label">数据归集时间:</label>
+			<div class="form-control-static" th:text="*{cdTime}">
+			</div>
+		</div>
+	</form>
+    </div>
+    <th:block th:include="include :: footer" />
+    <th:block th:include="include :: jsonview-js" />
+</body>
+</html>

+ 98 - 0
mybusiness/src/main/resources/templates/system/yhjbxx/edit.html

@@ -0,0 +1,98 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
+<head>
+    <th:block th:include="include :: header('用户基本信息')" />
+</head>
+<body class="white-bg">
+    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
+        <form class="form-horizontal m" id="form-yhjbxx-edit" th:object="${tGuijiHousingconstructionYhjbxx}">
+            <input name="id" th:field="*{id}" type="hidden">
+            <!--<div class="form-group">    -->
+                <!--<label class="col-sm-3 control-label">推送时间:</label>-->
+                <!--<div class="col-sm-8">-->
+                    <!--<input name="cdTime" th:field="*{cdTime}" class="form-control" type="text">-->
+                <!--</div>-->
+            <!--</div>-->
+            <!--<div class="form-group">    -->
+                <!--<label class="col-sm-3 control-label">批次号:</label>-->
+                <!--<div class="col-sm-8">-->
+                    <!--<input name="cdBatch" th:field="*{cdBatch}" class="form-control" type="text">-->
+                <!--</div>-->
+            <!--</div>-->
+            <!--<div class="form-group">    -->
+                <!--<label class="col-sm-3 control-label">操作状态:</label>-->
+                <!--<div class="col-sm-8">-->
+                    <!--<input name="cdOperation" th:field="*{cdOperation}" class="form-control" type="text">-->
+                <!--</div>-->
+            <!--</div>-->
+            <!--<div class="form-group">    -->
+                <!--<label class="col-sm-3 control-label">数据来源:</label>-->
+                <!--<div class="col-sm-8">-->
+                    <!--<input name="cdSource" th:field="*{cdSource}" class="form-control" type="text">-->
+                <!--</div>-->
+            <!--</div>-->
+            <div class="form-group">
+                <label class="col-sm-3 control-label">用户编号:</label>
+                <div class="col-sm-8">
+                    <input name="yhbh" th:field="*{yhbh}" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">用户名称:</label>
+                <div class="col-sm-8">
+                    <input name="yhmc" th:field="*{yhmc}" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">用户地址:</label>
+                <div class="col-sm-8">
+                    <input name="yhdz" th:field="*{yhdz}" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">
+                <label class="col-sm-3 control-label">推送时间:</label>
+                <div class="col-sm-8">
+                    <input name="cdTime" th:field="*{cdTime}" class="form-control" type="text">
+                </div>
+            </div>
+            <!--<div class="form-group">    -->
+                <!--<label class="col-sm-3 control-label">用水月份:</label>-->
+                <!--<div class="col-sm-8">-->
+                    <!--<input name="ysyf" th:field="*{ysyf}" class="form-control" type="text">-->
+                <!--</div>-->
+            <!--</div>-->
+            <!--<div class="form-group">    -->
+                <!--<label class="col-sm-3 control-label">用水量:</label>-->
+                <!--<div class="col-sm-8">-->
+                    <!--<input name="ysl" th:field="*{ysl}" class="form-control" type="text">-->
+                <!--</div>-->
+            <!--</div>-->
+            <!--<div class="form-group">    -->
+                <!--<label class="col-sm-3 control-label">是否缴费:</label>-->
+                <!--<div class="col-sm-8">-->
+                    <!--<input name="sfjf" th:field="*{sfjf}" class="form-control" type="text">-->
+                <!--</div>-->
+            <!--</div>-->
+            <!--<div class="form-group">    -->
+                <!--<label class="col-sm-3 control-label">缴费时间:</label>-->
+                <!--<div class="col-sm-8">-->
+                    <!--<input name="jfsj" th:field="*{jfsj}" class="form-control" type="text">-->
+                <!--</div>-->
+            <!--</div>-->
+        </form>
+    </div>
+    <!--<th:block th:include="include :: footer" />-->
+    <!--<script th:inline="javascript">-->
+        <!--var prefix = ctx + "system/yhjbxx";-->
+        <!--$("#form-yhjbxx-edit").validate({-->
+            <!--focusCleanup: true-->
+        <!--});-->
+
+        <!--function submitHandler() {-->
+            <!--if ($.validate.form()) {-->
+                <!--$.operate.save(prefix + "/edit", $('#form-yhjbxx-edit').serialize());-->
+            <!--}-->
+        <!--}-->
+    <!--</script>-->
+</body>
+</html>

+ 175 - 0
mybusiness/src/main/resources/templates/system/yhjbxx/yhjbxx.html

@@ -0,0 +1,175 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
+<head>
+    <th:block th:include="include :: header('自来水人员基本信息列表')" />
+</head>
+<body class="gray-bg">
+     <div class="container-div">
+        <div class="row">
+            <div class="col-sm-12 search-collapse">
+                <form id="formId">
+                    <div class="select-list">
+                        <ul>
+                            <!--
+                            <li>
+                                <label>推送时间:</label>
+                                <input type="text" name="cdTime"/>
+                            </li>
+                            <li>
+                                <label>批次号:</label>
+                                <input type="text" name="cdBatch"/>
+                            </li>
+                            <li>
+                                <label>操作状态:</label>
+                                <input type="text" name="cdOperation"/>
+                            </li>
+                            <li>
+                                <label>数据来源:</label>
+                                <input type="text" name="cdSource"/>
+                            </li>
+                            <li>
+                                <label>用户编号:</label>
+                                <input type="text" name="yhbh"/>
+                            </li>
+                            -->
+                            <li>
+                                <label>用户名称:</label>
+                                <input type="text" name="yhmc"/>
+                            </li>
+                            <!--
+                            <li>
+                                <label>用户地址:</label>
+                                <input type="text" name="yhdz"/>
+                            </li>
+                            <li>
+                                <label>用水月份:</label>
+                                <input type="text" name="ysyf"/>
+                            </li>
+                            <li>
+                                <label>用水量:</label>
+                                <input type="text" name="ysl"/>
+                            </li>
+                            <li>
+                                <label>是否缴费:</label>
+                                <input type="text" name="sfjf"/>
+                            </li>
+                            <li>
+                                <label>缴费时间:</label>
+                                <input type="text" name="jfsj"/>
+                            </li>
+                            -->
+                            <li>
+                                <a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i>&nbsp;搜索</a>
+                                <a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i class="fa fa-refresh"></i>&nbsp;重置</a>
+                            </li>
+                        </ul>
+                    </div>
+                </form>
+            </div>
+
+            <div class="btn-group-sm" id="toolbar" role="group">
+                <!--
+                <a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="system:yhjbxx:add">
+                    <i class="fa fa-plus"></i> 添加
+                </a>
+                <a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="system:yhjbxx:edit">
+                    <i class="fa fa-edit"></i> 修改
+                </a>
+                <a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="system:yhjbxx:remove">
+                    <i class="fa fa-remove"></i> 删除
+                </a>
+                -->
+                <a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="system:yhjbxx:export">
+                    <i class="fa fa-download"></i> 导出
+                </a>
+            </div>
+            <div class="col-sm-12 select-table table-striped">
+                <table id="bootstrap-table"></table>
+            </div>
+        </div>
+    </div>
+    <th:block th:include="include :: footer" />
+    <script th:inline="javascript">
+        var editFlag = [[${@permission.hasPermi('system:yhjbxx:edit')}]];
+        var removeFlag = [[${@permission.hasPermi('system:yhjbxx:remove')}]];
+        var detailFlag = [[${@permission.hasPermi('system:yhjbxx:detail')}]];
+        var prefix = ctx + "system/yhjbxx";
+
+        $(function() {
+            var options = {
+                url: prefix + "/list",
+                createUrl: prefix + "/add",
+                updateUrl: prefix + "/edit/{id}",
+                detailUrl: prefix + "/detail/{id}",
+                removeUrl: prefix + "/remove",
+                exportUrl: prefix + "/export",
+                modalName: "用户基本信息",
+                columns: [{
+                    checkbox: true
+                },
+                {
+                    field: 'id',
+                    title: '主键ID',
+                    visible: false
+                },
+
+                // {
+                //     field: 'cdBatch',
+                //     title: '批次号'
+                // },
+                // {
+                //     field: 'cdOperation',
+                //     title: '操作状态'
+                // },
+                // {
+                //     field: 'cdSource',
+                //     title: '数据来源'
+                // },
+                {
+                    field: 'yhbh',
+                    title: '用户编号'
+                },
+                {
+                    field: 'yhmc',
+                    title: '用户名称'
+                },
+                {
+                    field: 'yhdz',
+                    title: '用户地址'
+                },
+                {
+                    field: 'cdTime',
+                    title: '数据归集时间'
+                },
+                // {
+                //     field: 'ysyf',
+                //     title: '用水月份'
+                // },
+                // {
+                //     field: 'ysl',
+                //     title: '用水量'
+                // },
+                // {
+                //     field: 'sfjf',
+                //     title: '是否缴费'
+                // },
+                // {
+                //     field: 'jfsj',
+                //     title: '缴费时间'
+                // },
+                {
+                    title: '操作',
+                    align: 'center',
+                    formatter: function(value, row, index) {
+                        var actions = [];
+                        actions.push('<a class="btn btn-warning btn-xs ' + detailFlag + '" href="javascript:void(0)" onclick="$.operate.detail(\'' + row.id + '\')"><i class="fa fa-search"></i>详细</a>');
+                        // actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.id + '\')"><i class="fa fa-remove"></i>删除</a>');
+                        return actions.join('');
+                    }
+                }]
+            };
+            $.table.init(options);
+        });
+    </script>
+</body>
+</html>