|
@@ -803,6 +803,7 @@ export default {
|
|
|
// }).catch(err => {
|
|
// }).catch(err => {
|
|
|
// console.error(err)
|
|
// console.error(err)
|
|
|
// })
|
|
// })
|
|
|
|
|
+ console.log('A')
|
|
|
this.inputCompany(this.authUser.Profile.Realname)
|
|
this.inputCompany(this.authUser.Profile.Realname)
|
|
|
} else {
|
|
} else {
|
|
|
this.initDatas()
|
|
this.initDatas()
|
|
@@ -976,8 +977,10 @@ export default {
|
|
|
})
|
|
})
|
|
|
},
|
|
},
|
|
|
inputCompany (val) {
|
|
inputCompany (val) {
|
|
|
|
|
+ console.log('B')
|
|
|
if (!this.certId) {
|
|
if (!this.certId) {
|
|
|
api.getEntityByName(val, '03', this.$axios).then(res => {
|
|
api.getEntityByName(val, '03', this.$axios).then(res => {
|
|
|
|
|
+ console.log(res.data, 'res.data')
|
|
|
if (res.data.code === 0) {
|
|
if (res.data.code === 0) {
|
|
|
this.SetFormData(res.data.item)
|
|
this.SetFormData(res.data.item)
|
|
|
} else if (res.data.code === -1) {
|
|
} else if (res.data.code === -1) {
|