From cadfd4ed559fb170bb81d5bafbb6ae9775ba1ddc Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期四, 03 三月 2022 18:18:39 +0800
Subject: [PATCH] 2022-03-03

---
 src/menu/components/share/actioncomponent/formconfig.jsx |   48 ++++++++++++++++++++++++++++++++++++------------
 1 files changed, 36 insertions(+), 12 deletions(-)

diff --git a/src/menu/components/share/actioncomponent/formconfig.jsx b/src/menu/components/share/actioncomponent/formconfig.jsx
index 5bdc1c6..369f300 100644
--- a/src/menu/components/share/actioncomponent/formconfig.jsx
+++ b/src/menu/components/share/actioncomponent/formconfig.jsx
@@ -63,17 +63,17 @@
     })
   }
 
-  if (type === 'editable') {
-    opentypes = [
-      {
-        value: 'excelIn',
-        text: Formdict['model.form.excelIn']
-      }, {
-        value: 'excelOut',
-        text: Formdict['model.form.excelOut']
-      }
-    ]
-  }
+  // if (type === 'editable') {
+  //   opentypes = [
+  //     {
+  //       value: 'excelIn',
+  //       text: Formdict['model.form.excelIn']
+  //     }, {
+  //       value: 'excelOut',
+  //       text: Formdict['model.form.excelOut']
+  //     }
+  //   ]
+  // }
 
   let tabs = getTabs(JSON.parse(JSON.stringify(modules)))
 
@@ -400,7 +400,7 @@
       type: 'select',
       key: 'execSuccess',
       label: Formdict['model.form.afterSuccess'],
-      initVal: card.execSuccess || 'never',
+      initVal: card.execSuccess || 'grid',
       tooltip: refresh.length ? '鎵ц鍒锋柊婧愮粍浠舵椂锛岃鍦ㄦ簮鎸夐挳涓缃叧闂悗鍒锋柊閭d竴椤癸紝娉細姝ゆ椂浼氬悓姝ュ埛鏂板綋鍓嶇粍浠跺拰涓婄骇缁勪欢-琛屻��' : '鍒锋柊涓婄骇缁勪欢-琛屾椂锛屼細鍚屾鍒锋柊褰撳墠缁勪欢锛屾敞锛氫笂绾х粍浠跺湪鏁版嵁婧愪腑娣诲姞銆�',
       required: true,
       options: [{
@@ -663,6 +663,14 @@
       forbid: viewType === 'popview'
     },
     {
+      type: 'text',
+      key: 'tipTitle',
+      label: '纭鎻愮ず',
+      initVal: card.tipTitle || '',
+      tooltip: '娉細寮圭獥锛堣〃鍗曪級鍦ㄦ樉绀轰负鏄惁妗嗘椂鏈夋晥銆�',
+      required: false
+    },
+    {
       type: 'radio',
       key: 'open',
       label: '鎵撳紑鏂瑰紡',
@@ -753,6 +761,22 @@
     },
     {
       type: 'radio',
+      key: 'position',
+      label: '鏄剧ず浣嶇疆',
+      initVal: card.position || 'middle',
+      tooltip: '娉細寮圭獥锛堣〃鍗曪級鍦ㄦ樉绀轰负鏄惁妗嗘椂鏈夋晥銆�',
+      required: false,
+      forbid: appType !== 'mob',
+      options: [{
+        value: 'middle',
+        text: '涓儴'
+      }, {
+        value: 'bottom',
+        text: '搴曢儴'
+      }]
+    },
+    {
+      type: 'radio',
       key: 'control',
       label: '鎸夐挳鎺у埗',
       initVal: card.control || (card.controlField ? 'disabled' : ''),

--
Gitblit v1.8.0