Compare commits
2 Commits
d7a21af10c
...
59fe18fe34
Author | SHA1 | Date |
---|---|---|
|
59fe18fe34 | |
|
b07708ebb1 |
|
@ -644,6 +644,12 @@ export default {
|
||||||
AnswerGroup: this.QuestionList[index].AnswerGroup2List,
|
AnswerGroup: this.QuestionList[index].AnswerGroup2List,
|
||||||
AnswerCombination: this.QuestionList[index].AnswerGroupList,
|
AnswerCombination: this.QuestionList[index].AnswerGroupList,
|
||||||
JudgeType: this.QuestionList[index].JudgeType,
|
JudgeType: this.QuestionList[index].JudgeType,
|
||||||
|
JudgeDifferenceValue: Number(
|
||||||
|
this.QuestionList[index].JudgeDifferenceValue
|
||||||
|
),
|
||||||
|
JudgeDifferenceType: Number(
|
||||||
|
this.QuestionList[index].JudgeDifferenceType
|
||||||
|
),
|
||||||
})
|
})
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
resolve();
|
resolve();
|
||||||
|
@ -778,6 +784,8 @@ export default {
|
||||||
this.$set(this.QuestionList[index], "AnswerGroup2List", []);
|
this.$set(this.QuestionList[index], "AnswerGroup2List", []);
|
||||||
this.$set(this.QuestionList[index], "AnswerGroupList", []);
|
this.$set(this.QuestionList[index], "AnswerGroupList", []);
|
||||||
this.$set(this.QuestionList[index], "JudgeType", 0);
|
this.$set(this.QuestionList[index], "JudgeType", 0);
|
||||||
|
this.$set(this.QuestionList[index], "JudgeDifferenceValue", 0);
|
||||||
|
this.$set(this.QuestionList[index], "JudgeDifferenceType", 0);
|
||||||
this.$message.success(this.$t("trials:adRules:message:msg7")); // '重置成功'
|
this.$message.success(this.$t("trials:adRules:message:msg7")); // '重置成功'
|
||||||
this.btnLoading = false;
|
this.btnLoading = false;
|
||||||
this.loading = false;
|
this.loading = false;
|
||||||
|
|
|
@ -2237,12 +2237,12 @@ function webViewerInitialized() {
|
||||||
const appConfig = PDFViewerApplication.appConfig;
|
const appConfig = PDFViewerApplication.appConfig;
|
||||||
let file;
|
let file;
|
||||||
const queryString = decodeURIComponent(document.location.search.substring(1));
|
const queryString = decodeURIComponent(document.location.search.substring(1));
|
||||||
console.log(queryString)
|
// console.log(queryString)
|
||||||
let qs = queryString.replaceAll('+', '%2B')
|
// let qs = queryString.replaceAll('+', '%2B')
|
||||||
// queryString = queryString.replaceAll('+', '%20')
|
// queryString = queryString.replaceAll('+', '%20')
|
||||||
// const params = (0, _ui_utils.parseQueryString)(queryString);
|
// const params = (0, _ui_utils.parseQueryString)(queryString);
|
||||||
// file = params.get("file") ?? _app_options.AppOptions.get("defaultUrl");
|
// file = params.get("file") ?? _app_options.AppOptions.get("defaultUrl");
|
||||||
file = qs.replace('file=', '')
|
file = queryString.replace('file=', '')
|
||||||
validateFileURL(file);
|
validateFileURL(file);
|
||||||
const fileInput = document.createElement("input");
|
const fileInput = document.createElement("input");
|
||||||
fileInput.id = appConfig.openFileInputName;
|
fileInput.id = appConfig.openFileInputName;
|
||||||
|
|
Loading…
Reference in New Issue