This commit is contained in:
宋伟佳
2021-11-02 09:41:40 +08:00
parent bbb7bdabe5
commit 08f0b15d9a
2 changed files with 23 additions and 2 deletions
@@ -22,7 +22,8 @@
placeholder="请输入关键词"
clearable
></el-input>
<el-button class="primary_button" type="primary" @click="search">搜索</el-button>
<el-button type="primary" @click="search">搜索</el-button>
<el-button style="margin-left: 5px;" type="primary" @click="seniorSearch">高级搜索</el-button>
</div>
</div>
</template>
@@ -74,6 +75,15 @@ export default {
}
})
},
seniorSearch(){
this.$router.push({
name: 'AdvancedSearch',
params: {
selectKey: this.checkState,
searchValue: this.checkContent || undefined
}
})
},
},
mounted(){
+12 -1
View File
@@ -2367,7 +2367,7 @@ const routes = [
}
},
{
path: '/advancedSearch',
path: '/advancedSearch/:selectKey?/:searchValue?',
name: 'AdvancedSearch',
component: () =>
import('@/pages/searchCenter/pages/advancedSearch'),
@@ -2377,6 +2377,17 @@ const routes = [
menuId: 'K9BAYUPZBC'
}
},
// {
// path: '/advancedSearch',
// name: 'AdvancedSearch',
// component: () =>
// import('@/pages/searchCenter/pages/advancedSearch'),
// meta: {
// requireAuth: true,
// title: '高级检索',
// menuId: 'K9BAYUPZBC'
// }
// },
{
path: '/customReport',
name: 'CustomReport',