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

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

上级 0fba6685
// 基于 @VIEW/实体编辑视图/VIEW.less.ftl 生成
.view-card {
>.ivu-card-extra {
top: 5px;
right: 0px;
}
}
.ibizcustom-usr1118668829-edit-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
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import IBIZCustomUsr1118668829EditViewBase from './ibizcustom-usr1118668829-edit-view-base.vue';
import view_form from '@widgets/ibizcustom/usr1118204624-form/usr1118204624-form.vue';
// 基于 @VIEW/实体编辑视图/VIEW.vue.ftl 生成
@Component({
components: {
view_form,
},
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
if(!Object.is(vm.navModel,"route")){
vm.initNavDataWithTab(vm.viewCacheData);
}
vm.$store.commit('addCurPageViewtag', { fullPath: to.fullPath, viewtag: vm.viewtag });
});
},
})
export default class IBIZCustomUsr1118668829EditView extends IBIZCustomUsr1118668829EditViewBase {
}
</script>
\ No newline at end of file
...@@ -146,6 +146,7 @@ export const PageComponents = { ...@@ -146,6 +146,7 @@ export const PageComponents = {
Vue.component('ibizsample0021-grid-view-layout', () => import('@pages/sample/ibizsample0021-grid-view-layout/ibizsample0021-grid-view-layout.vue')); Vue.component('ibizsample0021-grid-view-layout', () => import('@pages/sample/ibizsample0021-grid-view-layout/ibizsample0021-grid-view-layout.vue'));
Vue.component('ibizsample0021-wfdyna-action-view-layout', () => import('@pages/sample/ibizsample0021-wfdyna-action-view-layout/ibizsample0021-wfdyna-action-view-layout.vue')); Vue.component('ibizsample0021-wfdyna-action-view-layout', () => import('@pages/sample/ibizsample0021-wfdyna-action-view-layout/ibizsample0021-wfdyna-action-view-layout.vue'));
Vue.component('ibizbookcustom-view-layout', () => import('@pages/sample/ibizbookcustom-view-layout/ibizbookcustom-view-layout.vue')); Vue.component('ibizbookcustom-view-layout', () => import('@pages/sample/ibizbookcustom-view-layout/ibizbookcustom-view-layout.vue'));
Vue.component('ibizcustom-usr1118668829-edit-view', () => import('@pages/sample/ibizcustom-usr1118668829-edit-view/ibizcustom-usr1118668829-edit-view.vue'));
Vue.component('ibizappviewgrid-view', () => import('@pages/sample/ibizappviewgrid-view/ibizappviewgrid-view.vue')); Vue.component('ibizappviewgrid-view', () => import('@pages/sample/ibizappviewgrid-view/ibizappviewgrid-view.vue'));
Vue.component('ibizappviewlist-view', () => import('@pages/sample/ibizappviewlist-view/ibizappviewlist-view.vue')); Vue.component('ibizappviewlist-view', () => import('@pages/sample/ibizappviewlist-view/ibizappviewlist-view.vue'));
Vue.component('ibizappctrlgrid-view', () => import('@pages/sample/ibizappctrlgrid-view/ibizappctrlgrid-view.vue')); Vue.component('ibizappctrlgrid-view', () => import('@pages/sample/ibizappctrlgrid-view/ibizappctrlgrid-view.vue'));
......
...@@ -2209,6 +2209,20 @@ const router = new Router({ ...@@ -2209,6 +2209,20 @@ const router = new Router({
}, },
component: () => import('@pages/sample/ibizbookcustom-view-layout/ibizbookcustom-view-layout.vue'), component: () => import('@pages/sample/ibizbookcustom-view-layout/ibizbookcustom-view-layout.vue'),
}, },
{
path: 'ibizcustoms/:ibizcustom?/usr1118668829editview/:usr1118668829editview?',
meta: {
caption: 'entities.ibizcustom.views.usr1118668829editview.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizcustoms', parameterName: 'ibizcustom' },
{ pathName: 'usr1118668829editview', parameterName: 'usr1118668829editview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizcustom-usr1118668829-edit-view/ibizcustom-usr1118668829-edit-view.vue'),
},
{ {
path: 'ibizappviews/:ibizappview?/gridview/:gridview?', path: 'ibizappviews/:ibizappview?/gridview/:gridview?',
meta: { meta: {
...@@ -5866,6 +5880,19 @@ const router = new Router({ ...@@ -5866,6 +5880,19 @@ const router = new Router({
}, },
component: () => import('@pages/sample/ibizbookusr6-data-view/ibizbookusr6-data-view.vue'), component: () => import('@pages/sample/ibizbookusr6-data-view/ibizbookusr6-data-view.vue'),
}, },
{
path: '/ibizcustoms/:ibizcustom?/usr1118668829editview/:usr1118668829editview?',
meta: {
caption: 'entities.ibizcustom.views.usr1118668829editview.caption',
info:'',
parameters: [
{ pathName: 'ibizcustoms', parameterName: 'ibizcustom' },
{ pathName: 'usr1118668829editview', parameterName: 'usr1118668829editview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizcustom-usr1118668829-edit-view/ibizcustom-usr1118668829-edit-view.vue'),
},
{ {
path: '/ibizsample0018s/:ibizsample0018?/editview/:editview?', path: '/ibizsample0018s/:ibizsample0018?/editview/:editview?',
meta: { meta: {
......
...@@ -2368,6 +2368,19 @@ const router = new Router({ ...@@ -2368,6 +2368,19 @@ const router = new Router({
}, },
component: () => import('@pages/sample/ibizbookusr6-data-view/ibizbookusr6-data-view.vue'), component: () => import('@pages/sample/ibizbookusr6-data-view/ibizbookusr6-data-view.vue'),
}, },
{
path: '/ibizcustoms/:ibizcustom?/usr1118668829editview/:usr1118668829editview?',
meta: {
caption: 'entities.ibizcustom.views.usr1118668829editview.caption',
info:'',
parameters: [
{ pathName: 'ibizcustoms', parameterName: 'ibizcustom' },
{ pathName: 'usr1118668829editview', parameterName: 'usr1118668829editview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizcustom-usr1118668829-edit-view/ibizcustom-usr1118668829-edit-view.vue'),
},
{ {
path: '/ibizsample0018s/:ibizsample0018?/editview/:editview?', path: '/ibizsample0018s/:ibizsample0018?/editview/:editview?',
meta: { meta: {
......
...@@ -1014,6 +1014,7 @@ export const viewstate: any = { ...@@ -1014,6 +1014,7 @@ export const viewstate: any = {
'ef0aa2f297f599cdbc14fc8393b78a1d', 'ef0aa2f297f599cdbc14fc8393b78a1d',
'a6d2ee3618dcfb23c3db981c9dbc4340', 'a6d2ee3618dcfb23c3db981c9dbc4340',
'fa2731c1873f3c86aa065e73cff4667b', 'fa2731c1873f3c86aa065e73cff4667b',
'B5EBDDC5-FF69-41D2-A3AD-438D13EE14A7',
], ],
}, },
{ {
...@@ -1866,6 +1867,15 @@ export const viewstate: any = { ...@@ -1866,6 +1867,15 @@ export const viewstate: any = {
'58e37ccddda10feedac7c809d5cee02a', '58e37ccddda10feedac7c809d5cee02a',
], ],
}, },
{
viewtag: 'B5EBDDC5-FF69-41D2-A3AD-438D13EE14A7',
viewmodule: 'Sample',
viewname: 'IBIZCustomUsr1118668829EditView',
viewaction: '',
viewdatachange: false,
refviews: [
],
},
{ {
viewtag: 'b6051ffde71a38f002578df12de6fc66', viewtag: 'b6051ffde71a38f002578df12de6fc66',
viewmodule: 'Sample', viewmodule: 'Sample',
......
...@@ -1094,6 +1094,9 @@ export default class MainMenuBase extends Vue implements ControlInterface { ...@@ -1094,6 +1094,9 @@ export default class MainMenuBase extends Vue implements ControlInterface {
case 'AppFunc124': case 'AppFunc124':
this.clickAppFunc124(item); this.clickAppFunc124(item);
return; return;
case 'UsrAppFunc1118370827':
this.clickUsrAppFunc1118370827(item);
return;
default: default:
console.warn('未指定应用功能'); console.warn('未指定应用功能');
} }
...@@ -4502,6 +4505,29 @@ export default class MainMenuBase extends Vue implements ControlInterface { ...@@ -4502,6 +4505,29 @@ export default class MainMenuBase extends Vue implements ControlInterface {
this.$router.push(path); this.$router.push(path);
}) })
} }
/**
* 测试插件编辑视图
*
* @param {*} [item={}]
* @memberof MainMenu
*/
public clickUsrAppFunc1118370827(item: any = {}) {
const viewparam: any = {};
Object.assign(viewparam, {});
const deResParameters: any[] = [];
const parameters: any[] = [
{ pathName: 'ibizcustoms', parameterName: 'ibizcustom' },
{ pathName: 'usr1118668829editview', parameterName: 'usr1118668829editview' },
];
const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
if(Object.is(this.$route.fullPath,path)){
return;
}
this.$nextTick(function(){
this.$router.push(path);
})
}
/** /**
* 数据加载 * 数据加载
......
...@@ -639,7 +639,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -639,7 +639,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/ */
public load(opt: any = {}): void { public load(opt: any = {}): void {
if(!this.loadAction){ if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: '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; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -675,7 +675,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -675,7 +675,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/ */
public async loadDraft(opt: any = {},mode?:string): Promise<any> { public async loadDraft(opt: any = {},mode?:string): Promise<any> {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: '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; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
......
...@@ -712,7 +712,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -712,7 +712,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/ */
public load(opt: any = {}): void { public load(opt: any = {}): void {
if(!this.loadAction){ if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: '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; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -748,7 +748,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -748,7 +748,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/ */
public async loadDraft(opt: any = {},mode?:string): Promise<any> { public async loadDraft(opt: any = {},mode?:string): Promise<any> {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: '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; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
......
...@@ -1378,7 +1378,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface ...@@ -1378,7 +1378,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
*/ */
public async load(opt: any = {}): Promise<any> { public async load(opt: any = {}): Promise<any> {
if(!this.loadAction){ if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loadaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.loadaction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -1425,7 +1425,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface ...@@ -1425,7 +1425,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
*/ */
public async loadDraft(opt: any = {}): Promise<any> { public async loadDraft(opt: any = {}): Promise<any> {
if (!this.loaddraftAction) { if (!this.loaddraftAction) {
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
...@@ -1495,7 +1495,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface ...@@ -1495,7 +1495,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction; const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){ if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction"; let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.actionname') as string) });
return; return;
} }
Object.assign(arg,{viewparams:this.viewparams}); Object.assign(arg,{viewparams:this.viewparams});
...@@ -1603,7 +1603,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface ...@@ -1603,7 +1603,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction; const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){ if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction"; let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.actionname') as string) });
return; return;
} }
Object.assign(arg, { viewparams: this.viewparams }); Object.assign(arg, { viewparams: this.viewparams });
...@@ -1695,7 +1695,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface ...@@ -1695,7 +1695,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> { public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> {
return new Promise((resolve: any, reject: any) => { return new Promise((resolve: any, reject: any) => {
if(!this.removeAction){ if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.removeaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.removeaction') as string) });
return; return;
} }
const arg: any = opt[0]; const arg: any = opt[0];
......
...@@ -670,7 +670,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface ...@@ -670,7 +670,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
*/ */
public load(opt: any = {}): void { public load(opt: any = {}): void {
if(!this.loadAction){ if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKListView' + (this.$t('app.searchForm.notConfig.loadAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCalendarView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -706,7 +706,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface ...@@ -706,7 +706,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
*/ */
public async loadDraft(opt: any = {},mode?:string): Promise<any> { public async loadDraft(opt: any = {},mode?:string): Promise<any> {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKListView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCalendarView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
......
...@@ -698,7 +698,7 @@ export default class Usr4Base extends Vue implements ControlInterface { ...@@ -698,7 +698,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
*/ */
public async load(opt: any = {}, isReset: boolean = false): Promise<any> { public async load(opt: any = {}, isReset: boolean = false): Promise<any> {
if(!this.fetchAction){ if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: '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; return;
} }
const arg: any = {...opt}; const arg: any = {...opt};
...@@ -792,7 +792,7 @@ export default class Usr4Base extends Vue implements ControlInterface { ...@@ -792,7 +792,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
*/ */
public async remove(datas: any[]): Promise<any> { public async remove(datas: any[]): Promise<any> {
if(!this.removeAction){ if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: '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; return;
} }
let _datas:any[] = []; let _datas:any[] = [];
...@@ -908,7 +908,7 @@ export default class Usr4Base extends Vue implements ControlInterface { ...@@ -908,7 +908,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
try { try {
if(Object.is(item.rowDataState, 'create')){ if(Object.is(item.rowDataState, 'create')){
if(!this.createAction){ if(!this.createAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: '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{ }else{
Object.assign(item,{viewparams:this.viewparams}); Object.assign(item,{viewparams:this.viewparams});
let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator); let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator);
...@@ -916,7 +916,7 @@ export default class Usr4Base extends Vue implements ControlInterface { ...@@ -916,7 +916,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
} }
}else if(Object.is(item.rowDataState, 'update')){ }else if(Object.is(item.rowDataState, 'update')){
if(!this.updateAction){ if(!this.updateAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: '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{ }else{
Object.assign(item,{viewparams:this.viewparams}); Object.assign(item,{viewparams:this.viewparams});
if(item.ibizbook){ if(item.ibizbook){
......
...@@ -70,11 +70,6 @@ export default class Usr4Model { ...@@ -70,11 +70,6 @@ export default class Usr4Model {
prop: 'n_ibizbookname_like', prop: 'n_ibizbookname_like',
dataType: 'QUERYPARAM' dataType: 'QUERYPARAM'
}, },
{
name: 'n_price_gtandeq',
prop: 'n_price_gtandeq',
dataType: 'QUERYPARAM'
},
{ {
......
// 基于 @CONTROL/表单/MODEL.ts.ftl 生成
/**
* Usr1118204624 部件模型
*
* @export
* @class Usr1118204624Model
*/
export default class Usr1118204624Model {
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof Usr1118204624Model
*/
public getDataItems(): any[] {
return [
{
name: 'srfwfmemo',
prop: 'srfwfmemo',
dataType: 'TEXT',
},
// 前端新增修改标识,新增为"0",修改为"1"或未设值
{
name: 'srffrontuf',
prop: 'srffrontuf',
dataType: 'TEXT',
},
{
name: 'srfupdatedate',
prop: 'updatedate',
dataType: 'DATETIME',
},
{
name: 'srforikey',
},
{
name: 'srfkey',
prop: 'ibizcustomid',
dataType: 'GUID',
},
{
name: 'srfmajortext',
prop: 'ibizcustomname',
dataType: 'TEXT',
},
{
name: 'srftempmode',
},
{
name: 'srfuf',
},
{
name: 'srfdeid',
},
{
name: 'srfsourcekey',
},
{
name: 'ibizcustomname',
prop: 'ibizcustomname',
dataType: 'TEXT',
},
{
name: 'createman',
prop: 'createman',
dataType: 'TEXT',
},
{
name: 'createdate',
prop: 'createdate',
dataType: 'DATETIME',
},
{
name: 'updateman',
prop: 'updateman',
dataType: 'TEXT',
},
{
name: 'updatedate',
prop: 'updatedate',
dataType: 'DATETIME',
},
{
name: 'ibizcustomid',
prop: 'ibizcustomid',
dataType: 'GUID',
},
{
name: 'ibizcustom',
prop: 'ibizcustomid',
dataType: 'FONTKEY',
},
]
}
}
\ No newline at end of file
// 基于 @CONTROL/表单/CONTROL.less.ftl 生成
.ivu-tabs-no-animation>.ivu-tabs-content{
padding: 0 16px;
}
.ivu-card-head{
padding: 14px 0;
}
.app-form {
overflow: auto;
padding: 6px;
> .ivu-row {
> .ivu-tabs {
height: 100%;
display: flex;
flex-direction: column;
> .ivu-tabs-content {
flex-grow: 1;
overflow: auto;
> .ivu-tabs-tabpane {
height: 100%;
}
}
}
}
}
.app-tabpanel-flex {
height: 100%;
> .ivu-tabs-content {
height: calc(100% - 52px);
> .ivu-tabs-tabpane {
height: 100%;
}
}
}
.app-form {
>.ivu-row:nth-child(2) {
>.ivu-col:nth-child(1) {
>.ivu-row.app-form-group.app-group-hiddden-caption:nth-child(1) {
margin-top: 12px;
}
}
}
}
.app-form{
// 表单行间距
.app-form-item{
margin-bottom: 20px;
}
// 表单按钮margin
.app-form-button{
margin:0 6px;
}
}
// this is less
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import Usr1118204624Base from './usr1118204624-form-base.vue';
// 基于 @CONTROL/表单/CONTROL.vue.ftl 生成
@Component({
components: {
}
})
export default class Usr1118204624 extends Usr1118204624Base {
}
</script>
\ No newline at end of file
...@@ -957,7 +957,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -957,7 +957,7 @@ export default class MainBase extends Vue implements ControlInterface {
if (!this.fetchAction) { if (!this.fetchAction) {
this.$Notice.error({ this.$Notice.error({
title: this.$t("app.commonWords.wrong") as string, title: this.$t("app.commonWords.wrong") as string,
desc: "IBIZOrderDetailSGridView" + (this.$t("app.gridpage.notConfig.fetchAction") as string), desc: "IBIZOrderDetailGridView9" + (this.$t("app.gridpage.notConfig.fetchAction") as string),
}); });
return; return;
} }
...@@ -1086,7 +1086,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1086,7 +1086,7 @@ export default class MainBase extends Vue implements ControlInterface {
if (!this.removeAction) { if (!this.removeAction) {
this.$Notice.error({ this.$Notice.error({
title: (this.$t('app.commonWords.wrong') as string), title: (this.$t('app.commonWords.wrong') as string),
desc: 'IBIZOrderDetailSGridView' + (this.$t('app.gridpage.notConfig.removeAction') as string) desc: 'IBIZOrderDetailGridView9' + (this.$t('app.gridpage.notConfig.removeAction') as string)
}); });
return; return;
} }
...@@ -1200,7 +1200,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1200,7 +1200,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/ */
public addBatch(arg: any = {}): void { public addBatch(arg: any = {}): void {
if(!this.fetchAction){ if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailGridView9'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
return; return;
} }
if(!arg){ if(!arg){
...@@ -2094,7 +2094,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2094,7 +2094,7 @@ export default class MainBase extends Vue implements ControlInterface {
try { try {
if (Object.is(item.rowDataState, 'create')) { if (Object.is(item.rowDataState, 'create')) {
if (!this.createAction) { if (!this.createAction) {
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView'+(this.$t('app.gridpage.notConfig.createAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailGridView9'+(this.$t('app.gridpage.notConfig.createAction') as string) });
} else { } else {
Object.assign(item, { viewparams: this.viewparams }); Object.assign(item, { viewparams: this.viewparams });
const tempContext = Util.deepCopy(this.context); const tempContext = Util.deepCopy(this.context);
...@@ -2103,7 +2103,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2103,7 +2103,7 @@ export default class MainBase extends Vue implements ControlInterface {
} }
}else if (Object.is(item.rowDataState, 'update')){ }else if (Object.is(item.rowDataState, 'update')){
if (!this.updateAction) { if (!this.updateAction) {
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView'+(this.$t('app.gridpage.notConfig.updateAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailGridView9'+(this.$t('app.gridpage.notConfig.updateAction') as string) });
} else { } else {
Object.assign(item, { viewparams: this.viewparams }); Object.assign(item, { viewparams: this.viewparams });
const tempContext = Util.deepCopy(this.context); const tempContext = Util.deepCopy(this.context);
...@@ -2179,7 +2179,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2179,7 +2179,7 @@ export default class MainBase extends Vue implements ControlInterface {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ this.$Notice.error({
title: (this.$t('app.commonWords.wrong') as string), title: (this.$t('app.commonWords.wrong') as string),
desc: 'IBIZOrderDetailSGridView' + (this.$t('app.gridpage.notConfig.loaddraftAction') as string) desc: 'IBIZOrderDetailGridView9' + (this.$t('app.gridpage.notConfig.loaddraftAction') as string)
}); });
return; return;
} }
......
...@@ -97,7 +97,6 @@ export default class MainModel { ...@@ -97,7 +97,6 @@ export default class MainModel {
name: 'ibizorderdetail', name: 'ibizorderdetail',
prop: 'ibizorderdetailid', prop: 'ibizorderdetailid',
}, },
{ {
name:'size', name:'size',
prop:'size', prop:'size',
......
...@@ -11,26 +11,6 @@ ...@@ -11,26 +11,6 @@
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}, },
"getPSDETreeColumns" : [ { "getPSDETreeColumns" : [ {
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"name" : "author",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"name" : "ibizbookname",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "归还日期", "caption" : "归还日期",
"codeName" : "returntime", "codeName" : "returntime",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
...@@ -60,6 +40,26 @@ ...@@ -60,6 +40,26 @@
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, {
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"name" : "author",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"name" : "ibizbookname",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
} ], } ],
"getPSDETreeNodeRSs" : [ { "getPSDETreeNodeRSs" : [ {
"getChildPSDETreeNode" : { "getChildPSDETreeNode" : {
......
...@@ -34,26 +34,6 @@ ...@@ -34,26 +34,6 @@
"id" : "GANTT" "id" : "GANTT"
}, },
"getPSDETreeColumns" : [ { "getPSDETreeColumns" : [ {
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"name" : "author",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"name" : "ibizbookname",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "归还日期", "caption" : "归还日期",
"codeName" : "returntime", "codeName" : "returntime",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
...@@ -83,6 +63,26 @@ ...@@ -83,6 +63,26 @@
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, {
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"name" : "author",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"name" : "ibizbookname",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
} ], } ],
"getPSDETreeNodeRSs" : [ { "getPSDETreeNodeRSs" : [ {
"getChildPSDETreeNode" : { "getChildPSDETreeNode" : {
......
...@@ -490,13 +490,9 @@ ...@@ -490,13 +490,9 @@
} ], } ],
"getPSDEViewCodeName" : "Usr1118668829EditView", "getPSDEViewCodeName" : "Usr1118668829EditView",
"getPSDEViewId" : "E3517DE5-64D0-4744-869E-769940DB631D", "getPSDEViewId" : "E3517DE5-64D0-4744-869E-769940DB631D",
"getPSSysPFPlugin" : {
"pluginType" : "VIEW_CUSTOM",
"pluginCode" : "bottomToolbar"
},
"getPSViewLayoutPanel" : { "getPSViewLayoutPanel" : {
"codeName" : "Layoutpanel", "codeName" : "Layoutpanel",
"controlStyle" : "APPDEEDITVIEW_BOTTOMBTN", "controlStyle" : "APPDEEDITVIEW",
"controlType" : "VIEWLAYOUTPANEL", "controlType" : "VIEWLAYOUTPANEL",
"name" : "layoutpanel", "name" : "layoutpanel",
"getPSAppDataEntity" : { "getPSAppDataEntity" : {
...@@ -509,7 +505,7 @@ ...@@ -509,7 +505,7 @@
"useDefaultLayout" : true "useDefaultLayout" : true
}, },
"title" : "测试插件编辑视图", "title" : "测试插件编辑视图",
"viewStyle" : "bottomBtn", "viewStyle" : "DEFAULT",
"viewType" : "DEEDITVIEW", "viewType" : "DEEDITVIEW",
"xDataControlName" : "form", "xDataControlName" : "form",
"enableDP" : true, "enableDP" : true,
......
...@@ -4173,10 +4173,14 @@ ...@@ -4173,10 +4173,14 @@
"itemType" : "MENUITEM", "itemType" : "MENUITEM",
"name" : "menuitem233", "name" : "menuitem233",
"getPSAppMenuItems" : [ { "getPSAppMenuItems" : [ {
"accUserMode" : 0, "accUserMode" : 2,
"caption" : "视图插件", "caption" : "视图插件",
"itemType" : "MENUITEM", "itemType" : "MENUITEM",
"name" : "menuitem234", "name" : "menuitem234",
"getPSAppFunc" : {
"modelref" : true,
"id" : "UsrAppFunc1118370827"
},
"getPSLayout" : { "getPSLayout" : {
"columnCount" : 24, "columnCount" : 24,
"layout" : "TABLE_24COL" "layout" : "TABLE_24COL"
......
...@@ -2484,10 +2484,14 @@ ...@@ -2484,10 +2484,14 @@
"itemType" : "MENUITEM", "itemType" : "MENUITEM",
"name" : "menuitem233", "name" : "menuitem233",
"getPSAppMenuItems" : [ { "getPSAppMenuItems" : [ {
"accUserMode" : 0, "accUserMode" : 2,
"caption" : "视图插件", "caption" : "视图插件",
"itemType" : "MENUITEM", "itemType" : "MENUITEM",
"name" : "menuitem234", "name" : "menuitem234",
"getPSAppFunc" : {
"modelref" : true,
"id" : "UsrAppFunc1118370827"
},
"tooltip" : "视图插件" "tooltip" : "视图插件"
} ], } ],
"tooltip" : "插件" "tooltip" : "插件"
......
...@@ -2979,6 +2979,16 @@ ...@@ -2979,6 +2979,16 @@
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZOrderGanttView.json", "path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZOrderGanttView.json",
"viewType" : "DEGANTTVIEW" "viewType" : "DEGANTTVIEW"
} }
}, {
"appFuncType" : "APPVIEW",
"codeName" : "UsrAppFunc1118370827",
"name" : "测试插件编辑视图",
"openMode" : "INDEXVIEWTAB",
"getPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZCustomUsr1118668829EditView.json",
"viewType" : "DEEDITVIEW"
}
}, { }, {
"appFuncType" : "APPVIEW", "appFuncType" : "APPVIEW",
"codeName" : "AppFunc85", "codeName" : "AppFunc85",
...@@ -3991,12 +4001,6 @@ ...@@ -3991,12 +4001,6 @@
"refMode" : "CONTROLITEM", "refMode" : "CONTROLITEM",
"refTag" : "FORM", "refTag" : "FORM",
"refTag2" : "FORMITEM" "refTag2" : "FORMITEM"
}, {
"name" : "底部工具栏",
"pluginCode" : "bottomToolbar",
"pluginType" : "VIEW_CUSTOM",
"refMode" : "APPVIEW",
"refTag" : "DEEDITVIEW"
}, { }, {
"name" : "快捷菜单", "name" : "快捷菜单",
"pluginCode" : "QUICKMENUBAR", "pluginCode" : "QUICKMENUBAR",
...@@ -19416,10 +19420,14 @@ ...@@ -19416,10 +19420,14 @@
"itemType" : "MENUITEM", "itemType" : "MENUITEM",
"name" : "menuitem233", "name" : "menuitem233",
"getPSAppMenuItems" : [ { "getPSAppMenuItems" : [ {
"accUserMode" : 0, "accUserMode" : 2,
"caption" : "视图插件", "caption" : "视图插件",
"itemType" : "MENUITEM", "itemType" : "MENUITEM",
"name" : "menuitem234", "name" : "menuitem234",
"getPSAppFunc" : {
"modelref" : true,
"id" : "UsrAppFunc1118370827"
},
"getPSLayout" : { "getPSLayout" : {
"columnCount" : 24, "columnCount" : 24,
"layout" : "TABLE_24COL" "layout" : "TABLE_24COL"
......
...@@ -15,12 +15,6 @@ ...@@ -15,12 +15,6 @@
"refMode" : "CONTROLITEM", "refMode" : "CONTROLITEM",
"refTag" : "FORM", "refTag" : "FORM",
"refTag2" : "FORMITEM" "refTag2" : "FORMITEM"
}, {
"name" : "底部工具栏",
"pluginCode" : "bottomToolbar",
"pluginType" : "VIEW_CUSTOM",
"refMode" : "APPVIEW",
"refTag" : "DEEDITVIEW"
}, { }, {
"name" : "快捷菜单", "name" : "快捷菜单",
"pluginCode" : "QUICKMENUBAR", "pluginCode" : "QUICKMENUBAR",
......
...@@ -258,7 +258,7 @@ ...@@ -258,7 +258,7 @@
<!--输出实体[IBIZCUSTOM]数据结构 --> <!--输出实体[IBIZCUSTOM]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizcustom-67-9"> <changeSet author="a_LAB01_df847bdfd" id="tab-ibizcustom-69-9">
<createTable tableName="T_IBIZCUSTOM"> <createTable tableName="T_IBIZCUSTOM">
<column name="CREATEMAN" remarks="" type="VARCHAR(60)"> <column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column> </column>
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
</createView> </createView>
</changeSet> </changeSet>
<!--输出实体[IBIZCUSTOM]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步--> <!--输出实体[IBIZCUSTOM]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet author="a_LAB01_df847bdfd" id="view-ibizcustom-67-3" runOnChange="true"> <changeSet author="a_LAB01_df847bdfd" id="view-ibizcustom-69-3" runOnChange="true">
<createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZCUSTOM"> <createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZCUSTOM">
<![CDATA[ SELECT t1.CREATEDATE, t1.CREATEMAN, t1.IBIZCUSTOMID, t1.IBIZCUSTOMNAME, t1.UPDATEDATE, t1.UPDATEMAN FROM T_IBIZCUSTOM t1 ]]> <![CDATA[ SELECT t1.CREATEDATE, t1.CREATEMAN, t1.IBIZCUSTOMID, t1.IBIZCUSTOMNAME, t1.UPDATEDATE, t1.UPDATEMAN FROM T_IBIZCUSTOM t1 ]]>
</createView> </createView>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册