fix:coding#673全厂报表

This commit is contained in:
shijing 2024-12-06 09:48:42 +08:00
parent 15292ee455
commit b54b1733b9
5 changed files with 13 additions and 3 deletions

View File

@ -20,7 +20,10 @@
<el-date-picker v-model="query.year" type="year" value-format="YYYY" format="YYYY" placeholder="年份"
class="headerSearch" v-if="query.type == 2" />
<el-button type="primary" icon="el-icon-search" @click="getTableData"></el-button>
<el-button type="primary" @click="exportExcel()" :loading="exportLoading">导出xlsx
<el-button type="primary"
@click="exportExcel()"
:loading="exportLoading"
v-auth="'export_excel'">导出xlsx
</el-button>
<el-button type="primary" @click="handlePrint">打印
</el-button>

View File

@ -41,7 +41,10 @@
<el-button type="primary" icon="el-icon-search"
@click="getTableData">
</el-button>
<el-button type="primary" @click="exportExcel()" :loading="exportLoading">导出xlsx
<el-button type="primary"
@click="exportExcel()"
:loading="exportLoading"
v-auth="'export_excel'">导出xlsx
</el-button>
<el-button type="primary" @click="handlePrint">打印
</el-button>
@ -49,9 +52,10 @@
</el-header>
<el-main class="nopadding">
<el-container>
<el-main class="nopadding">
<el-main class="nopadding" id="myReport">
<scTable
ref="stlogTable"
id="myTable"
:apiObj="apiObjStlog"
:query="query"
:params="params"

View File

@ -58,6 +58,7 @@
type="primary"
@click="exportExcel()"
:loading = "exportLoading"
v-auth="'export_excel'"
>导出xlsx
</el-button>
<el-button

View File

@ -35,6 +35,7 @@
type="primary"
@click="exportExcel()"
:loading = "exportLoading"
v-auth="'export_excel'"
>导出xlsx
</el-button>
<el-button

View File

@ -21,6 +21,7 @@
type="primary"
@click="exportExcel()"
:loading = "exportLoading"
v-auth="'export_excel'"
>导出xlsx
</el-button>
<el-button