Przeglądaj źródła

审核未通过的续方详情,提示优化

linehang 7 lat temu
rodzic
commit
6973296533
2 zmienionych plików z 7 dodań i 2 usunięć
  1. 6 1
      js/buz/prescription-detail.js
  2. 1 1
      prescription-detail.html

+ 6 - 1
js/buz/prescription-detail.js

@ -34,7 +34,12 @@ $(function(){
    template.helper('getStatusName',function(status) {
    	return getStatusName(status)
    })
    
    template.helper('setReview',function(o){
		if(o == 0){ return '<span style="color:#ffa54b">审核中</span>' }
		if(o == 1){ return '<span style="color:#17b3ec">审核通过</span>' }
		if(o == -1){ return '<span style="color:#ff4c4c">审核未通过</span>' }
		if(o == -2){ return '<span style="color:#ff4c4c">审核无效</span>' }
	})
    template.helper('getReviewResultName',function(status) {
    	return getReviewResultName(status)
    })

+ 1 - 1
prescription-detail.html

@ -235,7 +235,7 @@
		            		<td>审核时间:<span class="c-333">{{reviewed.reviewedTime}}</span></td>
		            	</tr>
		            	<tr>
		            		<td>审核结果:<span class="c-333">{{reviewed.status | getReviewResultName}}</span></td>
		            		<td>审核结果:<span class="c-333">{{# setReview(reviewed.status)}}</span></td>
		            		<td>原因:<span class="c-333">{{reviewed.reason}}</span></td>
		            	</tr>
		            </table>