|
@@ -78,6 +78,19 @@
|
|
|
/>
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
+ <!-- 是否等效 -->
|
|
|
+ <a-col :lg="8" :md="12" :sm="24" :xl="6" :xs="24">
|
|
|
+ <a-form-item :label="$t('plan.dvp.is-it-an-equivalent-test')">
|
|
|
+ <a-select
|
|
|
+ v-model="queryParam.isEquivalent"
|
|
|
+ :placeholder="$t('global-btn.please-select') + $t('plan.dvp.is-it-an-equivalent-test')"
|
|
|
+ :defaultValue="'1'"
|
|
|
+ allowClear>
|
|
|
+ <a-select-option :value="'1'">{{ $t('plan.dvp.non-equivalent-experiment') }}</a-select-option>
|
|
|
+ <a-select-option :value="'0'">{{ $t('plan.dvp.equivalent-experiment') }}</a-select-option>
|
|
|
+ </a-select>
|
|
|
+ </a-form-item>
|
|
|
+ </a-col>
|
|
|
</span>
|
|
|
<a-col :lg="24" :md="24" :sm="24" :xl="24" :xs="24">
|
|
|
<a-form-item class='tr' :label="'\xa0'">
|
|
@@ -393,7 +406,8 @@ export default {
|
|
|
testEndTime: undefined, // 试验结束时间
|
|
|
testResult: undefined, // 试验结果
|
|
|
testReportCode: undefined, // 试验报告编号
|
|
|
- isPass: undefined // 是否通过
|
|
|
+ isPass: undefined, // 是否通过
|
|
|
+ isEquivalent: '1' // 是否等效实验 默认查非等效
|
|
|
},
|
|
|
/** 分页实体 */
|
|
|
pagination: {
|
|
@@ -473,6 +487,17 @@ export default {
|
|
|
dataIndex: 'testProject',
|
|
|
ellipsis: true
|
|
|
},
|
|
|
+ {
|
|
|
+ // 是否等效
|
|
|
+ title: () => this.$t('plan.dvp.is-it-an-equivalent-test'),
|
|
|
+ width: 150,
|
|
|
+ align: 'center',
|
|
|
+ dataIndex: 'isEquivalent',
|
|
|
+ ellipsis: true,
|
|
|
+ customRender: val => {
|
|
|
+ return val === '1' ? this.$t('plan.dvp.non-equivalent-experiment') : this.$t('plan.dvp.equivalent-experiment');
|
|
|
+ }
|
|
|
+ },
|
|
|
{
|
|
|
// 测试开始日期
|
|
|
title: () => this.$t('verity.dvp.test.start.date'),
|
|
@@ -790,6 +815,7 @@ export default {
|
|
|
testEndEndTime: _that.queryParam.testEndEndTime,
|
|
|
testReportCode: _that.queryParam.testReportCode,
|
|
|
testResult: _that.queryParam.testResult,
|
|
|
+ isEquivalent: _that.queryParam.isEquivalent,
|
|
|
pagination: {
|
|
|
pageSize: _that.pagination.pageSize,
|
|
|
pageCurrent: _that.pagination.pageCurrent
|
|
@@ -838,6 +864,7 @@ export default {
|
|
|
this.queryParam.testEndEndTime = undefined;
|
|
|
this.queryParam.testResult = undefined;
|
|
|
this.queryParam.testReportCode = undefined;
|
|
|
+ this.queryParam.isEquivalent = '1';
|
|
|
this.list();
|
|
|
},
|
|
|
/**
|