diff --git a/src/views/modules/communityService/fuwujilu/detailForm.vue b/src/views/modules/communityService/fuwujilu/detailForm.vue
index 2ba77437b..5ff897ff4 100644
--- a/src/views/modules/communityService/fuwujilu/detailForm.vue
+++ b/src/views/modules/communityService/fuwujilu/detailForm.vue
@@ -21,7 +21,7 @@
@@ -87,8 +87,8 @@
附件:
-
+
--
@@ -176,30 +176,7 @@ export default {
ruleList: [],
policyList: [],
- statusArray: [
- {
- value: "in_service",
- label: "进行中",
- },
- {
- value: "completed",
- label: "已完成",
- },
- ],
- satisfyArray: [
- {
- value: "bad",
- label: "不满意",
- },
- {
- value: "good",
- label: "基本满意",
- },
- {
- value: "perfect",
- label: "非常满意",
- },
- ],
+
}
@@ -279,6 +256,25 @@ export default {
this.formData = { ...data }
this.formData.serviceRecordId = this.serviceRecordId
this.feedbackFormData = { ...data.feedback }
+ this.formData.policyName = ''
+ this.feedbackFormData.serviceStatusShow = ''
+ this.feedbackFormData.satisfactionShow = ''
+
+ this.statusArray.forEach(element => {
+ if (this.feedbackFormData.serviceStatus === element.value) {
+ this.feedbackFormData.serviceStatusShow = element.label
+ }
+ });
+ this.satisfyArray.forEach(element => {
+ if (this.feedbackFormData.satisfaction === element.value) {
+ this.feedbackFormData.satisfactionShow = element.label
+ }
+ });
+ this.policyList.forEach(element => {
+ if (this.formData.policyId === element.policyId) {
+ this.formData.policyName = element.title
+ }
+ });
this.fileList = []
if (data.feedback && data.feedback.fileList && data.feedback.fileList.length > 0) {