diff --git a/pages/waiting_method/waiting_method.vue b/pages/waiting_method/waiting_method.vue index 0ef50a2..941a9f8 100644 --- a/pages/waiting_method/waiting_method.vue +++ b/pages/waiting_method/waiting_method.vue @@ -42,8 +42,6 @@ depart_info = JSON.parse(depart_info) this.hospital_depart_name = depart_info.hospital_name + ' ' + depart_info.depart_name } - - this.getVisitors() this.depart_id = uni.getStorageSync('depart_id') if(!this.depart_id) { this.$pop.modelShow('请先选择要预约的医院科室', '/pages/index/index') @@ -51,17 +49,6 @@ } }, methods: { - - getVisitors() { - this.$http.req('api/user/get_visitors', {}, 'POST').then(data=>{ - this.visitUsers = data; - this.visitUsers = [...this.visitUsers] - this.popMsgs = [] - for (var i = 0; i < this.visitUsers.length; i++) { - this.visitUsers[i].select = false - } - }); - }, changeType(info) { // 存储每一项的候诊方式 this.active_visitors[info.key].type = info.type;