zhuo
2025-03-26 f16c91bc9b96c415b7129e3eccf29b5b9f93d7a3
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>
@@ -43,7 +43,8 @@
        </div>
      </div>
      <div>
        <el-table :data="yearItems" border height="450" style="width: 100%">
        <el-table :data="yearItems" border height="450" style="width: 100%"
                  :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }">
          <el-table-column label="类别" prop="yearType" width="240">
            <template slot-scope="{row}">
              <template v-if="operationType !== 'view'">
@@ -250,7 +251,7 @@
import { selectUserCondition } from "@/api/performance/class";
export default {
  name: "b1-product-sampling-info",
  name: "ProductSamplingInfo",
  // import 引入的组件需要注入到对象中才能使用
  components: { limsTable, AddQuarterItem },
  data() {
@@ -315,7 +316,7 @@
      ],
      page: {
        total: 0,
        size: 10,
        size: 20,
        current: 1
      },
      tableData1: [],
@@ -361,7 +362,7 @@
      ],
      page1: {
        total: 0,
        size: 10,
        size: 20,
        current: 1
      },
      yearSampleDia: false, // 年度抽样
@@ -609,7 +610,7 @@
      return 'height: calc(100% - ' + '44' + 'px)'
    },
    getUserList() {
      selectUserCondition({ type: 0 }).then((res) => {
      selectUserCondition().then((res) => {
        this.userList = res.data;
      })
    },