yuhaitao14 7 years ago
parent
commit
cea514e347

+ 2 - 0
shop/src/main/resource/templates/mypayedorders.html

@@ -50,6 +50,8 @@
                             		<div class="cBlue mt10" th:if="${item.fa != null}" >体检人:<span th:text="${item.fa.name}"></span> 预约日期:<span th:text="${item.fa.atime + ' ' + item.fa.extend}"></span></div>
                             	</div>
                             	<a th:if="${item.fa == null}" th:attr="href='/appointment/goappointment/'+${item.bid}+'/'+${item.id}" class="btn-blue y" >预约体检</a>
+                            	<a th:if="${item.fa != null and item.fa.tjstatus eq -3}" href="#" class="btn-blue y" >已退款</a>
+                            	<a th:if="${item.fa != null and item.fa.tjstatus eq -2}" href="#" class="btn-blue y" >已取消</a>
                             	<a th:if="${item.fa != null and item.fa.tjstatus eq -1}" th:attr="href='/appointment/gochangeappointment/'+${item.fa.aid}" class="btn-blue y" >改约</a>
                             	<a th:if="${item.fa != null and item.fa.tjstatus eq 0}" href="#" class="btn-blue y" >已登记</a>
                             	<a th:if="${item.fa != null and item.fa.tjstatus eq 1}" href="#" class="btn-blue y" >体检结束(报告生成中)</a>

+ 2 - 0
shop/src/main/resource/templates/query_report.html

@@ -50,6 +50,8 @@
                             		<div class="cBlue mt10" th:if="${item.fa != null}" >体检人:<span th:text="${item.fa.name}"></span> 预约日期:<span th:text="${item.fa.atime + ' ' + item.fa.extend}"></span></div>
                             	</div>
                             	<a th:if="${item.fa == null}" th:attr="href='/appointment/goappointment/'+${item.bid}+'/'+${item.id}" class="btn-blue y" >预约体检</a>
+                            	<a th:if="${item.fa != null and item.fa.tjstatus eq -3}" href="#" class="btn-blue y" >已退款</a>
+                            	<a th:if="${item.fa != null and item.fa.tjstatus eq -2}" href="#" class="btn-blue y" >已取消</a>
                             	<a th:if="${item.fa != null and item.fa.tjstatus eq -1}" th:attr="href='/appointment/gochangeappointment/'+${item.fa.aid}" class="btn-blue y" >改约</a>
                             	<a th:if="${item.fa != null and item.fa.tjstatus eq 0}" href="#" class="btn-blue y" >已登记</a>
                             	<a th:if="${item.fa != null and item.fa.tjstatus eq 1}" href="#" class="btn-blue y" >体检结束(报告生成中)</a>