From ec1860cece780f0bd11757d85b35a486fc254abd Mon Sep 17 00:00:00 2001 From: yanran200730 Date: Thu, 20 Oct 2022 15:20:51 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E8=A1=A8=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../hlj/app/AppRatingTask/AppRatingTask.vue | 70 + .../hlj/app/AppRatingTask/components/Add.vue | 13 + .../app/AppRatingTask/components/Detail.vue | 188 ++ .../hlj/app/AppRatingTask/components/List.vue | 125 ++ .../AppScoringTemplate/AppScoringTemplate.vue | 70 + .../app/AppScoringTemplate/components/Add.vue | 1567 +++++++++++++++++ .../AppScoringTemplate/components/Detail.vue | 188 ++ .../AppScoringTemplate/components/List.vue | 133 ++ .../AppScoringTemplate/components/config.js | 181 ++ 9 files changed, 2535 insertions(+) create mode 100644 project/hlj/app/AppRatingTask/AppRatingTask.vue create mode 100644 project/hlj/app/AppRatingTask/components/Add.vue create mode 100644 project/hlj/app/AppRatingTask/components/Detail.vue create mode 100644 project/hlj/app/AppRatingTask/components/List.vue create mode 100644 project/hlj/app/AppScoringTemplate/AppScoringTemplate.vue create mode 100644 project/hlj/app/AppScoringTemplate/components/Add.vue create mode 100644 project/hlj/app/AppScoringTemplate/components/Detail.vue create mode 100644 project/hlj/app/AppScoringTemplate/components/List.vue create mode 100644 project/hlj/app/AppScoringTemplate/components/config.js diff --git a/project/hlj/app/AppRatingTask/AppRatingTask.vue b/project/hlj/app/AppRatingTask/AppRatingTask.vue new file mode 100644 index 00000000..3d8cbe12 --- /dev/null +++ b/project/hlj/app/AppRatingTask/AppRatingTask.vue @@ -0,0 +1,70 @@ + + + + + diff --git a/project/hlj/app/AppRatingTask/components/Add.vue b/project/hlj/app/AppRatingTask/components/Add.vue new file mode 100644 index 00000000..3f344d8b --- /dev/null +++ b/project/hlj/app/AppRatingTask/components/Add.vue @@ -0,0 +1,13 @@ + + + + + diff --git a/project/hlj/app/AppRatingTask/components/Detail.vue b/project/hlj/app/AppRatingTask/components/Detail.vue new file mode 100644 index 00000000..ba60b08e --- /dev/null +++ b/project/hlj/app/AppRatingTask/components/Detail.vue @@ -0,0 +1,188 @@ + + + + + diff --git a/project/hlj/app/AppRatingTask/components/List.vue b/project/hlj/app/AppRatingTask/components/List.vue new file mode 100644 index 00000000..d8d5c1f4 --- /dev/null +++ b/project/hlj/app/AppRatingTask/components/List.vue @@ -0,0 +1,125 @@ + + + + + diff --git a/project/hlj/app/AppScoringTemplate/AppScoringTemplate.vue b/project/hlj/app/AppScoringTemplate/AppScoringTemplate.vue new file mode 100644 index 00000000..8d144f18 --- /dev/null +++ b/project/hlj/app/AppScoringTemplate/AppScoringTemplate.vue @@ -0,0 +1,70 @@ + + + + + diff --git a/project/hlj/app/AppScoringTemplate/components/Add.vue b/project/hlj/app/AppScoringTemplate/components/Add.vue new file mode 100644 index 00000000..294f13f7 --- /dev/null +++ b/project/hlj/app/AppScoringTemplate/components/Add.vue @@ -0,0 +1,1567 @@ + + + + + diff --git a/project/hlj/app/AppScoringTemplate/components/Detail.vue b/project/hlj/app/AppScoringTemplate/components/Detail.vue new file mode 100644 index 00000000..ba60b08e --- /dev/null +++ b/project/hlj/app/AppScoringTemplate/components/Detail.vue @@ -0,0 +1,188 @@ + + + + + diff --git a/project/hlj/app/AppScoringTemplate/components/List.vue b/project/hlj/app/AppScoringTemplate/components/List.vue new file mode 100644 index 00000000..4a785b75 --- /dev/null +++ b/project/hlj/app/AppScoringTemplate/components/List.vue @@ -0,0 +1,133 @@ + + + + + diff --git a/project/hlj/app/AppScoringTemplate/components/config.js b/project/hlj/app/AppScoringTemplate/components/config.js new file mode 100644 index 00000000..9df7bb3b --- /dev/null +++ b/project/hlj/app/AppScoringTemplate/components/config.js @@ -0,0 +1,181 @@ +export const components = [ + { + type: 'options', + tips: '(可重复添加)', + label: '选项', + children: [ + { + type: 'radio', + label: '单选', + fixedLabel: '单选', + value: '', + points: '', + icon: 'iconradio', + isShowPoints: false, + required: true, + hasAnswer: false, + answer: '', + pointType: '0', + pointDict: [ + { + dictName: '此题有唯一答案和分值', + dictValue: '0' + }, + { + dictName: '每个选项都有对应分值', + dictValue: '1' + } + ], + options: [ + { + label: '选项1', + value: '', + point: '', + img: [] + }, + { + label: '选项2', + value: '', + point: '', + img: [] + } + ], + title: '' + }, + { + type: 'checkbox', + label: '多选', + fixedLabel: '多选', + points: '', + icon: 'iconcheck_box', + isShowPoints: false, + required: true, + hasAnswer: false, + answer: [], + value: [], + pointType: '0', + pointDict: [ + { + dictName: '此题有唯一答案和分值', + dictValue: '0' + }, + { + dictName: '每个选项都有对应分值', + dictValue: '1' + }, + { + dictName: '答对几项得几分,答错不得分', + dictValue: '2' + } + ], + options: [ + { + label: '选项1', + value: '', + point: '', + img: [] + }, + { + label: '选项2', + point: '', + value: '', + img: [] + } + ], + title: '' + }, + { + type: 'select', + label: '单下拉框', + fixedLabel: '单下拉框', + value: '', + points: '', + icon: 'iconSelect', + isShowPoints: false, + required: true, + hasAnswer: false, + answer: '', + pointType: '0', + pointDict: [ + { + dictName: '此题有唯一答案和分值', + dictValue: '0' + }, + { + dictName: '每个选项都有对应分值', + dictValue: '1' + } + ], + options: [ + { + label: '选项1', + value: '', + point: '', + img: [] + }, + { + label: '选项2', + value: '', + point: '', + img: [] + } + ], + title: '' + } + ] + }, + { + type: 'input', + tips: '(可重复添加)', + label: '填空', + children: [ + { + type: 'input', + label: '单行填空', + fixedLabel: '单行填空', + value: '', + pointType: '0', + icon: 'icontext_box', + isShowPoints: false, + points: '', + required: true, + hasAnswer: false, + placeholder: '请输入...', + answer: '' + }, + { + type: 'textarea', + label: '多行填空', + fixedLabel: '多行填空', + pointType: '0', + icon: 'icontext_area', + points: '', + isShowPoints: false, + required: true, + hasAnswer: false, + answer: '', + placeholder: '请输入...', + value: '' + } + ] + }, + { + type: 'annex', + tips: '(可重复添加)', + label: '附件', + children: [ + { + type: 'upload', + label: '上传图片', + fixedLabel: '上传图片', + value: '', + icon: 'iconpic', + isShowPoints: false, + points: '', + required: true, + hasAnswer: false, + answer: '' + } + ] + } +]; From 1fa3081b08156d97d4c273d82b644d40502baee5 Mon Sep 17 00:00:00 2001 From: aixianling Date: Thu, 20 Oct 2022 16:35:11 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E9=9A=8F=E6=89=8B=E6=8B=8D=E6=94=B9?= =?UTF-8?q?=E9=80=A0=E5=AE=8C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/conv/AppReportAiWill/components/Detail.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/conv/AppReportAiWill/components/Detail.vue b/packages/conv/AppReportAiWill/components/Detail.vue index c0504260..ff3e3171 100644 --- a/packages/conv/AppReportAiWill/components/Detail.vue +++ b/packages/conv/AppReportAiWill/components/Detail.vue @@ -32,7 +32,7 @@ - +
@@ -200,11 +200,11 @@ export default { computed: { ...mapState(['user']), - process: v => [v.processList, v.evaluation.id ? { + process: v => [v.evaluation.id ? { systemExplain: `${v.evaluation.createUserName}完成评价 (${v.evaluation.score}星评价)`, doTime: v.evaluation.createTime, doExplain: v.evaluation.rateText - } : null].flat().filter(Boolean) + } : null, v.processList].flat().filter(Boolean) }, created() {