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

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

上级 65cc6471
<template>
<div :class="curClassName" :style="curStyle">
<auth-puzzle-vcode :show="show" @success="onSuccess" @fail="onFail" />
<i-button :type="type" @click="executeOpen">验证</i-button>
<i-button :type="type" @click="executeOpen">验证<Icon v-show="showIcon" type="md-checkmark" /></i-button>
</div>
</template>
......@@ -57,6 +57,11 @@ export default class AppLoginCaptcha extends Vue {
*/
public type: string = 'default';
/**
* 按钮类型
*/
public showIcon: boolean = false;
/**
* 项名称
*
......@@ -113,6 +118,7 @@ export default class AppLoginCaptcha extends Vue {
public onSuccess() {
this.show = false;
this.type = 'success';
this.showIcon = true;
this.$emit("valueChange", { name: this.itemName, value: true });
}
......@@ -120,6 +126,7 @@ export default class AppLoginCaptcha extends Vue {
* 失败
*/
public onFail() {
this.showIcon = false;
this.$emit("valueChange", { name: this.itemName, value: false });
}
}
......@@ -138,6 +145,9 @@ export default class AppLoginCaptcha extends Vue {
border: 1px solid #dcdee2;
color: #515a6e;
}
.ivu-icon {
margin-left: 8px;
}
}
}
</style>
......@@ -7,7 +7,7 @@
disabled ? `${delay}s ${$t("components.login.getcodeafter")}` : `${$t("components.login.getcode")}`
}}</el-button>
</div>
<alert v-show="phoneError" type="error">电话号码格式错误</alert>
<alert v-show="verifyError" type="error">电话号码格式错误</alert>
<div class="code" v-show="show">
<i-input size="default" type="text" :value="currentValue" @input="codeChange"
:placeholder="$t('components.login.codeplaceholder')"></i-input>
......@@ -81,11 +81,11 @@ export default class AppLoginNoteVerify extends Vue {
public phoneNumber: string = "";
/**
* 错误提示
* 校验失败
* @type {*}
* @memberof AppLoginNoteVerify
*/
public phoneError = false;
public verifyError = false;
/**
* 是否禁用获取验证码按钮
......@@ -155,9 +155,10 @@ export default class AppLoginNoteVerify extends Vue {
* @description 校验手机号
* @memberof AppLoginNoteVerify
*/
public veriPhoneNumber(): boolean {
this.phoneError = !/^1[3-9]\d{9}$/.test(this.phoneNumber);
return this.phoneError;
public veriPhoneNumber() {
if (this.phoneNumber) {
this.verifyError = !/^1[3-9]\d{9}$/.test(this.phoneNumber);
}
}
/**
......@@ -181,11 +182,13 @@ export default class AppLoginNoteVerify extends Vue {
* @memberof AppLoginNoteVerify
*/
public getVeriCode() {
if (this.phoneError) return;
// todo 获取验证码
this.show = true;
this.disabled = true;
this.setDelay();
this.veriPhoneNumber();
if (this.phoneNumber && !this.verifyError) {
// todo 获取验证码
this.show = true;
this.disabled = true;
this.setDelay();
}
}
}
</script>
......
......@@ -7,5 +7,8 @@
display: flex;
align-items: center;
justify-content: center;
.app-login-third__btn {
padding: 0 4px;
}
}
}
\ No newline at end of file
......@@ -2,10 +2,10 @@
<div :class="curClassName" :style="curStyle">
<div class="app-login-third__title">{{ $t("components.login.other") }}</div>
<div class="app-login-third__content">
<div class="sign-btn" @click="handleThirdLogin('DINGDING')">
<div class="app-login-third__btn" @click="handleThirdLogin('DINGDING')">
<img class="third-svg-container" src="@/assets/img/dingding.svg" />
</div>
<div class="sign-btn" @click="handleThirdLogin('WXWORK')">
<div class="app-login-third__btn" @click="handleThirdLogin('WXWORK')">
<img class="third-svg-container" src="@/assets/img/qiyeweixin.svg" />
</div>
</div>
......@@ -109,7 +109,7 @@ export default class AppThirdLogin extends Vue {
* @memberof AppThirdLogin
*/
async dingTalkHandleClick() {
this.$message({ message: '暂未支持钉钉登录',type: 'warning'});
}
/**
......@@ -118,7 +118,7 @@ export default class AppThirdLogin extends Vue {
* @memberof AppThirdLogin
*/
async wxWorkHandleClick() {
this.$message({ message: '暂未支持微信登录',type: 'warning'});
}
}
</script>
......
......@@ -285,7 +285,7 @@ export default class IBIZBOOKUsr1110030546CustomViewBase extends Vue {
public layoutItems:any = {
usr1110830020grid:{ name: 'usr1110830020grid', type: 'VIEWLAYOUT', caption: '表格', isShowCaption: true, sysCss: '', itemType: 'CTRLPOS', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'', layoutPos:'CENTER', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container_scroll_main1', panel: this },
container_scroll_main1:{ name: 'container_scroll_main1', type: 'VIEWLAYOUT', caption: '面板容器', titleBarCloseMode: 0, isShowCaption: true, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'BORDER', layoutPos:'CENTER', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container_scroll1', panel: this , details:['usr1110830020grid'] , dataRegionType: 'INHERIT' },
view_pagecaption:{ name: 'view_pagecaption', 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: 'VIEW_PAGECAPTION', renderMode: 'HEADING1', dataItemName:'', wrapMode:'', vAlign:'', hAlign:'', },
view_pagecaption:{ name: 'view_pagecaption', 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:'LEFT', vAlignSelf:'MIDDLE', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container1', panel: this , required: false, fieldState: '0', predefinedType: 'VIEW_PAGECAPTION', renderMode: 'HEADING1', dataItemName:'', wrapMode:'', vAlign:'', hAlign:'', },
container1:{ name: 'container1', type: 'VIEWLAYOUT', caption: '面板容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'SIMPLEFLEX', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:6, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container_grid1', panel: this , details:['view_pagecaption'] , dataRegionType: 'INHERIT' },
container2:{ name: 'container2', type: 'VIEWLAYOUT', caption: '面板容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'SIMPLEFLEX', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:6, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container_grid1', panel: this , details:[] , dataRegionType: 'INHERIT' },
container_grid1:{ name: 'container_grid1', type: 'VIEWLAYOUT', caption: '栅格容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'SIMPLEFLEX', layoutPos:'CENTER', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container_scroll_header1', panel: this , details:['container1','container2'] , dataRegionType: 'INHERIT' },
......@@ -806,10 +806,17 @@ export default class IBIZBOOKUsr1110030546CustomViewBase extends Vue {
const _this: any = this;
_this.initLayout().then((result: any) => {
_this.isLayoutLoadding = false;
_this.engineInit();
if (_this.loadModel && _this.loadModel instanceof Function) {
_this.loadModel();
}
window.uiServiceRegister.getService('ibizbook').then((service: any) => {
service.executeUILogic('CustomViewGridLoad', [], this.context, this.viewparams, {}, {}, this, 'IBIZBOOK').then((result: any) => {
if (result && result.hasOwnProperty('srfret') && !result.srfret) {
return;
}
_this.engineInit();
if (_this.loadModel && _this.loadModel instanceof Function) {
_this.loadModel();
}
});
})
})
}
......
......@@ -1088,6 +1088,7 @@ export default class IBIZCustomerUsr3EditViewBase extends Vue {
} else {
this.$message({ message: '用户名或密码未配置!',type: 'warning'});
}
return;
}
const loginname: any = layoutData[userNameKey];
const password: any = layoutData[passwordKey];
......@@ -1097,6 +1098,7 @@ export default class IBIZCustomerUsr3EditViewBase extends Vue {
} else {
this.$message({ message: '请输入用户名与密码',type: 'warning'});
}
return;
}
// 清除cookie
let leftTime = new Date();
......
......@@ -461,6 +461,7 @@ export default class AppLoginViewBase extends Vue {
} else {
this.$message({ message: '用户名或密码未配置!',type: 'warning'});
}
return;
}
const loginname: any = layoutData[userNameKey];
const password: any = layoutData[passwordKey];
......@@ -470,6 +471,7 @@ export default class AppLoginViewBase extends Vue {
} else {
this.$message({ message: '请输入用户名与密码',type: 'warning'});
}
return;
}
// 清除cookie
let leftTime = new Date();
......
......@@ -618,7 +618,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: 'IBIZAPPEDITORListView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZAPPEDITORGridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -654,7 +654,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: 'IBIZAPPEDITORListView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZAPPEDITORGridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return;
}
const arg: any = { ...opt } ;
......
......@@ -15,24 +15,15 @@ export default class ListpanelModel {
public getDataItems(): any[] {
return [
{
name: 'press',
prop: 'press',
name: 'type',
prop: 'type',
dataType: 'TEXT',
codelist:{tag:'BookType',codelistType:'STATIC'},
},
{
name: 'booknumber',
prop: 'booknumber',
dataType: 'INT',
},
{
name: 'price',
prop: 'price',
dataType: 'FLOAT',
},
{
name: 'author',
prop: 'author',
dataType: 'TEXT',
name: 'icon',
prop: 'icon',
dataType: 'LONGTEXT',
},
{
name: 'ibizbookid',
......@@ -45,16 +36,30 @@ export default class ListpanelModel {
dataType: 'TEXT',
},
{
name: 'type',
prop: 'type',
name: 'author',
prop: 'author',
dataType: 'TEXT',
},
{
name: 'press',
prop: 'press',
dataType: 'TEXT',
codelist:{tag:'BookType',codelistType:'STATIC'},
},
{
name: 'subtext',
prop: 'subtext',
dataType: 'TEXT',
},
{
name: 'price',
prop: 'price',
dataType: 'FLOAT',
},
{
name: 'booknumber',
prop: 'booknumber',
dataType: 'INT',
},
{
name: 'srfkey',
prop: 'ibizbookid',
......
......@@ -56,8 +56,11 @@
<template #field_text_dynamic3>
<app-preset-text name="field_text_dynamic3" :value="layoutData.field_text_dynamic3" :layoutModelDetails="layoutModelDetails"/>
</template>
<template #field_text_dynamic6>
<app-preset-text name="field_text_dynamic6" :value="layoutData.field_text_dynamic6" :layoutModelDetails="layoutModelDetails"/>
</template>
<template #button_calluilogic1>
<app-preset-button name="button_calluilogic1" :layoutModelDetails="layoutModelDetails" @itemClick="handleButtonClick" />
<app-preset-button name="button_calluilogic1" :layoutModelDetails="layoutModelDetails" @itemClick="handleButtonClick"/>
</template>
</app-standard-container>
</template>
......@@ -345,10 +348,11 @@ export default class ListpanelBase extends Vue implements ControlInterface {
field_text_dynamic4:{ name: 'field_text_dynamic4', 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: 'container5', panel: this , required: false, fieldState: '0', predefinedType: 'FIELD_TEXT_DYNAMIC', renderMode: 'TEXT_DYNAMIC', dataItemName:'subtext', wrapMode:'', vAlign:'', hAlign:'', },
container5:{ name: 'container5', type: 'ITEMLAYOUT', caption: '面板容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'SIMPLEFLEX', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:9, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container_grid2', panel: this , details:['field_text_dynamic1','field_text_dynamic2','field_text_dynamic4'] , dataRegionType: 'INHERIT' },
container_grid2:{ name: 'container_grid2', type: 'ITEMLAYOUT', caption: '栅格容器', titleBarCloseMode: 0, isShowCaption: false, sysCss: '', itemType: 'CONTAINER', itemStyle: 'DEFAULT', visible: true, disabled: false, layout:'SIMPLEFLEX', layoutPos:'', layoutHeight:0, heightMode:'', layoutWidth:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:0, flexParams:{align:'',dir:'',vAlign:''}, panel: this , details:['container4','container5'] , dataRegionType: 'INHERIT' },
field_text_dynamic5:{ name: 'field_text_dynamic5', 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: 'container6', panel: this , required: false, fieldState: '0', predefinedType: 'FIELD_TEXT_DYNAMIC', renderMode: 'TEXT_DYNAMIC', dataItemName:'type', wrapMode:'', vAlign:'', hAlign:'', },
field_text_dynamic3:{ name: 'field_text_dynamic3', 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: 'container6', panel: this , required: false, fieldState: '0', predefinedType: 'FIELD_TEXT_DYNAMIC', renderMode: 'TEXT_DYNAMIC', dataItemName:'press', 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:0, widthMode:'', spacingBottom:'', spacingLeft:'', spacingRight:'', spacingTop:'', hAlignSelf:'', vAlignSelf:'', flexGrow:-1, flexParams:{align:'',dir:'',vAlign:''}, parentName: 'container6', panel: this , xDataControlName: 'list', buttonStyle: 'DEFAULT', borderStyle: '', iconAlign: '', uiAction: { actiontarget: 'NONE', noprivdisplaymode: '2', dataaccaction: '', visabled: true, disabled: false }, renderMode: '', },
container6:{ name: 'container6', 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:['field_text_dynamic5','field_text_dynamic3','button_calluilogic1'] , dataRegionType: 'INHERIT' }
field_text_dynamic5:{ name: 'field_text_dynamic5', type: 'ITEMLAYOUT', caption: '文本(动态)', isShowCaption: false, sysCss: '', itemType: 'FIELD', 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: 'container6', panel: this , required: false, fieldState: '0', predefinedType: 'FIELD_TEXT_DYNAMIC', renderMode: 'TEXT_DYNAMIC', dataItemName:'type', wrapMode:'', vAlign:'', hAlign:'', },
field_text_dynamic3:{ name: 'field_text_dynamic3', type: 'ITEMLAYOUT', caption: '文本(动态)', isShowCaption: false, sysCss: '', itemType: 'FIELD', 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: 'container6', panel: this , required: false, fieldState: '0', predefinedType: 'FIELD_TEXT_DYNAMIC', renderMode: 'TEXT_DYNAMIC', dataItemName:'press', wrapMode:'', vAlign:'', hAlign:'', },
field_text_dynamic6:{ name: 'field_text_dynamic6', type: 'ITEMLAYOUT', caption: '文本(动态)', isShowCaption: false, sysCss: '', itemType: 'FIELD', 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: 'container6', panel: this , required: false, fieldState: '0', predefinedType: 'FIELD_TEXT_DYNAMIC', renderMode: 'TEXT_DYNAMIC', dataItemName:'price', 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: 'container6', panel: this , xDataControlName: 'list', buttonStyle: 'DEFAULT', borderStyle: '', iconAlign: '', renderMode: '', },
container6:{ name: 'container6', 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:'space-between',dir:'row',vAlign:''}, panel: this , details:['field_text_dynamic5','field_text_dynamic3','field_text_dynamic6','button_calluilogic1'] , dataRegionType: 'INHERIT' }
}
/**
......@@ -625,25 +629,8 @@ export default class ListpanelBase extends Vue implements ControlInterface {
const paramJO: any = {};
const contextJO: any = {};
const _this: any = this;
if (Object.is(name, 'button_calluilogic1')) {
_this.IBIZBOOK_panel_Listpanel_button_calluilogic1_click(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_Listpanel_button_calluilogic1_click(args: any[], context: any = {}, params: any = {}, $event?: any, xData?: any, actionContext?: any, srfParentDeName?: string) {
this.$Notice.error({ title: '错误', desc: '自定义行为未实现' });
}
}
</script>
......
......@@ -41,6 +41,10 @@ export default class ListpanelModel {
{
name: 'field_text_dynamic3',
prop: 'press'
},
{
name: 'field_text_dynamic6',
prop: 'price'
}
]
}
......
......@@ -715,7 +715,7 @@ export default class CardNavigationBase extends Vue implements ControlInterface
*/
public load(opt: any = {}, isReset: boolean = false): void {
if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDataViewExpView' + (this.$t('app.list.notConfig.fetchAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDataViewExpView_layout' + (this.$t('app.list.notConfig.fetchAction') as string) });
return;
}
const arg: any = {...opt};
......@@ -794,7 +794,7 @@ export default class CardNavigationBase 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: 'IBIZOrderDataViewExpView' + (this.$t('app.gridpage.notConfig.removeAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDataViewExpView_layout' + (this.$t('app.gridpage.notConfig.removeAction') as string) });
return;
}
let _datas:any[] = [];
......@@ -903,7 +903,7 @@ export default class CardNavigationBase 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: 'IBIZOrderDataViewExpView' + (this.$t('app.list.notConfig.createAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDataViewExpView_layout' + (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);
......@@ -911,7 +911,7 @@ export default class CardNavigationBase 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: 'IBIZOrderDataViewExpView' + (this.$t('app.list.notConfig.updateAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDataViewExpView_layout' + (this.$t('app.list.notConfig.updateAction') as string) });
}else{
Object.assign(item,{viewparams:this.viewparams});
if(item.ibizorder){
......
......@@ -299,7 +299,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZOrderSF1GridViewBase
* @memberof IBIZOrderPickupGridViewBase
*/
public Edit(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
if (args.length === 0) {
......@@ -441,20 +441,6 @@ export default class MainBase extends Vue implements ControlInterface {
return this.selections[0];
}
/**
* 打开新建数据视图
*
* @type {any}
* @memberof MainBase
*/
@Prop() public newdata: any;
/**
* 打开编辑数据视图
*
* @type {any}
* @memberof MainBase
*/
@Prop() public opendata: any;
/**
* 是否嵌入关系界面
......@@ -989,7 +975,7 @@ export default class MainBase extends Vue implements ControlInterface {
if (!this.fetchAction) {
this.$Notice.error({
title: this.$t("app.commonWords.wrong") as string,
desc: "IBIZOrderSF1GridView" + (this.$t("app.gridpage.notConfig.fetchAction") as string),
desc: "IBIZOrderPickupGridView" + (this.$t("app.gridpage.notConfig.fetchAction") as string),
});
return;
}
......@@ -1118,7 +1104,7 @@ export default class MainBase extends Vue implements ControlInterface {
if (!this.removeAction) {
this.$Notice.error({
title: (this.$t('app.commonWords.wrong') as string),
desc: 'IBIZOrderSF1GridView' + (this.$t('app.gridpage.notConfig.removeAction') as string)
desc: 'IBIZOrderPickupGridView' + (this.$t('app.gridpage.notConfig.removeAction') as string)
});
return;
}
......@@ -1232,7 +1218,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public addBatch(arg: any = {}): void {
if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
return;
}
if(!arg){
......@@ -2163,7 +2149,7 @@ export default class MainBase 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: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.createAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.createAction') as string) });
} else {
Object.assign(item, { viewparams: this.viewparams });
const tempContext = Util.deepCopy(this.context);
......@@ -2172,7 +2158,7 @@ export default class MainBase 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: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.updateAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.updateAction') as string) });
} else {
Object.assign(item, { viewparams: this.viewparams });
const tempContext = Util.deepCopy(this.context);
......@@ -2248,7 +2234,7 @@ export default class MainBase extends Vue implements ControlInterface {
if(!this.loaddraftAction){
this.$Notice.error({
title: (this.$t('app.commonWords.wrong') as string),
desc: 'IBIZOrderSF1GridView' + (this.$t('app.gridpage.notConfig.loaddraftAction') as string)
desc: 'IBIZOrderPickupGridView' + (this.$t('app.gridpage.notConfig.loaddraftAction') as string)
});
return;
}
......
......@@ -104,21 +104,6 @@ export default class MainModel {
prop: 'n_ibizordername_like',
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',
......
......@@ -2051,21 +2051,6 @@
"uIActionMode" : "SYS",
"uIActionTag" : "panel_Layoutpanel_button_calluilogic2_click",
"uIActionType" : "DEUIACTION"
}, {
"actionTarget" : "NONE",
"caption" : "按钮",
"codeName" : "panel_Listpanel_button_calluilogic1_click",
"fullCodeName" : "IBIZBOOK_panel_Listpanel_button_calluilogic1_click",
"name" : "按钮",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"timeout" : 60000,
"uIActionMode" : "CUSTOM",
"uIActionTag" : "panel_Listpanel_button_calluilogic1_click",
"uIActionType" : "DEUIACTION",
"id" : "panel_Listpanel_button_calluilogic1_click@IBIZBOOK"
}, {
"actionTarget" : "SINGLEDATA",
"caption" : "编辑",
......
......@@ -38,6 +38,9 @@
}, {
"id" : "field_text_dynamic3",
"viewFieldName" : "press"
}, {
"id" : "field_text_dynamic6",
"viewFieldName" : "price"
} ],
"codeName" : "Listpanel",
"controlType" : "PANEL",
......@@ -48,28 +51,6 @@
"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" : "panel_Listpanel_button_calluilogic1_click@IBIZBOOK"
},
"uIActionTarget" : "NONE",
"xDataControlName" : "list_itempanel"
} ],
"getPSControlParam" : { },
"getPSLayout" : {
"columnCount" : 24,
......@@ -329,6 +310,8 @@
"itemType" : "CONTAINER",
"name" : "container6",
"getPSLayout" : {
"align" : "space-between",
"dir" : "row",
"layout" : "FLEX"
},
"getPSLayoutPos" : {
......@@ -337,11 +320,13 @@
},
"getPSPanelItems" : [ {
"caption" : "文本(动态)",
"contentWidth" : 100.0,
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "field_text_dynamic5",
"getPSEditor" : {
"editorType" : "SPAN",
"editorWidth" : 100.0,
"name" : "field_text_dynamic5",
"predefinedType" : "FIELD_TEXT_DYNAMIC",
"renderMode" : "TEXT_DYNAMIC",
......@@ -349,18 +334,23 @@
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
"layout" : "FLEX",
"width" : 100,
"widthMode" : "PX"
},
"viewFieldName" : "type",
"width" : 100.0,
"hidden" : false,
"showCaption" : false
}, {
"caption" : "文本(动态)",
"contentWidth" : 100.0,
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "field_text_dynamic3",
"getPSEditor" : {
"editorType" : "SPAN",
"editorWidth" : 100.0,
"name" : "field_text_dynamic3",
"predefinedType" : "FIELD_TEXT_DYNAMIC",
"renderMode" : "TEXT_DYNAMIC",
......@@ -368,43 +358,55 @@
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
"layout" : "FLEX",
"width" : 100,
"widthMode" : "PX"
},
"viewFieldName" : "press",
"width" : 100.0,
"hidden" : false,
"showCaption" : false
}, {
"caption" : "文本(动态)",
"contentWidth" : 100.0,
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "field_text_dynamic6",
"getPSEditor" : {
"editorType" : "SPAN",
"editorWidth" : 100.0,
"name" : "field_text_dynamic6",
"predefinedType" : "FIELD_TEXT_DYNAMIC",
"renderMode" : "TEXT_DYNAMIC",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX",
"width" : 100,
"widthMode" : "PX"
},
"viewFieldName" : "price",
"width" : 100.0,
"hidden" : false,
"showCaption" : false
}, {
"actionType" : "UIACTION",
"actionType" : "NONE",
"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"
},
"getPSUIAction" : {
"actionTarget" : "NONE",
"caption" : "按钮",
"codeName" : "panel_Listpanel_button_calluilogic1_click",
"fullCodeName" : "IBIZBOOK_panel_Listpanel_button_calluilogic1_click",
"name" : "按钮",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"timeout" : 60000,
"uIActionMode" : "CUSTOM",
"uIActionTag" : "panel_Listpanel_button_calluilogic1_click",
"uIActionType" : "DEUIACTION",
"id" : "panel_Listpanel_button_calluilogic1_click@IBIZBOOK"
"layout" : "FLEX",
"width" : 100,
"widthMode" : "PX"
},
"tooltip" : "按钮",
"width" : 100.0,
"showCaption" : true
} ]
} ],
......@@ -433,31 +435,21 @@
},
"getPSDEListDataItems" : [ {
"dataType" : 25,
"name" : "press",
"getPSAppDEField" : {
"name" : "PRESS",
"codeName" : "Press"
}
}, {
"dataType" : 9,
"name" : "booknumber",
"getPSAppDEField" : {
"name" : "BOOKNUMBER",
"codeName" : "Booknumber"
}
}, {
"dataType" : 7,
"name" : "price",
"getFrontPSCodeList" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPCODELISTS/BookType.json"
},
"name" : "type",
"getPSAppDEField" : {
"name" : "PRICE",
"codeName" : "Price"
"name" : "TYPE",
"codeName" : "Type"
}
}, {
"dataType" : 25,
"name" : "author",
"dataType" : 21,
"name" : "icon",
"getPSAppDEField" : {
"name" : "AUTHOR",
"codeName" : "Author"
"name" : "ICON",
"codeName" : "Icon"
}
}, {
"dataType" : 25,
......@@ -475,14 +467,17 @@
}
}, {
"dataType" : 25,
"getFrontPSCodeList" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPCODELISTS/BookType.json"
},
"name" : "type",
"name" : "author",
"getPSAppDEField" : {
"name" : "TYPE",
"codeName" : "Type"
"name" : "AUTHOR",
"codeName" : "Author"
}
}, {
"dataType" : 25,
"name" : "press",
"getPSAppDEField" : {
"name" : "PRESS",
"codeName" : "Press"
}
}, {
"dataType" : 25,
......@@ -491,6 +486,20 @@
"name" : "SUBTEXT",
"codeName" : "Subtext"
}
}, {
"dataType" : 7,
"name" : "price",
"getPSAppDEField" : {
"name" : "PRICE",
"codeName" : "Price"
}
}, {
"dataType" : 9,
"name" : "booknumber",
"getPSAppDEField" : {
"name" : "BOOKNUMBER",
"codeName" : "Booknumber"
}
}, {
"dataType" : 25,
"name" : "srfkey",
......
......@@ -20,6 +20,9 @@
}, {
"id" : "field_text_dynamic3",
"viewFieldName" : "press"
}, {
"id" : "field_text_dynamic6",
"viewFieldName" : "price"
} ],
"codeName" : "Listpanel",
"controlType" : "PANEL",
......@@ -30,28 +33,6 @@
"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" : "panel_Listpanel_button_calluilogic1_click@IBIZBOOK"
},
"uIActionTarget" : "NONE",
"xDataControlName" : "list_itempanel"
} ],
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
......@@ -310,6 +291,8 @@
"itemType" : "CONTAINER",
"name" : "container6",
"getPSLayout" : {
"align" : "space-between",
"dir" : "row",
"layout" : "FLEX"
},
"getPSLayoutPos" : {
......@@ -318,11 +301,13 @@
},
"getPSPanelItems" : [ {
"caption" : "文本(动态)",
"contentWidth" : 100.0,
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "field_text_dynamic5",
"getPSEditor" : {
"editorType" : "SPAN",
"editorWidth" : 100.0,
"name" : "field_text_dynamic5",
"predefinedType" : "FIELD_TEXT_DYNAMIC",
"renderMode" : "TEXT_DYNAMIC",
......@@ -330,18 +315,23 @@
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
"layout" : "FLEX",
"width" : 100,
"widthMode" : "PX"
},
"viewFieldName" : "type",
"width" : 100.0,
"hidden" : false,
"showCaption" : false
}, {
"caption" : "文本(动态)",
"contentWidth" : 100.0,
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "field_text_dynamic3",
"getPSEditor" : {
"editorType" : "SPAN",
"editorWidth" : 100.0,
"name" : "field_text_dynamic3",
"predefinedType" : "FIELD_TEXT_DYNAMIC",
"renderMode" : "TEXT_DYNAMIC",
......@@ -349,43 +339,55 @@
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
"layout" : "FLEX",
"width" : 100,
"widthMode" : "PX"
},
"viewFieldName" : "press",
"width" : 100.0,
"hidden" : false,
"showCaption" : false
}, {
"caption" : "文本(动态)",
"contentWidth" : 100.0,
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "field_text_dynamic6",
"getPSEditor" : {
"editorType" : "SPAN",
"editorWidth" : 100.0,
"name" : "field_text_dynamic6",
"predefinedType" : "FIELD_TEXT_DYNAMIC",
"renderMode" : "TEXT_DYNAMIC",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX",
"width" : 100,
"widthMode" : "PX"
},
"viewFieldName" : "price",
"width" : 100.0,
"hidden" : false,
"showCaption" : false
}, {
"actionType" : "UIACTION",
"actionType" : "NONE",
"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"
},
"getPSUIAction" : {
"actionTarget" : "NONE",
"caption" : "按钮",
"codeName" : "panel_Listpanel_button_calluilogic1_click",
"fullCodeName" : "IBIZBOOK_panel_Listpanel_button_calluilogic1_click",
"name" : "按钮",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"timeout" : 60000,
"uIActionMode" : "CUSTOM",
"uIActionTag" : "panel_Listpanel_button_calluilogic1_click",
"uIActionType" : "DEUIACTION",
"id" : "panel_Listpanel_button_calluilogic1_click@IBIZBOOK"
"layout" : "FLEX",
"width" : 100,
"widthMode" : "PX"
},
"tooltip" : "按钮",
"width" : 100.0,
"showCaption" : true
} ]
} ],
......
......@@ -11,6 +11,20 @@
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSAppViewLogics" : [ {
"eventNames" : "onViewMounted",
"logicTrigger" : "VIEWEVENT",
"logicType" : "DEUILOGIC",
"name" : "VIEWLOAD",
"getPSAppDEUILogic" : {
"modelref" : true,
"id" : "CustomViewGridLoad"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}
} ],
"getPSControls" : [ {
"aggMode" : "NONE",
"codeName" : "Main",
......@@ -436,7 +450,9 @@
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "SIMPLEFLEX"
"hAlignSelf" : "LEFT",
"layout" : "SIMPLEFLEX",
"vAlignSelf" : "MIDDLE"
},
"hidden" : false,
"showCaption" : false
......
......@@ -158,6 +158,9 @@
}, {
"id" : "field_text_dynamic3",
"viewFieldName" : "press"
}, {
"id" : "field_text_dynamic6",
"viewFieldName" : "price"
} ],
"codeName" : "Listpanel",
"controlType" : "PANEL",
......@@ -168,28 +171,6 @@
"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" : "panel_Listpanel_button_calluilogic1_click@IBIZBOOK"
},
"uIActionTarget" : "NONE",
"xDataControlName" : "list_itempanel"
} ],
"getPSControlParam" : { },
"getPSLayout" : {
"columnCount" : 24,
......@@ -449,6 +430,8 @@
"itemType" : "CONTAINER",
"name" : "container6",
"getPSLayout" : {
"align" : "space-between",
"dir" : "row",
"layout" : "FLEX"
},
"getPSLayoutPos" : {
......@@ -457,11 +440,13 @@
},
"getPSPanelItems" : [ {
"caption" : "文本(动态)",
"contentWidth" : 100.0,
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "field_text_dynamic5",
"getPSEditor" : {
"editorType" : "SPAN",
"editorWidth" : 100.0,
"name" : "field_text_dynamic5",
"predefinedType" : "FIELD_TEXT_DYNAMIC",
"renderMode" : "TEXT_DYNAMIC",
......@@ -469,18 +454,23 @@
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
"layout" : "FLEX",
"width" : 100,
"widthMode" : "PX"
},
"viewFieldName" : "type",
"width" : 100.0,
"hidden" : false,
"showCaption" : false
}, {
"caption" : "文本(动态)",
"contentWidth" : 100.0,
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "field_text_dynamic3",
"getPSEditor" : {
"editorType" : "SPAN",
"editorWidth" : 100.0,
"name" : "field_text_dynamic3",
"predefinedType" : "FIELD_TEXT_DYNAMIC",
"renderMode" : "TEXT_DYNAMIC",
......@@ -488,43 +478,55 @@
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX"
"layout" : "FLEX",
"width" : 100,
"widthMode" : "PX"
},
"viewFieldName" : "press",
"width" : 100.0,
"hidden" : false,
"showCaption" : false
}, {
"caption" : "文本(动态)",
"contentWidth" : 100.0,
"itemStyle" : "DEFAULT",
"itemType" : "FIELD",
"name" : "field_text_dynamic6",
"getPSEditor" : {
"editorType" : "SPAN",
"editorWidth" : 100.0,
"name" : "field_text_dynamic6",
"predefinedType" : "FIELD_TEXT_DYNAMIC",
"renderMode" : "TEXT_DYNAMIC",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"grow" : -1,
"layout" : "FLEX",
"width" : 100,
"widthMode" : "PX"
},
"viewFieldName" : "price",
"width" : 100.0,
"hidden" : false,
"showCaption" : false
}, {
"actionType" : "UIACTION",
"actionType" : "NONE",
"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"
},
"getPSUIAction" : {
"actionTarget" : "NONE",
"caption" : "按钮",
"codeName" : "panel_Listpanel_button_calluilogic1_click",
"fullCodeName" : "IBIZBOOK_panel_Listpanel_button_calluilogic1_click",
"name" : "按钮",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"timeout" : 60000,
"uIActionMode" : "CUSTOM",
"uIActionTag" : "panel_Listpanel_button_calluilogic1_click",
"uIActionType" : "DEUIACTION",
"id" : "panel_Listpanel_button_calluilogic1_click@IBIZBOOK"
"layout" : "FLEX",
"width" : 100,
"widthMode" : "PX"
},
"tooltip" : "按钮",
"width" : 100.0,
"showCaption" : true
} ]
} ],
......@@ -627,31 +629,21 @@
},
"getPSDEListDataItems" : [ {
"dataType" : 25,
"name" : "press",
"getPSAppDEField" : {
"name" : "PRESS",
"codeName" : "Press"
}
}, {
"dataType" : 9,
"name" : "booknumber",
"getPSAppDEField" : {
"name" : "BOOKNUMBER",
"codeName" : "Booknumber"
}
}, {
"dataType" : 7,
"name" : "price",
"getFrontPSCodeList" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPCODELISTS/BookType.json"
},
"name" : "type",
"getPSAppDEField" : {
"name" : "PRICE",
"codeName" : "Price"
"name" : "TYPE",
"codeName" : "Type"
}
}, {
"dataType" : 25,
"name" : "author",
"dataType" : 21,
"name" : "icon",
"getPSAppDEField" : {
"name" : "AUTHOR",
"codeName" : "Author"
"name" : "ICON",
"codeName" : "Icon"
}
}, {
"dataType" : 25,
......@@ -669,14 +661,17 @@
}
}, {
"dataType" : 25,
"getFrontPSCodeList" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPCODELISTS/BookType.json"
},
"name" : "type",
"name" : "author",
"getPSAppDEField" : {
"name" : "TYPE",
"codeName" : "Type"
"name" : "AUTHOR",
"codeName" : "Author"
}
}, {
"dataType" : 25,
"name" : "press",
"getPSAppDEField" : {
"name" : "PRESS",
"codeName" : "Press"
}
}, {
"dataType" : 25,
......@@ -685,6 +680,20 @@
"name" : "SUBTEXT",
"codeName" : "Subtext"
}
}, {
"dataType" : 7,
"name" : "price",
"getPSAppDEField" : {
"name" : "PRICE",
"codeName" : "Price"
}
}, {
"dataType" : 9,
"name" : "booknumber",
"getPSAppDEField" : {
"name" : "BOOKNUMBER",
"codeName" : "Booknumber"
}
}, {
"dataType" : 25,
"name" : "srfkey",
......
......@@ -26804,21 +26804,6 @@
"uIActionMode" : "SYS",
"uIActionTag" : "panel_Layoutpanel_button_calluilogic2_click",
"uIActionType" : "DEUIACTION"
}, {
"actionTarget" : "NONE",
"caption" : "按钮",
"codeName" : "panel_Listpanel_button_calluilogic1_click",
"fullCodeName" : "IBIZBOOK_panel_Listpanel_button_calluilogic1_click",
"name" : "按钮",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"timeout" : 60000,
"uIActionMode" : "CUSTOM",
"uIActionTag" : "panel_Listpanel_button_calluilogic1_click",
"uIActionType" : "DEUIACTION",
"id" : "panel_Listpanel_button_calluilogic1_click@IBIZBOOK"
}, {
"actionTarget" : "SINGLEDATA",
"caption" : "编辑",
......
......@@ -172,7 +172,7 @@
<!--输出实体[IBIZBOOK]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizbook-707-7">
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizbook-718-7">
<createTable tableName="T_IBIZBOOK">
<column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册