master
yujialong 3 years ago
parent 96cd76b123
commit 72c3f2f085
  1. 15
      src/views/Transaction.vue

@ -50,7 +50,7 @@
<div>判分规则</div>
</div>
<div>
<el-button v-if="!isView" :disabled="isAddRule" type="primary" size="mini" @click="addRule">新增</el-button>
<el-button v-if="!isView" type="primary" size="mini" @click="addRule">新增</el-button>
</div>
</div>
@ -302,7 +302,7 @@
</template>
<template v-else>
<div style="line-height: 65px">{{ checkChange? '需点击' : '' }}</div>
<div style="line-height: 65px">{{ checkChange[scope.$index]? '需点击' : '' }}</div>
</template>
</div>
</template>
@ -338,7 +338,7 @@ export default {
components: {quill, MyTree},
data() {
return {
checkChange: false,
checkChange: [false],
lcId: "", // id
isAdd: Boolean(this.$route.query.isAdd), //
@ -375,6 +375,7 @@ export default {
});
this.getTreeData();
console.log(this.treeData)
if (this.$route.query.systemId) {
this.formData.lcJudgmentPoint.systemId = this.$route.query.systemId;
}
@ -489,7 +490,8 @@ export default {
});
},
handleCheckChange(data, checked, indeterminate, row, index) { //
this.checkChange = true
this.checkChange[this.checkChange.length -1 ] = true
this.checkChange.push(false)
if (checked && data.isNode === 1) {
this.tableData[index].operationIds = data.id; // id
// for ()
@ -655,6 +657,8 @@ export default {
}
},
addRule() { //
if(!this.isAddRule) {
this.isAddRule = true;
// this.tableData.length && this.tableData.push({ruleOperation: 0, indexNo: ""});
if (this.tableData.length > 0){
@ -692,6 +696,9 @@ export default {
value5: ""
});
}
}else {
this.$message('请保存当前判分规则再新增!');
}
// anewPosttingData(judgmentRuleList)
},
changeResult(row) { // (0 1 0)

Loading…
Cancel
Save