diff --git a/src/api/reading.js b/src/api/reading.js index 97cce6ba..85717221 100644 --- a/src/api/reading.js +++ b/src/api/reading.js @@ -275,3 +275,13 @@ export function submitTaskRowInfo(param, type) { data: param }) } + +export function deleteSingleTableQuestionMark(param, type) { + return request({ + url: `/DeleteSingleTableQuestionMark/${type}`, + method: 'post', + data: param + }) +} + + diff --git a/src/views/dictionary/template/components/CriterionQuestionForm.vue b/src/views/dictionary/template/components/CriterionQuestionForm.vue index 74f8191a..542e254f 100644 --- a/src/views/dictionary/template/components/CriterionQuestionForm.vue +++ b/src/views/dictionary/template/components/CriterionQuestionForm.vue @@ -450,10 +450,10 @@ diff --git a/src/views/dictionary/template/components/TableQsForm.vue b/src/views/dictionary/template/components/TableQsForm.vue index d5bd1a24..6d5dd572 100644 --- a/src/views/dictionary/template/components/TableQsForm.vue +++ b/src/views/dictionary/template/components/TableQsForm.vue @@ -329,11 +329,17 @@ - --> + @@ -358,11 +364,17 @@ /> @@ -669,9 +681,31 @@ export default { colOptions: [], dicList: [], CriterionDictionaryList: [], - Questions: [] + Questions: [], + highlightAnswers: [] } }, + watch: { + 'form.DictionaryCode': { + deep: true, + immediate: true, + async handler(v, oldv) { + try { + if (!v) { + this.highlightAnswers = [] + return + } + let res = await getCriterionDictionary({ + ReadingCriterionId: this.criterionId, + DictionaryCode: this.form.DictionaryCode, + }) + this.highlightAnswers = res.Result[this.form.DictionaryCode] + } catch (e) { + console.log(e) + } + }, + }, + }, mounted() { this.initForm() this.getCriterionDictionary() diff --git a/src/views/trials/trials-panel/reading/dicoms/components/MRIPDFF/QuestionForm.vue b/src/views/trials/trials-panel/reading/dicoms/components/MRIPDFF/QuestionForm.vue index 2e63ea65..f6d58cfb 100644 --- a/src/views/trials/trials-panel/reading/dicoms/components/MRIPDFF/QuestionForm.vue +++ b/src/views/trials/trials-panel/reading/dicoms/components/MRIPDFF/QuestionForm.vue @@ -203,7 +203,7 @@