Commit ebb38e5d authored by linwenqing's avatar linwenqing

refactor:学时证详情字段调整

parent 9e76b3b1
......@@ -85,14 +85,9 @@ export default {
type: null,
certName: '',
topImage: process.uniEnv.qn_base_url + 'xueshitoubu@2x.png',
workPlace: ''
}
},
onLoad(){
this.$u.api.getUserInfo().then((res) => {
this.workPlace =
res && res.workUnit || null
})
},
onShow: function() {
this.formatDataByType()
......@@ -124,7 +119,7 @@ export default {
return this.learnData.idCard || ' '
},
company() {
return this.workPlace || ' '
return this.learnData.company || ' '
},
subjectName() {
return this.learnData.subjectName || ' '
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment