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

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

上级 e517759b
......@@ -319,6 +319,14 @@
"viewname": "IBIZOrderSF2EditView",
"viewtag": "1b7854b9c53e32582b1460c78b9e6a5a"
},
"ibizbookformloadcustomview": {
"title": "界面逻辑加载(表单)",
"caption": "界面逻辑加载(表单)",
"viewtype": "DECUSTOMVIEW",
"viewmodule": "Sample",
"viewname": "IBIZBOOKFormLoadCustomView",
"viewtag": "1C3D71C7-D5B8-4937-89F7-F822EA1629F4"
},
"ibizcustomerusr2editview": {
"title": "客户编辑视图",
"caption": "客户",
......
......@@ -90,6 +90,10 @@ function getLocaleResourceBase(){
caption: commonLogic.appcommonhandle("图书",null),
title: commonLogic.appcommonhandle("图书日历视图(时间轴)",null),
},
formloadcustomview: {
caption: commonLogic.appcommonhandle("界面逻辑加载(表单)",null),
title: commonLogic.appcommonhandle("界面逻辑加载(表单)",null),
},
usr2listview: {
caption: commonLogic.appcommonhandle("图书",null),
title: commonLogic.appcommonhandle("图书列表视图",null),
......
......@@ -90,6 +90,10 @@ function getLocaleResourceBase(){
caption: commonLogic.appcommonhandle("Timeline Style",null),
title: commonLogic.appcommonhandle("图书日历视图(时间轴)",null),
},
formloadcustomview: {
caption: commonLogic.appcommonhandle("界面逻辑加载(表单)",null),
title: commonLogic.appcommonhandle("界面逻辑加载(表单)",null),
},
usr2listview: {
caption: commonLogic.appcommonhandle("Custom Plug In",null),
title: commonLogic.appcommonhandle("图书列表视图",null),
......
......@@ -90,6 +90,10 @@ function getLocaleResourceBase(){
caption: commonLogic.appcommonhandle("图书",null),
title: commonLogic.appcommonhandle("图书日历视图(时间轴)",null),
},
formloadcustomview: {
caption: commonLogic.appcommonhandle("界面逻辑加载(表单)",null),
title: commonLogic.appcommonhandle("界面逻辑加载(表单)",null),
},
usr2listview: {
caption: commonLogic.appcommonhandle("图书",null),
title: commonLogic.appcommonhandle("图书列表视图",null),
......
......@@ -327,6 +327,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "IBIZOrderSF2EditView",
"viewtag": "1b7854b9c53e32582b1460c78b9e6a5a"
},
"ibizbookformloadcustomview": {
"title": "界面逻辑加载(表单)",
"caption": "界面逻辑加载(表单)",
"viewtype": "DECUSTOMVIEW",
"viewmodule": "Sample",
"viewname": "IBIZBOOKFormLoadCustomView",
"viewtag": "1C3D71C7-D5B8-4937-89F7-F822EA1629F4"
},
"ibizcustomerusr2editview": {
"title": "客户编辑视图",
"caption": "客户",
......
......@@ -206,7 +206,6 @@ export const PageComponents = {
Vue.component('ibizuniproduct-pickup-grid-view', () => import('@pages/sample/ibizuniproduct-pickup-grid-view/ibizuniproduct-pickup-grid-view.vue'));
Vue.component('ibizorder-detail-edit-view', () => import('@pages/sample/ibizorder-detail-edit-view/ibizorder-detail-edit-view.vue'));
Vue.component('ibizorder-detail-sedit-view9', () => import('@pages/sample/ibizorder-detail-sedit-view9/ibizorder-detail-sedit-view9.vue'));
Vue.component('ibizcustomer-pickup-tree-view-layout', () => import('@pages/sample/ibizcustomer-pickup-tree-view-layout/ibizcustomer-pickup-tree-view-layout.vue'));
Vue.component('ibizcustomer-pickup-tree-view', () => import('@pages/sample/ibizcustomer-pickup-tree-view/ibizcustomer-pickup-tree-view.vue'));
Vue.component('ibizhardware-index-pickup-view', () => import('@pages/sample/ibizhardware-index-pickup-view/ibizhardware-index-pickup-view.vue'));
Vue.component('ibizcpuedit-view', () => import('@pages/sample/ibizcpuedit-view/ibizcpuedit-view.vue'));
......
......@@ -3156,20 +3156,6 @@ const router = new Router({
},
component: () => import('@pages/sample/ibizorder-detail-sedit-view9/ibizorder-detail-sedit-view9.vue'),
},
{
path: 'ibizcustomers/:ibizcustomer?/pickuptreeview_layout/:pickuptreeview_layout?',
meta: {
caption: 'entities.ibizcustomer.views.pickuptreeview_layout.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizcustomers', parameterName: 'ibizcustomer' },
{ pathName: 'pickuptreeview_layout', parameterName: 'pickuptreeview_layout' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizcustomer-pickup-tree-view-layout/ibizcustomer-pickup-tree-view-layout.vue'),
},
{
path: 'ibizcustomers/:ibizcustomer?/pickuptreeview/:pickuptreeview?',
meta: {
......@@ -3432,19 +3418,6 @@ const router = new Router({
},
component: () => import('@pages/sample/ibizcustomer-pickup-grid-view/ibizcustomer-pickup-grid-view.vue'),
},
{
path: '/ibizcustomers/:ibizcustomer?/pickuptreeview_layout/:pickuptreeview_layout?',
meta: {
caption: 'entities.ibizcustomer.views.pickuptreeview_layout.caption',
info:'',
parameters: [
{ pathName: 'ibizcustomers', parameterName: 'ibizcustomer' },
{ pathName: 'pickuptreeview_layout', parameterName: 'pickuptreeview_layout' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizcustomer-pickup-tree-view-layout/ibizcustomer-pickup-tree-view-layout.vue'),
},
{
path: '/ibizappviews/:ibizappview?/editview/:editview?',
meta: {
......
......@@ -170,19 +170,6 @@ const router = new Router({
},
component: () => import('@pages/sample/ibizcustomer-pickup-grid-view/ibizcustomer-pickup-grid-view.vue'),
},
{
path: '/ibizcustomers/:ibizcustomer?/pickuptreeview_layout/:pickuptreeview_layout?',
meta: {
caption: 'entities.ibizcustomer.views.pickuptreeview_layout.caption',
info:'',
parameters: [
{ pathName: 'ibizcustomers', parameterName: 'ibizcustomer' },
{ pathName: 'pickuptreeview_layout', parameterName: 'pickuptreeview_layout' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizcustomer-pickup-tree-view-layout/ibizcustomer-pickup-tree-view-layout.vue'),
},
{
path: '/ibizappviews/:ibizappview?/editview/:editview?',
meta: {
......
......@@ -95,15 +95,6 @@ export const viewstate: any = {
refviews: [
],
},
{
viewtag: '091e4dfadeea5cf542e5e01a758a3b93',
viewmodule: 'Sample',
viewname: 'IBIZCustomerPickupTreeView_layout',
viewaction: '',
viewdatachange: false,
refviews: [
],
},
{
viewtag: '0a96057cbca72b445776fb056be79ea8',
viewmodule: 'Sample',
......@@ -2142,7 +2133,7 @@ export const viewstate: any = {
viewaction: '',
viewdatachange: false,
refviews: [
'091e4dfadeea5cf542e5e01a758a3b93',
'2dd50b1b88cf8062b625ee8b0b4fa9d7',
],
},
{
......
......@@ -217,7 +217,7 @@ export default class CustomEditUILogicBase {
* @memberof CustomEditUILogicBase
*/
protected async execute_deuiaction1_node(actionContext: UIActionContext) {
const data = actionContext.getParam('SA.SRFDA.PS.Core.DataEntity.Logic.PSDEUILogicParamImpl@9e643c9.codeName');
const data = actionContext.getParam('SA.SRFDA.PS.Core.DataEntity.Logic.PSDEUILogicParamImpl@4b18ca97.codeName');
const { context, viewparams } = actionContext;
const additionalParam = actionContext.additionalParam;
const uiService = await window.uiServiceRegister.getService('ibizbook');
......
......@@ -115,6 +115,7 @@ export default class IBIZBOOKUIServiceBase extends UIService {
this.allViewMap.set(':',{viewname:'editview4',srfappde:'ibizbooks',component:'ibizbookedit-view4'});
this.allViewMap.set(':',{viewname:'testcltreeview',srfappde:'ibizbooks',component:'ibizbooktest-cltree-view'});
this.allViewMap.set(':',{viewname:'usr2calendarview',srfappde:'ibizbooks',component:'ibizbookusr2-calendar-view'});
this.allViewMap.set(':',{viewname:'formloadcustomview',srfappde:'ibizbooks',component:'ibizbookform-load-custom-view'});
this.allViewMap.set(':',{viewname:'usr2listview',srfappde:'ibizbooks',component:'ibizbookusr2-list-view'});
this.allViewMap.set(':',{viewname:'usr2editview_layout',srfappde:'ibizbooks',component:'ibizbookusr2-edit-view-layout'});
this.allViewMap.set(':',{viewname:'valuerulesgridview',srfappde:'ibizbooks',component:'ibizbookvalue-rules-grid-view'});
......
......@@ -143,7 +143,7 @@ export default class OpenYuQueUILogicBase {
* @memberof OpenYuQueUILogicBase
*/
protected async execute_deuiaction1_node(actionContext: UIActionContext) {
const data = actionContext.getParam('SA.SRFDA.PS.Core.DataEntity.Logic.PSDEUILogicParamImpl@39f14753.codeName');
const data = actionContext.getParam('SA.SRFDA.PS.Core.DataEntity.Logic.PSDEUILogicParamImpl@604d4c63.codeName');
const { context, viewparams } = actionContext;
const additionalParam = actionContext.additionalParam;
const uiService = await window.uiServiceRegister.getService('ibizorder');
......
......@@ -671,7 +671,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: 'IBIZBOOKCustomView_layout' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr9GridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -707,7 +707,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public loadDraft(opt: any = {},mode?:string): void {
if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCustomView_layout' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr9GridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return;
}
const arg: any = { ...opt } ;
......
<template>
<i-form :model="this.data" class='app-search-form' ref='quicksearchform' style="">
<i-form :model="this.data" class='app-search-form' ref='searchform' style="">
<input style="display:none;"/>
<row>
<i-col span="20" class="form-content">
......@@ -475,7 +475,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
* @memberof QUICKSEARCHFORMBase
*/
public formValidateStatus(): boolean {
const form: any = this.$refs.quicksearchform;
const form: any = this.$refs.searchform;
let validatestate: boolean = true;
form.validate((valid: boolean) => {
validatestate = valid ? true : false;
......@@ -629,7 +629,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
*/
public load(opt: any = {}): void {
if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKListView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr5ListView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -665,7 +665,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
*/
public loadDraft(opt: any = {},mode?:string): void {
if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKListView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr5ListView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return;
}
const arg: any = { ...opt } ;
......
......@@ -657,7 +657,7 @@ export default class Usr4Base 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: 'IBIZBOOKUsr4DataView' + (this.$t('app.list.notConfig.fetchAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKTestCLDataView' + (this.$t('app.list.notConfig.fetchAction') as string) });
return;
}
const arg: any = {...opt};
......@@ -736,7 +736,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: 'IBIZBOOKUsr4DataView' + (this.$t('app.gridpage.notConfig.removeAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKTestCLDataView' + (this.$t('app.gridpage.notConfig.removeAction') as string) });
return;
}
let _datas:any[] = [];
......@@ -845,7 +845,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: 'IBIZBOOKUsr4DataView' + (this.$t('app.list.notConfig.createAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKTestCLDataView' + (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);
......@@ -853,7 +853,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: 'IBIZBOOKUsr4DataView' + (this.$t('app.list.notConfig.updateAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKTestCLDataView' + (this.$t('app.list.notConfig.updateAction') as string) });
}else{
Object.assign(item,{viewparams:this.viewparams});
if(item.ibizbook){
......
......@@ -69,11 +69,6 @@ export default class Usr4Model {
prop: 'n_ibizbookname_like',
dataType: 'QUERYPARAM'
},
{
name: 'n_price_gtandeq',
prop: 'n_price_gtandeq',
dataType: 'QUERYPARAM'
},
{
......
......@@ -195,7 +195,7 @@ export default class Usr2PickupView_layoutpickupviewpanelBase extends Vue implem
* @memberof Usr2PickupView_layoutpickupviewpanelBase
*/
public view: any = {
viewname: 'ibizcustomer-pickup-tree-view-layout',
viewname: 'ibizcustomer-usr2-pickup-view',
data: {},
}
......
......@@ -299,7 +299,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZOrderPickupGridViewBase
* @memberof IBIZOrderSF1GridViewBase
*/
public Edit(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
if (args.length === 0) {
......@@ -421,6 +421,20 @@ 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;
/**
* 是否嵌入关系界面
......@@ -953,7 +967,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public load(opt: any = {}, pageReset: boolean = false): void {
if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
return;
}
if(pageReset){
......@@ -1048,7 +1062,7 @@ export default class MainBase 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: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.removeAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.removeAction') as string) });
return;
}
let _datas:any[] = [];
......@@ -1154,7 +1168,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: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
return;
}
if(!arg){
......@@ -2071,7 +2085,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: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.createAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.createAction') as string) });
}else{
Object.assign(item,{viewparams:this.viewparams});
let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator);
......@@ -2079,7 +2093,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: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.updateAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.updateAction') as string) });
}else{
Object.assign(item,{viewparams:this.viewparams});
if(item.ibizorder){
......@@ -2146,7 +2160,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public newRow(args: any[], params?: any, $event?: any, xData?: any): void {
if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.loaddraftAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.loaddraftAction') as string) });
return;
}
let _this = this;
......
......@@ -104,6 +104,21 @@ 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',
......
......@@ -598,7 +598,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: 'IBIZSample0021GridView_layout' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZSample0021WFDynaExpGridView_layout' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -634,7 +634,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public loadDraft(opt: any = {},mode?:string): void {
if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZSample0021GridView_layout' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZSample0021WFDynaExpGridView_layout' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return;
}
const arg: any = { ...opt } ;
......
......@@ -353,13 +353,6 @@ export default class MainBase extends Vue implements ControlInterface {
return this.selections[0];
}
/**
* 打开新建数据视图
*
* @type {any}
* @memberof MainBase
*/
@Prop() public newdata: any;
/**
* 打开编辑数据视图
*
......@@ -890,7 +883,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public load(opt: any = {}, pageReset: boolean = false): void {
if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZSample0021GridView_layout'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZSample0021WFDynaExpGridView_layout'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
return;
}
if(pageReset){
......@@ -985,7 +978,7 @@ export default class MainBase 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: 'IBIZSample0021GridView_layout'+(this.$t('app.gridpage.notConfig.removeAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZSample0021WFDynaExpGridView_layout'+(this.$t('app.gridpage.notConfig.removeAction') as string) });
return;
}
let _datas:any[] = [];
......@@ -1091,7 +1084,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: 'IBIZSample0021GridView_layout'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZSample0021WFDynaExpGridView_layout'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
return;
}
if(!arg){
......@@ -1984,7 +1977,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: 'IBIZSample0021GridView_layout'+(this.$t('app.gridpage.notConfig.createAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZSample0021WFDynaExpGridView_layout'+(this.$t('app.gridpage.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);
......@@ -1992,7 +1985,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: 'IBIZSample0021GridView_layout'+(this.$t('app.gridpage.notConfig.updateAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZSample0021WFDynaExpGridView_layout'+(this.$t('app.gridpage.notConfig.updateAction') as string) });
}else{
Object.assign(item,{viewparams:this.viewparams});
if(item.ibizsample0021){
......@@ -2059,7 +2052,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public newRow(args: any[], params?: any, $event?: any, xData?: any): void {
if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZSample0021GridView_layout'+(this.$t('app.gridpage.notConfig.loaddraftAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZSample0021WFDynaExpGridView_layout'+(this.$t('app.gridpage.notConfig.loaddraftAction') as string) });
return;
}
let _this = this;
......
......@@ -4062,6 +4062,12 @@
"name" : "实体列表视图",
"realModelSubType" : "DELISTVIEW",
"realModelType" : "PSDEVIEWBASE"
}, {
"codeName" : "FormLoadCustomView",
"logicName" : "界面逻辑加载(表单)",
"name" : "界面逻辑加载(表单)",
"realModelSubType" : "DECUSTOMVIEW",
"realModelType" : "PSDEVIEWBASE"
}, {
"codeName" : "WizardIWithStateView",
"logicName" : "状态属性",
......
......@@ -836,6 +836,35 @@
"requestPath" : "/select",
"builtinMethod" : false
} ],
"getAllPSAppDEUIActions" : [ {
"caption" : "确认",
"codeName" : "panel_Layoutpanel_button_calluilogic1_click",
"fullCodeName" : "panel_Layoutpanel_button_calluilogic1_click",
"name" : "确认",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
},
"predefinedType" : "DATA_SAVECHANGES",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "panel_Layoutpanel_button_calluilogic1_click",
"uIActionType" : "DEUIACTION"
}, {
"caption" : "取消",
"codeName" : "panel_Layoutpanel_button_calluilogic2_click",
"fullCodeName" : "panel_Layoutpanel_button_calluilogic2_click",
"name" : "取消",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
},
"predefinedType" : "DATA_CANCELCHANGES",
"timeout" : 60000,
"uIActionMode" : "SYS",
"uIActionTag" : "panel_Layoutpanel_button_calluilogic2_click",
"uIActionType" : "DEUIACTION"
} ],
"getAllPSDEOPPrivs" : [ {
"logicName" : "建立",
"name" : "CREATE"
......
{
"accUserMode" : 2,
"getCapPSLanguageRes" : {
"lanResTag" : "DE.LNAME.IBIZBOOK"
},
"caption" : "界面逻辑加载(表单)",
"codeName" : "IBIZBOOKFormLoadCustomView",
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKFormLoadCustomView.json",
"name" : "IBIZBOOKFormLoadCustomView",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSDEViewCodeName" : "FormLoadCustomView",
"getPSDEViewId" : "683C0BD5-8221-4FF6-85D3-19B9DDAE39CA",
"getPSViewLayoutPanel" : {
"codeName" : "Usr1109760669",
"controlType" : "VIEWLAYOUTPANEL",
"layoutMode" : "TABLE_24COL",
"logicName" : "界面逻辑加载(表单)布局面板",
"name" : "layoutpanel",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSControlParam" : { },
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getRootPSPanelItems" : [ {
"itemStyle" : "DEFAULT",
"itemType" : "CONTAINER",
"name" : "page_container",
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
}
} ],
"layoutBodyOnly" : false,
"layoutPanel" : true,
"useDefaultLayout" : false,
"modelid" : "3914908F-5C19-44A5-B943-4204FE9FBE07",
"modeltype" : "PSSYSVIEWLAYOUTPANEL"
},
"title" : "界面逻辑加载(表单)",
"viewStyle" : "DEFAULT",
"viewType" : "DECUSTOMVIEW",
"enableDP" : true,
"modelid" : "1C3D71C7-D5B8-4937-89F7-F822EA1629F4",
"modeltype" : "PSAPPDEVIEW"
}
\ No newline at end of file
......@@ -13389,6 +13389,12 @@
"viewType" : "DEEDITVIEW",
"resource" : "IBIZOrder",
"view" : "SF2EditView"
}, {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKFormLoadCustomView.json",
"viewType" : "DECUSTOMVIEW",
"resource" : "IBIZBOOK",
"view" : "FormLoadCustomView"
}, {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZCustomerUsr2EditView.json",
......
......@@ -172,7 +172,7 @@
<!--输出实体[IBIZBOOK]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizbook-549-7">
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizbook-554-7">
<createTable tableName="T_IBIZBOOK">
<column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column>
......@@ -278,7 +278,7 @@
<!--输出实体[IBIZCUSTOMER]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizcustomer-173-10">
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizcustomer-177-10">
<createTable tableName="T_IBIZCUSTOMER">
<column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column>
......
......@@ -19,7 +19,7 @@
</createView>
</changeSet>
<!--输出实体[IBIZCUSTOMER]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet author="a_LAB01_df847bdfd" id="view-ibizcustomer-173-4" runOnChange="true">
<changeSet author="a_LAB01_df847bdfd" id="view-ibizcustomer-177-4" runOnChange="true">
<createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZCUSTOMER">
<![CDATA[ SELECT t1.[ADDRESS], t1.[CREATEDATE], t1.[CREATEMAN], t1.[CUSTOMERUID], t1.[IBIZCUSTOMERID], t1.[IBIZCUSTOMERNAME], t1.[SN], t1.[UPDATEDATE], t1.[UPDATEMAN] FROM [T_IBIZCUSTOMER] t1 ]]>
</createView>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册