From 46f79b491173d284a4900d19e7aecf7509481438 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期五, 21 一月 2022 17:21:25 +0800
Subject: [PATCH] 2022-01-21

---
 src/pc/components/login/normal-login/options.jsx |  112 ++++++++++++++++++++++++++++++++++++++++---------------
 1 files changed, 81 insertions(+), 31 deletions(-)

diff --git a/src/pc/components/login/normal-login/options.jsx b/src/pc/components/login/normal-login/options.jsx
index 4d5b6aa..bcdbea9 100644
--- a/src/pc/components/login/normal-login/options.jsx
+++ b/src/pc/components/login/normal-login/options.jsx
@@ -57,6 +57,23 @@
       ]
     },
     {
+      type: 'select',
+      field: 'linkmenu',
+      label: '鍏宠仈鑿滃崟',
+      initval: wrap.linkmenu || '',
+      required: true,
+      options: menulist
+    },
+    {
+      type: 'select', // $楠岃瘉鐮�$  $mob$  $send_type$
+      field: 'tempId',
+      label: '鐭俊妯℃澘',
+      initval: wrap.tempId || '',
+      tooltip: '鐭俊妯℃澘鍙湪 浜戠郴缁�->搴旂敤鏈嶅姟->寮�鍙戣�呬腑蹇�->鐭俊妯℃澘 澶勬坊鍔犮��',
+      required: true,
+      options: msgTemps
+    },
+    {
       type: 'number',
       field: 'width',
       label: '瀹藉害',
@@ -87,37 +104,20 @@
       required: false,
       options: ['px', 'vh', 'vw', '%']
     },
-    {
-      type: 'radio',
-      field: 'link',
-      label: '閾炬帴',
-      initval: wrap.link || 'menu',
-      required: false,
-      options: [
-        {value: 'menu', label: '鑿滃崟'},
-        {value: 'linkmenu', label: '鍏宠仈鑿滃崟'},
-      ],
-      controlFields: [
-        {field: 'linkmenu', values: ['linkmenu']}
-      ]
-    },
-    {
-      type: 'select',
-      field: 'linkmenu',
-      label: '鍏宠仈鑿滃崟',
-      initval: wrap.linkmenu || '',
-      required: true,
-      options: menulist
-    },
-    {
-      type: 'select', // $楠岃瘉鐮�$  $mob$  $send_type$
-      field: 'tempId',
-      label: '鐭俊妯℃澘',
-      initval: wrap.tempId || '',
-      tooltip: '鐭俊妯℃澘鍙湪绠$悊绯荤粺 HS-濂囦簯鐭俊妯℃澘 澶勬坊鍔犮��',
-      required: true,
-      options: msgTemps
-    },
+    // {
+    //   type: 'radio',
+    //   field: 'link',
+    //   label: '閾炬帴',
+    //   initval: wrap.link || 'menu',
+    //   required: false,
+    //   options: [
+    //     {value: 'menu', label: '鑿滃崟'},
+    //     {value: 'linkmenu', label: '鍏宠仈鑿滃崟'},
+    //   ],
+    //   controlFields: [
+    //     {field: 'linkmenu', values: ['linkmenu']}
+    //   ]
+    // },
     {
       type: 'radio',
       field: 'shortcut',
@@ -131,6 +131,56 @@
         {value: 'autologon', label: '鑷姩鐧诲綍'},
       ]
     },
+    // {
+    //   type: 'radio',
+    //   field: 'protocol',
+    //   label: '鍗忚',
+    //   initval: wrap.protocol || 'false',
+    //   required: false,
+    //   options: [
+    //     {value: 'false', label: '鏃�'},
+    //     {value: 'true', label: '鏈�'},
+    //   ],
+    //   controlFields: [
+    //     {field: 'tip', values: ['true']},
+    //     {field: 'groups', values: ['true']},
+    //   ]
+    // },
+    // {
+    //   type: 'text',
+    //   field: 'tip',
+    //   label: '鎻愮ず鏂囧瓧',
+    //   initval: wrap.tip || '鎴戝凡闃呰骞跺悓鎰�',
+    //   required: true
+    // },
+    // {
+    //   type: 'table',
+    //   field: 'groups',
+    //   label: '鍗忚缁�',
+    //   initval: wrap.groups || [],
+    //   required: true,
+    //   span: 24,
+    //   columns: [
+    //     {
+    //       title: '鏂囨湰',
+    //       dataIndex: 'label',
+    //       inputType: 'input',
+    //       editable: true,
+    //       unique: true,
+    //       required: true,
+    //       width: '35%'
+    //     },
+    //     {
+    //       title: '閾炬帴',
+    //       dataIndex: 'link',
+    //       inputType: 'input',
+    //       editable: true,
+    //       unique: true,
+    //       required: true,
+    //       width: '40%'
+    //     },
+    //   ]
+    // }
   ]
 
   return wrapForm

--
Gitblit v1.8.0