|
@@ -3,12 +3,7 @@
|
|
|
<div class="cell-box" :class="{
|
|
|
'is-row': isRow,
|
|
|
}">
|
|
|
- <van-cell title-class="uni-app-fontsize-paragraph" class="cell" :title="
|
|
|
- item.excellIssueName ||
|
|
|
- item.placeIssueName ||
|
|
|
- item.classIssueName ||
|
|
|
- item.sequeIssueName
|
|
|
- " is-link center v-for="(item, index) in classDataLeft" :key="index" :border="false" @click="
|
|
|
+ <van-cell title-class="uni-app-fontsize-paragraph" class="cell" :title="item.title" is-link center v-for="(item, index) in classDataLeft" :key="index" :border="false" @click="
|
|
|
() => {
|
|
|
goExercise({
|
|
|
excellIssueName: item.excellIssueName,
|
|
@@ -134,41 +129,47 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
getClassData() {
|
|
|
- if (this.query.vehicle === "摩托车") {
|
|
|
- api.exam
|
|
|
- .studentQuestionInfoSelectJxQuestionInfo({
|
|
|
- ...this.query,
|
|
|
- })
|
|
|
- .then((res) => {
|
|
|
- this.classDataLeft = res.data;
|
|
|
- });
|
|
|
- } else {
|
|
|
- api.exam
|
|
|
- .studentQuestionInfoSelectJxQuestionInfo({
|
|
|
- ...this.query,
|
|
|
- excellIssueName: "选学",
|
|
|
- })
|
|
|
- .then((res) => {
|
|
|
- this.classDataRight = res.data;
|
|
|
- });
|
|
|
- api.exam
|
|
|
- .studentQuestionInfoSelectJxQuestionInfo({
|
|
|
- ...this.query,
|
|
|
- excellIssueName: "必",
|
|
|
- })
|
|
|
- .then((res) => {
|
|
|
- // res.data.shift();
|
|
|
- this.classDataLeft = res.data;
|
|
|
- api.exam
|
|
|
- .studentQuestionInfoSelectJxQuestionInfo({
|
|
|
- ...this.query,
|
|
|
- excellIssueName: "新",
|
|
|
- })
|
|
|
- .then((res) => {
|
|
|
- this.classDataSpecial = [...res.data];
|
|
|
- });
|
|
|
- });
|
|
|
- }
|
|
|
+ api.exam.studentQuestion2InfoGetQuestionColumn({
|
|
|
+ subject:'k1',
|
|
|
+ model:'cart'
|
|
|
+ }).then(res=>{
|
|
|
+ this.classDataLeft = res.data;
|
|
|
+ })
|
|
|
+ // if (this.query.vehicle === "摩托车") {
|
|
|
+ // api.exam
|
|
|
+ // .studentQuestionInfoSelectJxQuestionInfo({
|
|
|
+ // ...this.query,
|
|
|
+ // })
|
|
|
+ // .then((res) => {
|
|
|
+ // this.classDataLeft = res.data;
|
|
|
+ // });
|
|
|
+ // } else {
|
|
|
+ // api.exam
|
|
|
+ // .studentQuestionInfoSelectJxQuestionInfo({
|
|
|
+ // ...this.query,
|
|
|
+ // excellIssueName: "选学",
|
|
|
+ // })
|
|
|
+ // .then((res) => {
|
|
|
+ // this.classDataRight = res.data;
|
|
|
+ // });
|
|
|
+ // api.exam
|
|
|
+ // .studentQuestionInfoSelectJxQuestionInfo({
|
|
|
+ // ...this.query,
|
|
|
+ // excellIssueName: "必",
|
|
|
+ // })
|
|
|
+ // .then((res) => {
|
|
|
+ // // res.data.shift();
|
|
|
+ // this.classDataLeft = res.data;
|
|
|
+ // api.exam
|
|
|
+ // .studentQuestionInfoSelectJxQuestionInfo({
|
|
|
+ // ...this.query,
|
|
|
+ // excellIssueName: "新",
|
|
|
+ // })
|
|
|
+ // .then((res) => {
|
|
|
+ // this.classDataSpecial = [...res.data];
|
|
|
+ // });
|
|
|
+ // });
|
|
|
+ // }
|
|
|
},
|
|
|
},
|
|
|
};
|