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

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

上级 e34d2763
...@@ -12,4 +12,4 @@ ...@@ -12,4 +12,4 @@
**.iml **.iml
*.jar *.jar
*.log *.log
.DS_Store .DS_Store
\ No newline at end of file
...@@ -2463,6 +2463,14 @@ ...@@ -2463,6 +2463,14 @@
"viewname": "AppPortalView", "viewname": "AppPortalView",
"viewtag": "96bc1e4d0d5d6b66d639f401966b375b" "viewtag": "96bc1e4d0d5d6b66d639f401966b375b"
}, },
"apppanelview2": {
"title": "工作流待办",
"caption": "工作流待办",
"viewtype": "APPPANELVIEW",
"viewmodule": "Ungroup",
"viewname": "AppPanelView2",
"viewtag": "C1022CE5-B44E-467C-86F0-6EDD0940B339"
},
"apploginview": { "apploginview": {
"title": "应用登录视图", "title": "应用登录视图",
"caption": "应用登录视图", "caption": "应用登录视图",
......
...@@ -179,6 +179,10 @@ function getAppLocale(){ ...@@ -179,6 +179,10 @@ function getAppLocale(){
caption: commonLogic.appcommonhandle("工作台",null), caption: commonLogic.appcommonhandle("工作台",null),
title: commonLogic.appcommonhandle("工作台",null), title: commonLogic.appcommonhandle("工作台",null),
}, },
apppanelview2: {
caption: commonLogic.appcommonhandle("工作流待办",null),
title: commonLogic.appcommonhandle("工作流待办",null),
},
apploginview: { apploginview: {
caption: commonLogic.appcommonhandle("应用登录视图",null), caption: commonLogic.appcommonhandle("应用登录视图",null),
title: commonLogic.appcommonhandle("应用登录视图",null), title: commonLogic.appcommonhandle("应用登录视图",null),
...@@ -345,6 +349,7 @@ function getAppLocale(){ ...@@ -345,6 +349,7 @@ function getAppLocale(){
menuitem30: commonLogic.appcommonhandle("工作流动态导航视图",null), menuitem30: commonLogic.appcommonhandle("工作流动态导航视图",null),
menuitem31: commonLogic.appcommonhandle("工作流启动",null), menuitem31: commonLogic.appcommonhandle("工作流启动",null),
menuitem21: commonLogic.appcommonhandle("工作流动态操作视图",null), menuitem21: commonLogic.appcommonhandle("工作流动态操作视图",null),
menuitem214: commonLogic.appcommonhandle("统一待办",null),
menuitem11: commonLogic.appcommonhandle("其他视图",null), menuitem11: commonLogic.appcommonhandle("其他视图",null),
menuitem98: commonLogic.appcommonhandle("自定义视图",null), menuitem98: commonLogic.appcommonhandle("自定义视图",null),
menuitem212: commonLogic.appcommonhandle("自定义实现表格视图",null), menuitem212: commonLogic.appcommonhandle("自定义实现表格视图",null),
......
...@@ -179,6 +179,10 @@ function getAppLocale(){ ...@@ -179,6 +179,10 @@ function getAppLocale(){
caption: commonLogic.appcommonhandle("Work bench",null), caption: commonLogic.appcommonhandle("Work bench",null),
title: commonLogic.appcommonhandle("工作台",null), title: commonLogic.appcommonhandle("工作台",null),
}, },
apppanelview2: {
caption: commonLogic.appcommonhandle("工作流待办",null),
title: commonLogic.appcommonhandle("工作流待办",null),
},
apploginview: { apploginview: {
caption: commonLogic.appcommonhandle("应用登录视图",null), caption: commonLogic.appcommonhandle("应用登录视图",null),
title: commonLogic.appcommonhandle("应用登录视图",null), title: commonLogic.appcommonhandle("应用登录视图",null),
...@@ -345,6 +349,7 @@ function getAppLocale(){ ...@@ -345,6 +349,7 @@ function getAppLocale(){
menuitem30: commonLogic.appcommonhandle("Workflow Dynamic Navigation View",null), menuitem30: commonLogic.appcommonhandle("Workflow Dynamic Navigation View",null),
menuitem31: commonLogic.appcommonhandle("Workflow Start",null), menuitem31: commonLogic.appcommonhandle("Workflow Start",null),
menuitem21: commonLogic.appcommonhandle("工作流动态操作视图",null), menuitem21: commonLogic.appcommonhandle("工作流动态操作视图",null),
menuitem214: commonLogic.appcommonhandle("统一待办",null),
menuitem11: commonLogic.appcommonhandle("Other Views",null), menuitem11: commonLogic.appcommonhandle("Other Views",null),
menuitem98: commonLogic.appcommonhandle("Custom View",null), menuitem98: commonLogic.appcommonhandle("Custom View",null),
menuitem212: commonLogic.appcommonhandle("自定义实现表格视图",null), menuitem212: commonLogic.appcommonhandle("自定义实现表格视图",null),
......
...@@ -179,6 +179,10 @@ function getAppLocale(){ ...@@ -179,6 +179,10 @@ function getAppLocale(){
caption: commonLogic.appcommonhandle("工作台",null), caption: commonLogic.appcommonhandle("工作台",null),
title: commonLogic.appcommonhandle("工作台",null), title: commonLogic.appcommonhandle("工作台",null),
}, },
apppanelview2: {
caption: commonLogic.appcommonhandle("工作流待办",null),
title: commonLogic.appcommonhandle("工作流待办",null),
},
apploginview: { apploginview: {
caption: commonLogic.appcommonhandle("应用登录视图",null), caption: commonLogic.appcommonhandle("应用登录视图",null),
title: commonLogic.appcommonhandle("应用登录视图",null), title: commonLogic.appcommonhandle("应用登录视图",null),
...@@ -345,6 +349,7 @@ function getAppLocale(){ ...@@ -345,6 +349,7 @@ function getAppLocale(){
menuitem30: commonLogic.appcommonhandle("工作流动态导航视图",null), menuitem30: commonLogic.appcommonhandle("工作流动态导航视图",null),
menuitem31: commonLogic.appcommonhandle("工作流启动",null), menuitem31: commonLogic.appcommonhandle("工作流启动",null),
menuitem21: commonLogic.appcommonhandle("工作流动态操作视图",null), menuitem21: commonLogic.appcommonhandle("工作流动态操作视图",null),
menuitem214: commonLogic.appcommonhandle("统一待办",null),
menuitem11: commonLogic.appcommonhandle("其他视图",null), menuitem11: commonLogic.appcommonhandle("其他视图",null),
menuitem98: commonLogic.appcommonhandle("自定义视图",null), menuitem98: commonLogic.appcommonhandle("自定义视图",null),
menuitem212: commonLogic.appcommonhandle("自定义实现表格视图",null), menuitem212: commonLogic.appcommonhandle("自定义实现表格视图",null),
......
...@@ -2447,6 +2447,24 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => { ...@@ -2447,6 +2447,24 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
textcls: '', textcls: '',
appfunctag: 'AppFunc94', appfunctag: 'AppFunc94',
resourcetag: '', resourcetag: '',
},
{
id: 'BEBA14E9-03D6-4F09-9FED-50790A0B2EB4',
name: 'menuitem214',
text: '统一待办',
type: 'MENUITEM',
counterid: '',
tooltip: '统一待办',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'AppFunc130',
resourcetag: '',
}, },
], ],
}, },
......
...@@ -2471,6 +2471,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => { ...@@ -2471,6 +2471,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "AppPortalView", "viewname": "AppPortalView",
"viewtag": "96bc1e4d0d5d6b66d639f401966b375b" "viewtag": "96bc1e4d0d5d6b66d639f401966b375b"
}, },
"apppanelview2": {
"title": "工作流待办",
"caption": "工作流待办",
"viewtype": "APPPANELVIEW",
"viewmodule": "Ungroup",
"viewname": "AppPanelView2",
"viewtag": "C1022CE5-B44E-467C-86F0-6EDD0940B339"
},
"apploginview": { "apploginview": {
"title": "应用登录视图", "title": "应用登录视图",
"caption": "应用登录视图", "caption": "应用登录视图",
......
...@@ -227,6 +227,7 @@ export const PageComponents = { ...@@ -227,6 +227,7 @@ export const PageComponents = {
Vue.component('ibizsample0018-grid-view', () => import('@pages/sample/ibizsample0018-grid-view/ibizsample0018-grid-view.vue')); Vue.component('ibizsample0018-grid-view', () => import('@pages/sample/ibizsample0018-grid-view/ibizsample0018-grid-view.vue'));
Vue.component('ibizsample0014-grid-view', () => import('@pages/sample/ibizsample0014-grid-view/ibizsample0014-grid-view.vue')); Vue.component('ibizsample0014-grid-view', () => import('@pages/sample/ibizsample0014-grid-view/ibizsample0014-grid-view.vue'));
Vue.component('app-panel-view', () => import('@pages/ungroup/app-panel-view/app-panel-view.vue')); Vue.component('app-panel-view', () => import('@pages/ungroup/app-panel-view/app-panel-view.vue'));
Vue.component('app-panel-view2', () => import('@pages/ungroup/app-panel-view2/app-panel-view2.vue'));
Vue.component('app-login-view', () => import('@pages/ungroup/app-login-view/app-login-view.vue')); Vue.component('app-login-view', () => import('@pages/ungroup/app-login-view/app-login-view.vue'));
} }
}; };
\ No newline at end of file
...@@ -1426,6 +1426,19 @@ const router = new Router({ ...@@ -1426,6 +1426,19 @@ const router = new Router({
}, },
component: () => import('@pages/sample/ibizsample0021-wfdyna-action-view/ibizsample0021-wfdyna-action-view.vue'), component: () => import('@pages/sample/ibizsample0021-wfdyna-action-view/ibizsample0021-wfdyna-action-view.vue'),
}, },
{
path: 'apppanelview2/:apppanelview2?',
meta: {
caption: 'app.views.apppanelview2.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'apppanelview2', parameterName: 'apppanelview2' },
],
requireAuth: true,
},
component: () => import('@pages/ungroup/app-panel-view2/app-panel-view2.vue'),
},
{ {
path: 'ibizbooks/:ibizbook?/customview/:customview?', path: 'ibizbooks/:ibizbook?/customview/:customview?',
meta: { meta: {
...@@ -6627,6 +6640,18 @@ const router = new Router({ ...@@ -6627,6 +6640,18 @@ const router = new Router({
requireAuth: true, requireAuth: true,
}, },
component: () => import('@pages/ungroup/app-portal-view/app-portal-view.vue'), component: () => import('@pages/ungroup/app-portal-view/app-portal-view.vue'),
},
{
path: '/apppanelview2/:apppanelview2?',
meta: {
caption: 'app.views.apppanelview2.caption',
info:'',
parameters: [
{ pathName: 'apppanelview2', parameterName: 'apppanelview2' },
],
requireAuth: true,
},
component: () => import('@pages/ungroup/app-panel-view2/app-panel-view2.vue'),
}, },
...globalRoutes, ...globalRoutes,
{ {
......
...@@ -4,6 +4,7 @@ export const PageComponents = { ...@@ -4,6 +4,7 @@ export const PageComponents = {
Vue.component('ibizsample0018-grid-view', () => import('@pages/sample/ibizsample0018-grid-view/ibizsample0018-grid-view.vue')); Vue.component('ibizsample0018-grid-view', () => import('@pages/sample/ibizsample0018-grid-view/ibizsample0018-grid-view.vue'));
Vue.component('ibizsample0014-grid-view', () => import('@pages/sample/ibizsample0014-grid-view/ibizsample0014-grid-view.vue')); Vue.component('ibizsample0014-grid-view', () => import('@pages/sample/ibizsample0014-grid-view/ibizsample0014-grid-view.vue'));
Vue.component('app-panel-view', () => import('@pages/ungroup/app-panel-view/app-panel-view.vue')); Vue.component('app-panel-view', () => import('@pages/ungroup/app-panel-view/app-panel-view.vue'));
Vue.component('app-panel-view2', () => import('@pages/ungroup/app-panel-view2/app-panel-view2.vue'));
Vue.component('app-login-view', () => import('@pages/ungroup/app-login-view/app-login-view.vue')); Vue.component('app-login-view', () => import('@pages/ungroup/app-login-view/app-login-view.vue'));
} }
}; };
\ No newline at end of file
...@@ -3253,6 +3253,18 @@ const router = new Router({ ...@@ -3253,6 +3253,18 @@ const router = new Router({
requireAuth: true, requireAuth: true,
}, },
component: () => import('@pages/ungroup/app-portal-view/app-portal-view.vue'), component: () => import('@pages/ungroup/app-portal-view/app-portal-view.vue'),
},
{
path: '/apppanelview2/:apppanelview2?',
meta: {
caption: 'app.views.apppanelview2.caption',
info:'',
parameters: [
{ pathName: 'apppanelview2', parameterName: 'apppanelview2' },
],
requireAuth: true,
},
component: () => import('@pages/ungroup/app-panel-view2/app-panel-view2.vue'),
}, },
...globalRoutes, ...globalRoutes,
{ {
......
// 基于 @VIEW/应用面板视图/VIEW.less.ftl 生成
.app-panel-view2{
position: relative;
}
.app-panel-view2{
display: block;
}
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import AppPanelView2Base from './app-panel-view2-base.vue';
import view_panel from '@widgets/app/app-panel-view2-panel/app-panel-view2-panel.vue';
// 基于 @VIEW/@MACRO/VIEW.vue.ftl 生成
@Component({
components: {
view_panel,
},
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 AppPanelView2 extends AppPanelView2Base {
}
</script>
\ No newline at end of file
...@@ -912,6 +912,7 @@ export const viewstate: any = { ...@@ -912,6 +912,7 @@ export const viewstate: any = {
'270a2cdf7072febc156805c6c967c010', '270a2cdf7072febc156805c6c967c010',
'abe2803e82d60899ed92c9578f0bf9d7', 'abe2803e82d60899ed92c9578f0bf9d7',
'0f4df2881b94c291b6e268dd172bdb67', '0f4df2881b94c291b6e268dd172bdb67',
'C1022CE5-B44E-467C-86F0-6EDD0940B339',
'a9ac702e20306caf5a733545d652cfa9', 'a9ac702e20306caf5a733545d652cfa9',
'F25AC36D-6D69-43FA-89B4-BE7552CE99E2', 'F25AC36D-6D69-43FA-89B4-BE7552CE99E2',
'4e142abbc82a33d405dd609368612421', '4e142abbc82a33d405dd609368612421',
...@@ -2518,6 +2519,15 @@ export const viewstate: any = { ...@@ -2518,6 +2519,15 @@ export const viewstate: any = {
'ff1c15c4e1ab04ec44c1ad38a794a843', 'ff1c15c4e1ab04ec44c1ad38a794a843',
], ],
}, },
{
viewtag: 'C1022CE5-B44E-467C-86F0-6EDD0940B339',
viewmodule: 'Ungroup',
viewname: 'AppPanelView2',
viewaction: '',
viewdatachange: false,
refviews: [
],
},
{ {
viewtag: 'DDD1152C-0A9F-44C5-82FA-7F6A469C5569', viewtag: 'DDD1152C-0A9F-44C5-82FA-7F6A469C5569',
viewmodule: 'Ungroup', viewmodule: 'Ungroup',
......
// 基于 @CONTROL/面板/MODEL.ts.ftl 生成
/**
* AppPanelView2 部件模型
*
* @export
* @class AppPanelView2Model
*/
export default class AppPanelView2Model {
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof AppPanelView2Model
*/
public getDataItems(): any[] {
return [
]
}
}
\ No newline at end of file
// 基于 @CONTROL/面板/SERVICE.ts.ftl 生成
import { Http } from '@/utils';
import ControlService from '@/widgets/control-service';
/**
* AppPanelView2 部件服务对象
*
* @export
* @class AppPanelView2Service
*/
export default class AppPanelView2Service extends ControlService {
}
\ No newline at end of file
// 基于 @CONTROL/面板/CONTROL.less.ftl 生成
.app-layoutpanel {
}
\ No newline at end of file
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import AppPanelView2Base from './app-panel-view2-panel-base.vue';
// 基于 @CONTROL/@MACRO/CONTROL/CONTROL.vue.ftl 生成
@Component({
components: {
}
})
export default class AppPanelView2 extends AppPanelView2Base {
}
</script>
\ No newline at end of file
...@@ -923,6 +923,9 @@ export default class MainMenuBase extends Vue implements ControlInterface { ...@@ -923,6 +923,9 @@ export default class MainMenuBase extends Vue implements ControlInterface {
case 'AppFunc94': case 'AppFunc94':
this.clickAppFunc94(item); this.clickAppFunc94(item);
return; return;
case 'AppFunc130':
this.clickAppFunc130(item);
return;
case 'AppFunc22': case 'AppFunc22':
this.clickAppFunc22(item); this.clickAppFunc22(item);
return; return;
...@@ -3209,6 +3212,28 @@ export default class MainMenuBase extends Vue implements ControlInterface { ...@@ -3209,6 +3212,28 @@ export default class MainMenuBase extends Vue implements ControlInterface {
}); });
} }
/**
* 工作流待办
*
* @param {*} [item={}]
* @memberof MainMenu
*/
public clickAppFunc130(item: any = {}) {
const viewparam: any = {};
Object.assign(viewparam, {});
const deResParameters: any[] = [];
const parameters: any[] = [
{ pathName: 'apppanelview2', parameterName: 'apppanelview2' },
];
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);
})
}
/** /**
* 自定义视图 * 自定义视图
* *
......
...@@ -2585,6 +2585,25 @@ export default class MainMenuModel { ...@@ -2585,6 +2585,25 @@ export default class MainMenuModel {
appfunctag: 'AppFunc94', appfunctag: 'AppFunc94',
resourcetag: '', resourcetag: '',
authtag:'Web-MainMenu-menuitem21', authtag:'Web-MainMenu-menuitem21',
},
{
id: 'BEBA14E9-03D6-4F09-9FED-50790A0B2EB4',
name: 'menuitem214',
text: '统一待办',
type: 'MENUITEM',
counterid: '',
tooltip: '统一待办',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'AppFunc130',
resourcetag: '',
authtag:'Web-MainMenu-menuitem214',
}, },
], ],
}, },
...@@ -5121,6 +5140,17 @@ export default class MainMenuModel { ...@@ -5121,6 +5140,17 @@ export default class MainMenuModel {
{ pathName: 'wfdynaactionview', parameterName: 'wfdynaactionview' }, { pathName: 'wfdynaactionview', parameterName: 'wfdynaactionview' },
], ],
}, },
{
appfunctag: 'AppFunc130',
appfuncyype: 'APPVIEW',
openmode: '',
codename: 'apppanelview2',
deResParameters: [],
routepath: '/index/:index?/apppanelview2/:apppanelview2?',
parameters: [
{ pathName: 'apppanelview2', parameterName: 'apppanelview2' },
],
},
{ {
appfunctag: 'AppFunc22', appfunctag: 'AppFunc22',
appfuncyype: 'APPVIEW', appfuncyype: 'APPVIEW',
......
...@@ -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];
......
...@@ -1344,7 +1344,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1344,7 +1344,7 @@ export default class GuideReturnFormBase 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 };
...@@ -1391,7 +1391,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1391,7 +1391,7 @@ export default class GuideReturnFormBase 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 } ;
...@@ -1461,7 +1461,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1461,7 +1461,7 @@ export default class GuideReturnFormBase 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});
...@@ -1569,7 +1569,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1569,7 +1569,7 @@ export default class GuideReturnFormBase 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 });
...@@ -1661,7 +1661,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1661,7 +1661,7 @@ export default class GuideReturnFormBase 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];
......
...@@ -1447,7 +1447,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1447,7 +1447,7 @@ export default class GuideViewFormBase 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 };
...@@ -1494,7 +1494,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1494,7 +1494,7 @@ export default class GuideViewFormBase 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 } ;
...@@ -1564,7 +1564,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1564,7 +1564,7 @@ export default class GuideViewFormBase 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});
...@@ -1672,7 +1672,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1672,7 +1672,7 @@ export default class GuideViewFormBase 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 });
...@@ -1764,7 +1764,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1764,7 +1764,7 @@ export default class GuideViewFormBase 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];
......
...@@ -11,7 +11,7 @@ export default class Usr2Model { ...@@ -11,7 +11,7 @@ export default class Usr2Model {
* 获取数据项集合 * 获取数据项集合
* *
* @returns {any[]} * @returns {any[]}
* @memberof Usr2DataViewMode * @memberof Usr2Dataviewexpbar_dataviewMode
*/ */
public getDataItems(): any[] { public getDataItems(): any[] {
return [ return [
...@@ -40,17 +40,6 @@ export default class Usr2Model { ...@@ -40,17 +40,6 @@ export default class Usr2Model {
dataType: 'FONTKEY', dataType: 'FONTKEY',
}, },
{
name: 'n_ibizbookname_like',
prop: 'n_ibizbookname_like',
dataType: 'QUERYPARAM'
},
{
name: 'n_price_gtandeq',
prop: 'n_price_gtandeq',
dataType: 'QUERYPARAM'
},
{ {
name:'size', name:'size',
......
...@@ -55,23 +55,6 @@ ...@@ -55,23 +55,6 @@
git clone -b master $para2 demosys/ git clone -b master $para2 demosys/
export NODE_OPTIONS=--max-old-space-size=4096 export NODE_OPTIONS=--max-old-space-size=4096
cd demosys/ cd demosys/
cd demo-boot
mvn ibizlabcli:code
cd ..
set +e
git config user.name "ibizdev"
git add .
git commit -m "generator before deploy $para5"
git push origin master
git config user.name "root"
set -e
mvn package -Pboot
cd demo-boot
sed -i "s#dstimage#$para5#g" pom.xml
sed -i "s#dstimage#$para5#g" src/main/docker/demo-boot-demoapi.yaml
mvn -Pboot docker:build
mvn -Pboot docker:push
docker -H $para1 stack deploy --compose-file=src/main/docker/demo-boot-demoapi.yaml iBizDemo --with-registry-auth
</command> </command>
</hudson.tasks.Shell> </hudson.tasks.Shell>
</builders> </builders>
......
...@@ -10,6 +10,6 @@ CMD echo "The application will start in ${IBIZ_SLEEP}s..." && \ ...@@ -10,6 +10,6 @@ CMD echo "The application will start in ${IBIZ_SLEEP}s..." && \
sleep ${IBIZ_SLEEP} && \ sleep ${IBIZ_SLEEP} && \
java ${JAVA_OPTS} -Duser.timezone=$TZ -Djava.security.egd=file:/dev/./urandom -jar /demo-boot.jar java ${JAVA_OPTS} -Duser.timezone=$TZ -Djava.security.egd=file:/dev/./urandom -jar /demo-boot.jar
EXPOSE 52000 EXPOSE 8081
ADD demo-boot.jar /demo-boot.jar ADD demo-boot.jar /demo-boot.jar
...@@ -51,4 +51,4 @@ public class BootApplication extends WebMvcConfigurerAdapter { ...@@ -51,4 +51,4 @@ public class BootApplication extends WebMvcConfigurerAdapter {
super.addArgumentResolvers(argumentResolvers); super.addArgumentResolvers(argumentResolvers);
argumentResolvers.add(resolver); argumentResolvers.add(resolver);
} }
} }
\ No newline at end of file
...@@ -3031,6 +3031,24 @@ ...@@ -3031,6 +3031,24 @@
"layout" : "TABLE_24COL" "layout" : "TABLE_24COL"
}, },
"tooltip" : "工作流动态操作视图" "tooltip" : "工作流动态操作视图"
}, {
"accUserMode" : 0,
"caption" : "统一待办",
"itemType" : "MENUITEM",
"name" : "menuitem214",
"getPSAppFunc" : {
"modelref" : true,
"id" : "AppFunc130"
},
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"tooltip" : "统一待办"
} ], } ],
"getPSLayout" : { "getPSLayout" : {
"columnCount" : 24, "columnCount" : 24,
......
...@@ -1677,6 +1677,16 @@ ...@@ -1677,6 +1677,16 @@
"id" : "AppFunc94" "id" : "AppFunc94"
}, },
"tooltip" : "工作流动态操作视图" "tooltip" : "工作流动态操作视图"
}, {
"accUserMode" : 0,
"caption" : "统一待办",
"itemType" : "MENUITEM",
"name" : "menuitem214",
"getPSAppFunc" : {
"modelref" : true,
"id" : "AppFunc130"
},
"tooltip" : "统一待办"
} ], } ],
"tooltip" : "工作流" "tooltip" : "工作流"
}, { }, {
......
{
"accUserMode" : 0,
"caption" : "工作流待办",
"codeName" : "AppPanelView2",
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPPANELVIEWS/AppPanelView2.json",
"name" : "AppPanelView2",
"getPSControls" : [ {
"codeName" : "AppPanelView2",
"controlType" : "PANEL",
"layoutMode" : "TABLE_24COL",
"logicName" : "工作流待办默认面板",
"name" : "panel",
"getPSControlParam" : { },
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"modelid" : "A5ED9C2D-6898-463E-B740-88CE35ADF65B",
"modeltype" : "PSSYSVIEWPANEL"
} ],
"getPSViewLayoutPanel" : {
"codeName" : "Layoutpanel",
"controlStyle" : "APPPANELVIEW",
"controlType" : "VIEWLAYOUTPANEL",
"name" : "layoutpanel",
"getPSControlParam" : { },
"layoutBodyOnly" : true,
"layoutPanel" : true,
"useDefaultLayout" : true
},
"title" : "工作流待办",
"viewStyle" : "DEFAULT",
"viewType" : "APPPANELVIEW",
"enableDP" : false,
"modelid" : "C1022CE5-B44E-467C-86F0-6EDD0940B339",
"modeltype" : "PSAPPPANELVIEW"
}
\ No newline at end of file
...@@ -2739,6 +2739,16 @@ ...@@ -2739,6 +2739,16 @@
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr8GridView.json", "path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr8GridView.json",
"viewType" : "DEGRIDVIEW" "viewType" : "DEGRIDVIEW"
} }
}, {
"appFuncType" : "APPVIEW",
"codeName" : "AppFunc130",
"name" : "工作流待办",
"openMode" : "INDEXVIEWTAB",
"getPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPPANELVIEWS/AppPanelView2.json",
"viewType" : "APPPANELVIEW"
}
}, { }, {
"appFuncType" : "APPVIEW", "appFuncType" : "APPVIEW",
"codeName" : "Auto159", "codeName" : "Auto159",
...@@ -15073,6 +15083,11 @@ ...@@ -15073,6 +15083,11 @@
"path" : "PSSYSAPPS/Web/PSAPPPORTALVIEWS/AppPortalView.json", "path" : "PSSYSAPPS/Web/PSAPPPORTALVIEWS/AppPortalView.json",
"viewType" : "APPPORTALVIEW", "viewType" : "APPPORTALVIEW",
"view" : "AppPortalView" "view" : "AppPortalView"
}, {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPPANELVIEWS/AppPanelView2.json",
"viewType" : "APPPANELVIEW",
"view" : "AppPanelView2"
}, { }, {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPUTILVIEWS/AppLoginView.json", "path" : "PSSYSAPPS/Web/PSAPPUTILVIEWS/AppLoginView.json",
...@@ -18165,6 +18180,24 @@ ...@@ -18165,6 +18180,24 @@
"layout" : "TABLE_24COL" "layout" : "TABLE_24COL"
}, },
"tooltip" : "工作流动态操作视图" "tooltip" : "工作流动态操作视图"
}, {
"accUserMode" : 0,
"caption" : "统一待办",
"itemType" : "MENUITEM",
"name" : "menuitem214",
"getPSAppFunc" : {
"modelref" : true,
"id" : "AppFunc130"
},
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"tooltip" : "统一待办"
} ], } ],
"getPSLayout" : { "getPSLayout" : {
"columnCount" : 24, "columnCount" : 24,
......
...@@ -10,8 +10,8 @@ ...@@ -10,8 +10,8 @@
</parent> </parent>
<artifactId>demo-core</artifactId> <artifactId>demo-core</artifactId>
<name>Demo Core</name> <name>后台服务 Core</name>
<description>后台服务 Core,模板生成代码,再次发布会覆盖,建议不要直接修改,修改请在demo-boot项目中继承或覆盖重写</description> <description>后台服务 Core</description>
<dependencies> <dependencies>
...@@ -20,14 +20,6 @@ ...@@ -20,14 +20,6 @@
<artifactId>ibizlab-boot-starter-data</artifactId> <artifactId>ibizlab-boot-starter-data</artifactId>
<version>2.4.0-SNAPSHOT</version> <version>2.4.0-SNAPSHOT</version>
</dependency> </dependency>
<!-- MySQL驱动包 -->
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
</dependency>
</dependencies> </dependencies>
<properties> <properties>
...@@ -101,4 +93,4 @@ ...@@ -101,4 +93,4 @@
</profile> </profile>
</profiles> </profiles>
</project> </project>
\ No newline at end of file
[ [
{
"name": "年度",
"code": "Years",
"group": "",
"memo": "",
}
]
\ No newline at end of file
{
"name":"年度",
"code":"Years",
"group":"",
"memo":"",
"enable":"",
}
]
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
<artifactId>demo</artifactId> <artifactId>demo</artifactId>
<groupId>cn.ibizlab</groupId> <groupId>cn.ibizlab</groupId>
<version>1.0.0.0</version> <version>1.0.0.0</version>
<name>Demo</name> <name>后台服务</name>
<description>后台服务</description> <description></description>
<packaging>pom</packaging> <packaging>pom</packaging>
<parent> <parent>
...@@ -105,7 +105,7 @@ ...@@ -105,7 +105,7 @@
<generateBackupPoms>false</generateBackupPoms> <generateBackupPoms>false</generateBackupPoms>
</configuration> </configuration>
</plugin> </plugin>
<plugin> <plugin>
<groupId>cn.ibizlab</groupId> <groupId>cn.ibizlab</groupId>
<artifactId>ibizlab-generator-plugin</artifactId> <artifactId>ibizlab-generator-plugin</artifactId>
<version>1.0-SNAPSHOT</version> <version>1.0-SNAPSHOT</version>
...@@ -137,4 +137,4 @@ ...@@ -137,4 +137,4 @@
</plugins> </plugins>
</build> </build>
</project> </project>
\ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册