朱佳吉
2024-05-09 1e9c7a02ec2b8caf7dda6000d7f0f79849df6b45
src/components/do/b1-sample/detail.vue
@@ -69,7 +69,11 @@
            <el-table-column prop="inspectionItemSubclass" label="检验项分类" min-width="100" show-overflow-tooltip></el-table-column>
            <el-table-column prop="laboratory" label="实验室" min-min-width="100" show-overflow-tooltip></el-table-column>
            <el-table-column prop="unit" label="单位" min-width="100" show-overflow-tooltip></el-table-column>
            <el-table-column prop="equipValue" label="设备" min-width="100" show-overflow-tooltip></el-table-column>
            <el-table-column prop="equipName" label="设备" min-width="100" show-overflow-tooltip>
          <template slot-scope="scope">
            {{handleData(scope.row.equipName)}}
          </template>
        </el-table-column>
            <el-table-column prop="entrustCode" label="委托编号" min-width="100" show-overflow-tooltip></el-table-column>
            <el-table-column prop="updateUserName" label="检验人" min-width="100" show-overflow-tooltip></el-table-column>
            <el-table-column prop="updateTime" label="检验时间" min-width="100" show-overflow-tooltip></el-table-column>
@@ -129,6 +133,12 @@
        this.histories = histories;
        this.products = products;
      })
    },
    handleData(e){
      let info = JSON.parse(e).map(item => {
        return item.v;
      }).join(',')
      return info
    }
  }
}