| | |
| | | this.title = options.titlename; |
| | | this.param = JSON.parse(options.param); |
| | | // console.log(this.param); |
| | | this.loadData(options.paramValue) |
| | | const paramValue = options.paramValue ?JSON.parse(options.paramValue) :undefined |
| | | this.loadData(paramValue) |
| | | }, |
| | | methods: { |
| | | setData: function(obj) { |
| | |
| | | } else { |
| | | var tip = result.info ? typeof result.info == 'string' ? result.info : |
| | | result.info.join('<br/>') : ''; |
| | | tip = tip || result.err_info |
| | | |
| | | if (tip) uni.showModal({ |
| | | title: this.translateSys("tip"), |
| | | content: tip, |
| | |
| | | } else { |
| | | var tip = result.info ? typeof result.info == 'string' ? result.info : result.info |
| | | .join('<br/>') : ''; |
| | | tip = tip || result.err_info |
| | | if (tip) uni.showModal({ |
| | | title: this.translateSys("tip"), |
| | | content: tip, |