Compare commits
2 Commits
6396669db1
...
86cc8122ce
Author | SHA1 | Date | |
---|---|---|---|
86cc8122ce | |||
42994f6eca |
@ -2,6 +2,7 @@
|
||||
<div>
|
||||
<template v-if="!item.children || (item.children && item.children.length === 0)">
|
||||
<el-menu-item
|
||||
v-if="!item.root"
|
||||
@click="goRoute(item.path || item.routePath)"
|
||||
:index="item.path || item.routePath"
|
||||
>
|
||||
|
@ -25,12 +25,12 @@ const constRoutes = [
|
||||
/**
|
||||
* home路由,需要修改redirect使用
|
||||
*/
|
||||
const homeRoute = { path: '/', hidden: true, redirect: '' };
|
||||
const homeRoute = { path: '/', root: true, redirect: '' };
|
||||
|
||||
/**
|
||||
* 404兜底路由
|
||||
*/
|
||||
const notFoundRoute = { path: '/:catchAll(.*)', redirect: '/404', hidden: true };
|
||||
const notFoundRoute = { path: '/:catchAll(.*)', redirect: '/404', root: true };
|
||||
|
||||
/**
|
||||
* 使用require加载组件,失败时弹出提示
|
||||
|
@ -42,7 +42,7 @@
|
||||
</el-form>
|
||||
<div class="page-search-btns">
|
||||
<el-button type="primary" @click="handleQueryInfo">搜索</el-button>
|
||||
<el-button type="primary" @click="InAdvanceQuery">刷新</el-button>
|
||||
<!-- <el-button type="primary" @click="InAdvanceQuery">刷新</el-button>-->
|
||||
<el-button type="primary" @click="exportExcel">导出</el-button>
|
||||
</div>
|
||||
</el-row>
|
||||
@ -258,6 +258,8 @@ const updateList = (col: any) => {
|
||||
function handleQueryInfo() {
|
||||
state.queryParams.pageNum = 1
|
||||
state.queryParamsActivate.pageNum = 1;
|
||||
state.BoxDetailList = [];
|
||||
state.total1 = 0
|
||||
HandleQuery()
|
||||
}
|
||||
function HandleQuery() {
|
||||
|
@ -120,6 +120,10 @@ const state = reactive({
|
||||
|
||||
active_row: {},
|
||||
StockStateList : [
|
||||
{
|
||||
ENUMVALUE : "" ,
|
||||
DESCRIPTION : "全部"
|
||||
},
|
||||
{
|
||||
ENUMVALUE : "Created" ,
|
||||
DESCRIPTION : "创建"
|
||||
|
@ -36,7 +36,7 @@
|
||||
</el-form>
|
||||
<div class="page-search-btns">
|
||||
<el-button type="primary" @click="handleQueryInfo">搜索</el-button>
|
||||
<el-button type="primary" @click="print" :disabled="state.button_print" v-loading="state.loadings">打印</el-button>
|
||||
<!-- <el-button type="primary" @click="print" :disabled="state.button_print" v-loading="state.loadings">打印</el-button>-->
|
||||
</div>
|
||||
</el-row>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user