From 0daed9b2a7474eebb45ec16da010ea87426bd080 Mon Sep 17 00:00:00 2001
From: jt <jt@activesoft.com>
Date: 星期一, 27 三月 2023 10:16:05 +0800
Subject: [PATCH] 3037批量批量新增主从数据--浏览状态下如果选择了脚本则执行脚本,没有就关闭当前页面返回上一页
---
pages/index/index.vue | 16 ++++++++++++----
1 files changed, 12 insertions(+), 4 deletions(-)
diff --git a/pages/index/index.vue b/pages/index/index.vue
index 6a69815..8cb0cc4 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -90,11 +90,13 @@
this.$store.commit("classAttrList",null);
this.$store.commit("classGridStyleInfo",null);
this.$store.commit("dicValueInfo",null);
+ this.$store.commit("subClassAttrList",null);
+ this.$store.commit("subClassGridStyleInfo",null);
//鍒锋柊褰撳墠椤甸潰
// location.reload();
uni.redirectTo({
url:'../index/index?args=9999999999'
- })
+ });
},
data() {
return {
@@ -141,9 +143,15 @@
uni.showModal({title:"鎻愮ず",content:"璇ュ姛鑳界偣鏈厤缃弬鏁帮紝璇烽噸鏂伴厤缃弬鏁帮紒",showCancel:false,confirmText:"鍙栨秷"});
return;
}
- uni.navigateTo({
- url:'../modal/classAttr?param='+app.Param+"&titlename="+app.Name
- })
+ if(app.DefCode == '3018'){
+ uni.navigateTo({
+ url:'../modal/classAttr?param='+app.Param+"&titlename="+app.Name
+ })
+ } else if(app.DefCode == '3037'){
+ uni.navigateTo({
+ url:'../modal/ms_classAttr?param='+app.Param+"&titlename="+app.Name
+ })
+ }
// uni.redirectTo({
// url:'../index/index?args=9999999999'
// });
--
Gitblit v1.9.1