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

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

上级 9dadd1c5
......@@ -3225,6 +3225,19 @@ const router = new Router({
},
component: () => import('@pages/sample/ibizorder-state10-edit-view2/ibizorder-state10-edit-view2.vue'),
},
{
path: '/ibizbooks/:ibizbook?/usrpickupview_plugin/:usrpickupview_plugin?',
meta: {
caption: 'entities.ibizbook.views.usrpickupview_plugin.caption',
info:'',
parameters: [
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'usrpickupview_plugin', parameterName: 'usrpickupview_plugin' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbookusr-pickup-view-plugin/ibizbookusr-pickup-view-plugin.vue'),
},
{
path: '/ibiztasks/:ibiztask?/ibiztaskteams/:ibiztaskteam?/editview9/:editview9?',
meta: {
......
// 基于 @VIEW/实体数据选择视图/VIEW.less.ftl 生成
.ibizbookusr-pickup-view-plugin{
position: relative;
}
.pickup-view {
>.pickupviewpanel {
flex-grow: 1;
display: flex;
justify-content: flex-end;
height: calc(100% - 64px);
}
>.footer {
height: 64px;
}
}
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import IBIZBOOKUsrPickupView_pluginBase from './ibizbookusr-pickup-view-plugin-base.vue';
import view_pickupviewpanel from '@widgets/ibizbook/usr-pickup-view-pluginpickupviewpanel-pickupviewpanel/usr-pickup-view-pluginpickupviewpanel-pickupviewpanel.vue';
// 基于 @VIEW/实体数据选择视图/VIEW.vue.ftl 生成
@Component({
components: {
view_pickupviewpanel,
},
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 IBIZBOOKUsrPickupView_plugin extends IBIZBOOKUsrPickupView_pluginBase {
}
</script>
\ No newline at end of file
......@@ -226,6 +226,7 @@ export const PageComponents = {
Vue.component('ibizcustomer-mpickup-view-layout', () => import('@pages/sample/ibizcustomer-mpickup-view-layout/ibizcustomer-mpickup-view-layout.vue'));
Vue.component('ibizorder-redirect-view', () => import('@pages/sample/ibizorder-redirect-view/ibizorder-redirect-view.vue'));
Vue.component('ibizbookredirect-view', () => import('@pages/sample/ibizbookredirect-view/ibizbookredirect-view.vue'));
Vue.component('ibizbookusr-pickup-view-plugin', () => import('@pages/sample/ibizbookusr-pickup-view-plugin/ibizbookusr-pickup-view-plugin.vue'));
Vue.component('ibizappviewedit-view', () => import('@pages/sample/ibizappviewedit-view/ibizappviewedit-view.vue'));
Vue.component('ibizappctrledit-view', () => import('@pages/sample/ibizappctrledit-view/ibizappctrledit-view.vue'));
Vue.component('ibizappeditoredit-view', () => import('@pages/sample/ibizappeditoredit-view/ibizappeditoredit-view.vue'));
......
......@@ -3403,6 +3403,20 @@ const router = new Router({
},
component: () => import('@pages/sample/ibizcustomer-mpickup-view-layout/ibizcustomer-mpickup-view-layout.vue'),
},
{
path: 'ibizbooks/:ibizbook?/usrpickupview_plugin/:usrpickupview_plugin?',
meta: {
caption: 'entities.ibizbook.views.usrpickupview_plugin.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'usrpickupview_plugin', parameterName: 'usrpickupview_plugin' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbookusr-pickup-view-plugin/ibizbookusr-pickup-view-plugin.vue'),
},
{
path: 'ibizappviews/:ibizappview?/editview/:editview?',
meta: {
......@@ -6736,6 +6750,19 @@ const router = new Router({
},
component: () => import('@pages/sample/ibizorder-state10-edit-view2/ibizorder-state10-edit-view2.vue'),
},
{
path: '/ibizbooks/:ibizbook?/usrpickupview_plugin/:usrpickupview_plugin?',
meta: {
caption: 'entities.ibizbook.views.usrpickupview_plugin.caption',
info:'',
parameters: [
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'usrpickupview_plugin', parameterName: 'usrpickupview_plugin' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbookusr-pickup-view-plugin/ibizbookusr-pickup-view-plugin.vue'),
},
{
path: '/ibiztasks/:ibiztask?/ibiztaskteams/:ibiztaskteam?/editview9/:editview9?',
meta: {
......
......@@ -3043,6 +3043,19 @@ const router = new Router({
},
component: () => import('@pages/sample/ibizorder-state10-edit-view2/ibizorder-state10-edit-view2.vue'),
},
{
path: '/ibizbooks/:ibizbook?/usrpickupview_plugin/:usrpickupview_plugin?',
meta: {
caption: 'entities.ibizbook.views.usrpickupview_plugin.caption',
info:'',
parameters: [
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'usrpickupview_plugin', parameterName: 'usrpickupview_plugin' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbookusr-pickup-view-plugin/ibizbookusr-pickup-view-plugin.vue'),
},
{
path: '/ibiztasks/:ibiztask?/ibiztaskteams/:ibiztaskteam?/editview9/:editview9?',
meta: {
......
......@@ -2359,6 +2359,16 @@ export const viewstate: any = {
'6bc6e690dc5abfc6d89703e4459c785c',
],
},
{
viewtag: 'D8DC4CF2-3FDF-4FF3-8914-2AEC6063C86F',
viewmodule: 'Sample',
viewname: 'IBIZBOOKUsrPickupView_plugin',
viewaction: '',
viewdatachange: false,
refviews: [
'6a079bac1a6eeb580654cd04e6b1a8b8',
],
},
{
viewtag: 'd985337c61d3832ea28781561622a1cd',
viewmodule: 'Sample',
......@@ -2688,7 +2698,7 @@ export const viewstate: any = {
viewaction: '',
viewdatachange: false,
refviews: [
'2dd50b1b88cf8062b625ee8b0b4fa9d7',
'D8DC4CF2-3FDF-4FF3-8914-2AEC6063C86F',
],
},
{
......
......@@ -639,7 +639,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: 'IBIZAPPEDITORGridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZAPPEDITORListView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -675,7 +675,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: 'IBIZAPPEDITORGridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZAPPEDITORListView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return;
}
const arg: any = { ...opt } ;
......
......@@ -712,7 +712,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public load(opt: any = {}): void {
if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr9GridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKGroupByCodelistListView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -748,7 +748,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public async loadDraft(opt: any = {},mode?:string): Promise<any> {
if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr9GridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKGroupByCodelistListView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return;
}
const arg: any = { ...opt } ;
......
......@@ -1378,7 +1378,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
*/
public async load(opt: any = {}): Promise<any> {
if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_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;
}
const arg: any = { ...opt };
......@@ -1425,7 +1425,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
*/
public async loadDraft(opt: any = {}): Promise<any> {
if (!this.loaddraftAction) {
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_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;
}
const arg: any = { ...opt } ;
......@@ -1495,7 +1495,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_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;
}
Object.assign(arg,{viewparams:this.viewparams});
......@@ -1603,7 +1603,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_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;
}
Object.assign(arg, { viewparams: this.viewparams });
......@@ -1695,7 +1695,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> {
return new Promise((resolve: any, reject: any) => {
if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_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;
}
const arg: any = opt[0];
......
......@@ -1344,7 +1344,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
*/
public async load(opt: any = {}): Promise<any> {
if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_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;
}
const arg: any = { ...opt };
......@@ -1391,7 +1391,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
*/
public async loadDraft(opt: any = {}): Promise<any> {
if (!this.loaddraftAction) {
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_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;
}
const arg: any = { ...opt } ;
......@@ -1461,7 +1461,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_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;
}
Object.assign(arg,{viewparams:this.viewparams});
......@@ -1569,7 +1569,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_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;
}
Object.assign(arg, { viewparams: this.viewparams });
......@@ -1661,7 +1661,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> {
return new Promise((resolve: any, reject: any) => {
if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_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;
}
const arg: any = opt[0];
......
......@@ -1447,7 +1447,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
*/
public async load(opt: any = {}): Promise<any> {
if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_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;
}
const arg: any = { ...opt };
......@@ -1494,7 +1494,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
*/
public async loadDraft(opt: any = {}): Promise<any> {
if (!this.loaddraftAction) {
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_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;
}
const arg: any = { ...opt } ;
......@@ -1564,7 +1564,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_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;
}
Object.assign(arg,{viewparams:this.viewparams});
......@@ -1672,7 +1672,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_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;
}
Object.assign(arg, { viewparams: this.viewparams });
......@@ -1764,7 +1764,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> {
return new Promise((resolve: any, reject: any) => {
if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_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;
}
const arg: any = opt[0];
......
<template>
<i-form :model="this.data" class='app-search-form' ref='searchform' style="">
<i-form :model="this.data" class='app-search-form' ref='quicksearchform' style="">
<input style="display:none;"/>
<row>
<i-col span="20" class="form-content">
......@@ -516,7 +516,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
* @memberof QUICKSEARCHFORMBase
*/
public formValidateStatus(): boolean {
const form: any = this.$refs.searchform;
const form: any = this.$refs.quicksearchform;
let validatestate: boolean = true;
form.validate((valid: boolean) => {
validatestate = valid ? true : false;
......@@ -670,7 +670,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: 'IBIZBOOKUsrListView_plugin' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKListView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -706,7 +706,7 @@ export default class QUICKSEARCHFORMBase 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: 'IBIZBOOKUsrListView_plugin' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKListView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return;
}
const arg: any = { ...opt } ;
......
// 基于 @CONTROL/选择视图面板/MODEL.ts.ftl 生成
/**
* UsrPickupView_pluginpickupviewpanel 部件模型
*
* @export
* @class UsrPickupView_pluginpickupviewpanelModel
*/
export default class UsrPickupView_pluginpickupviewpanelModel {
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof UsrPickupView_pluginpickupviewpanelModel
*/
public getDataItems(): any[] {
return [
{
name: 'createman',
},
{
name: 'ibizbookname',
},
{
name: 'ibizbook',
prop: 'ibizbookid',
},
{
name: 'createdate',
},
{
name: 'updateman',
},
{
name: 'updatedate',
},
{
name: 'author',
},
{
name: 'price',
},
{
name: 'press',
},
{
name: 'type',
},
{
name: 'booknumber',
},
{
name: 'subtext',
},
{
name: 'lendouttime',
},
{
name: 'returntime',
},
{
name: 'icon',
},
{
name: 'sailstate',
},
{
name: 'borrowstatus',
},
{
name: 'stepstatus',
},
{
name: 'borrower',
},
{
name: 'borrowway',
},
{
name: 'returnlib',
},
{
name: 'borrowerid',
},
{
name: 'borrower1',
},
{
name: 'borrower1_id',
},
{
name: 'borrower2',
},
{
name: 'borrower2_id',
},
{
name: 'borrower3',
},
{
name: 'borrower3_id',
},
{
name: 'tag',
},
{
name: 'orgid',
},
{
name: 'deptid',
},
]
}
}
\ No newline at end of file
// 基于 @CONTROL/选择视图面板/SERVICE.ts.ftl 生成
import { Http } from '@/utils';
import ControlService from '@/widgets/control-service';
/**
* UsrPickupView_pluginpickupviewpanel 部件服务对象
*
* @export
* @class UsrPickupView_pluginpickupviewpanelService
*/
export default class UsrPickupView_pluginpickupviewpanelService extends ControlService {
}
\ No newline at end of file
// 基于 @CONTROL/选择视图面板/CONTROL.less.ftl 生成
// this is less
.pickupviewpanel{
width: 100%;
}
\ No newline at end of file
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import UsrPickupView_pluginpickupviewpanelBase from './usr-pickup-view-pluginpickupviewpanel-pickupviewpanel-base.vue';
// 基于 @CONTROL/选择视图面板/CONTROL.vue.ftl 生成
@Component({
components: {
}
})
export default class UsrPickupView_pluginpickupviewpanel extends UsrPickupView_pluginpickupviewpanelBase {
}
</script>
\ No newline at end of file
......@@ -65,7 +65,7 @@
valueitem=''
:value="data.formitem1"
editortype=""
:pickupView="{ viewname: 'ibizcustomer-usr2-pickup-view', title: $t('entities.ibizcustomer.views.usr2pickupview.title'), deResParameters: [], parameters: [{ pathName: 'ibizcustomers', parameterName: 'ibizcustomer' }, { pathName: 'usr2pickupview', parameterName: 'usr2pickupview' } ], placement:'' }"
:pickupView="{ viewname: 'ibizbookusr-pickup-view-plugin', title: $t('entities.ibizbook.views.usrpickupview_plugin.title'), deResParameters: [], parameters: [{ pathName: 'ibizbooks', parameterName: 'ibizbook' }, { pathName: 'usrpickupview_plugin', parameterName: 'usrpickupview_plugin' } ], placement:'' }"
style=""
@formitemvaluechange="onFormItemValueChange">
</app-picker>
......
......@@ -698,7 +698,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
*/
public async load(opt: any = {}, isReset: boolean = false): Promise<any> {
if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKTestCLDataView' + (this.$t('app.list.notConfig.fetchAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4DataView' + (this.$t('app.list.notConfig.fetchAction') as string) });
return;
}
const arg: any = {...opt};
......@@ -792,7 +792,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
*/
public async remove(datas: any[]): Promise<any> {
if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKTestCLDataView' + (this.$t('app.gridpage.notConfig.removeAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4DataView' + (this.$t('app.gridpage.notConfig.removeAction') as string) });
return;
}
let _datas:any[] = [];
......@@ -908,7 +908,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
try {
if(Object.is(item.rowDataState, 'create')){
if(!this.createAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKTestCLDataView' + (this.$t('app.list.notConfig.createAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4DataView' + (this.$t('app.list.notConfig.createAction') as string) });
}else{
Object.assign(item,{viewparams:this.viewparams});
let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator);
......@@ -916,7 +916,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
}
}else if(Object.is(item.rowDataState, 'update')){
if(!this.updateAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKTestCLDataView' + (this.$t('app.list.notConfig.updateAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4DataView' + (this.$t('app.list.notConfig.updateAction') as string) });
}else{
Object.assign(item,{viewparams:this.viewparams});
if(item.ibizbook){
......
......@@ -964,7 +964,7 @@ export default class MainBase extends Vue implements ControlInterface {
if (!this.fetchAction) {
this.$Notice.error({
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;
}
......@@ -1093,7 +1093,7 @@ export default class MainBase extends Vue implements ControlInterface {
if (!this.removeAction) {
this.$Notice.error({
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;
}
......@@ -1207,7 +1207,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: '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;
}
if(!arg){
......@@ -2101,7 +2101,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: '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 {
Object.assign(item, { viewparams: this.viewparams });
const tempContext = Util.deepCopy(this.context);
......@@ -2110,7 +2110,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: '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 {
Object.assign(item, { viewparams: this.viewparams });
const tempContext = Util.deepCopy(this.context);
......@@ -2186,7 +2186,7 @@ export default class MainBase extends Vue implements ControlInterface {
if(!this.loaddraftAction){
this.$Notice.error({
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;
}
......
......@@ -97,7 +97,6 @@ export default class MainModel {
name: 'ibizorderdetail',
prop: 'ibizorderdetailid',
},
{
name:'size',
prop:'size',
......
......@@ -340,13 +340,13 @@
"handlerType" : "PickupText",
"getLinkPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZCustomerUsr2PickupView.json",
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsrPickupView_plugin.json",
"viewType" : "DEPICKUPVIEW"
},
"name" : "formitem1",
"getPickupPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZCustomerUsr2PickupView.json",
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsrPickupView_plugin.json",
"viewType" : "DEPICKUPVIEW"
},
"enableAC" : true,
......
......@@ -562,13 +562,13 @@
"handlerType" : "PickupText",
"getLinkPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZCustomerUsr2PickupView.json",
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsrPickupView_plugin.json",
"viewType" : "DEPICKUPVIEW"
},
"name" : "formitem1",
"getPickupPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZCustomerUsr2PickupView.json",
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsrPickupView_plugin.json",
"viewType" : "DEPICKUPVIEW"
},
"enableAC" : true,
......
......@@ -374,7 +374,6 @@
"useDefaultLayout" : true
},
"rTMOSFilePath" : "pssysapps/Web/psappdeviews/IBIZBOOKUsrPickupView_plugin",
"refFlag" : false,
"title" : "选择视图插件(vue3)",
"viewStyle" : "pickerViewCustom",
"viewType" : "DEPICKUPVIEW",
......
......@@ -5499,7 +5499,7 @@
"refMode" : "APPVIEW",
"refTag" : "DETREEVIEW",
"templCode" : "<AppViewLayout :class=\"classNames\">\r\n <template v-if=\"!noViewCaption && model.showCaption\" #viewHeaderLeft>\r\n <div class=\"view-header__left__caption\">\r\n <AppCaptionBar :caption=\"model.caption\" :title=\"model.title\" :capPSLanguageRes=\"model.capPSLanguageRes\" :titlePSLanguageRes=\"model.titlePSLanguageRes\"></AppCaptionBar>\r\n </div>\r\n </template>\r\n <template #viewHeaderRight>\r\n </template>\r\n <template #viewContentTop>\r\n </template>\r\n <template #default>\r\n <TreeViewTree\r\n :openView=\"store.openView\"\r\n :newView=\"store.newView\"\r\n \r\n name=\"tree\"\r\n :context=\"store.context\"\r\n :viewParams=\"store.viewParams\"\r\n :closeView=\"store.closeView\"\r\n :pLoadingHelper=\"store.loadingHelper\"\r\n :pViewCtx=\"store.viewCtx\"\r\n @ctrl-init=\"(name:string, ability:any) => { handleCtrlInit(controller, name, ability) }\"\r\n @ctrl-action=\"(name:string, action:any, data:any) => { handleCtrlAction(controller, name, action, data) }\"\r\n @ctrl-destroy=\"(name:string, data:any) => { handleCtrlDestroy(controller, name, data) }\"/>\r\n </template> \r\n </AppViewLayout>",
"templCode2" : "import TreeViewRightAlign from \"@plugins/view/tree-view-right-align/tree-view-right-align.vue\";\r\nimport { AppViewLayout } from \"@components/layout/view-layout\";\r\nimport TreeViewTree from '@widgets/ibizbook/tree-view-tree/tree-view-tree.vue';\r\nimport { \r\n useNavParamsBind, \r\n useEventBind, \r\n handleCtrlAction, \r\n handleCtrlInit, \r\n handleCtrlDestroy, \r\n getViewClassNames,\r\n} from \"@/hooks/use-view\";\r\nimport { TreeViewActionType, IContext, IParam, ITreeViewAbility, ITreeViewControllerParams, ITreeViewStore, TreeViewController, ITreeViewController, ILoadingHelper, IEvent } from '@/core';\r\n\r\ninterface Props {\r\n name?: string,\r\n noViewCaption?: boolean,\r\n openType?: 'ROUTE' | 'EMBED' | 'MODAL',\r\n context?: IContext,\r\n viewParams?: IParam,\r\n pLoadingHelper?: ILoadingHelper,\r\n isLoadDefault?: boolean,\r\n controller: ITreeViewController<ITreeViewStore, ITreeViewAbility>\r\n}\r\n\r\nconst props = withDefaults(defineProps<Props>(), {\r\n noViewCaption: false,\r\n openType: 'ROUTE',\r\n isLoadDefault: true,\r\n});",
"templCode2" : "import TreeViewRightAlign from \"@plugins/view/tree-view-right-align/tree-view-right-align.vue\";\r\nimport { AppViewLayout } from \"@components/layout/view-layout\";\r\nimport TreeViewTree from '@widgets/ibizbook/tree-view-tree/tree-view-tree.vue';\r\nimport { \r\n useNavParamsBind, \r\n useEventBind, \r\n handleCtrlAction, \r\n handleCtrlInit, \r\n handleCtrlDestroy, \r\n getViewClassNames,\r\n} from \"@/hooks/use-view\";\r\nimport { TreeViewActionType, IContext, IParam, ITreeViewAbility, ITreeViewControllerParams, ITreeViewStore, TreeViewController, ITreeViewController, ILoadingHelper, IEvent } from '@/core';\r\n\r\ninterface Props {\r\n name?: string,\r\n noViewCaption?: boolean,\r\n openType?: 'ROUTE' | 'EMBED' | 'MODAL',\r\n context?: IContext,\r\n viewParams?: IParam,\r\n pLoadingHelper?: ILoadingHelper,\r\n isLoadDefault?: boolean,\r\n controller: ITreeViewController<ITreeViewStore, ITreeViewAbility>\r\n}\r\n\r\nconst props = withDefaults(defineProps<Props>(), {\r\n noViewCaption: false,\r\n openType: 'ROUTE',\r\n isLoadDefault: true,\r\n});\r\nconst model: IParam = props.controller.getModel();\r\nconst store: ITreeViewStore = props.controller.getStore();\r\nconst classNames = computed(() => {\r\n const classNames = getViewClassNames(model, props);\r\n Object.assign(classNames, {\"tree-view-right-align\": true});\r\n return classNames;\r\n});",
"templCode3" : ".tree-view-right-align {\r\n .ant-tree-treenode {\r\n justify-content: flex-end;\r\n .ant-tree-node-content-wrapper {\r\n flex: none !important;\r\n }\r\n }\r\n}"
}, {
"name" : "模拟获取动态轮播图数据",
......@@ -158,7 +158,7 @@
"refMode" : "APPVIEW",
"refTag" : "DETREEVIEW",
"templCode" : "<AppViewLayout :class=\"classNames\">\r\n <template v-if=\"!noViewCaption && model.showCaption\" #viewHeaderLeft>\r\n <div class=\"view-header__left__caption\">\r\n <AppCaptionBar :caption=\"model.caption\" :title=\"model.title\" :capPSLanguageRes=\"model.capPSLanguageRes\" :titlePSLanguageRes=\"model.titlePSLanguageRes\"></AppCaptionBar>\r\n </div>\r\n </template>\r\n <template #viewHeaderRight>\r\n </template>\r\n <template #viewContentTop>\r\n </template>\r\n <template #default>\r\n <TreeViewTree\r\n :openView=\"store.openView\"\r\n :newView=\"store.newView\"\r\n \r\n name=\"tree\"\r\n :context=\"store.context\"\r\n :viewParams=\"store.viewParams\"\r\n :closeView=\"store.closeView\"\r\n :pLoadingHelper=\"store.loadingHelper\"\r\n :pViewCtx=\"store.viewCtx\"\r\n @ctrl-init=\"(name:string, ability:any) => { handleCtrlInit(controller, name, ability) }\"\r\n @ctrl-action=\"(name:string, action:any, data:any) => { handleCtrlAction(controller, name, action, data) }\"\r\n @ctrl-destroy=\"(name:string, data:any) => { handleCtrlDestroy(controller, name, data) }\"/>\r\n </template> \r\n </AppViewLayout>",
"templCode2" : "import TreeViewRightAlign from \"@plugins/view/tree-view-right-align/tree-view-right-align.vue\";\r\nimport { AppViewLayout } from \"@components/layout/view-layout\";\r\nimport TreeViewTree from '@widgets/ibizbook/tree-view-tree/tree-view-tree.vue';\r\nimport { \r\n useNavParamsBind, \r\n useEventBind, \r\n handleCtrlAction, \r\n handleCtrlInit, \r\n handleCtrlDestroy, \r\n getViewClassNames,\r\n} from \"@/hooks/use-view\";\r\nimport { TreeViewActionType, IContext, IParam, ITreeViewAbility, ITreeViewControllerParams, ITreeViewStore, TreeViewController, ITreeViewController, ILoadingHelper, IEvent } from '@/core';\r\n\r\ninterface Props {\r\n name?: string,\r\n noViewCaption?: boolean,\r\n openType?: 'ROUTE' | 'EMBED' | 'MODAL',\r\n context?: IContext,\r\n viewParams?: IParam,\r\n pLoadingHelper?: ILoadingHelper,\r\n isLoadDefault?: boolean,\r\n controller: ITreeViewController<ITreeViewStore, ITreeViewAbility>\r\n}\r\n\r\nconst props = withDefaults(defineProps<Props>(), {\r\n noViewCaption: false,\r\n openType: 'ROUTE',\r\n isLoadDefault: true,\r\n});",
"templCode2" : "import TreeViewRightAlign from \"@plugins/view/tree-view-right-align/tree-view-right-align.vue\";\r\nimport { AppViewLayout } from \"@components/layout/view-layout\";\r\nimport TreeViewTree from '@widgets/ibizbook/tree-view-tree/tree-view-tree.vue';\r\nimport { \r\n useNavParamsBind, \r\n useEventBind, \r\n handleCtrlAction, \r\n handleCtrlInit, \r\n handleCtrlDestroy, \r\n getViewClassNames,\r\n} from \"@/hooks/use-view\";\r\nimport { TreeViewActionType, IContext, IParam, ITreeViewAbility, ITreeViewControllerParams, ITreeViewStore, TreeViewController, ITreeViewController, ILoadingHelper, IEvent } from '@/core';\r\n\r\ninterface Props {\r\n name?: string,\r\n noViewCaption?: boolean,\r\n openType?: 'ROUTE' | 'EMBED' | 'MODAL',\r\n context?: IContext,\r\n viewParams?: IParam,\r\n pLoadingHelper?: ILoadingHelper,\r\n isLoadDefault?: boolean,\r\n controller: ITreeViewController<ITreeViewStore, ITreeViewAbility>\r\n}\r\n\r\nconst props = withDefaults(defineProps<Props>(), {\r\n noViewCaption: false,\r\n openType: 'ROUTE',\r\n isLoadDefault: true,\r\n});\r\nconst model: IParam = props.controller.getModel();\r\nconst store: ITreeViewStore = props.controller.getStore();\r\nconst classNames = computed(() => {\r\n const classNames = getViewClassNames(model, props);\r\n Object.assign(classNames, {\"tree-view-right-align\": true});\r\n return classNames;\r\n});",
"templCode3" : ".tree-view-right-align {\r\n .ant-tree-treenode {\r\n justify-content: flex-end;\r\n .ant-tree-node-content-wrapper {\r\n flex: none !important;\r\n }\r\n }\r\n}"
}, {
"name" : "模拟获取动态轮播图数据",
......
......@@ -172,7 +172,7 @@
<!--输出实体[IBIZBOOK]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizbook-1116-7">
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizbook-1120-7">
<createTable tableName="T_IBIZBOOK">
<column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册