Explorar o código

add 新增系统设置listPage

bzd_lxf hai 1 mes
pai
achega
16f3265811

+ 213 - 0
health-admin/src/main/resources/templates/xtsz/SXtszMdzhglAccountmanagementList.html

@@ -0,0 +1,213 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
+<head>
+    <meta charset="UTF-8">
+    <meta name="format-detection" content="telephone=no">
+    <th:block th:include="include :: header('账号管理')" />
+    <th:block th:include="include :: layout-latest-css" />
+    <th:block th:include="include :: ztree-css" />
+</head>
+<style>
+    /* 设置 ul 的基本样式 */
+    ul {
+        list-style-type: none; /* 去掉项目符号 */
+        padding: 0; /* 去掉默认的内边距 */
+        display: grid; /* 使用网格布局 */
+        grid-template-columns: repeat(5, 1fr); /* 设置三列 */
+    }
+    ul-list ul{
+        list-style-type: none; /* 去掉项目符号 */
+        padding: 0; /* 去掉默认的内边距 */
+        display: grid; /* 使用网格布局 */
+        grid-template-columns: repeat(4, 1fr); /* 设置三列 */
+    }
+    ul-list ul li{
+        /*padding: 10px;*/ /* 内边距 */
+        text-align: left; /* 文本居中 */
+    }
+
+    /* 设置 li 的基本样式 */
+    li {
+        /*background-color: lightblue; *//* 背景颜色 */
+        /*padding: 1px; !* 内边距 *!*/
+        text-align: right; /* 文本居中 */
+    }
+</style>
+
+<body class="gray-bg">
+<div class="ui-layout-center">
+    <div class="container-div">
+        <div class="row">
+            <div class="col-sm-12 search-collapse" >
+                <form id="SXtszMdzhglAccountmanagement-form">
+                    <input type="hidden" id="deptId" name="deptId">
+                    <input type="hidden" id="parentId" name="parentId">
+                    <div class="select-list" >
+                        <ul>
+                            <li>
+                                门店ID:<input type="text" class="styled-input" name="storeId" autocomplete="off"/>
+                            </li>
+                            <li>
+                                账号名:<input type="text" class="styled-input" name="accountName" autocomplete="off"/>
+                            </li>
+                            <li>
+                                姓名:<input type="text" class="styled-input" name="realName" autocomplete="off"/>
+                            </li>
+                            <li>
+                                手机号码:<input type="text" class="styled-input" name="mobileNumber" autocomplete="off"/>
+                            </li>
+                            <li>
+                                二维码:<input type="text" class="styled-input" name="qrcodeUrl" autocomplete="off"/>
+                            </li>
+                            <li style="text-align: center">
+                                <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="resetPre()"><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:user:add">
+                    <i class="fa fa-plus"></i> 新增
+                </a>
+                 <a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="system:user:edit">
+                    <i class="fa fa-edit"></i> 修改
+                </a>
+                <a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="system:user:remove">
+                    <i class="fa fa-remove"></i> 删除
+                </a>
+                <a class="btn btn-info" onclick="$.table.importExcel()" shiro:hasPermission="system:user:import">
+                    <i class="fa fa-upload"></i> 导入
+                </a>
+                <a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="system:user: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>
+</div>
+
+<th:block th:include="include :: footer" />
+<th:block th:include="include :: layout-latest-js" />
+<th:block th:include="include :: ztree-js" />
+<script th:inline="javascript">
+    var editFlag = [[${@permission.hasPermi('dtp:pmService:edit')}]];
+    var removeFlag = [[${@permission.hasPermi('dtp:pmService:remove')}]];
+    var prefix = ctx + "xtsz/sxtszmdzhglaccountmanagement";
+    $(function() {
+        var panehHidden = false;
+        if ($(this).width() < 1590) {
+            panehHidden = true;
+        }
+        $('body').layout({ initClosed: panehHidden, west__size: 185, resizeWithWindow: false });
+        // 回到顶部绑定
+        if ($.fn.toTop !== undefined) {
+            var opt = {
+                win:$('.ui-layout-center'),
+                doc:$('.ui-layout-center')
+            };
+            $('#scroll-up').toTop(opt);
+        }
+        queryArchivesList();
+    });
+
+    function queryArchivesList() {
+        var options = {
+            url: prefix + "/sXtszMdzhglAccountmanagementList",
+            viewUrl: prefix + "/sXtszMdzhglAccountmanagementView/{id}",
+            createUrl: prefix + "/sXtszMdzhglAccountmanagementAdd",
+            updateUrl: prefix + "/sXtszMdzhglAccountmanagementEdit/{id}",
+            removeUrl: prefix + "/sXtszMdzhglAccountmanagementRemove",
+            /*exportUrl: prefix + "/export",
+            importUrl: prefix + "/importData",
+            importTemplateUrl: prefix + "/importTemplate",*/
+            sortName: "id",
+            sortOrder: "asc",
+            modalName: "账号管理",
+            fitColumns: true,
+            striped: true,
+            autoRowHeight: true,
+            rowNumbers: true,
+            showFooter:true,  //是否显示表格底部区域。
+            clickToSelect: true, //是否启用点击行时选中整行的功能。
+            singleSelect: true, //是否仅允许选择一行
+            columns: [{
+                checkbox: true
+            },
+                { field: 'id', title: '主键', align: 'center' ,visible:false},
+                    { field: 'storeId', title: '门店ID', align: 'center' },
+                    { field: 'accountName', title: '账号名', align: 'center' },
+                    { field: 'realName', title: '姓名', align: 'center' },
+                    { field: 'mobileNumber', title: '手机号码', align: 'center' },
+                    { field: 'qrcodeUrl', title: '二维码', align: 'center' },
+
+                {
+                    title: '操作',
+                    align: 'center',
+                    formatter: function(value, row, index) {
+                        if (row.serviceId != 1) {
+                            var actions = [];
+                            actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="edit_page(\'' + row.id + '\')"><i class="fa fa-edit"></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> ');
+                            var more = [];
+                            /*more.push("<a class='btn btn-default btn-xs " + resetPwdFlag + "' href='javascript:void(0)' onclick='resetPwd(" + row.userId + ")'><i class='fa fa-key'></i>重置密码</a> ");
+                            more.push("<a class='btn btn-default btn-xs " + editFlag + "' href='javascript:void(0)' onclick='authRole(" + row.userId + ")'><i class='fa fa-check-square-o'></i>分配角色</a>");
+                            actions.push('<a tabindex="0" class="btn btn-info btn-xs" role="button" data-container="body" data-placement="left" data-toggle="popover" data-html="true" data-trigger="hover" data-content="' + more.join('') + '"><i class="fa fa-chevron-circle-right"></i>更多操作</a>');*/
+                            return actions.join('');
+                        } else {
+                            return "";
+                        }
+                    }
+                }]
+        };
+        $.table.init(options);
+    }
+
+    /* 自定义重置-表单重置/隐藏框/树节点选择色/搜索 */
+    function resetPre() {
+        resetDate();
+        $("#SXtszMdzhglAccountmanagement-form")[0].reset();
+        $("#deptId").val("");
+        $("#parentId").val("");
+        $(".curSelectedNode").removeClass("curSelectedNode");
+        $.table.search();
+        var resetButton = document.getElementById('SXtszMdzhglAccountmanagement-form');
+        resetButton.addEventListener('click', function() {
+            _refresh();
+        });
+    }
+    function edit_page(id){
+        table.set();
+        var url = "/404.html";
+        if ($.common.isNotEmpty(id)) {
+            url = table.options.updateUrl.replace("{id}", id);
+        } else {
+            var id = $.common.isEmpty(table.options.uniqueId) ? $.table.selectFirstColumns() : $.table.selectColumns(table.options.uniqueId);
+            if (id.length == 0) {
+                $.modal.alertWarning("请至少选择一条记录");
+                return;
+            }
+            url = table.options.updateUrl.replace("{id}", id);
+        }
+        $.modal.openTab("修改" + table.options.modalName, url + "?status=1" );
+    }
+
+    /* 用户状态显示 */
+    function statusTools(row) {
+        if (row.status == 1) {
+            return '<i class=\"fa fa-toggle-off text-info fa-2x\" onclick="enable(\'' + row.userId + '\')"></i> ';
+        } else {
+            return '<i class=\"fa fa-toggle-on text-info fa-2x\" onclick="disable(\'' + row.userId + '\')"></i> ';
+        }
+    }
+</script>
+</body>
+
+</html>

