seimin 3 年之前
父节点
当前提交
cab28dffd3
共有 1 个文件被更改,包括 6 次插入3 次删除
  1. 6 3
      pages/receiptpage/receiptpage.vue

+ 6 - 3
pages/receiptpage/receiptpage.vue

@@ -435,6 +435,9 @@
435
             url: "../patientInformationList/patientInformationList",
435
             url: "../patientInformationList/patientInformationList",
436
           });
436
           });
437
         } else if (e.item.text === "负责科室") {
437
         } else if (e.item.text === "负责科室") {
438
+          if (uni.getStorageSync("setDepts")) {
439
+            uni.removeStorageSync("setDepts"); //清空选择的科室,初始化
440
+          }
438
           let obj = uni.getStorageSync("setDeptConfg");
441
           let obj = uni.getStorageSync("setDeptConfg");
439
           uni.navigateTo({
442
           uni.navigateTo({
440
             url: `../setDept/setDept?configName=${obj.configName}&id=${obj.id}&changedept=1`,
443
             url: `../setDept/setDept?configName=${obj.configName}&id=${obj.id}&changedept=1`,
@@ -700,9 +703,9 @@
700
         });
703
         });
701
       }
704
       }
702
       // #ifdef APP-PLUS
705
       // #ifdef APP-PLUS
703
-      this.content.push({
704
-        text: "退出登录",
705
-      });
706
+      // this.content.push({
707
+      //   text: "退出登录",
708
+      // });
706
       // #endif
709
       // #endif
707
       this.selectedLabelSlots = "执行中";
710
       this.selectedLabelSlots = "执行中";
708
       this.waitingOrdersGetNum();
711
       this.waitingOrdersGetNum();