From fee94045679d3554b16f400d361f3c2f086226aa Mon Sep 17 00:00:00 2001 From: P3ngSaM <61768364+P3ngSaM@users.noreply.github.com> Date: Wed, 10 Aug 2022 15:55:22 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E6=9F=A5=E7=9C=8B=E9=97=AE=E5=8D=B7?= =?UTF-8?q?=EF=BC=88=E8=BF=94=E5=9B=9E=E9=97=AE=E9=A2=98ID=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Modules/Questionnaire/Questionnairelmpl.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Modules/Questionnaire/Questionnairelmpl.py b/Modules/Questionnaire/Questionnairelmpl.py index f99d66e..d177bbe 100644 --- a/Modules/Questionnaire/Questionnairelmpl.py +++ b/Modules/Questionnaire/Questionnairelmpl.py @@ -293,12 +293,13 @@ class QuestionnaireImpl(object): '模型数据', '问卷数据', {'问卷ID': qid}, - ['问卷名称', '问卷分值', '标签', '小节', '日期', '作者'] + ['问卷名称', '问卷ID', '问卷分值', '标签', '小节', '日期', '作者'] ) return_dict = dict() if record: return_dict['questionnaire_name'] = record['问卷名称'] + return_dict['questionnaire_id'] = record['问卷ID'] return_dict['questionnaire_score'] = record['问卷分值'] return_dict['tags'] = list() for tag in record['标签']: @@ -321,11 +322,12 @@ class QuestionnaireImpl(object): '模型数据', '问题数据', {'问题ID': question_id}, - ['问题名称', '问题类型', '题目描述', '题目选项', '判定设置', '输入设置'] + ['问题名称', '问题ID', '问题类型', '题目描述', '题目选项', '判定设置', '输入设置'] ) question_dict = dict() question_dict['weight'] = content['权重'] question_dict['question_name'] = question['问题名称'] + question_dict['question_id'] = question['问题ID'] question_dict['question_type'] = question['问题类型'] question_dict['describe'] = question['题目描述'] if question_dict['question_type'] == '单选题-多解' or question_dict['question_type'] == '多选题-多解':