提交 a3819995 编写于 作者: ibizdev's avatar ibizdev

tony001 发布系统代码 [后台服务,演示应用]

上级 f08bb8ad
...@@ -622,7 +622,7 @@ function getLocaleResourceBase(){ ...@@ -622,7 +622,7 @@ function getLocaleResourceBase(){
avueform_form: { avueform_form: {
details: { details: {
grouppanel1: commonLogic.appcommonhandle("",null), grouppanel1: commonLogic.appcommonhandle("",null),
rawitem7: commonLogic.appcommonhandle("",null), grouppanel5: commonLogic.appcommonhandle("",null),
rawitem1: commonLogic.appcommonhandle("",null), rawitem1: commonLogic.appcommonhandle("",null),
rawitem2: commonLogic.appcommonhandle("",null), rawitem2: commonLogic.appcommonhandle("",null),
rawitem3: commonLogic.appcommonhandle("",null), rawitem3: commonLogic.appcommonhandle("",null),
...@@ -630,6 +630,7 @@ function getLocaleResourceBase(){ ...@@ -630,6 +630,7 @@ function getLocaleResourceBase(){
rawitem5: commonLogic.appcommonhandle("",null), rawitem5: commonLogic.appcommonhandle("",null),
rawitem6: commonLogic.appcommonhandle("",null), rawitem6: commonLogic.appcommonhandle("",null),
grouppanel2: commonLogic.appcommonhandle("分组标题-直接内容增强",null), grouppanel2: commonLogic.appcommonhandle("分组标题-直接内容增强",null),
grouppanel3: commonLogic.appcommonhandle("控件",null),
formpage1: commonLogic.appcommonhandle("",null), formpage1: commonLogic.appcommonhandle("",null),
srfupdatedate: commonLogic.appcommonhandle("更新时间",null), srfupdatedate: commonLogic.appcommonhandle("更新时间",null),
srforikey: commonLogic.appcommonhandle("",null), srforikey: commonLogic.appcommonhandle("",null),
...@@ -649,8 +650,25 @@ function getLocaleResourceBase(){ ...@@ -649,8 +650,25 @@ function getLocaleResourceBase(){
formitem7: commonLogic.appcommonhandle("树形选择器(多选)",null), formitem7: commonLogic.appcommonhandle("树形选择器(多选)",null),
formitem8: commonLogic.appcommonhandle("级联选择器",null), formitem8: commonLogic.appcommonhandle("级联选择器",null),
formitem9: commonLogic.appcommonhandle("级联选择器(多)",null), formitem9: commonLogic.appcommonhandle("级联选择器(多)",null),
formitem17: commonLogic.appcommonhandle("下拉列表",null),
formitem18: commonLogic.appcommonhandle("下拉列表(多)",null),
formitem30: commonLogic.appcommonhandle("超链接",null),
formitem29: commonLogic.appcommonhandle("图片数组",null),
formitem24: commonLogic.appcommonhandle("数组选择器",null),
formitem25: commonLogic.appcommonhandle("地图选择器",null),
formitem27: commonLogic.appcommonhandle("数值范围",null),
formitem19: commonLogic.appcommonhandle("",null),
formitem20: commonLogic.appcommonhandle("",null),
formitem26: commonLogic.appcommonhandle("时间范围",null),
formitem21: commonLogic.appcommonhandle("",null),
formitem22: commonLogic.appcommonhandle("",null),
formitem10: commonLogic.appcommonhandle("",null), formitem10: commonLogic.appcommonhandle("",null),
formitem11: commonLogic.appcommonhandle("这是分组内部内容",null), formitem11: commonLogic.appcommonhandle("开关",null),
formitem12: commonLogic.appcommonhandle("评分器",null),
formitem14: commonLogic.appcommonhandle("滑动输入条",null),
formitem13: commonLogic.appcommonhandle("滑动输入条-范围",null),
formitem15: commonLogic.appcommonhandle("单行文本",null),
formitem16: commonLogic.appcommonhandle("多行文本",null),
ibizbookid: commonLogic.appcommonhandle("图书标识",null), ibizbookid: commonLogic.appcommonhandle("图书标识",null),
}, },
uiactions: { uiactions: {
......
...@@ -622,7 +622,7 @@ function getLocaleResourceBase(){ ...@@ -622,7 +622,7 @@ function getLocaleResourceBase(){
avueform_form: { avueform_form: {
details: { details: {
grouppanel1: commonLogic.appcommonhandle("",null), grouppanel1: commonLogic.appcommonhandle("",null),
rawitem7: commonLogic.appcommonhandle("",null), grouppanel5: commonLogic.appcommonhandle("",null),
rawitem1: commonLogic.appcommonhandle("",null), rawitem1: commonLogic.appcommonhandle("",null),
rawitem2: commonLogic.appcommonhandle("",null), rawitem2: commonLogic.appcommonhandle("",null),
rawitem3: commonLogic.appcommonhandle("",null), rawitem3: commonLogic.appcommonhandle("",null),
...@@ -630,6 +630,7 @@ function getLocaleResourceBase(){ ...@@ -630,6 +630,7 @@ function getLocaleResourceBase(){
rawitem5: commonLogic.appcommonhandle("",null), rawitem5: commonLogic.appcommonhandle("",null),
rawitem6: commonLogic.appcommonhandle("",null), rawitem6: commonLogic.appcommonhandle("",null),
grouppanel2: commonLogic.appcommonhandle("分组标题-直接内容增强",null), grouppanel2: commonLogic.appcommonhandle("分组标题-直接内容增强",null),
grouppanel3: commonLogic.appcommonhandle("控件",null),
formpage1: commonLogic.appcommonhandle("",null), formpage1: commonLogic.appcommonhandle("",null),
srfupdatedate: commonLogic.appcommonhandle("更新时间",null), srfupdatedate: commonLogic.appcommonhandle("更新时间",null),
srforikey: commonLogic.appcommonhandle("",null), srforikey: commonLogic.appcommonhandle("",null),
...@@ -649,8 +650,25 @@ function getLocaleResourceBase(){ ...@@ -649,8 +650,25 @@ function getLocaleResourceBase(){
formitem7: commonLogic.appcommonhandle("树形选择器(多选)",null), formitem7: commonLogic.appcommonhandle("树形选择器(多选)",null),
formitem8: commonLogic.appcommonhandle("级联选择器",null), formitem8: commonLogic.appcommonhandle("级联选择器",null),
formitem9: commonLogic.appcommonhandle("级联选择器(多)",null), formitem9: commonLogic.appcommonhandle("级联选择器(多)",null),
formitem17: commonLogic.appcommonhandle("下拉列表",null),
formitem18: commonLogic.appcommonhandle("下拉列表(多)",null),
formitem30: commonLogic.appcommonhandle("超链接",null),
formitem29: commonLogic.appcommonhandle("图片数组",null),
formitem24: commonLogic.appcommonhandle("数组选择器",null),
formitem25: commonLogic.appcommonhandle("地图选择器",null),
formitem27: commonLogic.appcommonhandle("数值范围",null),
formitem19: commonLogic.appcommonhandle("",null),
formitem20: commonLogic.appcommonhandle("",null),
formitem26: commonLogic.appcommonhandle("时间范围",null),
formitem21: commonLogic.appcommonhandle("",null),
formitem22: commonLogic.appcommonhandle("",null),
formitem10: commonLogic.appcommonhandle("",null), formitem10: commonLogic.appcommonhandle("",null),
formitem11: commonLogic.appcommonhandle("这是分组内部内容",null), formitem11: commonLogic.appcommonhandle("开关",null),
formitem12: commonLogic.appcommonhandle("评分器",null),
formitem14: commonLogic.appcommonhandle("滑动输入条",null),
formitem13: commonLogic.appcommonhandle("滑动输入条-范围",null),
formitem15: commonLogic.appcommonhandle("单行文本",null),
formitem16: commonLogic.appcommonhandle("多行文本",null),
ibizbookid: commonLogic.appcommonhandle("图书标识",null), ibizbookid: commonLogic.appcommonhandle("图书标识",null),
}, },
uiactions: { uiactions: {
......
...@@ -622,7 +622,7 @@ function getLocaleResourceBase(){ ...@@ -622,7 +622,7 @@ function getLocaleResourceBase(){
avueform_form: { avueform_form: {
details: { details: {
grouppanel1: commonLogic.appcommonhandle("",null), grouppanel1: commonLogic.appcommonhandle("",null),
rawitem7: commonLogic.appcommonhandle("",null), grouppanel5: commonLogic.appcommonhandle("",null),
rawitem1: commonLogic.appcommonhandle("",null), rawitem1: commonLogic.appcommonhandle("",null),
rawitem2: commonLogic.appcommonhandle("",null), rawitem2: commonLogic.appcommonhandle("",null),
rawitem3: commonLogic.appcommonhandle("",null), rawitem3: commonLogic.appcommonhandle("",null),
...@@ -630,6 +630,7 @@ function getLocaleResourceBase(){ ...@@ -630,6 +630,7 @@ function getLocaleResourceBase(){
rawitem5: commonLogic.appcommonhandle("",null), rawitem5: commonLogic.appcommonhandle("",null),
rawitem6: commonLogic.appcommonhandle("",null), rawitem6: commonLogic.appcommonhandle("",null),
grouppanel2: commonLogic.appcommonhandle("分组标题-直接内容增强",null), grouppanel2: commonLogic.appcommonhandle("分组标题-直接内容增强",null),
grouppanel3: commonLogic.appcommonhandle("控件",null),
formpage1: commonLogic.appcommonhandle("",null), formpage1: commonLogic.appcommonhandle("",null),
srfupdatedate: commonLogic.appcommonhandle("更新时间",null), srfupdatedate: commonLogic.appcommonhandle("更新时间",null),
srforikey: commonLogic.appcommonhandle("",null), srforikey: commonLogic.appcommonhandle("",null),
...@@ -649,8 +650,25 @@ function getLocaleResourceBase(){ ...@@ -649,8 +650,25 @@ function getLocaleResourceBase(){
formitem7: commonLogic.appcommonhandle("树形选择器(多选)",null), formitem7: commonLogic.appcommonhandle("树形选择器(多选)",null),
formitem8: commonLogic.appcommonhandle("级联选择器",null), formitem8: commonLogic.appcommonhandle("级联选择器",null),
formitem9: commonLogic.appcommonhandle("级联选择器(多)",null), formitem9: commonLogic.appcommonhandle("级联选择器(多)",null),
formitem17: commonLogic.appcommonhandle("下拉列表",null),
formitem18: commonLogic.appcommonhandle("下拉列表(多)",null),
formitem30: commonLogic.appcommonhandle("超链接",null),
formitem29: commonLogic.appcommonhandle("图片数组",null),
formitem24: commonLogic.appcommonhandle("数组选择器",null),
formitem25: commonLogic.appcommonhandle("地图选择器",null),
formitem27: commonLogic.appcommonhandle("数值范围",null),
formitem19: commonLogic.appcommonhandle("",null),
formitem20: commonLogic.appcommonhandle("",null),
formitem26: commonLogic.appcommonhandle("时间范围",null),
formitem21: commonLogic.appcommonhandle("",null),
formitem22: commonLogic.appcommonhandle("",null),
formitem10: commonLogic.appcommonhandle("",null), formitem10: commonLogic.appcommonhandle("",null),
formitem11: commonLogic.appcommonhandle("这是分组内部内容",null), formitem11: commonLogic.appcommonhandle("开关",null),
formitem12: commonLogic.appcommonhandle("评分器",null),
formitem14: commonLogic.appcommonhandle("滑动输入条",null),
formitem13: commonLogic.appcommonhandle("滑动输入条-范围",null),
formitem15: commonLogic.appcommonhandle("单行文本",null),
formitem16: commonLogic.appcommonhandle("多行文本",null),
ibizbookid: commonLogic.appcommonhandle("图书标识",null), ibizbookid: commonLogic.appcommonhandle("图书标识",null),
}, },
uiactions: { uiactions: {
......
...@@ -639,7 +639,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -639,7 +639,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/ */
public load(opt: any = {}): void { public load(opt: any = {}): void {
if(!this.loadAction){ if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZAPPEDITORGridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZAPPEDITORListView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -675,7 +675,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -675,7 +675,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/ */
public async loadDraft(opt: any = {},mode?:string): Promise<any> { public async loadDraft(opt: any = {},mode?:string): Promise<any> {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZAPPEDITORGridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZAPPEDITORListView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
......
...@@ -260,10 +260,47 @@ ...@@ -260,10 +260,47 @@
</i-col> </i-col>
<i-col v-show="detailsModel.formitem10.visible" :style="{}" :lg="{ span: 24, offset: 0 }"> <i-col v-show="detailsModel.formitem17.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='formitem10' :itemRules="rules().formitem10" :caption="$t('entities.ibizbook.avueform_form.details.formitem10')" uiStyle="DEFAULT" :labelWidth="0" :isShowCaption="true" :error="detailsModel.formitem10.error" :isEmptyCaption="true" labelPos="LEFT"> <app-form-item name='formitem17' :itemRules="rules().formitem17" :caption="$t('entities.ibizbook.avueform_form.details.formitem17')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.formitem17.error" :isEmptyCaption="false" labelPos="LEFT">
<app-span name='formitem10' :value="'这是标题'" style="width:100%;font-size:16px;color:red;text-align:center;display:inline-block;font-weight:600;"></app-span> <dropdown-list
v-model="data.formitem17"
:data="data"
:context="context"
:viewparams="viewparams"
:formState="formState"
:localContext ='{ }'
:localParam ='{ }'
:disabled="detailsModel.formitem17.disabled"
:clearable='true'
:filterable='true'
tag='BookSailState'
codelistType='STATIC'
placeholder='请选择...' style="">
</dropdown-list>
</app-form-item>
</i-col>
<i-col v-show="detailsModel.formitem18.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='formitem18' :itemRules="rules().formitem18" :caption="$t('entities.ibizbook.avueform_form.details.formitem18')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.formitem18.error" :isEmptyCaption="false" labelPos="LEFT">
<dropdown-list-mpicker
v-model="data.formitem18"
:data="data"
:context="context"
:viewparams="viewparams"
:localContext ='{ }'
:localParam ='{ }'
:clearable='true'
:filterable='true'
:disabled="detailsModel.formitem18.disabled"
tag='BookSailState'
codelistType='STATIC'
placeholder='请选择...' style=""
@click="($event)=>{formDetailClick({name:'formitem18',value:$event})}">
</dropdown-list-mpicker>
</app-form-item> </app-form-item>
...@@ -275,24 +312,144 @@ ...@@ -275,24 +312,144 @@
</i-col> </i-col>
<i-col v-show="detailsModel.grouppanel2.visible" :style="{}" :lg="{ span: 24, offset: 0 }"> <i-col v-show="detailsModel.grouppanel5.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-group :uiService="appUIService" :data="transformData(data)" :manageContainerStatus="detailsModel.grouppanel2.manageContainerStatus" :isManageContainer="detailsModel.grouppanel2.isManageContainer" @managecontainerclick="manageContainerClick('grouppanel2')" @collapseChange="($event)=>{formDetailGroupChange('grouppanel2',$event)}" layoutType="TABLE_24COL" titleStyle="" class='' :uiActionGroup="detailsModel.grouppanel2.uiActionGroup" @groupuiactionclick="groupUIActionClick($event)" :caption="$t('entities.ibizbook.avueform_form.details.grouppanel2')" :isShowCaption="true" uiStyle="DEFAULT" :titleBarCloseMode="1" :isInfoGroupMode="false" :iconInfo="{'iconclass':'fa fa-cube'}"> <app-form-group :uiService="appUIService" :data="transformData(data)" :manageContainerStatus="detailsModel.grouppanel5.manageContainerStatus" :isManageContainer="detailsModel.grouppanel5.isManageContainer" @managecontainerclick="manageContainerClick('grouppanel5')" @collapseChange="($event)=>{formDetailGroupChange('grouppanel5',$event)}" layoutType="TABLE_24COL" titleStyle="" class='' :uiActionGroup="detailsModel.grouppanel5.uiActionGroup" @groupuiactionclick="groupUIActionClick($event)" :caption="$t('entities.ibizbook.avueform_form.details.grouppanel5')" :isShowCaption="true" uiStyle="DEFAULT" :titleBarCloseMode="0" :isInfoGroupMode="false" >
<row> <row>
<i-col v-show="detailsModel.rawitem7.visible" :style="{}" :lg="{ span: 24, offset: 0 }"> <i-col v-show="detailsModel.formitem30.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-rawitem <app-form-item name='formitem30' :itemRules="rules().formitem30" :caption="$t('entities.ibizbook.avueform_form.details.formitem30')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.formitem30.error" :isEmptyCaption="false" labelPos="LEFT">
:viewparams="viewparams" <app-array-box
:context="context" name="formitem30"
contentStyle="" v-model="data.formitem30"
sizeStyle="" :disabled="detailsModel.formitem30.disabled"
contentType="RAW" :rules="this.rules().formitem30"
:htmlContent='``' type="text"
> editorType="link"
{title:'直接内容标题',content:'纯纯的直接内容'} :maxlength="8"
</app-rawitem> :showWordLimit="true"
prepend="http://www."
append=".com"
size="small"
style=""
placeholder="请输入数组"
@change="($event)=>{onFormItemValueChange({name:'formitem30',value:$event})}"
@focus="($event)=>{formDetailFocus({name:'formitem30',value:$event})}"
@blur="($event)=>{formDetailBlur({name:'formitem30',value:$event})}">
</app-array-box>
</app-form-item>
</i-col>
<i-col v-show="detailsModel.formitem29.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='formitem29' :itemRules="rules().formitem29" :caption="$t('entities.ibizbook.avueform_form.details.formitem29')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.formitem29.error" :isEmptyCaption="false" labelPos="LEFT">
<app-array-box
name="formitem29"
v-model="data.formitem29"
:disabled="detailsModel.formitem29.disabled"
:rules="this.rules().formitem29"
type="text"
editorType="img"
:limit="5"
style=""
placeholder="请输入图片链接"
@change="($event)=>{onFormItemValueChange({name:'formitem29',value:$event})}"
@focus="($event)=>{formDetailFocus({name:'formitem29',value:$event})}"
@blur="($event)=>{formDetailBlur({name:'formitem29',value:$event})}">
</app-array-box>
</app-form-item>
</i-col>
<i-col v-show="detailsModel.formitem24.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='formitem24' :itemRules="rules().formitem24" :caption="$t('entities.ibizbook.avueform_form.details.formitem24')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.formitem24.error" :isEmptyCaption="false" labelPos="LEFT">
<app-array-box
name="formitem24"
v-model="data.formitem24"
:disabled="detailsModel.formitem24.disabled"
:rules="this.rules().formitem24"
type="text"
editorType="default"
:readonly="true"
style=""
placeholder="请输入数组"
@change="($event)=>{onFormItemValueChange({name:'formitem24',value:$event})}"
@focus="($event)=>{formDetailFocus({name:'formitem24',value:$event})}"
@blur="($event)=>{formDetailBlur({name:'formitem24',value:$event})}">
</app-array-box>
</app-form-item>
</i-col>
<i-col v-show="detailsModel.formitem25.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='formitem25' :itemRules="rules().formitem25" :caption="$t('entities.ibizbook.avueform_form.details.formitem25')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.formitem25.error" :isEmptyCaption="false" labelPos="LEFT">
<app-map-picker
name="formitem25"
:value="data.formitem25"
:data="data"
valueItemNames=''
:formState="formState"
:disabled="detailsModel.formitem25.disabled"
@formitemvaluechange="onFormItemValueChange"
@focus="formDetailFocus"
@blur="formDetailBlur">
</app-map-picker>
</app-form-item>
</i-col>
<i-col v-show="detailsModel.formitem27.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='formitem27' :itemRules="rules().formitem27" :caption="$t('entities.ibizbook.avueform_form.details.formitem27')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.formitem27.error" :isEmptyCaption="false" labelPos="LEFT">
<app-number-range-picker
name="formitem27"
:value="data.formitem27"
:data="data"
valueItemNames='formitem19,formitem20'
:disabled="detailsModel.formitem27.disabled"
@formitemvaluechange="onFormItemValueChange"
@focus="formDetailFocus"
@blur="formDetailBlur">
</app-number-range-picker>
</app-form-item>
</i-col>
<i-col v-show="detailsModel.formitem26.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='formitem26' :itemRules="rules().formitem26" :caption="$t('entities.ibizbook.avueform_form.details.formitem26')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.formitem26.error" :isEmptyCaption="false" labelPos="LEFT">
<app-date-range-picker
name="formitem26"
:value="data.formitem26"
:data="data"
valueItemNames='formitem21,formitem22'
type="date"
startPlaceholder="小飞棍儿来咯"
endPlaceholder="小飞棍儿跑咯"
:unlinkPanels="true"
:disabled="detailsModel.formitem26.disabled"
@formitemvaluechange="onFormItemValueChange"
@focus="formDetailFocus"
@blur="formDetailBlur">
</app-date-range-picker>
</app-form-item>
</i-col>
</row>
</app-form-group>
</i-col> </i-col>
<i-col v-show="detailsModel.rawitem1.visible" :style="{}" :lg="{ span: 24, offset: 0 }"> <i-col v-show="detailsModel.grouppanel2.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-group :uiService="appUIService" :data="transformData(data)" :manageContainerStatus="detailsModel.grouppanel2.manageContainerStatus" :isManageContainer="detailsModel.grouppanel2.isManageContainer" @managecontainerclick="manageContainerClick('grouppanel2')" @collapseChange="($event)=>{formDetailGroupChange('grouppanel2',$event)}" layoutType="TABLE_24COL" titleStyle="" class='' :uiActionGroup="detailsModel.grouppanel2.uiActionGroup" @groupuiactionclick="groupUIActionClick($event)" :caption="$t('entities.ibizbook.avueform_form.details.grouppanel2')" :isShowCaption="true" uiStyle="DEFAULT" :titleBarCloseMode="1" :isInfoGroupMode="false" :iconInfo="{'iconclass':'fa fa-cube'}">
<row>
<i-col v-show="detailsModel.rawitem1.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-rawitem <app-rawitem
:viewparams="viewparams" :viewparams="viewparams"
:context="context" :context="context"
...@@ -375,17 +532,129 @@ ...@@ -375,17 +532,129 @@
</i-col> </i-col>
<i-col v-show="detailsModel.formitem11.visible" :style="{}" :lg="{ span: 24, offset: 0 }"> <i-col v-show="detailsModel.formitem10.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='formitem10' :itemRules="rules().formitem10" :caption="$t('entities.ibizbook.avueform_form.details.formitem10')" uiStyle="DEFAULT" :labelWidth="0" :isShowCaption="true" :error="detailsModel.formitem10.error" :isEmptyCaption="true" labelPos="LEFT">
<app-span name='formitem10' :value="'这是标题'" style="width:100%;font-size:16px;color:red;text-align:center;display:inline-block;font-weight:600;"></app-span>
</app-form-item>
</i-col>
</row>
</app-form-group>
</i-col>
<i-col v-show="detailsModel.grouppanel3.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-group :uiService="appUIService" :data="transformData(data)" :manageContainerStatus="detailsModel.grouppanel3.manageContainerStatus" :isManageContainer="detailsModel.grouppanel3.isManageContainer" @managecontainerclick="manageContainerClick('grouppanel3')" @collapseChange="($event)=>{formDetailGroupChange('grouppanel3',$event)}" layoutType="TABLE_24COL" titleStyle="" class='' :uiActionGroup="detailsModel.grouppanel3.uiActionGroup" @groupuiactionclick="groupUIActionClick($event)" :caption="$t('entities.ibizbook.avueform_form.details.grouppanel3')" :isShowCaption="true" uiStyle="DEFAULT" :titleBarCloseMode="0" :isInfoGroupMode="false" >
<row>
<i-col v-show="detailsModel.formitem11.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='formitem11' :itemRules="rules().formitem11" :caption="$t('entities.ibizbook.avueform_form.details.formitem11')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.formitem11.error" :isEmptyCaption="false" labelPos="LEFT"> <app-form-item name='formitem11' :itemRules="rules().formitem11" :caption="$t('entities.ibizbook.avueform_form.details.formitem11')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.formitem11.error" :isEmptyCaption="false" labelPos="LEFT">
<app-switch name='formitem11' <app-switch name='formitem11'
:value="this.data.formitem11" :value="this.data.formitem11"
:disabled="detailsModel.formitem11.disabled" :disabled="detailsModel.formitem11.disabled"
:dicData="[{label:黑不溜秋,value:0},{label:白白嫩嫩,value:1}]"
style="" style=""
@change="($event)=>{onFormItemValueChange({name:'formitem11',value:$event})}" @change="($event)=>{onFormItemValueChange({name:'formitem11',value:$event})}"
></app-switch> ></app-switch>
</app-form-item> </app-form-item>
</i-col>
<i-col v-show="detailsModel.formitem12.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='formitem12' :itemRules="rules().formitem12" :caption="$t('entities.ibizbook.avueform_form.details.formitem12')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.formitem12.error" :isEmptyCaption="false" labelPos="LEFT">
<app-rate
name='formitem12'
:value="this.data.formitem12"
:disabled="detailsModel.formitem12.disabled"
style=""
:max="8"
:texts="['不太好','还行','不错','有点东西','大腿毛']"
:colors="{3:'gray',5:'red',6:'blue',7:'green',8:'yellow'}"
:showText="true"
@change="($event)=>{onFormItemValueChange({name:'formitem12',value:$event})}" >
</app-rate>
</app-form-item>
</i-col>
<i-col v-show="detailsModel.formitem14.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='formitem14' :itemRules="rules().formitem14" :caption="$t('entities.ibizbook.avueform_form.details.formitem14')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.formitem14.error" :isEmptyCaption="false" labelPos="LEFT">
<app-slider
name='formitem14'
:value="this.data.formitem14"
@change="onFormItemValueChange"
:disabled="detailsModel.formitem14.disabled"
style=""
:showStops="true"
:step="2"
:min="2"
:max="12"></app-slider>
</app-form-item>
</i-col>
<i-col v-show="detailsModel.formitem13.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='formitem13' :itemRules="rules().formitem13" :caption="$t('entities.ibizbook.avueform_form.details.formitem13')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.formitem13.error" :isEmptyCaption="false" labelPos="LEFT">
<app-slider
name='formitem13'
:value="this.data.formitem13"
@change="onFormItemValueChange"
:disabled="detailsModel.formitem13.disabled"
style=""
:range="true"
:step="1"
:min="0"
:max="100"></app-slider>
</app-form-item>
</i-col>
<i-col v-show="detailsModel.formitem15.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='formitem15' :itemRules="rules().formitem15" :caption="$t('entities.ibizbook.avueform_form.details.formitem15')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.formitem15.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box
v-model="data.formitem15"
@enter="onEnter($event)"
:disabled="detailsModel.formitem15.disabled"
type='text'
:maxlength='15'
:showWordLimit='true'
prepend='http://'
append='.com'
@change="($event)=>{onFormItemValueChange({name:'formitem15',value:$event})}"
@focus="($event)=>{formDetailFocus({name:'formitem15',value:$event})}"
@blur="($event)=>{formDetailBlur({name:'formitem15',value:$event})}"
style="">
</input-box>
</app-form-item>
</i-col>
<i-col v-show="detailsModel.formitem16.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='formitem16' :itemRules="rules().formitem16" :caption="$t('entities.ibizbook.avueform_form.details.formitem16')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.formitem16.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box
v-model="data.formitem16"
:disabled="detailsModel.formitem16.disabled"
type='textarea'
:maxlength='30'
:showWordLimit='true'
style=""
@change="($event)=>{onFormItemValueChange({name:'formitem16',value:$event})}"
@focus="($event)=>{formDetailFocus({name:'formitem16',value:$event})}"
@blur="($event)=>{formDetailBlur({name:'formitem16',value:$event})}"
></input-box>
</app-form-item>
</i-col> </i-col>
...@@ -856,8 +1125,25 @@ export default class AvueFormBase extends Vue implements ControlInterface { ...@@ -856,8 +1125,25 @@ export default class AvueFormBase extends Vue implements ControlInterface {
formitem7: null, formitem7: null,
formitem8: null, formitem8: null,
formitem9: null, formitem9: null,
formitem17: null,
formitem18: null,
formitem30: null,
formitem29: null,
formitem24: null,
formitem25: null,
formitem27: null,
formitem19: null,
formitem20: null,
formitem26: null,
formitem21: null,
formitem22: null,
formitem10: null, formitem10: null,
formitem11: null, formitem11: null,
formitem12: null,
formitem14: null,
formitem13: null,
formitem15: null,
formitem16: null,
ibizbookid: null, ibizbookid: null,
ibizbook:null, ibizbook:null,
}; };
...@@ -958,13 +1244,122 @@ export default class AvueFormBase extends Vue implements ControlInterface { ...@@ -958,13 +1244,122 @@ export default class AvueFormBase extends Vue implements ControlInterface {
{ required: this.detailsModel.formitem9.required, type: 'string', message: '级联选择器(多) 值不能为空', trigger: 'change' }, { required: this.detailsModel.formitem9.required, type: 'string', message: '级联选择器(多) 值不能为空', trigger: 'change' },
{ required: this.detailsModel.formitem9.required, type: 'string', message: '级联选择器(多) 值不能为空', trigger: 'blur' }, { required: this.detailsModel.formitem9.required, type: 'string', message: '级联选择器(多) 值不能为空', trigger: 'blur' },
], ],
formitem17: [
{ required: this.detailsModel.formitem17.required, type: 'string', message: '下拉列表 值不能为空', trigger: 'change' },
{ required: this.detailsModel.formitem17.required, type: 'string', message: '下拉列表 值不能为空', trigger: 'blur' },
],
formitem18: [
{ required: this.detailsModel.formitem18.required, type: 'string', message: '下拉列表(多) 值不能为空', trigger: 'change' },
{ required: this.detailsModel.formitem18.required, type: 'string', message: '下拉列表(多) 值不能为空', trigger: 'blur' },
],
formitem30: [
{
validator: (rule: any, value: any, callback: any) => {
let result = true;
if (this.detailsModel.formitem30.required) {
if (Util.typeOf(value) == 'array') {
for (let index = 0; index < value.length; index++) {
if (!value[index] && value[index] !== 0) {
result = false;
break;
}
}
} else {
result = !(value === null || value === undefined || value === "");
}
}
return result;
},
message: '超链接 值不能为空',
required: this.detailsModel.formitem30.required,
trigger: "blur"
},
],
formitem29: [
{
validator: (rule: any, value: any, callback: any) => {
let result = true;
if (this.detailsModel.formitem29.required) {
if (Util.typeOf(value) == 'array') {
for (let index = 0; index < value.length; index++) {
if (!value[index] && value[index] !== 0) {
result = false;
break;
}
}
} else {
result = !(value === null || value === undefined || value === "");
}
}
return result;
},
message: '图片数组 值不能为空',
required: this.detailsModel.formitem29.required,
trigger: "blur"
},
],
formitem24: [
{
validator: (rule: any, value: any, callback: any) => {
let result = true;
if (this.detailsModel.formitem24.required) {
if (Util.typeOf(value) == 'array') {
for (let index = 0; index < value.length; index++) {
if (!value[index] && value[index] !== 0) {
result = false;
break;
}
}
} else {
result = !(value === null || value === undefined || value === "");
}
}
return result;
},
message: '数组选择器 值不能为空',
required: this.detailsModel.formitem24.required,
trigger: "blur"
},
],
formitem25: [
{ required: this.detailsModel.formitem25.required, type: 'string', message: '地图选择器 值不能为空', trigger: 'change' },
{ required: this.detailsModel.formitem25.required, type: 'string', message: '地图选择器 值不能为空', trigger: 'blur' },
],
formitem27: [
{ required: this.detailsModel.formitem27.required, type: 'string', message: '数值范围 值不能为空', trigger: 'change' },
{ required: this.detailsModel.formitem27.required, type: 'string', message: '数值范围 值不能为空', trigger: 'blur' },
],
formitem26: [
{ required: this.detailsModel.formitem26.required, type: 'string', message: '时间范围 值不能为空', trigger: 'change' },
{ required: this.detailsModel.formitem26.required, type: 'string', message: '时间范围 值不能为空', trigger: 'blur' },
],
formitem10: [ formitem10: [
{ required: this.detailsModel.formitem10.required, type: 'string', message: ' 值不能为空', trigger: 'change' }, { required: this.detailsModel.formitem10.required, type: 'string', message: ' 值不能为空', trigger: 'change' },
{ required: this.detailsModel.formitem10.required, type: 'string', message: ' 值不能为空', trigger: 'blur' }, { required: this.detailsModel.formitem10.required, type: 'string', message: ' 值不能为空', trigger: 'blur' },
], ],
formitem11: [ formitem11: [
{ required: this.detailsModel.formitem11.required, type: 'string', message: '这是分组内部内容 值不能为空', trigger: 'change' }, { required: this.detailsModel.formitem11.required, type: 'string', message: '开关 值不能为空', trigger: 'change' },
{ required: this.detailsModel.formitem11.required, type: 'string', message: '这是分组内部内容 值不能为空', trigger: 'blur' }, { required: this.detailsModel.formitem11.required, type: 'string', message: '开关 值不能为空', trigger: 'blur' },
],
formitem12: [
{ required: this.detailsModel.formitem12.required, type: 'string', message: '评分器 值不能为空', trigger: 'change' },
{ required: this.detailsModel.formitem12.required, type: 'string', message: '评分器 值不能为空', trigger: 'blur' },
],
formitem14: [
{ required: this.detailsModel.formitem14.required, type: 'string', message: '滑动输入条 值不能为空', trigger: 'change' },
{ required: this.detailsModel.formitem14.required, type: 'string', message: '滑动输入条 值不能为空', trigger: 'blur' },
],
formitem13: [
{ required: this.detailsModel.formitem13.required, type: 'string', message: '滑动输入条-范围 值不能为空', trigger: 'change' },
{ required: this.detailsModel.formitem13.required, type: 'string', message: '滑动输入条-范围 值不能为空', trigger: 'blur' },
],
formitem15: [
{ required: this.detailsModel.formitem15.required, type: 'string', message: '单行文本 值不能为空', trigger: 'change' },
{ required: this.detailsModel.formitem15.required, type: 'string', message: '单行文本 值不能为空', trigger: 'blur' },
],
formitem16: [
{ required: this.detailsModel.formitem16.required, type: 'string', message: '多行文本 值不能为空', trigger: 'change' },
{ required: this.detailsModel.formitem16.required, type: 'string', message: '多行文本 值不能为空', trigger: 'blur' },
], ],
} }
} }
...@@ -1075,7 +1470,7 @@ export default class AvueFormBase extends Vue implements ControlInterface { ...@@ -1075,7 +1470,7 @@ export default class AvueFormBase extends Vue implements ControlInterface {
public detailsModel: any = { public detailsModel: any = {
grouppanel1: new FormGroupPanelModel({ caption: '', detailType: 'GROUPPANEL', name: 'grouppanel1', visible: true, isShowCaption: true, form: this, isControlledContent: false , uiActionGroup: { caption: '', langbase: 'entities.ibizbook.avueform_form', extractMode: 'ITEM', details: [] }, isManageContainer: false, showMoreModeItems: [] }) grouppanel1: new FormGroupPanelModel({ caption: '', detailType: 'GROUPPANEL', name: 'grouppanel1', visible: true, isShowCaption: true, form: this, isControlledContent: false , uiActionGroup: { caption: '', langbase: 'entities.ibizbook.avueform_form', extractMode: 'ITEM', details: [] }, isManageContainer: false, showMoreModeItems: [] })
, ,
rawitem7: new FormRowItemModel({ caption: '', detailType: 'RAWITEM', name: 'rawitem7', visible: true, isShowCaption: true, form: this, isControlledContent: false }) grouppanel5: new FormGroupPanelModel({ caption: '', detailType: 'GROUPPANEL', name: 'grouppanel5', visible: true, isShowCaption: true, form: this, isControlledContent: false , uiActionGroup: { caption: '', langbase: 'entities.ibizbook.avueform_form', extractMode: 'ITEM', details: [] }, isManageContainer: false, showMoreModeItems: [] })
, ,
rawitem1: new FormRowItemModel({ caption: '', detailType: 'RAWITEM', name: 'rawitem1', visible: true, isShowCaption: true, form: this, isControlledContent: false }) rawitem1: new FormRowItemModel({ caption: '', detailType: 'RAWITEM', name: 'rawitem1', visible: true, isShowCaption: true, form: this, isControlledContent: false })
, ,
...@@ -1090,6 +1485,8 @@ export default class AvueFormBase extends Vue implements ControlInterface { ...@@ -1090,6 +1485,8 @@ export default class AvueFormBase extends Vue implements ControlInterface {
rawitem6: new FormRowItemModel({ caption: '', detailType: 'RAWITEM', name: 'rawitem6', visible: true, isShowCaption: true, form: this, isControlledContent: false }) rawitem6: new FormRowItemModel({ caption: '', detailType: 'RAWITEM', name: 'rawitem6', visible: true, isShowCaption: true, form: this, isControlledContent: false })
, ,
grouppanel2: new FormGroupPanelModel({ caption: '分组标题-直接内容增强', detailType: 'GROUPPANEL', name: 'grouppanel2', visible: true, isShowCaption: true, form: this, isControlledContent: false , uiActionGroup: { caption: '', langbase: 'entities.ibizbook.avueform_form', extractMode: 'ITEM', details: [] }, isManageContainer: false, showMoreModeItems: [] }) grouppanel2: new FormGroupPanelModel({ caption: '分组标题-直接内容增强', detailType: 'GROUPPANEL', name: 'grouppanel2', visible: true, isShowCaption: true, form: this, isControlledContent: false , uiActionGroup: { caption: '', langbase: 'entities.ibizbook.avueform_form', extractMode: 'ITEM', details: [] }, isManageContainer: false, showMoreModeItems: [] })
,
grouppanel3: new FormGroupPanelModel({ caption: '控件', detailType: 'GROUPPANEL', name: 'grouppanel3', visible: true, isShowCaption: true, form: this, isControlledContent: false , uiActionGroup: { caption: '', langbase: 'entities.ibizbook.avueform_form', extractMode: 'ITEM', details: [] }, isManageContainer: false, showMoreModeItems: [] })
, ,
formpage1: new FormPageModel({ caption: '', detailType: 'FORMPAGE', name: 'formpage1', visible: true, isShowCaption: true, form: this, isControlledContent: false }) formpage1: new FormPageModel({ caption: '', detailType: 'FORMPAGE', name: 'formpage1', visible: true, isShowCaption: true, form: this, isControlledContent: false })
, ,
...@@ -1128,10 +1525,44 @@ export default class AvueFormBase extends Vue implements ControlInterface { ...@@ -1128,10 +1525,44 @@ export default class AvueFormBase extends Vue implements ControlInterface {
formitem8: new FormItemModel({ caption: '级联选择器', detailType: 'FORMITEM', name: 'formitem8', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 }) formitem8: new FormItemModel({ caption: '级联选择器', detailType: 'FORMITEM', name: 'formitem8', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
, ,
formitem9: new FormItemModel({ caption: '级联选择器(多)', detailType: 'FORMITEM', name: 'formitem9', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 }) formitem9: new FormItemModel({ caption: '级联选择器(多)', detailType: 'FORMITEM', name: 'formitem9', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
formitem17: new FormItemModel({ caption: '下拉列表', detailType: 'FORMITEM', name: 'formitem17', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
formitem18: new FormItemModel({ caption: '下拉列表(多)', detailType: 'FORMITEM', name: 'formitem18', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
formitem30: new FormItemModel({ caption: '超链接', detailType: 'FORMITEM', name: 'formitem30', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
formitem29: new FormItemModel({ caption: '图片数组', detailType: 'FORMITEM', name: 'formitem29', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
formitem24: new FormItemModel({ caption: '数组选择器', detailType: 'FORMITEM', name: 'formitem24', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
formitem25: new FormItemModel({ caption: '地图选择器', detailType: 'FORMITEM', name: 'formitem25', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
formitem27: new FormItemModel({ caption: '数值范围', detailType: 'FORMITEM', name: 'formitem27', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
formitem19: new FormItemModel({ caption: '', detailType: 'FORMITEM', name: 'formitem19', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
formitem20: new FormItemModel({ caption: '', detailType: 'FORMITEM', name: 'formitem20', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
formitem26: new FormItemModel({ caption: '时间范围', detailType: 'FORMITEM', name: 'formitem26', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
formitem21: new FormItemModel({ caption: '', detailType: 'FORMITEM', name: 'formitem21', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
formitem22: new FormItemModel({ caption: '', detailType: 'FORMITEM', name: 'formitem22', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
, ,
formitem10: new FormItemModel({ caption: '', detailType: 'FORMITEM', name: 'formitem10', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 }) formitem10: new FormItemModel({ caption: '', detailType: 'FORMITEM', name: 'formitem10', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
, ,
formitem11: new FormItemModel({ caption: '这是分组内部内容', detailType: 'FORMITEM', name: 'formitem11', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 }) formitem11: new FormItemModel({ caption: '开关', detailType: 'FORMITEM', name: 'formitem11', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
formitem12: new FormItemModel({ caption: '评分器', detailType: 'FORMITEM', name: 'formitem12', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
formitem14: new FormItemModel({ caption: '滑动输入条', detailType: 'FORMITEM', name: 'formitem14', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
formitem13: new FormItemModel({ caption: '滑动输入条-范围', detailType: 'FORMITEM', name: 'formitem13', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
formitem15: new FormItemModel({ caption: '单行文本', detailType: 'FORMITEM', name: 'formitem15', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
formitem16: new FormItemModel({ caption: '多行文本', detailType: 'FORMITEM', name: 'formitem16', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
, ,
ibizbookid: new FormItemModel({ caption: '图书标识', detailType: 'FORMITEM', name: 'ibizbookid', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 }) ibizbookid: new FormItemModel({ caption: '图书标识', detailType: 'FORMITEM', name: 'ibizbookid', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
, ,
...@@ -1353,6 +1784,150 @@ export default class AvueFormBase extends Vue implements ControlInterface { ...@@ -1353,6 +1784,150 @@ export default class AvueFormBase extends Vue implements ControlInterface {
this.formDataChange({ name: 'formitem9', newVal: newVal, oldVal: oldVal }); this.formDataChange({ name: 'formitem9', newVal: newVal, oldVal: oldVal });
} }
/**
* 监控表单属性 formitem17 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof AvueFormBase
*/
@Watch('data.formitem17')
onFormitem17Change(newVal: any, oldVal: any) {
this.formDataChange({ name: 'formitem17', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 formitem18 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof AvueFormBase
*/
@Watch('data.formitem18')
onFormitem18Change(newVal: any, oldVal: any) {
this.formDataChange({ name: 'formitem18', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 formitem30 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof AvueFormBase
*/
@Watch('data.formitem30')
onFormitem30Change(newVal: any, oldVal: any) {
this.formDataChange({ name: 'formitem30', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 formitem29 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof AvueFormBase
*/
@Watch('data.formitem29')
onFormitem29Change(newVal: any, oldVal: any) {
this.formDataChange({ name: 'formitem29', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 formitem24 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof AvueFormBase
*/
@Watch('data.formitem24')
onFormitem24Change(newVal: any, oldVal: any) {
this.formDataChange({ name: 'formitem24', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 formitem25 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof AvueFormBase
*/
@Watch('data.formitem25')
onFormitem25Change(newVal: any, oldVal: any) {
this.formDataChange({ name: 'formitem25', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 formitem27 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof AvueFormBase
*/
@Watch('data.formitem27')
onFormitem27Change(newVal: any, oldVal: any) {
this.formDataChange({ name: 'formitem27', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 formitem19 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof AvueFormBase
*/
@Watch('data.formitem19')
onFormitem19Change(newVal: any, oldVal: any) {
this.formDataChange({ name: 'formitem19', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 formitem20 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof AvueFormBase
*/
@Watch('data.formitem20')
onFormitem20Change(newVal: any, oldVal: any) {
this.formDataChange({ name: 'formitem20', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 formitem26 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof AvueFormBase
*/
@Watch('data.formitem26')
onFormitem26Change(newVal: any, oldVal: any) {
this.formDataChange({ name: 'formitem26', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 formitem21 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof AvueFormBase
*/
@Watch('data.formitem21')
onFormitem21Change(newVal: any, oldVal: any) {
this.formDataChange({ name: 'formitem21', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 formitem22 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof AvueFormBase
*/
@Watch('data.formitem22')
onFormitem22Change(newVal: any, oldVal: any) {
this.formDataChange({ name: 'formitem22', newVal: newVal, oldVal: oldVal });
}
/** /**
* 监控表单属性 formitem10 值 * 监控表单属性 formitem10 值
* *
...@@ -1377,6 +1952,66 @@ export default class AvueFormBase extends Vue implements ControlInterface { ...@@ -1377,6 +1952,66 @@ export default class AvueFormBase extends Vue implements ControlInterface {
this.formDataChange({ name: 'formitem11', newVal: newVal, oldVal: oldVal }); this.formDataChange({ name: 'formitem11', newVal: newVal, oldVal: oldVal });
} }
/**
* 监控表单属性 formitem12 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof AvueFormBase
*/
@Watch('data.formitem12')
onFormitem12Change(newVal: any, oldVal: any) {
this.formDataChange({ name: 'formitem12', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 formitem14 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof AvueFormBase
*/
@Watch('data.formitem14')
onFormitem14Change(newVal: any, oldVal: any) {
this.formDataChange({ name: 'formitem14', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 formitem13 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof AvueFormBase
*/
@Watch('data.formitem13')
onFormitem13Change(newVal: any, oldVal: any) {
this.formDataChange({ name: 'formitem13', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 formitem15 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof AvueFormBase
*/
@Watch('data.formitem15')
onFormitem15Change(newVal: any, oldVal: any) {
this.formDataChange({ name: 'formitem15', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 formitem16 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof AvueFormBase
*/
@Watch('data.formitem16')
onFormitem16Change(newVal: any, oldVal: any) {
this.formDataChange({ name: 'formitem16', newVal: newVal, oldVal: oldVal });
}
/** /**
* 监控表单属性 ibizbookid 值 * 监控表单属性 ibizbookid 值
* *
...@@ -1510,6 +2145,24 @@ export default class AvueFormBase extends Vue implements ControlInterface { ...@@ -1510,6 +2145,24 @@ export default class AvueFormBase extends Vue implements ControlInterface {
......
...@@ -102,6 +102,50 @@ export default class AvueFormModel { ...@@ -102,6 +102,50 @@ export default class AvueFormModel {
name: 'formitem9', name: 'formitem9',
dataType:'FORMITEM', dataType:'FORMITEM',
}, },
{
name: 'formitem17',
dataType:'FORMITEM',
},
{
name: 'formitem18',
dataType:'FORMITEM',
},
{
name: 'formitem30',
dataType:'FORMITEM',
},
{
name: 'formitem29',
dataType:'FORMITEM',
},
{
name: 'formitem24',
dataType:'FORMITEM',
},
{
name: 'formitem25',
dataType:'FORMITEM',
},
{
name: 'formitem27',
dataType:'FORMITEM',
},
{
name: 'formitem19',
},
{
name: 'formitem20',
},
{
name: 'formitem26',
dataType:'FORMITEM',
},
{
name: 'formitem21',
},
{
name: 'formitem22',
},
{ {
name: 'formitem10', name: 'formitem10',
dataType:'FORMITEM', dataType:'FORMITEM',
...@@ -110,6 +154,26 @@ export default class AvueFormModel { ...@@ -110,6 +154,26 @@ export default class AvueFormModel {
name: 'formitem11', name: 'formitem11',
dataType:'FORMITEM', dataType:'FORMITEM',
}, },
{
name: 'formitem12',
dataType:'FORMITEM',
},
{
name: 'formitem14',
dataType:'FORMITEM',
},
{
name: 'formitem13',
dataType:'FORMITEM',
},
{
name: 'formitem15',
dataType:'FORMITEM',
},
{
name: 'formitem16',
dataType:'FORMITEM',
},
{ {
name: 'ibizbookid', name: 'ibizbookid',
prop: 'ibizbookid', prop: 'ibizbookid',
......
...@@ -719,7 +719,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -719,7 +719,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/ */
public load(opt: any = {}): void { public load(opt: any = {}): void {
if(!this.loadAction){ if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKGroupByCodelistListView' + (this.$t('app.searchForm.notConfig.loadAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr9GridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -755,7 +755,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -755,7 +755,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/ */
public async loadDraft(opt: any = {},mode?:string): Promise<any> { public async loadDraft(opt: any = {},mode?:string): Promise<any> {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKGroupByCodelistListView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr9GridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
......
...@@ -2167,5 +2167,4 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -2167,5 +2167,4 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
<style lang='less'> <style lang='less'>
@import './guide-return-form-form.less'; @import './guide-return-form-form.less';
</style>less';
</style> </style>
\ No newline at end of file
...@@ -1772,7 +1772,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1772,7 +1772,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/ */
public async load(opt: any = {}): Promise<any> { public async load(opt: any = {}): Promise<any> {
if(!this.loadAction){ if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr9EditView' + (this.$t('app.formpage.notconfig.loadaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr6EditView' + (this.$t('app.formpage.notconfig.loadaction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -1819,7 +1819,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1819,7 +1819,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/ */
public async loadDraft(opt: any = {}): Promise<any> { public async loadDraft(opt: any = {}): Promise<any> {
if (!this.loaddraftAction) { if (!this.loaddraftAction) {
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr9EditView' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr6EditView' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
...@@ -1890,7 +1890,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1890,7 +1890,7 @@ export default class MainBase extends Vue implements ControlInterface {
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction; const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){ if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction"; let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr9EditView' + (this.$t('app.formpage.notconfig.actionname') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr6EditView' + (this.$t('app.formpage.notconfig.actionname') as string) });
return; return;
} }
Object.assign(arg,{viewparams:this.viewparams}); Object.assign(arg,{viewparams:this.viewparams});
...@@ -2000,7 +2000,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2000,7 +2000,7 @@ export default class MainBase extends Vue implements ControlInterface {
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction; const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){ if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction"; let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr9EditView' + (this.$t('app.formpage.notconfig.actionname') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr6EditView' + (this.$t('app.formpage.notconfig.actionname') as string) });
return; return;
} }
Object.assign(arg, { viewparams: this.viewparams }); Object.assign(arg, { viewparams: this.viewparams });
...@@ -2095,7 +2095,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2095,7 +2095,7 @@ export default class MainBase extends Vue implements ControlInterface {
public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> { public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> {
return new Promise((resolve: any, reject: any) => { return new Promise((resolve: any, reject: any) => {
if(!this.removeAction){ if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr9EditView' + (this.$t('app.formpage.notconfig.removeaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr6EditView' + (this.$t('app.formpage.notconfig.removeaction') as string) });
return; return;
} }
const arg: any = opt[0]; const arg: any = opt[0];
......
...@@ -673,7 +673,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface ...@@ -673,7 +673,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
*/ */
public load(opt: any = {}): void { public load(opt: any = {}): void {
if(!this.loadAction){ if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCalendarView' + (this.$t('app.searchForm.notConfig.loadAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKListView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -709,7 +709,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface ...@@ -709,7 +709,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
*/ */
public async loadDraft(opt: any = {},mode?:string): Promise<any> { public async loadDraft(opt: any = {},mode?:string): Promise<any> {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCalendarView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKListView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
......
...@@ -48,18 +48,18 @@ ...@@ -48,18 +48,18 @@
<div v-show="flag" class="batch-toolbar"> <div v-show="flag" class="batch-toolbar">
<div class='toolbar-container'> <div class='toolbar-container'>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="dataviewexpviewdataviewexpbar_dataview_batchtoolbarModels.deuiaction1.visabled" :disabled="dataviewexpviewdataviewexpbar_dataview_batchtoolbarModels.deuiaction1.disabled" class='' v-button-loading:i-button @click="dataviewexpbar_dataview_batchtoolbar_click({ tag: 'deuiaction1' }, $event)"> <i-button v-show="usr2dataviewdataview_batchtoolbarModels.deuiaction1.visabled" :disabled="usr2dataviewdataview_batchtoolbarModels.deuiaction1.disabled" class='' v-button-loading:i-button @click="dataview_batchtoolbar_click({ tag: 'deuiaction1' }, $event)">
<i class='fa fa-edit'></i> <i class='fa fa-edit'></i>
<span class='caption'>{{$t('entities.ibizbook.dataviewexpviewdataviewexpbar_dataview_batchtoolbar_toolbar.deuiaction1.caption')}}</span> <span class='caption'>{{$t('entities.ibizbook.usr2dataviewdataview_batchtoolbar_toolbar.deuiaction1.caption')}}</span>
</i-button> </i-button>
<div slot='content'>{{$t('entities.ibizbook.dataviewexpviewdataviewexpbar_dataview_batchtoolbar_toolbar.deuiaction1.tip')}}</div> <div slot='content'>{{$t('entities.ibizbook.usr2dataviewdataview_batchtoolbar_toolbar.deuiaction1.tip')}}</div>
</tooltip> </tooltip>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="dataviewexpviewdataviewexpbar_dataview_batchtoolbarModels.deuiaction2.visabled" :disabled="dataviewexpviewdataviewexpbar_dataview_batchtoolbarModels.deuiaction2.disabled" class='' v-button-loading:i-button @click="dataviewexpbar_dataview_batchtoolbar_click({ tag: 'deuiaction2' }, $event)"> <i-button v-show="usr2dataviewdataview_batchtoolbarModels.deuiaction2.visabled" :disabled="usr2dataviewdataview_batchtoolbarModels.deuiaction2.disabled" class='' v-button-loading:i-button @click="dataview_batchtoolbar_click({ tag: 'deuiaction2' }, $event)">
<i class='fa fa-remove'></i> <i class='fa fa-remove'></i>
<span class='caption'>{{$t('entities.ibizbook.dataviewexpviewdataviewexpbar_dataview_batchtoolbar_toolbar.deuiaction2.caption')}}</span> <span class='caption'>{{$t('entities.ibizbook.usr2dataviewdataview_batchtoolbar_toolbar.deuiaction2.caption')}}</span>
</i-button> </i-button>
<div slot='content'>{{$t('entities.ibizbook.dataviewexpviewdataviewexpbar_dataview_batchtoolbar_toolbar.deuiaction2.tip')}}</div> <div slot='content'>{{$t('entities.ibizbook.usr2dataviewdataview_batchtoolbar_toolbar.deuiaction2.tip')}}</div>
</tooltip> </tooltip>
</div> </div>
</div> </div>
...@@ -202,18 +202,18 @@ export default class Usr2Base extends Vue implements ControlInterface { ...@@ -202,18 +202,18 @@ export default class Usr2Base extends Vue implements ControlInterface {
public appEntityService: IBIZBOOKEntityService = new IBIZBOOKEntityService({ $store: this.$store }); public appEntityService: IBIZBOOKEntityService = new IBIZBOOKEntityService({ $store: this.$store });
/** /**
* dataviewexpbar_dataview_batchtoolbar 部件 click 事件 * dataview_batchtoolbar 部件 click 事件
* *
* @param {*} [args={}] * @param {*} [args={}]
* @param {*} $event * @param {*} $event
* @memberof Usr2Base * @memberof Usr2Base
*/ */
public dataviewexpbar_dataview_batchtoolbar_click($event: any, $event2?: any) { public dataview_batchtoolbar_click($event: any, $event2?: any) {
if (Object.is($event.tag, 'deuiaction1')) { if (Object.is($event.tag, 'deuiaction1')) {
this.dataviewexpbar_dataview_batchtoolbar_deuiaction1_click(null, 'dataviewexpbar_dataview_batchtoolbar', $event2); this.dataview_batchtoolbar_deuiaction1_click(null, 'dataview_batchtoolbar', $event2);
} }
if (Object.is($event.tag, 'deuiaction2')) { if (Object.is($event.tag, 'deuiaction2')) {
this.dataviewexpbar_dataview_batchtoolbar_deuiaction2_click(null, 'dataviewexpbar_dataview_batchtoolbar', $event2); this.dataview_batchtoolbar_deuiaction2_click(null, 'dataview_batchtoolbar', $event2);
} }
} }
...@@ -226,7 +226,7 @@ export default class Usr2Base extends Vue implements ControlInterface { ...@@ -226,7 +226,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
* @param {*} [$event] * @param {*} [$event]
* @memberof * @memberof
*/ */
public dataviewexpbar_dataview_batchtoolbar_deuiaction1_click(params: any = {}, tag?: any, $event?: any) { public dataview_batchtoolbar_deuiaction1_click(params: any = {}, tag?: any, $event?: any) {
// 参数 // 参数
// 取数 // 取数
let datas: any[] = []; let datas: any[] = [];
...@@ -254,7 +254,7 @@ export default class Usr2Base extends Vue implements ControlInterface { ...@@ -254,7 +254,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
* @param {*} [$event] * @param {*} [$event]
* @memberof * @memberof
*/ */
public dataviewexpbar_dataview_batchtoolbar_deuiaction2_click(params: any = {}, tag?: any, $event?: any) { public dataview_batchtoolbar_deuiaction2_click(params: any = {}, tag?: any, $event?: any) {
// 参数 // 参数
// 取数 // 取数
let datas: any[] = []; let datas: any[] = [];
...@@ -282,7 +282,7 @@ export default class Usr2Base extends Vue implements ControlInterface { ...@@ -282,7 +282,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
* @param {*} [$event] * @param {*} [$event]
* @memberof * @memberof
*/ */
public dataviewexpbar_dataview_memo1_u37f11a8_click(params: any = {}, tag?: any, $event?: any) { public dataview_memo1_u37f11a8_click(params: any = {}, tag?: any, $event?: any) {
// 取数 // 取数
let datas: any[] = []; let datas: any[] = [];
let xData: any = null; let xData: any = null;
...@@ -309,7 +309,7 @@ export default class Usr2Base extends Vue implements ControlInterface { ...@@ -309,7 +309,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
* @param {*} [$event] * @param {*} [$event]
* @memberof * @memberof
*/ */
public dataviewexpbar_dataview_memo1_uc365542_click(params: any = {}, tag?: any, $event?: any) { public dataview_memo1_uc365542_click(params: any = {}, tag?: any, $event?: any) {
// 取数 // 取数
let datas: any[] = []; let datas: any[] = [];
let xData: any = null; let xData: any = null;
...@@ -337,7 +337,7 @@ export default class Usr2Base extends Vue implements ControlInterface { ...@@ -337,7 +337,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
* @param {*} [$event] 事件源 * @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件 * @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文 * @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOKDataViewExpViewBase * @memberof IBIZBOOKUsr2DataViewBase
*/ */
public Edit(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) { public Edit(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
if (args.length === 0) { if (args.length === 0) {
...@@ -363,7 +363,7 @@ export default class Usr2Base extends Vue implements ControlInterface { ...@@ -363,7 +363,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
* @param {*} [$event] 事件源 * @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件 * @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文 * @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOKDataViewExpViewBase * @memberof IBIZBOOKUsr2DataViewBase
*/ */
public Remove(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) { public Remove(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this; const _this: any = this;
...@@ -427,12 +427,6 @@ export default class Usr2Base extends Vue implements ControlInterface { ...@@ -427,12 +427,6 @@ export default class Usr2Base extends Vue implements ControlInterface {
} }
let result: boolean = true; let result: boolean = true;
Object.assign(actionData, args); Object.assign(actionData, args);
if ('selectionchange'.indexOf(eventName) !== -1) {
result = await this.execute_dataviewexpbar_selectionchange_ctrl_logic(actionData) && result;
}
if ('load'.indexOf(eventName) !== -1) {
result = await this.execute_dataviewexpbar_load_ctrl_logic(actionData) && result;
}
if (!result) { if (!result) {
return false; return false;
} }
...@@ -440,30 +434,6 @@ export default class Usr2Base extends Vue implements ControlInterface { ...@@ -440,30 +434,6 @@ export default class Usr2Base extends Vue implements ControlInterface {
return true; return true;
} }
/**
* 部件逻辑 -- dataviewexpbar_selectionchange
*
* @param {string} eventName 部件事件名称
* @param {any[]} data 数据
* @param {*} event 源事件对象
* @memberof Usr2Base
*/
public async execute_dataviewexpbar_selectionchange_ctrl_logic(actionData: any): Promise<boolean> {
console.log('暂未支持 CUSTOM 类型');
return true;
}
/**
* 部件逻辑 -- dataviewexpbar_load
*
* @param {string} eventName 部件事件名称
* @param {any[]} data 数据
* @param {*} event 源事件对象
* @memberof Usr2Base
*/
public async execute_dataviewexpbar_load_ctrl_logic(actionData: any): Promise<boolean> {
console.log('暂未支持 CUSTOM 类型');
return true;
}
...@@ -708,9 +678,9 @@ export default class Usr2Base extends Vue implements ControlInterface { ...@@ -708,9 +678,9 @@ export default class Usr2Base extends Vue implements ControlInterface {
* 工具栏模型 * 工具栏模型
* *
* @type {*} * @type {*}
* @memberof IBIZBOOKDataViewExpView * @memberof IBIZBOOKUsr2DataView
*/ */
public dataviewexpviewdataviewexpbar_dataview_batchtoolbarModels: any = { public usr2dataviewdataview_batchtoolbarModels: any = {
deuiaction1: { name: 'deuiaction1', actiontarget: 'NONE', caption: '编辑', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Edit', target: 'SINGLEKEY' } }, deuiaction1: { name: 'deuiaction1', actiontarget: 'NONE', caption: '编辑', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Edit', target: 'SINGLEKEY' } },
deuiaction2: { name: 'deuiaction2', actiontarget: 'NONE', caption: '删除', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Remove', target: 'MULTIKEY' } }, deuiaction2: { name: 'deuiaction2', actiontarget: 'NONE', caption: '删除', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Remove', target: 'MULTIKEY' } },
...@@ -1035,7 +1005,7 @@ export default class Usr2Base extends Vue implements ControlInterface { ...@@ -1035,7 +1005,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
*/ */
public async load(opt: any = {}, isReset: boolean = false): Promise<any> { public async load(opt: any = {}, isReset: boolean = false): Promise<any> {
if(!this.fetchAction){ if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKDataViewExpView' + (this.$t('app.list.notConfig.fetchAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr2DataView' + (this.$t('app.list.notConfig.fetchAction') as string) });
return; return;
} }
const arg: any = {...opt}; const arg: any = {...opt};
...@@ -1130,7 +1100,7 @@ export default class Usr2Base extends Vue implements ControlInterface { ...@@ -1130,7 +1100,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
*/ */
public async remove(datas: any[]): Promise<any> { public async remove(datas: any[]): Promise<any> {
if(!this.removeAction){ if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKDataViewExpView' + (this.$t('app.gridpage.notConfig.removeAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr2DataView' + (this.$t('app.gridpage.notConfig.removeAction') as string) });
return; return;
} }
let _datas:any[] = []; let _datas:any[] = [];
...@@ -1247,7 +1217,7 @@ export default class Usr2Base extends Vue implements ControlInterface { ...@@ -1247,7 +1217,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
try { try {
if(Object.is(item.rowDataState, 'create')){ if(Object.is(item.rowDataState, 'create')){
if(!this.createAction){ if(!this.createAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKDataViewExpView' + (this.$t('app.list.notConfig.createAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr2DataView' + (this.$t('app.list.notConfig.createAction') as string) });
}else{ }else{
Object.assign(item,{viewparams:this.viewparams}); Object.assign(item,{viewparams:this.viewparams});
let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator); let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator);
...@@ -1255,7 +1225,7 @@ export default class Usr2Base extends Vue implements ControlInterface { ...@@ -1255,7 +1225,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
} }
}else if(Object.is(item.rowDataState, 'update')){ }else if(Object.is(item.rowDataState, 'update')){
if(!this.updateAction){ if(!this.updateAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKDataViewExpView' + (this.$t('app.list.notConfig.updateAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr2DataView' + (this.$t('app.list.notConfig.updateAction') as string) });
}else{ }else{
Object.assign(item,{viewparams:this.viewparams}); Object.assign(item,{viewparams:this.viewparams});
if(item.ibizbook){ if(item.ibizbook){
...@@ -1357,16 +1327,16 @@ export default class Usr2Base extends Vue implements ControlInterface { ...@@ -1357,16 +1327,16 @@ export default class Usr2Base extends Vue implements ControlInterface {
public uiAction(data: any, tag: any, $event: any) { public uiAction(data: any, tag: any, $event: any) {
$event.stopPropagation(); $event.stopPropagation();
if(Object.is('Edit', tag)) { if(Object.is('Edit', tag)) {
this.dataviewexpbar_dataview_batchtoolbar_deuiaction1_click(data, tag, $event); this.dataview_batchtoolbar_deuiaction1_click(data, tag, $event);
} }
if(Object.is('Remove', tag)) { if(Object.is('Remove', tag)) {
this.dataviewexpbar_dataview_batchtoolbar_deuiaction2_click(data, tag, $event); this.dataview_batchtoolbar_deuiaction2_click(data, tag, $event);
} }
if(Object.is('Edit', tag)) { if(Object.is('Edit', tag)) {
this.dataviewexpbar_dataview_memo1_u37f11a8_click(data, tag, $event); this.dataview_memo1_u37f11a8_click(data, tag, $event);
} }
if(Object.is('Remove', tag)) { if(Object.is('Remove', tag)) {
this.dataviewexpbar_dataview_memo1_uc365542_click(data, tag, $event); this.dataview_memo1_uc365542_click(data, tag, $event);
} }
} }
......
...@@ -11,7 +11,7 @@ export default class Usr2Model { ...@@ -11,7 +11,7 @@ export default class Usr2Model {
* 获取数据项集合 * 获取数据项集合
* *
* @returns {any[]} * @returns {any[]}
* @memberof Usr2Dataviewexpbar_dataviewMode * @memberof Usr2DataViewMode
*/ */
public getDataItems(): any[] { public getDataItems(): any[] {
return [ return [
...@@ -43,6 +43,17 @@ export default class Usr2Model { ...@@ -43,6 +43,17 @@ export default class Usr2Model {
dataType: 'FONTKEY', dataType: 'FONTKEY',
}, },
{
name: 'n_ibizbookname_like',
prop: 'n_ibizbookname_like',
dataType: 'QUERYPARAM'
},
{
name: 'n_price_gtandeq',
prop: 'n_price_gtandeq',
dataType: 'QUERYPARAM'
},
{ {
name:'size', name:'size',
......
...@@ -134,12 +134,67 @@ ...@@ -134,12 +134,67 @@
}, { }, {
"id" : "formitem9", "id" : "formitem9",
"dataType" : 25 "dataType" : 25
}, {
"id" : "formitem17",
"dataType" : 25
}, {
"id" : "formitem18",
"dataType" : 25
}, {
"id" : "formitem30",
"dataType" : 25
}, {
"id" : "formitem29",
"dataType" : 25
}, {
"id" : "formitem24",
"dataType" : 25
}, {
"id" : "formitem25",
"dataType" : 25
}, {
"id" : "formitem27",
"dataType" : 25
}, {
"id" : "formitem19",
"hidden" : true,
"dataType" : 25
}, {
"id" : "formitem20",
"hidden" : true,
"dataType" : 25
}, {
"id" : "formitem26",
"dataType" : 25
}, {
"id" : "formitem21",
"hidden" : true,
"dataType" : 25
}, {
"id" : "formitem22",
"hidden" : true,
"dataType" : 25
}, { }, {
"id" : "formitem10", "id" : "formitem10",
"dataType" : 25 "dataType" : 25
}, { }, {
"id" : "formitem11", "id" : "formitem11",
"dataType" : 25 "dataType" : 25
}, {
"id" : "formitem12",
"dataType" : 25
}, {
"id" : "formitem14",
"dataType" : 25
}, {
"id" : "formitem13",
"dataType" : 25
}, {
"id" : "formitem15",
"dataType" : 25
}, {
"id" : "formitem16",
"dataType" : 25
}, { }, {
"id" : "ibizbookid", "id" : "ibizbookid",
"hidden" : true, "hidden" : true,
...@@ -558,37 +613,64 @@ ...@@ -558,37 +613,64 @@
"needCodeListConfig" : true, "needCodeListConfig" : true,
"showCaption" : true "showCaption" : true
}, { }, {
"codeName" : "formitem10", "caption" : "下拉列表",
"codeName" : "formitem17",
"dataType" : 25, "dataType" : 25,
"detailStyle" : "DEFAULT", "detailStyle" : "DEFAULT",
"detailType" : "FORMITEM", "detailType" : "FORMITEM",
"enableCond" : 3, "enableCond" : 3,
"ignoreInput" : 0, "ignoreInput" : 0,
"labelPos" : "LEFT", "labelPos" : "LEFT",
"labelWidth" : 0, "labelWidth" : 130,
"mOSFilePath" : "psdeformdetail_formitems/formitem10", "mOSFilePath" : "psdeformdetail_formitems/formitem17",
"name" : "formitem10", "name" : "formitem17",
"noPrivDisplayMode" : 1, "noPrivDisplayMode" : 1,
"getPSEditor" : { "getPSEditor" : {
"editorParams" : { "editorType" : "DROPDOWNLIST",
"fontWeight" : "600", "name" : "formitem17",
"color" : "red", "getPSAppCodeList" : {
"textAlign" : "center", "modelref" : true,
"fontSize" : "16px", "path" : "PSSYSAPPS/Web/PSAPPCODELISTS/BookSailState.json"
"value" : "这是标题"
}, },
"editorStyle" : "TITLE", "singleSelect" : true
"editorType" : "SPAN",
"name" : "formitem10",
"enableLinkView" : false
}, },
"getPSLayoutPos" : { "getPSLayoutPos" : {
"colMD" : 24, "colMD" : 24,
"layout" : "TABLE_24COL" "layout" : "TABLE_24COL"
}, },
"rTMOSFilePath" : "psdeformdetail_formitems/formitem10", "rTMOSFilePath" : "psdeformdetail_formitems/formitem17",
"allowEmpty" : true, "allowEmpty" : true,
"emptyCaption" : true, "needCodeListConfig" : true,
"showCaption" : true
}, {
"caption" : "下拉列表(多)",
"codeName" : "formitem18",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"mOSFilePath" : "psdeformdetail_formitems/formitem18",
"name" : "formitem18",
"noPrivDisplayMode" : 1,
"getPSEditor" : {
"editorType" : "MDROPDOWNLIST",
"name" : "formitem18",
"getPSAppCodeList" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPCODELISTS/BookSailState.json"
},
"singleSelect" : false
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "psdeformdetail_formitems/formitem18",
"allowEmpty" : true,
"needCodeListConfig" : true,
"showCaption" : true "showCaption" : true
} ], } ],
"getPSLayout" : { "getPSLayout" : {
...@@ -608,34 +690,314 @@ ...@@ -608,34 +690,314 @@
"showCaption" : true "showCaption" : true
}, { }, {
"actionGroupExtractMode" : "ITEM", "actionGroupExtractMode" : "ITEM",
"caption" : "分组标题-直接内容增强", "codeName" : "grouppanel5",
"codeName" : "grouppanel2",
"detailStyle" : "DEFAULT", "detailStyle" : "DEFAULT",
"detailType" : "GROUPPANEL", "detailType" : "GROUPPANEL",
"mOSFilePath" : "psdeformdetail_grouppanels/grouppanel2", "mOSFilePath" : "psdeformdetail_grouppanels/grouppanel5",
"name" : "grouppanel2", "name" : "grouppanel5",
"getPSDEFormDetails" : [ { "getPSDEFormDetails" : [ {
"codeName" : "rawitem7", "caption" : "超链接",
"contentType" : "RAW", "codeName" : "formitem30",
"dataType" : 25,
"detailStyle" : "DEFAULT", "detailStyle" : "DEFAULT",
"detailType" : "RAWITEM", "detailType" : "FORMITEM",
"mOSFilePath" : "psdeformdetail_rawitems/rawitem7", "enableCond" : 3,
"name" : "rawitem7", "ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"mOSFilePath" : "psdeformdetail_formitems/formitem30",
"name" : "formitem30",
"noPrivDisplayMode" : 1,
"getPSEditor" : {
"editorParams" : {
"append" : ".com",
"editorType" : "link",
"prepend" : "http://www.",
"maxlength" : "8",
"size" : "small",
"showWordLimit" : "true"
},
"editorType" : "ARRAY",
"name" : "formitem30"
},
"getPSLayoutPos" : { "getPSLayoutPos" : {
"colMD" : 24, "colMD" : 24,
"layout" : "TABLE_24COL" "layout" : "TABLE_24COL"
}, },
"getPSRawItem" : { "rTMOSFilePath" : "psdeformdetail_formitems/formitem30",
"caption" : "{title:'直接内容标题',content:'纯纯的直接内容'}", "allowEmpty" : true,
"contentType" : "RAW", "showCaption" : true
"name" : "rawitem7" }, {
"caption" : "图片数组",
"codeName" : "formitem29",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"mOSFilePath" : "psdeformdetail_formitems/formitem29",
"name" : "formitem29",
"noPrivDisplayMode" : 1,
"getPSEditor" : {
"editorParams" : {
"editorType" : "img",
"limit" : "5"
}, },
"rTMOSFilePath" : "psdeformdetail_rawitems/rawitem7", "editorType" : "ARRAY",
"rawContent" : "{title:'直接内容标题',content:'纯纯的直接内容'}", "name" : "formitem29"
"rawItemHeight" : -1.0, },
"rawItemWidth" : -1.0, "getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "psdeformdetail_formitems/formitem29",
"allowEmpty" : true,
"showCaption" : true
}, {
"caption" : "数组选择器",
"codeName" : "formitem24",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"mOSFilePath" : "psdeformdetail_formitems/formitem24",
"name" : "formitem24",
"noPrivDisplayMode" : 1,
"getPSEditor" : {
"editorParams" : {
"editorType" : "default",
"readonly" : "true"
},
"editorType" : "ARRAY",
"name" : "formitem24"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "psdeformdetail_formitems/formitem24",
"allowEmpty" : true,
"showCaption" : true
}, {
"caption" : "地图选择器",
"codeName" : "formitem25",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"mOSFilePath" : "psdeformdetail_formitems/formitem25",
"name" : "formitem25",
"noPrivDisplayMode" : 1,
"getPSEditor" : {
"editorType" : "MAPPICKER",
"name" : "formitem25"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "psdeformdetail_formitems/formitem25",
"allowEmpty" : true,
"showCaption" : true
}, {
"caption" : "数值范围",
"codeName" : "formitem27",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"mOSFilePath" : "psdeformdetail_formitems/formitem27",
"name" : "formitem27",
"noPrivDisplayMode" : 1,
"getPSEditor" : {
"editorType" : "NUMBERRANGE",
"name" : "formitem27",
"getPSEditorItems" : [ {
"name" : "formitem19"
}, {
"name" : "formitem20"
} ]
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "psdeformdetail_formitems/formitem27",
"valueItemName" : "formitem19",
"allowEmpty" : true,
"showCaption" : true
}, {
"codeName" : "formitem19",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"mOSFilePath" : "psdeformdetail_formitems/formitem19",
"name" : "formitem19",
"noPrivDisplayMode" : 1,
"getPSEditor" : {
"editorType" : "HIDDEN",
"name" : "formitem19"
},
"getPSLayoutPos" : {
"colLG" : 12,
"colMD" : 12,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "psdeformdetail_formitems/formitem19",
"allowEmpty" : true,
"hidden" : true,
"showCaption" : true
}, {
"codeName" : "formitem20",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"mOSFilePath" : "psdeformdetail_formitems/formitem20",
"name" : "formitem20",
"noPrivDisplayMode" : 1,
"getPSEditor" : {
"editorType" : "HIDDEN",
"name" : "formitem20"
},
"getPSLayoutPos" : {
"colLG" : 12,
"colMD" : 12,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "psdeformdetail_formitems/formitem20",
"allowEmpty" : true,
"hidden" : true,
"showCaption" : true "showCaption" : true
}, { }, {
"caption" : "时间范围",
"codeName" : "formitem26",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"mOSFilePath" : "psdeformdetail_formitems/formitem26",
"name" : "formitem26",
"noPrivDisplayMode" : 1,
"getPSEditor" : {
"editorParams" : {
"unlinkPanels" : "true",
"type" : "date",
"endPlaceholder" : "小飞棍儿跑咯",
"startPlaceholder" : "小飞棍儿来咯"
},
"editorType" : "DATERANGE",
"name" : "formitem26",
"getPSEditorItems" : [ {
"name" : "formitem21"
}, {
"name" : "formitem22"
} ]
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "psdeformdetail_formitems/formitem26",
"valueItemName" : "formitem21",
"allowEmpty" : true,
"showCaption" : true
}, {
"codeName" : "formitem21",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"mOSFilePath" : "psdeformdetail_formitems/formitem21",
"name" : "formitem21",
"noPrivDisplayMode" : 1,
"getPSEditor" : {
"editorType" : "HIDDEN",
"name" : "formitem21"
},
"getPSLayoutPos" : {
"colLG" : 12,
"colMD" : 12,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "psdeformdetail_formitems/formitem21",
"allowEmpty" : true,
"hidden" : true,
"showCaption" : true
}, {
"codeName" : "formitem22",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"mOSFilePath" : "psdeformdetail_formitems/formitem22",
"name" : "formitem22",
"noPrivDisplayMode" : 1,
"getPSEditor" : {
"editorType" : "HIDDEN",
"name" : "formitem22"
},
"getPSLayoutPos" : {
"colLG" : 12,
"colMD" : 12,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "psdeformdetail_formitems/formitem22",
"allowEmpty" : true,
"hidden" : true,
"showCaption" : true
} ],
"getPSLayout" : {
"childColLG" : -1,
"childColMD" : 24,
"childColSM" : -1,
"childColXS" : -1,
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "psdeformdetail_grouppanels/grouppanel5",
"infoGroupMode" : false,
"showCaption" : true
}, {
"actionGroupExtractMode" : "ITEM",
"caption" : "分组标题-直接内容增强",
"codeName" : "grouppanel2",
"detailStyle" : "DEFAULT",
"detailType" : "GROUPPANEL",
"mOSFilePath" : "psdeformdetail_grouppanels/grouppanel2",
"name" : "grouppanel2",
"getPSDEFormDetails" : [ {
"codeName" : "rawitem1", "codeName" : "rawitem1",
"contentType" : "VIDEO", "contentType" : "VIDEO",
"detailStyle" : "DEFAULT", "detailStyle" : "DEFAULT",
...@@ -768,7 +1130,69 @@ ...@@ -768,7 +1130,69 @@
"rawItemWidth" : -1.0, "rawItemWidth" : -1.0,
"showCaption" : true "showCaption" : true
}, { }, {
"caption" : "这是分组内部内容", "codeName" : "formitem10",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 0,
"mOSFilePath" : "psdeformdetail_formitems/formitem10",
"name" : "formitem10",
"noPrivDisplayMode" : 1,
"getPSEditor" : {
"editorParams" : {
"fontWeight" : "600",
"color" : "red",
"textAlign" : "center",
"fontSize" : "16px",
"value" : "这是标题"
},
"editorStyle" : "TITLE",
"editorType" : "SPAN",
"name" : "formitem10",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "psdeformdetail_formitems/formitem10",
"allowEmpty" : true,
"emptyCaption" : true,
"showCaption" : true
} ],
"getPSLayout" : {
"childColLG" : -1,
"childColMD" : 24,
"childColSM" : -1,
"childColXS" : -1,
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"getPSSysImage" : {
"glyph" : "xf1b2@FontAwesome",
"cssClass" : "fa fa-cube"
},
"rTMOSFilePath" : "psdeformdetail_grouppanels/grouppanel2",
"titleBarCloseMode" : 1,
"infoGroupMode" : false,
"showCaption" : true
}, {
"actionGroupExtractMode" : "ITEM",
"caption" : "控件",
"codeName" : "grouppanel3",
"detailStyle" : "DEFAULT",
"detailType" : "GROUPPANEL",
"mOSFilePath" : "psdeformdetail_grouppanels/grouppanel3",
"name" : "grouppanel3",
"getPSDEFormDetails" : [ {
"caption" : "开关",
"codeName" : "formitem11", "codeName" : "formitem11",
"dataType" : 25, "dataType" : 25,
"detailStyle" : "DEFAULT", "detailStyle" : "DEFAULT",
...@@ -781,6 +1205,9 @@ ...@@ -781,6 +1205,9 @@
"name" : "formitem11", "name" : "formitem11",
"noPrivDisplayMode" : 1, "noPrivDisplayMode" : 1,
"getPSEditor" : { "getPSEditor" : {
"editorParams" : {
"dicData" : "[{label:黑不溜秋,value:0},{label:白白嫩嫩,value:1}]"
},
"editorType" : "SWITCH", "editorType" : "SWITCH",
"name" : "formitem11" "name" : "formitem11"
}, },
...@@ -791,6 +1218,159 @@ ...@@ -791,6 +1218,159 @@
"rTMOSFilePath" : "psdeformdetail_formitems/formitem11", "rTMOSFilePath" : "psdeformdetail_formitems/formitem11",
"allowEmpty" : true, "allowEmpty" : true,
"showCaption" : true "showCaption" : true
}, {
"caption" : "评分器",
"codeName" : "formitem12",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"mOSFilePath" : "psdeformdetail_formitems/formitem12",
"name" : "formitem12",
"noPrivDisplayMode" : 1,
"getPSEditor" : {
"editorParams" : {
"max" : "8",
"colors" : "{3:'gray',5:'red',6:'blue',7:'green',8:'yellow'}",
"showText" : "true",
"texts" : "['不太好','还行','不错','有点东西','大腿毛']"
},
"editorType" : "RATING",
"maxValue" : 5.0,
"minValue" : 0.0,
"name" : "formitem12",
"stepValue" : 1.0
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "psdeformdetail_formitems/formitem12",
"allowEmpty" : true,
"showCaption" : true
}, {
"caption" : "滑动输入条",
"codeName" : "formitem14",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"mOSFilePath" : "psdeformdetail_formitems/formitem14",
"name" : "formitem14",
"noPrivDisplayMode" : 1,
"getPSEditor" : {
"editorParams" : {
"max" : "12",
"showStops" : "true",
"min" : "2",
"step" : "2"
},
"editorType" : "SLIDER",
"name" : "formitem14",
"stepValue" : 1.0
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "psdeformdetail_formitems/formitem14",
"allowEmpty" : true,
"showCaption" : true
}, {
"caption" : "滑动输入条-范围",
"codeName" : "formitem13",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"mOSFilePath" : "psdeformdetail_formitems/formitem13",
"name" : "formitem13",
"noPrivDisplayMode" : 1,
"getPSEditor" : {
"editorParams" : {
"range" : "true"
},
"editorType" : "SLIDER",
"name" : "formitem13",
"stepValue" : 1.0
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "psdeformdetail_formitems/formitem13",
"allowEmpty" : true,
"showCaption" : true
}, {
"caption" : "单行文本",
"codeName" : "formitem15",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"mOSFilePath" : "psdeformdetail_formitems/formitem15",
"name" : "formitem15",
"noPrivDisplayMode" : 1,
"getPSEditor" : {
"editorParams" : {
"append" : ".com",
"prepend" : "http://",
"maxlength" : "15",
"showWordLimit" : "true"
},
"editorType" : "TEXTBOX",
"name" : "formitem15"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "psdeformdetail_formitems/formitem15",
"allowEmpty" : true,
"showCaption" : true
}, {
"caption" : "多行文本",
"codeName" : "formitem16",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"mOSFilePath" : "psdeformdetail_formitems/formitem16",
"name" : "formitem16",
"noPrivDisplayMode" : 1,
"getPSEditor" : {
"editorParams" : {
"minRows" : "2",
"maxRows" : "7",
"maxlength" : "30",
"showWordLimit" : "true"
},
"editorType" : "TEXTAREA",
"name" : "formitem16",
"showMaxLength" : true
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "psdeformdetail_formitems/formitem16",
"allowEmpty" : true,
"showCaption" : true
} ], } ],
"getPSLayout" : { "getPSLayout" : {
"childColLG" : -1, "childColLG" : -1,
...@@ -804,12 +1384,7 @@ ...@@ -804,12 +1384,7 @@
"colMD" : 24, "colMD" : 24,
"layout" : "TABLE_24COL" "layout" : "TABLE_24COL"
}, },
"getPSSysImage" : { "rTMOSFilePath" : "psdeformdetail_grouppanels/grouppanel3",
"glyph" : "xf1b2@FontAwesome",
"cssClass" : "fa fa-cube"
},
"rTMOSFilePath" : "psdeformdetail_grouppanels/grouppanel2",
"titleBarCloseMode" : 1,
"infoGroupMode" : false, "infoGroupMode" : false,
"showCaption" : true "showCaption" : true
} ], } ],
......
...@@ -12,6 +12,30 @@ ...@@ -12,6 +12,30 @@
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}, },
"getPSDETreeColumns" : [ { "getPSDETreeColumns" : [ {
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"mOSFilePath" : "psdetreecols/author",
"name" : "author",
"rTMOSFilePath" : "psdetreecols/author",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"mOSFilePath" : "psdetreecols/ibizbookname",
"name" : "ibizbookname",
"rTMOSFilePath" : "psdetreecols/ibizbookname",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "归还日期", "caption" : "归还日期",
"codeName" : "returntime", "codeName" : "returntime",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
...@@ -47,30 +71,6 @@ ...@@ -47,30 +71,6 @@
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, {
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"mOSFilePath" : "psdetreecols/author",
"name" : "author",
"rTMOSFilePath" : "psdetreecols/author",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"mOSFilePath" : "psdetreecols/ibizbookname",
"name" : "ibizbookname",
"rTMOSFilePath" : "psdetreecols/ibizbookname",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
} ], } ],
"getPSDETreeNodeRSs" : [ { "getPSDETreeNodeRSs" : [ {
"getChildPSDETreeNode" : { "getChildPSDETreeNode" : {
......
...@@ -20,6 +20,18 @@ ...@@ -20,6 +20,18 @@
} }
} ], } ],
"getPSDETreeColumns" : [ { "getPSDETreeColumns" : [ {
"caption" : "图书描述",
"codeName" : "subtext",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "subtext",
"mOSFilePath" : "psdetreecols/subtext",
"name" : "subtext",
"rTMOSFilePath" : "psdetreecols/subtext",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书名称", "caption" : "图书名称",
"codeName" : "ibizbookname", "codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
...@@ -43,18 +55,6 @@ ...@@ -43,18 +55,6 @@
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, {
"caption" : "图书描述",
"codeName" : "subtext",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "subtext",
"mOSFilePath" : "psdetreecols/subtext",
"name" : "subtext",
"rTMOSFilePath" : "psdetreecols/subtext",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
} ], } ],
"getPSDETreeNodeRSs" : [ { "getPSDETreeNodeRSs" : [ {
"getChildPSDETreeNode" : { "getChildPSDETreeNode" : {
......
...@@ -46,6 +46,30 @@ ...@@ -46,6 +46,30 @@
"id" : "GANTT" "id" : "GANTT"
}, },
"getPSDETreeColumns" : [ { "getPSDETreeColumns" : [ {
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"mOSFilePath" : "psdetreecols/author",
"name" : "author",
"rTMOSFilePath" : "psdetreecols/author",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"mOSFilePath" : "psdetreecols/ibizbookname",
"name" : "ibizbookname",
"rTMOSFilePath" : "psdetreecols/ibizbookname",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "归还日期", "caption" : "归还日期",
"codeName" : "returntime", "codeName" : "returntime",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
...@@ -81,30 +105,6 @@ ...@@ -81,30 +105,6 @@
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, {
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"mOSFilePath" : "psdetreecols/author",
"name" : "author",
"rTMOSFilePath" : "psdetreecols/author",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"mOSFilePath" : "psdetreecols/ibizbookname",
"name" : "ibizbookname",
"rTMOSFilePath" : "psdetreecols/ibizbookname",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
} ], } ],
"getPSDETreeNodeRSs" : [ { "getPSDETreeNodeRSs" : [ {
"getChildPSDETreeNode" : { "getChildPSDETreeNode" : {
......
...@@ -100,6 +100,18 @@ ...@@ -100,6 +100,18 @@
"id" : "TREEGRIDEX" "id" : "TREEGRIDEX"
}, },
"getPSDETreeColumns" : [ { "getPSDETreeColumns" : [ {
"caption" : "图书描述",
"codeName" : "subtext",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "subtext",
"mOSFilePath" : "psdetreecols/subtext",
"name" : "subtext",
"rTMOSFilePath" : "psdetreecols/subtext",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书名称", "caption" : "图书名称",
"codeName" : "ibizbookname", "codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
...@@ -123,18 +135,6 @@ ...@@ -123,18 +135,6 @@
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, {
"caption" : "图书描述",
"codeName" : "subtext",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "subtext",
"mOSFilePath" : "psdetreecols/subtext",
"name" : "subtext",
"rTMOSFilePath" : "psdetreecols/subtext",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
} ], } ],
"getPSDETreeNodeRSs" : [ { "getPSDETreeNodeRSs" : [ {
"getChildPSDETreeNode" : { "getChildPSDETreeNode" : {
......
...@@ -806,12 +806,67 @@ ...@@ -806,12 +806,67 @@
}, { }, {
"id" : "formitem9", "id" : "formitem9",
"dataType" : 25 "dataType" : 25
}, {
"id" : "formitem17",
"dataType" : 25
}, {
"id" : "formitem18",
"dataType" : 25
}, {
"id" : "formitem30",
"dataType" : 25
}, {
"id" : "formitem29",
"dataType" : 25
}, {
"id" : "formitem24",
"dataType" : 25
}, {
"id" : "formitem25",
"dataType" : 25
}, {
"id" : "formitem27",
"dataType" : 25
}, {
"id" : "formitem19",
"hidden" : true,
"dataType" : 25
}, {
"id" : "formitem20",
"hidden" : true,
"dataType" : 25
}, {
"id" : "formitem26",
"dataType" : 25
}, {
"id" : "formitem21",
"hidden" : true,
"dataType" : 25
}, {
"id" : "formitem22",
"hidden" : true,
"dataType" : 25
}, { }, {
"id" : "formitem10", "id" : "formitem10",
"dataType" : 25 "dataType" : 25
}, { }, {
"id" : "formitem11", "id" : "formitem11",
"dataType" : 25 "dataType" : 25
}, {
"id" : "formitem12",
"dataType" : 25
}, {
"id" : "formitem14",
"dataType" : 25
}, {
"id" : "formitem13",
"dataType" : 25
}, {
"id" : "formitem15",
"dataType" : 25
}, {
"id" : "formitem16",
"dataType" : 25
}, { }, {
"id" : "ibizbookid", "id" : "ibizbookid",
"hidden" : true, "hidden" : true,
...@@ -1230,37 +1285,64 @@ ...@@ -1230,37 +1285,64 @@
"needCodeListConfig" : true, "needCodeListConfig" : true,
"showCaption" : true "showCaption" : true
}, { }, {
"codeName" : "formitem10", "caption" : "下拉列表",
"codeName" : "formitem17",
"dataType" : 25, "dataType" : 25,
"detailStyle" : "DEFAULT", "detailStyle" : "DEFAULT",
"detailType" : "FORMITEM", "detailType" : "FORMITEM",
"enableCond" : 3, "enableCond" : 3,
"ignoreInput" : 0, "ignoreInput" : 0,
"labelPos" : "LEFT", "labelPos" : "LEFT",
"labelWidth" : 0, "labelWidth" : 130,
"mOSFilePath" : "psdeformdetail_formitems/formitem10", "mOSFilePath" : "psdeformdetail_formitems/formitem17",
"name" : "formitem10", "name" : "formitem17",
"noPrivDisplayMode" : 1, "noPrivDisplayMode" : 1,
"getPSEditor" : { "getPSEditor" : {
"editorParams" : { "editorType" : "DROPDOWNLIST",
"fontWeight" : "600", "name" : "formitem17",
"color" : "red", "getPSAppCodeList" : {
"textAlign" : "center", "modelref" : true,
"fontSize" : "16px", "path" : "PSSYSAPPS/Web/PSAPPCODELISTS/BookSailState.json"
"value" : "这是标题"
}, },
"editorStyle" : "TITLE", "singleSelect" : true
"editorType" : "SPAN",
"name" : "formitem10",
"enableLinkView" : false
}, },
"getPSLayoutPos" : { "getPSLayoutPos" : {
"colMD" : 24, "colMD" : 24,
"layout" : "TABLE_24COL" "layout" : "TABLE_24COL"
}, },
"rTMOSFilePath" : "psdeformdetail_formitems/formitem10", "rTMOSFilePath" : "psdeformdetail_formitems/formitem17",
"allowEmpty" : true, "allowEmpty" : true,
"emptyCaption" : true, "needCodeListConfig" : true,
"showCaption" : true
}, {
"caption" : "下拉列表(多)",
"codeName" : "formitem18",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"mOSFilePath" : "psdeformdetail_formitems/formitem18",
"name" : "formitem18",
"noPrivDisplayMode" : 1,
"getPSEditor" : {
"editorType" : "MDROPDOWNLIST",
"name" : "formitem18",
"getPSAppCodeList" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPCODELISTS/BookSailState.json"
},
"singleSelect" : false
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "psdeformdetail_formitems/formitem18",
"allowEmpty" : true,
"needCodeListConfig" : true,
"showCaption" : true "showCaption" : true
} ], } ],
"getPSLayout" : { "getPSLayout" : {
...@@ -1280,34 +1362,314 @@ ...@@ -1280,34 +1362,314 @@
"showCaption" : true "showCaption" : true
}, { }, {
"actionGroupExtractMode" : "ITEM", "actionGroupExtractMode" : "ITEM",
"caption" : "分组标题-直接内容增强", "codeName" : "grouppanel5",
"codeName" : "grouppanel2",
"detailStyle" : "DEFAULT", "detailStyle" : "DEFAULT",
"detailType" : "GROUPPANEL", "detailType" : "GROUPPANEL",
"mOSFilePath" : "psdeformdetail_grouppanels/grouppanel2", "mOSFilePath" : "psdeformdetail_grouppanels/grouppanel5",
"name" : "grouppanel2", "name" : "grouppanel5",
"getPSDEFormDetails" : [ { "getPSDEFormDetails" : [ {
"codeName" : "rawitem7", "caption" : "超链接",
"contentType" : "RAW", "codeName" : "formitem30",
"dataType" : 25,
"detailStyle" : "DEFAULT", "detailStyle" : "DEFAULT",
"detailType" : "RAWITEM", "detailType" : "FORMITEM",
"mOSFilePath" : "psdeformdetail_rawitems/rawitem7", "enableCond" : 3,
"name" : "rawitem7", "ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"mOSFilePath" : "psdeformdetail_formitems/formitem30",
"name" : "formitem30",
"noPrivDisplayMode" : 1,
"getPSEditor" : {
"editorParams" : {
"append" : ".com",
"editorType" : "link",
"prepend" : "http://www.",
"maxlength" : "8",
"size" : "small",
"showWordLimit" : "true"
},
"editorType" : "ARRAY",
"name" : "formitem30"
},
"getPSLayoutPos" : { "getPSLayoutPos" : {
"colMD" : 24, "colMD" : 24,
"layout" : "TABLE_24COL" "layout" : "TABLE_24COL"
}, },
"getPSRawItem" : { "rTMOSFilePath" : "psdeformdetail_formitems/formitem30",
"caption" : "{title:'直接内容标题',content:'纯纯的直接内容'}", "allowEmpty" : true,
"contentType" : "RAW", "showCaption" : true
"name" : "rawitem7" }, {
"caption" : "图片数组",
"codeName" : "formitem29",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"mOSFilePath" : "psdeformdetail_formitems/formitem29",
"name" : "formitem29",
"noPrivDisplayMode" : 1,
"getPSEditor" : {
"editorParams" : {
"editorType" : "img",
"limit" : "5"
}, },
"rTMOSFilePath" : "psdeformdetail_rawitems/rawitem7", "editorType" : "ARRAY",
"rawContent" : "{title:'直接内容标题',content:'纯纯的直接内容'}", "name" : "formitem29"
"rawItemHeight" : -1.0, },
"rawItemWidth" : -1.0, "getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "psdeformdetail_formitems/formitem29",
"allowEmpty" : true,
"showCaption" : true
}, {
"caption" : "数组选择器",
"codeName" : "formitem24",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"mOSFilePath" : "psdeformdetail_formitems/formitem24",
"name" : "formitem24",
"noPrivDisplayMode" : 1,
"getPSEditor" : {
"editorParams" : {
"editorType" : "default",
"readonly" : "true"
},
"editorType" : "ARRAY",
"name" : "formitem24"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "psdeformdetail_formitems/formitem24",
"allowEmpty" : true,
"showCaption" : true
}, {
"caption" : "地图选择器",
"codeName" : "formitem25",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"mOSFilePath" : "psdeformdetail_formitems/formitem25",
"name" : "formitem25",
"noPrivDisplayMode" : 1,
"getPSEditor" : {
"editorType" : "MAPPICKER",
"name" : "formitem25"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "psdeformdetail_formitems/formitem25",
"allowEmpty" : true,
"showCaption" : true
}, {
"caption" : "数值范围",
"codeName" : "formitem27",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"mOSFilePath" : "psdeformdetail_formitems/formitem27",
"name" : "formitem27",
"noPrivDisplayMode" : 1,
"getPSEditor" : {
"editorType" : "NUMBERRANGE",
"name" : "formitem27",
"getPSEditorItems" : [ {
"name" : "formitem19"
}, {
"name" : "formitem20"
} ]
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "psdeformdetail_formitems/formitem27",
"valueItemName" : "formitem19",
"allowEmpty" : true,
"showCaption" : true
}, {
"codeName" : "formitem19",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"mOSFilePath" : "psdeformdetail_formitems/formitem19",
"name" : "formitem19",
"noPrivDisplayMode" : 1,
"getPSEditor" : {
"editorType" : "HIDDEN",
"name" : "formitem19"
},
"getPSLayoutPos" : {
"colLG" : 12,
"colMD" : 12,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "psdeformdetail_formitems/formitem19",
"allowEmpty" : true,
"hidden" : true,
"showCaption" : true
}, {
"codeName" : "formitem20",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"mOSFilePath" : "psdeformdetail_formitems/formitem20",
"name" : "formitem20",
"noPrivDisplayMode" : 1,
"getPSEditor" : {
"editorType" : "HIDDEN",
"name" : "formitem20"
},
"getPSLayoutPos" : {
"colLG" : 12,
"colMD" : 12,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "psdeformdetail_formitems/formitem20",
"allowEmpty" : true,
"hidden" : true,
"showCaption" : true
}, {
"caption" : "时间范围",
"codeName" : "formitem26",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"mOSFilePath" : "psdeformdetail_formitems/formitem26",
"name" : "formitem26",
"noPrivDisplayMode" : 1,
"getPSEditor" : {
"editorParams" : {
"unlinkPanels" : "true",
"type" : "date",
"endPlaceholder" : "小飞棍儿跑咯",
"startPlaceholder" : "小飞棍儿来咯"
},
"editorType" : "DATERANGE",
"name" : "formitem26",
"getPSEditorItems" : [ {
"name" : "formitem21"
}, {
"name" : "formitem22"
} ]
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "psdeformdetail_formitems/formitem26",
"valueItemName" : "formitem21",
"allowEmpty" : true,
"showCaption" : true
}, {
"codeName" : "formitem21",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"mOSFilePath" : "psdeformdetail_formitems/formitem21",
"name" : "formitem21",
"noPrivDisplayMode" : 1,
"getPSEditor" : {
"editorType" : "HIDDEN",
"name" : "formitem21"
},
"getPSLayoutPos" : {
"colLG" : 12,
"colMD" : 12,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "psdeformdetail_formitems/formitem21",
"allowEmpty" : true,
"hidden" : true,
"showCaption" : true
}, {
"codeName" : "formitem22",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"mOSFilePath" : "psdeformdetail_formitems/formitem22",
"name" : "formitem22",
"noPrivDisplayMode" : 1,
"getPSEditor" : {
"editorType" : "HIDDEN",
"name" : "formitem22"
},
"getPSLayoutPos" : {
"colLG" : 12,
"colMD" : 12,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "psdeformdetail_formitems/formitem22",
"allowEmpty" : true,
"hidden" : true,
"showCaption" : true
} ],
"getPSLayout" : {
"childColLG" : -1,
"childColMD" : 24,
"childColSM" : -1,
"childColXS" : -1,
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "psdeformdetail_grouppanels/grouppanel5",
"infoGroupMode" : false,
"showCaption" : true "showCaption" : true
}, { }, {
"actionGroupExtractMode" : "ITEM",
"caption" : "分组标题-直接内容增强",
"codeName" : "grouppanel2",
"detailStyle" : "DEFAULT",
"detailType" : "GROUPPANEL",
"mOSFilePath" : "psdeformdetail_grouppanels/grouppanel2",
"name" : "grouppanel2",
"getPSDEFormDetails" : [ {
"codeName" : "rawitem1", "codeName" : "rawitem1",
"contentType" : "VIDEO", "contentType" : "VIDEO",
"detailStyle" : "DEFAULT", "detailStyle" : "DEFAULT",
...@@ -1440,7 +1802,69 @@ ...@@ -1440,7 +1802,69 @@
"rawItemWidth" : -1.0, "rawItemWidth" : -1.0,
"showCaption" : true "showCaption" : true
}, { }, {
"caption" : "这是分组内部内容", "codeName" : "formitem10",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 0,
"mOSFilePath" : "psdeformdetail_formitems/formitem10",
"name" : "formitem10",
"noPrivDisplayMode" : 1,
"getPSEditor" : {
"editorParams" : {
"fontWeight" : "600",
"color" : "red",
"textAlign" : "center",
"fontSize" : "16px",
"value" : "这是标题"
},
"editorStyle" : "TITLE",
"editorType" : "SPAN",
"name" : "formitem10",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "psdeformdetail_formitems/formitem10",
"allowEmpty" : true,
"emptyCaption" : true,
"showCaption" : true
} ],
"getPSLayout" : {
"childColLG" : -1,
"childColMD" : 24,
"childColSM" : -1,
"childColXS" : -1,
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"getPSSysImage" : {
"glyph" : "xf1b2@FontAwesome",
"cssClass" : "fa fa-cube"
},
"rTMOSFilePath" : "psdeformdetail_grouppanels/grouppanel2",
"titleBarCloseMode" : 1,
"infoGroupMode" : false,
"showCaption" : true
}, {
"actionGroupExtractMode" : "ITEM",
"caption" : "控件",
"codeName" : "grouppanel3",
"detailStyle" : "DEFAULT",
"detailType" : "GROUPPANEL",
"mOSFilePath" : "psdeformdetail_grouppanels/grouppanel3",
"name" : "grouppanel3",
"getPSDEFormDetails" : [ {
"caption" : "开关",
"codeName" : "formitem11", "codeName" : "formitem11",
"dataType" : 25, "dataType" : 25,
"detailStyle" : "DEFAULT", "detailStyle" : "DEFAULT",
...@@ -1453,6 +1877,9 @@ ...@@ -1453,6 +1877,9 @@
"name" : "formitem11", "name" : "formitem11",
"noPrivDisplayMode" : 1, "noPrivDisplayMode" : 1,
"getPSEditor" : { "getPSEditor" : {
"editorParams" : {
"dicData" : "[{label:黑不溜秋,value:0},{label:白白嫩嫩,value:1}]"
},
"editorType" : "SWITCH", "editorType" : "SWITCH",
"name" : "formitem11" "name" : "formitem11"
}, },
...@@ -1463,6 +1890,159 @@ ...@@ -1463,6 +1890,159 @@
"rTMOSFilePath" : "psdeformdetail_formitems/formitem11", "rTMOSFilePath" : "psdeformdetail_formitems/formitem11",
"allowEmpty" : true, "allowEmpty" : true,
"showCaption" : true "showCaption" : true
}, {
"caption" : "评分器",
"codeName" : "formitem12",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"mOSFilePath" : "psdeformdetail_formitems/formitem12",
"name" : "formitem12",
"noPrivDisplayMode" : 1,
"getPSEditor" : {
"editorParams" : {
"max" : "8",
"colors" : "{3:'gray',5:'red',6:'blue',7:'green',8:'yellow'}",
"showText" : "true",
"texts" : "['不太好','还行','不错','有点东西','大腿毛']"
},
"editorType" : "RATING",
"maxValue" : 5.0,
"minValue" : 0.0,
"name" : "formitem12",
"stepValue" : 1.0
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "psdeformdetail_formitems/formitem12",
"allowEmpty" : true,
"showCaption" : true
}, {
"caption" : "滑动输入条",
"codeName" : "formitem14",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"mOSFilePath" : "psdeformdetail_formitems/formitem14",
"name" : "formitem14",
"noPrivDisplayMode" : 1,
"getPSEditor" : {
"editorParams" : {
"max" : "12",
"showStops" : "true",
"min" : "2",
"step" : "2"
},
"editorType" : "SLIDER",
"name" : "formitem14",
"stepValue" : 1.0
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "psdeformdetail_formitems/formitem14",
"allowEmpty" : true,
"showCaption" : true
}, {
"caption" : "滑动输入条-范围",
"codeName" : "formitem13",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"mOSFilePath" : "psdeformdetail_formitems/formitem13",
"name" : "formitem13",
"noPrivDisplayMode" : 1,
"getPSEditor" : {
"editorParams" : {
"range" : "true"
},
"editorType" : "SLIDER",
"name" : "formitem13",
"stepValue" : 1.0
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "psdeformdetail_formitems/formitem13",
"allowEmpty" : true,
"showCaption" : true
}, {
"caption" : "单行文本",
"codeName" : "formitem15",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"mOSFilePath" : "psdeformdetail_formitems/formitem15",
"name" : "formitem15",
"noPrivDisplayMode" : 1,
"getPSEditor" : {
"editorParams" : {
"append" : ".com",
"prepend" : "http://",
"maxlength" : "15",
"showWordLimit" : "true"
},
"editorType" : "TEXTBOX",
"name" : "formitem15"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "psdeformdetail_formitems/formitem15",
"allowEmpty" : true,
"showCaption" : true
}, {
"caption" : "多行文本",
"codeName" : "formitem16",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"mOSFilePath" : "psdeformdetail_formitems/formitem16",
"name" : "formitem16",
"noPrivDisplayMode" : 1,
"getPSEditor" : {
"editorParams" : {
"minRows" : "2",
"maxRows" : "7",
"maxlength" : "30",
"showWordLimit" : "true"
},
"editorType" : "TEXTAREA",
"name" : "formitem16",
"showMaxLength" : true
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "psdeformdetail_formitems/formitem16",
"allowEmpty" : true,
"showCaption" : true
} ], } ],
"getPSLayout" : { "getPSLayout" : {
"childColLG" : -1, "childColLG" : -1,
...@@ -1476,12 +2056,7 @@ ...@@ -1476,12 +2056,7 @@
"colMD" : 24, "colMD" : 24,
"layout" : "TABLE_24COL" "layout" : "TABLE_24COL"
}, },
"getPSSysImage" : { "rTMOSFilePath" : "psdeformdetail_grouppanels/grouppanel3",
"glyph" : "xf1b2@FontAwesome",
"cssClass" : "fa fa-cube"
},
"rTMOSFilePath" : "psdeformdetail_grouppanels/grouppanel2",
"titleBarCloseMode" : 1,
"infoGroupMode" : false, "infoGroupMode" : false,
"showCaption" : true "showCaption" : true
} ], } ],
......
...@@ -172,7 +172,7 @@ ...@@ -172,7 +172,7 @@
<!--输出实体[IBIZBOOK]数据结构 --> <!--输出实体[IBIZBOOK]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizbook-1668-7"> <changeSet author="a_LAB01_df847bdfd" id="tab-ibizbook-1700-7">
<createTable tableName="T_IBIZBOOK"> <createTable tableName="T_IBIZBOOK">
<column name="CREATEMAN" remarks="" type="VARCHAR(60)"> <column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column> </column>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册