Pārlūkot izejas kodu

[add]

施主と個人の情報に必要な変数を定義
naoki 6 dienas atpakaļ
vecāks
revīzija
1fb0c8e9cb
1 mainītis faili ar 27 papildinājumiem un 0 dzēšanām
  1. 27
    0
      src/app/home/home.page.ts

+ 27
- 0
src/app/home/home.page.ts Parādīt failu

@@ -1,4 +1,5 @@
1 1
 import { Component } from '@angular/core';
2
+import {FormControl, ReactiveFormsModule} from '@angular/forms';
2 3
 
3 4
 @Component({
4 5
   selector: 'app-home',
@@ -7,7 +8,33 @@ import { Component } from '@angular/core';
7 8
   standalone: false,
8 9
 })
9 10
 export class HomePage {
11
+  //共通情報
12
+  name: string = "";
13
+  nameFurigana: string = "";
14
+  kaimyou: string = "";
15
+  kaimyouFurigana: string = "";
16
+  birthday: number = 0;
17
+  age: number = 0;
18
+  postCode: number = 0;
19
+  address: string = "";
20
+  afterDeath: number = 0;
21
+  email: string = "";
22
+  landelinePhone: number = 0;
23
+  mobilePhone: number = 0;
24
+  fax: number = 0;
25
+  note1: string = "";
26
+  note2: string = "";
27
+
28
+  //世帯情報
29
+  houseHolder: string = "";
30
+
31
+  //個人情報
32
+  relationship: string = "";
33
+
34
+  name = new FormControl('');
10 35
 
11 36
   constructor() {}
12 37
 
38
+
13 39
 }
40
+

Notiek ielāde…
Atcelt
Saglabāt