fixed# [加入顧問清單API] 變更傳給後端的時間格式為ISO string
| | |
| | | if (!this.isUserLogin) { |
| | | item = { |
| | | ...item, |
| | | updateTime: new Date().toString() |
| | | updateTime: new Date().toISOString() |
| | | }; |
| | | } |
| | | this.addToMyConsultantList(item).then(addOk => { |
| | |
| | | if (this.isEditBtn) { |
| | | this.editAppointmentDemand(); |
| | | } else { |
| | | queryConsultantService.addFavoriteConsultant([{ agentNo: this.$route.params.agentNo, createdTime: new Date().toString()}]).then(res => this.sentAppointmentDemand()); |
| | | queryConsultantService.addFavoriteConsultant([{ agentNo: this.$route.params.agentNo, createdTime: new Date().toISOString()}]).then(res => this.sentAppointmentDemand()); |
| | | } |
| | | const editSettingInfo: UserSetting = { |
| | | name: this.myRequest.name, |