-
证件名称: {{data.licenseTypeName || ''}}
+
证照名称: {{data.licenseTypeName || ''}}
-
证件编号: {{data.licenseCode || ''}}
+
证照编号: {{data.licenseCode || ''}}
-
证件有效期: {{data.validityStartTime | date:"yyyy/MM/dd"}} - {{data.validityEndTime | date:"yyyy/MM/dd"}}
+
证照效期: {{data.isLongTerm ? '长期证照' : (data.validityEndTime | date:"yyyy/MM/dd")}}
办理类型: {{getHandleTypes(data.handleTypesDefault)}}
-
有效期类型: {{data.validityDays || 0}}天
+
有效天数:
+
+ 长期
+
+
+ {{data.validityDays ? data.validityDays+'天' : '/'}}
+
+
-
证件图片:
+
附件:
-
-
+
+
+
附件副本:
+
+
+
+
+
审核记录
diff --git a/src/app/pages/license/update-category/details-update-category/details-update-category.component.ts b/src/app/pages/license/update-category/details-update-category/details-update-category.component.ts
index 18de9d9..76ccfbb 100644
--- a/src/app/pages/license/update-category/details-update-category/details-update-category.component.ts
+++ b/src/app/pages/license/update-category/details-update-category/details-update-category.component.ts
@@ -91,15 +91,15 @@ export class DetailsUpdateCategoryComponent implements OnInit {
//查看文件
lookFile(item) {
- if (!item.imageUrl) {
+ if (!item) {
return
}
- if (this.getFileType(item.imageUrl) == 'word') {
- let arr = item.imageUrl.split('.')
+ if (this.getFileType(item) == 'word') {
+ let arr = item.split('.')
arr[arr.length - 1] = 'pdf'
window.open(arr.join('.'))
- } else if (this.getFileType(item.imageUrl) == 'pdf') {
- window.open(item.imageUrl)
+ } else if (this.getFileType(item) == 'pdf') {
+ window.open(item)
} else {
this.message.create('warning', '暂不支持查看!');
}
diff --git a/src/app/pages/license/update-category/edit-update-category/edit-update-category.component.html b/src/app/pages/license/update-category/edit-update-category/edit-update-category.component.html
index df178bf..ec85ad4 100644
--- a/src/app/pages/license/update-category/edit-update-category/edit-update-category.component.html
+++ b/src/app/pages/license/update-category/edit-update-category/edit-update-category.component.html
@@ -6,20 +6,20 @@