|
@@ -256,12 +256,9 @@ export default {
|
|
|
recomVideos0: [],
|
|
|
recomVideos3: [],
|
|
|
tabQuery: {
|
|
|
- liceCar: 1,
|
|
|
- liceTruck: "",
|
|
|
- liceBus: "",
|
|
|
- liceMoto: "",
|
|
|
+
|
|
|
name: "科目一",
|
|
|
- gs: "xc",
|
|
|
+ gs: "cart",
|
|
|
cert: "C1/C2/C3",
|
|
|
vehicle: "小车",
|
|
|
subject: 1,
|
|
@@ -559,31 +556,19 @@ export default {
|
|
|
this.tabQuery.cert = item.title;
|
|
|
switch (item.typeName) {
|
|
|
case "小车":
|
|
|
- this.tabQuery.liceCar = 1;
|
|
|
- this.tabQuery.liceTruck = "";
|
|
|
- this.tabQuery.liceBus = "";
|
|
|
- this.tabQuery.liceMoto = "";
|
|
|
- this.tabQuery.gs = "xc";
|
|
|
+
|
|
|
+ this.tabQuery.model = "cart";
|
|
|
break;
|
|
|
case "货车":
|
|
|
- this.tabQuery.liceCar = "";
|
|
|
- this.tabQuery.liceTruck = 1;
|
|
|
- this.tabQuery.liceBus = "";
|
|
|
- this.tabQuery.liceMoto = "";
|
|
|
- this.tabQuery.gs = "hc";
|
|
|
+
|
|
|
+ this.tabQuery.gs = "truck";
|
|
|
break;
|
|
|
case "客车":
|
|
|
- this.tabQuery.liceCar = "";
|
|
|
- this.tabQuery.liceTruck = "";
|
|
|
- this.tabQuery.liceBus = 1;
|
|
|
- this.tabQuery.liceMoto = "";
|
|
|
- this.tabQuery.gs = "kc";
|
|
|
+
|
|
|
+ this.tabQuery.gs = "bus";
|
|
|
break;
|
|
|
case "摩托车":
|
|
|
- this.tabQuery.liceCar = "";
|
|
|
- this.tabQuery.liceTruck = "";
|
|
|
- this.tabQuery.liceBus = "";
|
|
|
- this.tabQuery.liceMoto = 1;
|
|
|
+
|
|
|
this.tabQuery.gs = "mtc";
|
|
|
break;
|
|
|
default:
|