Browse Source

医嘱需求

XMLWAN 4 years ago
parent
commit
6d7d3d1271
1 changed files with 8 additions and 4 deletions
  1. 8 4
      src/xt_pages/user/doctorAdvice.vue

+ 8 - 4
src/xt_pages/user/doctorAdvice.vue View File

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
       adviceTypeOptions: [
2007
       adviceTypeOptions: [
2004
         { value: 1, label: "长期" },
2008
         { value: 1, label: "长期" },
2005
         { value: 3, label: "临时" }
2009
         { value: 3, label: "临时" }
2108
       listQuery: {
2112
       listQuery: {
2109
         start_time: "",
2113
         start_time: "",
2110
         end_time: "",
2114
         end_time: "",
2111
-        advice_type: 1,
2115
+        advice_type: 0,
2112
         stop_state: "",
2116
         stop_state: "",
2113
         keywords: "",
2117
         keywords: "",
2114
         id: 0,
2118
         id: 0,
3348
     },
3352
     },
3349
 
3353
 
3350
     selectAdvice(selection, row) {
3354
     selectAdvice(selection, row) {
3351
-      if (this.adviceType != 3 || this.adviceType != 2) {
3355
+      if (this.adviceType != 3) {
3352
         this.lstableData = [];
3356
         this.lstableData = [];
3353
       } else if (this.adviceType != 1) {
3357
       } else if (this.adviceType != 1) {
3354
         this.cqtableData = [];
3358
         this.cqtableData = [];