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/zshare/formconfig.jsx | 313 +++++++++++++++++++++++++-------------------------- 1 files changed, 153 insertions(+), 160 deletions(-) diff --git a/src/templates/zshare/formconfig.jsx b/src/templates/zshare/formconfig.jsx index 2ae0b68..d380c82 100644 --- a/src/templates/zshare/formconfig.jsx +++ b/src/templates/zshare/formconfig.jsx @@ -1,8 +1,4 @@ -import zhCN from '@/locales/zh-CN/model.js' -import enUS from '@/locales/en-US/model.js' import { formRule, btnClasses } from '@/utils/option.js' - -const Formdict = sessionStorage.getItem('lang') !== 'en-US' ? zhCN : enUS /** * @description 鑾峰彇鏍戝舰椤甸潰璁剧疆琛ㄥ崟閰嶇疆淇℃伅 @@ -57,31 +53,31 @@ { type: 'radio', key: 'interType', - label: Formdict['header.form.intertype'], + label: '鎺ュ彛绫诲瀷', initVal: setting.interType || 'inner', required: false, readonly: false, options: [ - { value: 'inner', text: Formdict['model.interface.inner'] }, - { value: 'outer', text: Formdict['model.interface.outer'] } + { value: 'inner', text: '鍐呴儴' }, + { value: 'outer', text: '澶栭儴' } ] }, { type: 'radio', key: 'sysInterface', - label: Formdict['header.form.sysInterface'], + label: '绯荤粺鎺ュ彛', initVal: setting.sysInterface || 'false', required: false, readonly: false, options: [ - { value: 'true', text: Formdict['model.true'] }, - { value: 'false', text: Formdict['model.false'] } + { value: 'true', text: '鏄�' }, + { value: 'false', text: '鍚�' } ] }, { type: 'text', key: 'interface', - label: Formdict['header.form.interface'], + label: '鎺ュ彛鍦板潃', initVal: setting.sysInterface === 'true' ? (window.GLOB.mainSystemApi || '') : (setting.interface || ''), required: true, readonly: setting.sysInterface === 'true', @@ -95,7 +91,7 @@ { type: 'text', key: 'outerFunc', - label: Formdict['header.form.outerFunc'], + label: '澶栭儴鍑芥暟', initVal: setting.outerFunc || '', required: false, readonly: false, @@ -112,7 +108,7 @@ { type: 'text', key: 'innerFunc', - label: Formdict['header.form.innerFunc'], + label: '鍐呴儴鍑芥暟', initVal: setting.innerFunc || '', tooltip: usefulFields.length ? '寮�澶村彲鐢ㄥ瓧绗︼細' + usefulFields.join(', ') : '', placement: 'bottomLeft', @@ -265,8 +261,8 @@ required: false, readonly: false, options: [ - { value: 'true', text: Formdict['model.true'] }, - { value: 'false', text: Formdict['model.false'] } + { value: 'true', text: '鏄�' }, + { value: 'false', text: '鍚�' } ] }, { @@ -277,8 +273,8 @@ required: false, readonly: false, options: [ - { value: 'true', text: Formdict['model.true'] }, - { value: 'false', text: Formdict['model.false'] } + { value: 'true', text: '鏄�' }, + { value: 'false', text: '鍚�' } ] } ] @@ -324,10 +320,7 @@ text: '鏃ユ湡锛堝ぉ锛�' }, { value: 'datemonth', - text: Formdict['model.form.datemonth'] - // }, { - // value: 'daterange', - // text: Formdict['model.form.daterange'] + text: '鏃ユ湡锛堟湀锛�' }] } else { @@ -390,14 +383,14 @@ { type: 'text', key: 'label', - label: Formdict['model.name'], + label: '鍚嶇О', initVal: card.label || '', required: true }, { type: 'text', key: 'field', - label: Formdict['model.form.field'], + label: '瀛楁', initVal: card.field || '', required: true, options: columns @@ -405,7 +398,7 @@ { type: 'select', key: 'type', - label: Formdict['model.form.type'], + label: '绫诲瀷', initVal: card.type, required: true, options: typeOptions @@ -420,7 +413,7 @@ { type: 'text', key: 'initval', - label: Formdict['header.form.initval'], + label: '鍒濆鍊�', tooltip: '绫诲瀷涓轰笅鎷夎彍鍗曟椂锛屽垵濮嬪�煎簲涓烘暟鎹殑Value鍊硷紙浣跨敤鏁版嵁婧愭椂锛屽簲涓恒�婂�悸峰瓧娈点�嬬殑鍊硷級;绫诲瀷涓烘暟鍊硷紙鍖洪棿锛夋椂锛屽垵濮嬪�间娇鐢ㄩ�楀彿鎷兼帴锛屼緥濡� 3,10', initVal: card.initval, required: false @@ -433,10 +426,10 @@ required: true, options: [{ value: '0', - text: Formdict['header.form.custom'] + text: '鑷畾涔�' }, { value: '1', - text: Formdict['header.form.datasource'] + text: '鏁版嵁婧�' }] }, // { @@ -446,10 +439,10 @@ // initVal: card.setAll || 'true', // options: [{ // value: 'true', - // text: Formdict['model.true'] + // text: '鏄�' // }, { // value: 'false', - // text: Formdict['model.false'] + // text: '鍚�' // }] // }, { @@ -524,7 +517,7 @@ { type: 'codemirror', key: 'dataSource', - label: Formdict['header.form.datasource'], + label: '鏁版嵁婧�', initVal: card.dataSource || '', required: true }, @@ -612,16 +605,16 @@ initVal: card.orderType || 'asc', options: [{ value: 'asc', - text: Formdict['header.form.asc'] + text: '姝e簭' }, { value: 'desc', - text: Formdict['header.form.desc'] + text: '鍊掑簭' }] }, { type: 'select', key: 'match', - label: Formdict['header.form.match'], + label: '鍖归厤妯″紡', initVal: card.match || 'like', required: true, options: [] @@ -644,7 +637,7 @@ key: 'ratio', min: 1, max: 24, - label: Formdict['header.form.ratio'], + label: '姣斾緥', tooltip: '鏍呮牸甯冨眬锛屾瘡琛岀瓑鍒嗕负24鍒椼��', initVal: card.ratio || 6, forbid: appType === 'mob', @@ -684,27 +677,27 @@ { type: 'radio', key: 'required', - label: Formdict['model.required'], + label: '蹇呭~', initVal: card.required || 'false', options: [{ value: 'true', - text: Formdict['model.true'] + text: '鏄�' }, { value: 'false', - text: Formdict['model.false'] + text: '鍚�' }] }, { type: 'radio', key: 'Hide', - label: Formdict['model.hidden'], + label: '闅愯棌', initVal: card.Hide || 'false', options: [{ value: 'true', - text: Formdict['model.true'] + text: '鏄�' }, { value: 'false', - text: Formdict['model.false'] + text: '鍚�' }] }, { @@ -729,10 +722,10 @@ // tooltip: '鏁版嵁鏌ヨ鏃讹紝绫诲瀷瀛楁鏄惁浣滀负鍙傛暟浼犻�掞紝绫诲瀷瀛楁瀵瑰簲鍊间负 {"鏃�": "day", "鍛�": "week", "鏈�": "month", "瀛�": "quarter", "骞�": "year", "鑷畾涔�": "customized"}銆�', // options: [{ // value: 'true', - // text: Formdict['model.true'] + // text: '鏄�' // }, { // value: 'false', - // text: Formdict['model.false'] + // text: '鍚�' // }] // }, { @@ -782,10 +775,10 @@ forbid: appType === 'mob' || position === 'header', options: [{ value: 'true', - text: Formdict['model.true'] + text: '鏄�' }, { value: 'false', - text: Formdict['model.false'] + text: '鍚�' }] }, { @@ -845,7 +838,7 @@ { type: 'multiselect', key: 'blacklist', - label: Formdict['header.form.blacklist'], + label: '榛戝悕鍗�', initVal: card.blacklist || [], required: false, options: roleList || [], @@ -867,31 +860,31 @@ let opentypes = [ { value: 'pop', - text: Formdict['model.form.popform'] + text: '寮圭獥锛堣〃鍗曪級' }, { value: 'prompt', - text: Formdict['model.form.prompt'] + text: '鎻愮ず妗�' }, { value: 'exec', - text: Formdict['model.form.exec'] + text: '鐩存帴鎵ц' }, { value: 'excelIn', - text: Formdict['model.form.excelIn'] + text: '瀵煎叆Excel' }, { value: 'excelOut', - text: Formdict['model.form.excelOut'] + text: '瀵煎嚭Excel' }, { value: 'popview', - text: Formdict['model.form.popview'] + text: '寮圭獥锛堟爣绛撅級' }, { value: 'tab', - text: Formdict['model.form.tab'] + text: '鏍囩椤�' }, { value: 'innerpage', - text: Formdict['model.form.newpage'] + text: '鏂伴〉闈�' }, { value: 'funcbutton', - text: Formdict['model.form.funcbutton'] + text: '鍔熻兘鎸夐挳' } ] @@ -942,7 +935,7 @@ { type: 'select', key: 'OpenType', - label: Formdict['header.form.openType'], + label: '鎵撳紑鏂瑰紡', initVal: card.OpenType, required: true, options: opentypes @@ -994,24 +987,24 @@ { type: 'select', key: 'execMode', - label: Formdict['model.form.execMode'], + label: '鎵ц鏂瑰紡', initVal: card.execMode || 'exec', required: true, options: [{ value: 'exec', - text: Formdict['model.form.exec'] + text: '鐩存帴鎵ц' }, { value: 'prompt', - text: Formdict['model.form.prompt'] + text: '鎻愮ず妗�' }, { value: 'pop', - text: Formdict['model.form.popform'] + text: '寮圭獥锛堣〃鍗曪級' }] }, { type: 'radio', key: 'intertype', - label: Formdict['header.form.intertype'], + label: '鎺ュ彛绫诲瀷', initVal: card.intertype || 'system', required: true, options: [] @@ -1037,7 +1030,7 @@ { type: 'radio', key: 'sqlType', - label: Formdict['header.form.action.type'], + label: '鎿嶄綔绫诲瀷', initVal: card.sqlType || '', required: true, options: [] @@ -1045,14 +1038,14 @@ { type: 'text', key: 'sql', - label: Formdict['model.form.tablename'], + label: '琛ㄥ悕', initVal: card.sql || config.setting.tableName || '', required: true }, { type: 'text', key: 'innerFunc', - label: Formdict['header.form.innerFunc'], + label: '鍐呴儴鍑芥暟', initVal: card.innerFunc || '', tooltip: usefulFields.length ? `鍑芥暟鍚嶇О闇�浠�${usefulFields.join(', ')}绛夊瓧绗﹀紑濮嬨�俙 : '', fields: usefulFields, @@ -1085,7 +1078,7 @@ { type: 'select', key: 'pageTemplate', - label: Formdict['model.form.newpage.type'], + label: '椤甸潰绫诲瀷', initVal: card.pageTemplate || '', required: true, options: [{ @@ -1099,10 +1092,10 @@ text: '鍗曟嵁鎵撳嵃' }, { value: 'pay', - text: Formdict['model.pay'] + text: '鏀粯' }, { value: 'custom', - text: Formdict['header.form.custom'] + text: '鑷畾涔�' }] }, { @@ -1116,28 +1109,28 @@ { type: 'text', key: 'url', - label: Formdict['model.pageUrl'], + label: '椤甸潰鍦板潃', initVal: card.url || '', required: true }, { type: 'radio', key: 'sysInterface', - label: Formdict['header.form.sysInterface'], + label: '绯荤粺鎺ュ彛', initVal: card.sysInterface || 'false', required: true, options: [{ value: 'true', - text: Formdict['model.true'] + text: '鏄�' }, { value: 'false', - text: Formdict['model.false'] + text: '鍚�' }] }, { type: 'text', key: 'outerFunc', - label: Formdict['header.form.outerFunc'], + label: '澶栭儴鍑芥暟', initVal: card.outerFunc || '', required: false, readonly: false @@ -1218,7 +1211,7 @@ { type: 'text', key: 'callbackFunc', - label: Formdict['header.form.callbackFunc'], + label: '鍥炶皟鍑芥暟', initVal: card.callbackFunc || '', required: true, readonly: false @@ -1231,16 +1224,16 @@ required: true, options: [{ value: 'toolbar', - text: Formdict['header.form.toolbar'] + text: '宸ュ叿鏍�' }, { value: 'grid', - text: Formdict['header.form.grid'] + text: '琛ㄦ牸' }] }, { type: 'select', key: 'Ot', - label: Formdict['header.form.isRequired'], + label: '琛岃缃�', initVal: card.Ot || 'requiredSgl', required: true, options: [] @@ -1248,7 +1241,7 @@ { type: 'cascader', key: 'linkmenu', - label: Formdict['model.form.linkmenu'], + label: '鍏宠仈鑿滃崟', initVal: card.linkmenu || [], required: true, options: menulist @@ -1264,7 +1257,7 @@ { type: refresh.length === 0 ? 'radio' : 'select', key: 'execSuccess', - label: Formdict['model.form.afterSuccess'], + label: '鎴愬姛鍚�', initVal: card.execSuccess || 'grid', tooltip: '閫夋嫨鍒锋柊琛屾椂锛屽鏋滈�夋嫨澶氭潯鏁版嵁浼氬埛鏂拌〃鏍笺��', required: true, @@ -1283,7 +1276,7 @@ { type: refresh.length === 0 ? 'radio' : 'select', key: 'execError', - label: Formdict['model.form.afterError'], + label: '澶辫触鍚�', initVal: card.execError || 'never', tooltip: '閫夋嫨鍒锋柊琛屾椂锛屽鏋滈�夋嫨澶氭潯鏁版嵁浼氬埛鏂拌〃鏍笺��', required: true, @@ -1302,7 +1295,7 @@ { type: refresh.length === 0 ? 'radio' : 'select', key: 'popClose', - label: Formdict['header.form.popClose'], + label: '鍏抽棴鍚�', initVal: card.popClose || 'never', required: true, options: [{ @@ -1331,14 +1324,14 @@ { type: 'icon', key: 'icon', - label: Formdict['model.icon'], + label: '鍥炬爣', initVal: card.icon, required: false }, { type: 'select', key: 'class', - label: Formdict['model.form.color'], + label: '棰滆壊', initVal: card.class, required: false, options: btnClasses @@ -1371,21 +1364,21 @@ { type: 'radio', key: 'joint', - label: Formdict['model.form.paramJoint'], + label: '鎷兼帴鍙傛暟', initVal: card.joint || 'true', required: false, options: [{ value: 'true', - text: Formdict['model.true'] + text: '鏄�' }, { value: 'false', - text: Formdict['model.false'] + text: '鍚�' }] }, { type: 'text', key: 'sheet', - label: Formdict['model.form.tablename'], + label: '琛ㄥ悕', initVal: card.sheet || config.setting.tableName || '', required: true }, @@ -1397,10 +1390,10 @@ required: false, options: [{ value: 'true', - text: Formdict['model.true'] + text: '鏄�' }, { value: 'false', - text: Formdict['model.false'] + text: '鍚�' }] }, { @@ -1584,14 +1577,14 @@ { type: 'text', key: 'label', - label: Formdict['model.name'], + label: '鍚嶇О', initVal: card.label, required: true }, { type: 'text', key: 'field', - label: Formdict['model.form.field'], + label: '瀛楁', initVal: card.field, required: true, readonly: false @@ -1599,27 +1592,27 @@ { type: 'select', key: 'type', - label: Formdict['model.form.type'], + label: '绫诲瀷', initVal: card.type, required: true, options: [{ value: 'text', - text: Formdict['model.form.text'] + text: '鏂囨湰' }, { value: 'number', - text: Formdict['model.form.number'] + text: '鏁板瓧' }, { value: 'picture', - text: Formdict['model.form.picture'] + text: '鍥剧墖' }, { value: 'video', text: '瑙嗛' }, { value: 'link', - text: Formdict['model.form.href'] + text: '閾炬帴' }, { value: 'textarea', - text: Formdict['model.form.textarea'] + text: '澶氳鏂囨湰' }, { value: 'index', text: '搴忓彿' @@ -1628,7 +1621,7 @@ { type: 'text', key: 'nameField', - label: Formdict['model.name'] + Formdict['model.form.field'], + label: '鍚嶇О瀛楁', initVal: card.nameField, required: false, readonly: false @@ -1639,67 +1632,67 @@ min: 1, max: 1000, decimal: 0, - label: Formdict['model.form.columnWidth'], + label: '鍒楀', initVal: card.Width, required: true }, { type: 'radio', key: 'joint', - label: Formdict['model.form.paramJoint'], + label: '鎷兼帴鍙傛暟', initVal: card.joint || 'true', required: true, options: [{ value: 'true', - text: Formdict['model.true'] + text: '鏄�' }, { value: 'false', - text: Formdict['model.false'] + text: '鍚�' }] }, { type: 'radio', key: 'Hide', - label: Formdict['model.hidden'], + label: '闅愯棌', initVal: card.Hide || 'false', required: true, options: [{ value: 'true', - text: Formdict['model.true'] + text: '鏄�' }, { value: 'false', - text: Formdict['model.false'] + text: '鍚�' }] }, { type: 'radio', key: 'IsSort', - label: Formdict['model.sort'], + label: '鎺掑簭', initVal: card.IsSort || 'true', required: true, options: [{ value: 'true', - text: Formdict['model.true'] + text: '鏄�' }, { value: 'false', - text: Formdict['model.false'] + text: '鍚�' }] }, { type: 'radio', key: 'Align', - label: Formdict['model.form.align'], + label: '瀵归綈鏂瑰紡', initVal: card.Align || 'left', required: true, options: [{ value: 'left', - text: Formdict['model.form.alignLeft'] + text: '宸﹀榻�' }, { value: 'center', - text: Formdict['model.form.alignCenter'] + text: '灞呬腑' }, { value: 'right', - text: Formdict['model.form.alignRight'] + text: '鍙冲榻�' }] }, { @@ -1731,10 +1724,10 @@ required: false, options: [{ value: 'true', - text: Formdict['model.true'] + text: '鏄�' }, { value: 'false', - text: Formdict['model.false'] + text: '鍚�' }] }, { @@ -1746,10 +1739,10 @@ required: false, options: [{ value: 'true', - text: Formdict['model.true'] + text: '鏄�' }, { value: 'false', - text: Formdict['model.false'] + text: '鍚�' }] }, { @@ -1758,21 +1751,21 @@ min: 0, max: 18, decimal: 0, - label: Formdict['header.form.decimal'], + label: '灏忔暟浣�', initVal: card.decimal || 0, required: true }, { type: 'number', key: 'fieldlength', - label: Formdict['model.form.field'] + Formdict['model.length'], + label: '瀛楁闀垮害', initVal: card.fieldlength || (card.type === 'text' ? 50 : 512), required: true }, { type: 'select', key: 'format', - label: Formdict['header.form.format'], + label: '鏍煎紡鍖�', initVal: card.format || 'none', options: [{ value: 'none', @@ -1792,7 +1785,7 @@ { type: 'select', key: 'textFormat', - label: Formdict['header.form.format'], + label: '鏍煎紡鍖�', initVal: card.textFormat || 'none', options: [{ value: 'none', @@ -1812,7 +1805,7 @@ { type: 'text', key: 'prefix', - label: Formdict['header.form.prefix'], + label: '鍓嶇紑', initVal: card.prefix || '', required: false, readonly: false @@ -1820,7 +1813,7 @@ { type: 'text', key: 'postfix', - label: Formdict['header.form.postfix'], + label: '鍚庣紑', initVal: card.postfix || '', tooltipClass: 'middle', required: false, @@ -1870,10 +1863,10 @@ required: false, options: [{ value: 'true', - text: Formdict['model.true'] + text: '鏄�' }, { value: 'false', - text: Formdict['model.false'] + text: '鍚�' }] }, { @@ -1895,7 +1888,7 @@ { type: 'cascader', key: 'linkmenu', - label: Formdict['model.menu'], + label: '鑿滃崟', initVal: card.linkmenu || [], required: true, options: menulist @@ -1918,7 +1911,7 @@ { type: 'multiselect', key: 'blacklist', - label: Formdict['header.form.blacklist'], + label: '榛戝悕鍗�', initVal: card.blacklist || [], required: false, options: roleList @@ -1970,7 +1963,7 @@ { type: 'text', key: 'title', - label: Formdict['header.form.title'], + label: '鏍囬', initVal: card.title, required: false }, @@ -1996,15 +1989,15 @@ { type: 'radio', key: 'Hide', - label: Formdict['model.hidden'], + label: '闅愯棌', initVal: card.Hide, required: true, options: [{ value: 'true', - text: Formdict['model.true'] + text: '鏄�' }, { value: 'false', - text: Formdict['model.false'] + text: '鍚�' }] }, { @@ -2082,7 +2075,7 @@ { type: 'multiselect', key: 'blacklist', - label: Formdict['header.form.blacklist'], + label: '榛戝悕鍗�', initVal: card.blacklist || [], required: false, options: roleList @@ -2272,10 +2265,10 @@ forbid: !['line', 'bar'].includes(card.chartType), options: [{ value: 'true', - text: Formdict['model.true'] + text: '鏄�' }, { value: 'false', - text: Formdict['model.false'] + text: '鍚�' }] }, { @@ -2574,7 +2567,7 @@ { type: 'text', key: 'label', - label: Formdict['model.name'], + label: '鍚嶇О', initVal: card.label, required: true, readonly: false @@ -2582,7 +2575,7 @@ { type: 'text', key: 'field', - label: Formdict['model.form.field'], + label: '瀛楁', initVal: card.field || '', required: true, readonly: false @@ -2590,7 +2583,7 @@ { type: 'select', key: 'type', - label: Formdict['model.form.type'], + label: '绫诲瀷', initVal: card.type, required: true, options: _openType @@ -2598,7 +2591,7 @@ { type: 'text', key: 'initval', - label: Formdict['header.form.initval'], + label: '鍒濆鍊�', initVal: initval, required: false }, @@ -2723,10 +2716,10 @@ // initVal: card.setAll || 'false', // options: [{ // value: 'true', - // text: Formdict['model.true'] + // text: '鏄�' // }, { // value: 'false', - // text: Formdict['model.false'] + // text: '鍚�' // }] // }, { @@ -2748,7 +2741,7 @@ { type: 'codemirror', key: 'dataSource', - label: Formdict['header.form.datasource'], + label: '鏁版嵁婧�', initVal: card.dataSource || '', required: true, readonly: false @@ -2816,10 +2809,10 @@ initVal: card.orderType || 'asc', options: [{ value: 'asc', - text: Formdict['header.form.asc'] + text: '姝e簭' }, { value: 'desc', - text: Formdict['header.form.desc'] + text: '鍊掑簭' }] }, { @@ -3007,7 +3000,7 @@ min: 0, max: 18, precision: 0, - label: Formdict['header.form.decimal'], + label: '灏忔暟浣�', initVal: card.decimal || 0, required: true }, @@ -3017,7 +3010,7 @@ min: 1, max: 100000, precision: 0, - label: Formdict['model.form.field'] + Formdict['model.length'], + label: '瀛楁闀垮害', // tooltip: '鏂囨湰銆佷笅鎷夋銆佹棩鏈熺瓑瀛楁榛樿闀垮害涓�50锛屽琛屾枃鏈笌鏂囦欢涓婁紶瀛楁榛樿闀垮害涓�512', initVal: card.fieldlength || _fieldlength, required: true @@ -3098,10 +3091,10 @@ initVal: card.hidden || 'false', options: [{ value: 'true', - text: Formdict['model.true'] + text: '鏄�' }, { value: 'false', - text: Formdict['model.false'] + text: '鍚�' }] }, { @@ -3111,10 +3104,10 @@ initVal: card.readonly || 'false', options: [{ value: 'true', - text: Formdict['model.true'] + text: '鏄�' }, { value: 'false', - text: Formdict['model.false'] + text: '鍚�' }] }, { @@ -3124,10 +3117,10 @@ initVal: card.required || 'true', options: [{ value: 'true', - text: Formdict['model.true'] + text: '鏄�' }, { value: 'false', - text: Formdict['model.false'] + text: '鍚�' }] }, { @@ -3199,10 +3192,10 @@ initVal: card.writein || 'true', options: [{ value: 'true', - text: Formdict['model.true'] + text: '鏄�' }, { value: 'false', - text: Formdict['model.false'] + text: '鍚�' }] }, { @@ -3264,10 +3257,10 @@ initVal: card.hidelabel || 'false', options: [{ value: 'true', - text: Formdict['model.true'] + text: '鏄�' }, { value: 'false', - text: Formdict['model.false'] + text: '鍚�' }] }, { @@ -3348,10 +3341,10 @@ tooltip: '鎻愪氦鏃讹紝鏄惁鎴彇棣栧熬鐨勭┖鐧藉瓧绗︺��', options: [{ value: 'true', - text: Formdict['model.true'] + text: '鏄�' }, { value: 'false', - text: Formdict['model.false'] + text: '鍚�' }] }, { @@ -3787,7 +3780,7 @@ { type: 'multiselect', key: 'blacklist', - label: Formdict['header.form.blacklist'], + label: '榛戝悕鍗�', initVal: card.blacklist || [], required: false, options: roleList, @@ -3810,14 +3803,14 @@ { type: 'text', key: 'label', - label: Formdict['header.menu.tabName'], + label: '鏍囩鍚嶇О', initVal: card.label || '', required: true }, { type: 'select', key: 'linkTab', - label: Formdict['header.form.linkTab'], + label: '鍏宠仈鏍囩', initVal: card.linkTab || '', required: false, options: [] @@ -3825,7 +3818,7 @@ { type: 'icon', key: 'icon', - label: Formdict['model.icon'], + label: '鍥炬爣', initVal: card.icon || '', required: false, forbid: type === 'CalendarPage' @@ -3833,7 +3826,7 @@ { type: 'select', key: 'supMenu', - label: Formdict['header.form.supTab'], + label: '涓婄骇鏍囩', initVal: supMenu, required: false, options: menus, @@ -3842,7 +3835,7 @@ { type: 'mutilselect', key: 'equalTab', - label: Formdict['header.form.equalTab'], + label: '鍚岀骇鏍囩', tooltip: '濡傛灉瀛愭爣绛句腑鍚湁鍒锋柊鍚岀骇鏍囩鐨勬寜閽紝鍦ㄦ澶勬坊鍔犻渶瑕佸埛鏂扮殑鏍囩銆�', initVal: equalTab, required: false, -- Gitblit v1.8.0