diff --git a/src/views/serverObj/allocation/components/EditDialog.vue b/src/views/serverObj/allocation/components/EditDialog.vue
index 33b0919..5d7e982 100644
--- a/src/views/serverObj/allocation/components/EditDialog.vue
+++ b/src/views/serverObj/allocation/components/EditDialog.vue
@@ -1,136 +1,135 @@
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
-
+
\ No newline at end of file
diff --git a/src/views/serverObj/existence/index.vue b/src/views/serverObj/existence/index.vue
index ad6c902..1e041f0 100644
--- a/src/views/serverObj/existence/index.vue
+++ b/src/views/serverObj/existence/index.vue
@@ -51,7 +51,7 @@
-
+
导入
@@ -66,6 +66,18 @@
{{ index + 1 }}
+
+
+ {{ record.livingStatus.passWayAt == null ? '在世' : '已去世' }}
+
+
+
+ {{ record.livingStatus.passWayAt == null ? '--' : dayjs(record.livingStatus.passWayAt).format('YYYY-MM-DD') }}
+
+
+
+ {{ record.livingStatus.passWayReason != '' ? record.livingStatus.passWayReason : '--' }}
+
@@ -123,11 +135,18 @@ const columns = [
},
{
title: '身份证号',
- dataIndex: 'idNumber',
- key: 'idNumber',
+ dataIndex: 'identityNo',
+ key: 'identityNo',
align: 'center',
width: 180,
},
+ {
+ title: '是否在世',
+ dataIndex: 'livingStatus',
+ key: 'livingStatus',
+ align: 'center',
+ width: 150,
+ },
{
title: '去世时间',
@@ -149,6 +168,9 @@ const columns = [
key: 'updateTime',
align: 'center',
width: 120,
+ customRender: ({ text, record }) => {
+ return text ? dayjs(text).format('YYYY-MM-DD') : '-';
+ },
},
// --- 联系方式 ---