| | |
| | | password: "", |
| | | rememberMe: false, |
| | | code: "", |
| | | orgid:'1', |
| | | orgid:'47255004333112711A1001', |
| | | }, |
| | | options: [ |
| | | { value: "1", label: "景宁畲族自治县人民医院" }, |
| | | { value: "2", label: "丽水市中医院" }, |
| | | { value: "47255004333112711A1001", label: "景宁畲族自治县人民医院" }, |
| | | { value: "47231022633110211A2101", label: "丽水市中医院" }, |
| | | ], |
| | | loginRules: { |
| | | username: [ |
| | |
| | | Cookies.remove("password"); |
| | | Cookies.remove("rememberMe"); |
| | | } |
| | | this.loginForm.orgid = '1', |
| | | // this.loginForm.orgid = '1', |
| | | this.$store |
| | | .dispatch("Login", this.loginForm) |
| | | .then(() => { |
| | | // this.$router.push({ path: this.redirect || "/" }).catch(() => {}); |
| | | this.$router.push({ path:"/patient/patient" }).catch(() => {}); |
| | | this.$router.push({ path:"/followvisit/discharge" }).catch(() => {}); |
| | | }) |
| | | .catch(() => { |
| | | this.loading = false; |