| | |
| | | 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) { |
| | | // console.log(ex); |
| | |
| | | showCancel: false, |
| | | confirmText: this.translateSys('close') |
| | | }); |
| | | if ([0, 2, 3, 4, -1].includes(data.result_type)) { |
| | | if (data.result_type == 2) { |
| | | $this.setFormValues(data.result || []) |
| | | } else if (typeof data.result == 'string') { |
| | |
| | | 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 |
| | | } |
| | | |
| | | } |
| | | } |
| | | |
| | | }).catch(ex => { |
| | |
| | | "&titlename=" + this.title |
| | | }); |
| | | } else { |
| | | 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 |
| | | } |
| | | } |
| | | |
| | | } |
| | |
| | | "&titlename=" + this.title |
| | | }); |
| | | } else { |
| | | 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 |
| | | } |
| | | |
| | | } |
| | | } |
| | | } |
| | | |