瀏覽代碼

[add]

テストデータを追加
poohr 3 週之前
父節點
當前提交
342b671bd6
共有 2 個文件被更改,包括 17 次插入4 次删除
  1. 13
    0
      src/app/services/family-service.ts
  2. 4
    4
      src/app/services/marriage-relation-service.ts

+ 13
- 0
src/app/services/family-service.ts 查看文件

@@ -110,6 +110,19 @@ export class FamilyService {
110 110
       spouseId: '',
111 111
       gender: 'male',
112 112
     },
113
+    {
114
+      id: '9',
115
+      dankaId: '1',
116
+      furigana: 'やまだ はなこ',
117
+      name: '山田 花子',
118
+      relationship: '長男の前妻',
119
+      birthDate: '2005-04-02',
120
+      note: '',
121
+      fatherId: '',
122
+      motherId: '',
123
+      spouseId: '',
124
+      gender: 'female',
125
+    },
113 126
   ];
114 127
 
115 128
   //檀家と紐づいている家族情報の取得

+ 4
- 4
src/app/services/marriage-relation-service.ts 查看文件

@@ -9,8 +9,8 @@ export class MarriageRelationService {
9 9
     {
10 10
       id: '1',
11 11
       dankaId: '1',
12
-      person1Id: '2', // 太郎
13
-      person2Id: '8', // 花子
12
+      person1Id: '2',
13
+      person2Id: '9',
14 14
       status: 'divorced',
15 15
       startDate: '',
16 16
       endDate: '',
@@ -19,8 +19,8 @@ export class MarriageRelationService {
19 19
     {
20 20
       id: '2',
21 21
       dankaId: '1',
22
-      person1Id: '2', // 太郎
23
-      person2Id: '7', // 美咲
22
+      person1Id: '2',
23
+      person2Id: '7',
24 24
       status: 'current',
25 25
       startDate: '',
26 26
       endDate: '',

Loading…
取消
儲存