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

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

上级 fcca256b
......@@ -807,6 +807,14 @@
"viewname": "IBIZOrderSEditView4",
"viewtag": "535287f8b07f35be0e294617f6682962"
},
"ibizsample0021usr1114865995wfdynaeditview3": {
"title": "实体工作流动态视图(分页关系)",
"caption": "实体工作流动态视图(分页关系)",
"viewtype": "DEWFDYNAEDITVIEW3",
"viewmodule": "Sample",
"viewname": "IBIZSample0021Usr1114865995WFDynaEditView3",
"viewtag": "53757392-B5A2-4E4C-84F6-99DCC4C490AB"
},
"ibizsample0003spickuptreeview": {
"title": "IBIZSAMPLE0003选择树视图",
"caption": "示例实体03",
......
......@@ -350,6 +350,7 @@ function getAppLocale(){
menuitem31: commonLogic.appcommonhandle("工作流启动",null),
menuitem21: commonLogic.appcommonhandle("工作流动态操作视图",null),
menuitem214: commonLogic.appcommonhandle("统一待办",null),
menuitem231: commonLogic.appcommonhandle("工作流动态编辑视图(分页关系)",null),
menuitem11: commonLogic.appcommonhandle("其他视图",null),
menuitem98: commonLogic.appcommonhandle("自定义视图",null),
menuitem212: commonLogic.appcommonhandle("自定义实现表格视图",null),
......
......@@ -350,6 +350,7 @@ function getAppLocale(){
menuitem31: commonLogic.appcommonhandle("Workflow Start",null),
menuitem21: commonLogic.appcommonhandle("工作流动态操作视图",null),
menuitem214: commonLogic.appcommonhandle("统一待办",null),
menuitem231: commonLogic.appcommonhandle("工作流动态编辑视图(分页关系)",null),
menuitem11: commonLogic.appcommonhandle("Other Views",null),
menuitem98: commonLogic.appcommonhandle("Custom View",null),
menuitem212: commonLogic.appcommonhandle("自定义实现表格视图",null),
......
......@@ -350,6 +350,7 @@ function getAppLocale(){
menuitem31: commonLogic.appcommonhandle("工作流启动",null),
menuitem21: commonLogic.appcommonhandle("工作流动态操作视图",null),
menuitem214: commonLogic.appcommonhandle("统一待办",null),
menuitem231: commonLogic.appcommonhandle("工作流动态编辑视图(分页关系)",null),
menuitem11: commonLogic.appcommonhandle("其他视图",null),
menuitem98: commonLogic.appcommonhandle("自定义视图",null),
menuitem212: commonLogic.appcommonhandle("自定义实现表格视图",null),
......
......@@ -29,6 +29,10 @@ function getLocaleResourceBase(){
caption: commonLogic.appcommonhandle("订单",null),
title: commonLogic.appcommonhandle("订单工作流编辑视图",null),
},
usr1114865995wfdynaeditview3: {
caption: commonLogic.appcommonhandle("实体工作流动态视图(分页关系)",null),
title: commonLogic.appcommonhandle("实体工作流动态视图(分页关系)",null),
},
wfdynaactionview_layout: {
caption: commonLogic.appcommonhandle("订单工作流动态操作视图",null),
title: commonLogic.appcommonhandle("订单工作流动态操作视图",null),
......@@ -96,6 +100,30 @@ function getLocaleResourceBase(){
uiactions: {
},
},
usr1114284368_form: {
details: {
group1: commonLogic.appcommonhandle("订单基本信息",null),
formpage1: commonLogic.appcommonhandle("基本信息",null),
group2: commonLogic.appcommonhandle("操作信息",null),
formpage2: commonLogic.appcommonhandle("其它",null),
srfupdatedate: commonLogic.appcommonhandle("更新时间",null),
srforikey: commonLogic.appcommonhandle("",null),
srfkey: commonLogic.appcommonhandle("订单标识",null),
srfmajortext: commonLogic.appcommonhandle("订单名称",null),
srftempmode: commonLogic.appcommonhandle("",null),
srfuf: commonLogic.appcommonhandle("",null),
srfdeid: commonLogic.appcommonhandle("",null),
srfsourcekey: commonLogic.appcommonhandle("",null),
ibizsample0021name: commonLogic.appcommonhandle("订单名称",null),
createman: commonLogic.appcommonhandle("建立人",null),
createdate: commonLogic.appcommonhandle("建立时间",null),
updateman: commonLogic.appcommonhandle("更新人",null),
updatedate: commonLogic.appcommonhandle("更新时间",null),
ibizsample0021id: commonLogic.appcommonhandle("订单标识",null),
},
uiactions: {
},
},
main_grid: {
columns: {
ibizsample0021name: commonLogic.appcommonhandle("订单名称",null),
......@@ -154,6 +182,8 @@ function getLocaleResourceBase(){
tip: commonLogic.appcommonhandle("导出",null),
},
},
usr1114865995wfdynaeditview3toolbar_toolbar: {
},
gridview_layouttoolbar_toolbar: {
tbitem3: {
caption: commonLogic.appcommonhandle("新建",null),
......
......@@ -29,6 +29,10 @@ function getLocaleResourceBase(){
caption: commonLogic.appcommonhandle("订单",null),
title: commonLogic.appcommonhandle("订单工作流编辑视图",null),
},
usr1114865995wfdynaeditview3: {
caption: commonLogic.appcommonhandle("实体工作流动态视图(分页关系)",null),
title: commonLogic.appcommonhandle("实体工作流动态视图(分页关系)",null),
},
wfdynaactionview_layout: {
caption: commonLogic.appcommonhandle("订单工作流动态操作视图",null),
title: commonLogic.appcommonhandle("订单工作流动态操作视图",null),
......@@ -96,6 +100,30 @@ function getLocaleResourceBase(){
uiactions: {
},
},
usr1114284368_form: {
details: {
group1: commonLogic.appcommonhandle("订单基本信息",null),
formpage1: commonLogic.appcommonhandle("基本信息",null),
group2: commonLogic.appcommonhandle("操作信息",null),
formpage2: commonLogic.appcommonhandle("其它",null),
srfupdatedate: commonLogic.appcommonhandle("更新时间",null),
srforikey: commonLogic.appcommonhandle("",null),
srfkey: commonLogic.appcommonhandle("订单标识",null),
srfmajortext: commonLogic.appcommonhandle("订单名称",null),
srftempmode: commonLogic.appcommonhandle("",null),
srfuf: commonLogic.appcommonhandle("",null),
srfdeid: commonLogic.appcommonhandle("",null),
srfsourcekey: commonLogic.appcommonhandle("",null),
ibizsample0021name: commonLogic.appcommonhandle("订单名称",null),
createman: commonLogic.appcommonhandle("建立人",null),
createdate: commonLogic.appcommonhandle("建立时间",null),
updateman: commonLogic.appcommonhandle("更新人",null),
updatedate: commonLogic.appcommonhandle("更新时间",null),
ibizsample0021id: commonLogic.appcommonhandle("订单标识",null),
},
uiactions: {
},
},
main_grid: {
columns: {
ibizsample0021name: commonLogic.appcommonhandle("订单名称",null),
......@@ -154,6 +182,8 @@ function getLocaleResourceBase(){
tip: commonLogic.appcommonhandle("Export {0} Data To Excel",null),
},
},
usr1114865995wfdynaeditview3toolbar_toolbar: {
},
gridview_layouttoolbar_toolbar: {
tbitem3: {
caption: commonLogic.appcommonhandle("New",null),
......
......@@ -29,6 +29,10 @@ function getLocaleResourceBase(){
caption: commonLogic.appcommonhandle("订单",null),
title: commonLogic.appcommonhandle("订单工作流编辑视图",null),
},
usr1114865995wfdynaeditview3: {
caption: commonLogic.appcommonhandle("实体工作流动态视图(分页关系)",null),
title: commonLogic.appcommonhandle("实体工作流动态视图(分页关系)",null),
},
wfdynaactionview_layout: {
caption: commonLogic.appcommonhandle("订单工作流动态操作视图",null),
title: commonLogic.appcommonhandle("订单工作流动态操作视图",null),
......@@ -96,6 +100,30 @@ function getLocaleResourceBase(){
uiactions: {
},
},
usr1114284368_form: {
details: {
group1: commonLogic.appcommonhandle("订单基本信息",null),
formpage1: commonLogic.appcommonhandle("基本信息",null),
group2: commonLogic.appcommonhandle("操作信息",null),
formpage2: commonLogic.appcommonhandle("其它",null),
srfupdatedate: commonLogic.appcommonhandle("更新时间",null),
srforikey: commonLogic.appcommonhandle("",null),
srfkey: commonLogic.appcommonhandle("订单标识",null),
srfmajortext: commonLogic.appcommonhandle("订单名称",null),
srftempmode: commonLogic.appcommonhandle("",null),
srfuf: commonLogic.appcommonhandle("",null),
srfdeid: commonLogic.appcommonhandle("",null),
srfsourcekey: commonLogic.appcommonhandle("",null),
ibizsample0021name: commonLogic.appcommonhandle("订单名称",null),
createman: commonLogic.appcommonhandle("建立人",null),
createdate: commonLogic.appcommonhandle("建立时间",null),
updateman: commonLogic.appcommonhandle("更新人",null),
updatedate: commonLogic.appcommonhandle("更新时间",null),
ibizsample0021id: commonLogic.appcommonhandle("订单标识",null),
},
uiactions: {
},
},
main_grid: {
columns: {
ibizsample0021name: commonLogic.appcommonhandle("订单名称",null),
......@@ -154,6 +182,8 @@ function getLocaleResourceBase(){
tip: commonLogic.appcommonhandle("导出",null),
},
},
usr1114865995wfdynaeditview3toolbar_toolbar: {
},
gridview_layouttoolbar_toolbar: {
tbitem3: {
caption: commonLogic.appcommonhandle("新建",null),
......
......@@ -2465,6 +2465,24 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
textcls: '',
appfunctag: 'AppFunc130',
resourcetag: '',
},
{
id: '6866DEA7-CE20-414A-BA82-05023FB7EE50',
name: 'menuitem231',
text: '工作流动态编辑视图(分页关系)',
type: 'MENUITEM',
counterid: '',
tooltip: '工作流动态编辑视图(分页关系)',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'AppFunc131',
resourcetag: '',
},
],
},
......
......@@ -815,6 +815,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "IBIZOrderSEditView4",
"viewtag": "535287f8b07f35be0e294617f6682962"
},
"ibizsample0021usr1114865995wfdynaeditview3": {
"title": "实体工作流动态视图(分页关系)",
"caption": "实体工作流动态视图(分页关系)",
"viewtype": "DEWFDYNAEDITVIEW3",
"viewmodule": "Sample",
"viewname": "IBIZSample0021Usr1114865995WFDynaEditView3",
"viewtag": "53757392-B5A2-4E4C-84F6-99DCC4C490AB"
},
"ibizsample0003spickuptreeview": {
"title": "IBIZSAMPLE0003选择树视图",
"caption": "示例实体03",
......
// 基于 @VIEW/实体工作流动态编辑视图(分页关系)/VIEW.less.ftl 生成
.ibizsample0021-usr1114865995-wfdyna-edit-view3{
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 IBIZSample0021Usr1114865995WFDynaEditView3Base from './ibizsample0021-usr1114865995-wfdyna-edit-view3-base.vue';
import view_wfform_operationform from '@widgets/ibizsample0021/operation-form-form/operation-form-form.vue';
import view_form from '@widgets/ibizsample0021/usr1114284368-form/usr1114284368-form.vue';
import view_drtab from '@widgets/ibizsample0021/data-relation-drtab/data-relation-drtab.vue';
// 基于 @VIEW/@MACRO/VIEW.vue.ftl 生成
@Component({
components: {
view_wfform_operationform,
view_form,
view_drtab,
},
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 IBIZSample0021Usr1114865995WFDynaEditView3 extends IBIZSample0021Usr1114865995WFDynaEditView3Base {
}
</script>
\ No newline at end of file
......@@ -93,6 +93,7 @@ export const PageComponents = {
Vue.component('ibizsample0021-wfdyna-exp-grid-view', () => import('@pages/sample/ibizsample0021-wfdyna-exp-grid-view/ibizsample0021-wfdyna-exp-grid-view.vue'));
Vue.component('ibizsample0021-grid-view', () => import('@pages/sample/ibizsample0021-grid-view/ibizsample0021-grid-view.vue'));
Vue.component('ibizsample0021-wfdyna-action-view', () => import('@pages/sample/ibizsample0021-wfdyna-action-view/ibizsample0021-wfdyna-action-view.vue'));
Vue.component('ibizsample0021-usr1114865995-wfdyna-edit-view3', () => import('@pages/sample/ibizsample0021-usr1114865995-wfdyna-edit-view3/ibizsample0021-usr1114865995-wfdyna-edit-view3.vue'));
Vue.component('ibizbookcustom-view', () => import('@pages/sample/ibizbookcustom-view/ibizbookcustom-view.vue'));
Vue.component('ibizcustom-custom-grid-view', () => import('@pages/sample/ibizcustom-custom-grid-view/ibizcustom-custom-grid-view.vue'));
Vue.component('ibizorder-sf5-grid-view', () => import('@pages/sample/ibizorder-sf5-grid-view/ibizorder-sf5-grid-view.vue'));
......
......@@ -1439,6 +1439,20 @@ const router = new Router({
},
component: () => import('@pages/ungroup/app-panel-view2/app-panel-view2.vue'),
},
{
path: 'ibizsample0021s/:ibizsample0021?/usr1114865995wfdynaeditview3/:usr1114865995wfdynaeditview3?',
meta: {
caption: 'entities.ibizsample0021.views.usr1114865995wfdynaeditview3.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizsample0021s', parameterName: 'ibizsample0021' },
{ pathName: 'usr1114865995wfdynaeditview3', parameterName: 'usr1114865995wfdynaeditview3' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizsample0021-usr1114865995-wfdyna-edit-view3/ibizsample0021-usr1114865995-wfdyna-edit-view3.vue'),
},
{
path: 'ibizbooks/:ibizbook?/customview/:customview?',
meta: {
......@@ -4417,6 +4431,19 @@ const router = new Router({
},
component: () => import('@pages/sample/ibizorder-sedit-view4/ibizorder-sedit-view4.vue'),
},
{
path: '/ibizsample0021s/:ibizsample0021?/usr1114865995wfdynaeditview3/:usr1114865995wfdynaeditview3?',
meta: {
caption: 'entities.ibizsample0021.views.usr1114865995wfdynaeditview3.caption',
info:'',
parameters: [
{ pathName: 'ibizsample0021s', parameterName: 'ibizsample0021' },
{ pathName: 'usr1114865995wfdynaeditview3', parameterName: 'usr1114865995wfdynaeditview3' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizsample0021-usr1114865995-wfdyna-edit-view3/ibizsample0021-usr1114865995-wfdyna-edit-view3.vue'),
},
{
path: '/ibizcustomers/:ibizcustomer?/mpickupview_layout/:mpickupview_layout?',
meta: {
......
......@@ -1030,6 +1030,19 @@ const router = new Router({
},
component: () => import('@pages/sample/ibizorder-sedit-view4/ibizorder-sedit-view4.vue'),
},
{
path: '/ibizsample0021s/:ibizsample0021?/usr1114865995wfdynaeditview3/:usr1114865995wfdynaeditview3?',
meta: {
caption: 'entities.ibizsample0021.views.usr1114865995wfdynaeditview3.caption',
info:'',
parameters: [
{ pathName: 'ibizsample0021s', parameterName: 'ibizsample0021' },
{ pathName: 'usr1114865995wfdynaeditview3', parameterName: 'usr1114865995wfdynaeditview3' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizsample0021-usr1114865995-wfdyna-edit-view3/ibizsample0021-usr1114865995-wfdyna-edit-view3.vue'),
},
{
path: '/ibizcustomers/:ibizcustomer?/mpickupview_layout/:mpickupview_layout?',
meta: {
......
......@@ -757,6 +757,17 @@ export const viewstate: any = {
'6bc6e690dc5abfc6d89703e4459c785c',
],
},
{
viewtag: '53757392-B5A2-4E4C-84F6-99DCC4C490AB',
viewmodule: 'Sample',
viewname: 'IBIZSample0021Usr1114865995WFDynaEditView3',
viewaction: '',
viewdatachange: false,
refviews: [
'0161dff61fdbb4955ff92c022acc5fb4',
'0f4df2881b94c291b6e268dd172bdb67',
],
},
{
viewtag: '55c95540dba6d9b43562beb6ce69d10d',
viewmodule: 'Sample',
......@@ -913,6 +924,7 @@ export const viewstate: any = {
'abe2803e82d60899ed92c9578f0bf9d7',
'0f4df2881b94c291b6e268dd172bdb67',
'C1022CE5-B44E-467C-86F0-6EDD0940B339',
'53757392-B5A2-4E4C-84F6-99DCC4C490AB',
'a9ac702e20306caf5a733545d652cfa9',
'F25AC36D-6D69-43FA-89B4-BE7552CE99E2',
'4e142abbc82a33d405dd609368612421',
......
......@@ -101,6 +101,7 @@ export default class IBIZSample0021UIServiceBase extends UIService {
this.allViewMap.set(':',{viewname:'wfdynaactionview',srfappde:'ibizsample0021s',component:'ibizsample0021-wfdyna-action-view'});
this.allViewMap.set(':',{viewname:'wfdynaexpgridview',srfappde:'ibizsample0021s',component:'ibizsample0021-wfdyna-exp-grid-view'});
this.allViewMap.set(':',{viewname:'wfdynaeditview',srfappde:'ibizsample0021s',component:'ibizsample0021-wfdyna-edit-view'});
this.allViewMap.set(':',{viewname:'usr1114865995wfdynaeditview3',srfappde:'ibizsample0021s',component:'ibizsample0021-usr1114865995-wfdyna-edit-view3'});
this.allViewMap.set(':',{viewname:'wfdynaactionview_layout',srfappde:'ibizsample0021s',component:'ibizsample0021-wfdyna-action-view-layout'});
this.allViewMap.set('MDATAVIEW:',{viewname:'gridview',srfappde:'ibizsample0021s',component:'ibizsample0021-grid-view'});
this.allViewMap.set('EDITVIEW:',{viewname:'editview',srfappde:'ibizsample0021s',component:'ibizsample0021-edit-view'});
......
......@@ -926,6 +926,9 @@ export default class MainMenuBase extends Vue implements ControlInterface {
case 'AppFunc130':
this.clickAppFunc130(item);
return;
case 'AppFunc131':
this.clickAppFunc131(item);
return;
case 'AppFunc22':
this.clickAppFunc22(item);
return;
......@@ -3234,6 +3237,29 @@ export default class MainMenuBase extends Vue implements ControlInterface {
})
}
/**
* 工作流编辑(分页关系)
*
* @param {*} [item={}]
* @memberof MainMenu
*/
public clickAppFunc131(item: any = {}) {
const viewparam: any = {};
Object.assign(viewparam, {});
const deResParameters: any[] = [];
const parameters: any[] = [
{ pathName: 'ibizsample0021s', parameterName: 'ibizsample0021' },
{ pathName: 'usr1114865995wfdynaeditview3', parameterName: 'usr1114865995wfdynaeditview3' },
];
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);
})
}
/**
* 自定义视图
*
......
......@@ -2604,6 +2604,25 @@ export default class MainMenuModel {
appfunctag: 'AppFunc130',
resourcetag: '',
authtag:'Web-MainMenu-menuitem214',
},
{
id: '6866DEA7-CE20-414A-BA82-05023FB7EE50',
name: 'menuitem231',
text: '工作流动态编辑视图(分页关系)',
type: 'MENUITEM',
counterid: '',
tooltip: '工作流动态编辑视图(分页关系)',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'AppFunc131',
resourcetag: '',
authtag:'Web-MainMenu-menuitem231',
},
],
},
......@@ -5151,6 +5170,18 @@ export default class MainMenuModel {
{ pathName: 'apppanelview2', parameterName: 'apppanelview2' },
],
},
{
appfunctag: 'AppFunc131',
appfuncyype: 'APPVIEW',
openmode: '',
codename: 'ibizsample0021usr1114865995wfdynaeditview3',
deResParameters: [],
routepath: '/index/:index?/ibizsample0021s/:ibizsample0021?/usr1114865995wfdynaeditview3/:usr1114865995wfdynaeditview3?',
parameters: [
{ pathName: 'ibizsample0021s', parameterName: 'ibizsample0021' },
{ pathName: 'usr1114865995wfdynaeditview3', parameterName: 'usr1114865995wfdynaeditview3' },
],
},
{
appfunctag: 'AppFunc22',
appfuncyype: 'APPVIEW',
......
......@@ -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: 'IBIZBOOKListView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCalendarView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return;
}
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: 'IBIZBOOKListView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCalendarView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return;
}
const arg: any = { ...opt } ;
......
......@@ -736,7 +736,7 @@ export default class CardNavigationBase 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: 'IBIZOrderDataViewExpView_layout' + (this.$t('app.list.notConfig.fetchAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDataViewExpView' + (this.$t('app.list.notConfig.fetchAction') as string) });
return;
}
const arg: any = {...opt};
......@@ -830,7 +830,7 @@ export default class CardNavigationBase 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: 'IBIZOrderDataViewExpView_layout' + (this.$t('app.gridpage.notConfig.removeAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDataViewExpView' + (this.$t('app.gridpage.notConfig.removeAction') as string) });
return;
}
let _datas:any[] = [];
......@@ -946,7 +946,7 @@ export default class CardNavigationBase 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: 'IBIZOrderDataViewExpView_layout' + (this.$t('app.list.notConfig.createAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDataViewExpView' + (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);
......@@ -954,7 +954,7 @@ export default class CardNavigationBase 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: 'IBIZOrderDataViewExpView_layout' + (this.$t('app.list.notConfig.updateAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDataViewExpView' + (this.$t('app.list.notConfig.updateAction') as string) });
}else{
Object.assign(item,{viewparams:this.viewparams});
if(item.ibizorder){
......
......@@ -319,7 +319,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZOrderPickupGridViewBase
* @memberof IBIZOrderSF1GridViewBase
*/
public Edit(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
if (args.length === 0) {
......@@ -462,6 +462,20 @@ 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;
/**
* 是否嵌入关系界面
......@@ -996,7 +1010,7 @@ export default class MainBase extends Vue implements ControlInterface {
if (!this.fetchAction) {
this.$Notice.error({
title: this.$t("app.commonWords.wrong") as string,
desc: "IBIZOrderPickupGridView" + (this.$t("app.gridpage.notConfig.fetchAction") as string),
desc: "IBIZOrderSF1GridView" + (this.$t("app.gridpage.notConfig.fetchAction") as string),
});
return;
}
......@@ -1125,7 +1139,7 @@ export default class MainBase extends Vue implements ControlInterface {
if (!this.removeAction) {
this.$Notice.error({
title: (this.$t('app.commonWords.wrong') as string),
desc: 'IBIZOrderPickupGridView' + (this.$t('app.gridpage.notConfig.removeAction') as string)
desc: 'IBIZOrderSF1GridView' + (this.$t('app.gridpage.notConfig.removeAction') as string)
});
return;
}
......@@ -1239,7 +1253,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: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
return;
}
if(!arg){
......@@ -2170,7 +2184,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: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.createAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.createAction') as string) });
} else {
Object.assign(item, { viewparams: this.viewparams });
const tempContext = Util.deepCopy(this.context);
......@@ -2179,7 +2193,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: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.updateAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.updateAction') as string) });
} else {
Object.assign(item, { viewparams: this.viewparams });
const tempContext = Util.deepCopy(this.context);
......@@ -2255,7 +2269,7 @@ export default class MainBase extends Vue implements ControlInterface {
if(!this.loaddraftAction){
this.$Notice.error({
title: (this.$t('app.commonWords.wrong') as string),
desc: 'IBIZOrderPickupGridView' + (this.$t('app.gridpage.notConfig.loaddraftAction') as string)
desc: 'IBIZOrderSF1GridView' + (this.$t('app.gridpage.notConfig.loaddraftAction') as string)
});
return;
}
......
......@@ -105,6 +105,21 @@ 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',
......
// 基于 @CONTROL/数据关系分页部件/MODEL.ts.ftl 生成
/**
* DataRelation 部件模型
*
* @export
* @class DataRelationModel
*/
export default class DataRelationModel {
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof DataRelationModel
*/
public getDataItems(): any[] {
return [
{
name: 'ibizsample0021',
prop: 'ibizsample0021id',
},
{
name: 'createman',
},
{
name: 'createdate',
},
{
name: 'ibizsample0021name',
},
{
name: 'updateman',
},
{
name: 'updatedate',
},
{
name: 'orderstate',
},
{
name: 'ordertime',
},
{
name: 'memo',
},
{
name: 'curorgid',
},
{
name: 'curdeptid',
},
{
name: 'amount',
},
]
}
}
\ No newline at end of file
// 基于 @CONTROL/数据关系分页部件/SERVICE.ts.ftl 生成
import { Http } from '@/utils';
import ControlService from '@/widgets/control-service';
/**
* DataRelation 部件服务对象
*
* @export
* @class DataRelationService
*/
export default class DataRelationService extends ControlService {
}
\ No newline at end of file
// 基于 @CONTROL/数据关系分页部件/CONTROL.less.ftl 生成
.app-dr-tab {
.dr-tab-item {
cursor: pointer;
padding: 0 16px;
&.is-active,
&:hover {
color: #2d8cf0;
}
&.is-active {
position: relative;
}
&.is-active::after {
content: '';
width: 100%;
height: 2px;
background: #2d8cf0;
position: absolute;
left: 0px;
bottom: 0px;
}
}
}
// this is less
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import DataRelationBase from './data-relation-drtab-base.vue';
// 基于 @CONTROL/@MACRO/CONTROL/CONTROL.vue.ftl 生成
@Component({
components: {
}
})
export default class DataRelation extends DataRelationBase {
}
</script>
\ No newline at end of file
// 基于 @CONTROL/表单/MODEL.ts.ftl 生成
/**
* Usr1114284368 部件模型
*
* @export
* @class Usr1114284368Model
*/
export default class Usr1114284368Model {
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof Usr1114284368Model
*/
public getDataItems(): any[] {
return [
{
name: 'srfwfmemo',
prop: 'srfwfmemo',
dataType: 'TEXT',
},
// 前端新增修改标识,新增为"0",修改为"1"或未设值
{
name: 'srffrontuf',
prop: 'srffrontuf',
dataType: 'TEXT',
},
{
name: 'srfupdatedate',
prop: 'updatedate',
dataType: 'DATETIME',
},
{
name: 'srforikey',
},
{
name: 'srfkey',
prop: 'ibizsample0021id',
dataType: 'GUID',
},
{
name: 'srfmajortext',
prop: 'ibizsample0021name',
dataType: 'TEXT',
},
{
name: 'srftempmode',
},
{
name: 'srfuf',
},
{
name: 'srfdeid',
},
{
name: 'srfsourcekey',
},
{
name: 'ibizsample0021name',
prop: 'ibizsample0021name',
dataType: 'TEXT',
},
{
name: 'createman',
prop: 'createman',
dataType: 'TEXT',
},
{
name: 'createdate',
prop: 'createdate',
dataType: 'DATETIME',
},
{
name: 'updateman',
prop: 'updateman',
dataType: 'TEXT',
},
{
name: 'updatedate',
prop: 'updatedate',
dataType: 'DATETIME',
},
{
name: 'ibizsample0021id',
prop: 'ibizsample0021id',
dataType: 'GUID',
},
{
name: 'ibizsample0021',
prop: 'ibizsample0021id',
dataType: 'FONTKEY',
},
]
}
}
\ No newline at end of file
// 基于 @CONTROL/表单/CONTROL.less.ftl 生成
.ivu-tabs-no-animation>.ivu-tabs-content{
padding: 0 16px;
}
.ivu-card-head{
padding: 14px 0;
}
.app-form {
overflow: auto;
padding: 6px;
> .ivu-row {
> .ivu-tabs {
height: 100%;
display: flex;
flex-direction: column;
> .ivu-tabs-content {
flex-grow: 1;
overflow: auto;
> .ivu-tabs-tabpane {
height: 100%;
}
}
}
}
}
.app-tabpanel-flex {
height: 100%;
> .ivu-tabs-content {
height: calc(100% - 52px);
> .ivu-tabs-tabpane {
height: 100%;
}
}
}
.app-form {
>.ivu-row:nth-child(2) {
>.ivu-col:nth-child(1) {
>.ivu-row.app-form-group.app-group-hiddden-caption:nth-child(1) {
margin-top: 12px;
}
}
}
}
.app-form{
// 表单行间距
.app-form-item{
margin-bottom: 20px;
}
// 表单按钮margin
.app-form-button{
margin:0 6px;
}
}
// this is less
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import Usr1114284368Base from './usr1114284368-form-base.vue';
// 基于 @CONTROL/@MACRO/CONTROL/CONTROL.vue.ftl 生成
@Component({
components: {
}
})
export default class Usr1114284368 extends Usr1114284368Base {
}
</script>
\ No newline at end of file
......@@ -1455,6 +1455,12 @@
"name" : "订单工作流动态操作视图",
"realModelSubType" : "DEWFDYNAACTIONVIEW",
"realModelType" : "PSDEVIEWBASE"
}, {
"codeName" : "Usr1114865995WFDynaEditView3",
"logicName" : "实体工作流动态视图(分页关系)",
"name" : "实体工作流动态视图(分页关系)",
"realModelSubType" : "DEWFDYNAEDITVIEW3",
"realModelType" : "PSDEVIEWBASE"
}, {
"codeName" : "WFDynaExpGridView",
"logicName" : " 实体工作流动态导航表格视图",
......@@ -1534,6 +1540,13 @@
"name" : "操作表单",
"realModelSubType" : "EDITFORM",
"realModelType" : "PSDEFORM"
}, {
"codeName" : "Usr1114284368",
"logicName" : "实体工作流动态视图(分页关系)_表单",
"modelTag2" : "0",
"name" : "实体工作流动态视图(分页关系)_表单",
"realModelSubType" : "EDITFORM",
"realModelType" : "PSDEFORM"
}, {
"codeName" : "Main2",
"logicName" : "主编辑表单2",
......
......@@ -11,6 +11,16 @@
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSDETreeColumns" : [ {
"caption" : "归还日期",
"codeName" : "returntime",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "returntime",
"name" : "returntime",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "出版社",
"codeName" : "press",
"columnType" : "DEFGRIDCOLUMN",
......@@ -50,16 +60,6 @@
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "归还日期",
"codeName" : "returntime",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "returntime",
"name" : "returntime",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
} ],
"getPSDETreeNodeRSs" : [ {
"getChildPSDETreeNode" : {
......
......@@ -34,6 +34,16 @@
"id" : "GANTT"
},
"getPSDETreeColumns" : [ {
"caption" : "归还日期",
"codeName" : "returntime",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "returntime",
"name" : "returntime",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "出版社",
"codeName" : "press",
"columnType" : "DEFGRIDCOLUMN",
......@@ -73,16 +83,6 @@
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "归还日期",
"codeName" : "returntime",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "returntime",
"name" : "returntime",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
} ],
"getPSDETreeNodeRSs" : [ {
"getChildPSDETreeNode" : {
......
......@@ -2760,6 +2760,24 @@
"layout" : "TABLE_24COL"
},
"tooltip" : "统一待办"
}, {
"accUserMode" : 2,
"caption" : "工作流动态编辑视图(分页关系)",
"itemType" : "MENUITEM",
"name" : "menuitem231",
"getPSAppFunc" : {
"modelref" : true,
"id" : "AppFunc131"
},
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"tooltip" : "工作流动态编辑视图(分页关系)"
} ],
"getPSLayout" : {
"columnCount" : 24,
......
......@@ -1687,6 +1687,16 @@
"id" : "AppFunc130"
},
"tooltip" : "统一待办"
}, {
"accUserMode" : 2,
"caption" : "工作流动态编辑视图(分页关系)",
"itemType" : "MENUITEM",
"name" : "menuitem231",
"getPSAppFunc" : {
"modelref" : true,
"id" : "AppFunc131"
},
"tooltip" : "工作流动态编辑视图(分页关系)"
} ],
"tooltip" : "工作流"
}, {
......
......@@ -2219,6 +2219,16 @@
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZOrderSF1EditView.json",
"viewType" : "DEEDITVIEW"
}
}, {
"appFuncType" : "APPVIEW",
"codeName" : "AppFunc131",
"name" : "工作流编辑(分页关系)",
"openMode" : "INDEXVIEWTAB",
"getPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZSample0021Usr1114865995WFDynaEditView3.json",
"viewType" : "DEWFDYNAEDITVIEW3"
}
}, {
"appFuncType" : "APPVIEW",
"codeName" : "AppFunc116",
......@@ -13845,6 +13855,12 @@
"viewType" : "DEEDITVIEW4",
"resource" : "IBIZOrder",
"view" : "SEditView4"
}, {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZSample0021Usr1114865995WFDynaEditView3.json",
"viewType" : "DEWFDYNAEDITVIEW3",
"resource" : "IBIZSample0021",
"view" : "Usr1114865995WFDynaEditView3"
}, {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZSample0003SPickupTreeView.json",
......@@ -17909,6 +17925,24 @@
"layout" : "TABLE_24COL"
},
"tooltip" : "统一待办"
}, {
"accUserMode" : 2,
"caption" : "工作流动态编辑视图(分页关系)",
"itemType" : "MENUITEM",
"name" : "menuitem231",
"getPSAppFunc" : {
"modelref" : true,
"id" : "AppFunc131"
},
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"tooltip" : "工作流动态编辑视图(分页关系)"
} ],
"getPSLayout" : {
"columnCount" : 24,
......
......@@ -1160,7 +1160,7 @@
<!--输出实体[IBIZSAMPLE0021]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizsample0021-65-39">
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizsample0021-76-39">
<createTable tableName="T_IBIZSAMPLE0021">
<column name="IBIZSAMPLE0021ID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_IBIZSAMPLE0021_IBIZSAMPLE00"/>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册