This commit is contained in:
owenchen committed 2026-09-01 15:58:46 +08:00
1 parent 133ba4c295
commit b26bcfcd3b
3 files changed
+396 -241

No files matched your search

@@ -114,7 +114,7 @@
<a-divider orientation="left" orientation-margin="0px" dashed style="background-color: silver">
</a-divider>
<a-row :gutter="[16, 8]">
<a-col :lg="8" :sm="24">
<a-col :lg="12" :sm="24">
<a-row :wrap="false">
<a-col flex="auto">
<a-input-group compact style="display: flex; width: 100%;">
@@ -123,6 +123,14 @@
<a-input :disabled="!isEdit"
v-model:value="data.CurrentPerson.FamilyPerson.GenealogyName" placeholder="族谱名"
style="flex: 1; min-width: 0;" />
<a-input :disabled="!isEdit"
v-model:value="data.CurrentPerson.FamilyPerson.CommonName" placeholder="常用名"
style="flex: 1; min-width: 0;" />
<a-select v-model:value="data.CurrentPerson.FamilyPerson.Gender" :disabled="!isEdit"
placeholder="性别" style="width: 140px; flex: none;">
<a-select-option v-for="o in genderOptions" :value="o.BindValue">{{
o.DisplayName }}</a-select-option>
</a-select>
<a-input-search style="flex: 1; min-width: 0;"
v-model:value="data.CurrentPerson.FamilyPerson.PersonId"
@search="onModalCurrentPerson" />
@@ -273,6 +281,8 @@
</a-row>
<a-row v-else :gutter="[16, 8]">
<a-space>
<a-button type="primary" :icon="h(FileSearchOutlined)"
:disabled="!hasData" >谱系</a-button>
<a-button type="primary" v-if="canAmend" :icon="h(EditOutlined)"
:disabled="!hasData" @click.prevent="onAmend">修改</a-button>
<a-popconfirm :disabled="!hasData" title="确定是否删除这条记录?" ok-text="是"