project-booster-vue 10.25.13 → 10.25.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -73,8 +73,6 @@
|
|
|
73
73
|
:title="appointmentNotificationTitle"
|
|
74
74
|
:type="appointmentNotificationType"
|
|
75
75
|
:text="appointmentNotificationText"
|
|
76
|
-
:link-label="appointmentNotificationLinkLabel"
|
|
77
|
-
@link-click="handleAppointmentLinkClick"
|
|
78
76
|
is-big
|
|
79
77
|
/>
|
|
80
78
|
</m-flex>
|
|
@@ -1017,12 +1015,6 @@ export default defineComponent({
|
|
|
1017
1015
|
? 'Date du rendez-vous passée.'
|
|
1018
1016
|
: 'Si vous le souhaitez vous pourrez annuler le rendez-vous dans le mail qui vous a été envoyé.<br/>N’oubliez pas !';
|
|
1019
1017
|
},
|
|
1020
|
-
|
|
1021
|
-
appointmentNotificationLinkLabel() {
|
|
1022
|
-
return this.readOnly || this.appointment.isPast || this.appointment.cancelled
|
|
1023
|
-
? ''
|
|
1024
|
-
: 'Ajoutez des plans aux mesures de votre pièce et des photos pour bien préparer le rendez-vous.';
|
|
1025
|
-
},
|
|
1026
1018
|
},
|
|
1027
1019
|
|
|
1028
1020
|
watch: {
|
|
@@ -1230,22 +1222,6 @@ export default defineComponent({
|
|
|
1230
1222
|
handleDocumentUploaded() {
|
|
1231
1223
|
this.$store.dispatch('documents/refreshMediaList');
|
|
1232
1224
|
},
|
|
1233
|
-
|
|
1234
|
-
handleAppointmentLinkClick() {
|
|
1235
|
-
this.$store.dispatch('sendEventToBus', {
|
|
1236
|
-
code: 'appointmentLinkClicked',
|
|
1237
|
-
payload: this.project.id,
|
|
1238
|
-
});
|
|
1239
|
-
|
|
1240
|
-
const pageName = ['KITCHEN_IN_STORE', 'KITCHEN_REMOTE'].includes(this.appointment.appointmentType)
|
|
1241
|
-
? 'cuisine'
|
|
1242
|
-
: 'salle-de-bains';
|
|
1243
|
-
nextTick(() => {
|
|
1244
|
-
(<any>(
|
|
1245
|
-
window
|
|
1246
|
-
)).location = `/projets/preparation-rendez-vous/${pageName}.html?inhabitantProjectId=${this.project.id}&appointmentId=${this.appointment.appointmentId}&groupId=${this.appointment.groupId}&calendarId=${this.appointment.calendarId}&leadSourceDetail=Project_Space`;
|
|
1247
|
-
});
|
|
1248
|
-
},
|
|
1249
1225
|
},
|
|
1250
1226
|
});
|
|
1251
1227
|
</script>
|
|
@@ -73,8 +73,6 @@
|
|
|
73
73
|
:title="appointmentNotificationTitle"
|
|
74
74
|
:type="appointmentNotificationType"
|
|
75
75
|
:text="appointmentNotificationText"
|
|
76
|
-
:link-label="appointmentNotificationLinkLabel"
|
|
77
|
-
@link-click="handleAppointmentLinkClick"
|
|
78
76
|
is-big
|
|
79
77
|
/>
|
|
80
78
|
</m-flex>
|
|
@@ -1026,12 +1024,6 @@ export default defineComponent({
|
|
|
1026
1024
|
? 'Date du rendez-vous passée.'
|
|
1027
1025
|
: 'Si vous le souhaitez vous pourrez annuler le rendez-vous dans le mail qui vous a été envoyé.<br/>N’oubliez pas !';
|
|
1028
1026
|
},
|
|
1029
|
-
|
|
1030
|
-
appointmentNotificationLinkLabel() {
|
|
1031
|
-
return this.readOnly || this.appointment.isPast || this.appointment.cancelled
|
|
1032
|
-
? ''
|
|
1033
|
-
: 'Ajoutez des plans aux mesures de votre pièce et des photos pour bien préparer le rendez-vous.';
|
|
1034
|
-
},
|
|
1035
1027
|
},
|
|
1036
1028
|
|
|
1037
1029
|
watch: {
|
|
@@ -1239,18 +1231,6 @@ export default defineComponent({
|
|
|
1239
1231
|
handleDocumentUploaded() {
|
|
1240
1232
|
this.$store.dispatch('documents/refreshMediaList');
|
|
1241
1233
|
},
|
|
1242
|
-
|
|
1243
|
-
handleAppointmentLinkClick() {
|
|
1244
|
-
this.$store.dispatch('sendEventToBus', {
|
|
1245
|
-
code: 'appointmentLinkClicked',
|
|
1246
|
-
payload: this.project.id,
|
|
1247
|
-
});
|
|
1248
|
-
nextTick(() => {
|
|
1249
|
-
(<any>(
|
|
1250
|
-
window
|
|
1251
|
-
)).location = `/projets/preparation-rendez-vous/cuisine.html?inhabitantProjectId=${this.project.id}&appointmentId=${this.appointment.appointmentId}&groupId=${this.appointment.groupId}&calendarId=${this.appointment.calendarId}&leadSourceDetail=Project_Space`;
|
|
1252
|
-
});
|
|
1253
|
-
},
|
|
1254
1234
|
},
|
|
1255
1235
|
});
|
|
1256
1236
|
</script>
|