+ 373 - 0
health-admin/src/main/resources/templates/xtsz/SXtszMdzhglStoremanagementList.html

@@ -0,0 +1,373 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
+<head>
+    <meta charset="UTF-8">
+    <meta name="format-detection" content="telephone=no">
+    <th:block th:include="include :: header('门店管理表')" />
+    <th:block th:include="include :: layout-latest-css" />
+    <th:block th:include="include :: ztree-css" />
+</head>
+<style>
+    /* 设置 ul 的基本样式 */
+    ul {
+        list-style-type: none; /* 去掉项目符号 */
+        padding: 0; /* 去掉默认的内边距 */
+        display: grid; /* 使用网格布局 */
+        grid-template-columns: repeat(5, 1fr); /* 设置三列 */
+    }
+    ul-list ul{
+        list-style-type: none; /* 去掉项目符号 */
+        padding: 0; /* 去掉默认的内边距 */
+        display: grid; /* 使用网格布局 */
+        grid-template-columns: repeat(4, 1fr); /* 设置三列 */
+    }
+    ul-list ul li{
+        /*padding: 10px;*/ /* 内边距 */
+        text-align: left; /* 文本居中 */
+    }
+
+    /* 设置 li 的基本样式 */
+    li {
+        /*background-color: lightblue; *//* 背景颜色 */
+        /*padding: 1px; !* 内边距 *!*/
+        text-align: right; /* 文本居中 */
+    }
+</style>
+
+<body class="gray-bg">
+<div class="ui-layout-center">
+    <div class="container-div">
+        <div class="row">
+            <div class="col-sm-12 search-collapse" >
+                <form id="SXtszMdzhglStoremanagement-form">
+                    <input type="hidden" id="deptId" name="deptId">
+                    <input type="hidden" id="parentId" name="parentId">
+                    <div class="select-list" >
+                        <ul>
+                            <li>
+                                门店名称:<input type="text" class="styled-input" name="storeName" autocomplete="off"/>
+                            </li>
+                            <li>
+                                门店简称:<input type="text" class="styled-input" name="storeShortName" autocomplete="off"/>
+                            </li>
+                            <li>
+                                门店类型:<input type="text" class="styled-input" name="storeType" autocomplete="off"/>
+                            </li>
+                            <li>
+                                行政区域:<input type="text" class="styled-input" name="administrativeArea" autocomplete="off"/>
+                            </li>
+                            <li>
+                                行政区域编码:<input type="text" class="styled-input" name="administrativeAreaCode" autocomplete="off"/>
+                            </li>
+                            <li>
+                                门二维码:<input type="text" class="styled-input" name="qrCode" autocomplete="off"/>
+                            </li>
+                            <li>
+                                电话:<input type="text" class="styled-input" name="phoneNumber" autocomplete="off"/>
+                            </li>
+                            <li>
+                                营业时间:<input type="text" class="styled-input" name="businessHours" autocomplete="off"/>
+                            </li>
+                            <li>
+                                地址:<input type="text" class="styled-input" name="address" autocomplete="off"/>
+                            </li>
+                            <li>
+                                经度:<input type="text" class="styled-input" name="longitude" autocomplete="off"/>
+                            </li>
+                            <li>
+                                纬度:<input type="text" class="styled-input" name="latitude" autocomplete="off"/>
+                            </li>
+                            <li>
+                                门店编码:<input type="text" class="styled-input" name="storeCode" autocomplete="off"/>
+                            </li>
+                            <li>
+                                地图:<input type="text" class="styled-input" name="mapUrl" autocomplete="off"/>
+                            </li>
+                            <li>
+                                所在片区:<input type="text" class="styled-input" name="area" autocomplete="off"/>
+                            </li>
+                            <li>
+                                参考门店编码:<input type="text" class="styled-input" name="referenceStoreCode" autocomplete="off"/>
+                            </li>
+                            <li>
+                                门店属性:<input type="text" class="styled-input" name="storeAttribute" autocomplete="off"/>
+                            </li>
+                            <li>
+                                门店内码:<input type="text" class="styled-input" name="internalCode" autocomplete="off"/>
+                            </li>
+                            <li>
+                                助记码:<input type="text" class="styled-input" name="mnemonicCode" autocomplete="off"/>
+                            </li>
+                            <li>
+                                采购组织:<input type="text" class="styled-input" name="procurementOrganization" autocomplete="off"/>
+                            </li>
+                            <li>
+                                销售组织:<input type="text" class="styled-input" name="salesOrganization" autocomplete="off"/>
+                            </li>
+                            <li>
+                                分销渠道:<input type="text" class="styled-input" name="distributionChannel" autocomplete="off"/>
+                            </li>
+                            <li>
+                                部门:<input type="text" class="styled-input" name="department" autocomplete="off"/>
+                            </li>
+                            <li>
+                                租赁面积:<input type="text" class="styled-input" name="leaseArea" autocomplete="off"/>
+                            </li>
+                            <li>
+                                外租面积:<input type="text" class="styled-input" name="externalLeaseArea" autocomplete="off"/>
+                            </li>
+                            <li>
+                                经营面积:<input type="text" class="styled-input" name="operatingArea" autocomplete="off"/>
+                            </li>
+                            <li>
+                                传真:<input type="text" class="styled-input" name="faxNumber" autocomplete="off"/>
+                            </li>
+                            <li>
+                                联系人:<input type="text" class="styled-input" name="contactPerson" autocomplete="off"/>
+                            </li>
+                            <li>
+                                开业日期:<input type="text" class="styled-input" name="openingDate" autocomplete="off"/>
+                            </li>
+                            <li>
+                                交割日期:<input type="text" class="styled-input" name="transferDate" autocomplete="off"/>
+                            </li>
+                            <li>
+                                关店日期:<input type="text" class="styled-input" name="closingDate" autocomplete="off"/>
+                            </li>
+                            <li>
+                                最近翻新改造日期:<input type="text" class="styled-input" name="lastRenovationDate" autocomplete="off"/>
+                            </li>
+                            <li>
+                                门店租金:<input type="text" class="styled-input" name="rent" autocomplete="off"/>
+                            </li>
+                            <li>
+                                门店状态:<input type="text" class="styled-input" name="storeStatus" autocomplete="off"/>
+                            </li>
+                            <li>
+                                社区及商住店:<input type="text" class="styled-input" name="communityAndResidentialStore" autocomplete="off"/>
+                            </li>
+                            <li>
+                                编制人数:<input type="text" class="styled-input" name="staffCount" autocomplete="off"/>
+                            </li>
+                            <li>
+                                日历:<input type="text" class="styled-input" name="calendar" autocomplete="off"/>
+                            </li>
+                            <li>
+                                门店使用的系统:<input type="text" class="styled-input" name="systemUsed" autocomplete="off"/>
+                            </li>
+                            <li>
+                                详细地址:<input type="text" class="styled-input" name="detailedAddress" autocomplete="off"/>
+                            </li>
+                            <li>
+                                大区:<input type="text" class="styled-input" name="district" autocomplete="off"/>
+                            </li>
+                            <li>
+                                选址商圈店型:<input type="text" class="styled-input" name="locationBusinessCircleStoreType" autocomplete="off"/>
+                            </li>
+                            <li>
+                                特殊业态店型:<input type="text" class="styled-input" name="specialBusinessType" autocomplete="off"/>
+                            </li>
+                            <li>
+                                营业面积分类:<input type="text" class="styled-input" name="businessAreaCategory" autocomplete="off"/>
+                            </li>
+                            <li>
+                                月销售额等级:<input type="text" class="styled-input" name="monthlySalesLevel" autocomplete="off"/>
+                            </li>
+                            <li>
+                                医保政策分类:<input type="text" class="styled-input" name="medicalInsurancePolicyCategory" autocomplete="off"/>
+                            </li>
+                            <li>
+                                顾客年龄层:<input type="text" class="styled-input" name="customerAgeLayer" autocomplete="off"/>
+                            </li>
+                            <li style="text-align: center">
+                                <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="resetPre()"><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:user:add">
+                    <i class="fa fa-plus"></i> 新增
+                </a>
+                 <a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="system:user:edit">
+                    <i class="fa fa-edit"></i> 修改
+                </a>
+                <a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="system:user:remove">
+                    <i class="fa fa-remove"></i> 删除
+                </a>
+                <a class="btn btn-info" onclick="$.table.importExcel()" shiro:hasPermission="system:user:import">
+                    <i class="fa fa-upload"></i> 导入
+                </a>
+                <a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="system:user: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>
+</div>
+
+<th:block th:include="include :: footer" />
+<th:block th:include="include :: layout-latest-js" />
+<th:block th:include="include :: ztree-js" />
+<script th:inline="javascript">
+    var editFlag = [[${@permission.hasPermi('dtp:pmService:edit')}]];
+    var removeFlag = [[${@permission.hasPermi('dtp:pmService:remove')}]];
+    var prefix = ctx + "xtsz/sxtszmdzhglstoremanagement";
+    $(function() {
+        var panehHidden = false;
+        if ($(this).width() < 1590) {
+            panehHidden = true;
+        }
+        $('body').layout({ initClosed: panehHidden, west__size: 185, resizeWithWindow: false });
+        // 回到顶部绑定
+        if ($.fn.toTop !== undefined) {
+            var opt = {
+                win:$('.ui-layout-center'),
+                doc:$('.ui-layout-center')
+            };
+            $('#scroll-up').toTop(opt);
+        }
+        queryArchivesList();
+    });
+
+    function queryArchivesList() {
+        var options = {
+            url: prefix + "/sXtszMdzhglStoremanagementList",
+            viewUrl: prefix + "/sXtszMdzhglStoremanagementView/{id}",
+            createUrl: prefix + "/sXtszMdzhglStoremanagementAdd",
+            updateUrl: prefix + "/sXtszMdzhglStoremanagementEdit/{id}",
+            removeUrl: prefix + "/sXtszMdzhglStoremanagementRemove",
+            /*exportUrl: prefix + "/export",
+            importUrl: prefix + "/importData",
+            importTemplateUrl: prefix + "/importTemplate",*/
+            sortName: "id",
+            sortOrder: "asc",
+            modalName: "门店管理表",
+            fitColumns: true,
+            striped: true,
+            autoRowHeight: true,
+            rowNumbers: true,
+            showFooter:true,  //是否显示表格底部区域。
+            clickToSelect: true, //是否启用点击行时选中整行的功能。
+            singleSelect: true, //是否仅允许选择一行
+            columns: [{
+                checkbox: true
+            },
+                { field: 'id', title: '主键', align: 'center' ,visible:false},
+                    { field: 'storeName', title: '门店名称', align: 'center' },
+                    { field: 'storeShortName', title: '门店简称', align: 'center' },
+                    { field: 'storeType', title: '门店类型', align: 'center' },
+                    { field: 'administrativeArea', title: '行政区域', align: 'center' },
+                    { field: 'administrativeAreaCode', title: '行政区域编码', align: 'center' },
+                    { field: 'qrCode', title: '门二维码', align: 'center' },
+                    { field: 'phoneNumber', title: '电话', align: 'center' },
+                    { field: 'businessHours', title: '营业时间', align: 'center' },
+                    { field: 'address', title: '地址', align: 'center' },
+                    { field: 'longitude', title: '经度', align: 'center' },
+                    { field: 'latitude', title: '纬度', align: 'center' },
+                    { field: 'storeCode', title: '门店编码', align: 'center' },
+                    { field: 'mapUrl', title: '地图', align: 'center' },
+                    { field: 'area', title: '所在片区', align: 'center' },
+                    { field: 'referenceStoreCode', title: '参考门店编码', align: 'center' },
+                    { field: 'storeAttribute', title: '门店属性', align: 'center' },
+                    { field: 'internalCode', title: '门店内码', align: 'center' },
+                    { field: 'mnemonicCode', title: '助记码', align: 'center' },
+                    { field: 'procurementOrganization', title: '采购组织', align: 'center' },
+                    { field: 'salesOrganization', title: '销售组织', align: 'center' },
+                    { field: 'distributionChannel', title: '分销渠道', align: 'center' },
+                    { field: 'department', title: '部门', align: 'center' },
+                    { field: 'leaseArea', title: '租赁面积', align: 'center' },
+                    { field: 'externalLeaseArea', title: '外租面积', align: 'center' },
+                    { field: 'operatingArea', title: '经营面积', align: 'center' },
+                    { field: 'faxNumber', title: '传真', align: 'center' },
+                    { field: 'contactPerson', title: '联系人', align: 'center' },
+                    { field: 'openingDate', title: '开业日期', align: 'center' },
+                    { field: 'transferDate', title: '交割日期', align: 'center' },
+                    { field: 'closingDate', title: '关店日期', align: 'center' },
+                    { field: 'lastRenovationDate', title: '最近翻新改造日期', align: 'center' },
+                    { field: 'rent', title: '门店租金', align: 'center' },
+                    { field: 'storeStatus', title: '门店状态', align: 'center' },
+                    { field: 'communityAndResidentialStore', title: '社区及商住店', align: 'center' },
+                    { field: 'staffCount', title: '编制人数', align: 'center' },
+                    { field: 'calendar', title: '日历', align: 'center' },
+                    { field: 'systemUsed', title: '门店使用的系统', align: 'center' },
+                    { field: 'detailedAddress', title: '详细地址', align: 'center' },
+                    { field: 'district', title: '大区', align: 'center' },
+                    { field: 'locationBusinessCircleStoreType', title: '选址商圈店型', align: 'center' },
+                    { field: 'specialBusinessType', title: '特殊业态店型', align: 'center' },
+                    { field: 'businessAreaCategory', title: '营业面积分类', align: 'center' },
+                    { field: 'monthlySalesLevel', title: '月销售额等级', align: 'center' },
+                    { field: 'medicalInsurancePolicyCategory', title: '医保政策分类', align: 'center' },
+                    { field: 'customerAgeLayer', title: '顾客年龄层', align: 'center' },
+
+                {
+                    title: '操作',
+                    align: 'center',
+                    formatter: function(value, row, index) {
+                        if (row.serviceId != 1) {
+                            var actions = [];
+                            actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="edit_page(\'' + row.id + '\')"><i class="fa fa-edit"></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> ');
+                            var more = [];
+                            /*more.push("<a class='btn btn-default btn-xs " + resetPwdFlag + "' href='javascript:void(0)' onclick='resetPwd(" + row.userId + ")'><i class='fa fa-key'></i>重置密码</a> ");
+                            more.push("<a class='btn btn-default btn-xs " + editFlag + "' href='javascript:void(0)' onclick='authRole(" + row.userId + ")'><i class='fa fa-check-square-o'></i>分配角色</a>");
+                            actions.push('<a tabindex="0" class="btn btn-info btn-xs" role="button" data-container="body" data-placement="left" data-toggle="popover" data-html="true" data-trigger="hover" data-content="' + more.join('') + '"><i class="fa fa-chevron-circle-right"></i>更多操作</a>');*/
+                            return actions.join('');
+                        } else {
+                            return "";
+                        }
+                    }
+                }]
+        };
+        $.table.init(options);
+    }
+
+    /* 自定义重置-表单重置/隐藏框/树节点选择色/搜索 */
+    function resetPre() {
+        resetDate();
+        $("#SXtszMdzhglStoremanagement-form")[0].reset();
+        $("#deptId").val("");
+        $("#parentId").val("");
+        $(".curSelectedNode").removeClass("curSelectedNode");
+        $.table.search();
+        var resetButton = document.getElementById('SXtszMdzhglStoremanagement-form');
+        resetButton.addEventListener('click', function() {
+            _refresh();
+        });
+    }
+    function edit_page(id){
+        table.set();
+        var url = "/404.html";
+        if ($.common.isNotEmpty(id)) {
+            url = table.options.updateUrl.replace("{id}", id);
+        } else {
+            var id = $.common.isEmpty(table.options.uniqueId) ? $.table.selectFirstColumns() : $.table.selectColumns(table.options.uniqueId);
+            if (id.length == 0) {
+                $.modal.alertWarning("请至少选择一条记录");
+                return;
+            }
+            url = table.options.updateUrl.replace("{id}", id);
+        }
+        $.modal.openTab("修改" + table.options.modalName, url + "?status=1" );
+    }
+
+    /* 用户状态显示 */
+    function statusTools(row) {
+        if (row.status == 1) {
+            return '<i class=\"fa fa-toggle-off text-info fa-2x\" onclick="enable(\'' + row.userId + '\')"></i> ';
+        } else {
+            return '<i class=\"fa fa-toggle-on text-info fa-2x\" onclick="disable(\'' + row.userId + '\')"></i> ';
+        }
+    }
+</script>
+</body>
+
+</html>

