|
@@ -61,7 +61,6 @@
|
|
|
<el-radio-group
|
|
|
v-model="extractConfig.callType"
|
|
|
class="pull_right_ss"
|
|
|
- disabled
|
|
|
>
|
|
|
<el-radio label="WHOLE_SET">成套调用</el-radio>
|
|
|
<el-radio label="RANDOM_PAPER">随机抽题</el-radio>
|
|
@@ -458,16 +457,16 @@ export default {
|
|
|
},
|
|
|
},
|
|
|
watch: {
|
|
|
- "extractConfig.examId"(val) {
|
|
|
- if (val && this.examList.length) {
|
|
|
- this.getCurCallType();
|
|
|
- }
|
|
|
- },
|
|
|
- examList(val) {
|
|
|
- if (this.extractConfig.examId && val.length) {
|
|
|
- this.getCurCallType();
|
|
|
- }
|
|
|
- },
|
|
|
+ // "extractConfig.examId"(val) {
|
|
|
+ // if (val && this.examList.length) {
|
|
|
+ // this.getCurCallType();
|
|
|
+ // }
|
|
|
+ // },
|
|
|
+ // examList(val) {
|
|
|
+ // if (this.extractConfig.examId && val.length) {
|
|
|
+ // this.getCurCallType();
|
|
|
+ // }
|
|
|
+ // },
|
|
|
"extractConfig2.randomPaperId"() {
|
|
|
this.getData();
|
|
|
},
|
|
@@ -568,12 +567,12 @@ export default {
|
|
|
this.getData();
|
|
|
}
|
|
|
},
|
|
|
- getCurCallType() {
|
|
|
- let item = this.examList.find(
|
|
|
- (item) => item.id == this.extractConfig.examId
|
|
|
- );
|
|
|
- this.extractConfig.callType = item.callType || "WHOLE_SET";
|
|
|
- },
|
|
|
+ // getCurCallType() {
|
|
|
+ // let item = this.examList.find(
|
|
|
+ // (item) => item.id == this.extractConfig.examId
|
|
|
+ // );
|
|
|
+ // this.extractConfig.callType = item.callType || "WHOLE_SET";
|
|
|
+ // },
|
|
|
//根据考务查询考试集合
|
|
|
getExams(query) {
|
|
|
query = query.trim();
|