Commit 6c4d4062 authored by wangxl's avatar wangxl

eeee

parent 0c217281
...@@ -48,7 +48,10 @@ export default { ...@@ -48,7 +48,10 @@ export default {
this.$api.person.getAppPersonInfo().then(({ data = {} }) => { this.$api.person.getAppPersonInfo().then(({ data = {} }) => {
if (data) { if (data) {
this.formData = data.person this.formData = data.person
if (data.isComplete) {
setComplete(data.isComplete) setComplete(data.isComplete)
this.$emit('sub', data.isComplete)
}
} }
this.loading = false this.loading = false
}).catch(() => { this.loading = false }) }).catch(() => { this.loading = false })
......
...@@ -56,7 +56,10 @@ export default { ...@@ -56,7 +56,10 @@ export default {
this.$api.unit.getAppUnitInfo().then(({ data = {} }) => { this.$api.unit.getAppUnitInfo().then(({ data = {} }) => {
if (data) { if (data) {
this.formData = data.unit this.formData = data.unit
if (data.isComplete) {
setUnitComplete(data.isComplete) setUnitComplete(data.isComplete)
this.$emit('sub', data.isComplete)
}
} }
this.loading = false this.loading = false
}).catch(() => { }).catch(() => {
......
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