刘远航 hace 4 años
padre
commit
6a7b0ed84b
Se han modificado 2 ficheros con 5 adiciones y 21 borrados
  1. 1 1
      pages/scheduling/month_Scheduling.vue
  2. 4 20
      pages/scheduling/week_Scheduling.vue

+ 1 - 1
pages/scheduling/month_Scheduling.vue

xqd
@@ -10,7 +10,7 @@
 		
 		
 			<!-- 标题按钮 -->
-			<view class="flex justify-center align-center" style="padding: 30rpx 0;font-size: 38rpx;font-weight: bold;background-color: #D2F1F0;">
+			<view class="flex justify-center align-center" style="padding: 30rpx 0;font-size: 38rpx;font-weight: bold;">
 				<text style="flex-grow: 1;text-align: center;padding-left: 90rpx;">{{day}}日排班详情</text>
 				<u-icon v-if="!allow" name="setting-fill" style="margin-right: 50rpx;" @click="allow = true"></u-icon>
 				<u-icon v-else name="close" style="margin-right: 50rpx;" @click="allow = false"></u-icon>

+ 4 - 20
pages/scheduling/week_Scheduling.vue

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