File tree Expand file tree Collapse file tree 3 files changed +10
-0
lines changed
types/component-interfaces Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 23
23
患者にSMSを送信する
24
24
</VCheckbox >
25
25
</div >
26
+ <div class =" inputContainer" >
27
+ <VCheckbox v-model =" checkSkipAcceptPolicy" name =" skipAcceptPolicy" >
28
+ 利用規約同意をスキップする
29
+ </VCheckbox >
30
+ </div >
26
31
<ActionButton
27
32
type =" submit"
28
33
:theme =" btnTheme"
34
39
mobileTel: inputMobileTel,
35
40
memo: inputMemo,
36
41
sendSMS: checkSendSMS,
42
+ isAccepted: checkSkipAcceptPolicy,
37
43
})
38
44
"
39
45
>
@@ -60,6 +66,7 @@ export default class PatientRegister extends Vue {
60
66
inputMobileTel = ' '
61
67
inputMemo = ' '
62
68
checkSendSMS = false
69
+ checkSkipAcceptPolicy = true
63
70
64
71
@Prop ({ default: ' ' })
65
72
errorMessage? : string
Original file line number Diff line number Diff line change @@ -219,6 +219,7 @@ export default class CenterId extends Vue {
219
219
mobileTel: string
220
220
memo: string | undefined
221
221
sendSMS: boolean
222
+ isAccepted: boolean
222
223
}): void {
223
224
this .isProcessing = true
224
225
const phoneNumber = value .mobileTel .replace (/ -/ g , ' ' )
@@ -229,6 +230,7 @@ export default class CenterId extends Vue {
229
230
memo: value .memo ,
230
231
display: true ,
231
232
sendSMS: value .sendSMS ,
233
+ isAccepted: value .isAccepted ,
232
234
}
233
235
patientsStore
234
236
.create (newPatient )
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ export interface ConsumePatient {
16
16
memo ?: string | undefined
17
17
display : boolean
18
18
sendSMS : boolean
19
+ isAccepted : boolean
19
20
}
20
21
export interface RegisteredPatient {
21
22
phone : string
You can’t perform that action at this time.
0 commit comments