Commit 038258f0 authored by gengchunlei's avatar gengchunlei

Merge branch 'chronic-master' of…

Merge branch 'chronic-master' of http://gitlab.yiboshi.com/nightkis1995/frontend-h5 into chronic-master
parents 5dca3eb0 4954fa23
...@@ -40,9 +40,6 @@ export default { ...@@ -40,9 +40,6 @@ export default {
computed: { computed: {
innerShow() { innerShow() {
return this.show return this.show
},
innerUnitId() {
return this.unitId
} }
}, },
created() { created() {
...@@ -51,8 +48,9 @@ export default { ...@@ -51,8 +48,9 @@ export default {
methods: { methods: {
getData() { getData() {
this.array = [] this.array = []
if (!this.unitId) return
this.loading = true this.loading = true
getOfficeList(this.innerUnitId).then(res => { getOfficeList(this.unitId).then(res => {
this.array = res.data || [] this.array = res.data || []
}).finally(() => { }).finally(() => {
this.loading = false this.loading = false
......
...@@ -47,9 +47,6 @@ export default { ...@@ -47,9 +47,6 @@ export default {
}, },
innerShow() { innerShow() {
return this.show return this.show
},
innerUnitId() {
return this.unitId
} }
}, },
created() { created() {
...@@ -60,7 +57,7 @@ export default { ...@@ -60,7 +57,7 @@ export default {
this.array = [] this.array = []
if (!this.officeId) return if (!this.officeId) return
this.loading = true this.loading = true
getOfficeDoctor(this.innerUnitId, this.officeId).then(res => { getOfficeDoctor(this.unitId, this.officeId).then(res => {
this.array = res.data || [] this.array = res.data || []
}).finally(() => { }).finally(() => {
this.loading = false this.loading = false
......
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