From 5ba94ec7b5ad34098ff9c5d21b4139b1b91c2865 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期五, 29 五月 2020 18:24:11 +0800
Subject: [PATCH] 2020-05-29

---
 src/templates/zshare/formconfig.jsx |  160 +++++++++++++++++++++++++++++++----------------------
 1 files changed, 94 insertions(+), 66 deletions(-)

diff --git a/src/templates/zshare/formconfig.jsx b/src/templates/zshare/formconfig.jsx
index 188b328..eb6d5de 100644
--- a/src/templates/zshare/formconfig.jsx
+++ b/src/templates/zshare/formconfig.jsx
@@ -1866,72 +1866,6 @@
       required: false
     },
     {
-      type: 'radio',
-      key: 'readonly',
-      label: Formdict['header.form.readonly'],
-      initVal: card.readonly || 'false',
-      options: [{
-        value: 'true',
-        text: Formdict['header.form.true']
-      }, {
-        value: 'false',
-        text: Formdict['header.form.false']
-      }]
-    },
-    {
-      type: 'radio',
-      key: 'required',
-      label: Formdict['header.form.field.required'],
-      initVal: card.required || 'true',
-      options: [{
-        value: 'true',
-        text: Formdict['header.form.true']
-      }, {
-        value: 'false',
-        text: Formdict['header.form.false']
-      }]
-    },
-    {
-      type: 'radio',
-      key: 'hidden',
-      label: Formdict['header.form.field.ishidden'],
-      initVal: card.hidden || 'false',
-      options: [{
-        value: 'true',
-        text: Formdict['header.form.true']
-      }, {
-        value: 'false',
-        text: Formdict['header.form.false']
-      }]
-    },
-    {
-      type: 'radio',
-      key: 'database',
-      label: Formdict['header.form.database'],
-      initVal: card.database || 'local',
-      options: [{
-        value: 'local',
-        text: Formdict['header.form.database.local']
-      }, {
-        value: 'sso',
-        text: Formdict['header.form.database.sso']
-      }]
-    },
-    {
-      type: 'radio',
-      key: 'readin',
-      label: Formdict['header.form.readin'],
-      tooltip: Formdict['header.form.readin.tooltip'],
-      initVal: card.readin || 'true',
-      options: [{
-        value: 'true',
-        text: Formdict['header.form.true']
-      }, {
-        value: 'false',
-        text: Formdict['header.form.false']
-      }]
-    },
-    {
       type: 'number',
       key: 'fieldlength',
       label: Formdict['header.form.field.length'],
@@ -2023,6 +1957,100 @@
       required: false
     },
     {
+      type: 'radio',
+      key: 'readonly',
+      label: Formdict['header.form.readonly'],
+      initVal: card.readonly || 'false',
+      options: [{
+        value: 'true',
+        text: Formdict['header.form.true']
+      }, {
+        value: 'false',
+        text: Formdict['header.form.false']
+      }]
+    },
+    {
+      type: 'radio',
+      key: 'required',
+      label: Formdict['header.form.field.required'],
+      initVal: card.required || 'true',
+      options: [{
+        value: 'true',
+        text: Formdict['header.form.true']
+      }, {
+        value: 'false',
+        text: Formdict['header.form.false']
+      }]
+    },
+    {
+      type: 'radio',
+      key: 'hidden',
+      label: Formdict['header.form.field.ishidden'],
+      initVal: card.hidden || 'false',
+      options: [{
+        value: 'true',
+        text: Formdict['header.form.true']
+      }, {
+        value: 'false',
+        text: Formdict['header.form.false']
+      }]
+    },
+    {
+      type: 'radio',
+      key: 'database',
+      label: Formdict['header.form.database'],
+      initVal: card.database || 'local',
+      options: [{
+        value: 'local',
+        text: Formdict['header.form.database.local']
+      }, {
+        value: 'sso',
+        text: Formdict['header.form.database.sso']
+      }]
+    },
+    {
+      type: 'radio',
+      key: 'readin',
+      label: Formdict['header.form.readin'],
+      tooltip: Formdict['header.form.readin.tooltip'],
+      initVal: card.readin || 'true',
+      options: [{
+        value: 'true',
+        text: Formdict['header.form.true']
+      }, {
+        value: 'false',
+        text: Formdict['header.form.false']
+      }]
+    },
+    
+    {
+      type: 'radio',
+      key: 'encryption',
+      label: '鍔犲瘑浼犺緭',
+      initVal: card.encryption || 'false',
+      options: [{
+        value: 'true',
+        text: Formdict['header.form.true']
+      }, {
+        value: 'false',
+        text: Formdict['header.form.false']
+      }]
+    },
+    {
+      type: 'radio',
+      key: 'interception',
+      label: '鎴彇',
+      initVal: card.interception || 'false',
+      tooltip: '鎻愪氦鏃讹紝鏄惁鎴彇棣栧熬鐨勭┖鐧藉瓧绗︺��',
+      options: [{
+        value: 'true',
+        text: Formdict['header.form.true']
+      }, {
+        value: 'false',
+        text: Formdict['header.form.false']
+      }]
+    },
+    {
       type: 'multiselect',
       key: 'blacklist',
       label: Formdict['header.form.blacklist'],

--
Gitblit v1.8.0