Quellcode durchsuchen

Merge branch 'master' of http://git.shengws.com/csx/Pad_New

csx vor 4 Jahren
Ursprung
Commit
223bf61c69

+ 25 - 9
src/pages/doctorAdvice/components/Inspection.vue Datei anzeigen

169
       index: 0,
169
       index: 0,
170
       name: "",
170
       name: "",
171
       date: "",
171
       date: "",
172
-      index: ""
172
+      index: "",
173
+      restatus: 0
173
     };
174
     };
174
   },
175
   },
175
   methods: {
176
   methods: {
323
     onLoad() {},
324
     onLoad() {},
324
     toInspection(date) {
325
     toInspection(date) {
325
       var patientid = this.$route.query.patientid;
326
       var patientid = this.$route.query.patientid;
326
-      this.$router.push(
327
-        "/allinspection?patientid=" +
328
-          patientid +
329
-          "&date=" +
330
-          date +
331
-          "&active=" +
332
-          this.active
333
-      );
327
+      if (this.restatus == 1) {
328
+        this.$router.push(
329
+          "/allinspection?patientid=" +
330
+            patientid +
331
+            "&date=" +
332
+            date +
333
+            "&active=" +
334
+            this.active +
335
+            "&restatus=" +
336
+            this.restatus
337
+        );
338
+      } else {
339
+        this.$router.push(
340
+          "/allinspection?patientid=" +
341
+            patientid +
342
+            "&date=" +
343
+            date +
344
+            "&active=" +
345
+            this.active
346
+        );
347
+      }
334
     },
348
     },
335
     Delete(date, index) {
349
     Delete(date, index) {
336
       this.newShow = true;
350
       this.newShow = true;
404
     // 获取所有检验检查项目
418
     // 获取所有检验检查项目
405
     this.getAllInspection();
419
     this.getAllInspection();
406
     this.getInspection(patientid);
420
     this.getInspection(patientid);
421
+    var restatus = this.$route.query.restatus;
422
+    this.restatus = restatus;
407
   }
423
   }
408
 };
424
 };
409
 </script>
425
 </script>

+ 1 - 0
src/pages/doctorAdvice/index.vue Datei anzeigen

562
       this.$router.push("/editPatient?patientid=" + this.patient_id);
562
       this.$router.push("/editPatient?patientid=" + this.patient_id);
563
     },
563
     },
564
     toReturn() {
564
     toReturn() {
565
+      console.log("this.restatus", this.restatus);
565
       if (this.restatus == 1) {
566
       if (this.restatus == 1) {
566
         this.$router.push(
567
         this.$router.push(
567
           "/details?patient_id=" +
568
           "/details?patient_id=" +

Datei-Diff unterdrückt, da er zu groß ist
+ 1134 - 1066
src/pages/main/dialog/OrdersDialog.vue


+ 23 - 9
src/pages/patientCenter/allCheck/index.vue Datei anzeigen

83
       activeTwo: 0,
83
       activeTwo: 0,
84
       patientid: 0,
84
       patientid: 0,
85
       data: [],
85
       data: [],
86
-      projectName: []
86
+      projectName: [],
87
+      restatus: 0
87
     };
88
     };
88
   },
89
   },
89
   methods: {
90
   methods: {
130
       getInspectionDetail(patientid, date, this.project_id).then(response => {
131
       getInspectionDetail(patientid, date, this.project_id).then(response => {
131
         if (response.data.state === 1) {
132
         if (response.data.state === 1) {
132
           var InspectionDetail = response.data.data.InspectionDetail;
133
           var InspectionDetail = response.data.data.InspectionDetail;
133
-          //console.log("数据是", InspectionDetail);
134
+          // console.log("数据是", InspectionDetail);
134
           this.InspectionDetail = InspectionDetail;
135
           this.InspectionDetail = InspectionDetail;
135
         }
136
         }
136
       });
137
       });
150
       return uParseTime(time, "{y}-{m}-{d}");
151
       return uParseTime(time, "{y}-{m}-{d}");
151
     },
152
     },
152
     toReturn() {
153
     toReturn() {
153
-      this.$router.push(
154
-        "/patientdetail?patientid=" +
155
-          this.patientid +
156
-          "&active=" +
157
-          this.activeTwo
158
-      );
154
+      if (this.restatus == 1) {
155
+        this.$router.push(
156
+          "/patientdetail?patientid=" +
157
+            this.patientid +
158
+            "&active=" +
159
+            this.activeTwo +
160
+            "&restatus=" +
161
+            this.restatus
162
+        );
163
+      } else {
164
+        this.$router.push(
165
+          "/patientdetail?patientid=" +
166
+            this.patientid +
167
+            "&active=" +
168
+            this.activeTwo
169
+        );
170
+      }
159
     }
171
     }
160
   },
172
   },
161
   created() {
173
   created() {
170
     this.GetAllProjectNameByDate(date, patientid);
182
     this.GetAllProjectNameByDate(date, patientid);
171
     this.getAllInspection();
183
     this.getAllInspection();
172
     this.getPatientName(patientid);
184
     this.getPatientName(patientid);
185
+    var restatus = this.$route.query.restatus;
186
+    this.restatus = restatus;
173
   }
187
   }
174
 };
188
 };
175
 </script>
189
 </script>
277
     font-weight: bold;
291
     font-weight: bold;
278
     flex-basis: 26% !important;
292
     flex-basis: 26% !important;
279
   }
293
   }
280
-  .van-tabs__wrap{
294
+  .van-tabs__wrap {
281
     overflow: inherit;
295
     overflow: inherit;
282
   }
296
   }
283
 }
297
 }