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 {
computed: {
innerShow() {
return this.show
},
innerUnitId() {
return this.unitId
}
},
created() {
......@@ -51,8 +48,9 @@ export default {
methods: {
getData() {
this.array = []
if (!this.unitId) return
this.loading = true
getOfficeList(this.innerUnitId).then(res => {
getOfficeList(this.unitId).then(res => {
this.array = res.data || []
}).finally(() => {
this.loading = false
......
......@@ -47,9 +47,6 @@ export default {
},
innerShow() {
return this.show
},
innerUnitId() {
return this.unitId
}
},
created() {
......@@ -60,7 +57,7 @@ export default {
this.array = []
if (!this.officeId) return
this.loading = true
getOfficeDoctor(this.innerUnitId, this.officeId).then(res => {
getOfficeDoctor(this.unitId, this.officeId).then(res => {
this.array = res.data || []
}).finally(() => {
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