籍贯
-          {{ data.resident.birthplaceAreaName }}
+          {{ data.resident && data.resident.birthplaceAreaName }}
         
 
         
           身份证号
-          {{ data.resident.idNumber.replace(/^(\w{6})\w{8}(.*)$/, '$1****$2') }}
+          {{ data.resident && data.resident.idNumber.replace(/^(\w{6})\w{8}(.*)$/, '$1****$2') }}
         
 
         
           民族
-           {{ $dict.getLabel('nation', data.resident.householdName) }}
+           {{ $dict.getLabel('nation', data.resident.householdName) }}
         
 
         
           文化程度
-          {{ $dict.getLabel('education', data.resident.education) }}
+          {{ $dict.getLabel('education', data.resident.education) }}
         
 
         
           婚姻状况
-          {{ $dict.getLabel('maritalStatus', data.resident.maritalStatus) }}
+          {{ $dict.getLabel('maritalStatus', data.resident.maritalStatus) }}
         
 
         
           政治面貌
-          {{ $dict.getLabel('politicsStatus', data.resident.politicsStatus) }}
+          {{ $dict.getLabel('politicsStatus', data.resident.politicsStatus) }}
         
 
         
           兵役状况
-          {{ $dict.getLabel('militaryStatus', data.resident.militaryStatus) }}
+          {{ $dict.getLabel('militaryStatus', data.resident.militaryStatus) }}
         
 
         
           宗教信仰
-          {{ $dict.getLabel('faithType', data.resident.faithType) }}
+          {{ $dict.getLabel('faithType', data.resident.faithType) }}
         
 
         
           职业
-          {{ $dict.getLabel('job', data.resident.job) }}
+          {{ $dict.getLabel('job', data.resident.job) }}