@@ -28,6 +28,7 @@
export default {
data() {
return {
+ hospSign: '', // 医院标识
username: '', // 用户名
password: '', // 密码
rolList: [
@@ -39,6 +40,9 @@
]
}
},
+ onLoad({ hospSign }){
+ this.hospSign = hospSign;
+ },
methods: {
login() {
if(this.isLogin) return
@@ -48,7 +52,8 @@
key: 'login',
data: {
username: encryption(this.username),
- password: encryption(this.password)
+ password: encryption(this.password),
+ hospSign: this.hospSign
}).then((data) => {