提交 5a04b422 authored 作者: jinrongbin's avatar jinrongbin

判断修改

上级 a8af4705
......@@ -228,8 +228,8 @@
</tr> -->
</tbody>
</table>
<tableModal :type="'look'" :data="data?.xrList" @register="registerLandModal" ref="childrenLand" />
<tableModal :type="'look'" :data="data?.qrList" @register="registerModal" ref="childrenModal" />
<tableModal :type="'look'" :data="data?.xrList" @register="registerLandModal" ref="childrenLand" dataType="xrList" />
<tableModal :type="'look'" :data="data?.qrList" @register="registerModal" ref="childrenModal" dataType="qrList" />
</template>
<script lang="ts" setup>
......
......@@ -132,8 +132,8 @@
</template>
</BasicForm>
</div>
<tableModal :data="data?.wrdkjbxxb?.xrList" @register="registerLandModal" ref="childrenLand" />
<tableModal :data="data?.wrdkjbxxb?.qrList" @register="registerModal" ref="childrenModal" />
<tableModal :data="data?.wrdkjbxxb?.xrList" @register="registerLandModal" ref="childrenLand" dataType="xrList" />
<tableModal :data="data?.wrdkjbxxb?.qrList" @register="registerModal" ref="childrenModal" dataType="qrList" />
</template>
<script lang="ts" setup>
......
......@@ -6,11 +6,12 @@
:title="type == 'edit' ? '土地使用权人信息 (添加、修改、删除多土地使用权人信息后,需点击“保存”按钮进行保存)' : '查看'"
>
<template #footer> </template>
<a-space style="width: 100%" class="flex justify-end">
<div style="width: 100%" class="flex">
<div class="hint-text" style="color: #ff0000; font-size: 18px; flex: 1; text-align: left; padding-right: 200px">提示:选择多土地使用权人时,1.此页面至少需要填写两条{{ dataType == 'xrList' ? '现任' : '前任' }}土地使用权人信息2.需将填报页面的{{ dataType == 'xrList' ? '现任' : '前任' }}土地使用权人录到此页面。</div>
<a-button class="editable-add-btn" type="primary" v-if="type == 'edit'" @click="handleAdd" style="margin-bottom: 8px">添加</a-button>
<a-button class="editable-add-btn" type="primary" v-if="type == 'edit'" @click="save" style="margin-bottom: 8px">确认</a-button>
<a-button class="editable-add-btn" type="primary" v-if="type == 'edit'" @click="save" style="margin-bottom: 8px; margin-left: 20px">确认</a-button>
<!-- <a-button class="editable-add-btn" type="primary" @click="close" style="margin-bottom: 8px">返回</a-button> -->
</a-space>
</div>
<a-table :columns="columns" :data-source="dataSource" bordered>
<template #headerCell="{ column }">
<template v-for="col in ['tdsyqrlx', 'gsyyzzh', 'syqdwmc', 'qdHstdsqysj']" :key="col">
......@@ -92,6 +93,10 @@
type: String,
default: 'edit',
},
dataType: {
type: String,
default: '',
},
});
const { createMessage } = useMessage();
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论