jinlin
2023-11-10 cb573b4eee7426d0d614fd59f48c1e8575738b8e
web/src/views/modules/project/SoftwareTestOrder-AddOrUpdate.vue
@@ -76,15 +76,19 @@
    data() {
      return {
        dataForm: {
          id: '',
          projectId: ''
          id: null,
          projectId: null
        }
      }
    },
    methods: {
      // 获取信息
      async getInfo() {
        let res = await this.$http.get(`/project/SoftwareTestOrder/${this.dataForm.id}`)
        let params = {
          orderId: this.dataForm.id,
          projectId: this.dataForm.projectId
        }
        let res = await this.$http.get(`/project/SoftwareTestOrder/getDto`, {params: params})
        this.dataForm = {
          ...this.dataForm,
          ...res.data