|
|
@@ -173,6 +173,13 @@ export default { |
|
|
|
this.zkhousePage(); |
|
|
|
}); |
|
|
|
}, |
|
|
|
addLoginCount(houseId){ |
|
|
|
this.$api.api.addLoginCount({ |
|
|
|
houseId |
|
|
|
}).then(res=>{ |
|
|
|
console.log(res); |
|
|
|
}) |
|
|
|
}, |
|
|
|
zkhousePage() { |
|
|
|
let obj = { |
|
|
|
current: 1, |
|
|
@@ -200,6 +207,7 @@ export default { |
|
|
|
localStorage.setItem("orgCode", res.data.records[0].orgCode); |
|
|
|
localStorage.setItem("agentId", ""); |
|
|
|
localStorage.setItem("houseId", res.data.records[0].id); |
|
|
|
this.addLoginCount(res.data.records[0].id) |
|
|
|
} |
|
|
|
}); |
|
|
|
} |
|
|
@@ -229,6 +237,7 @@ export default { |
|
|
|
localStorage.setItem("orgCode", res.data.records[0].orgCode); |
|
|
|
localStorage.setItem("houseId", res.data.records[0].id); |
|
|
|
localStorage.setItem("agentId", ""); |
|
|
|
this.addLoginCount(res.data.records[0].id) |
|
|
|
} |
|
|
|
}); |
|
|
|
} |
|
|
|