修改查询报错的bug

This commit is contained in:
yangjun 2025-09-17 15:22:41 +08:00
parent ff60cd73e5
commit 78ba1e64d1
1 changed files with 6 additions and 3 deletions

View File

@ -5,9 +5,9 @@
<a-form ref="formRef" @keyup.enter.native="searchQuery" :model="queryParam" :label-col="labelCol" :wrapper-col="wrapperCol"> <a-form ref="formRef" @keyup.enter.native="searchQuery" :model="queryParam" :label-col="labelCol" :wrapper-col="wrapperCol">
<a-row :gutter="24"> <a-row :gutter="24">
<a-col :lg="6"> <a-col :lg="6">
<a-form-item name="nuName"> <a-form-item name="nuNameParams">
<template #label><span title="区域名称">区域名称</span></template> <template #label><span title="区域名称">区域名称</span></template>
<j-input placeholder="请输入区域名称" v-model:value="queryParam.nuName" allow-clear ></j-input> <a-input placeholder="请输入区域名称" v-model:value="queryParam.nuNameParams" allow-clear ></a-input>
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :lg="6"> <a-col :lg="6">
@ -65,7 +65,7 @@
</template> </template>
<div style="margin-top: -30px;"> <div style="margin-top: -30px;">
<a-divider style="margin: 0 0 10px 0 " /> <a-divider style="margin: 0 0 10px 0 " />
<p>单元名称{{item.nuName}}</p> <p>区域名称{{item.nuName}}</p>
<p style="margin-top: -10px;">创建时间{{item.createTime}}</p> <p style="margin-top: -10px;">创建时间{{item.createTime}}</p>
<div style="float:left;margin-top: 20px;"> <div style="float:left;margin-top: 20px;">
<a-button type="dashed" size="small" @click="handleEdit(item)">更名</a-button> <a-button type="dashed" size="small" @click="handleEdit(item)">更名</a-button>
@ -91,6 +91,9 @@
</a-card> </a-card>
</a-col> </a-col>
<a-col :span="24" v-if="tableData.length==0" style="margin-top:50px;">
<a-empty description="暂无数据" />
</a-col>
</a-row> </a-row>
<!-- 表单区域 --> <!-- 表单区域 -->
<NuBaseInfoModal ref="registerModal" @success="handleSuccess"></NuBaseInfoModal> <NuBaseInfoModal ref="registerModal" @success="handleSuccess"></NuBaseInfoModal>