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

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

上级 d8d527c4
......@@ -1978,8 +1978,6 @@ function getLocaleResourceBase(){
tip: commonLogic.appcommonhandle("数据导入",null),
},
},
usr6listviewtoolbar_toolbar: {
},
listviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("新建",null),
......
......@@ -1978,8 +1978,6 @@ function getLocaleResourceBase(){
tip: commonLogic.appcommonhandle("数据导入",null),
},
},
usr6listviewtoolbar_toolbar: {
},
listviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("New",null),
......
......@@ -1978,8 +1978,6 @@ function getLocaleResourceBase(){
tip: commonLogic.appcommonhandle("数据导入",null),
},
},
usr6listviewtoolbar_toolbar: {
},
listviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("新建",null),
......
<template>
<div class='view-container delistview ibizbookusr6-list-view'>
<app-studioaction :viewTitle="$t(model.srfCaption)" viewName="ibizbookusr6listview"></app-studioaction>
<card class='view-card ' :bordered="false" :dis-hover="true" >
<card class='view-card view-no-toolbar' :bordered="false" :dis-hover="true" >
<div slot='title' class="header-container">
<span class='caption-info' :title="$t(model.srfCaption)">{{$t(model.srfCaption)}}</span>
......@@ -10,29 +10,10 @@
<div class='content-container'>
<div style="margin-bottom:6px;">
<i-input v-show="!isExpandSearchForm" v-model="query" search enter-button @on-search="onSearch($event)" class='pull-left' placeholder="图书名称" style='max-width: 400px;margin-top:6px;padding-left: 24px' />
<i-input v-model="query" search enter-button @on-search="onSearch($event)" class='pull-left' placeholder="图书名称" style='max-width: 400px;margin-top:6px;padding-left: 24px' />
<div class='pull-right'>
<div class='toolbar-container'>
</div>
</div>
</div>
<view_searchform
:viewState="viewState"
:viewparams="viewparams"
:context="context"
:pViewCtx="viewCtx"
:showBusyIndicator="true"
v-show="true"
loaddraftAction="FilterGetDraft"
loadAction="FilterGet"
@valuechange="quickFormValueChange"
name="searchform"
ref='searchform'
@search="searchform_search($event)"
@load="searchform_load($event)"
@save="searchform_save($event)"
@closeview="closeView($event)">
</view_searchform>
<view_list
:viewState="viewState"
:viewparams="viewparams"
......@@ -240,8 +221,6 @@ export default class IBIZBOOKUsr6ListViewBase extends Vue {
* @memberof IBIZBOOKUsr6ListViewBase
*/
public containerModel: any = {
view_searchform: { name: 'searchform', type: 'SEARCHFORM' },
view_toolbar: { name: 'toolbar', type: 'TOOLBAR' },
view_list: { name: 'list', type: 'LIST' },
};
......@@ -290,15 +269,6 @@ export default class IBIZBOOKUsr6ListViewBase extends Vue {
* @memberof IBIZBOOKUsr6ListViewBase
*/
public viewState: Subject<ViewState> = new Subject();
/**
* 工具栏模型
*
* @type {*}
* @memberof IBIZBOOKUsr6ListView
*/
public toolBarModels: any = {
};
......@@ -327,7 +297,6 @@ export default class IBIZBOOKUsr6ListViewBase extends Vue {
newdata: (args: any[],fullargs?:any[],params?: any, $event?: any, xData?: any) => {
this.newdata(args,fullargs, params, $event, xData);
},
searchform: this.$refs.searchform,
keyPSDEField: 'ibizbook',
majorPSDEField: 'ibizbookname',
isLoadDefault: true,
......@@ -682,36 +651,6 @@ export default class IBIZBOOKUsr6ListViewBase extends Vue {
}
/**
* searchform 部件 search 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof IBIZBOOKUsr6ListViewBase
*/
public searchform_search($event: any, $event2?: any) {
this.engine.onCtrlEvent('searchform', 'search', $event);
}
/**
* searchform 部件 load 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof IBIZBOOKUsr6ListViewBase
*/
public searchform_load($event: any, $event2?: any) {
this.engine.onCtrlEvent('searchform', 'load', $event);
}
/**
* searchform 部件 save 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof IBIZBOOKUsr6ListViewBase
*/
public searchform_save($event: any, $event2?: any) {
this.engine.onCtrlEvent('searchform', 'save', $event);
}
/**
* list 部件 rowdblclick 事件
*
......
.ibizbookusr6-list-view{
position: relative;
}
.toolbar-container {
button {
margin: 6px 0px 4px 4px;
.caption {
margin-left: 4px;
}
}
.seperator {
color: #dcdee2;
margin: 0 0px 0 4px;
}
}
// this is less
......@@ -2,11 +2,9 @@
import { Component } from 'vue-property-decorator';
import IBIZBOOKUsr6ListViewBase from './ibizbookusr6-list-view-base.vue';
import view_searchform from '@widgets/ibizbook/quicksearchform-searchform/quicksearchform-searchform.vue';
import view_list from '@widgets/ibizbook/test-list-list/test-list-list.vue';
@Component({
components: {
view_searchform,
view_list,
},
beforeRouteEnter: (to: any, from: any, next: any) => {
......
......@@ -711,7 +711,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public load(opt: any = {}): void {
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: 'IBIZBOOKUsr2GridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -747,7 +747,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public async loadDraft(opt: any = {},mode?:string): Promise<any> {
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: 'IBIZBOOKUsr2GridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return;
}
const arg: any = { ...opt } ;
......
......@@ -1378,7 +1378,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
*/
public async load(opt: any = {}): Promise<any> {
if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.loadaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loadaction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -1425,7 +1425,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
*/
public async loadDraft(opt: any = {}): Promise<any> {
if (!this.loaddraftAction) {
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
return;
}
const arg: any = { ...opt } ;
......@@ -1495,7 +1495,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.actionname') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) });
return;
}
Object.assign(arg,{viewparams:this.viewparams});
......@@ -1603,7 +1603,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.actionname') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) });
return;
}
Object.assign(arg, { viewparams: this.viewparams });
......@@ -1695,7 +1695,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> {
return new Promise((resolve: any, reject: any) => {
if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.removeaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.removeaction') as string) });
return;
}
const arg: any = opt[0];
......
......@@ -1344,7 +1344,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
*/
public async load(opt: any = {}): Promise<any> {
if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.loadaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loadaction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -1391,7 +1391,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
*/
public async loadDraft(opt: any = {}): Promise<any> {
if (!this.loaddraftAction) {
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
return;
}
const arg: any = { ...opt } ;
......@@ -1461,7 +1461,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.actionname') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) });
return;
}
Object.assign(arg,{viewparams:this.viewparams});
......@@ -1569,7 +1569,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.actionname') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) });
return;
}
Object.assign(arg, { viewparams: this.viewparams });
......@@ -1661,7 +1661,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> {
return new Promise((resolve: any, reject: any) => {
if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.removeaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.removeaction') as string) });
return;
}
const arg: any = opt[0];
......
......@@ -1447,7 +1447,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
*/
public async load(opt: any = {}): Promise<any> {
if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.loadaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loadaction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -1494,7 +1494,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
*/
public async loadDraft(opt: any = {}): Promise<any> {
if (!this.loaddraftAction) {
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
return;
}
const arg: any = { ...opt } ;
......@@ -1564,7 +1564,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.actionname') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) });
return;
}
Object.assign(arg,{viewparams:this.viewparams});
......@@ -1672,7 +1672,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.actionname') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) });
return;
}
Object.assign(arg, { viewparams: this.viewparams });
......@@ -1764,7 +1764,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> {
return new Promise((resolve: any, reject: any) => {
if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.removeaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.removeaction') as string) });
return;
}
const arg: any = opt[0];
......
......@@ -38,12 +38,6 @@ export default class TestListModel {
prop: 'ibizbookid',
dataType: 'FONTKEY',
},
{
name: 'n_ibizbookname_like',
prop: 'n_ibizbookname_like',
dataType: 'QUERYPARAM'
},
{
name:'size',
prop:'size'
......
<template>
<div class="app-layoutpanel TestList" v-loading="isLayoutLoadding" :style="{width: '100%', height: '100%', overflow: 'auto'}">
<div v-show="!isLayoutLoadding" :style="{height: '100%', width: '100%'}">
<app-standard-container name="container1" :isMultiContainer="false" :layoutModelDetails="layoutModelDetails">
<template #static_label1>
<app-preset-text name="static_label1" :layoutModelDetails="layoutModelDetails"/>
</template>
<template #container2>
<app-standard-container name="container2" :isMultiContainer="false" :layoutModelDetails="layoutModelDetails">
<template #field_text_dynamic>
<app-preset-text name="field_text_dynamic" :value="layoutData.field_text_dynamic" :layoutModelDetails="layoutModelDetails"/>
</template>
<template #button_calluilogic1>
<app-preset-button name="button_calluilogic1" :layoutModelDetails="layoutModelDetails" @itemClick="handleButtonClick" />
</template>
</app-standard-container>
</template>
<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>
</template>
<template #field_textbox1>
<app-panel-field name="field_textbox1" :layoutModelDetails="layoutModelDetails" :value="layoutData.field_textbox1"> <input-box type="text" name="field_textbox1" :itemValue="layoutData.field_textbox1" :disabled="layoutModelDetails.field_textbox1 ? layoutModelDetails.field_textbox1.disabled : false" @change="(value) => handleValueChange({ name: 'field_textbox1', value })"> </input-box> </app-panel-field>
</template>
<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>
</app-standard-container>
</div>
</div>
......@@ -306,7 +282,7 @@ export default class TestListBase extends Vue implements ControlInterface {
* @public
* @memberof List_itempanelBase
*/
public rootLayoutDetailNames: string[] = [ 'container1' ];
public rootLayoutDetailNames: string[] = [ ];
/**
* 视图布局面板项模型对象
......@@ -315,14 +291,6 @@ export default class TestListBase extends Vue implements ControlInterface {
* @memberof List_itempanelBase
*/
public layoutItems:any = {
static_label1:{ name: 'static_label1', type: 'ITEMLAYOUT', 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: 'container1', panel: this , viewType: 'DELISTVIEW', predefinedType: 'STATIC_LABEL', contentType: 'RAW', contentStyle: '', rawContent: '武侠 禁用打开文档按钮', htmlContent: '', renderMode: 'PARAGRAPH', wrapMode:'', vAlign:'', hAlign:'', },
field_text_dynamic:{ name: 'field_text_dynamic', type: 'ITEMLAYOUT', 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_TEXT_DYNAMIC', renderMode: 'TEXT_DYNAMIC', dataItemName:'type', wrapMode:'', vAlign:'', hAlign:'', },
button_calluilogic1:{ name: 'button_calluilogic1', type: 'ITEMLAYOUT', 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 , xDataControlName: 'list', buttonStyle: 'DEFAULT', borderStyle: '', iconAlign: '', uiAction: { actiontarget: 'SINGLEKEY', noprivdisplaymode: 1, dataaccaction: 'OPEN_DOCUMENT', visabled: true, disabled: false }, renderMode: '', },
container2:{ name: 'container2', type: 'ITEMLAYOUT', 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:'row',vAlign:''}, parentName: 'container1', panel: this , details:['field_text_dynamic','button_calluilogic1'] , dataRegionType: 'INHERIT' },
field_textbox:{ name: 'field_textbox', type: 'ITEMLAYOUT', 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: 'container1', panel: this , required: false, fieldState: '0', predefinedType: 'FIELD_TEXTBOX', dataItemName:'', },
field_textbox1:{ name: 'field_textbox1', type: 'ITEMLAYOUT', 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:'', },
field_textbox2:{ name: 'field_textbox2', type: 'ITEMLAYOUT', 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:'', },
container1:{ name: 'container1', type: 'ITEMLAYOUT', 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:''}, panel: this , details:['static_label1','container2','field_textbox','field_textbox1','field_textbox2'] , dataRegionType: 'INHERIT' }
}
/**
......@@ -575,51 +543,6 @@ export default class TestListBase extends Vue implements ControlInterface {
* @memberof TestListBase
*/
public panelLogic(name: string, index?: number): void {
if (Object.is(name, '') || Object.is(name, 'field_textbox2')) {
let ret = true;
let _field_textbox2 = this.layoutData['field_textbox2'];
if (index || index === 0) {
_field_textbox2 = this.layoutData[`field_textbox2_${index}`];
}
if (this.$verify.testCond(_field_textbox2, "EQ", "3")) {
ret = false;
}
if (index || index === 0) {
this.layoutModelDetails[`field_textbox_${index}`].required = ret;
} else {
this.layoutModelDetails['field_textbox'].required = ret;
}
}
if (Object.is(name, '') || Object.is(name, 'field_textbox2')) {
let ret = false;
let _field_textbox2 = this.layoutData['field_textbox2'];
if (index || index === 0) {
_field_textbox2 = this.layoutData[`field_textbox2_${index}`];
}
if (this.$verify.testCond(_field_textbox2, "EQ", "2")) {
ret = true;
}
if (index || index === 0) {
this.layoutModelDetails[`field_textbox_${index}`].disabled = !ret;
} else {
this.layoutModelDetails['field_textbox'].disabled = !ret;
}
}
if (Object.is(name, '') || Object.is(name, 'field_textbox1')) {
let ret = false;
let _field_textbox1 = this.layoutData['field_textbox1'];
if (index || index === 0) {
_field_textbox1 = this.layoutData[`field_textbox1_${index}`];
}
if (this.$verify.testCond(_field_textbox1, "EQ", "1")) {
ret = true;
}
if (index || index === 0) {
this.layoutModelDetails[`field_textbox_${index}`].visible = ret;
} else {
this.layoutModelDetails['field_textbox'].visible = ret;
}
}
}
/**
......@@ -642,13 +565,6 @@ export default class TestListBase extends Vue implements ControlInterface {
const paramJO: any = {};
const contextJO: any = {};
const _this: any = this;
if (Object.is(name, 'button_calluilogic1')) {
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);
}
})
}
}
......
......@@ -14,22 +14,6 @@ export default class TestListModel {
*/
public getDataItems(): any[] {
return [
{
name: 'field_text_dynamic',
prop: 'type'
},
{
name: 'field_textbox',
prop: ''
},
{
name: 'field_textbox1',
prop: ''
},
{
name: 'field_textbox2',
prop: ''
}
]
}
}
\ No newline at end of file
......@@ -697,7 +697,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
*/
public async load(opt: any = {}, isReset: boolean = false): Promise<any> {
if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKTestCLDataView' + (this.$t('app.list.notConfig.fetchAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4DataView' + (this.$t('app.list.notConfig.fetchAction') as string) });
return;
}
const arg: any = {...opt};
......@@ -791,7 +791,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
*/
public async remove(datas: any[]): Promise<any> {
if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKTestCLDataView' + (this.$t('app.gridpage.notConfig.removeAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4DataView' + (this.$t('app.gridpage.notConfig.removeAction') as string) });
return;
}
let _datas:any[] = [];
......@@ -907,7 +907,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
try {
if(Object.is(item.rowDataState, 'create')){
if(!this.createAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKTestCLDataView' + (this.$t('app.list.notConfig.createAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4DataView' + (this.$t('app.list.notConfig.createAction') as string) });
}else{
Object.assign(item,{viewparams:this.viewparams});
let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator);
......@@ -915,7 +915,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
}
}else if(Object.is(item.rowDataState, 'update')){
if(!this.updateAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKTestCLDataView' + (this.$t('app.list.notConfig.updateAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4DataView' + (this.$t('app.list.notConfig.updateAction') as string) });
}else{
Object.assign(item,{viewparams:this.viewparams});
if(item.ibizbook){
......
......@@ -69,6 +69,11 @@ export default class Usr4Model {
prop: 'n_ibizbookname_like',
dataType: 'QUERYPARAM'
},
{
name: 'n_price_gtandeq',
prop: 'n_price_gtandeq',
dataType: 'QUERYPARAM'
},
{
......
......@@ -17,16 +17,6 @@
"groupMode" : "NONE",
"hookEventNames" : [ "ROWDBLCLICK", "SELECTIONCHANGE", "REMOVE", "LOAD", "BEFORELOAD" ],
"getItemPSLayoutPanel" : {
"getAllPSPanelFields" : [ {
"id" : "field_text_dynamic",
"viewFieldName" : "type"
}, {
"id" : "field_textbox"
}, {
"id" : "field_textbox1"
}, {
"id" : "field_textbox2"
} ],
"codeName" : "TestList",
"controlType" : "PANEL",
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSPANELS/TestList.json",
......@@ -36,236 +26,11 @@
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSAppViewLogics" : [ {
"logicTrigger" : "CUSTOM",
"logicType" : "APPVIEWUIACTION",
"name" : "list_itempanel_button_calluilogic1_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "list_itempanel_button_calluilogic1"
}
} ],
"getPSAppViewUIActions" : [ {
"name" : "list_itempanel_button_calluilogic1",
"getPSUIAction" : {
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"modelref" : true,
"id" : "openDocument@IBIZBOOK"
},
"uIActionTarget" : "SINGLEKEY",
"xDataControlName" : "list_itempanel"
} ],
"getPSControlParam" : { },
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getRootPSPanelItems" : [ {
"caption" : "容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container1",
"getPSLayout" : {
"layout" : "FLEX"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"getPSPanelItems" : [ {
"caption" : "标签",
"contentType" : "RAW",
"itemStyle" : "DEFAULT",
"itemType" : "RAWITEM",
"name" : "static_label1",
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSRawItem" : {
"caption" : "武侠 禁用打开文档按钮",
"contentType" : "RAW",
"name" : "static_label1",
"predefinedType" : "STATIC_LABEL",
"renderMode" : "PARAGRAPH"
},
"rawContent" : "武侠 禁用打开文档按钮",
"showCaption" : true
}, {
"caption" : "容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container2",
"getPSLayout" : {
"dir" : "row",
"layout" : "FLEX"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSPanelItems" : [ {
"caption" : "文本(动态)",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "field_text_dynamic",
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "field_text_dynamic",
"predefinedType" : "FIELD_TEXT_DYNAMIC",
"renderMode" : "TEXT_DYNAMIC",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"viewFieldName" : "type",
"hidden" : false,
"showCaption" : false
}, {
"actionType" : "UIACTION",
"buttonStyle" : "DEFAULT",
"buttonWidth" : 100.0,
"caption" : "打开文档",
"contentWidth" : 100.0,
"itemStyle" : "DEFAULT",
"itemType" : "BUTTON",
"name" : "button_calluilogic1",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "list_itempanel_button_calluilogic1"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX",
"width" : 100,
"widthMode" : "PX"
},
"getPSUIAction" : {
"actionTarget" : "SINGLEKEY",
"noPrivDisplayMode" : 1,
"caption" : "打开文档",
"codeName" : "openDocument",
"dataAccessAction" : "OPEN_DOCUMENT",
"frontProcessType" : "OPENHTMLPAGE",
"fullCodeName" : "IBIZBOOK_openDocument",
"htmlPageUrl" : "https://www.yuque.com/ibiz/wuf19n",
"name" : "打开文档",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSDEOPPriv" : {
"modelref" : true,
"id" : "OPEN_DOCUMENT"
},
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "openDocument",
"uIActionType" : "DEUIACTION",
"id" : "openDocument@IBIZBOOK"
},
"tooltip" : "打开文档",
"width" : 100.0,
"showCaption" : true
} ]
}, {
"caption" : "文本框",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "field_textbox",
"getPSEditor" : {
"editorType" : "TEXTBOX",
"name" : "field_textbox",
"predefinedType" : "FIELD_TEXTBOX"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSPanelItemGroupLogics" : [ {
"groupOP" : "AND",
"logicCat" : "PANELVISIBLE",
"logicType" : "GROUP",
"name" : "面板成员[field_textbox][面板显示]逻辑",
"getPSPanelItemLogics" : [ {
"condOp" : "EQ",
"dstModelField" : "field_textbox1",
"logicType" : "SINGLE",
"name" : "逻辑项",
"value" : "1"
} ],
"relatedItemNames" : [ "field_textbox1" ],
"notMode" : false
}, {
"groupOP" : "AND",
"logicCat" : "ITEMBLANK",
"logicType" : "GROUP",
"name" : "面板成员[field_textbox][表单项空输入]逻辑",
"getPSPanelItemLogics" : [ {
"condOp" : "EQ",
"dstModelField" : "field_textbox2",
"logicType" : "SINGLE",
"name" : "逻辑项",
"value" : "3"
} ],
"relatedItemNames" : [ "field_textbox2" ],
"notMode" : false
}, {
"groupOP" : "AND",
"logicCat" : "ITEMENABLE",
"logicType" : "GROUP",
"name" : "面板成员[field_textbox][表单项启用]逻辑",
"getPSPanelItemLogics" : [ {
"condOp" : "EQ",
"dstModelField" : "field_textbox2",
"logicType" : "SINGLE",
"name" : "逻辑项",
"value" : "2"
} ],
"relatedItemNames" : [ "field_textbox2" ],
"notMode" : false
} ],
"hidden" : false,
"showCaption" : false
}, {
"caption" : "文本框",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "field_textbox1",
"getPSEditor" : {
"editorType" : "TEXTBOX",
"name" : "field_textbox1",
"predefinedType" : "FIELD_TEXTBOX"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"hidden" : false,
"showCaption" : false
}, {
"caption" : "文本框",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "field_textbox2",
"getPSEditor" : {
"editorType" : "TEXTBOX",
"name" : "field_textbox2",
"predefinedType" : "FIELD_TEXTBOX"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"hidden" : false,
"showCaption" : false
} ]
} ],
"name" : "list_itempanel",
"modelid" : "657FB036-73B2-4485-B8C6-DF54910B43E4",
"modeltype" : "PSSYSVIEWPANEL"
......
{
"getAllPSPanelFields" : [ {
"id" : "field_text_dynamic",
"viewFieldName" : "type"
}, {
"id" : "field_textbox"
}, {
"id" : "field_textbox1"
}, {
"id" : "field_textbox2"
} ],
"codeName" : "TestList",
"controlType" : "PANEL",
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSPANELS/TestList.json",
......@@ -18,235 +8,10 @@
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSAppViewLogics" : [ {
"logicTrigger" : "CUSTOM",
"logicType" : "APPVIEWUIACTION",
"name" : "list_itempanel_button_calluilogic1_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "list_itempanel_button_calluilogic1"
}
} ],
"getPSAppViewUIActions" : [ {
"name" : "list_itempanel_button_calluilogic1",
"getPSUIAction" : {
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"modelref" : true,
"id" : "openDocument@IBIZBOOK"
},
"uIActionTarget" : "SINGLEKEY",
"xDataControlName" : "list_itempanel"
} ],
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getRootPSPanelItems" : [ {
"caption" : "容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container1",
"getPSLayout" : {
"layout" : "FLEX"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"getPSPanelItems" : [ {
"caption" : "标签",
"contentType" : "RAW",
"itemStyle" : "DEFAULT",
"itemType" : "RAWITEM",
"name" : "static_label1",
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSRawItem" : {
"caption" : "武侠 禁用打开文档按钮",
"contentType" : "RAW",
"name" : "static_label1",
"predefinedType" : "STATIC_LABEL",
"renderMode" : "PARAGRAPH"
},
"rawContent" : "武侠 禁用打开文档按钮",
"showCaption" : true
}, {
"caption" : "容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container2",
"getPSLayout" : {
"dir" : "row",
"layout" : "FLEX"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSPanelItems" : [ {
"caption" : "文本(动态)",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "field_text_dynamic",
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "field_text_dynamic",
"predefinedType" : "FIELD_TEXT_DYNAMIC",
"renderMode" : "TEXT_DYNAMIC",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"viewFieldName" : "type",
"hidden" : false,
"showCaption" : false
}, {
"actionType" : "UIACTION",
"buttonStyle" : "DEFAULT",
"buttonWidth" : 100.0,
"caption" : "打开文档",
"contentWidth" : 100.0,
"itemStyle" : "DEFAULT",
"itemType" : "BUTTON",
"name" : "button_calluilogic1",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "list_itempanel_button_calluilogic1"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX",
"width" : 100,
"widthMode" : "PX"
},
"getPSUIAction" : {
"actionTarget" : "SINGLEKEY",
"noPrivDisplayMode" : 1,
"caption" : "打开文档",
"codeName" : "openDocument",
"dataAccessAction" : "OPEN_DOCUMENT",
"frontProcessType" : "OPENHTMLPAGE",
"fullCodeName" : "IBIZBOOK_openDocument",
"htmlPageUrl" : "https://www.yuque.com/ibiz/wuf19n",
"name" : "打开文档",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSDEOPPriv" : {
"modelref" : true,
"id" : "OPEN_DOCUMENT"
},
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "openDocument",
"uIActionType" : "DEUIACTION",
"id" : "openDocument@IBIZBOOK"
},
"tooltip" : "打开文档",
"width" : 100.0,
"showCaption" : true
} ]
}, {
"caption" : "文本框",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "field_textbox",
"getPSEditor" : {
"editorType" : "TEXTBOX",
"name" : "field_textbox",
"predefinedType" : "FIELD_TEXTBOX"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSPanelItemGroupLogics" : [ {
"groupOP" : "AND",
"logicCat" : "PANELVISIBLE",
"logicType" : "GROUP",
"name" : "面板成员[field_textbox][面板显示]逻辑",
"getPSPanelItemLogics" : [ {
"condOp" : "EQ",
"dstModelField" : "field_textbox1",
"logicType" : "SINGLE",
"name" : "逻辑项",
"value" : "1"
} ],
"relatedItemNames" : [ "field_textbox1" ],
"notMode" : false
}, {
"groupOP" : "AND",
"logicCat" : "ITEMBLANK",
"logicType" : "GROUP",
"name" : "面板成员[field_textbox][表单项空输入]逻辑",
"getPSPanelItemLogics" : [ {
"condOp" : "EQ",
"dstModelField" : "field_textbox2",
"logicType" : "SINGLE",
"name" : "逻辑项",
"value" : "3"
} ],
"relatedItemNames" : [ "field_textbox2" ],
"notMode" : false
}, {
"groupOP" : "AND",
"logicCat" : "ITEMENABLE",
"logicType" : "GROUP",
"name" : "面板成员[field_textbox][表单项启用]逻辑",
"getPSPanelItemLogics" : [ {
"condOp" : "EQ",
"dstModelField" : "field_textbox2",
"logicType" : "SINGLE",
"name" : "逻辑项",
"value" : "2"
} ],
"relatedItemNames" : [ "field_textbox2" ],
"notMode" : false
} ],
"hidden" : false,
"showCaption" : false
}, {
"caption" : "文本框",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "field_textbox1",
"getPSEditor" : {
"editorType" : "TEXTBOX",
"name" : "field_textbox1",
"predefinedType" : "FIELD_TEXTBOX"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"hidden" : false,
"showCaption" : false
}, {
"caption" : "文本框",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "field_textbox2",
"getPSEditor" : {
"editorType" : "TEXTBOX",
"name" : "field_textbox2",
"predefinedType" : "FIELD_TEXTBOX"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"hidden" : false,
"showCaption" : false
} ]
} ],
"modelid" : "657FB036-73B2-4485-B8C6-DF54910B43E4",
"modeltype" : "PSSYSVIEWPANEL"
}
\ No newline at end of file
......@@ -28,10 +28,6 @@
"appViewLogicName" : "newdata",
"name" : "NEWDATA",
"paramType" : "LOGIC"
}, {
"ctrlName" : "searchform",
"name" : "SEARCHFORM",
"paramType" : "CTRL"
} ]
} ],
"getPSAppViewLogics" : [ {
......@@ -110,151 +106,6 @@
}
} ],
"getPSControls" : [ {
"codeName" : "QUICKSEARCHFORM",
"controlType" : "SEARCHFORM",
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSSEARCHFORMS/QUICKSEARCHFORM.json",
"formStyle" : "SEARCHBAR",
"hookEventNames" : [ "SEARCH", "LOAD", "SAVE" ],
"logicName" : "快速搜索表单",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSControlHandler" : {
"getPSHandlerActions" : [ {
"actionType" : "FILTERACTION",
"name" : "load",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "FilterGet"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}
}, {
"actionType" : "FILTERACTION",
"name" : "loaddraft",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "FilterGetDraft"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}
}, {
"actionType" : "FILTERACTION",
"name" : "search",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "FilterSearch"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}
} ],
"enableDEFieldPrivilege" : false,
"id" : "搜索表单处理器"
},
"getPSControlLogics" : [ {
"eventNames" : "SEARCH;LOAD;SAVE",
"logicTag" : "searchform",
"logicType" : "APPVIEWENGINE",
"name" : "engine_searchform",
"getPSAppViewEngine" : {
"modelref" : true,
"id" : "engine"
}
} ],
"getPSControlParam" : {
"autoLoad" : true,
"showBusyIndicator" : true,
"id" : "SEARCHFORM"
},
"getPSDEFormItems" : [ {
"id" : "n_ibizbookname_like",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "IBIZBOOKNAME",
"codeName" : "IBIZBOOKName"
}
} ],
"getPSDEFormPages" : [ {
"getCapPSLanguageRes" : {
"lanResTag" : "CONTROL.DEFORM.IBIZBOOK.QUICKSEARCHFORM.FORMPAGE.FORMPAGE1"
},
"caption" : "表单分页",
"codeName" : "formpage1",
"detailStyle" : "DEFAULT",
"detailType" : "FORMPAGE",
"name" : "formpage1",
"getPSDEFormDetails" : [ {
"getCapPSLanguageRes" : {
"lanResTag" : "CONTROL.DEFSFITEM.IBIZBOOK.N_IBIZBOOKNAME_LIKE"
},
"caption" : "图书名称(%)",
"codeName" : "n_ibizbookname_like",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "n_ibizbookname_like",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "IBIZBOOKNAME",
"codeName" : "IBIZBOOKName"
},
"getPSEditor" : {
"editorType" : "TEXTBOX",
"editorWidth" : 100.0,
"name" : "n_ibizbookname_like"
},
"getPSLayoutPos" : {
"colLG" : 12,
"colMD" : 12,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"showCaption" : true
} ],
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"infoGroupMode" : false
} ],
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"searchButtonStyle" : "DEFAULT",
"tabHeaderPos" : "TOP",
"enableAdvanceSearch" : false,
"enableAutoSearch" : false,
"enableFilterSave" : false,
"noTabHeader" : true,
"name" : "searchform",
"modelid" : "0d02cac81d96729eccac654df3a1950a",
"modeltype" : "PSDEFORM_SEARCHFORM"
}, {
"codeName" : "Usr6ListViewtoolbar",
"controlType" : "TOOLBAR",
"name" : "toolbar",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSControlParam" : {
"id" : "TOOLBAR"
},
"modelid" : "8f0dfc041422a40f4038eaf24f34a2a0_toolbar",
"modeltype" : "PSDETOOLBAR"
}, {
"codeName" : "TestList",
"controlType" : "LIST",
"getCreatePSControlAction" : {
......@@ -273,16 +124,6 @@
"groupMode" : "NONE",
"hookEventNames" : [ "ROWDBLCLICK", "SELECTIONCHANGE", "REMOVE", "LOAD", "BEFORELOAD" ],
"getItemPSLayoutPanel" : {
"getAllPSPanelFields" : [ {
"id" : "field_text_dynamic",
"viewFieldName" : "type"
}, {
"id" : "field_textbox"
}, {
"id" : "field_textbox1"
}, {
"id" : "field_textbox2"
} ],
"codeName" : "TestList",
"controlType" : "PANEL",
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSPANELS/TestList.json",
......@@ -292,236 +133,11 @@
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSAppViewLogics" : [ {
"logicTrigger" : "CUSTOM",
"logicType" : "APPVIEWUIACTION",
"name" : "list_itempanel_button_calluilogic1_click",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "list_itempanel_button_calluilogic1"
}
} ],
"getPSAppViewUIActions" : [ {
"name" : "list_itempanel_button_calluilogic1",
"getPSUIAction" : {
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"modelref" : true,
"id" : "openDocument@IBIZBOOK"
},
"uIActionTarget" : "SINGLEKEY",
"xDataControlName" : "list_itempanel"
} ],
"getPSControlParam" : { },
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getRootPSPanelItems" : [ {
"caption" : "容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container1",
"getPSLayout" : {
"layout" : "FLEX"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"getPSPanelItems" : [ {
"caption" : "标签",
"contentType" : "RAW",
"itemStyle" : "DEFAULT",
"itemType" : "RAWITEM",
"name" : "static_label1",
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSRawItem" : {
"caption" : "武侠 禁用打开文档按钮",
"contentType" : "RAW",
"name" : "static_label1",
"predefinedType" : "STATIC_LABEL",
"renderMode" : "PARAGRAPH"
},
"rawContent" : "武侠 禁用打开文档按钮",
"showCaption" : true
}, {
"caption" : "容器",
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "container2",
"getPSLayout" : {
"dir" : "row",
"layout" : "FLEX"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSPanelItems" : [ {
"caption" : "文本(动态)",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "field_text_dynamic",
"getPSEditor" : {
"editorType" : "SPAN",
"name" : "field_text_dynamic",
"predefinedType" : "FIELD_TEXT_DYNAMIC",
"renderMode" : "TEXT_DYNAMIC",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"viewFieldName" : "type",
"hidden" : false,
"showCaption" : false
}, {
"actionType" : "UIACTION",
"buttonStyle" : "DEFAULT",
"buttonWidth" : 100.0,
"caption" : "打开文档",
"contentWidth" : 100.0,
"itemStyle" : "DEFAULT",
"itemType" : "BUTTON",
"name" : "button_calluilogic1",
"getPSAppViewUIAction" : {
"modelref" : true,
"id" : "list_itempanel_button_calluilogic1"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX",
"width" : 100,
"widthMode" : "PX"
},
"getPSUIAction" : {
"actionTarget" : "SINGLEKEY",
"noPrivDisplayMode" : 1,
"caption" : "打开文档",
"codeName" : "openDocument",
"dataAccessAction" : "OPEN_DOCUMENT",
"frontProcessType" : "OPENHTMLPAGE",
"fullCodeName" : "IBIZBOOK_openDocument",
"htmlPageUrl" : "https://www.yuque.com/ibiz/wuf19n",
"name" : "打开文档",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSDEOPPriv" : {
"modelref" : true,
"id" : "OPEN_DOCUMENT"
},
"timeout" : 60000,
"uIActionMode" : "FRONT",
"uIActionTag" : "openDocument",
"uIActionType" : "DEUIACTION",
"id" : "openDocument@IBIZBOOK"
},
"tooltip" : "打开文档",
"width" : 100.0,
"showCaption" : true
} ]
}, {
"caption" : "文本框",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "field_textbox",
"getPSEditor" : {
"editorType" : "TEXTBOX",
"name" : "field_textbox",
"predefinedType" : "FIELD_TEXTBOX"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"getPSPanelItemGroupLogics" : [ {
"groupOP" : "AND",
"logicCat" : "PANELVISIBLE",
"logicType" : "GROUP",
"name" : "面板成员[field_textbox][面板显示]逻辑",
"getPSPanelItemLogics" : [ {
"condOp" : "EQ",
"dstModelField" : "field_textbox1",
"logicType" : "SINGLE",
"name" : "逻辑项",
"value" : "1"
} ],
"relatedItemNames" : [ "field_textbox1" ],
"notMode" : false
}, {
"groupOP" : "AND",
"logicCat" : "ITEMBLANK",
"logicType" : "GROUP",
"name" : "面板成员[field_textbox][表单项空输入]逻辑",
"getPSPanelItemLogics" : [ {
"condOp" : "EQ",
"dstModelField" : "field_textbox2",
"logicType" : "SINGLE",
"name" : "逻辑项",
"value" : "3"
} ],
"relatedItemNames" : [ "field_textbox2" ],
"notMode" : false
}, {
"groupOP" : "AND",
"logicCat" : "ITEMENABLE",
"logicType" : "GROUP",
"name" : "面板成员[field_textbox][表单项启用]逻辑",
"getPSPanelItemLogics" : [ {
"condOp" : "EQ",
"dstModelField" : "field_textbox2",
"logicType" : "SINGLE",
"name" : "逻辑项",
"value" : "2"
} ],
"relatedItemNames" : [ "field_textbox2" ],
"notMode" : false
} ],
"hidden" : false,
"showCaption" : false
}, {
"caption" : "文本框",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "field_textbox1",
"getPSEditor" : {
"editorType" : "TEXTBOX",
"name" : "field_textbox1",
"predefinedType" : "FIELD_TEXTBOX"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"hidden" : false,
"showCaption" : false
}, {
"caption" : "文本框",
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "field_textbox2",
"getPSEditor" : {
"editorType" : "TEXTBOX",
"name" : "field_textbox2",
"predefinedType" : "FIELD_TEXTBOX"
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
},
"hidden" : false,
"showCaption" : false
} ]
} ],
"name" : "list_itempanel",
"modelid" : "657FB036-73B2-4485-B8C6-DF54910B43E4",
"modeltype" : "PSSYSVIEWPANEL"
......@@ -690,9 +306,8 @@
"viewType" : "DELISTVIEW",
"xDataControlName" : "list",
"enableDP" : true,
"enableFilter" : true,
"enableFilter" : false,
"enableQuickSearch" : true,
"enableSearch" : true,
"modelid" : "8f0dfc041422a40f4038eaf24f34a2a0",
"modeltype" : "PSAPPDEVIEW"
}
\ No newline at end of file
......@@ -172,7 +172,7 @@
<!--输出实体[IBIZBOOK]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizbook-806-7">
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizbook-810-7">
<createTable tableName="T_IBIZBOOK">
<column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册