Commit ebb38e5d authored by linwenqing's avatar linwenqing

refactor:学时证详情字段调整

parent 9e76b3b1
...@@ -85,14 +85,9 @@ export default { ...@@ -85,14 +85,9 @@ export default {
type: null, type: null,
certName: '', certName: '',
topImage: process.uniEnv.qn_base_url + 'xueshitoubu@2x.png', topImage: process.uniEnv.qn_base_url + 'xueshitoubu@2x.png',
workPlace: ''
} }
}, },
onLoad(){ onLoad(){
this.$u.api.getUserInfo().then((res) => {
this.workPlace =
res && res.workUnit || null
})
}, },
onShow: function() { onShow: function() {
this.formatDataByType() this.formatDataByType()
...@@ -124,7 +119,7 @@ export default { ...@@ -124,7 +119,7 @@ export default {
return this.learnData.idCard || ' ' return this.learnData.idCard || ' '
}, },
company() { company() {
return this.workPlace || ' ' return this.learnData.company || ' '
}, },
subjectName() { subjectName() {
return this.learnData.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