From d2392435048a5d75f2d10b4d88a2c8ac29a254f1 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期三, 18 六月 2025 22:34:05 +0800
Subject: [PATCH] 2025-06-18

---
 src/pc/components/login/normal-login/options.jsx |   76 +++++++++++++++++++++++++++++++-------
 1 files changed, 62 insertions(+), 14 deletions(-)

diff --git a/src/pc/components/login/normal-login/options.jsx b/src/pc/components/login/normal-login/options.jsx
index 49e70d1..80628c0 100644
--- a/src/pc/components/login/normal-login/options.jsx
+++ b/src/pc/components/login/normal-login/options.jsx
@@ -59,23 +59,53 @@
       precision: 0,
       required: true
     },
+    // {
+    //   type: 'number',
+    //   field: 'maxWidth',
+    //   label: '鏈�澶у搴�',
+    //   initval: wrap.maxWidth || '',
+    //   tooltip: '鐧诲綍妗嗙殑鏈�澶у搴﹀�笺��',
+    //   min: 100,
+    //   max: 2000,
+    //   precision: 0,
+    //   required: false
+    // },
+    // {
+    //   type: 'styleInput',
+    //   field: 'height',
+    //   label: '鏈�灏忛珮搴�',
+    //   initval: wrap.height || '',
+    //   tooltip: '缁勪欢鍗犵敤鐨勬渶灏忛珮搴︼紝鐢ㄤ簬椤甸潰甯冨眬銆�',
+    //   required: false,
+    //   options: ['px', 'vh', 'vw', '%']
+    // },
+    // {
+    //   type: 'styleInput',
+    //   field: 'maxWidth',
+    //   label: '鏈�澶у搴�',
+    //   initval: wrap.maxWidth || '',
+    //   tooltip: '缁勪欢鍗犵敤鐨勬渶澶у搴︼紝鐢ㄤ簬椤甸潰甯冨眬銆�',
+    //   required: false,
+    //   options: ['px', 'vh', 'vw', '%']
+    // },
     {
-      type: 'number',
-      field: 'maxWidth',
-      label: '鏈�澶у搴�',
-      initval: wrap.maxWidth || '',
-      tooltip: '鐧诲綍妗嗙殑鏈�澶у搴﹀�笺��',
-      min: 100,
-      max: 2000,
-      precision: 0,
-      required: false
+      type: 'radio',
+      field: 'topTip',
+      label: '椤堕儴鎻愮ず',
+      initval: wrap.topTip || 'show',
+      tooltip: '鐧诲綍鎴栨敞鍐屾柟寮忔彁绀轰俊鎭��',
+      required: false,
+      options: [
+        {value: 'show', label: '鏄剧ず'},
+        {value: 'hidden', label: '闅愯棌'}
+      ]
     },
     {
       type: 'styleInput',
-      field: 'height',
-      label: '楂樺害',
-      initval: wrap.height || '',
-      tooltip: '缁勪欢鍗犵敤鐨勬渶灏忛珮搴︼紝鐢ㄤ簬椤甸潰甯冨眬銆�',
+      field: 'borderRadius',
+      label: '鍦嗚',
+      initval: wrap.borderRadius || '',
+      tooltip: '鐧诲綍鎴栨敞鍐屾椂锛岀‘瀹氭寜閽殑鍦嗚銆�',
       required: false,
       options: ['px', 'vh', 'vw', '%']
     },
@@ -127,6 +157,7 @@
       initval: wrap.tempId || '',
       tooltip: '鐭俊妯℃澘鍙湪 浜戠郴缁�->搴旂敤鏈嶅姟->寮�鍙戣�呬腑蹇�->鐭俊妯℃澘 澶勬坊鍔犮��',
       required: true,
+      dropdown: 'false',
       options: msgTemps
     },
     {
@@ -140,6 +171,21 @@
         {value: 'none', label: '鏃�'},
         {value: 'remember', label: '璁颁綇瀵嗙爜'},
         {value: 'autologon', label: '鑷姩鐧诲綍'},
+      ],
+      controlFields: [
+        {field: 'vispwd', values: ['remember', 'autologon']},
+      ]
+    },
+    {
+      type: 'radio',
+      field: 'vispwd',
+      label: '鏌ョ湅瀵嗙爜',
+      initval: wrap.vispwd || 'true',
+      tooltip: '瀵嗙爜鏄惁鍙煡鐪嬶紙瀵嗙爜妗嗗彸渚у浘鏍囨槸鍚︽樉绀猴級銆�',
+      required: false,
+      options: [
+        {value: 'true', label: '鍚敤'},
+        {value: 'false', label: '绂佺敤'},
       ]
     },
     {
@@ -152,6 +198,7 @@
       field: 'signWays',
       label: '娉ㄥ唽鏂瑰紡',
       initval: wrap.signWays || [],
+      tooltip: '寰俊鎺堟潈鍙湪灏忕▼搴忎腑鏈夋晥銆�',
       required: true,
       options: [
         { label: '璐﹀彿', value: 'uname_pwd' },
@@ -169,6 +216,7 @@
       initval: wrap.signTempId || '',
       tooltip: '鐭俊妯℃澘鍙湪 浜戠郴缁�->搴旂敤鏈嶅姟->寮�鍙戣�呬腑蹇�->鐭俊妯℃澘 澶勬坊鍔犮��',
       required: true,
+      dropdown: 'false',
       options: msgTemps
     },
     {
@@ -199,6 +247,7 @@
       label: '鍗忚缁�',
       initval: wrap.groups || [],
       required: true,
+      actions: ['edit', 'del', 'add', 'move'],
       span: 24,
       columns: [
         {
@@ -215,7 +264,6 @@
           dataIndex: 'link',
           inputType: 'input',
           editable: true,
-          unique: true,
           required: true,
           width: '40%'
         },

--
Gitblit v1.8.0