稽查记录的子项,增加属性:指定标准显示
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
e7491501cf
commit
553014be79
|
|
@ -191,6 +191,17 @@
|
||||||
</el-radio-group>
|
</el-radio-group>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
<el-col :span="24">
|
||||||
|
<el-form-item>
|
||||||
|
<span slot="label">
|
||||||
|
适用的标准
|
||||||
|
</span>
|
||||||
|
<el-select v-model="form.ApplyCriterionList" placeholder="" clearable multiple>
|
||||||
|
<el-option v-for="item in $d.CriterionType" :key="item.id" :label="item.label" :value="item.value">
|
||||||
|
</el-option>
|
||||||
|
</el-select>
|
||||||
|
</el-form-item>
|
||||||
|
</el-col>
|
||||||
<el-col v-show="form.ConfigType === 'C' && title !== '复制'" :span="12">
|
<el-col v-show="form.ConfigType === 'C' && title !== '复制'" :span="12">
|
||||||
<el-form-item>
|
<el-form-item>
|
||||||
<span slot="label">
|
<span slot="label">
|
||||||
|
|
@ -1008,6 +1019,7 @@ export default {
|
||||||
ValueCN: null,
|
ValueCN: null,
|
||||||
EnumType: '',
|
EnumType: '',
|
||||||
IsShowByTrialConfig: false,
|
IsShowByTrialConfig: false,
|
||||||
|
ApplyCriterionList: [],
|
||||||
TrialConfigRelyFieldName: null,
|
TrialConfigRelyFieldName: null,
|
||||||
Identification: null,
|
Identification: null,
|
||||||
IsForwardPosition: false,
|
IsForwardPosition: false,
|
||||||
|
|
|
||||||
|
|
@ -856,6 +856,7 @@ export default {
|
||||||
|
|
||||||
var item
|
var item
|
||||||
if (!v.IsEnable) return
|
if (!v.IsEnable) return
|
||||||
|
if (v.ApplyCriterionList && Array.isArray(v.ApplyCriterionList) && v.ApplyCriterionList.length > 0 && !v.ApplyCriterionList.includes(this.currentRow.CriterionType)) return false
|
||||||
if (v.IsShowByTrialConfig) {
|
if (v.IsShowByTrialConfig) {
|
||||||
if (!parentRow[v.TrialConfigRelyFieldName]) return
|
if (!parentRow[v.TrialConfigRelyFieldName]) return
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue