| | |
| | | scanCodeVal: "", |
| | | popupType: "center", |
| | | check_list: {}, |
| | | |
| | | popupParam: {}, |
| | | focusFieldId: "", |
| | | focusOldFieldId: "", |
| | | head_styledef: { |
| | |
| | | if (!onSuffixClickCallbackEvent.id) { |
| | | uni.showModal({ |
| | | title: this.translateSys("tip"), |
| | | content: this.translate('icon_click_event_empty'), |
| | | content: this.translate('icon_click_callback_empty'), |
| | | showCancel: false, |
| | | confirmText: this.translateSys("cancel") |
| | | }); |
| | |
| | | }); |
| | | } |
| | | } |
| | | // if (!$this.$data.popupParam) { |
| | | // uni.showModal({ |
| | | // title: this.translateSys("tip"), |
| | | // content: "popupParam为空!", |
| | | // showCancel: false, |
| | | // confirmText: this.translateSys("cancel") |
| | | // }); |
| | | // return; |
| | | // } |
| | | if (!$this.$data.popupParam) { |
| | | uni.showModal({ |
| | | title: this.translateSys("tip"), |
| | | content: "popupParam为空!", |
| | | showCancel: false, |
| | | confirmText: this.translateSys("cancel") |
| | | }); |
| | | return; |
| | | } |
| | | |
| | | var fieldId = $this.$data.popupParam.item.fieldId; |
| | | $this.head_styledef.form.model[attr] = name; |
| | |
| | | var $this = this; |
| | | if (val.common_dlg_id == 'check_list') { |
| | | $this.$data.check_list = val.config; |
| | | if (val.config.appear_style == |
| | | 'sideslip') //判断是否是侧滑 |
| | | if (val.config.appear_style == 'sideslip') //判断是否是侧滑 |
| | | $this.$data.popupType = 'right'; |
| | | else |
| | | $this.$data.popupType = 'center' |
| | |
| | | } |
| | | $this.$data.popupParam = popupParam; |
| | | } |
| | | } else if (action.action_type == |
| | | 'open_project_query_dlg') { |
| | | } else if (action.action_type == 'open_project_query_dlg') { |
| | | //console.log(action.value.select_range); |
| | | //console.log(action.value.mulit_select); |
| | | var priRel = '-1'; |