From 91cefc81af0efef669d0d4f4dc9d2ea1981753fd Mon Sep 17 00:00:00 2001
From: jt <jt@activesoft.com.cn>
Date: 星期五, 06 九月 2024 15:34:42 +0800
Subject: [PATCH] test
---
pages/modal/3018_2.vue | 26 ++++++++++++--------------
1 files changed, 12 insertions(+), 14 deletions(-)
diff --git a/pages/modal/3018_2.vue b/pages/modal/3018_2.vue
index a6adf25..f741bb9 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: {
@@ -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