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

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

上级 055464c0
......@@ -461,10 +461,7 @@ function getAppLocale(){
menuitem254: commonLogic.appcommonhandle("部件项插件",null),
menuitem255: commonLogic.appcommonhandle("表格列",null),
menuitem256: commonLogic.appcommonhandle("表单项",null),
menuitem257: commonLogic.appcommonhandle("编辑器插件",null),
menuitem259: commonLogic.appcommonhandle("界面行为插件",null),
menuitem258: commonLogic.appcommonhandle("应用实体方法插件",null),
menuitem260: commonLogic.appcommonhandle("界面逻辑插件",null),
menuitem259: commonLogic.appcommonhandle("其他插件",null),
},
},
formpage:{
......
......@@ -461,10 +461,7 @@ function getAppLocale(){
menuitem254: commonLogic.appcommonhandle("部件项插件",null),
menuitem255: commonLogic.appcommonhandle("表格列",null),
menuitem256: commonLogic.appcommonhandle("表单项",null),
menuitem257: commonLogic.appcommonhandle("编辑器插件",null),
menuitem259: commonLogic.appcommonhandle("界面行为插件",null),
menuitem258: commonLogic.appcommonhandle("应用实体方法插件",null),
menuitem260: commonLogic.appcommonhandle("界面逻辑插件",null),
menuitem259: commonLogic.appcommonhandle("其他插件",null),
},
},
formpage:{
......
......@@ -461,10 +461,7 @@ function getAppLocale(){
menuitem254: commonLogic.appcommonhandle("部件项插件",null),
menuitem255: commonLogic.appcommonhandle("表格列",null),
menuitem256: commonLogic.appcommonhandle("表单项",null),
menuitem257: commonLogic.appcommonhandle("编辑器插件",null),
menuitem259: commonLogic.appcommonhandle("界面行为插件",null),
menuitem258: commonLogic.appcommonhandle("应用实体方法插件",null),
menuitem260: commonLogic.appcommonhandle("界面逻辑插件",null),
menuitem259: commonLogic.appcommonhandle("其他插件",null),
},
},
formpage:{
......
......@@ -659,7 +659,7 @@ function getLocaleResourceBase(){
ibizbookid: commonLogic.appcommonhandle("图书标识",null),
},
uiactions: {
alertmessage: commonLogic.appcommonhandle("弹出消息",null),
ibizbook_alertmessage: commonLogic.appcommonhandle("弹出消息",null),
},
},
internalfunc_grid: {
......@@ -2437,6 +2437,8 @@ function getLocaleResourceBase(){
tip: commonLogic.appcommonhandle("数据导入",null),
},
},
usreditview_actionplugintoolbar_toolbar: {
},
usr4listviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("新建",null),
......@@ -2737,8 +2739,6 @@ function getLocaleResourceBase(){
},
usr5dataviewtoolbar_toolbar: {
},
usreditview_actionplugintoolbar_toolbar: {
},
treemajorstate_treeview: {
nodata:commonLogic.appcommonhandle("",null),
nodes: {
......
......@@ -659,7 +659,7 @@ function getLocaleResourceBase(){
ibizbookid: commonLogic.appcommonhandle("图书标识",null),
},
uiactions: {
alertmessage: commonLogic.appcommonhandle("弹出消息",null),
ibizbook_alertmessage: commonLogic.appcommonhandle("弹出消息",null),
},
},
internalfunc_grid: {
......@@ -2437,6 +2437,8 @@ function getLocaleResourceBase(){
tip: commonLogic.appcommonhandle("数据导入",null),
},
},
usreditview_actionplugintoolbar_toolbar: {
},
usr4listviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("New",null),
......@@ -2737,8 +2739,6 @@ function getLocaleResourceBase(){
},
usr5dataviewtoolbar_toolbar: {
},
usreditview_actionplugintoolbar_toolbar: {
},
treemajorstate_treeview: {
nodata:commonLogic.appcommonhandle("",null),
nodes: {
......
......@@ -659,7 +659,7 @@ function getLocaleResourceBase(){
ibizbookid: commonLogic.appcommonhandle("图书标识",null),
},
uiactions: {
alertmessage: commonLogic.appcommonhandle("弹出消息",null),
ibizbook_alertmessage: commonLogic.appcommonhandle("弹出消息",null),
},
},
internalfunc_grid: {
......@@ -2437,6 +2437,8 @@ function getLocaleResourceBase(){
tip: commonLogic.appcommonhandle("数据导入",null),
},
},
usreditview_actionplugintoolbar_toolbar: {
},
usr4listviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("新建",null),
......@@ -2737,8 +2739,6 @@ function getLocaleResourceBase(){
},
usr5dataviewtoolbar_toolbar: {
},
usreditview_actionplugintoolbar_toolbar: {
},
treemajorstate_treeview: {
nodata:commonLogic.appcommonhandle("",null),
nodes: {
......
// 基于 @VIEW/实体编辑视图/VIEW.less.ftl 生成
.view-card {
>.ivu-card-extra {
top: 5px;
right: 0px;
}
}
.ibizbookusr-edit-view-action-plugin{
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 IBIZBOOKUsrEditView_actionPluginBase from './ibizbookusr-edit-view-action-plugin-base.vue';
import view_form from '@widgets/ibizbook/usr1206025757-form/usr1206025757-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 IBIZBOOKUsrEditView_actionPlugin extends IBIZBOOKUsrEditView_actionPluginBase {
}
</script>
\ No newline at end of file
......@@ -152,6 +152,7 @@ export const PageComponents = {
Vue.component('ibizorder-proivate-plugin-grid-view', () => import('@pages/sample/ibizorder-proivate-plugin-grid-view/ibizorder-proivate-plugin-grid-view.vue'));
Vue.component('ibizbookusr-edit-view-plugin', () => import('@pages/sample/ibizbookusr-edit-view-plugin/ibizbookusr-edit-view-plugin.vue'));
Vue.component('ibizbookusr-grid-view-ctrl-plugin', () => import('@pages/sample/ibizbookusr-grid-view-ctrl-plugin/ibizbookusr-grid-view-ctrl-plugin.vue'));
Vue.component('ibizbookusr-edit-view-action-plugin', () => import('@pages/sample/ibizbookusr-edit-view-action-plugin/ibizbookusr-edit-view-action-plugin.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('ibizappctrlgrid-view', () => import('@pages/sample/ibizappctrlgrid-view/ibizappctrlgrid-view.vue'));
......
......@@ -2293,6 +2293,20 @@ const router = new Router({
},
component: () => import('@pages/sample/ibizbookusr-grid-view-ctrl-plugin/ibizbookusr-grid-view-ctrl-plugin.vue'),
},
{
path: 'ibizbooks/:ibizbook?/usreditview_actionplugin/:usreditview_actionplugin?',
meta: {
caption: 'entities.ibizbook.views.usreditview_actionplugin.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'usreditview_actionplugin', parameterName: 'usreditview_actionplugin' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbookusr-edit-view-action-plugin/ibizbookusr-edit-view-action-plugin.vue'),
},
{
path: 'ibizappviews/:ibizappview?/gridview/:gridview?',
meta: {
......@@ -6964,6 +6978,19 @@ const router = new Router({
},
component: () => import('@pages/sample/ibizbookusr8-grid-view/ibizbookusr8-grid-view.vue'),
},
{
path: '/ibizbooks/:ibizbook?/usreditview_actionplugin/:usreditview_actionplugin?',
meta: {
caption: 'entities.ibizbook.views.usreditview_actionplugin.caption',
info:'',
parameters: [
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'usreditview_actionplugin', parameterName: 'usreditview_actionplugin' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbookusr-edit-view-action-plugin/ibizbookusr-edit-view-action-plugin.vue'),
},
{
path: '/ibizbooks/:ibizbook?/customview_layout/:customview_layout?',
meta: {
......
......@@ -3382,6 +3382,19 @@ const router = new Router({
},
component: () => import('@pages/sample/ibizbookusr8-grid-view/ibizbookusr8-grid-view.vue'),
},
{
path: '/ibizbooks/:ibizbook?/usreditview_actionplugin/:usreditview_actionplugin?',
meta: {
caption: 'entities.ibizbook.views.usreditview_actionplugin.caption',
info:'',
parameters: [
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'usreditview_actionplugin', parameterName: 'usreditview_actionplugin' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbookusr-edit-view-action-plugin/ibizbookusr-edit-view-action-plugin.vue'),
},
{
path: '/ibizbooks/:ibizbook?/customview_layout/:customview_layout?',
meta: {
......
......@@ -1042,6 +1042,7 @@ export const viewstate: any = {
'8A41D051-1CDD-4050-9B28-822A20EA0D40',
'427E25F6-DBD4-451B-B20E-87929E061C95',
'CBB075E1-BDC9-4F6A-BCF4-09EC4D7370EE',
'F7892096-9D26-49A7-A1E6-9D49CE5D60EA',
],
},
{
......@@ -2603,6 +2604,15 @@ export const viewstate: any = {
'58e37ccddda10feedac7c809d5cee02a',
],
},
{
viewtag: 'F7892096-9D26-49A7-A1E6-9D49CE5D60EA',
viewmodule: 'Sample',
viewname: 'IBIZBOOKUsrEditView_actionPlugin',
viewaction: '',
viewdatachange: false,
refviews: [
],
},
{
viewtag: 'fa2731c1873f3c86aa065e73cff4667b',
viewmodule: 'Sample',
......
......@@ -1112,6 +1112,9 @@ export default class MainMenuBase extends Vue implements ControlInterface {
case 'UsrAppFunc1206983666':
this.clickUsrAppFunc1206983666(item);
return;
case 'UsrAppFunc1206570767':
this.clickUsrAppFunc1206570767(item);
return;
default:
console.warn('未指定应用功能');
}
......@@ -4658,6 +4661,29 @@ export default class MainMenuBase extends Vue implements ControlInterface {
this.$router.push(path);
})
}
/**
* 其他插件(vue3)
*
* @param {*} [item={}]
* @memberof MainMenu
*/
public clickUsrAppFunc1206570767(item: any = {}) {
const viewparam: any = {};
Object.assign(viewparam, {});
const deResParameters: any[] = [];
const parameters: any[] = [
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'usreditview_actionplugin', parameterName: 'usreditview_actionplugin' },
];
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);
})
}
/**
* 数据加载
......
......@@ -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: 'IBIZBOOKUsr2GridView' + (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: 'IBIZBOOKUsr2GridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return;
}
const arg: any = { ...opt } ;
......
......@@ -1378,7 +1378,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
*/
public async load(opt: any = {}): Promise<any> {
if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_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];
......
......@@ -172,7 +172,7 @@
<!--输出实体[IBIZBOOK]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizbook-975-7">
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizbook-989-7">
<createTable tableName="T_IBIZBOOK">
<column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册