Browse Source

标本视图地址修改

seimin 2 years ago
parent
commit
164d55545a
2 changed files with 2 additions and 11 deletions
  1. 1 10
      src/app/views/main/main.component.ts
  2. 1 1
      src/main.ts

+ 1 - 10
src/app/views/main/main.component.ts

@@ -223,16 +223,7 @@ export class MainComponent implements OnInit {
223 223
     } else if (this.screenType === "largeScreen2") {
224 224
       window.open(http.bigScreenHost2 + "/#/" + id);
225 225
     } else if (this.screenType === "specimenView") {
226
-      let remember = JSON.parse(localStorage.getItem("remember"));
227
-      window.open(
228
-        http.specimenViewHost +
229
-          "/#/" +
230
-          id +
231
-          "/" +
232
-          encodeURIComponent(remember.username) +
233
-          "/" +
234
-          encodeURIComponent(remember.password)
235
-      );
226
+      window.open(http.specimenViewHost + "/#/" + id);
236 227
     }
237 228
   }
238 229
   //获取系统设置中的科室类型

+ 1 - 1
src/main.ts

@@ -8,7 +8,7 @@ if (environment.production) {
8 8
   enableProdMode();
9 9
   if (window) {
10 10
     window.console.log = function () { };
11
-    console.info('v2.4.5');
11
+    console.info('v2.4.6');
12 12
   }
13 13
 }
14 14
 platformBrowserDynamic().bootstrapModule(AppModule)