| | |
| | | class="weiTuoDanAuto"> |
| | | <div class="DManageForm"> |
| | | <el-form-item readonly label-width="60px" label="编号:" style="width: 99% ;margin-bottom:-5px"> |
| | | <span>{{ dataForm.project.code }}</span> |
| | | <span>{{ dataForm.softwareTestOrder.code}}</span> |
| | | </el-form-item> |
| | | </div> |
| | | <div style="border: 1px solid rgba(0,0,0,.2)"> |
| | |
| | | <div class="el-border-left" style="width: 98%;"> |
| | | <el-form-item label="是否盖CNAS章" label-width="130px" style="padding-left:5%;margin-bottom:0"> |
| | | <zt-dict v-model="dataForm.softwareTestOrder.otherRequire" :radio="true" |
| | | dict="is_or_not"></zt-dict> |
| | | dict="is_stamp"></zt-dict> |
| | | </el-form-item> |
| | | </div> |
| | | </div> |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | |
| | | import Cookies from 'js-cookie' |
| | | import qs from 'qs' |
| | | export default { |
| | | data() { |
| | | return { |
| | |
| | | id: null, |
| | | projectId: null, |
| | | softwareTestOrder: { |
| | | code:'', |
| | | optEnviron:'', |
| | | programLang:'', |
| | | testBasis:'', |
| | |
| | | // console.log(this.dataForm, "this.dataForm") |
| | | }, |
| | | async print(){ |
| | | let res = await this.$http.get(`/project/SoftwareTestOrder/exportWord/${this.dataForm.id}`) |
| | | console.log(res.data) |
| | | var params = qs.stringify({ |
| | | token: Cookies.get('token'), |
| | | id:this.dataForm.id |
| | | }) |
| | | let apiURL = `/project/SoftwareTestOrder/exportWord/` |
| | | window.location.href = `${window.SITE_CONFIG['apiURL']}${apiURL}?${params}` |
| | | }, |
| | | // 表单提交 |
| | | async formSubmit() { |