This commit is contained in:
ChenQiuYu 2025-05-28 13:58:24 +08:00
parent 9282d353f9
commit 6992ed6331
1 changed files with 3 additions and 3 deletions

View File

@ -9,7 +9,7 @@
class="demo-form-inline" class="demo-form-inline"
> >
<el-form-item> <el-form-item>
<el-input v-model="search.keyword" placeholder="项目名称/首字母/拼音"></el-input> <el-input v-model="search.name" placeholder="项目名称"></el-input>
</el-form-item> </el-form-item>
</el-form> </el-form>
</div> </div>
@ -96,8 +96,8 @@ const rowClick = ((row: any) => {
const tableData = ref<any>([]) const tableData = ref<any>([])
const initData = () => { const initData = () => {
post(API.Item.Base.Search, {query:{pageNum: page.value, pageSize: pageSize.value, ...search.value}}).then((res: any) => { post(API.Item.Base.List, {pageNum: page.value, pageSize: pageSize.value, ...search.value}).then((res: any) => {
tableData.value = res tableData.value = res.list
total.value = res.total_count total.value = res.total_count
}) })
id.value = '' id.value = ''