From 74827338366d36b482e0b276702cfac214b87f19 Mon Sep 17 00:00:00 2001 From: shidongli Date: Mon, 23 Dec 2024 17:56:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=97=AE=E5=8D=B7=E4=BB=BB?= =?UTF-8?q?=E5=8A=A1=E7=BB=9F=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/manage/Satisfactionsurvey.js | 8 + src/api/system/TaskStatistics.js | 26 + src/views/manage/components/TemplateName.vue | 427 ++++ src/views/system/TaskStatistics/index.vue | 397 ++-- src/views/system/datialdata/index.vue | 2204 +++++++++--------- 5 files changed, 1794 insertions(+), 1268 deletions(-) create mode 100644 src/api/system/TaskStatistics.js create mode 100644 src/views/manage/components/TemplateName.vue diff --git a/src/api/manage/Satisfactionsurvey.js b/src/api/manage/Satisfactionsurvey.js index a8484c2..9af75be 100644 --- a/src/api/manage/Satisfactionsurvey.js +++ b/src/api/manage/Satisfactionsurvey.js @@ -17,4 +17,12 @@ export function selectQuestionInfoList(query) { params: query }) } +// 问卷详情列表 +export function questionnaireTaskOptionList(query) { + return request({ + url: '/system/statistics/questionnaireTaskOptionList', + method: 'get', + params: query + }) +} diff --git a/src/api/system/TaskStatistics.js b/src/api/system/TaskStatistics.js new file mode 100644 index 0000000..8f25e5b --- /dev/null +++ b/src/api/system/TaskStatistics.js @@ -0,0 +1,26 @@ +import request from '@/utils/request' + +// 问卷任务统计右侧列表 +export function questionnaireTaskStatistics(query) { + return request({ + url: '/system/statistics/questionnaireTaskStatistics', + method: 'get', + params: query + }) +} +// 问卷任务统计左侧列表 +export function selectQuestionInfoList(query) { + return request({ + url: '/system/question/selectQuestionInfoList', + method: 'get', + params: query + }) +} +// 问卷分页 +export function list(query) { + return request({ + url: '/system/question/list', + method: 'get', + params: query + }) +} diff --git a/src/views/manage/components/TemplateName.vue b/src/views/manage/components/TemplateName.vue new file mode 100644 index 0000000..75bbe9b --- /dev/null +++ b/src/views/manage/components/TemplateName.vue @@ -0,0 +1,427 @@ + + + + \ No newline at end of file diff --git a/src/views/system/TaskStatistics/index.vue b/src/views/system/TaskStatistics/index.vue index b512b48..c5384ed 100644 --- a/src/views/system/TaskStatistics/index.vue +++ b/src/views/system/TaskStatistics/index.vue @@ -2,14 +2,8 @@
- - + + - - + + + + - + + @@ -67,100 +65,90 @@ >
-
+ +
-
{{ item.name }}
-
时间:{{ item.date }}
-
填写率:{{ item.totle }}%
+ +
+ {{ item.questionnaireName }} +
+ + + +
时间:{{ item.createTime }}
+
+
-
{{newname}} {{time}}
-
-
第1题:请问您吸烟吗?【单选题】
-
- {{ newname }} {{ time }}
+
+
+ 第{{ index + 1 }}题:{{ item.questionName }} + + 【单选题】 + 【多选题】 + 【组合单选题】 + 【组合多选题】 - - - - - - - - -
-
-
-
第1题:请问您吸烟吗?【单选题】
- - - - - + + - - -
-
-
-
第1题:请问您吸烟吗?【单选题】
-
- - - - - - +} + \ No newline at end of file