From d1faa4f23135dabad9e2948842ba415eddfcc08b Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期二, 08 四月 2025 14:00:37 +0800
Subject: [PATCH] 修改检验对象
---
src/views/business/productSamplingInfo/index.vue | 25 +++++++++++++------------
1 files changed, 13 insertions(+), 12 deletions(-)
diff --git a/src/views/business/productSamplingInfo/index.vue b/src/views/business/productSamplingInfo/index.vue
index 82c9d40..166404a 100644
--- a/src/views/business/productSamplingInfo/index.vue
+++ b/src/views/business/productSamplingInfo/index.vue
@@ -8,8 +8,8 @@
</el-input>
</el-form-item>
<el-form-item>
- <el-button type="primary" icon="el-icon-search" size="mini" @click="refreshTable">鏌� 璇�</el-button>
- <el-button icon="el-icon-refresh" size="mini" @click="refresh">閲� 缃�</el-button>
+ <el-button type="primary" size="mini" @click="refreshTable">鏌ヨ</el-button>
+ <el-button size="mini" @click="refresh">閲嶇疆</el-button>
</el-form-item>
</el-form>
<div>
@@ -19,9 +19,10 @@
<div>
<div class="table">
<ul class="tab">
- <li v-for="(m, i) in tabList" :key="i" :class="{ active: i === tabIndex }" @click="handleTab(m, i)">{{ m.label }}</li>
+ <li v-for="(m, i) in tabList" :key="i" :class="{ active: i === tabIndex }" @click="handleTab(m, i)">{{ m.label
+ }}</li>
</ul>
- <!--瀛e害-->
+ <!--鍙潬鎬�-->
<lims-table :tableData="tableData" :column="column" v-if="tabIndex === 0" @pagination="pagination"
:height="'calc(100vh - 290px)'" :page="page" :tableLoading="tableLoading"></lims-table>
<!--骞村害-->
@@ -34,8 +35,8 @@
<div style="display: flex;align-items: center;justify-content: space-between;margin-bottom: 10px">
<div style="width: 30%;display: flex;align-items: center;">
<el-input v-if="operationType !== 'view'" v-model="currentYear" size="small" />
- <span v-if="operationType === 'view'"
- style="width: 160px;font-size: 18px;font-weight: 600">{{ currentYear }}</span>
+ <span v-if="operationType === 'view'" style="width: 160px;font-size: 18px;font-weight: 600">{{ currentYear
+ }}</span>
</div>
<div v-if="operationType !== 'view'">
<el-button size="small" type="primary" @click="addQuarter">娣诲姞</el-button>
@@ -44,7 +45,7 @@
</div>
<div>
<el-table :data="yearItems" border height="450" style="width: 100%"
- :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }">
+ :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }">
<el-table-column label="绫诲埆" prop="yearType" width="240">
<template slot-scope="{row}">
<template v-if="operationType !== 'view'">
@@ -261,7 +262,7 @@
tabIndex: 0,
tabList: [
{
- label: '瀛e害',
+ label: '鍙潬鎬�',
value: 0
},
{
@@ -434,15 +435,15 @@
this.page1.size = page.limit
this.refreshTable()
},
- // 缂栬緫瀛e害鎶芥牱
+ // 缂栬緫鍙潬鎬ф娊鏍�
editForm(row) {
this.$refs.addQuarterItem.openDia(row, 'edit')
},
- // 鏌ョ湅瀛e害鎶芥牱
+ // 鏌ョ湅鍙潬鎬ф娊鏍�
viewQuarterInfo(row) {
this.$refs.addQuarterItem.openDia(row, 'view')
},
- // 鍒犻櫎瀛e害鎶芥牱
+ // 鍒犻櫎鍙潬鎬ф娊鏍�
deleteQuarterInfo(row) {
this.$confirm('鏄惁鍒犻櫎褰撳墠鏁版嵁?', "璀﹀憡", {
confirmButtonText: "纭畾",
@@ -463,7 +464,7 @@
finalReportQuarter({ quarterId: row.quarterId, random: randomNum }).then(res => {
this.outLoading = false
const blob = new Blob([res], { type: 'application/octet-stream' });
- this.$download.saveAs(blob, '瀛e害鎶芥牱淇℃伅瀵煎嚭.docx')
+ this.$download.saveAs(blob, '鍙潬鎬ф娊鏍蜂俊鎭鍑�.docx')
})
},
// 骞村害涓嬭浇
--
Gitblit v1.9.3