修改搜索查询

This commit is contained in:
qq787203167
2022-02-12 17:34:15 +08:00
parent cac1d0b73b
commit 6348b30939
2 changed files with 9 additions and 15 deletions
@@ -1,7 +1,7 @@
<template>
<a-card :bordered="false">
<div class="table-page-search-wrapper">
<search :flag="'1'" :url="url" :searchList="searchList"/>
<search :flag="'1'" :url="url"/>
</div>
<div class="table-operator">
<a-button @click="handleExport()" type="primary">数据导出</a-button>
@@ -24,7 +24,7 @@
/>
</div>
<addForm
ref="addFormClick1"
ref="addFormRef"
:url="url"
:flag="'1'"
/>
@@ -46,10 +46,6 @@
},
data() {
return {
searchList: [
{ name: '名称', placeholder: '请输入姓名', attrModel: 'name', enName: 'title' },
{ name: '标题', placeholder: '请输入标题', attrModel: 'title', enName: 'title' }
],
OperationList: [
{
text: '收藏',
@@ -92,7 +88,7 @@
},
handleAdd(){
this.$refs.addFormClick1.add()
this.$refs.addFormRef.add()
},
handleModule(){
@@ -101,14 +97,14 @@
},
handleCompare() {
// this.$refs.addFormClick1.add()
// this.$refs.addFormRef.add()
},
handleFileImport(){
},
//编辑按钮
editTable(val) {
this.$refs.addFormClick1.add()
this.$refs.addFormRef.edit()
console.log(val)
},
//删除按钮