|
@@ -321,6 +321,7 @@
|
|
|
WaitingBeginClassList,
|
|
WaitingBeginClassList,
|
|
|
ShopWxStatusEdit,
|
|
ShopWxStatusEdit,
|
|
|
ClassListQuery,
|
|
ClassListQuery,
|
|
|
|
|
+ ClassSimpleQuery,
|
|
|
VipUserSimpleQuery
|
|
VipUserSimpleQuery
|
|
|
} from "../api/getApiRes";
|
|
} from "../api/getApiRes";
|
|
|
|
|
|
|
@@ -480,9 +481,11 @@
|
|
|
token: localStorage.token,
|
|
token: localStorage.token,
|
|
|
};
|
|
};
|
|
|
let postdata = qs.stringify(param);
|
|
let postdata = qs.stringify(param);
|
|
|
- ClassListQuery(postdata).then(res => {
|
|
|
|
|
|
|
+ ClassSimpleQuery(postdata).then(res => {
|
|
|
|
|
+ // ClassListQuery(postdata).then(res => {
|
|
|
let json = res;
|
|
let json = res;
|
|
|
if (json.Code == 0) {
|
|
if (json.Code == 0) {
|
|
|
|
|
+ console.log(json.Rs);
|
|
|
if (json.Rs == null) return false
|
|
if (json.Rs == null) return false
|
|
|
that.panel.classOptions = turnClassResToOption(json.Rs);
|
|
that.panel.classOptions = turnClassResToOption(json.Rs);
|
|
|
that.panel.classOptions.unshift({value: '0', label: '全部'})
|
|
that.panel.classOptions.unshift({value: '0', label: '全部'})
|
|
@@ -1358,12 +1361,12 @@
|
|
|
watch: {
|
|
watch: {
|
|
|
$route(to) {
|
|
$route(to) {
|
|
|
if (to.name == 'appoint') {
|
|
if (to.name == 'appoint') {
|
|
|
|
|
+ this.panelSelect();
|
|
|
if (this.$route.query.page == 'second') {
|
|
if (this.$route.query.page == 'second') {
|
|
|
this.activeName = 'second';
|
|
this.activeName = 'second';
|
|
|
this.panel.name = this.$route.query.name;
|
|
this.panel.name = this.$route.query.name;
|
|
|
// second
|
|
// second
|
|
|
this.getTableQuery2();
|
|
this.getTableQuery2();
|
|
|
- this.panelSelect();
|
|
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|