| | |
| | | showCancel: false, |
| | | confirmText: this.translateSys('close') |
| | | }); |
| | | if ([0, 2, 3, 4, -1].includes(data.result_type)) { |
| | | if (data.result_type == 2) { |
| | | |
| | | } else if (typeof data.result == 'string') { |
| | |
| | | ele.setting.colList.forEach( |
| | | col => { |
| | | if (col) { |
| | | if (col.fieldId == |
| | | attr.attr) { |
| | | col.show = attr |
| | | if (col |
| | | .fieldId == |
| | | attr.attr |
| | | ) { |
| | | col.show = |
| | | attr |
| | | .show; |
| | | } |
| | | } |
| | |
| | | console.log(ex) |
| | | return |
| | | } |
| | | |
| | | } |
| | | } |
| | | |
| | | }).catch(ex => { |
| | |
| | | showCancel: false, |
| | | confirmText: $this.translateSys('close') |
| | | }); |
| | | if ([0, 2, 3, 4, -1].includes(data.result_type)) { |
| | | if (data.result_type == 2) { |
| | | |
| | | } else if (typeof data.result == 'string') { |
| | |
| | | }); |
| | | console.log(ex) |
| | | return |
| | | } |
| | | } |
| | | |
| | | } |
| | |
| | | showCancel: false, |
| | | confirmText: this.translateSys('close') |
| | | }); |
| | | if ([0, 2, 3, 4, -1].includes(data.result_type)) { |
| | | if (data.result_type == 2) { |
| | | var result = data.result || [] |
| | | |
| | |
| | | console.log(ex) |
| | | return |
| | | } |
| | | |
| | | } |
| | | } |
| | | |
| | | }).catch(ex => { |
| | |
| | | showCancel: false, |
| | | confirmText: this.translateSys('close') |
| | | }); |
| | | if ([0, 2, 3, 4, -1].includes(data.result_type)) { |
| | | if (data.result_type == 2) { |
| | | if (data.result) { |
| | | |
| | |
| | | return |
| | | } |
| | | } |
| | | } |
| | | |
| | | }).catch(ex => { |
| | | // console.log(ex); |