| 
					
				 | 
			
			
				@@ -7,329 +7,323 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 </head> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 <body class="gray-bg"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	<div class="ui-layout-center"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		<div class="container-div"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			<div class="row"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				<div class="col-sm-12 search-collapse"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					<div class="query-condition-container"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						<h4 class="query-condition-title">查询条件</h4> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						<div class="query-buttons"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							<a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i> 搜索</a> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							<a class="btn btn-warning btn-rounded btn-sm" onclick="resetPre()"><i class="fa fa-refresh"></i> 重置</a> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						</div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+<div class="ui-layout-center"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	<div class="container-div"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		<div class="row"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			<div class="col-sm-12 search-collapse"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				<div class="query-condition-container"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					<h4 class="query-condition-title">查询条件</h4> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					<div class="query-buttons"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						<a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i> 搜索</a> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						<a class="btn btn-warning btn-rounded btn-sm" onclick="resetPre()"><i class="fa fa-refresh"></i> 重置</a> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					</div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					<form id="user-form" class="customize-search-form"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						<div class="customize-form-group-container"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							<div class="customize-form-group"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-								<label>患者信息:</label> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-								<input type="text" class="styled-input" placeholder="请输入患者姓名或手机号" name="query"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							</div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							<div class="customize-form-group"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-								<label>销售单号:</label> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-								<input type="text" class="styled-input" name="saleOrderNumber"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							</div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							<div class="customize-form-group"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-								<label>处方单号:</label> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-								<input type="text" class="styled-input" name="prescriptionNumber"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							</div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							<div class="customize-form-group"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-								<label>处方类型</label> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-								<select name="prescriptionType"  th:with="type=${@dict.getType('sys_select_prescription_ype')}" class="styled-input"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-									<option value="">全部</option> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-									<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-									></option> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-								</select> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							</div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				</div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				<form id="user-form" class="customize-search-form"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					<div class="customize-form-group-container"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						<div class="customize-form-group"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							<label>患者信息:</label> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							<input type="text" class="styled-input" placeholder="请输入患者姓名或手机号" name="query"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						</div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							<div class="customize-form-group select-time"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-								<label>处方登记日期:</label> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-								<input type="text" class="time-input" id="startTime" placeholder="开始时间" name="beginTime"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-								<span>-</span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-								<input type="text" class="time-input" id="endTime" placeholder="结束时间" name="endTime"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							</div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							<div class="customize-form-group"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-								<label>订单状态</label> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-								<select name="status" th:with="type=${@dict.getType('sys_select_order_status')}" class="styled-input"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-									<option value="">全部</option> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-									<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-									></option> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-								</select> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							</div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						<div class="customize-form-group"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							<label>销售单号:</label> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							<input type="text" class="styled-input" name="saleOrderNumber"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						</div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					</form> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				</div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		        <div class="btn-group-sm" id="toolbar" role="group"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-<!--		        	<a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="dtp:recipe:add">--> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-<!--		                <i class="fa fa-plus"></i> 处方登记APP--> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-<!--		            </a>--> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					<a class="btn btn-success" onclick="$.operate.addTab2()" shiro:hasPermission="dtp:recipe:add"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						<i class="fa fa-plus"></i> 新建登记 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					</a> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		        </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				<div class="col-sm-12 select-table table-striped" style="width: 100%; overflow-x: hidden;"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					<table id="bootstrap-table" class="fixed-layout-table"></table> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				</div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						<div class="customize-form-group"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							<label>处方单号:</label> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							<input type="text" class="styled-input" name="prescriptionNumber"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						</div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						<div class="customize-form-group"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							<label>处方类型</label> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							<select name="prescriptionType"  th:with="type=${@dict.getType('sys_select_prescription_ype')}" class="styled-input"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+								<option value="">全部</option> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+								<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+								></option> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							</select> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						</div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						<div class="customize-form-group select-time"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							<label>处方登记日期:</label> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							<input type="text" class="time-input" id="startTime" placeholder="开始时间" name="beginTime"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							<span>-</span> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							<input type="text" class="time-input" id="endTime" placeholder="结束时间" name="endTime"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						</div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						<div class="customize-form-group"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							<label>订单状态</label> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							<select name="status" th:with="type=${@dict.getType('sys_select_order_status')}" class="styled-input"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+								<option value="">全部</option> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+								<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+								></option> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							</select> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						</div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					</div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				</form> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			</div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			<div class="btn-group-sm" id="toolbar" role="group"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				<!--		        	<a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="dtp:recipe:add">--> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				<!--		                <i class="fa fa-plus"></i> 处方登记APP--> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				<!--		            </a>--> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				<a class="btn btn-success" onclick="$.operate.addTab2()" shiro:hasPermission="dtp:recipe:add"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					<i class="fa fa-plus"></i> 新建登记 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				</a> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			</div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			<div class="col-sm-12 select-table table-striped" style="width: 100%; overflow-x: hidden;"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				<table id="bootstrap-table" class="fixed-layout-table"></table> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			</div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		</div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	</div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	<th:block th:include="include :: footer" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	<th:block th:include="include :: layout-latest-js" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	<th:block th:include="include :: bootstrap-table-fixed-columns-js" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	<th:block th:include="include :: ztree-js" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	<script th:inline="javascript"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		var editFlag = [[${@permission.hasPermi('system:user:edit')}]]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		var removeFlag = [[${@permission.hasPermi('system:user:remove')}]]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		var prefix = ctx + "dtp/recipe"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+</div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		$(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); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	    	} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		    queryUserList(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		}); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+<th:block th:include="include :: footer" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+<th:block th:include="include :: layout-latest-js" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+<th:block th:include="include :: bootstrap-table-fixed-columns-js" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+<th:block th:include="include :: ztree-js" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+<script th:inline="javascript"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	var editFlag = [[${@permission.hasPermi('system:user:edit')}]]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	var removeFlag = [[${@permission.hasPermi('system:user:remove')}]]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	var prefix = ctx + "dtp/recipe"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		function queryUserList() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		    var options = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		        url: prefix + "/list", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		        viewUrl: prefix + "/viewInfo/{id}", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		        createUrl: prefix + "/add", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				createUrl2: prefix + "/newRecipe", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		        updateUrl: prefix + "/viewEditInfo/{id}", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		        removeUrl: prefix + "/remove", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		        exportUrl: prefix + "/export", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		        //importUrl: prefix + "/importData", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		        importTemplateUrl: prefix + "/importTemplate", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		        sortName: "id", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		        sortOrder: "desc", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		        modalName: "处方登记信息", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				fitColumns: true, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				striped: true, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				autoRowHeight: true, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				rowNumbers: true, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				showFooter:true,  //是否显示表格底部区域。 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				clickToSelect: true, //是否启用点击行时选中整行的功能。 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				singleSelect: true, //是否仅允许选择一行 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				fixedColumns: true, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				//fixedNumber: 3, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				fixedRightNumber: 1, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				columns: [{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					checkbox: true 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				}, { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					field: "id", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					title: "ID", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					visible: false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				}, { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					field: "prescriptionNumber", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					title: "处方单号" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				}, { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					field: "saleOrderNumber", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					title: "销售单号" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				}, { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					field: "hospital", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					title: "医院" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				}, { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					field: "department", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					title: "科室" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				}, { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					field: "prescribingDoctor", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					title: "处方医生" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				}, { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					field: "attendingDoctor", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					title: "主管医生" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				}, { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					field: "patientName", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					title: "患者姓名" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				}, { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					field: "gender", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					title: "性别" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				}, { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					field: "age", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					title: "年龄" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				} ,{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					field: "patientPhone", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					title: "患者手机号" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				}, { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					field: "storeName", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					title: "建档门店", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					visible: false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				}, { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					field: "registrant", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					title: "登记人" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				}, { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					field: "reviewingName", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					title: "审核药师姓名" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				}, { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					field: "prescriptionType", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					title: "处方类型", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					formatter: function(value, row, index) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						switch (value) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							case 1: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-								return "电子处方"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-								break; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							case 2: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-								return "纸质处方"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-								break; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							default: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-								return ""; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	$(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); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		queryUserList(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	}); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	function queryUserList() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		var options = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			url: prefix + "/list", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			viewUrl: prefix + "/viewInfo/{id}", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			createUrl: prefix + "/add", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			createUrl2: prefix + "/newRecipe", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			updateUrl: prefix + "/viewEditInfo/{id}", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			removeUrl: prefix + "/remove", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			exportUrl: prefix + "/export", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			//importUrl: prefix + "/importData", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			importTemplateUrl: prefix + "/importTemplate", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			sortName: "id", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			sortOrder: "desc", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			modalName: "处方登记信息", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			fitColumns: true, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			striped: true, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			autoRowHeight: true, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			rowNumbers: true, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			showFooter:true,  //是否显示表格底部区域。 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			clickToSelect: true, //是否启用点击行时选中整行的功能。 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			singleSelect: true, //是否仅允许选择一行 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			fixedColumns: true, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			//fixedNumber: 3, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			fixedRightNumber: 1, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			columns: [{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				checkbox: true 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			}, { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				field: "id", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				title: "ID", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				visible: false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			}, { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				field: "prescriptionNumber", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				title: "处方单号" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			}, { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				field: "saleOrderNumber", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				title: "销售单号" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			}, { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				field: "hospital", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				title: "医院" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			}, { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				field: "department", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				title: "科室" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			}, { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				field: "prescribingDoctor", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				title: "处方医生" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			}, { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				field: "attendingDoctor", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				title: "主管医生" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			}, { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				field: "patientName", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				title: "患者姓名" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			}, { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				field: "gender", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				title: "性别" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			}, { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				field: "age", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				title: "年龄" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			} ,{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				field: "patientPhone", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				title: "患者手机号" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			}, { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				field: "storeName", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				title: "建档门店", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				visible: false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			}, { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				field: "registrant", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				title: "登记人" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			}, { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				field: "reviewingName", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				title: "审核药师姓名" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			}, { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				field: "prescriptionType", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				title: "处方类型", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				formatter: function(value, row, index) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					switch (value) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						case 1: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							return "电子处方"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							break; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						case 2: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							return "纸质处方"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							break; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						default: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							return ""; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				}, { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					field: "status", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					title: "状态", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					formatter: function(value, row, index) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						switch (value) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							case 1: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-								return "订单已完成"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-								break; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							case 2: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-								return "待上传处方"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-								break; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							case 3: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-								return "待确认信息"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-								break; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							case 4: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-								return "待处方登记"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-								break; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							case 5: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-								return "待订单销售"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-								break; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							case 6: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-								return "待绑定患者"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-								break; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							case 7: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-								return "处方已完成"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-								break; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							case 8: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-								return "订单已退款"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-								break; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							default: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-								return "待确认信息"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			}, { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				field: "status", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				title: "状态", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				formatter: function(value, row, index) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					switch (value) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						case 1: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							return "订单已完成"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							break; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						case 2: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							return "待上传处方"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							break; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						case 3: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							return "待确认信息"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							break; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						case 4: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							return "待处方登记"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							break; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						case 5: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							return "待订单销售"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							break; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						case 6: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							return "待绑定患者"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							break; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						case 7: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							return "处方已完成"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							break; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						case 8: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							return "订单已退款"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							break; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						default: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							return "待确认信息"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				}, { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					field: "createdTime", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					title: "创建时间" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				}, { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					field: "updatedTime", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					title: "最后更新时间", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					visible: false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				}, { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					field: "prescriptionImageUrl", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					title: "处方图片URL", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					visible: false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				}, { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					field: "invoiceImageUrl", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					title: "发票图片URL", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					visible: false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				}, { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					field: "prescriptionIssueDate", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					title: "处方开具日期" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				}, { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					field: "saleDate", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					title: "销售日期" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				}, { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					field: "registrationDate", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					title: "处方登记日期" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				}, { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					field: "drugVarietyCount", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					title: "药品品种数", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					visible: false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				}, { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					field: "drugQuantity", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					title: "处方取药数量" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				}, { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					field: "invoiceCode", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					title: "发票编码", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					visible: false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				}, { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					field: "drugsLinkId", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					title: "处方关联的处方购药药表ID", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					visible: false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				}, { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					field: "reviewStatus", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					title: "处方审核状态", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					formatter: function(value, row, index) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						switch (value) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							case 1: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-								return "审核通过"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-								break; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							case 2: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-								return "待审核"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-								break; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							case 3: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-								return "审核未通过"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-								break; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							case 4: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-								return "待订单销售"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-								break; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							default: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-								return "待确认信息"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			}, { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				field: "createdTime", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				title: "创建时间" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			}, { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				field: "updatedTime", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				title: "最后更新时间", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				visible: false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			}, { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				field: "prescriptionImageUrl", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				title: "处方图片URL", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				visible: false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			}, { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				field: "invoiceImageUrl", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				title: "发票图片URL", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				visible: false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			}, { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				field: "prescriptionIssueDate", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				title: "处方开具日期" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			}, { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				field: "saleDate", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				title: "销售日期" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			}, { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				field: "registrationDate", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				title: "处方登记日期" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			}, { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				field: "drugVarietyCount", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				title: "药品品种数", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				visible: false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			}, { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				field: "drugQuantity", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				title: "处方取药数量" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			}, { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				field: "invoiceCode", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				title: "发票编码", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				visible: false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			}, { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				field: "drugsLinkId", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				title: "处方关联的处方购药药表ID", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				visible: false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			}, { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				field: "reviewStatus", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				title: "处方审核状态", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				formatter: function(value, row, index) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					switch (value) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						case 0: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							return "审核不通过"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							break; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						case 1: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							return "审核通过"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							break; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						default: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							return "待审核"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					}, { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					field: "source", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					title: "处方来源", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					visible: false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				}, { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					field: "drugRoute", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					title: "用药途径", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					visible: false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				}, { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					field: "storeId", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					title: "建档门店ID", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					visible: false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				}, { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					field: "remarks", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					title: "备注", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					visible: false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				}, { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					title: '操作', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					align: 'center', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					width: 165, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					formatter: function(value, row, index) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						if (row.id) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							var actions = []; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.editTab(\'' + row.id + '\')"><i class="fa fa-edit"></i>编辑</a> '); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							actions.push('<a class="btn btn-warning btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.view(\'' + row.id + '\')"><i class="fa fa-eye"></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(''); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						} else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							return ""; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			}, { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				field: "source", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				title: "处方来源", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				visible: false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			}, { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				field: "drugRoute", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				title: "用药途径", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				visible: false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			}, { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				field: "storeId", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				title: "建档门店ID", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				visible: false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			}, { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				field: "remarks", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				title: "备注", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				visible: false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			}, { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				title: '操作', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				align: 'center', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				width: 165, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				formatter: function(value, row, index) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					if (row.id) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						var actions = []; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.editTab(\'' + row.id + '\')"><i class="fa fa-edit"></i>编辑</a> '); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						actions.push('<a class="btn btn-warning btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.view(\'' + row.id + '\')"><i class="fa fa-eye"></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(''); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					} else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						return ""; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				}] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		    }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		    $.table.init(options); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			}] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		}; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		$.table.init(options); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		/* 自定义重置-表单重置/隐藏框/树节点选择色/搜索 */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		function resetPre() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			resetDate(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			$("#user-form")[0].reset(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			$("#deptId").val(""); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			$("#parentId").val(""); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			$(".curSelectedNode").removeClass("curSelectedNode"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			$.table.search(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	/* 自定义重置-表单重置/隐藏框/树节点选择色/搜索 */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	function resetPre() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		resetDate(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		$("#user-form")[0].reset(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		$("#deptId").val(""); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		$("#parentId").val(""); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		$(".curSelectedNode").removeClass("curSelectedNode"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		$.table.search(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	</script> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+</script> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 </body> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-	<style> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		.modal { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+<style> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	.modal { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		display: none; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		position: fixed; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		z-index: 1; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -339,32 +333,32 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		height: 100%; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		overflow: auto; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		background-color: rgba(0,0,0,0.4); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		.modalbudan{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			display: none; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		.modal-content { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	.modalbudan{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		display: none; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	.modal-content { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		background-color: #fefefe; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		margin: 15% auto; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		padding: 20px; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		border: 1px solid #888; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		width: 90%; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		.close { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	.close { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		color: #aaa; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		float: right; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		font-size: 28px; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		font-weight: bold; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		.close:hover, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		.close:focus { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	.close:hover, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	.close:focus { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		color: black; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		text-decoration: none; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		cursor: pointer; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		.error-message { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			color: red; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			display: none; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	.error-message { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		color: red; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		display: none; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 </style> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 </html> 
			 |