Compare commits

..

2 Commits

5 changed files with 11 additions and 4 deletions

View File

@ -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"
>

View File

@ -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加载组件

View File

@ -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() {

View File

@ -120,6 +120,10 @@ const state = reactive({
active_row: {},
StockStateList : [
{
ENUMVALUE : "" ,
DESCRIPTION : "全部"
},
{
ENUMVALUE : "Created" ,
DESCRIPTION : "创建"

View File

@ -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>