From 3193df5faaacb0fe903ce993b16319276528524f Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期一, 06 七月 2020 23:14:17 +0800
Subject: [PATCH] 2020-07-06

---
 src/templates/zshare/formconfig.jsx |   31 ++++++++++++++++++++++++++++---
 1 files changed, 28 insertions(+), 3 deletions(-)

diff --git a/src/templates/zshare/formconfig.jsx b/src/templates/zshare/formconfig.jsx
index 38b3f14..b886073 100644
--- a/src/templates/zshare/formconfig.jsx
+++ b/src/templates/zshare/formconfig.jsx
@@ -921,7 +921,7 @@
  * @param {*} permFuncField  瀛樺偍杩囩▼鍙敤鐨勫紑濮嬪瓧娈�
  * @param {*} type           鎸夐挳绫诲瀷锛岀敤浜庡尯鍒嗗彲閫夌殑鎵撳紑鏂瑰紡
  */
-export function getActionForm (card, functip, config, permFuncField, type) {
+export function getActionForm (card, functip, config, permFuncField, type, menulist = []) {
   let opentypes = [
     {
       value: 'pop',
@@ -1169,13 +1169,24 @@
     {
       type: 'select',
       key: 'tabTemplate',
-      label: '鏍囩妯℃澘',
+      label: '鏍囩绫诲瀷',
       initVal: card.tabTemplate || 'FormTab',
       required: true,
       options: [{
         value: 'FormTab',
-        text: '甯︽爣绛捐〃鍗�'
+        text: '琛ㄥ崟鏍囩椤�'
+      }, {
+        value: 'ThdMenu',
+        text: Formdict['model.menu.level3']
       }]
+    },
+    {
+      type: 'cascader',
+      key: 'linkmenu',
+      label: Formdict['model.form.linkmenu'],
+      initVal: card.linkmenu || [],
+      required: true,
+      options: menulist
     },
     {
       type: 'select',
@@ -1275,6 +1286,20 @@
       options: []
     },
     {
+      type: 'radio',
+      key: 'joint',
+      label: Formdict['model.form.paramJoint'],
+      initVal: card.joint || 'true',
+      required: false,
+      options: [{
+        value: 'true',
+        text: Formdict['model.true']
+      }, {
+        value: 'false',
+        text: Formdict['model.false']
+      }]
+    },
+    {
       type: 'text',
       key: 'sheet',
       label: Formdict['model.form.tablename'],

--
Gitblit v1.8.0