| | |
| | | options: [ |
| | | { value: "47255004333112711A1001", label: "景宁畲族自治县人民医院" }, |
| | | { value: "47231022633110211A2101", label: "丽水市中医院" }, |
| | | { value: "47246102433112211A2101", label: "缙云县中医医院 " }, |
| | | { value: "47240018433118111A2101", label: "龙泉市中医医院 " }, |
| | | ], |
| | | loginRules: { |
| | | username: [ |
| | |
| | | // this.loginForm.orgid = '1', |
| | | this.$store |
| | | .dispatch("Login", this.loginForm) |
| | | .then(() => { |
| | | // this.$router.push({ path: this.redirect || "/" }).catch(() => {}); |
| | | this.$router.push({ path:"/followvisit/discharge" }).catch(() => {}); |
| | | .then((res) => { |
| | | if (this.loginForm.username=='admin') { |
| | | this.$router.push({ path:"/index" }).catch(() => {}); |
| | | }else{ |
| | | this.$router.push({ path:"/followvisit/discharge" }).catch(() => {}); |
| | | } |
| | | }) |
| | | .catch(() => { |
| | | this.loading = false; |