wente
2023-12-18 221b6d4c2e81823c626337196efe352a979a96cc
web/src/views/modules/testCheckOrder/TestCheckOrder-AddOrUpdate.vue
@@ -49,7 +49,7 @@
                </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>
@@ -134,11 +134,14 @@
  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: '',
@@ -159,6 +162,15 @@
        }
      }
    },
  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