| | |
| | | |
| | | </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> |
| | |
| | | } |
| | | // 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') |
| | |
| | | <zt-table-column-handle :table="table" edit-perm="project:update" delete-perm="project::delete"/> |
| | | </el-table> |
| | | <!-- 弹窗, 新增 / 修改 --> |
| | | <add-or-update ref="addOrUpdate" @refreshDataList="ctable.query"/> |
| | | <add-or-update ref="addOrUpdate" @refreshDataList="table.query"/> |
| | | <ProjectSelect ref="projectSelect" |
| | | @refreshDataList="table.query" |
| | | @setProjectInfo="openAddWin"> |