银行判分点数据修改

master
e 3 years ago
parent 1e44b63b0e
commit c5a605d7d4
  1. 7
      src/views/Transaction.vue

@ -388,7 +388,8 @@ export default {
itemkey:'',
judgePoints:false,//
configVisible:false,
SelectedObj:[]
SelectedObj:[],
counts:0,
};
},
mounted() {
@ -403,6 +404,7 @@ export default {
},
methods: {
getInfoData(lcId) { //
this.counts = 0
this.$get(`${this.api.queryJudgmentPointDetails}?lcId=${lcId}`).then(res => {
if (res.status === 200) {
let {judgmentPoint, judgmentRuleList} = res;
@ -438,6 +440,7 @@ export default {
this.SelectedObj = SelectedObj
},
handleConfirm(){
this.counts = this.counts+1
let list = []
if (this.SelectedObj.checkedNodes.length > 0){
for (var i=0;i<this.SelectedObj.checkedNodes.length;i++){
@ -590,7 +593,9 @@ export default {
if (data.subjectId) { // id
this.currentNodeData = data;
this.$refs[`tree-${index}`].setCheckedNodes([data]);
if(this.counts > 0){
this.getSubjectData(data.subjectId, index);
}
} else {
row.type = null;
this.currentNodeData = {};

Loading…
Cancel
Save