|
@@ -110,11 +110,12 @@ export default {
|
|
|
async getAccountInfo () {
|
|
async getAccountInfo () {
|
|
|
let res
|
|
let res
|
|
|
if (this.mainData.usertype === 1 || this.mainData.usertype === 0) {
|
|
if (this.mainData.usertype === 1 || this.mainData.usertype === 0) {
|
|
|
|
|
+ console.log(this.mainData,'mainData')
|
|
|
res = await this.$api.requested({
|
|
res = await this.$api.requested({
|
|
|
"classname":"webmanage.hr.hr",
|
|
"classname":"webmanage.hr.hr",
|
|
|
"method": "query_hrMain",
|
|
"method": "query_hrMain",
|
|
|
"content": {
|
|
"content": {
|
|
|
- hrid:this.mainData.hrmsg.hrid
|
|
|
|
|
|
|
+ hrid:this.mainData.hrmsg.hrid || 0
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
|
this.accountInfo = res.data
|
|
this.accountInfo = res.data
|