From 95f2f60ba9eb343c2605e1ae68c221443d75f704 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期六, 30 十一月 2019 00:55:07 +0800 Subject: [PATCH] commontable-update --- src/templates/comtableconfig/source.jsx | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++++------- 1 files changed, 52 insertions(+), 7 deletions(-) diff --git a/src/templates/comtableconfig/source.jsx b/src/templates/comtableconfig/source.jsx index 307604d..d52cb61 100644 --- a/src/templates/comtableconfig/source.jsx +++ b/src/templates/comtableconfig/source.jsx @@ -10,6 +10,9 @@ setting: { actionfixed: false, columnfixed: false, + tableName: '', + tableType: 'checkbox', + primaryKey: '', dataresource: '' }, tables: [], @@ -82,12 +85,17 @@ intertype: 'inner', innerFunc: '', interface: '', + method: 'POST', outerFunc: '', + sql: '', callbackFunc: '', Ot: 'notRequired', position: 'toolbar', + execSuccess: 'grid', + execError: 'never', OpenType: 'pop', pageTemplate: '', + url: '', icon: 'plus', class: 'green' }, { @@ -98,12 +106,17 @@ intertype: 'inner', innerFunc: '', interface: '', + method: 'POST', outerFunc: '', + sql: '', callbackFunc: '', Ot: 'requiredSgl', position: 'grid', + execSuccess: 'grid', + execError: 'never', OpenType: 'pop', pageTemplate: '', + url: '', icon: 'form', class: 'purple' }, { @@ -114,12 +127,17 @@ intertype: 'inner', innerFunc: '', interface: '', + method: 'POST', outerFunc: '', + sql: '', callbackFunc: '', Ot: 'required', position: 'toolbar', + execSuccess: 'grid', + execError: 'never', OpenType: 'prompt', pageTemplate: '', + url: '', icon: 'delete', class: 'red' }, { @@ -130,12 +148,15 @@ intertype: 'inner', innerFunc: '', interface: '', + method: 'POST', outerFunc: '', + sql: '', callbackFunc: '', Ot: 'requiredOnce', position: 'toolbar', OpenType: 'exec', pageTemplate: '', + url: '', icon: '', class: 'default' } @@ -210,8 +231,20 @@ }, { type: 'search', - label: '鏃堕棿妗嗭紙绉掞級', - subType: 'datetime', + label: '鏃堕棿妗嗭紙鍛級', + subType: 'dateweek', + url: '' + }, + { + type: 'search', + label: '鏃堕棿妗嗭紙鏈堬級', + subType: 'datemonth', + url: '' + }, + { + type: 'search', + label: '鏃堕棿妗嗭紙鍖洪棿锛�', + subType: 'daterange', url: '' } ] @@ -219,8 +252,14 @@ actionItems = [ { type: 'action', - label: CommonDict['header.form.pop'], + label: CommonDict['header.form.popform'], subType: 'pop', + url: '' + }, + { + type: 'action', + label: CommonDict['header.form.popview'], + subType: 'popview', url: '' }, { @@ -243,14 +282,20 @@ }, { type: 'action', - label: CommonDict['header.form.newpage'], - subType: 'newpage', + label: CommonDict['header.form.blank'], + subType: 'blank', url: '' }, { type: 'action', - label: CommonDict['header.form.blank'], - subType: 'blank', + label: CommonDict['header.form.newpage.inner'], + subType: 'innerpage', + url: '' + }, + { + type: 'action', + label: CommonDict['header.form.newpage.outer'], + subType: 'outerpage', url: '' } ] -- Gitblit v1.8.0