Selaa lähdekoodia

拉取内容不是商家

Changpeng Duan 4 vuotta sitten
vanhempi
commit
18e4b247b4
1 muutettua tiedostoa jossa 20 lisäystä ja 20 poistoa
  1. 20 20
      pc/src/views/classChange.vue

+ 20 - 20
pc/src/views/classChange.vue

@@ -290,7 +290,7 @@ export default {
 		};
 	},
 	mounted() {
-		this.panelSelect();
+		// this.panelSelect();
 		this.getShopListSelect();
 		this.getTableQuery();
 	},
@@ -419,25 +419,25 @@ export default {
 				}
 			});
 		},
-		// 加载选项
-		panelSelect() {
-			let that = this;
-			let param = {
-				token: localStorage.token,
-				classType: 1, //去掉午休
-			};
-			let postdata = qs.stringify(param);
-			ClassListQuery(postdata).then((res) => {
-				let json = res;
-				if (json.Code == 0) {
-					if (json.Rs == null) return false;
-					that.panel.options = turnClassResToOption(json.Rs);
-					that.panel.options.unshift({ label: "全部", value: "" });
-				} else {
-					that.$message.error(json.Memo + " 错误码:" + json.Code);
-				}
-			});
-		},
+		// // 加载选项
+		// panelSelect() {
+		// 	let that = this;
+		// 	let param = {
+		// 		token: localStorage.token,
+		// 		classType: 1, //去掉午休
+		// 	};
+		// 	let postdata = qs.stringify(param);
+		// 	ClassListQuery(postdata).then((res) => {
+		// 		let json = res;
+		// 		if (json.Code == 0) {
+		// 			if (json.Rs == null) return false;
+		// 			that.panel.options = turnClassResToOption(json.Rs);
+		// 			that.panel.options.unshift({ label: "全部", value: "" });
+		// 		} else {
+		// 			that.$message.error(json.Memo + " 错误码:" + json.Code);
+		// 		}
+		// 	});
+		// },
 		handleSelectionChange(val) {
 			this.multipleSelection = val;
 		},