diff --git a/src/api/system/SatisfactionQuestionnaireDetails.js b/src/api/system/SatisfactionQuestionnaireDetails.js
new file mode 100644
index 0000000..8a5ae40
--- /dev/null
+++ b/src/api/system/SatisfactionQuestionnaireDetails.js
@@ -0,0 +1,9 @@
+import request from '@/utils/request'
+
+
+export function selectQuestionnaireResult(patientQuestionSubmitResultId) {
+ return request({
+ url: `/system/patientQuestionSubmitResult/selectQuestionnaireResult?patientQuestionSubmitResultId=${patientQuestionSubmitResultId}`,
+ method: 'get',
+ })
+}
\ No newline at end of file
diff --git a/src/views/system/SatisfactionQuestionnaireDetails/index.vue b/src/views/system/SatisfactionQuestionnaireDetails/index.vue
new file mode 100644
index 0000000..a8727a3
--- /dev/null
+++ b/src/views/system/SatisfactionQuestionnaireDetails/index.vue
@@ -0,0 +1,473 @@
+
+
+
+
+
+
diff --git a/src/views/system/satisfactionSurvey/index.vue b/src/views/system/satisfactionSurvey/index.vue
index 0e95a6c..dbd4d21 100644
--- a/src/views/system/satisfactionSurvey/index.vue
+++ b/src/views/system/satisfactionSurvey/index.vue
@@ -22,7 +22,6 @@
-
@@ -32,7 +31,6 @@
-
@@ -40,7 +38,10 @@
-
+
+ {{ scope.row.signStatus == 'UN_SIGN' ? '未签约' : '' }}
+ {{ scope.row.signStatus == 'IN_SIGN' ? '在签' : '' }}
+ {{ scope.row.signStatus == 'SEPARATE_SIGN' ? '解约' : '' }}
@@ -50,27 +51,23 @@
{{ scope.row.serviceStatus == 'SERVICE_END' ? '服务结束' : '' }}
-
-
- {{ parseTime(scope.row.signTime, '{y}-{m}-{d}') }}
-
-
-
-
-
-
-
+
- {{ scope.row.serviceStatus == 'ABNORMAL' ? '异常' : '' }}
- {{ scope.row.serviceStatus == 'GOOD' ? '良好' : '' }}
- {{ scope.row.serviceStatus == 'BLACKLIST' ? '黑名单' : '' }}
+ {{ scope.row.patientHealthState == 'ABNORMAL' ? '异常' : '' }}
+ {{ scope.row.patientHealthState == 'GOOD' ? '良好' : '' }}
+ {{ scope.row.patientHealthState == 'BLACKLIST' ? '黑名单' : '' }}
+
+
+
+
+ 满意度问卷详情
@@ -111,14 +108,37 @@ export default {
this.loading = true;
this.queryParams.params = {};
satisfactionSurvey(this.queryParams).then(response => {
- response.data.forEach(e => {
+ response.rows.forEach(e => {
e.birthDate ? e.age = getAge(e.birthDate) : ''
})
- this.patientInfoList = response.data;
+ this.patientInfoList = response.rows;
this.total = response.total;
this.loading = false;
});
},
+ //跳转详情
+ goQuestionnaireDetails(row) {
+ this.$router.push({
+ path: "/satisfactionSurvey/SatisfactionQuestionnaireDetails",
+ query: {
+ patientQuestionSubmitResultId: row.patientQuestionSubmitResultId,
+ taskContent: row.taskContent,
+ taskType: row.taskType,
+ templateId: row.templateId,
+ cardNo: row.cardNo,
+ patientName: row.patientName,
+ patientPhone: row.patientPhone,
+ sex: row.sex,
+ routeHandleRemark: row.routeHandleRemark,
+ textRemindContent: row.textRemindContent,
+ birthDate: row.birthDate,
+ address: row.address,
+ patientSource: row.patientSource,
+ createTime: row.createTime,
+ age: row.birthDate ? getAge(row.birthDate) : "",
+ },
+ });
+ },
/** 搜索按钮操作 */
handleQuery() {
this.queryParams.pageNum = 1;