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

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

上级 c809b342
......@@ -2471,6 +2471,14 @@
"viewname": "AppIndexView",
"viewtag": "2D42F3B7-3267-4276-9120-10F2D81E35AF"
},
"appwfsteptraceview": {
"title": "应用流程跟踪视图",
"caption": "应用流程跟踪视图",
"viewtype": "APPWFSTEPTRACEVIEW",
"viewmodule": "Ungroup",
"viewname": "AppWFStepTraceView",
"viewtag": "47F744B6-6308-4EFB-A7B7-B4BF8DC201C6"
},
"appportalview": {
"title": "工作台",
"caption": "工作台",
......
......@@ -175,6 +175,10 @@ function getAppLocale(){
caption: commonLogic.appcommonhandle("测试12231",null),
title: commonLogic.appcommonhandle("应用首页视图",null),
},
appwfsteptraceview: {
caption: commonLogic.appcommonhandle("应用流程跟踪视图",null),
title: commonLogic.appcommonhandle("应用流程跟踪视图",null),
},
appportalview: {
caption: commonLogic.appcommonhandle("工作台",null),
title: commonLogic.appcommonhandle("工作台",null),
......
......@@ -175,6 +175,10 @@ function getAppLocale(){
caption: commonLogic.appcommonhandle("测试12231",null),
title: commonLogic.appcommonhandle("应用首页视图",null),
},
appwfsteptraceview: {
caption: commonLogic.appcommonhandle("应用流程跟踪视图",null),
title: commonLogic.appcommonhandle("应用流程跟踪视图",null),
},
appportalview: {
caption: commonLogic.appcommonhandle("Work bench",null),
title: commonLogic.appcommonhandle("工作台",null),
......
......@@ -175,6 +175,10 @@ function getAppLocale(){
caption: commonLogic.appcommonhandle("测试12231",null),
title: commonLogic.appcommonhandle("应用首页视图",null),
},
appwfsteptraceview: {
caption: commonLogic.appcommonhandle("应用流程跟踪视图",null),
title: commonLogic.appcommonhandle("应用流程跟踪视图",null),
},
appportalview: {
caption: commonLogic.appcommonhandle("工作台",null),
title: commonLogic.appcommonhandle("工作台",null),
......
......@@ -2479,6 +2479,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "AppIndexView",
"viewtag": "2D42F3B7-3267-4276-9120-10F2D81E35AF"
},
"appwfsteptraceview": {
"title": "应用流程跟踪视图",
"caption": "应用流程跟踪视图",
"viewtype": "APPWFSTEPTRACEVIEW",
"viewmodule": "Ungroup",
"viewname": "AppWFStepTraceView",
"viewtag": "47F744B6-6308-4EFB-A7B7-B4BF8DC201C6"
},
"appportalview": {
"title": "工作台",
"caption": "工作台",
......
......@@ -229,6 +229,7 @@ export const PageComponents = {
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('app-panel-view', () => import('@pages/ungroup/app-panel-view/app-panel-view.vue'));
Vue.component('app-wfstep-trace-view', () => import('@pages/ungroup/app-wfstep-trace-view/app-wfstep-trace-view.vue'));
Vue.component('app-wfredirect-view', () => import('@pages/ungroup/app-wfredirect-view/app-wfredirect-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'));
......
......@@ -6697,6 +6697,18 @@ const router = new Router({
},
component: () => import('@pages/ungroup/app-panel-view/app-panel-view.vue'),
},
{
path: '/appwfsteptraceview/:appwfsteptraceview?',
meta: {
caption: 'app.views.appwfsteptraceview.caption',
info:'',
parameters: [
{ pathName: 'appwfsteptraceview', parameterName: 'appwfsteptraceview' },
],
requireAuth: true,
},
component: () => import('@pages/ungroup/app-wfstep-trace-view/app-wfstep-trace-view.vue'),
},
{
path: '/appportalview/:appportalview?',
meta: {
......
......@@ -4,6 +4,7 @@ export const PageComponents = {
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('app-panel-view', () => import('@pages/ungroup/app-panel-view/app-panel-view.vue'));
Vue.component('app-wfstep-trace-view', () => import('@pages/ungroup/app-wfstep-trace-view/app-wfstep-trace-view.vue'));
Vue.component('app-wfredirect-view', () => import('@pages/ungroup/app-wfredirect-view/app-wfredirect-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'));
......
......@@ -3282,6 +3282,18 @@ const router = new Router({
},
component: () => import('@pages/ungroup/app-panel-view/app-panel-view.vue'),
},
{
path: '/appwfsteptraceview/:appwfsteptraceview?',
meta: {
caption: 'app.views.appwfsteptraceview.caption',
info:'',
parameters: [
{ pathName: 'appwfsteptraceview', parameterName: 'appwfsteptraceview' },
],
requireAuth: true,
},
component: () => import('@pages/ungroup/app-wfstep-trace-view/app-wfstep-trace-view.vue'),
},
{
path: '/appportalview/:appportalview?',
meta: {
......
// 基于 @VIEW/应用流程跟踪视图/VIEW.less.ftl 生成
.app-wfstep-trace-view{
position: relative;
}
.app-wfstep-trace-view{
display: block;
}
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import AppWFStepTraceViewBase from './app-wfstep-trace-view-base.vue';
// 基于 @VIEW/@MACRO/VIEW.vue.ftl 生成
@Component({
components: {
},
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 AppWFStepTraceView extends AppWFStepTraceViewBase {
}
</script>
\ No newline at end of file
......@@ -2525,6 +2525,15 @@ export const viewstate: any = {
refviews: [
],
},
{
viewtag: '47F744B6-6308-4EFB-A7B7-B4BF8DC201C6',
viewmodule: 'Ungroup',
viewname: 'AppWFStepTraceView',
viewaction: '',
viewdatachange: false,
refviews: [
],
},
{
viewtag: '96bc1e4d0d5d6b66d639f401966b375b',
viewmodule: 'Ungroup',
......
......@@ -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: 'IBIZBOOKUsr8GridView' + (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: 'IBIZBOOKUsr8GridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return;
}
const arg: any = { ...opt } ;
......
......@@ -319,7 +319,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZOrderSF1GridViewBase
* @memberof IBIZOrderPickupGridViewBase
*/
public Edit(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
if (args.length === 0) {
......@@ -462,20 +462,6 @@ export default class MainBase extends Vue implements ControlInterface {
return this.selections[0];
}
/**
* 打开新建数据视图
*
* @type {any}
* @memberof MainBase
*/
@Prop() public newdata: any;
/**
* 打开编辑数据视图
*
* @type {any}
* @memberof MainBase
*/
@Prop() public opendata: any;
/**
* 是否嵌入关系界面
......@@ -1010,7 +996,7 @@ export default class MainBase extends Vue implements ControlInterface {
if (!this.fetchAction) {
this.$Notice.error({
title: this.$t("app.commonWords.wrong") as string,
desc: "IBIZOrderSF1GridView" + (this.$t("app.gridpage.notConfig.fetchAction") as string),
desc: "IBIZOrderPickupGridView" + (this.$t("app.gridpage.notConfig.fetchAction") as string),
});
return;
}
......@@ -1139,7 +1125,7 @@ export default class MainBase extends Vue implements ControlInterface {
if (!this.removeAction) {
this.$Notice.error({
title: (this.$t('app.commonWords.wrong') as string),
desc: 'IBIZOrderSF1GridView' + (this.$t('app.gridpage.notConfig.removeAction') as string)
desc: 'IBIZOrderPickupGridView' + (this.$t('app.gridpage.notConfig.removeAction') as string)
});
return;
}
......@@ -1253,7 +1239,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: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
return;
}
if(!arg){
......@@ -2184,7 +2170,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: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.createAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.createAction') as string) });
} else {
Object.assign(item, { viewparams: this.viewparams });
const tempContext = Util.deepCopy(this.context);
......@@ -2193,7 +2179,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: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.updateAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.updateAction') as string) });
} else {
Object.assign(item, { viewparams: this.viewparams });
const tempContext = Util.deepCopy(this.context);
......@@ -2269,7 +2255,7 @@ export default class MainBase extends Vue implements ControlInterface {
if(!this.loaddraftAction){
this.$Notice.error({
title: (this.$t('app.commonWords.wrong') as string),
desc: 'IBIZOrderSF1GridView' + (this.$t('app.gridpage.notConfig.loaddraftAction') as string)
desc: 'IBIZOrderPickupGridView' + (this.$t('app.gridpage.notConfig.loaddraftAction') as string)
});
return;
}
......
......@@ -105,21 +105,6 @@ export default class MainModel {
prop: 'n_ibizordername_like',
dataType: 'QUERYPARAM'
},
{
name: 'n_orderstate_eq',
prop: 'n_orderstate_eq',
dataType: 'QUERYPARAM'
},
{
name: 'n_ordertime_gt',
prop: 'n_ordertime_gt',
dataType: 'QUERYPARAM'
},
{
name: 'n_ordertime_lt',
prop: 'n_ordertime_lt',
dataType: 'QUERYPARAM'
},
{
name:'size',
......
......@@ -11,26 +11,6 @@
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"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" : "归还日期",
"codeName" : "returntime",
"columnType" : "DEFGRIDCOLUMN",
......@@ -60,6 +40,26 @@
"widthUnit" : "px",
"enableExpand" : 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" : [ {
"getChildPSDETreeNode" : {
......
......@@ -19,16 +19,6 @@
}
} ],
"getPSDETreeColumns" : [ {
"caption" : "图书描述",
"codeName" : "subtext",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "subtext",
"name" : "subtext",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
......@@ -48,6 +38,16 @@
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书描述",
"codeName" : "subtext",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "subtext",
"name" : "subtext",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
} ],
"getPSDETreeNodeRSs" : [ {
"getChildPSDETreeNode" : {
......
......@@ -34,26 +34,6 @@
"id" : "GANTT"
},
"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" : "归还日期",
"codeName" : "returntime",
"columnType" : "DEFGRIDCOLUMN",
......@@ -83,6 +63,26 @@
"widthUnit" : "px",
"enableExpand" : 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" : [ {
"getChildPSDETreeNode" : {
......
......@@ -75,16 +75,6 @@
"id" : "TREEGRIDEX"
},
"getPSDETreeColumns" : [ {
"caption" : "图书描述",
"codeName" : "subtext",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "subtext",
"name" : "subtext",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
......@@ -104,6 +94,16 @@
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书描述",
"codeName" : "subtext",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "subtext",
"name" : "subtext",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
} ],
"getPSDETreeNodeRSs" : [ {
"getChildPSDETreeNode" : {
......
{
"accUserMode" : 0,
"caption" : "应用流程跟踪视图",
"codeName" : "AppWFStepTraceView",
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPUTILVIEWS/AppWFStepTraceView.json",
"name" : "AppWFStepTraceView",
"getPSViewLayoutPanel" : {
"codeName" : "Layoutpanel",
"controlStyle" : "APPWFSTEPTRACEVIEW",
"controlType" : "VIEWLAYOUTPANEL",
"name" : "layoutpanel",
"getPSControlParam" : { },
"layoutBodyOnly" : true,
"layoutPanel" : true,
"useDefaultLayout" : true
},
"title" : "应用流程跟踪视图",
"viewStyle" : "DEFAULT",
"viewType" : "APPWFSTEPTRACEVIEW",
"enableDP" : false,
"modelid" : "47F744B6-6308-4EFB-A7B7-B4BF8DC201C6",
"modeltype" : "PSAPPUTILVIEW"
}
\ No newline at end of file
......@@ -15110,6 +15110,11 @@
"path" : "PSSYSAPPS/Web/PSAPPINDEXVIEWS/AppIndexView.json",
"viewType" : "APPINDEXVIEW",
"view" : "AppIndexView"
}, {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPUTILVIEWS/AppWFStepTraceView.json",
"viewType" : "APPWFSTEPTRACEVIEW",
"view" : "AppWFStepTraceView"
}, {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPPORTALVIEWS/AppPortalView.json",
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册