| | |
| | | : this.isCloseAppointment ? '結案明細' : '預約資訊'; |
| | | const inInterview = this.$route.name.includes('interview'); |
| | | const addNewInterview = this.$route.name.includes('new'); |
| | | if (inInterview) { |
| | | featureLabel = addNewInterview ? '新增約訪紀錄' : '編輯約訪紀錄'; |
| | | const interviewList = this.$route.name.includes('interviewList'); |
| | | const recordList = this.$route.name.includes('recordList'); |
| | | if (interviewList) { |
| | | featureLabel = '約訪紀錄'; |
| | | } else if (recordList) { |
| | | featureLabel = '系統通知紀錄'; |
| | | } else if (inInterview) { |
| | | featureLabel = addNewInterview |
| | | ? '新增約訪紀錄' |
| | | : '編輯約訪紀錄'; |
| | | } else { |
| | | featureLabel = appointmentFeatureLabel; |
| | | } |