web/src/views/modules/project/SoftwareTestOrder-AddOrUpdate.vue
@@ -424,7 +424,7 @@ </el-form> <template v-slot:footer> <el-button v-if="dataForm.disabled" type="primary">打印</el-button> <el-button v-if="dataForm.disabled" type="primary" @click="print()">打印</el-button> </template> </zt-dialog> </template> @@ -538,7 +538,10 @@ } // console.log(this.dataForm, "this.dataForm") }, async print(){ let res = await this.$http.get(`/project/SoftwareTestOrder/exportWord/${this.dataForm.id}`) console.log(res.data) }, // 表单提交 async formSubmit() { console.log(this.dataForm, ' this.dataForm')