王震
2023-12-27 d892f98a6fc7bacca5c39c92f3f74ef2e81ba3f2
src/views/technology/document/teststandard.vue
@@ -59,7 +59,7 @@
  deleteTestStandard,
  getTestStand,
  saveTestStandard
} from '../../../api/technology/document'
} from '@/api/technology/document'
import qualityStandardDialog from '@/views/common/teststandardradio.vue'
export default {
@@ -75,7 +75,7 @@
  },
  data() {
    return {
      paramObj: { documentId: this.documentId },
      paramObj: {documentId : this.documentId},
      showQualityStandard: false,
      testStandardParams: [],
      ajaxFun: getTestStand,
@@ -184,14 +184,22 @@
  computed: {
    ...mapGetters(['permissions'])
  },
  created() {},
  created() {
    this.$nextTick(()=>{
      getTestStand(this.paramObj)
    })
  },
  mounted(){
    this.$nextTick(()=>{
      getTestStand(this.paramObj)
    })
  },
  methods: {
    // 获取数据列表
    getData() {
      this.$refs.selectTestStandardTable.getDataList()
    },
    addOrUpdateHandle() {
      console.info(this.documentId)
      if (this.documentId) {
        if (this.editable) {
          this.qualityStandardParamObj = {