From cc1a76df575c18f0d0ee96e8658461efdce3a918 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期二, 17 一月 2023 18:01:01 +0800
Subject: [PATCH] 2023-01-17

---
 src/menu/components/share/actioncomponent/actionform/index.jsx |   23 ++++++++++++++---------
 1 files changed, 14 insertions(+), 9 deletions(-)

diff --git a/src/menu/components/share/actioncomponent/actionform/index.jsx b/src/menu/components/share/actioncomponent/actionform/index.jsx
index b60226c..5c0a14c 100644
--- a/src/menu/components/share/actioncomponent/actionform/index.jsx
+++ b/src/menu/components/share/actioncomponent/actionform/index.jsx
@@ -18,7 +18,7 @@
   exec: ['label', 'OpenType', 'intertype', 'Ot', 'show', 'swipe', 'icon', 'class', 'color', 'execSuccess', 'execError', 'syncComponent', 'switchTab', 'anchors', 'width', 'openmenu', 'refreshTab', 'hidden'],
   excelIn: ['label', 'Ot', 'OpenType', 'intertype', 'show', 'icon', 'class', 'color', 'sheet', 'execSuccess', 'execError', 'syncComponent', 'switchTab', 'width', 'hidden'],
   excelOut: ['label', 'OpenType', 'intertype', 'show', 'icon', 'class', 'color', 'execSuccess', 'execError', 'syncComponent', 'switchTab', 'pagination', 'search', 'width', 'hidden'],
-  popview: ['label', 'Ot', 'OpenType', 'show', 'icon', 'class', 'color', 'popClose', 'width', 'display', 'ratio', 'syncComponent', 'clickouter', 'hidden'],
+  popview: ['label', 'Ot', 'OpenType', 'show', 'icon', 'class', 'color', 'popClose', 'width', 'display', 'ratio', 'syncComponent', 'clickouter', 'maskStyle', 'closeButton', 'hidden'],
   tab: ['label', 'Ot', 'OpenType', 'show', 'icon', 'class', 'color', 'linkmenu', 'width', 'hidden'],
   innerpage: ['label', 'Ot', 'OpenType', 'pageTemplate', 'show', 'swipe', 'icon', 'class', 'color', 'width', 'hidden'],
   funcbutton: ['label', 'OpenType', 'funcType', 'show', 'swipe', 'icon', 'class', 'color', 'width', 'hidden'],
@@ -241,7 +241,7 @@
       if (this.record.formType === 'switch') {
         shows.push('field', 'size', 'openVal', 'closeVal', 'openText', 'closeText')
       } else if (this.record.formType === 'radio') {
-        shows.push('field', 'openVal', 'closeVal')
+        shows.push('field', 'checkType', 'openVal', 'closeVal')
       } else {
         shows.push('field')
       }
@@ -356,7 +356,9 @@
     } else if (openType === 'popview') {
       reOptions.Ot = requireOptions.filter(op => ['notRequired', 'requiredSgl'].includes(op.value))
 
-      if (this.record.display === 'drawer') {
+      if (appType === 'mob') {
+        shows.push('placement')
+      } else if (this.record.display === 'drawer') {
         shows.push('placement')
       }
       if (this.record.popClose === 'grid') {
@@ -419,6 +421,9 @@
         }
         if (this.record.execSuccess === 'grid' || this.record.execError === 'grid') {
           shows.push('resetPageIndex')
+        }
+        if (this.record.execMode === 'pop' || this.record.execMode === 'prompt') {
+          shows.push('position')
         }
       } else if (_funcType === 'mkBinding' || _funcType === 'mkUnBinding') {
         shows.push('execSuccess', 'execError')
@@ -549,14 +554,13 @@
       } else if (value === 'excelIn') {
         _fieldval.intertype = 'system'
         _fieldval.Ot = 'notRequired'
-        
+        _fieldval.execSuccess = 'grid'
         _fieldval.label = '瀵煎叆Excel'
         _fieldval.class = 'dgreen'
         this.record.Ot = 'notRequired'
         this.record.label = '瀵煎叆Excel'
         this.record.class = 'dgreen'
-       
-  
+        this.record.execSuccess = 'grid'
       } else if (value === 'excelOut') {
         _fieldval.intertype = 'system'
         _fieldval.label = '瀵煎嚭Excel'
@@ -755,7 +759,7 @@
           )
         } else if (item.key === 'sql' || item.key === 'sheet') {
           rules.push(
-            { pattern: /^[a-zA-Z@_]+$/, message: '琛ㄥ悕鍙彲浣跨敤瀛楁瘝浠ュ強_' },
+            { pattern: /^[a-zA-Z0-9@_]+$/, message: '琛ㄥ悕鍙彲浣跨敤瀛楁瘝銆佹暟瀛椾互鍙奯' },
             { max: formRule.func.max, message: formRule.func.maxMessage }
           )
         } else if (item.key === 'outerFunc' || item.key === 'callbackFunc') {
@@ -807,7 +811,7 @@
             getPopupContainer={() => document.getElementById('winter')}
           >
             {item.options.map((option, index) =>
-              <Select.Option key={index} extend={option[item.extendName] || ''} value={(option.value || option.field)}>
+              <Select.Option key={index} title={option.text || option.label} extend={option[item.extendName] || ''} value={(option.value || option.field)}>
                 {(option.text || option.label)}
               </Select.Option>
             )}
@@ -821,7 +825,7 @@
             getPopupContainer={() => document.getElementById('winter')}
           >
             {item.options.map((option, index) =>
-              <Select.Option key={index} value={(option.value || option.field)}>
+              <Select.Option key={index} title={option.text || option.label} value={(option.value || option.field)}>
                 {(option.text || option.label)}
               </Select.Option>
             )}
@@ -913,6 +917,7 @@
           values.uuid = card.uuid
           values.verify = card.verify || null
           values.modal = card.modal || null
+          values.config = card.config || null
 
           if (values.OpenType === 'form') {
             if (values.formType !== 'scan') {

--
Gitblit v1.8.0