|
|
@@ -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;
|
|
|
},
|