| | |
| | | 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 |
| | | } |
| | | |
| | | } |
| | | } |
| | | |
| | | }).catch(ex => { |
| | |
| | | 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 || [] |
| | | for (var i = 0; i < result.length; i++) { |
| | |
| | | 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) { |
| | | var result = data.result || []; |
| | | console.log(this.refdatastore) |
| | |
| | | |
| | | |
| | | this.add(); |
| | | } |
| | | } |
| | | |
| | | }).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 |
| | | } |
| | | |
| | | } |
| | | } |
| | | |
| | | }).catch(ex => { |