| | |
| | | </el-table-column> |
| | | <el-table-column prop="checkResult" align="center" width="180" label="检查结果"> |
| | | <template v-slot="{ row }"> |
| | | <zt-dict :disabled="stepMarker!=='csjcd_first'" v-model="row.checkResult" dict="tristate1" |
| | | <zt-dict :disabled="stepMarker!=='csjcd_first'" v-model="row.checkResult" :dict="getDict" |
| | | :radio="true"></zt-dict> |
| | | </template> |
| | | </el-table-column> |
| | |
| | | export default { |
| | | data() { |
| | | return { |
| | | pageCode: '', |
| | | stepMarker: '', |
| | | configDetailRow: null, |
| | | subtitle: '', |
| | | pageName: {plan: '软件测试计划', explain: '软件测试说明', record: '软件测试记录', report: '软件测试报告', |
| | | contract: '合同评审阶段', require:'测试需求分析与策划'}, |
| | | pageName: { |
| | | plan: '软件测试计划', explain: '软件测试说明', record: '软件测试记录', report: '软件测试报告', |
| | | contract: '合同评审阶段', require: '测试需求分析与策划' |
| | | }, |
| | | dataForm: { |
| | | id: '', |
| | | projectId: '', |
| | |
| | | } |
| | | } |
| | | }, |
| | | computed: { |
| | | getDict() { |
| | | if (this.pageCode && (this.pageCode === 'plan' || this.pageCode === 'explain' || this.pageCode === 'record' || this.pageCode === 'report')) { |
| | | return 'tristate1' |
| | | } else { |
| | | return 'tristate2' |
| | | } |
| | | } |
| | | }, |
| | | methods: { |
| | | init(id, row) { |
| | | this.configDetailRow = row |