|
|
|
@ -65,7 +65,7 @@
|
|
|
|
|
icon="el-icon-download"
|
|
|
|
|
size="mini"
|
|
|
|
|
@click="handleExport"
|
|
|
|
|
v-hasPermi="['quality:qcIncomeReport:export']"
|
|
|
|
|
v-hasPermi="['quality:produceReport:export']"
|
|
|
|
|
>导出</el-button>
|
|
|
|
|
</el-col>
|
|
|
|
|
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
|
|
|
@ -99,7 +99,6 @@
|
|
|
|
|
type="text"
|
|
|
|
|
icon="el-icon-edit"
|
|
|
|
|
@click="handleLook(scope.row)"
|
|
|
|
|
v-hasPermi="['quality:qcIncomeReport:edit']"
|
|
|
|
|
>查看报告</el-button>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
@ -600,7 +599,7 @@ export default {
|
|
|
|
|
handleExport() {
|
|
|
|
|
this.download('quality/qcIncome/export', {
|
|
|
|
|
...this.queryParams
|
|
|
|
|
}, `income_${new Date().getTime()}.xlsx`)
|
|
|
|
|
}, `produce_${new Date().getTime()}.xlsx`)
|
|
|
|
|
},
|
|
|
|
|
/**获取检验项目列表 */
|
|
|
|
|
getCheckedProjectList(){
|
|
|
|
@ -609,7 +608,7 @@ export default {
|
|
|
|
|
this.checkProjectList = response.rows;
|
|
|
|
|
this.total = response.total;
|
|
|
|
|
this.loading = false;
|
|
|
|
|
this.standardNo = this.checkProjectList[0].standardNo || '20240109test';
|
|
|
|
|
this.standardNo = this.checkProjectList[0].standardNo;
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
// 打印预览-浏览器打印
|
|
|
|
|