zhuguifei
2025-04-28 442928123f63ee497d766f9a7a14f0a6ee067e25
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
<template>
  <a-card :bordered='false'>
    <div>
      <a-divider><span style='font-size: 18px;font-weight: bold'>{{ stand.name }} </span> {{ stand.ver }}</a-divider>
      <a-tabs type='card' default-active-key='1' @change='callback'>
        <a-tab-pane key='1' tab='技术指标'>
          <div style='text-align: left'>
            <lims-item-target-list :standId='standId'></lims-item-target-list>
          </div>
        </a-tab-pane>
        <a-tab-pane key='2' tab='鉴定指标'>
          <lims-item-target-ident :stand='stand'></lims-item-target-ident>
        </a-tab-pane>
 
      </a-tabs>
    </div>
  </a-card>
</template>
 
<script>
import LimsItemTargetList from '@views/limsTest/LimsItemTargetList'
import LimsItemTargetIdent from '@views/limsTest/LimsItemTargetIdent'
 
import { queryStandById } from '@api/lims'
 
export default {
  name: 'StandMaintainPage',
  components: { LimsItemTargetIdent, LimsItemTargetList },
  data() {
    return {
      stand: {}
    }
  },
  mounted() {
    this.queryStand()
  },
  methods: {
    callback(key) {
 
    },
    //查询技术标准
    queryStand() {
      queryStandById({ id: this.standId }).then(res => {
        console.info(res)
        if (res.success) {
          this.stand = res.result
        }
      })
 
    }
  },
  computed: {
    standId() {
      return this.$route.query.id
 
    }
  }
}
</script>
 
<style scoped>
 
</style>