| | |
| | | <el-input v-model="dataForm.project.softwareName" placeholder="请输入项目名称"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="申请人" style="width: 49%"> |
| | | <el-input :disabled="stepMarker=='pzxrk_first'" v-model="dataForm.configItemWarehouse.applicant" |
| | | <el-input :disabled="stepMarker!=='pzxrk_first'" v-model="dataForm.configItemWarehouse.applicant" |
| | | placeholder="请输入申请人"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="申请日期" style="width: 49%"> |
| | | <el-date-picker |
| | | :disabled="stepMarker=='pzxrk_first'" |
| | | :disabled="stepMarker!=='pzxrk_first'" |
| | | v-model="dataForm.configItemWarehouse.applyDate" |
| | | type="date" |
| | | placeholder="请选择申请日期"> |
| | |
| | | <el-table-column prop="examineItem" min-width="300" label="检查项"></el-table-column> |
| | | <el-table-column label="检查结果" width="250" align="center"> |
| | | <template slot-scope="scope"> |
| | | <zt-dict :disabled="stepMarker=='wplz_qash'" v-model="scope.row.examineResult" placeholder="检查结果" |
| | | <zt-dict :disabled="stepMarker!=='wplz_qash'" v-model="scope.row.examineResult" placeholder="检查结果" |
| | | dict="tristate2" :radio="true" |
| | | clearable></zt-dict> |
| | | </template> |
| | |
| | | </el-table> |
| | | <div class="el-border-top"> |
| | | <el-form-item label="审核结果" style="width: 99%"> |
| | | <zt-dict :disabled="stepMarker=='wplz_qash'" v-model="dataForm.configItemWarehouse.qaAuditResults" |
| | | <zt-dict :disabled="stepMarker!=='wplz_qash'" v-model="dataForm.configItemWarehouse.qaAuditResults" |
| | | dict="is_pass" :radio="true" |
| | | clearable></zt-dict> |
| | | </el-form-item> |
| | |
| | | </el-table> |
| | | <div class="el-border-top"> |
| | | <el-form-item label="审核结果" style="width: 99%"> |
| | | <zt-dict :disabled="stepMarker=='wplz_cmsh'" v-model="dataForm.configItemWarehouse.cmAuditResults" |
| | | <zt-dict :disabled="stepMarker!=='wplz_cmsh'" v-model="dataForm.configItemWarehouse.cmAuditResults" |
| | | placeholder="审核结果" dict="is_pass" :radio="true" |
| | | clearable></zt-dict> |
| | | </el-form-item> |
| | |
| | | {pageCode: 'report', name: '软件测试报告'}, |
| | | {pageCode: 'other', name: '其他'} |
| | | ], |
| | | pageNameCode: {软件测试计划:'plan', 软件测试说明: 'explain', 软件测试记录: 'record', 软件测试报告: 'report'}, |
| | | dataForm: { |
| | | id: '', |
| | | configItemWarehouse: { |
| | |
| | | // }, |
| | | handleCommand(pageCode) { |
| | | const selectedItem = this.menuOptions.find(item => item.pageCode === pageCode); |
| | | console.log(selectedItem,"handleCommand(pageCode) selectedItem") |
| | | console.log(selectedItem, "handleCommand(pageCode) selectedItem") |
| | | if (selectedItem.pageCode === 'other') { |
| | | this.dataForm.configItemList.push({}) |
| | | } else if (selectedItem) { |
| | |
| | | }) |
| | | }, |
| | | openCheckOrderWin(row) { |
| | | row.projectId = this.dataForm.projectId |
| | | this.$refs.addOrUpdate.$refs.dialog.init(null, row) |
| | | console.log(row, "openCheckOrderWin(row)") |
| | | row.projectId = this.dataForm.projectId |
| | | if (!row.pageCode){ |
| | | row.pageCode = this.pageNameCode[row.itemName] |
| | | console.log(row.itemName,row.pageCode, "row.itemName,openCheckOrderWin(row) row.pageCode") |
| | | } |
| | | this.$refs.addOrUpdate.$refs.dialog.init(null, row) |
| | | |
| | | }, |
| | | setCheckId(checkId, row) { |
| | | row.checkId = checkId |
| | | console.log(checkId, row, "setCheckId(checkId, row)") |
| | | this.$set(row, 'checkId', checkId) |
| | | }, |
| | | // 获取信息 |
| | | async getInfo() { |
| | |
| | | }, |
| | | // 表单提交 |
| | | async formSubmit(submitType) { |
| | | /* if (this.stepMarker=='' && submitType == 'bl') { |
| | | for(666) |
| | | if (this.pageNameCode[row.itemName] && !row.isCheck) { |
| | | alert(444) |
| | | return |
| | | } |
| | | }*/ |
| | | if (submitType == 'tj' || submitType == 'bl') { |
| | | let flowInfo = { |
| | | flowCode: 'pzxrk', |