From e8edfdadb561cd83bf6e1c3e00d55b8cc2aee6d5 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期一, 17 十月 2022 17:57:34 +0800
Subject: [PATCH] 2022-10-17

---
 src/templates/formtabconfig/actionform/index.jsx |   31 +++++++++++++++----------------
 1 files changed, 15 insertions(+), 16 deletions(-)

diff --git a/src/templates/formtabconfig/actionform/index.jsx b/src/templates/formtabconfig/actionform/index.jsx
index 2c3ae5b..d275498 100644
--- a/src/templates/formtabconfig/actionform/index.jsx
+++ b/src/templates/formtabconfig/actionform/index.jsx
@@ -11,7 +11,6 @@
 
 class MainSearch extends Component {
   static propTpyes = {
-    dict: PropTypes.object,      // 瀛楀吀椤�
     formlist: PropTypes.any,     // 琛ㄥ崟淇℃伅
     card: PropTypes.any,         // 鎸夐挳淇℃伅
     tabs: PropTypes.array,       // 鎵�鏈夋爣绛鹃〉
@@ -24,37 +23,37 @@
     interType: null, // 鎺ュ彛绫诲瀷锛氬唴閮ㄣ�佸閮�
     insertUpdateOptions: [{
       value: 'insert',
-      text: this.props.dict['header.form.action.insert']
+      text: '娣诲姞'
     }, {
       value: 'update',
-      text: this.props.dict['header.form.action.update']
+      text: '淇敼'
     }, {
       value: 'insertOrUpdate',
       text: '娣诲姞鎴栦慨鏀�'
     }],
     returnoptions: [{ // 杩斿洖鍚�-涓嶅埛鏂般�佸埛鏂伴〉闈€�佸埛鏂拌〃鏍�
       value: 'never',
-      text: this.props.dict['header.form.refresh.never']
+      text: '涓嶅埛鏂�'
     }, {
       value: 'grid',
-      text: this.props.dict['header.form.refresh']
+      text: '鍒锋柊'
     }],
     currentoptions: [{ // 涓嶈繑鍥炴椂-涓嶅埛鏂般�佸埛鏂�
       value: 'never',
-      text: this.props.dict['header.form.refresh.never']
+      text: '涓嶅埛鏂�'
     }, {
       value: 'refresh',
-      text: this.props.dict['header.form.refresh']
+      text: '鍒锋柊'
     }],
     interTypeOptions: [{
       value: 'system',
-      text: this.props.dict['model.interface.system']
+      text: '绯荤粺'
     }, {
       value: 'inner',
-      text: this.props.dict['model.interface.inner']
+      text: '鍐呴儴'
     }, {
       value: 'outer',
-      text: this.props.dict['model.interface.outer']
+      text: '澶栭儴'
     }, {
       value: 'custom',
       text: '鑷畾涔�'
@@ -92,10 +91,10 @@
         item.options = [
           {
             value: 'prompt',
-            text: this.props.dict['model.form.prompt']
+            text: '鎻愮ず妗�'
           }, {
             value: 'exec',
-            text: this.props.dict['model.form.exec']
+            text: '鐩存帴鎵ц'
           }
         ]
         if (card.btnType === 'cancel') {
@@ -282,7 +281,7 @@
                 rules: [
                   {
                     required: item.readonly ? false : !!item.required,
-                    message: this.props.dict['form.required.input'] + item.label + '!'
+                    message: '璇疯緭鍏�' + item.label + '!'
                   },
                   ..._rules
                 ]
@@ -319,7 +318,7 @@
                 rules: [
                   {
                     required: !!item.required,
-                    message: this.props.dict['form.required.select'] + item.label + '!'
+                    message: '璇烽�夋嫨' + item.label + '!'
                   }
                 ]
               })(
@@ -351,7 +350,7 @@
                 rules: [
                   {
                     required: !!item.required,
-                    message: this.props.dict['form.required.select'] + item.label + '!'
+                    message: '璇烽�夋嫨' + item.label + '!'
                   }
                 ]
               })(
@@ -377,7 +376,7 @@
                 rules: [
                   {
                     required: item.readonly ? false : !!item.required,
-                    message: this.props.dict['form.required.input'] + item.label + '!'
+                    message: '璇疯緭鍏�' + item.label + '!'
                   }
                 ]
               })(<TextArea rows={4} readOnly={item.readonly}/>)}

--
Gitblit v1.8.0