XMLWAN 4 vuotta sitten
vanhempi
commit
6d7d3d1271
1 muutettua tiedostoa jossa 8 lisäystä ja 4 poistoa
  1. 8 4
      src/xt_pages/user/doctorAdvice.vue

+ 8 - 4
src/xt_pages/user/doctorAdvice.vue Näytä tiedosto

@@ -1998,8 +1998,12 @@ export default {
1998 1998
         ]
1999 1999
       },
2000 2000
 
2001
-      adviceType: 1,
2002
-      adviceTypeArr: [{ value: 1, label: "长期" }, { value: 3, label: "临时" }],
2001
+      adviceType: 0,
2002
+      adviceTypeArr: [
2003
+        { value: 0, label: "全部" },
2004
+        { value: 1, label: "长期" },
2005
+        { value: 3, label: "临时" }
2006
+      ],
2003 2007
       adviceTypeOptions: [
2004 2008
         { value: 1, label: "长期" },
2005 2009
         { value: 3, label: "临时" }
@@ -2108,7 +2112,7 @@ export default {
2108 2112
       listQuery: {
2109 2113
         start_time: "",
2110 2114
         end_time: "",
2111
-        advice_type: 1,
2115
+        advice_type: 0,
2112 2116
         stop_state: "",
2113 2117
         keywords: "",
2114 2118
         id: 0,
@@ -3348,7 +3352,7 @@ export default {
3348 3352
     },
3349 3353
 
3350 3354
     selectAdvice(selection, row) {
3351
-      if (this.adviceType != 3 || this.adviceType != 2) {
3355
+      if (this.adviceType != 3) {
3352 3356
         this.lstableData = [];
3353 3357
       } else if (this.adviceType != 1) {
3354 3358
         this.cqtableData = [];