|
@@ -457,9 +457,29 @@ export default {
|
|
|
if (del.length > 0) {
|
|
|
this.$set(item, 'baseTypes', screenArr);
|
|
|
if (item.subType == delType[2]) {
|
|
|
- this.$set(item, 'subType', '');
|
|
|
+ this.$set(this.form.klRuleByIdSub, i, {
|
|
|
+ groupId:item.groupId,
|
|
|
+ groupChildId: 'child' + new Date().valueOf(),
|
|
|
+ baseTypes:screenArr,
|
|
|
+ baseTermTypeList: [],
|
|
|
+ conceptList: [],
|
|
|
+ subDescription: '',
|
|
|
+ parRuleType: '',
|
|
|
+ subConceptId: '',
|
|
|
+ subType: '',
|
|
|
+ subMaxOperator: '',
|
|
|
+ subMaxUnit: '',
|
|
|
+ subMaxValue: '',
|
|
|
+ subMinOperator: '',
|
|
|
+ subMinUnit: '',
|
|
|
+ subMinValue: '',
|
|
|
+ subEqValue: '',
|
|
|
+ subLenCode: '',
|
|
|
+ dataType: ''
|
|
|
+ });
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
} else {
|
|
|
this.$set(item, 'disabled', true);
|
|
|
this.$set(item, 'subType', parseInt(types[2]));
|