Browse Source

bug解决。1、bug4153
2、续方详情里面的审核续方的权限问题

raolu 7 years ago
parent
commit
1cd411e1a2
2 changed files with 4 additions and 3 deletions
  1. 2 1
      js/api-service.js
  2. 2 2
      prescription-detail.html

+ 2 - 1
js/api-service.js

@ -48,7 +48,8 @@
    }
    var isRelogined = sessionStorage.getItem('wlyy_relogin')
    if(isRelogined && top !== window && location.href.indexOf("login.html") < 0) {
//  if(isRelogined && top !== window && location.href.indexOf("login.html") < 0) {
    if(isRelogined && location.href.indexOf("login.html") < 0){
        sessionStorage.removeItem('wlyy_relogin')
        top.location.reload(true)
    }

+ 2 - 2
prescription-detail.html

@ -138,7 +138,7 @@
	    <!--
        	prescription.status 2、3 为线下调整,应屏蔽,31为开方失败,可以继续审核
        -->
	    {{if (prescription.status >= 0 && prescription.status != 2 && prescription.status != 3 && prescription.status <= 10 && isLeader) || (prescription.status == 31 && isLeader) }}
	    {{if isLeader && ((prescription.status >= 0 && prescription.status != 2 && prescription.status != 3 && prescription.status <= 10 ) || (prescription.status == 31)) }}
	    <div id="presctiptionAudit" class="ibox mb5">
	        <div class="mt15">
	            <p class="c-333 c-f16 mb5">续方审核</p>
@ -244,7 +244,7 @@
	    
	    {{/if}}
		<div class="c-tac mb20 mt20">
			{{if (prescription.status >= 0 && prescription.status != 2 && prescription.status != 3 && prescription.status <= 10 && isLeader) || (prescription.status == 31) }}
			{{if isLeader && ((prescription.status >= 0 && prescription.status != 2 && prescription.status != 3 && prescription.status <= 10) || (prescription.status == 31)) }}
			<button id="reviewBtn" type="button" class="btn btn-w-m btn-success mlr20">确认</button>
			{{/if}}
			{{if (prescription.status == 0 || prescription.status == 31)&& prescription.status != 2 && prescription.status != 3 && isLeader }}