From 29ff1e54b0421938384868b24166f4d153bf6302 Mon Sep 17 00:00:00 2001 From: cuiqian2004 <cuiqian2004@163.com> Date: 星期一, 09 九月 2024 14:48:49 +0800 Subject: [PATCH] test --- pages/modal/3018_2.vue | 28 +++++++++++++--------------- 1 files changed, 13 insertions(+), 15 deletions(-) diff --git a/pages/modal/3018_2.vue b/pages/modal/3018_2.vue index a6adf25..7bbbe9c 100644 --- a/pages/modal/3018_2.vue +++ b/pages/modal/3018_2.vue @@ -193,7 +193,7 @@ scanCodeVal: "", popupType: "center", check_list: {}, - + popupParam: {}, focusFieldId: "", focusOldFieldId: "", head_styledef: { @@ -883,7 +883,7 @@ 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") }); @@ -942,15 +942,15 @@ }); } } - // 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; @@ -1521,8 +1521,7 @@ 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' @@ -1536,8 +1535,7 @@ } $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'; -- Gitblit v1.9.1