From 58a28e1faa15f638a136fefdcfcd0b3106c1fa16 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 24 六月 2020 10:18:54 +0800 Subject: [PATCH] 2020-06-24 --- src/templates/zshare/formconfig.jsx | 138 +++++++++++++++++++++++----------------------- 1 files changed, 69 insertions(+), 69 deletions(-) diff --git a/src/templates/zshare/formconfig.jsx b/src/templates/zshare/formconfig.jsx index 8219894..1251e4e 100644 --- a/src/templates/zshare/formconfig.jsx +++ b/src/templates/zshare/formconfig.jsx @@ -65,8 +65,8 @@ required: false, readonly: false, options: [ - { value: 'true', text: Formdict['header.form.true'] }, - { value: 'false', text: Formdict['header.form.false'] } + { value: 'true', text: Formdict['model.true'] }, + { value: 'false', text: Formdict['model.false'] } ] }, { @@ -183,8 +183,8 @@ readonly: false, forbid: type !== 'main', options: [ - { value: 'true', text: Formdict['header.form.true'] }, - { value: 'false', text: Formdict['header.form.false'] } + { value: 'true', text: Formdict['model.true'] }, + { value: 'false', text: Formdict['model.false'] } ] }, { @@ -196,8 +196,8 @@ readonly: false, forbid: type !== 'main', options: [ - { value: 'true', text: Formdict['header.form.true'] }, - { value: 'false', text: Formdict['header.form.false'] } + { value: 'true', text: Formdict['model.true'] }, + { value: 'false', text: Formdict['model.false'] } ] }, { @@ -220,8 +220,8 @@ required: false, readonly: false, options: [ - { value: 'true', text: Formdict['header.form.true'] }, - { value: 'false', text: Formdict['header.form.false'] } + { value: 'true', text: Formdict['model.true'] }, + { value: 'false', text: Formdict['model.false'] } ] }, { @@ -298,8 +298,8 @@ required: false, readonly: false, options: [ - { value: 'true', text: Formdict['header.form.true'] }, - { value: 'false', text: Formdict['header.form.false'] } + { value: 'true', text: Formdict['model.true'] }, + { value: 'false', text: Formdict['model.false'] } ] }, { @@ -497,8 +497,8 @@ required: false, readonly: false, options: [ - { value: 'true', text: Formdict['header.form.true'] }, - { value: 'false', text: Formdict['header.form.false'] } + { value: 'true', text: Formdict['model.true'] }, + { value: 'false', text: Formdict['model.false'] } ] }, { @@ -509,8 +509,8 @@ required: false, readonly: false, options: [ - { value: 'true', text: Formdict['header.form.true'] }, - { value: 'false', text: Formdict['header.form.false'] } + { value: 'true', text: Formdict['model.true'] }, + { value: 'false', text: Formdict['model.false'] } ] } ] @@ -544,7 +544,7 @@ { type: 'text', key: 'MenuName', - label: Formdict['header.menu.menuName'], + label: Formdict['model.menu'] + Formdict['model.name'], initVal: menu.MenuName, required: true, readonly: false @@ -552,7 +552,7 @@ { type: 'text', key: 'MenuNo', - label: Formdict['header.menu.menuNo'], + label: Formdict['model.menu'] + Formdict['model.param'], initVal: menu.MenuNo, required: true, readonly: false @@ -560,7 +560,7 @@ { type: 'select', key: 'opentype', - label: Formdict['header.menu.openType'], + label: Formdict['model.openway'], initVal: menu.PageParam.OpenType, required: true, options: [{ @@ -602,7 +602,7 @@ { type: 'text', key: 'MenuNo', - label: Formdict['header.menu.menuNo'], + label: Formdict['model.menu'] + Formdict['model.param'], initVal: config.tabNo, required: true, readonly: false @@ -628,7 +628,7 @@ { type: 'text', key: 'label', - label: Formdict['model.form.name'], + label: Formdict['model.name'], initVal: card.label || '', required: true, readonly: false @@ -645,7 +645,7 @@ { type: 'select', key: 'type', - label: Formdict['header.form.type'], + label: Formdict['model.form.type'], initVal: card.type, required: true, options: [{ @@ -713,10 +713,10 @@ initVal: card.setAll || 'false', options: [{ value: 'true', - text: Formdict['header.form.true'] + text: Formdict['model.true'] }, { value: 'false', - text: Formdict['header.form.false'] + text: Formdict['model.false'] }] }, { @@ -864,10 +864,10 @@ initVal: card.required || 'false', options: [{ value: 'true', - text: Formdict['header.form.true'] + text: Formdict['model.true'] }, { value: 'false', - text: Formdict['header.form.false'] + text: Formdict['model.false'] }] }, { @@ -904,10 +904,10 @@ tooltip: '鏁版嵁鏌ヨ鏃讹紝绫诲瀷瀛楁鏄惁浣滀负鍙傛暟浼犻�掞紝绫诲瀷瀛楁瀵瑰簲鍊间负 {"鏃�": "day", "鍛�": "week", "鏈�": "month", "瀛�": "quarter", "骞�": "year", "鑷畾涔�": "customized"}銆�', options: [{ value: 'true', - text: Formdict['header.form.true'] + text: Formdict['model.true'] }, { value: 'false', - text: Formdict['header.form.false'] + text: Formdict['model.false'] }] } ] @@ -1114,10 +1114,10 @@ required: true, options: [{ value: 'true', - text: Formdict['header.form.true'] + text: Formdict['model.true'] }, { value: 'false', - text: Formdict['header.form.false'] + text: Formdict['model.false'] }] }, { @@ -1185,10 +1185,10 @@ required: true, options: [{ value: 'close', - text: Formdict['header.close'] + text: Formdict['model.close'] }, { value: 'notclose', - text: Formdict['header.notclose'] + text: Formdict['model.notclose'] }] }, { @@ -1199,10 +1199,10 @@ required: true, options: [{ value: 'close', - text: Formdict['header.close'] + text: Formdict['model.close'] }, { value: 'notclose', - text: Formdict['header.notclose'] + text: Formdict['model.notclose'] }] }, { @@ -1261,7 +1261,7 @@ { type: 'select', key: 'icon', - label: Formdict['model.form.icon'], + label: Formdict['model.icon'], initVal: card.icon, required: false, options: [] @@ -1289,10 +1289,10 @@ required: false, options: [{ value: 'true', - text: Formdict['header.form.true'] + text: Formdict['model.true'] }, { value: 'false', - text: Formdict['header.form.false'] + text: Formdict['model.false'] }] }, { @@ -1323,7 +1323,7 @@ { type: 'text', key: 'label', - label: Formdict['model.form.name'], + label: Formdict['model.name'], initVal: card.label, required: true }, @@ -1338,7 +1338,7 @@ { type: 'select', key: 'type', - label: Formdict['header.form.type'], + label: Formdict['model.form.type'], initVal: card.type, required: true, options: [{ @@ -1361,7 +1361,7 @@ { type: 'text', key: 'nameField', - label: Formdict['model.form.name'] + Formdict['model.form.field'], + label: Formdict['model.name'] + Formdict['model.form.field'], initVal: card.nameField, required: false, readonly: false @@ -1372,7 +1372,7 @@ min: 1, max: 1000, decimal: 0, - label: Formdict['header.form.columnWidth'], + label: Formdict['model.form.columnWidth'], initVal: card.Width, required: true }, @@ -1384,10 +1384,10 @@ required: true, options: [{ value: 'true', - text: Formdict['header.form.true'] + text: Formdict['model.true'] }, { value: 'false', - text: Formdict['header.form.false'] + text: Formdict['model.false'] }] }, { @@ -1398,10 +1398,10 @@ required: true, options: [{ value: 'true', - text: Formdict['header.form.true'] + text: Formdict['model.true'] }, { value: 'false', - text: Formdict['header.form.false'] + text: Formdict['model.false'] }] }, { @@ -1412,10 +1412,10 @@ required: true, options: [{ value: 'true', - text: Formdict['header.form.true'] + text: Formdict['model.true'] }, { value: 'false', - text: Formdict['header.form.false'] + text: Formdict['model.false'] }] }, { @@ -1506,10 +1506,10 @@ required: false, options: [{ value: 'true', - text: Formdict['header.form.true'] + text: Formdict['model.true'] }, { value: 'false', - text: Formdict['header.form.false'] + text: Formdict['model.false'] }] }, { @@ -1594,10 +1594,10 @@ required: true, options: [{ value: 'true', - text: Formdict['header.form.true'] + text: Formdict['model.true'] }, { value: 'false', - text: Formdict['header.form.false'] + text: Formdict['model.false'] }] }, { @@ -1893,10 +1893,10 @@ forbid: !['line', 'bar'].includes(card.chartType), options: [{ value: 'true', - text: Formdict['header.form.true'] + text: Formdict['model.true'] }, { value: 'false', - text: Formdict['header.form.false'] + text: Formdict['model.false'] }] }, { @@ -2027,7 +2027,7 @@ { type: 'text', key: 'label', - label: Formdict['model.form.name'], + label: Formdict['model.name'], initVal: card.label, required: true, readonly: false @@ -2043,7 +2043,7 @@ { type: 'select', key: 'type', - label: Formdict['header.form.type'], + label: Formdict['model.form.type'], initVal: card.type, required: true, options: [{ @@ -2110,10 +2110,10 @@ initVal: card.setAll || 'false', options: [{ value: 'true', - text: Formdict['header.form.true'] + text: Formdict['model.true'] }, { value: 'false', - text: Formdict['header.form.false'] + text: Formdict['model.false'] }] }, { @@ -2297,10 +2297,10 @@ initVal: card.readonly || 'false', options: [{ value: 'true', - text: Formdict['header.form.true'] + text: Formdict['model.true'] }, { value: 'false', - text: Formdict['header.form.false'] + text: Formdict['model.false'] }] }, { @@ -2310,23 +2310,23 @@ initVal: card.required || 'true', options: [{ value: 'true', - text: Formdict['header.form.true'] + text: Formdict['model.true'] }, { value: 'false', - text: Formdict['header.form.false'] + text: Formdict['model.false'] }] }, { type: 'radio', key: 'hidden', - label: Formdict['model.required'], + label: Formdict['model.hidden'], initVal: card.hidden || 'false', options: [{ value: 'true', - text: Formdict['header.form.true'] + text: Formdict['model.true'] }, { value: 'false', - text: Formdict['header.form.false'] + text: Formdict['model.false'] }] }, { @@ -2350,10 +2350,10 @@ initVal: card.readin || 'true', options: [{ value: 'true', - text: Formdict['header.form.true'] + text: Formdict['model.true'] }, { value: 'false', - text: Formdict['header.form.false'] + text: Formdict['model.false'] }] }, @@ -2364,10 +2364,10 @@ initVal: card.encryption || 'false', options: [{ value: 'true', - text: Formdict['header.form.true'] + text: Formdict['model.true'] }, { value: 'false', - text: Formdict['header.form.false'] + text: Formdict['model.false'] }] }, { @@ -2378,10 +2378,10 @@ tooltip: '鎻愪氦鏃讹紝鏄惁鎴彇棣栧熬鐨勭┖鐧藉瓧绗︺��', options: [{ value: 'true', - text: Formdict['header.form.true'] + text: Formdict['model.true'] }, { value: 'false', - text: Formdict['header.form.false'] + text: Formdict['model.false'] }] }, { @@ -2435,7 +2435,7 @@ { type: 'select', key: 'icon', - label: Formdict['header.menu.icon'], + label: Formdict['model.icon'], initVal: card.icon || '', required: false, options: [{ -- Gitblit v1.8.0