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

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

上级 653f1037
...@@ -2,14 +2,14 @@ ...@@ -2,14 +2,14 @@
<div class="app-view-layout app-view-layout__decustomview ibizbookusr2-custom-view" v-loading="isLayoutLoadding" :style="{height: '100%', width: '100%', overflow: 'auto'}"> <div class="app-view-layout app-view-layout__decustomview ibizbookusr2-custom-view" v-loading="isLayoutLoadding" :style="{height: '100%', width: '100%', overflow: 'auto'}">
<div v-show="!isLayoutLoadding" :style="{height: '100%', width: '100%'}"> <div v-show="!isLayoutLoadding" :style="{height: '100%', width: '100%'}">
<app-standard-container name="page_container" :isMultiContainer="false" :layoutModelDetails="layoutModelDetails"> <app-standard-container name="page_container" :isMultiContainer="false" :layoutModelDetails="layoutModelDetails">
<template #static_label2>
<app-preset-text name="static_label2" :layoutModelDetails="layoutModelDetails"/>
</template>
<template #container_singledata1> <template #container_singledata1>
<app-standard-container name="container_singledata1" :isMultiContainer="false" :layoutModelDetails="layoutModelDetails"> <app-standard-container name="container_singledata1" :isMultiContainer="false" :layoutModelDetails="layoutModelDetails">
<template #static_label1> <template #static_label1>
<app-preset-text name="static_label1" :layoutModelDetails="layoutModelDetails"/> <app-preset-text name="static_label1" :layoutModelDetails="layoutModelDetails"/>
</template> </template>
<template #static_label2>
<app-preset-text name="static_label2" :layoutModelDetails="layoutModelDetails"/>
</template>
<template #container1> <template #container1>
<app-standard-container name="container1" :isMultiContainer="false" :layoutModelDetails="layoutModelDetails"> <app-standard-container name="container1" :isMultiContainer="false" :layoutModelDetails="layoutModelDetails">
<template #button_calluilogic1> <template #button_calluilogic1>
...@@ -18,6 +18,22 @@ ...@@ -18,6 +18,22 @@
<template #field_textbox> <template #field_textbox>
<app-panel-field name="field_textbox" :layoutModelDetails="layoutModelDetails" :value="layoutData.field_textbox"> <input-box type="text" name="field_textbox" :itemValue="layoutData.field_textbox" :disabled="layoutModelDetails.field_textbox ? layoutModelDetails.field_textbox.disabled : false" @change="(value) => handleValueChange({ name: 'field_textbox', value})"> </input-box> </app-panel-field> <app-panel-field name="field_textbox" :layoutModelDetails="layoutModelDetails" :value="layoutData.field_textbox"> <input-box type="text" name="field_textbox" :itemValue="layoutData.field_textbox" :disabled="layoutModelDetails.field_textbox ? layoutModelDetails.field_textbox.disabled : false" @change="(value) => handleValueChange({ name: 'field_textbox', value})"> </input-box> </app-panel-field>
</template> </template>
</app-standard-container>
</template>
<template #static_label5>
<app-preset-text name="static_label5" :layoutModelDetails="layoutModelDetails"/>
</template>
<template #container4>
<app-standard-container name="container4" :isMultiContainer="false" :layoutModelDetails="layoutModelDetails">
<template #field_textbox2>
<app-panel-field name="field_textbox2" :layoutModelDetails="layoutModelDetails" :value="layoutData.field_textbox2"> <input-box type="text" name="field_textbox2" :itemValue="layoutData.field_textbox2" :disabled="layoutModelDetails.field_textbox2 ? layoutModelDetails.field_textbox2.disabled : false" @change="(value) => handleValueChange({ name: 'field_textbox2', value})"> </input-box> </app-panel-field>
</template>
<template #field_textbox3>
<app-panel-field name="field_textbox3" :layoutModelDetails="layoutModelDetails" :value="layoutData.field_textbox3"> <input-box type="text" name="field_textbox3" :itemValue="layoutData.field_textbox3" :disabled="layoutModelDetails.field_textbox3 ? layoutModelDetails.field_textbox3.disabled : false" @change="(value) => handleValueChange({ name: 'field_textbox3', value})"> </input-box> </app-panel-field>
</template>
<template #field_textbox4>
<app-panel-field name="field_textbox4" :layoutModelDetails="layoutModelDetails" :value="layoutData.field_textbox4"> <input-box type="text" name="field_textbox4" :itemValue="layoutData.field_textbox4" :disabled="layoutModelDetails.field_textbox4 ? layoutModelDetails.field_textbox4.disabled : false" @change="(value) => handleValueChange({ name: 'field_textbox4', value})"> </input-box> </app-panel-field>
</template>
</app-standard-container> </app-standard-container>
</template> </template>
</app-standard-container> </app-standard-container>
...@@ -29,12 +45,35 @@ ...@@ -29,12 +45,35 @@
<app-standard-container name="container_multidata1" :isMultiContainer="true" :layoutModelDetails="layoutModelDetails"> <app-standard-container name="container_multidata1" :isMultiContainer="true" :layoutModelDetails="layoutModelDetails">
<template v-slot:container2="slotProps"> <template v-slot:container2="slotProps">
<app-standard-container name="container2" :index="slotProps.data.index" :isMultiContainer="false" :layoutModelDetails="layoutModelDetails"> <app-standard-container name="container2" :index="slotProps.data.index" :isMultiContainer="false" :layoutModelDetails="layoutModelDetails">
<template #static_label4>
<app-preset-text name="static_label4" :index="slotProps.data.index" :layoutModelDetails="layoutModelDetails"/>
</template>
<template #container3>
<app-standard-container name="container3" :index="slotProps.data.index" :isMultiContainer="false" :layoutModelDetails="layoutModelDetails">
<template #button_calluilogic2> <template #button_calluilogic2>
<app-preset-button name="button_calluilogic2" :index="slotProps.data.index" :layoutModelDetails="layoutModelDetails" @itemClick="handleButtonClick" /> <app-preset-button name="button_calluilogic2" :index="slotProps.data.index" :layoutModelDetails="layoutModelDetails" @itemClick="handleButtonClick" />
</template> </template>
<template #field_textbox1> <template #field_textbox1>
<app-panel-field name="field_textbox1" :index="slotProps.data.index" :layoutModelDetails="layoutModelDetails" :value="layoutData[`field_textbox1_${slotProps.data.index}`]"> <input-box type="text" name="field_textbox1" :itemValue="layoutData[`field_textbox1_${slotProps.data.index}`]" :disabled="layoutModelDetails[`field_textbox1_${slotProps.data.index}`] ? layoutModelDetails[`field_textbox1_${slotProps.data.index}`].disabled : false" @change="(value) => handleValueChange({ name: `field_textbox1_${slotProps.data.index}`, value}, `${slotProps.data.index}`)"> </input-box> </app-panel-field> <app-panel-field name="field_textbox1" :index="slotProps.data.index" :layoutModelDetails="layoutModelDetails" :value="layoutData[`field_textbox1_${slotProps.data.index}`]"> <input-box type="text" name="field_textbox1" :itemValue="layoutData[`field_textbox1_${slotProps.data.index}`]" :disabled="layoutModelDetails[`field_textbox1_${slotProps.data.index}`] ? layoutModelDetails[`field_textbox1_${slotProps.data.index}`].disabled : false" @change="(value) => handleValueChange({ name: `field_textbox1_${slotProps.data.index}`, value}, `${slotProps.data.index}`)"> </input-box> </app-panel-field>
</template> </template>
</app-standard-container>
</template>
<template #static_label6>
<app-preset-text name="static_label6" :index="slotProps.data.index" :layoutModelDetails="layoutModelDetails"/>
</template>
<template #container5>
<app-standard-container name="container5" :index="slotProps.data.index" :isMultiContainer="false" :layoutModelDetails="layoutModelDetails">
<template #field_textbox5>
<app-panel-field name="field_textbox5" :index="slotProps.data.index" :layoutModelDetails="layoutModelDetails" :value="layoutData[`field_textbox5_${slotProps.data.index}`]"> <input-box type="text" name="field_textbox5" :itemValue="layoutData[`field_textbox5_${slotProps.data.index}`]" :disabled="layoutModelDetails[`field_textbox5_${slotProps.data.index}`] ? layoutModelDetails[`field_textbox5_${slotProps.data.index}`].disabled : false" @change="(value) => handleValueChange({ name: `field_textbox5_${slotProps.data.index}`, value}, `${slotProps.data.index}`)"> </input-box> </app-panel-field>
</template>
<template #field_textbox6>
<app-panel-field name="field_textbox6" :index="slotProps.data.index" :layoutModelDetails="layoutModelDetails" :value="layoutData[`field_textbox6_${slotProps.data.index}`]"> <input-box type="text" name="field_textbox6" :itemValue="layoutData[`field_textbox6_${slotProps.data.index}`]" :disabled="layoutModelDetails[`field_textbox6_${slotProps.data.index}`] ? layoutModelDetails[`field_textbox6_${slotProps.data.index}`].disabled : false" @change="(value) => handleValueChange({ name: `field_textbox6_${slotProps.data.index}`, value}, `${slotProps.data.index}`)"> </input-box> </app-panel-field>
</template>
<template #field_textbox7>
<app-panel-field name="field_textbox7" :index="slotProps.data.index" :layoutModelDetails="layoutModelDetails" :value="layoutData[`field_textbox7_${slotProps.data.index}`]"> <input-box type="text" name="field_textbox7" :itemValue="layoutData[`field_textbox7_${slotProps.data.index}`]" :disabled="layoutModelDetails[`field_textbox7_${slotProps.data.index}`] ? layoutModelDetails[`field_textbox7_${slotProps.data.index}`].disabled : false" @change="(value) => handleValueChange({ name: `field_textbox7_${slotProps.data.index}`, value}, `${slotProps.data.index}`)"> </input-box> </app-panel-field>
</template>
</app-standard-container>
</template>
</app-standard-container> </app-standard-container>
</template> </template>
</app-standard-container> </app-standard-container>
...@@ -271,18 +310,30 @@ export default class IBIZBOOKUsr2CustomViewBase extends Vue { ...@@ -271,18 +310,30 @@ export default class IBIZBOOKUsr2CustomViewBase extends Vue {
* @memberof IBIZBOOKUsr2CustomViewBase * @memberof IBIZBOOKUsr2CustomViewBase
*/ */
public layoutItems:any = { public layoutItems:any = {
static_label2:{ name: 'static_label2', type: 'VIEWLAYOUT', caption: '标签', isShowCaption: true, sysCss: '', itemType: 'RAWITEM', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'page_container', panel: this , viewType: 'DECUSTOMVIEW', predefinedType: 'STATIC_LABEL', contentType: 'RAW', contentStyle: '', rawContent: '单数据容器', htmlContent: '', renderMode: 'PARAGRAPH', wrapMode:'', vAlign:'', hAlign:'', },
static_label1:{ name: 'static_label1', type: 'VIEWLAYOUT', caption: '标签', isShowCaption: true, sysCss: '', itemType: 'RAWITEM', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container_singledata1', panel: this , viewType: 'DECUSTOMVIEW', predefinedType: 'STATIC_LABEL', contentType: 'RAW', contentStyle: '', rawContent: '按钮权限测试:输入框值为 武侠 时禁用打开文档按钮', htmlContent: '', renderMode: 'PARAGRAPH', wrapMode:'', vAlign:'', hAlign:'', }, static_label1:{ name: 'static_label1', type: 'VIEWLAYOUT', caption: '标签', isShowCaption: true, sysCss: '', itemType: 'RAWITEM', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container_singledata1', panel: this , viewType: 'DECUSTOMVIEW', predefinedType: 'STATIC_LABEL', contentType: 'RAW', contentStyle: '', rawContent: '按钮权限测试:输入框值为 武侠 时禁用打开文档按钮', htmlContent: '', renderMode: 'PARAGRAPH', wrapMode:'', vAlign:'', hAlign:'', },
static_label2:{ name: 'static_label2', type: 'VIEWLAYOUT', caption: '标签', isShowCaption: true, sysCss: '', itemType: 'RAWITEM', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container_singledata1', panel: this , viewType: 'DECUSTOMVIEW', predefinedType: 'STATIC_LABEL', contentType: 'RAW', contentStyle: '', rawContent: '单数据容器', htmlContent: '', renderMode: 'PARAGRAPH', wrapMode:'', vAlign:'', hAlign:'', }, button_calluilogic1:{ name: 'button_calluilogic1', type: 'VIEWLAYOUT', caption: '打开文档', isShowCaption: true, sysCss: '', itemType: 'BUTTON', itemStyle: 'INFO', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:100, widthMode:'PX', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this , buttonStyle: 'INFO', borderStyle: '', iconAlign: '', uiAction: { actiontarget: 'SINGLEKEY', noprivdisplaymode: 1, dataaccaction: 'OPEN_DOCUMENT', visabled: true, disabled: false }, renderMode: '', },
button_calluilogic1:{ name: 'button_calluilogic1', type: 'VIEWLAYOUT', caption: '打开文档', isShowCaption: true, sysCss: '', itemType: 'BUTTON', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:100, widthMode:'PX', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this , buttonStyle: 'DEFAULT', borderStyle: '', iconAlign: '', uiAction: { actiontarget: 'SINGLEKEY', noprivdisplaymode: 1, dataaccaction: 'OPEN_DOCUMENT', visabled: true, disabled: false }, renderMode: '', },
field_textbox:{ name: 'field_textbox', type: 'VIEWLAYOUT', caption: '文本框', isShowCaption: false, sysCss: '', itemType: 'FIELD', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this , required: false, fieldState: '0', predefinedType: 'FIELD_TEXTBOX', dataItemName:'type', }, field_textbox:{ name: 'field_textbox', type: 'VIEWLAYOUT', caption: '文本框', isShowCaption: false, sysCss: '', itemType: 'FIELD', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this , required: false, fieldState: '0', predefinedType: 'FIELD_TEXTBOX', dataItemName:'type', },
container1:{ name: 'container1', type: 'VIEWLAYOUT', caption: '容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'FLEX', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'row',vAlign:''}, parentName: 'container_singledata1', panel: this , details:['button_calluilogic1','field_textbox'] , dataRegionType: 'INHERIT' }, container1:{ name: 'container1', type: 'VIEWLAYOUT', caption: '容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'FLEX', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'row',vAlign:''}, parentName: 'container_singledata1', panel: this , details:['button_calluilogic1','field_textbox'] , dataRegionType: 'INHERIT' },
container_singledata1:{ name: 'container_singledata1', type: 'VIEWLAYOUT', caption: '单项数据容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'TABLE_24COL', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'page_container', panel: this , details:['static_label1','static_label2','container1'] , dataRegionType: 'SINGLEDATA' , dataSourceType: 'DEACTION' , appDataEntityCodeName: 'ibizbook' , appDEMethodCodeName: 'GetDraft' }, static_label5:{ name: 'static_label5', type: 'VIEWLAYOUT', caption: '标签', isShowCaption: true, sysCss: '', itemType: 'RAWITEM', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container_singledata1', panel: this , viewType: 'DECUSTOMVIEW', predefinedType: 'STATIC_LABEL', contentType: 'RAW', contentStyle: '', rawContent: '单数据容器动态逻辑测试', htmlContent: '', renderMode: 'PARAGRAPH', wrapMode:'', vAlign:'', hAlign:'', },
field_textbox2:{ name: 'field_textbox2', type: 'VIEWLAYOUT', caption: '文本框', isShowCaption: false, sysCss: '', itemType: 'FIELD', itemStyle: 'DEFAULT', visible: false, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container4', panel: this , required: false, fieldState: '0', predefinedType: 'FIELD_TEXTBOX', dataItemName:'', },
field_textbox3:{ name: 'field_textbox3', type: 'VIEWLAYOUT', caption: '文本框', isShowCaption: false, sysCss: '', itemType: 'FIELD', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container4', panel: this , required: false, fieldState: '0', predefinedType: 'FIELD_TEXTBOX', dataItemName:'', },
field_textbox4:{ name: 'field_textbox4', type: 'VIEWLAYOUT', caption: '文本框', isShowCaption: false, sysCss: '', itemType: 'FIELD', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container4', panel: this , required: false, fieldState: '0', predefinedType: 'FIELD_TEXTBOX', dataItemName:'', },
container4:{ name: 'container4', type: 'VIEWLAYOUT', caption: '容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'FLEX', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container_singledata1', panel: this , details:['field_textbox2','field_textbox3','field_textbox4'] , dataRegionType: 'INHERIT' },
container_singledata1:{ name: 'container_singledata1', type: 'VIEWLAYOUT', caption: '单项数据容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'TABLE_24COL', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'OUTERMEDIUM', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'page_container', panel: this , details:['static_label1','container1','static_label5','container4'] , dataRegionType: 'SINGLEDATA' , dataSourceType: 'DEACTION' , appDataEntityCodeName: 'ibizbook' , appDEMethodCodeName: 'GetDraft' },
static_label3:{ name: 'static_label3', type: 'VIEWLAYOUT', caption: '标签', isShowCaption: true, sysCss: '', itemType: 'RAWITEM', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'page_container', panel: this , viewType: 'DECUSTOMVIEW', predefinedType: 'STATIC_LABEL', contentType: 'RAW', contentStyle: '', rawContent: '多数据容器', htmlContent: '', renderMode: 'PARAGRAPH', wrapMode:'', vAlign:'', hAlign:'', }, static_label3:{ name: 'static_label3', type: 'VIEWLAYOUT', caption: '标签', isShowCaption: true, sysCss: '', itemType: 'RAWITEM', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'page_container', panel: this , viewType: 'DECUSTOMVIEW', predefinedType: 'STATIC_LABEL', contentType: 'RAW', contentStyle: '', rawContent: '多数据容器', htmlContent: '', renderMode: 'PARAGRAPH', wrapMode:'', vAlign:'', hAlign:'', },
button_calluilogic2:{ name: 'button_calluilogic2', type: 'VIEWLAYOUT', caption: '按钮', isShowCaption: true, sysCss: '', itemType: 'BUTTON', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:100, widthMode:'PX', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container2', panel: this , buttonStyle: 'DEFAULT', borderStyle: '', iconAlign: '', uiAction: { actiontarget: 'NONE', noprivdisplaymode: 2, dataaccaction: '', visabled: true, disabled: false }, renderMode: '', }, static_label4:{ name: 'static_label4', type: 'VIEWLAYOUT', caption: '标签', isShowCaption: true, sysCss: '', itemType: 'RAWITEM', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container2', panel: this , viewType: 'DECUSTOMVIEW', predefinedType: 'STATIC_LABEL', contentType: 'RAW', contentStyle: '', rawContent: '按钮权限测试:输入框值为 武侠 时禁用打开文档按钮', htmlContent: '', renderMode: 'PARAGRAPH', wrapMode:'', vAlign:'', hAlign:'', },
field_textbox1:{ name: 'field_textbox1', type: 'VIEWLAYOUT', caption: '文本框', isShowCaption: false, sysCss: '', itemType: 'FIELD', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container2', panel: this , required: false, fieldState: '0', predefinedType: 'FIELD_TEXTBOX', dataItemName:'type', }, button_calluilogic2:{ name: 'button_calluilogic2', type: 'VIEWLAYOUT', caption: '打开文档', isShowCaption: true, sysCss: '', itemType: 'BUTTON', itemStyle: 'INFO', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:100, widthMode:'PX', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container3', panel: this , buttonStyle: 'INFO', borderStyle: '', iconAlign: '', uiAction: { actiontarget: 'SINGLEKEY', noprivdisplaymode: 1, dataaccaction: 'OPEN_DOCUMENT', visabled: true, disabled: false }, renderMode: '', },
container2:{ name: 'container2', type: 'VIEWLAYOUT', caption: '容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'FLEX', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'row',vAlign:''}, parentName: 'container_multidata1', panel: this , details:['button_calluilogic2','field_textbox1'] , dataRegionType: 'INHERIT' }, field_textbox1:{ name: 'field_textbox1', type: 'VIEWLAYOUT', caption: '文本框', isShowCaption: false, sysCss: '', itemType: 'FIELD', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container3', panel: this , required: false, fieldState: '0', predefinedType: 'FIELD_TEXTBOX', dataItemName:'type', },
container3:{ name: 'container3', type: 'VIEWLAYOUT', caption: '容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'FLEX', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'OUTERSMALL', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'row',vAlign:''}, parentName: 'container2', panel: this , details:['button_calluilogic2','field_textbox1'] , dataRegionType: 'INHERIT' },
static_label6:{ name: 'static_label6', type: 'VIEWLAYOUT', caption: '标签', isShowCaption: true, sysCss: '', itemType: 'RAWITEM', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container2', panel: this , viewType: 'DECUSTOMVIEW', predefinedType: 'STATIC_LABEL', contentType: 'RAW', contentStyle: '', rawContent: '多数据容器动态逻辑测试', htmlContent: '', renderMode: 'PARAGRAPH', wrapMode:'', vAlign:'', hAlign:'', },
field_textbox5:{ name: 'field_textbox5', type: 'VIEWLAYOUT', caption: '文本框', isShowCaption: false, sysCss: '', itemType: 'FIELD', itemStyle: 'DEFAULT', visible: false, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container5', panel: this , required: false, fieldState: '0', predefinedType: 'FIELD_TEXTBOX', dataItemName:'', },
field_textbox6:{ name: 'field_textbox6', type: 'VIEWLAYOUT', caption: '文本框', isShowCaption: false, sysCss: '', itemType: 'FIELD', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container5', panel: this , required: false, fieldState: '0', predefinedType: 'FIELD_TEXTBOX', dataItemName:'', },
field_textbox7:{ name: 'field_textbox7', type: 'VIEWLAYOUT', caption: '文本框', isShowCaption: false, sysCss: '', itemType: 'FIELD', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container5', panel: this , required: false, fieldState: '0', predefinedType: 'FIELD_TEXTBOX', dataItemName:'', },
container5:{ name: 'container5', type: 'VIEWLAYOUT', caption: '容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'FLEX', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container2', panel: this , details:['field_textbox5','field_textbox6','field_textbox7'] , dataRegionType: 'INHERIT' },
container2:{ name: 'container2', type: 'VIEWLAYOUT', caption: '容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'FLEX', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'OUTERSMALL', spacingLeft:'', spacingRight:'', spacingTop:'OUTERSMALL', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container_multidata1', panel: this , details:['static_label4','container3','static_label6','container5'] , dataRegionType: 'INHERIT' },
container_multidata1:{ name: 'container_multidata1', type: 'VIEWLAYOUT', caption: '多项数据容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'TABLE_24COL', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'page_container', panel: this , details:['container2'] , dataRegionType: 'MULTIDATA' , dataSourceType: 'DEDATASET' , appDataEntityCodeName: 'ibizbook' , appDEMethodCodeName: 'FetchDefault' }, container_multidata1:{ name: 'container_multidata1', type: 'VIEWLAYOUT', caption: '多项数据容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'TABLE_24COL', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'page_container', panel: this , details:['container2'] , dataRegionType: 'MULTIDATA' , dataSourceType: 'DEDATASET' , appDataEntityCodeName: 'ibizbook' , appDEMethodCodeName: 'FetchDefault' },
page_container:{ name: 'page_container', type: 'VIEWLAYOUT', caption: '', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'TABLE_24COL', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, panel: this , details:['container_singledata1','static_label3','container_multidata1'] , dataRegionType: 'INHERIT' } page_container:{ name: 'page_container', type: 'VIEWLAYOUT', caption: '', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'TABLE_24COL', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, panel: this , details:['static_label2','container_singledata1','static_label3','container_multidata1'] , dataRegionType: 'INHERIT' }
} }
/** /**
...@@ -418,6 +469,108 @@ export default class IBIZBOOKUsr2CustomViewBase extends Vue { ...@@ -418,6 +469,108 @@ export default class IBIZBOOKUsr2CustomViewBase extends Vue {
if (name && (index || index === 0)) { if (name && (index || index === 0)) {
name = name.replace(`_${index}`,""); name = name.replace(`_${index}`,"");
} }
if (Object.is(name, '') || Object.is(name, 'field_textbox4')) {
let ret = true;
let _field_textbox4 = '';
if (index || index === 0) {
_field_textbox4 = this.layoutData[`field_textbox4_${index}`];
} else {
_field_textbox4 = this.layoutData['field_textbox4'];
}
if (this.$verify.testCond(_field_textbox4, "EQ", "3")) {
ret = false;
}
if (index || index === 0) {
this.layoutModelDetails[`field_textbox2_${index}`].required = ret;
} else {
this.layoutModelDetails['field_textbox2'].required = ret;
}
}
if (Object.is(name, '') || Object.is(name, 'field_textbox4')) {
let ret = false;
let _field_textbox4 = '';
if (index || index === 0) {
_field_textbox4 = this.layoutData[`field_textbox4_${index}`];
} else {
_field_textbox4 = this.layoutData['field_textbox4'];
}
if (this.$verify.testCond(_field_textbox4, "EQ", "2")) {
ret = true;
}
if (index || index === 0) {
this.layoutModelDetails[`field_textbox2_${index}`].disabled = !ret;
} else {
this.layoutModelDetails['field_textbox2'].disabled = !ret;
}
}
if (Object.is(name, '') || Object.is(name, 'field_textbox3')) {
let ret = false;
let _field_textbox3 = '';
if (index || index === 0) {
_field_textbox3 = this.layoutData[`field_textbox3_${index}`];
} else {
_field_textbox3 = this.layoutData['field_textbox3'];
}
if (this.$verify.testCond(_field_textbox3, "EQ", "1")) {
ret = true;
}
if (index || index === 0) {
this.layoutModelDetails[`field_textbox2_${index}`].visible = ret;
} else {
this.layoutModelDetails['field_textbox2'].visible = ret;
}
}
if (Object.is(name, '') || Object.is(name, 'field_textbox7')) {
let ret = true;
let _field_textbox7 = '';
if (index || index === 0) {
_field_textbox7 = this.layoutData[`field_textbox7_${index}`];
} else {
_field_textbox7 = this.layoutData['field_textbox7'];
}
if (this.$verify.testCond(_field_textbox7, "EQ", "3")) {
ret = false;
}
if (index || index === 0) {
this.layoutModelDetails[`field_textbox5_${index}`].required = ret;
} else {
this.layoutModelDetails['field_textbox5'].required = ret;
}
}
if (Object.is(name, '') || Object.is(name, 'field_textbox7')) {
let ret = false;
let _field_textbox7 = '';
if (index || index === 0) {
_field_textbox7 = this.layoutData[`field_textbox7_${index}`];
} else {
_field_textbox7 = this.layoutData['field_textbox7'];
}
if (this.$verify.testCond(_field_textbox7, "EQ", "2")) {
ret = true;
}
if (index || index === 0) {
this.layoutModelDetails[`field_textbox5_${index}`].disabled = !ret;
} else {
this.layoutModelDetails['field_textbox5'].disabled = !ret;
}
}
if (Object.is(name, '') || Object.is(name, 'field_textbox6')) {
let ret = false;
let _field_textbox6 = '';
if (index || index === 0) {
_field_textbox6 = this.layoutData[`field_textbox6_${index}`];
} else {
_field_textbox6 = this.layoutData['field_textbox6'];
}
if (this.$verify.testCond(_field_textbox6, "EQ", "1")) {
ret = true;
}
if (index || index === 0) {
this.layoutModelDetails[`field_textbox5_${index}`].visible = ret;
} else {
this.layoutModelDetails['field_textbox5'].visible = ret;
}
}
} }
/** /**
...@@ -448,27 +601,17 @@ export default class IBIZBOOKUsr2CustomViewBase extends Vue { ...@@ -448,27 +601,17 @@ export default class IBIZBOOKUsr2CustomViewBase extends Vue {
}) })
} }
if (Object.is(name, 'button_calluilogic2')) { if (Object.is(name, 'button_calluilogic2')) {
_this.IBIZBOOK_panel_Usr1110541566_button_calluilogic2_click(datas, contextJO, paramJO, $event, xData, this, undefined); window.uiServiceRegister.getService('ibizbook').then((UIService: any) => {
if (UIService && UIService[`IBIZBOOK_openDocument`] && UIService[`IBIZBOOK_openDocument`] instanceof Function) {
UIService[`IBIZBOOK_openDocument`](datas, contextJO, paramJO, $event, xData, this, undefined);
} }
})
} }
/**
* 按钮
*
* @param {any[]} args 当前数据
* @param {any} context 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @param {*} [srfParentDeName] 父实体名称
*/
public IBIZBOOK_panel_Usr1110541566_button_calluilogic2_click(args: any[], context: any = {}, params: any = {}, $event?: any, xData?: any, actionContext?: any, srfParentDeName?: string) {
this.$Notice.error({ title: '错误', desc: '自定义行为未实现' });
} }
/** /**
* 引擎初始化 * 引擎初始化
* *
......
...@@ -711,7 +711,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -711,7 +711,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: 'IBIZBOOKUsr9GridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCustomView_layout' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -747,7 +747,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -747,7 +747,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: 'IBIZBOOKUsr9GridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCustomView_layout' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
......
...@@ -318,7 +318,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -318,7 +318,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @param {*} [$event] 事件源 * @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件 * @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文 * @param {*} [actionContext] 执行行为上下文
* @memberof IBIZOrderPickupGridViewBase * @memberof IBIZOrderSF1GridViewBase
*/ */
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) {
...@@ -461,6 +461,20 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -461,6 +461,20 @@ export default class MainBase extends Vue implements ControlInterface {
return this.selections[0]; return this.selections[0];
} }
/**
* 打开新建数据视图
*
* @type {any}
* @memberof MainBase
*/
@Prop() public newdata: any;
/**
* 打开编辑数据视图
*
* @type {any}
* @memberof MainBase
*/
@Prop() public opendata: any;
/** /**
* 是否嵌入关系界面 * 是否嵌入关系界面
...@@ -995,7 +1009,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -995,7 +1009,7 @@ export default class MainBase extends Vue implements ControlInterface {
if (!this.fetchAction) { if (!this.fetchAction) {
this.$Notice.error({ this.$Notice.error({
title: this.$t("app.commonWords.wrong") as string, title: this.$t("app.commonWords.wrong") as string,
desc: "IBIZOrderPickupGridView" + (this.$t("app.gridpage.notConfig.fetchAction") as string), desc: "IBIZOrderSF1GridView" + (this.$t("app.gridpage.notConfig.fetchAction") as string),
}); });
return; return;
} }
...@@ -1124,7 +1138,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1124,7 +1138,7 @@ export default class MainBase extends Vue implements ControlInterface {
if (!this.removeAction) { if (!this.removeAction) {
this.$Notice.error({ this.$Notice.error({
title: (this.$t('app.commonWords.wrong') as string), title: (this.$t('app.commonWords.wrong') as string),
desc: 'IBIZOrderPickupGridView' + (this.$t('app.gridpage.notConfig.removeAction') as string) desc: 'IBIZOrderSF1GridView' + (this.$t('app.gridpage.notConfig.removeAction') as string)
}); });
return; return;
} }
...@@ -1238,7 +1252,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1238,7 +1252,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/ */
public addBatch(arg: any = {}): void { public addBatch(arg: any = {}): void {
if(!this.fetchAction){ if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
return; return;
} }
if(!arg){ if(!arg){
...@@ -2169,7 +2183,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2169,7 +2183,7 @@ export default class MainBase 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: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.createAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.createAction') as string) });
} else { } else {
Object.assign(item, { viewparams: this.viewparams }); Object.assign(item, { viewparams: this.viewparams });
const tempContext = Util.deepCopy(this.context); const tempContext = Util.deepCopy(this.context);
...@@ -2178,7 +2192,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2178,7 +2192,7 @@ export default class MainBase 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: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.updateAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.updateAction') as string) });
} else { } else {
Object.assign(item, { viewparams: this.viewparams }); Object.assign(item, { viewparams: this.viewparams });
const tempContext = Util.deepCopy(this.context); const tempContext = Util.deepCopy(this.context);
...@@ -2254,7 +2268,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2254,7 +2268,7 @@ export default class MainBase extends Vue implements ControlInterface {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ this.$Notice.error({
title: (this.$t('app.commonWords.wrong') as string), title: (this.$t('app.commonWords.wrong') as string),
desc: 'IBIZOrderPickupGridView' + (this.$t('app.gridpage.notConfig.loaddraftAction') as string) desc: 'IBIZOrderSF1GridView' + (this.$t('app.gridpage.notConfig.loaddraftAction') as string)
}); });
return; return;
} }
......
...@@ -104,6 +104,21 @@ export default class MainModel { ...@@ -104,6 +104,21 @@ export default class MainModel {
prop: 'n_ibizordername_like', prop: 'n_ibizordername_like',
dataType: 'QUERYPARAM' dataType: 'QUERYPARAM'
}, },
{
name: 'n_orderstate_eq',
prop: 'n_orderstate_eq',
dataType: 'QUERYPARAM'
},
{
name: 'n_ordertime_gt',
prop: 'n_ordertime_gt',
dataType: 'QUERYPARAM'
},
{
name: 'n_ordertime_lt',
prop: 'n_ordertime_lt',
dataType: 'QUERYPARAM'
},
{ {
name:'size', name:'size',
......
...@@ -2073,21 +2073,6 @@ ...@@ -2073,21 +2073,6 @@
"uILogicAttachMode" : "REPLACE", "uILogicAttachMode" : "REPLACE",
"uILogicType" : "DELOGIC", "uILogicType" : "DELOGIC",
"id" : "panel_Usr1109586119_button_calluilogic2_click@IBIZBOOK" "id" : "panel_Usr1109586119_button_calluilogic2_click@IBIZBOOK"
}, {
"actionTarget" : "NONE",
"caption" : "按钮",
"codeName" : "panel_Usr1110541566_button_calluilogic2_click",
"fullCodeName" : "IBIZBOOK_panel_Usr1110541566_button_calluilogic2_click",
"name" : "按钮",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"timeout" : 60000,
"uIActionMode" : "CUSTOM",
"uIActionTag" : "panel_Usr1110541566_button_calluilogic2_click",
"uIActionType" : "DEUIACTION",
"id" : "panel_Usr1110541566_button_calluilogic2_click@IBIZBOOK"
}, { }, {
"actionTarget" : "SINGLEDATA", "actionTarget" : "SINGLEDATA",
"caption" : "加载", "caption" : "加载",
......
...@@ -17,9 +17,21 @@ ...@@ -17,9 +17,21 @@
"getAllPSPanelFields" : [ { "getAllPSPanelFields" : [ {
"id" : "field_textbox", "id" : "field_textbox",
"viewFieldName" : "type" "viewFieldName" : "type"
}, {
"id" : "field_textbox2"
}, {
"id" : "field_textbox3"
}, {
"id" : "field_textbox4"
}, { }, {
"id" : "field_textbox1", "id" : "field_textbox1",
"viewFieldName" : "type" "viewFieldName" : "type"
}, {
"id" : "field_textbox5"
}, {
"id" : "field_textbox6"
}, {
"id" : "field_textbox7"
} ], } ],
"codeName" : "Usr1110541566", "codeName" : "Usr1110541566",
"controlType" : "VIEWLAYOUTPANEL", "controlType" : "VIEWLAYOUTPANEL",
...@@ -67,9 +79,9 @@ ...@@ -67,9 +79,9 @@
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}, },
"modelref" : true, "modelref" : true,
"id" : "panel_Usr1110541566_button_calluilogic2_click@IBIZBOOK" "id" : "openDocument@IBIZBOOK"
}, },
"uIActionTarget" : "NONE", "uIActionTarget" : "SINGLEKEY",
"xDataControlName" : "layoutpanel" "xDataControlName" : "layoutpanel"
} ], } ],
"getPSControlParam" : { }, "getPSControlParam" : { },
...@@ -90,6 +102,25 @@ ...@@ -90,6 +102,25 @@
"layout" : "TABLE_24COL" "layout" : "TABLE_24COL"
}, },
"getPSPanelItems" : [ { "getPSPanelItems" : [ {
"caption" : "标签",
"contentType" : "RAW",
"itemStyle" : "DEFAULT",
"itemType" : "RAWITEM",
"name" : "static_label2",
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"getPSRawItem" : {
"caption" : "单数据容器",
"contentType" : "RAW",
"name" : "static_label2",
"predefinedType" : "STATIC_LABEL",
"renderMode" : "PARAGRAPH"
},
"rawContent" : "单数据容器",
"showCaption" : true
}, {
"caption" : "单项数据容器", "caption" : "单项数据容器",
"dataRegionType" : "SINGLEDATA", "dataRegionType" : "SINGLEDATA",
"dataSourceType" : "DEACTION", "dataSourceType" : "DEACTION",
...@@ -110,7 +141,8 @@ ...@@ -110,7 +141,8 @@
}, },
"getPSLayoutPos" : { "getPSLayoutPos" : {
"colMD" : 24, "colMD" : 24,
"layout" : "TABLE_24COL" "layout" : "TABLE_24COL",
"spacingBottom" : "OUTERMEDIUM"
}, },
"getPSPanelItems" : [ { "getPSPanelItems" : [ {
"caption" : "标签", "caption" : "标签",
...@@ -131,25 +163,6 @@ ...@@ -131,25 +163,6 @@
}, },
"rawContent" : "按钮权限测试:输入框值为 武侠 时禁用打开文档按钮", "rawContent" : "按钮权限测试:输入框值为 武侠 时禁用打开文档按钮",
"showCaption" : true "showCaption" : true
}, {
"caption" : "标签",
"contentType" : "RAW",
"itemStyle" : "DEFAULT",
"itemType" : "RAWITEM",
"name" : "static_label2",
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"getPSRawItem" : {
"caption" : "单数据容器",
"contentType" : "RAW",
"name" : "static_label2",
"predefinedType" : "STATIC_LABEL",
"renderMode" : "PARAGRAPH"
},
"rawContent" : "单数据容器",
"showCaption" : true
}, { }, {
"caption" : "容器", "caption" : "容器",
"itemStyle" : "DEFAULT", "itemStyle" : "DEFAULT",
...@@ -165,11 +178,11 @@ ...@@ -165,11 +178,11 @@
}, },
"getPSPanelItems" : [ { "getPSPanelItems" : [ {
"actionType" : "UIACTION", "actionType" : "UIACTION",
"buttonStyle" : "DEFAULT", "buttonStyle" : "INFO",
"buttonWidth" : 100.0, "buttonWidth" : 100.0,
"caption" : "打开文档", "caption" : "打开文档",
"contentWidth" : 100.0, "contentWidth" : 100.0,
"itemStyle" : "DEFAULT", "itemStyle" : "INFO",
"itemType" : "BUTTON", "itemType" : "BUTTON",
"name" : "button_calluilogic1", "name" : "button_calluilogic1",
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
...@@ -227,6 +240,129 @@ ...@@ -227,6 +240,129 @@
"hidden" : false, "hidden" : false,
"showCaption" : false "showCaption" : false
} ] } ]
}, {
"caption" : "标签",
"contentType" : "RAW",
"itemStyle" : "DEFAULT",
"itemType" : "RAWITEM",
"name" : "static_label5",
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"getPSRawItem" : {
"caption" : "单数据容器动态逻辑测试",
"contentType" : "RAW",
"name" : "static_label5",
"predefinedType" : "STATIC_LABEL",
"renderMode" : "PARAGRAPH"
},
"rawContent" : "单数据容器动态逻辑测试",
"showCaption" : true
}, {
"caption" : "容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container4",
"getPSLayout" : {
"layout" : "FLEX"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"getPSPanelItems" : [ {
"caption" : "文本框",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "field_textbox2",
"getPSEditor" : {
"editorType" : "TEXTBOX",
"name" : "field_textbox2",
"predefinedType" : "FIELD_TEXTBOX"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSPanelItemGroupLogics" : [ {
"groupOP" : "AND",
"logicCat" : "PANELVISIBLE",
"logicType" : "GROUP",
"name" : "面板成员[field_textbox2][面板显示]逻辑",
"getPSPanelItemLogics" : [ {
"condOp" : "EQ",
"dstModelField" : "field_textbox3",
"logicType" : "SINGLE",
"name" : "逻辑项",
"value" : "1"
} ],
"relatedItemNames" : [ "field_textbox3" ],
"notMode" : false
}, {
"groupOP" : "AND",
"logicCat" : "ITEMBLANK",
"logicType" : "GROUP",
"name" : "面板成员[field_textbox2][表单项空输入]逻辑",
"getPSPanelItemLogics" : [ {
"condOp" : "EQ",
"dstModelField" : "field_textbox4",
"logicType" : "SINGLE",
"name" : "逻辑项",
"value" : "3"
} ],
"relatedItemNames" : [ "field_textbox4" ],
"notMode" : false
}, {
"groupOP" : "AND",
"logicCat" : "ITEMENABLE",
"logicType" : "GROUP",
"name" : "面板成员[field_textbox2][表单项启用]逻辑",
"getPSPanelItemLogics" : [ {
"condOp" : "EQ",
"dstModelField" : "field_textbox4",
"logicType" : "SINGLE",
"name" : "逻辑项",
"value" : "2"
} ],
"relatedItemNames" : [ "field_textbox4" ],
"notMode" : false
} ],
"hidden" : false,
"showCaption" : false
}, {
"caption" : "文本框",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "field_textbox3",
"getPSEditor" : {
"editorType" : "TEXTBOX",
"name" : "field_textbox3",
"predefinedType" : "FIELD_TEXTBOX"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"hidden" : false,
"showCaption" : false
}, {
"caption" : "文本框",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "field_textbox4",
"getPSEditor" : {
"editorType" : "TEXTBOX",
"name" : "field_textbox4",
"predefinedType" : "FIELD_TEXTBOX"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"hidden" : false,
"showCaption" : false
} ]
} ] } ]
}, { }, {
"caption" : "标签", "caption" : "标签",
...@@ -276,20 +412,54 @@ ...@@ -276,20 +412,54 @@
"itemType" : "CONTAINER", "itemType" : "CONTAINER",
"name" : "container2", "name" : "container2",
"getPSLayout" : { "getPSLayout" : {
"dir" : "row",
"layout" : "FLEX" "layout" : "FLEX"
}, },
"getPSLayoutPos" : { "getPSLayoutPos" : {
"colMD" : 24, "colMD" : 24,
"layout" : "TABLE_24COL" "layout" : "TABLE_24COL",
"spacingBottom" : "OUTERSMALL",
"spacingTop" : "OUTERSMALL"
},
"getPSPanelItems" : [ {
"caption" : "标签",
"contentType" : "RAW",
"itemStyle" : "DEFAULT",
"itemType" : "RAWITEM",
"name" : "static_label4",
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSRawItem" : {
"caption" : "按钮权限测试:输入框值为 武侠 时禁用打开文档按钮",
"contentType" : "RAW",
"name" : "static_label4",
"predefinedType" : "STATIC_LABEL",
"renderMode" : "PARAGRAPH"
},
"rawContent" : "按钮权限测试:输入框值为 武侠 时禁用打开文档按钮",
"showCaption" : true
}, {
"caption" : "容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container3",
"getPSLayout" : {
"dir" : "row",
"layout" : "FLEX"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX",
"spacingBottom" : "OUTERSMALL"
}, },
"getPSPanelItems" : [ { "getPSPanelItems" : [ {
"actionType" : "UIACTION", "actionType" : "UIACTION",
"buttonStyle" : "DEFAULT", "buttonStyle" : "INFO",
"buttonWidth" : 100.0, "buttonWidth" : 100.0,
"caption" : "按钮", "caption" : "打开文档",
"contentWidth" : 100.0, "contentWidth" : 100.0,
"itemStyle" : "DEFAULT", "itemStyle" : "INFO",
"itemType" : "BUTTON", "itemType" : "BUTTON",
"name" : "button_calluilogic2", "name" : "button_calluilogic2",
"getPSAppViewUIAction" : { "getPSAppViewUIAction" : {
...@@ -303,22 +473,30 @@ ...@@ -303,22 +473,30 @@
"widthMode" : "PX" "widthMode" : "PX"
}, },
"getPSUIAction" : { "getPSUIAction" : {
"actionTarget" : "NONE", "actionTarget" : "SINGLEKEY",
"caption" : "按钮", "noPrivDisplayMode" : 1,
"codeName" : "panel_Usr1110541566_button_calluilogic2_click", "caption" : "打开文档",
"fullCodeName" : "IBIZBOOK_panel_Usr1110541566_button_calluilogic2_click", "codeName" : "openDocument",
"name" : "按钮", "dataAccessAction" : "OPEN_DOCUMENT",
"frontProcessType" : "OPENHTMLPAGE",
"fullCodeName" : "IBIZBOOK_openDocument",
"htmlPageUrl" : "https://www.yuque.com/ibiz/wuf19n",
"name" : "打开文档",
"getPSAppDataEntity" : { "getPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}, },
"getPSDEOPPriv" : {
"modelref" : true,
"id" : "OPEN_DOCUMENT"
},
"timeout" : 60000, "timeout" : 60000,
"uIActionMode" : "CUSTOM", "uIActionMode" : "FRONT",
"uIActionTag" : "panel_Usr1110541566_button_calluilogic2_click", "uIActionTag" : "openDocument",
"uIActionType" : "DEUIACTION", "uIActionType" : "DEUIACTION",
"id" : "panel_Usr1110541566_button_calluilogic2_click@IBIZBOOK" "id" : "openDocument@IBIZBOOK"
}, },
"tooltip" : "按钮", "tooltip" : "打开文档",
"width" : 100.0, "width" : 100.0,
"showCaption" : true "showCaption" : true
}, { }, {
...@@ -339,6 +517,130 @@ ...@@ -339,6 +517,130 @@
"hidden" : false, "hidden" : false,
"showCaption" : false "showCaption" : false
} ] } ]
}, {
"caption" : "标签",
"contentType" : "RAW",
"itemStyle" : "DEFAULT",
"itemType" : "RAWITEM",
"name" : "static_label6",
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSRawItem" : {
"caption" : "多数据容器动态逻辑测试",
"contentType" : "RAW",
"name" : "static_label6",
"predefinedType" : "STATIC_LABEL",
"renderMode" : "PARAGRAPH"
},
"rawContent" : "多数据容器动态逻辑测试",
"showCaption" : true
}, {
"caption" : "容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container5",
"getPSLayout" : {
"layout" : "FLEX"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSPanelItems" : [ {
"caption" : "文本框",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "field_textbox5",
"getPSEditor" : {
"editorType" : "TEXTBOX",
"name" : "field_textbox5",
"predefinedType" : "FIELD_TEXTBOX"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSPanelItemGroupLogics" : [ {
"groupOP" : "AND",
"logicCat" : "PANELVISIBLE",
"logicType" : "GROUP",
"name" : "面板成员[field_textbox5][面板显示]逻辑",
"getPSPanelItemLogics" : [ {
"condOp" : "EQ",
"dstModelField" : "field_textbox6",
"logicType" : "SINGLE",
"name" : "逻辑项",
"value" : "1"
} ],
"relatedItemNames" : [ "field_textbox6" ],
"notMode" : false
}, {
"groupOP" : "AND",
"logicCat" : "ITEMBLANK",
"logicType" : "GROUP",
"name" : "面板成员[field_textbox5][表单项空输入]逻辑",
"getPSPanelItemLogics" : [ {
"condOp" : "EQ",
"dstModelField" : "field_textbox7",
"logicType" : "SINGLE",
"name" : "逻辑项",
"value" : "3"
} ],
"relatedItemNames" : [ "field_textbox7" ],
"notMode" : false
}, {
"groupOP" : "AND",
"logicCat" : "ITEMENABLE",
"logicType" : "GROUP",
"name" : "面板成员[field_textbox5][表单项启用]逻辑",
"getPSPanelItemLogics" : [ {
"condOp" : "EQ",
"dstModelField" : "field_textbox7",
"logicType" : "SINGLE",
"name" : "逻辑项",
"value" : "2"
} ],
"relatedItemNames" : [ "field_textbox7" ],
"notMode" : false
} ],
"hidden" : false,
"showCaption" : false
}, {
"caption" : "文本框",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "field_textbox6",
"getPSEditor" : {
"editorType" : "TEXTBOX",
"name" : "field_textbox6",
"predefinedType" : "FIELD_TEXTBOX"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"hidden" : false,
"showCaption" : false
}, {
"caption" : "文本框",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "field_textbox7",
"getPSEditor" : {
"editorType" : "TEXTBOX",
"name" : "field_textbox7",
"predefinedType" : "FIELD_TEXTBOX"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"hidden" : false,
"showCaption" : false
} ]
} ]
} ] } ]
} ] } ]
} ], } ],
......
...@@ -26894,21 +26894,6 @@ ...@@ -26894,21 +26894,6 @@
"uILogicAttachMode" : "REPLACE", "uILogicAttachMode" : "REPLACE",
"uILogicType" : "DELOGIC", "uILogicType" : "DELOGIC",
"id" : "panel_Usr1109586119_button_calluilogic2_click@IBIZBOOK" "id" : "panel_Usr1109586119_button_calluilogic2_click@IBIZBOOK"
}, {
"actionTarget" : "NONE",
"caption" : "按钮",
"codeName" : "panel_Usr1110541566_button_calluilogic2_click",
"fullCodeName" : "IBIZBOOK_panel_Usr1110541566_button_calluilogic2_click",
"name" : "按钮",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"timeout" : 60000,
"uIActionMode" : "CUSTOM",
"uIActionTag" : "panel_Usr1110541566_button_calluilogic2_click",
"uIActionType" : "DEUIACTION",
"id" : "panel_Usr1110541566_button_calluilogic2_click@IBIZBOOK"
}, { }, {
"actionTarget" : "SINGLEDATA", "actionTarget" : "SINGLEDATA",
"caption" : "加载", "caption" : "加载",
......
...@@ -172,7 +172,7 @@ ...@@ -172,7 +172,7 @@
<!--输出实体[IBIZBOOK]数据结构 --> <!--输出实体[IBIZBOOK]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizbook-800-7"> <changeSet author="a_LAB01_df847bdfd" id="tab-ibizbook-804-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 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册