|
@@ -49,10 +49,8 @@
|
|
this.$nextTick(function() {
|
|
this.$nextTick(function() {
|
|
this.getHostail()
|
|
this.getHostail()
|
|
this.getWeek();
|
|
this.getWeek();
|
|
-
|
|
|
|
})
|
|
})
|
|
- this.hospital = this.hospitalList[0].label
|
|
|
|
- this.hospitalID = this.hospitalList[0].value + ""
|
|
|
|
|
|
+
|
|
},
|
|
},
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
@@ -60,23 +58,7 @@
|
|
hospitalID: "1", //选中的医院ID
|
|
hospitalID: "1", //选中的医院ID
|
|
hospitalListShow: false, //控制医院选择器
|
|
hospitalListShow: false, //控制医院选择器
|
|
// 医院列表
|
|
// 医院列表
|
|
- hospitalList: [{
|
|
|
|
- value: 1,
|
|
|
|
- label: "测试医院1"
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- value: 2,
|
|
|
|
- label: "测试医院2"
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- value: 3,
|
|
|
|
- label: "测试医院3"
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- value: 4,
|
|
|
|
- label: "测试医院4"
|
|
|
|
- }
|
|
|
|
- ],
|
|
|
|
|
|
+ hospitalList: [],
|
|
|
|
|
|
weekTitlelist: [{
|
|
weekTitlelist: [{
|
|
text: '周一'
|
|
text: '周一'
|
|
@@ -192,6 +174,8 @@
|
|
}
|
|
}
|
|
}
|
|
}
|
|
this.hospitalList = newList;
|
|
this.hospitalList = newList;
|
|
|
|
+ this.hospital = this.hospitalList[0].label
|
|
|
|
+ this.hospitalID = this.hospitalList[0].value + ""
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
|