소스 검색

fixed #170

ali 3 년 전
부모
커밋
4795753e69
1개의 변경된 파일과 3개의 추가작업 그리고 2개의 파일을 삭제
  1. 3 2
      src/pages/User/Profile/projectInfo.vue

+ 3 - 2
src/pages/User/Profile/projectInfo.vue

@@ -27,6 +27,7 @@
                      v-model:value="attendanceSheetsInputs"
                      :api="attendanceSheetsApi"
                      :default-layout="false" />
+      {{ currentUserAttendanceSheet?.answer_attachment }}
       <entity-show v-if="currentUserAttendanceSheet && currentUserAttendanceSheet.answer_status !== 'NOT_SENT'"
                    v-model:value="attendanceSheetsShowInputs"
                    title="پاسخ کاربر"
@@ -103,8 +104,8 @@ export default {
 
       attendanceSheetsShowInputs: [
         { type: 'separator', name: 'space', label: 'انجام پروژه', className: 'custom-separator', col: 'col-12' },
-        { type: 'inputEditor', name: 'answer_text', label: 'متن پاسخ', placeholder: ' ', col: 'col-12' },
-        { type: 'file', name: 'answer_attachment', label: 'فای ضمیمه', placeholder: ' ', col: 'col-md-4 col-12' }
+        { type: 'inputEditor', name: 'answer_text', responseKey: 'answer_text', label: 'متن پاسخ', placeholder: ' ', col: 'col-12' },
+        { type: 'file', name: 'answer_attachment', responseKey: 'answer_attachment', label: 'فای ضمیمه', placeholder: ' ', col: 'col-md-4 col-12' }
       ]
     }
   },