| | |
| | | :formItems="this.componentVO.formDefineVO && this.componentVO.formDefineVO.items" |
| | | :disabled="!inDialog" |
| | | :isEdit="canEdit" |
| | | :formData="form"> |
| | | :formData="form" |
| | | @getFormData="getFormData"> |
| | | </basic-form> |
| | | </div> |
| | | </template> |
| | |
| | | console.log(this.params) |
| | | }, |
| | | onLoad:function () { |
| | | debugger; |
| | | if (Object.keys(this.sourceData).length>0 && this.isShow) { |
| | | this.loading = true; |
| | | dataForm(this.params).then(res => { |
| | |
| | | }); |
| | | } |
| | | }, |
| | | handleRefresh(){ |
| | | |
| | | handleRefresh() { |
| | | this.form={} |
| | | this.onLoad(); |
| | | }, |
| | | getFormData(form) { |
| | | this.form = form; |
| | | } |
| | | } |
| | | } |