Forráskód Böngészése

update 页面查询条件修改

bzd_lxf 1 hónapja
szülő
commit
50a70263e5

+ 35 - 61
health-admin/src/main/resources/templates/dtp/archives/archivesList.html

@@ -5,33 +5,6 @@
 	<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">
@@ -45,38 +18,36 @@
 							<a class="btn btn-warning btn-rounded btn-sm" onclick="resetPre()"><i class="fa fa-refresh"></i>&nbsp;重置</a>
 						</div>
 					</div>
-					<form id="archives-form">
-						<input type="hidden" id="deptId" name="deptId">
-		                <input type="hidden" id="parentId" name="parentId">
-
-						<div class="select-list" >
-							<ul>
-								<li>
-									患者信息:<input type="text" placeholder="请输入姓名手机号" class="styled-input" name="name"/>
-								</li>
-								<li>
-									药品:<input type="text"  placeholder="请输入商品名/通用名/MDM编码" class="styled-input" name="query"/>
-								</li>
-								<li>
-									随访跟进人:<input type="text"  placeholder="请输入随访跟进人" class="styled-input" name="followUpPerson"/>
-								</li>
-								<li>
-									是否接受随访:<select name="acceptFollowUp" id="acceptFollowUpSelect" class="styled-input" th:with="type=${@dict.getType('sys_select_yes_no')}">
-										<option value="">所有</option>
-										<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictLabel}"></option>
-									</select>
-								</li>
-								<li>
-									档案是否完善:<select name="archiveCompleteStatus"  class="styled-input" th:with="type=${@dict.getType('sys_doc_yes_no')}">
-										<option value="">所有</option>
-										<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictLabel}" ></option>
-									</select>
-								</li>
-								<li>
-									门店:<input type="text"  placeholder="请输入门店" class="styled-input" name="storeName"/>
-								</li>
-
-							</ul>
+					<form id="archives-form" class="customize-search-form">
+						<div class="customize-form-group">
+							<label>患者信息:</label>
+							<input type="text" placeholder="请输入姓名手机号" class="styled-input" name="name"/>
+						</div>
+						<div class="customize-form-group">
+							<label>	药品:</label>
+							<input type="text"  placeholder="请输入商品名/通用名/MDM编码" class="styled-input" name="query"/>
+						</div>
+						<div class="customize-form-group">
+							<label>随访跟进人:</label>
+							<input type="text"  placeholder="请输入随访跟进人" class="styled-input" name="followUpPerson"/>
+						</div>
+						<div class="customize-form-group">
+							<label>是否接受随访:</label>
+							<select name="acceptFollowUp" id="acceptFollowUpSelect" class="styled-input" th:with="type=${@dict.getType('sys_select_yes_no')}">
+								<option value="">所有</option>
+								<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictLabel}"></option>
+							</select>
+						</div>
+						<div class="customize-form-group">
+							<label>档案是否完善:</label>
+							<select name="archiveCompleteStatus"  class="styled-input" th:with="type=${@dict.getType('sys_doc_yes_no')}">
+								<option value="">所有</option>
+								<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictLabel}" ></option>
+							</select>
+						</div>
+						<div class="customize-form-group">
+							<label>门店:</label>
+							<input type="text"  placeholder="请输入门店" class="styled-input" name="storeName"/>
 						</div>
 
 					</form>
@@ -100,8 +71,8 @@
 			        </a>-->
 		        </div>
 
-		        <div class="col-sm-12 select-table table-striped">
-				    <table id="bootstrap-table"></table>
+				<div class="col-sm-12 select-table table-striped" style="width: 100%; overflow-x: auto;">
+					<table id="bootstrap-table" class="fixed-layout-table"></table>
 				</div>
 			</div>
 		</div>
@@ -151,6 +122,9 @@
 				showFooter:true,  //是否显示表格底部区域。
 				clickToSelect: true, //是否启用点击行时选中整行的功能。
                 singleSelect: false, //是否仅允许选择一行
+				fixedColumns: true,
+				//fixedNumber: 3,
+				fixedRightNumber: 1,
 		        columns: [{
 		            checkbox: true
 		        },