|
@@ -158,7 +158,7 @@
|
|
|
<span class="textblod mg-r-10 mg-l-20">不满足</span>
|
|
|
<vue-tags-input v-model="tag5" :tags="tags5" @focus="curFocusIndex = 5" @blur="inputBlur(5)" placeholder="输入/参数" @before-adding-tag="beforeAddingTag" @keyup.native="btKeyUp"/>
|
|
|
<div class="mg-l-20">
|
|
|
- <el-button size="small" type="primary" @click="addCondition">添加其他条件</el-button>
|
|
|
+ <el-button size="small" type="primary" @click="addCondition(index)">添加其他条件</el-button>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="mg-t-20" v-if="result == 2">
|
|
@@ -583,6 +583,8 @@ export default {
|
|
|
},
|
|
|
|
|
|
setELe(ele){
|
|
|
+ console.log(ele,'ele');
|
|
|
+
|
|
|
if(this.curFocusIndex){
|
|
|
let obj = {};
|
|
|
if(ele.k){
|
|
@@ -842,7 +844,7 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
//添加条件
|
|
|
- addCondition(){
|
|
|
+ addCondition(index){
|
|
|
this.conditionList.splice(index, 0, {});
|
|
|
},
|
|
|
//删除条件
|