zhuo
2025-03-31 46add839980507f30a87d62599671b88fdc86145
src/views/statisticalCharts/inspectionItemWarning/index.vue
@@ -50,13 +50,12 @@
      tableLoading: false,
      column: [
        { label: '样品编号', prop: 'sampleCode',width: 150 },
        { label: '样品名称', prop: 'sampleName',width: 150 },
        { label: '型号', prop: 'sampleModel' },
        { label: '样品名称', prop: 'sampleName'},
        { label: '型号', prop: 'sampleModel',width: 150  },
        { label: '供应商名称', prop: 'supplierName',width: 150 },
        { label: '检验项名称', prop: 'inspectionItemName',width: 150 },
        { label: '供应商名称', prop: 'supplierName',width: 150 },
        { label: '检验项名称', prop: 'inspectionItemName'},
        {
          label: "偏差值",
          label: "偏差值%",
          prop: "deviationValue",
          width: 150,
          dataType: "tag",
@@ -89,14 +88,17 @@
      column1: [
        { label: '样品编号', prop: 'sampleCode'},
        { label: '供应商名称', prop: 'supplierName'},
        { label: '供应商名称', prop: 'supplierName'},
        {
          label: "检测值",
          prop: "testValue",
          width: 150,
          dataType: "tag",
          formatType: (params) => {
            return 'danger'
            if (this.tableData1.find((m) => m.testValue == params).isIssue == 1) {
              return 'danger'
            } else {
              return 'success'
            }
          },
        },
        { label: '检测时间', prop: 'detectionTime',width: 160 },
@@ -115,7 +117,7 @@
      echartsOptions: {},
      echartsSeries: [
        {
          name: '偏差值',
          name: '检测值',
          type: 'line',
          smooth: true,
          tooltip: {