cuijian
2025-07-04 e2ca529f2d095293d737b5a2f0b7562e85919418
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
<template>
  <a-card
    :bordered="false"
    class="card-area"
  >
    <a-table
      ref="table"
      bordered
      size="middle"
      rowKey="id"
      :columns="columns"
      :dataSource="dataSource"
      :pagination="ipagination"
      :loading="loading"
      @change="handleTableChange"
    >
    </a-table>
  </a-card>
</template>
 
<script>
import { requestPut } from '@/api/manage'
import { JeecgListMixin } from '@/mixins/JeecgListMixin'
 
export default {
  name: 'InspectionPlanItemList',
  mixins: [JeecgListMixin],
  components: {},
  data() {
    return {
      url: {
        list: '/qms/inspectionItem/queryListByPlanId',
      },
      queryParam: {},
      nodeType: 0,
      dataSource: [],
      disableMixinCreated:true,
      columns: [
        {
          title: '检验项目编码',
          align: 'center',
          dataIndex: 'itemCode',
          width: '10%',
        },
        {
          title: '检验项目名称',
          dataIndex: 'itemName',
          align: 'center',
        },
        {
          title: '检验项目分类',
          dataIndex: 'itemCategoryName',
          align: 'center',
        },
      
        {
          title: '定量/定性',
          dataIndex: 'qualitativeOrQuantitativeName',
          align: 'center',
        },
         {
          title: '测量工具',
          dataIndex: 'inspectionToolsNames',
          align: 'center',
        },
        {
          title: '排序',
          dataIndex: 'sorter',
          align: 'center',
        },
        {
          title: '标准值',
          dataIndex: 'standardValue',
          align: 'center',
        },
        {
          title: '上公差',
          dataIndex: 'maxValue',
          align: 'center',
        },
        {
          title: '下公差',
          dataIndex: 'minValue',
          align: 'center',
        }
      ]
    }
  },
 
  methods: {
  },
  mounted() {
    this.$bus.$on('getInspectionPlanItemData', (data) => {
      this.queryParam.inspectionPlanId = data.id;
      this.searchQuery();
    })
  }
}
</script>
 
<style scoped>
@import '~@assets/less/common.less';
</style>