+ 265 - 0
health-admin/src/main/resources/templates/xtsz/SXtszMdzhglStorequalificationList.html

@@ -0,0 +1,265 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
+<head>
+    <meta charset="UTF-8">
+    <meta name="format-detection" content="telephone=no">
+    <th:block th:include="include :: header('门店资质表')" />
+    <th:block th:include="include :: layout-latest-css" />
+    <th:block th:include="include :: ztree-css" />
+</head>
+<style>
+    /* 设置 ul 的基本样式 */
+    ul {
+        list-style-type: none; /* 去掉项目符号 */
+        padding: 0; /* 去掉默认的内边距 */
+        display: grid; /* 使用网格布局 */
+        grid-template-columns: repeat(5, 1fr); /* 设置三列 */
+    }
+    ul-list ul{
+        list-style-type: none; /* 去掉项目符号 */
+        padding: 0; /* 去掉默认的内边距 */
+        display: grid; /* 使用网格布局 */
+        grid-template-columns: repeat(4, 1fr); /* 设置三列 */
+    }
+    ul-list ul li{
+        /*padding: 10px;*/ /* 内边距 */
+        text-align: left; /* 文本居中 */
+    }
+
+    /* 设置 li 的基本样式 */
+    li {
+        /*background-color: lightblue; *//* 背景颜色 */
+        /*padding: 1px; !* 内边距 *!*/
+        text-align: right; /* 文本居中 */
+    }
+</style>
+
+<body class="gray-bg">
+<div class="ui-layout-center">
+    <div class="container-div">
+        <div class="row">
+            <div class="col-sm-12 search-collapse" >
+                <form id="SXtszMdzhglStorequalification-form">
+                    <input type="hidden" id="deptId" name="deptId">
+                    <input type="hidden" id="parentId" name="parentId">
+                    <div class="select-list" >
+                        <ul>
+                            <li>
+                                门店ID:<input type="text" class="styled-input" name="storeId" autocomplete="off"/>
+                            </li>
+                            <li>
+                                企业名称:<input type="text" class="styled-input" name="companyName" autocomplete="off"/>
+                            </li>
+                            <li>
+                                法定代表人/营业者:<input type="text" class="styled-input" name="legalRepresentative" autocomplete="off"/>
+                            </li>
+                            <li>
+                                营业执照注册号:<input type="text" class="styled-input" name="businessLicenseRegistrationNumber" autocomplete="off"/>
+                            </li>
+                            <li>
+                                地址:<input type="text" class="styled-input" name="businessLicenseAddress" autocomplete="off"/>
+                            </li>
+                            <li>
+                                营业范围:<input type="text" class="styled-input" name="businessScope" autocomplete="off"/>
+                            </li>
+                            <li>
+                                营业执照有效期:<input type="text" class="styled-input" name="businessLicenseValidityPeriod" autocomplete="off"/>
+                            </li>
+                            <li>
+                                营业执照:<input type="text" class="styled-input" name="businessLicenseUrl" autocomplete="off"/>
+                            </li>
+                            <li>
+                                互联网药品信息服务资格证书:<input type="text" class="styled-input" name="internetPharmaceuticalInformationServiceCertificate" autocomplete="off"/>
+                            </li>
+                            <li>
+                                互联网药品交易服务资格证书:<input type="text" class="styled-input" name="internetPharmaceuticalTransactionServiceCertificate" autocomplete="off"/>
+                            </li>
+                            <li>
+                                药品经营许可证:<input type="text" class="styled-input" name="pharmaceuticalOperationPermit" autocomplete="off"/>
+                            </li>
+                            <li>
+                                食品经营许可证:<input type="text" class="styled-input" name="foodOperationPermit" autocomplete="off"/>
+                            </li>
+                            <li>
+                                医疗器械经营许可证:<input type="text" class="styled-input" name="medicalDeviceOperationPermit" autocomplete="off"/>
+                            </li>
+                            <li>
+                                第二类医疗器械经营备案凭证:<input type="text" class="styled-input" name="secondClassMedicalDeviceFilingCertificate" autocomplete="off"/>
+                            </li>
+                            <li>
+                                药品经营质量管理规范认证证书:<input type="text" class="styled-input" name="pharmaceuticalQualityManagementStandardCertification" autocomplete="off"/>
+                            </li>
+                            <li>
+                                医疗器械网络销售备案凭证:<input type="text" class="styled-input" name="medicalDeviceNetworkSalesFilingCertificate" autocomplete="off"/>
+                            </li>
+                            <li>
+                                执业药师注册证:<input type="text" class="styled-input" name="pharmacistRegistrationCertificate" autocomplete="off"/>
+                            </li>
+                            <li>
+                                入驻药急送平台协议:<input type="text" class="styled-input" name="platformEntryAgreement" autocomplete="off"/>
+                            </li>
+                            <li style="text-align: center">
+                                <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="resetPre()"><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:user:add">
+                    <i class="fa fa-plus"></i> 新增
+                </a>
+                 <a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="system:user:edit">
+                    <i class="fa fa-edit"></i> 修改
+                </a>
+                <a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="system:user:remove">
+                    <i class="fa fa-remove"></i> 删除
+                </a>
+                <a class="btn btn-info" onclick="$.table.importExcel()" shiro:hasPermission="system:user:import">
+                    <i class="fa fa-upload"></i> 导入
+                </a>
+                <a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="system:user: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>
+</div>
+
+<th:block th:include="include :: footer" />
+<th:block th:include="include :: layout-latest-js" />
+<th:block th:include="include :: ztree-js" />
+<script th:inline="javascript">
+    var editFlag = [[${@permission.hasPermi('dtp:pmService:edit')}]];
+    var removeFlag = [[${@permission.hasPermi('dtp:pmService:remove')}]];
+    var prefix = ctx + "xtsz/sxtszmdzhglstorequalification";
+    $(function() {
+        var panehHidden = false;
+        if ($(this).width() < 1590) {
+            panehHidden = true;
+        }
+        $('body').layout({ initClosed: panehHidden, west__size: 185, resizeWithWindow: false });
+        // 回到顶部绑定
+        if ($.fn.toTop !== undefined) {
+            var opt = {
+                win:$('.ui-layout-center'),
+                doc:$('.ui-layout-center')
+            };
+            $('#scroll-up').toTop(opt);
+        }
+        queryArchivesList();
+    });
+
+    function queryArchivesList() {
+        var options = {
+            url: prefix + "/sXtszMdzhglStorequalificationList",
+            viewUrl: prefix + "/sXtszMdzhglStorequalificationView/{id}",
+            createUrl: prefix + "/sXtszMdzhglStorequalificationAdd",
+            updateUrl: prefix + "/sXtszMdzhglStorequalificationEdit/{id}",
+            removeUrl: prefix + "/sXtszMdzhglStorequalificationRemove",
+            /*exportUrl: prefix + "/export",
+            importUrl: prefix + "/importData",
+            importTemplateUrl: prefix + "/importTemplate",*/
+            sortName: "id",
+            sortOrder: "asc",
+            modalName: "门店资质表",
+            fitColumns: true,
+            striped: true,
+            autoRowHeight: true,
+            rowNumbers: true,
+            showFooter:true,  //是否显示表格底部区域。
+            clickToSelect: true, //是否启用点击行时选中整行的功能。
+            singleSelect: true, //是否仅允许选择一行
+            columns: [{
+                checkbox: true
+            },
+                { field: 'id', title: '主键', align: 'center' ,visible:false},
+                    { field: 'storeId', title: '门店ID', align: 'center' },
+                    { field: 'companyName', title: '企业名称', align: 'center' },
+                    { field: 'legalRepresentative', title: '法定代表人/营业者', align: 'center' },
+                    { field: 'businessLicenseRegistrationNumber', title: '营业执照注册号', align: 'center' },
+                    { field: 'businessLicenseAddress', title: '地址', align: 'center' },
+                    { field: 'businessScope', title: '营业范围', align: 'center' },
+                    { field: 'businessLicenseValidityPeriod', title: '营业执照有效期', align: 'center' },
+                    { field: 'businessLicenseUrl', title: '营业执照', align: 'center' },
+                    { field: 'internetPharmaceuticalInformationServiceCertificate', title: '互联网药品信息服务资格证书', align: 'center' },
+                    { field: 'internetPharmaceuticalTransactionServiceCertificate', title: '互联网药品交易服务资格证书', align: 'center' },
+                    { field: 'pharmaceuticalOperationPermit', title: '药品经营许可证', align: 'center' },
+                    { field: 'foodOperationPermit', title: '食品经营许可证', align: 'center' },
+                    { field: 'medicalDeviceOperationPermit', title: '医疗器械经营许可证', align: 'center' },
+                    { field: 'secondClassMedicalDeviceFilingCertificate', title: '第二类医疗器械经营备案凭证', align: 'center' },
+                    { field: 'pharmaceuticalQualityManagementStandardCertification', title: '药品经营质量管理规范认证证书', align: 'center' },
+                    { field: 'medicalDeviceNetworkSalesFilingCertificate', title: '医疗器械网络销售备案凭证', align: 'center' },
+                    { field: 'pharmacistRegistrationCertificate', title: '执业药师注册证', align: 'center' },
+                    { field: 'platformEntryAgreement', title: '入驻药急送平台协议', align: 'center' },
+
+                {
+                    title: '操作',
+                    align: 'center',
+                    formatter: function(value, row, index) {
+                        if (row.serviceId != 1) {
+                            var actions = [];
+                            actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="edit_page(\'' + row.id + '\')"><i class="fa fa-edit"></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> ');
+                            var more = [];
+                            /*more.push("<a class='btn btn-default btn-xs " + resetPwdFlag + "' href='javascript:void(0)' onclick='resetPwd(" + row.userId + ")'><i class='fa fa-key'></i>重置密码</a> ");
+                            more.push("<a class='btn btn-default btn-xs " + editFlag + "' href='javascript:void(0)' onclick='authRole(" + row.userId + ")'><i class='fa fa-check-square-o'></i>分配角色</a>");
+                            actions.push('<a tabindex="0" class="btn btn-info btn-xs" role="button" data-container="body" data-placement="left" data-toggle="popover" data-html="true" data-trigger="hover" data-content="' + more.join('') + '"><i class="fa fa-chevron-circle-right"></i>更多操作</a>');*/
+                            return actions.join('');
+                        } else {
+                            return "";
+                        }
+                    }
+                }]
+        };
+        $.table.init(options);
+    }
+
+    /* 自定义重置-表单重置/隐藏框/树节点选择色/搜索 */
+    function resetPre() {
+        resetDate();
+        $("#SXtszMdzhglStorequalification-form")[0].reset();
+        $("#deptId").val("");
+        $("#parentId").val("");
+        $(".curSelectedNode").removeClass("curSelectedNode");
+        $.table.search();
+        var resetButton = document.getElementById('SXtszMdzhglStorequalification-form');
+        resetButton.addEventListener('click', function() {
+            _refresh();
+        });
+    }
+    function edit_page(id){
+        table.set();
+        var url = "/404.html";
+        if ($.common.isNotEmpty(id)) {
+            url = table.options.updateUrl.replace("{id}", id);
+        } else {
+            var id = $.common.isEmpty(table.options.uniqueId) ? $.table.selectFirstColumns() : $.table.selectColumns(table.options.uniqueId);
+            if (id.length == 0) {
+                $.modal.alertWarning("请至少选择一条记录");
+                return;
+            }
+            url = table.options.updateUrl.replace("{id}", id);
+        }
+        $.modal.openTab("修改" + table.options.modalName, url + "?status=1" );
+    }
+
+    /* 用户状态显示 */
+    function statusTools(row) {
+        if (row.status == 1) {
+            return '<i class=\"fa fa-toggle-off text-info fa-2x\" onclick="enable(\'' + row.userId + '\')"></i> ';
+        } else {
+            return '<i class=\"fa fa-toggle-on text-info fa-2x\" onclick="disable(\'' + row.userId + '\')"></i> ';
+        }
+    }
+</script>
+</body>
+
+</html>