判分点新增选择调整

master
e 3 years ago
parent 198e8be2e8
commit e8b06f5d52
  1. 18
      src/views/Transaction.vue

@ -438,14 +438,14 @@ export default {
}, },
handleConfirm(){ handleConfirm(){
let list = [] let list = []
if (this.formData.lcJudgmentRuleList.length){ // if (this.formData.lcJudgmentRuleList.length){
for (var j = 0;j<this.formData.lcJudgmentRuleList.length;j++){ // for (var j = 0;j<this.formData.lcJudgmentRuleList.length;j++){
list.push(this.formData.lcJudgmentRuleList[j]); // list.push(this.formData.lcJudgmentRuleList[j]);
} // }
for (var i=0;i<list.length;i++){ // for (var i=0;i<list.length;i++){
list[i].id = list[i].operationIds // list[i].id = list[i].operationIds
} // }
} // }
if (this.SelectedObj.checkedNodes.length > 0){ if (this.SelectedObj.checkedNodes.length > 0){
for (var i=0;i<this.SelectedObj.checkedNodes.length;i++){ for (var i=0;i<this.SelectedObj.checkedNodes.length;i++){
if(this.SelectedObj.checkedNodes[i].children.length > 0){ if(this.SelectedObj.checkedNodes[i].children.length > 0){
@ -485,8 +485,6 @@ export default {
item.operationIds = item.id item.operationIds = item.id
item.type = null item.type = null
} }
console.log(item.operationIds)
console.log(item.type)
//(1 2 3 4 5) //(1 2 3 4 5)
if (item.type == 1 || item.type == 2) { if (item.type == 1 || item.type == 2) {
obj.subjectId = Number(item.emptyOne); obj.subjectId = Number(item.emptyOne);

Loading…
Cancel
Save