|
@@ -229,7 +229,7 @@
|
|
|
v-model="scope.row.subType"
|
|
|
:disabled="scope.row.disabled"
|
|
|
placeholder="请选择"
|
|
|
- @change="subTypeChange($event, scope.$index,scope.row.groupId)"
|
|
|
+ @change="subTypeChange($event, scope.$index,scope.row.groupId,scope.row.key)"
|
|
|
@focus="
|
|
|
setTheRef($event, `klRuleByIdSub[${scope.$index}].subType`)
|
|
|
"
|
|
@@ -260,7 +260,7 @@
|
|
|
v-model="scope.row.subLenCode"
|
|
|
placeholder="请选择"
|
|
|
:ref="`klRuleByIdSub[${scope.$index}].subLenCode`"
|
|
|
- @change="subCodeChange($event, scope.$index,scope.row.groupId)"
|
|
|
+ @change="subCodeChange($event, scope.$index,scope.row.groupId,scope.row.key)"
|
|
|
@focus="
|
|
|
setTheRef($event, `klRuleByIdSub[${scope.$index}].subLenCode`)
|
|
|
"
|
|
@@ -625,7 +625,7 @@ export default {
|
|
|
this.$refs.table.bodyWrapper.scrollLeft = 0;
|
|
|
},
|
|
|
addChildGroup(scope) {
|
|
|
- this.$emit('addGroup', scope.row.groupId, { index: scope.$index });
|
|
|
+ this.$emit('addGroup', scope.row.groupId,{ index: scope.$index });
|
|
|
this.$refs.table.bodyWrapper.scrollLeft = 0;
|
|
|
},
|
|
|
scrollFun() {
|
|
@@ -715,17 +715,17 @@ export default {
|
|
|
return typeNum >= this.maxNum;
|
|
|
},
|
|
|
// 基础规则类型选择
|
|
|
- subTypeChange(e, index,groupId) {
|
|
|
- this.$emit('subTypeChange', e, index,groupId);
|
|
|
+ subTypeChange(e, index,groupId,key) {
|
|
|
+ this.$emit('subTypeChange', e, index,groupId,key);
|
|
|
},
|
|
|
//
|
|
|
setTheRef(e, val) {
|
|
|
this.theRef = val;
|
|
|
},
|
|
|
// 规则术语类型
|
|
|
- subCodeChange(val, index,groupId) {
|
|
|
+ subCodeChange(val, index,groupId,key) {
|
|
|
//基础规则术语类型修改
|
|
|
- this.$emit('childSubCodeChange', val, index, this.numTypes,groupId);
|
|
|
+ this.$emit('childSubCodeChange', val, index, this.numTypes,groupId,key);
|
|
|
},
|
|
|
clearConcept(index) {
|
|
|
this.$emit('childClearConcept', index);
|