|
@@ -1509,9 +1509,16 @@ export default {
|
|
|
testId: val.join(",")
|
|
|
}
|
|
|
];
|
|
|
+ let _fnStr = `selectExamineTestName`
|
|
|
+ if(this.testExamineBaseList[0].value){
|
|
|
+ const timeValue = JSON.parse(this.testExamineBaseList[0].value).time;
|
|
|
+ params[0].startTime = timeValue[0];
|
|
|
+ params[0].endTime = timeValue[1];
|
|
|
+ _fnStr = `selectExamineTestNameFilterTime`
|
|
|
+ }
|
|
|
return new Promise(resolve => {
|
|
|
this.ajax
|
|
|
- .post(this.$store.state.api + "selectExamineTestName", params)
|
|
|
+ .post(this.$store.state.api + _fnStr, params)
|
|
|
.then(res => {
|
|
|
// console.log("resresresres", res.data[0]);
|
|
|
// console.log(res.data[0]);
|
|
@@ -1525,7 +1532,14 @@ export default {
|
|
|
|
|
|
// 查看数据来源
|
|
|
lookPrize(val) {
|
|
|
- this.ifmUrl = `https://beta.pbl.cocorobo.cn/pbl-teacher-table/dist/#/checkToTest?cid=${val}&oid=${this.oid}&org=${this.org}&userid=${this.userid}&type=2&role=0&disableBack=true`;
|
|
|
+ if(this.testExamineBaseList[0].value){
|
|
|
+ const timeValue = JSON.parse(this.testExamineBaseList[0].value).time;
|
|
|
+ this.ifmUrl = `https://beta.pbl.cocorobo.cn/pbl-teacher-table/dist/#/checkToTest?cid=${val}&oid=${this.oid}&org=${this.org}&userid=${this.userid}&type=2&role=0&disableBack=true&timeLimit=${timeValue}`;
|
|
|
+ }else{
|
|
|
+ this.ifmUrl = `https://beta.pbl.cocorobo.cn/pbl-teacher-table/dist/#/checkToTest?cid=${val}&oid=${this.oid}&org=${this.org}&userid=${this.userid}&type=2&role=0&disableBack=true`;
|
|
|
+ }
|
|
|
+ // this.ifmUrl = `https://beta.pbl.cocorobo.cn/pbl-teacher-table/dist/#/checkToTest?cid=${val}&oid=${this.oid}&org=${this.org}&userid=${this.userid}&type=2&role=0&disableBack=true`;
|
|
|
+ // this.ifmUrl = `https://beta.pbl.cocorobo.cn/pbl-teacher-table/dist/#/checkToTest?cid=${val}&oid=${this.oid}&org=${this.org}&userid=${this.userid}&type=2&role=0&disableBack=true&`;
|
|
|
// this.ifmUrl = `https://beta.pbl.cocorobo.cn/pbl-teacher-table/dist/#/test?userid=${this.userid}&oid=45facc0a-1211-11ec-80ad-005056b86db5&org=&role=0`;
|
|
|
this.diaIframe = true;
|
|
|
},
|
|
@@ -1653,9 +1667,18 @@ export default {
|
|
|
testId: val.join(",")
|
|
|
}
|
|
|
];
|
|
|
+
|
|
|
+ let _fnStr = `selectExamineTestName`
|
|
|
+ if(this.testExamineBaseList[0].value){
|
|
|
+ const timeValue = JSON.parse(this.testExamineBaseList[0].value).time;
|
|
|
+ params[0].startTime = timeValue[0];
|
|
|
+ params[0].endTime = timeValue[1];
|
|
|
+ _fnStr = `selectExamineTestNameFilterTime`
|
|
|
+ }
|
|
|
+
|
|
|
return new Promise(resolve => {
|
|
|
this.ajax
|
|
|
- .post(this.$store.state.api + "selectExamineTestName", params)
|
|
|
+ .post(this.$store.state.api + _fnStr, params)
|
|
|
.then(res => {
|
|
|
console.log("selectExamineTestName", res.data[0]);
|
|
|
resolve(res.data[0]);
|
|
@@ -1671,7 +1694,13 @@ export default {
|
|
|
// return console.log(val);
|
|
|
// this.ifmUrl = `https://beta.pbl.cocorobo.cn/pbl-teacher-table/dist/#/checkToTest?cid=${val}&oid=${this.oid}&org=${this.org}&type=2&role=0&peopleId=${this.userid}`;
|
|
|
|
|
|
- this.ifmUrl = `https://beta.pbl.cocorobo.cn/pbl-teacher-table/dist/#/checkToTest?cid=${cid}&oid=${val.organizeid}&userid=${this.userid}&org=${val.org}&type=2&role=0&peopleId=${val.userid}&disableBack=true`;
|
|
|
+ if(this.testExamineBaseList[0].value){
|
|
|
+ const timeValue = JSON.parse(this.testExamineBaseList[0].value).time;
|
|
|
+ this.ifmUrl = `https://beta.pbl.cocorobo.cn/pbl-teacher-table/dist/#/checkToTest?cid=${cid}&oid=${val.organizeid}&userid=${this.userid}&org=${val.org}&type=2&role=0&peopleId=${val.userid}&disableBack=true&timeLimit=${timeValue}`;
|
|
|
+ }else{
|
|
|
+ this.ifmUrl = `https://beta.pbl.cocorobo.cn/pbl-teacher-table/dist/#/checkToTest?cid=${cid}&oid=${val.organizeid}&userid=${this.userid}&org=${val.org}&type=2&role=0&peopleId=${val.userid}&disableBack=true`;
|
|
|
+ }
|
|
|
+ // this.ifmUrl = `https://beta.pbl.cocorobo.cn/pbl-teacher-table/dist/#/checkToTest?cid=${cid}&oid=${val.organizeid}&userid=${this.userid}&org=${val.org}&type=2&role=0&peopleId=${val.userid}&disableBack=true`;
|
|
|
// this.ifmUrl = `https://beta.pbl.cocorobo.cn/pbl-teacher-table/dist/#/test?userid=${this.userid}&oid=45facc0a-1211-11ec-80ad-005056b86db5&org=&role=0`;
|
|
|
this.diaIframe = true;
|
|
|
},
|