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

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

上级 85a69ac5
......@@ -4197,6 +4197,24 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
textcls: '',
appfunctag: 'UsrAppFunc1207842515',
resourcetag: '',
},
{
id: '6CC5430B-9D49-4837-BBFB-0DD450E78A74',
name: 'menuitem262',
text: '树',
type: 'MENUITEM',
counterid: '',
tooltip: '树',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'AppFunc140',
resourcetag: '',
},
{
id: '08821630-2C3A-4EB2-949A-1210C4778289',
......
......@@ -883,6 +883,20 @@ const router = new Router({
},
component: () => import('@pages/sample/ibizappeditorlist-view/ibizappeditorlist-view.vue'),
},
{
path: '/ibizbooks/:ibizbook?/usr4treeview/:usr4treeview?',
meta: {
caption: '图书',
captionLanResTag: 'DE.LNAME.IBIZBOOK',
info:'',
parameters: [
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'usr4treeview', parameterName: 'usr4treeview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbookusr4-tree-view/ibizbookusr4-tree-view.vue'),
},
{
path: '/ibizorders/:ibizorder?/f9editview/:f9editview?',
meta: {
......
// 基于 @VIEW/实体树视图/VIEW.scss.ftl 生成
.view-card {
>.ivu-card-extra {
top: 5px;
right: 0px;
}
}
.search-contant {
height: 40px;
.ivu-input-wrapper {
max-width: 400px;
padding-top: 6px;
}
}
.tree-contant {
height: 100%;
margin: 0px 0px 16px 0;
overflow: auto;
}
.ibizbookusr4-tree-view{
position: relative;
}
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import IBIZBOOKUsr4TreeViewBase from './ibizbookusr4-tree-view-base.vue';
import view_tree from '@widgets/ibizbook/treepug-treeview/treepug-treeview.vue';
// 基于 @VIEW/实体树视图/VIEW.vue.ftl 生成
@Component({
components: {
view_tree,
},
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 IBIZBOOKUsr4TreeView extends IBIZBOOKUsr4TreeViewBase {
}
</script>
\ No newline at end of file
......@@ -159,6 +159,7 @@ export const PageComponents = {
Vue.component('ibizbookusr-list-view-plugin', () => import('@pages/sample/ibizbookusr-list-view-plugin/ibizbookusr-list-view-plugin.vue'));
Vue.component('ibizbookusr-tree-view-plugin', () => import('@pages/sample/ibizbookusr-tree-view-plugin/ibizbookusr-tree-view-plugin.vue'));
Vue.component('ibizbookusr-edit-view-ctrl-plugin', () => import('@pages/sample/ibizbookusr-edit-view-ctrl-plugin/ibizbookusr-edit-view-ctrl-plugin.vue'));
Vue.component('ibizbookusr4-tree-view', () => import('@pages/sample/ibizbookusr4-tree-view/ibizbookusr4-tree-view.vue'));
Vue.component('ibizbookusr-grid-view-ctrl-plugin', () => import('@pages/sample/ibizbookusr-grid-view-ctrl-plugin/ibizbookusr-grid-view-ctrl-plugin.vue'));
Vue.component('ibizbookusr7-list-view-list-plugin', () => import('@pages/sample/ibizbookusr7-list-view-list-plugin/ibizbookusr7-list-view-list-plugin.vue'));
Vue.component('ibizbookusr-grid-view-col-plugin', () => import('@pages/sample/ibizbookusr-grid-view-col-plugin/ibizbookusr-grid-view-col-plugin.vue'));
......
......@@ -2558,6 +2558,21 @@ const router = new Router({
},
component: () => import('@pages/sample/ibizbookusr-edit-view-ctrl-plugin/ibizbookusr-edit-view-ctrl-plugin.vue'),
},
{
path: 'ibizbooks/:ibizbook?/usr4treeview/:usr4treeview?',
meta: {
caption: '图书',
captionLanResTag: 'DE.LNAME.IBIZBOOK',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'usr4treeview', parameterName: 'usr4treeview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbookusr4-tree-view/ibizbookusr4-tree-view.vue'),
},
{
path: 'ibizbooks/:ibizbook?/usrgridview_ctrlplugin/:usrgridview_ctrlplugin?',
meta: {
......@@ -4895,6 +4910,20 @@ const router = new Router({
},
component: () => import('@pages/sample/ibizappeditorlist-view/ibizappeditorlist-view.vue'),
},
{
path: '/ibizbooks/:ibizbook?/usr4treeview/:usr4treeview?',
meta: {
caption: '图书',
captionLanResTag: 'DE.LNAME.IBIZBOOK',
info:'',
parameters: [
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'usr4treeview', parameterName: 'usr4treeview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbookusr4-tree-view/ibizbookusr4-tree-view.vue'),
},
{
path: '/ibizorders/:ibizorder?/f9editview/:f9editview?',
meta: {
......
......@@ -159,6 +159,7 @@ export const PageComponents = {
Vue.component('ibizbookusr-list-view-plugin', () => import('@pages/sample/ibizbookusr-list-view-plugin/ibizbookusr-list-view-plugin.vue'));
Vue.component('ibizbookusr-tree-view-plugin', () => import('@pages/sample/ibizbookusr-tree-view-plugin/ibizbookusr-tree-view-plugin.vue'));
Vue.component('ibizbookusr-edit-view-ctrl-plugin', () => import('@pages/sample/ibizbookusr-edit-view-ctrl-plugin/ibizbookusr-edit-view-ctrl-plugin.vue'));
Vue.component('ibizbookusr4-tree-view', () => import('@pages/sample/ibizbookusr4-tree-view/ibizbookusr4-tree-view.vue'));
Vue.component('ibizbookusr-grid-view-ctrl-plugin', () => import('@pages/sample/ibizbookusr-grid-view-ctrl-plugin/ibizbookusr-grid-view-ctrl-plugin.vue'));
Vue.component('ibizbookusr7-list-view-list-plugin', () => import('@pages/sample/ibizbookusr7-list-view-list-plugin/ibizbookusr7-list-view-list-plugin.vue'));
Vue.component('ibizbookusr-grid-view-col-plugin', () => import('@pages/sample/ibizbookusr-grid-view-col-plugin/ibizbookusr-grid-view-col-plugin.vue'));
......
......@@ -2557,6 +2557,21 @@ const router = new Router({
},
component: () => import('@pages/sample/ibizbookusr-edit-view-ctrl-plugin/ibizbookusr-edit-view-ctrl-plugin.vue'),
},
{
path: 'ibizbooks/:ibizbook?/usr4treeview/:usr4treeview?',
meta: {
caption: '图书',
captionLanResTag: 'DE.LNAME.IBIZBOOK',
info:'',
parameters: [
{ pathName: 'appindexview', parameterName: 'appindexview' },
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'usr4treeview', parameterName: 'usr4treeview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbookusr4-tree-view/ibizbookusr4-tree-view.vue'),
},
{
path: 'ibizbooks/:ibizbook?/usrgridview_ctrlplugin/:usrgridview_ctrlplugin?',
meta: {
......@@ -4894,6 +4909,20 @@ const router = new Router({
},
component: () => import('@pages/sample/ibizappeditorlist-view/ibizappeditorlist-view.vue'),
},
{
path: '/ibizbooks/:ibizbook?/usr4treeview/:usr4treeview?',
meta: {
caption: '图书',
captionLanResTag: 'DE.LNAME.IBIZBOOK',
info:'',
parameters: [
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'usr4treeview', parameterName: 'usr4treeview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbookusr4-tree-view/ibizbookusr4-tree-view.vue'),
},
{
path: '/ibizorders/:ibizorder?/f9editview/:f9editview?',
meta: {
......
......@@ -431,6 +431,15 @@ export const viewstate: any = {
'6d3a1e5d74674f7d9ba445e4708216e0',
],
},
{
viewtag: '22299f593480c67108c96ce5202eeb8c',
viewmodule: 'Sample',
viewname: 'IBIZBOOKUsr4TreeView',
viewaction: '',
viewdatachange: false,
refviews: [
],
},
{
viewtag: '231651109e4b11477dcf988577d43c3e',
viewmodule: 'Sample',
......@@ -1125,6 +1134,7 @@ export const viewstate: any = {
'D4BB9A85-DE51-4CB3-810D-D33DF0B1F8AA',
'8779C32C-B962-4AB7-9B90-E3181B16E4E7',
'793FE7EC-5E69-4D5E-85A0-23ED5F868084',
'22299f593480c67108c96ce5202eeb8c',
'CBB075E1-BDC9-4F6A-BCF4-09EC4D7370EE',
'87ee895b3ae9461006598f7943e34712',
'611B670D-30A4-44D8-A0F7-DD1266265CD6',
......@@ -3116,6 +3126,7 @@ export const viewstate: any = {
'D4BB9A85-DE51-4CB3-810D-D33DF0B1F8AA',
'8779C32C-B962-4AB7-9B90-E3181B16E4E7',
'793FE7EC-5E69-4D5E-85A0-23ED5F868084',
'22299f593480c67108c96ce5202eeb8c',
'CBB075E1-BDC9-4F6A-BCF4-09EC4D7370EE',
'87ee895b3ae9461006598f7943e34712',
'611B670D-30A4-44D8-A0F7-DD1266265CD6',
......
......@@ -121,6 +121,7 @@ export default class IBIZBOOKUIServiceBase extends UIService {
this.allViewMap.set(':',{viewname:'usr1110030546customview',viewType:'DECUSTOMVIEW',srfappde:'ibizbooks',component:'ibizbookusr1110030546-custom-view'});
this.allViewMap.set(':',{viewname:'formloadcustomview',viewType:'DECUSTOMVIEW',srfappde:'ibizbooks',component:'ibizbookform-load-custom-view'});
this.allViewMap.set(':',{viewname:'usr2listview',viewType:'DELISTVIEW',srfappde:'ibizbooks',component:'ibizbookusr2-list-view'});
this.allViewMap.set(':',{viewname:'usr4treeview',viewType:'DETREEVIEW',srfappde:'ibizbooks',component:'ibizbookusr4-tree-view'});
this.allViewMap.set(':',{viewname:'usr10editview',viewType:'DEEDITVIEW',srfappde:'ibizbooks',component:'ibizbookusr10-edit-view'});
this.allViewMap.set(':',{viewname:'usr2editview_layout',viewType:'DEEDITVIEW',srfappde:'ibizbooks',component:'ibizbookusr2-edit-view-layout'});
this.allViewMap.set(':',{viewname:'usr2pickupview',viewType:'DEPICKUPVIEW',srfappde:'ibizbooks',component:'ibizbookusr2-pickup-view'});
......
......@@ -944,6 +944,9 @@ export default class MainMenuBase extends Vue implements ControlInterface {
case 'UsrAppFunc1207842515':
this.clickUsrAppFunc1207842515(item);
return;
case 'AppFunc140':
this.clickAppFunc140(item);
return;
case 'UsrAppFunc1206983666':
this.clickUsrAppFunc1206983666(item);
return;
......@@ -4676,6 +4679,29 @@ export default class MainMenuBase extends Vue implements ControlInterface {
})
}
/**
* vue3树插件
*
* @param {*} [item={}]
* @memberof MainMenu
*/
public clickAppFunc140(item: any = {}) {
const viewparam: any = {};
Object.assign(viewparam, {});
const deResParameters: any[] = [];
const parameters: any[] = [
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'usr4treeview', parameterName: 'usr4treeview' },
];
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);
})
}
/**
* 表格部件插件(vue3)
*
......
......@@ -4658,6 +4658,26 @@ export default class MainMenuModel {
resourcetag: '',
authtag:'Web-MainMenu-menuitem252',
cappslanguageres: '',
},
{
id: '6CC5430B-9D49-4837-BBFB-0DD450E78A74',
name: 'menuitem262',
text: '树',
type: 'MENUITEM',
counterid: '',
tooltip: '树',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'AppFunc140',
resourcetag: '',
authtag:'Web-MainMenu-menuitem262',
cappslanguageres: '',
},
{
id: '08821630-2C3A-4EB2-949A-1210C4778289',
......
......@@ -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: 'IBIZBOOKUsr5DataView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr9GridView' + (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: 'IBIZBOOKUsr5DataView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr9GridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return;
}
const arg: any = { ...opt } ;
......
......@@ -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 } ;
......
// 基于 @CONTROL/树视图/MODEL.ts.ftl 生成
/**
* Treepug 部件模型
*
* @export
* @class TreepugModel
*/
export default class TreepugModel {
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof TreepugModel
*/
public getDataItems(): any[] {
return [
{
name: 'createman',
},
{
name: 'ibizbookname',
},
{
name: 'ibizbook',
prop: 'ibizbookid',
},
{
name: 'createdate',
},
{
name: 'updateman',
},
{
name: 'updatedate',
},
{
name: 'author',
},
{
name: 'price',
},
{
name: 'press',
},
{
name: 'type',
},
{
name: 'booknumber',
},
{
name: 'subtext',
},
{
name: 'lendouttime',
},
{
name: 'returntime',
},
{
name: 'icon',
},
{
name: 'sailstate',
},
{
name: 'borrowstatus',
},
{
name: 'stepstatus',
},
{
name: 'borrower',
},
{
name: 'borrowway',
},
{
name: 'returnlib',
},
{
name: 'borrowerid',
},
{
name: 'borrower1',
},
{
name: 'borrower1_id',
},
{
name: 'borrower2',
},
{
name: 'borrower2_id',
},
{
name: 'borrower3',
},
{
name: 'borrower3_id',
},
{
name: 'tag',
},
{
name: 'orgid',
},
{
name: 'deptid',
},
]
}
}
\ No newline at end of file
// 基于 @CONTROL/树视图/CONTROL.scss.ftl 生成
.tree-right-menu {
.ivu-divider-horizontal {
width: 100%;
min-width: 100%;
margin: 0 auto;
}
.ivu-dropdown-item {
position: relative;
padding-left: 32px;
> i {
position: absolute;
left: 16px;
top: 10px;
}
.ivu-icon-ios-arrow-forward {
left: initial;
right: 4px;
}
}
.ivu-dropdown {
.ivu-select-dropdown {
margin: 0;
}
}
}
.el-tree .context-menu-component .tree-node{
width: calc(100% - 15px);
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
.icon{
padding-right: 10px;
}
}
// this is scss
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import TreepugBase from './treepug-treeview-base.vue';
// 基于 @CONTROL/树视图/CONTROL.vue.ftl 生成
@Component({
components: {
}
})
export default class Treepug extends TreepugBase {
}
</script>
\ No newline at end of file
......@@ -933,7 +933,7 @@ export default class MainBase extends Vue implements ControlInterface {
if (!this.fetchAction) {
this.$Notice.error({
title: this.$t("app.commonWords.wrong") as string,
desc: "IBIZOrderDetailGridView9" + (this.$t("app.gridpage.notConfig.fetchAction") as string),
desc: "IBIZOrderDetailSGridView" + (this.$t("app.gridpage.notConfig.fetchAction") as string),
});
return;
}
......@@ -1073,7 +1073,7 @@ export default class MainBase extends Vue implements ControlInterface {
if (!this.removeAction) {
this.$Notice.error({
title: (this.$t('app.commonWords.wrong') as string),
desc: 'IBIZOrderDetailGridView9' + (this.$t('app.gridpage.notConfig.removeAction') as string)
desc: 'IBIZOrderDetailSGridView' + (this.$t('app.gridpage.notConfig.removeAction') as string)
});
return;
}
......@@ -1187,7 +1187,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: 'IBIZOrderDetailGridView9'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
return;
}
if(!arg){
......@@ -2082,7 +2082,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: 'IBIZOrderDetailGridView9'+(this.$t('app.gridpage.notConfig.createAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView'+(this.$t('app.gridpage.notConfig.createAction') as string) });
} else {
Object.assign(item, { viewparams: this.viewparams });
const tempContext = Util.deepCopy(this.context);
......@@ -2091,7 +2091,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: 'IBIZOrderDetailGridView9'+(this.$t('app.gridpage.notConfig.updateAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView'+(this.$t('app.gridpage.notConfig.updateAction') as string) });
} else {
Object.assign(item, { viewparams: this.viewparams });
const tempContext = Util.deepCopy(this.context);
......@@ -2167,7 +2167,7 @@ export default class MainBase extends Vue implements ControlInterface {
if(!this.loaddraftAction){
this.$Notice.error({
title: (this.$t('app.commonWords.wrong') as string),
desc: 'IBIZOrderDetailGridView9' + (this.$t('app.gridpage.notConfig.loaddraftAction') as string)
desc: 'IBIZOrderDetailSGridView' + (this.$t('app.gridpage.notConfig.loaddraftAction') as string)
});
return;
}
......
......@@ -414,7 +414,7 @@ export default class GridExpViewgridexpbarBase extends Vue implements ControlInt
* @type {*}
* @memberof GridExpViewgridexpbarBase
*/
public navigateContext:any =null;
public navigateContext:any ={CTXPARAM2:"%orderstate%",CTXPARAM1:"xxx2"};
/**
* 导航视图参数
......@@ -422,7 +422,7 @@ export default class GridExpViewgridexpbarBase extends Vue implements ControlInt
* @type {*}
* @memberof GridExpViewgridexpbarBase
*/
public navigateParams:any = null;
public navigateParams:any = {param2:"%ibizordername%",param1:"param3"};
/**
* 显示处理提示
......
......@@ -330,7 +330,7 @@ export default class TestCustomLayoutPanelGridExpViewgridexpbarBase extends Vue
* @type {*}
* @memberof TestCustomLayoutPanelGridExpViewgridexpbarBase
*/
public navigateContext:any =null;
public navigateContext:any ={CTXPARAM2:"%orderstate%",CTXPARAM1:"xxx2"};
/**
* 导航视图参数
......@@ -338,7 +338,7 @@ export default class TestCustomLayoutPanelGridExpViewgridexpbarBase extends Vue
* @type {*}
* @memberof TestCustomLayoutPanelGridExpViewgridexpbarBase
*/
public navigateParams:any = null;
public navigateParams:any = {param2:"%ibizordername%",param1:"param3"};
/**
* 显示处理提示
......
......@@ -5592,6 +5592,14 @@
"rTMOSFilePath" : "psmodeldata$psdataentities/Usr3DataView",
"realModelSubType" : "DEDATAVIEW",
"realModelType" : "PSDEVIEWBASE"
}, {
"codeName" : "Usr4TreeView",
"logicName" : "树插件",
"mOSFilePath" : "psmodeldata$psdataentities/Usr4TreeView",
"name" : "树插件",
"rTMOSFilePath" : "psmodeldata$psdataentities/Usr4TreeView",
"realModelSubType" : "DETREEVIEW",
"realModelType" : "PSDEVIEWBASE"
}, {
"codeName" : "InterFuncTreeView",
"logicName" : "图书实体树视图(树表格)",
......
......@@ -7611,6 +7611,10 @@
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr2ListView.json",
"viewType" : "DELISTVIEW"
}, {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr4TreeView.json",
"viewType" : "DETREEVIEW"
}, {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr10EditView.json",
......
......@@ -12,18 +12,6 @@
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSDETreeColumns" : [ {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"mOSFilePath" : "psdetreecols/ibizbookname",
"name" : "ibizbookname",
"rTMOSFilePath" : "psdetreecols/ibizbookname",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "归还日期",
"codeName" : "returntime",
"columnType" : "DEFGRIDCOLUMN",
......@@ -71,6 +59,18 @@
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"mOSFilePath" : "psdetreecols/ibizbookname",
"name" : "ibizbookname",
"rTMOSFilePath" : "psdetreecols/ibizbookname",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
} ],
"getPSDETreeNodeRSs" : [ {
"getChildPSDETreeNode" : {
......
......@@ -20,6 +20,18 @@
}
} ],
"getPSDETreeColumns" : [ {
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"mOSFilePath" : "psdetreecols/author",
"name" : "author",
"rTMOSFilePath" : "psdetreecols/author",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书描述",
"codeName" : "subtext",
"columnType" : "DEFGRIDCOLUMN",
......@@ -43,18 +55,6 @@
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"mOSFilePath" : "psdetreecols/author",
"name" : "author",
"rTMOSFilePath" : "psdetreecols/author",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
} ],
"getPSDETreeNodeRSs" : [ {
"getChildPSDETreeNode" : {
......
{
"codeName" : "Treepug",
"controlType" : "TREEVIEW",
"getCreatePSControlAction" : {
"modelref" : true,
"id" : "create"
},
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSTREEVIEWS/Treepug.json",
"getFetchPSControlAction" : {
"modelref" : true,
"id" : "fetch"
},
"getGetPSControlAction" : {
"modelref" : true,
"id" : "load"
},
"hookEventNames" : [ "SELECTIONCHANGE", "LOAD" ],
"logicName" : "树插件",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZBOOK/psdetreeviews/Treepug",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSControlLogics" : [ {
"eventNames" : "SELECTIONCHANGE;LOAD",
"logicTag" : "tree",
"logicType" : "APPVIEWENGINE",
"name" : "engine_tree",
"getPSAppViewEngine" : {
"modelref" : true,
"id" : "engine"
}
} ],
"getPSDEDataImport" : {
"modelref" : true,
"id" : "DataImport"
},
"getPSDETreeNodeRSs" : [ {
"getChildPSDETreeNode" : {
"modelref" : true,
"id" : "test1"
},
"name" : "默认根节点 - 测试1",
"getParentPSDETreeNode" : {
"modelref" : true,
"id" : "ROOT"
},
"parentValueLevel" : 1,
"searchMode" : 3
} ],
"getPSDETreeNodes" : [ {
"counterMode" : 0,
"name" : "测试1",
"nodeType" : "test1",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"text" : "测试1",
"treeNodeType" : "STATIC",
"hasPSDETreeNodeRSs" : false,
"appendPNodeId" : false,
"disableSelect" : false,
"enableCheck" : false,
"enableEditData" : false,
"enableNewData" : false,
"enableQuickCreate" : false,
"enableQuickSearch" : false,
"enableRemoveData" : false,
"enableViewData" : false,
"expandFirstOnly" : false,
"expanded" : false,
"rootNode" : false,
"selectFirstOnly" : false,
"selected" : false,
"id" : "test1"
}, {
"counterMode" : 0,
"name" : "默认根节点",
"nodeType" : "ROOT",
"nodeValue" : "root",
"text" : "默认根节点",
"treeNodeType" : "STATIC",
"hasPSDETreeNodeRSs" : true,
"appendPNodeId" : false,
"disableSelect" : false,
"enableCheck" : false,
"enableEditData" : false,
"enableNewData" : false,
"enableQuickCreate" : false,
"enableQuickSearch" : false,
"enableRemoveData" : false,
"enableViewData" : false,
"expandFirstOnly" : false,
"expanded" : false,
"rootNode" : true,
"selectFirstOnly" : false,
"selected" : false,
"id" : "ROOT"
} ],
"rTMOSFilePath" : "pssysapps/Web/psappdeviews/IBIZBOOKUsr4TreeView/psappviewctrls/tree",
"getRemovePSControlAction" : {
"modelref" : true,
"id" : "remove"
},
"treeGridMode" : 0,
"getUpdatePSControlAction" : {
"modelref" : true,
"id" : "update"
},
"enableRootSelect" : false,
"outputIconDefault" : true,
"rootVisible" : false,
"modelid" : "19826ED0-0E34-4E0B-804E-41588A4F8CA4",
"modeltype" : "PSDETREEVIEW"
}
\ No newline at end of file
......@@ -264,6 +264,28 @@
"rTMOSFilePath" : "psdegridcols/srfkey",
"allowEmpty" : true
} ],
"getPSNavigateContexts" : [ {
"key" : "CTXPARAM2",
"name" : "CTXPARAM2",
"value" : "orderstate",
"rawValue" : false
}, {
"key" : "CTXPARAM1",
"name" : "CTXPARAM1",
"value" : "xxx2",
"rawValue" : true
} ],
"getPSNavigateParams" : [ {
"key" : "param2",
"name" : "param2",
"value" : "ibizordername",
"rawValue" : false
}, {
"key" : "param1",
"name" : "param1",
"value" : "param3",
"rawValue" : true
} ],
"pagingSize" : 20,
"rTMOSFilePath" : "pssysapps/Web/psappdeviews/IBIZOrderGridExpView/psappviewctrls/gridexpbar_grid",
"getRemovePSControlAction" : {
......
......@@ -42,18 +42,6 @@
"id" : "GANTT"
},
"getPSDETreeColumns" : [ {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"mOSFilePath" : "psdetreecols/ibizbookname",
"name" : "ibizbookname",
"rTMOSFilePath" : "psdetreecols/ibizbookname",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "归还日期",
"codeName" : "returntime",
"columnType" : "DEFGRIDCOLUMN",
......@@ -101,6 +89,18 @@
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"mOSFilePath" : "psdetreecols/ibizbookname",
"name" : "ibizbookname",
"rTMOSFilePath" : "psdetreecols/ibizbookname",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
} ],
"getPSDETreeNodeRSs" : [ {
"getChildPSDETreeNode" : {
......
......@@ -88,6 +88,18 @@
"id" : "TREEGRIDEX"
},
"getPSDETreeColumns" : [ {
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"mOSFilePath" : "psdetreecols/author",
"name" : "author",
"rTMOSFilePath" : "psdetreecols/author",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书描述",
"codeName" : "subtext",
"columnType" : "DEFGRIDCOLUMN",
......@@ -111,18 +123,6 @@
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"mOSFilePath" : "psdetreecols/author",
"name" : "author",
"rTMOSFilePath" : "psdetreecols/author",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
} ],
"getPSDETreeNodeRSs" : [ {
"getChildPSDETreeNode" : {
......
{
"accUserMode" : 2,
"getCapPSLanguageRes" : {
"lanResTag" : "DE.LNAME.IBIZBOOK",
"mOSFilePath" : "pslanguageres/Auto395",
"rTMOSFilePath" : "pslanguageres/Auto395"
},
"caption" : "图书",
"codeName" : "IBIZBOOKUsr4TreeView",
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr4TreeView.json",
"mDCtrlActiveMode" : 2,
"mOSFilePath" : "pssysapps/Web/psappdeviews/IBIZBOOKUsr4TreeView",
"name" : "IBIZBOOKUsr4TreeView",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSAppModule" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPMODULES/Sample.json"
},
"getPSAppViewEngines" : [ {
"engineCat" : "VIEW",
"engineType" : "TreeView",
"mOSFilePath" : "pssysapps/Web/psappdeviews/IBIZBOOKUsr4TreeView/psappviewengines/engine",
"name" : "engine",
"getPSUIEngineParams" : [ {
"ctrlName" : "tree",
"name" : "TREE",
"paramType" : "CTRL"
} ]
} ],
"getPSControls" : [ {
"codeName" : "Treepug",
"controlType" : "TREEVIEW",
"getCreatePSControlAction" : {
"modelref" : true,
"id" : "create"
},
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSTREEVIEWS/Treepug.json",
"getFetchPSControlAction" : {
"modelref" : true,
"id" : "fetch"
},
"getGetPSControlAction" : {
"modelref" : true,
"id" : "load"
},
"hookEventNames" : [ "SELECTIONCHANGE", "LOAD" ],
"logicName" : "树插件",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZBOOK/psdetreeviews/Treepug",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSControlHandler" : {
"getPSHandlerActions" : [ {
"actionName" : "Get",
"actionType" : "DEACTION",
"dataAccessAction" : "READ",
"name" : "load",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Get"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}
}, {
"actionName" : "Create",
"actionType" : "DEACTION",
"dataAccessAction" : "CREATE",
"name" : "create",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Create"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}
}, {
"actionName" : "Update",
"actionType" : "DEACTION",
"dataAccessAction" : "UPDATE",
"name" : "update",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Update"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}
}, {
"actionName" : "Remove",
"actionType" : "DEACTION",
"dataAccessAction" : "DELETE",
"name" : "remove",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Remove"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}
}, {
"actionType" : "DEDATASET",
"name" : "fetch",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}
} ],
"userDRAction" : "READ",
"enableDEFieldPrivilege" : false,
"id" : "树视图处理器"
},
"getPSControlLogics" : [ {
"eventNames" : "SELECTIONCHANGE;LOAD",
"logicTag" : "tree",
"logicType" : "APPVIEWENGINE",
"name" : "engine_tree",
"getPSAppViewEngine" : {
"modelref" : true,
"id" : "engine"
}
} ],
"getPSControlParam" : {
"autoLoad" : true,
"showBusyIndicator" : true,
"id" : "TREE"
},
"getPSDEDataImport" : {
"modelref" : true,
"id" : "DataImport"
},
"getPSDETreeNodeRSs" : [ {
"getChildPSDETreeNode" : {
"modelref" : true,
"id" : "test1"
},
"name" : "默认根节点 - 测试1",
"getParentPSDETreeNode" : {
"modelref" : true,
"id" : "ROOT"
},
"parentValueLevel" : 1,
"searchMode" : 3
} ],
"getPSDETreeNodes" : [ {
"counterMode" : 0,
"name" : "测试1",
"nodeType" : "test1",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"text" : "测试1",
"treeNodeType" : "STATIC",
"hasPSDETreeNodeRSs" : false,
"appendPNodeId" : false,
"disableSelect" : false,
"enableCheck" : false,
"enableEditData" : false,
"enableNewData" : false,
"enableQuickCreate" : false,
"enableQuickSearch" : false,
"enableRemoveData" : false,
"enableViewData" : false,
"expandFirstOnly" : false,
"expanded" : false,
"rootNode" : false,
"selectFirstOnly" : false,
"selected" : false,
"id" : "test1"
}, {
"counterMode" : 0,
"name" : "默认根节点",
"nodeType" : "ROOT",
"nodeValue" : "root",
"text" : "默认根节点",
"treeNodeType" : "STATIC",
"hasPSDETreeNodeRSs" : true,
"appendPNodeId" : false,
"disableSelect" : false,
"enableCheck" : false,
"enableEditData" : false,
"enableNewData" : false,
"enableQuickCreate" : false,
"enableQuickSearch" : false,
"enableRemoveData" : false,
"enableViewData" : false,
"expandFirstOnly" : false,
"expanded" : false,
"rootNode" : true,
"selectFirstOnly" : false,
"selected" : false,
"id" : "ROOT"
} ],
"rTMOSFilePath" : "pssysapps/Web/psappdeviews/IBIZBOOKUsr4TreeView/psappviewctrls/tree",
"getRemovePSControlAction" : {
"modelref" : true,
"id" : "remove"
},
"treeGridMode" : 0,
"getUpdatePSControlAction" : {
"modelref" : true,
"id" : "update"
},
"enableRootSelect" : false,
"outputIconDefault" : true,
"rootVisible" : false,
"name" : "tree",
"modelid" : "19826ED0-0E34-4E0B-804E-41588A4F8CA4",
"modeltype" : "PSDETREEVIEW"
} ],
"getPSDEViewCodeName" : "Usr4TreeView",
"getPSDEViewId" : "DECBBA8D-5F95-4DD5-A846-24F20AAFE7D8",
"getPSViewLayoutPanel" : {
"codeName" : "Layoutpanel",
"controlStyle" : "APPDETREEVIEW",
"controlType" : "VIEWLAYOUTPANEL",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZBOOK/pssysviewlayoutpanels/Layoutpanel",
"name" : "layoutpanel",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSControlParam" : { },
"rTMOSFilePath" : "pssysapps/Web/psappdeviews/IBIZBOOKUsr4TreeView/psappviewctrls/layoutpanel",
"layoutBodyOnly" : true,
"layoutPanel" : true,
"useDefaultLayout" : true
},
"rTMOSFilePath" : "pssysapps/Web/psappdeviews/IBIZBOOKUsr4TreeView",
"title" : "图书树视图",
"viewStyle" : "DEFAULT",
"viewType" : "DETREEVIEW",
"xDataControlName" : "tree",
"enableDP" : true,
"enableFilter" : false,
"modelid" : "22299f593480c67108c96ce5202eeb8c",
"modeltype" : "PSAPPDEVIEW"
}
\ No newline at end of file
......@@ -543,6 +543,28 @@
"rTMOSFilePath" : "psdegridcols/srfkey",
"allowEmpty" : true
} ],
"getPSNavigateContexts" : [ {
"key" : "CTXPARAM2",
"name" : "CTXPARAM2",
"value" : "orderstate",
"rawValue" : false
}, {
"key" : "CTXPARAM1",
"name" : "CTXPARAM1",
"value" : "xxx2",
"rawValue" : true
} ],
"getPSNavigateParams" : [ {
"key" : "param2",
"name" : "param2",
"value" : "ibizordername",
"rawValue" : false
}, {
"key" : "param1",
"name" : "param1",
"value" : "param3",
"rawValue" : true
} ],
"pagingSize" : 20,
"rTMOSFilePath" : "pssysapps/Web/psappdeviews/IBIZOrderGridExpView/psappviewctrls/gridexpbar_grid",
"getRemovePSControlAction" : {
......
......@@ -454,6 +454,28 @@
"rTMOSFilePath" : "psdegridcols/srfkey",
"allowEmpty" : true
} ],
"getPSNavigateContexts" : [ {
"key" : "CTXPARAM2",
"name" : "CTXPARAM2",
"value" : "orderstate",
"rawValue" : false
}, {
"key" : "CTXPARAM1",
"name" : "CTXPARAM1",
"value" : "xxx2",
"rawValue" : true
} ],
"getPSNavigateParams" : [ {
"key" : "param2",
"name" : "param2",
"value" : "ibizordername",
"rawValue" : false
}, {
"key" : "param1",
"name" : "param1",
"value" : "param3",
"rawValue" : true
} ],
"pagingSize" : 20,
"rTMOSFilePath" : "pssysapps/Web/psappdeviews/IBIZOrderTestCustomLayoutPanelGridExpView/psappviewctrls/gridexpbar_grid",
"getRemovePSControlAction" : {
......
......@@ -5224,6 +5224,22 @@
"layout" : "TABLE"
},
"tooltip" : "表单"
}, {
"accUserMode" : 2,
"caption" : "树",
"itemType" : "MENUITEM",
"name" : "menuitem262",
"getPSAppFunc" : {
"modelref" : true,
"id" : "AppFunc140"
},
"getPSLayout" : {
"layout" : "TABLE"
},
"getPSLayoutPos" : {
"layout" : "TABLE"
},
"tooltip" : "树"
}, {
"accUserMode" : 2,
"caption" : "表格",
......
......@@ -4345,6 +4345,22 @@
"layout" : "TABLE"
},
"tooltip" : "表单"
}, {
"accUserMode" : 2,
"caption" : "树",
"itemType" : "MENUITEM",
"name" : "menuitem262",
"getPSAppFunc" : {
"modelref" : true,
"id" : "AppFunc140"
},
"getPSLayout" : {
"layout" : "TABLE"
},
"getPSLayoutPos" : {
"layout" : "TABLE"
},
"tooltip" : "树"
}, {
"accUserMode" : 2,
"caption" : "表格",
......
......@@ -2962,6 +2962,16 @@
"id" : "UsrAppFunc1207842515"
},
"tooltip" : "表单"
}, {
"accUserMode" : 2,
"caption" : "树",
"itemType" : "MENUITEM",
"name" : "menuitem262",
"getPSAppFunc" : {
"modelref" : true,
"id" : "AppFunc140"
},
"tooltip" : "树"
}, {
"accUserMode" : 2,
"caption" : "表格",
......
......@@ -2798,6 +2798,18 @@
"viewType" : "DEEDITVIEW4"
},
"rTMOSFilePath" : "pssysapps/Web/psappfuncs/AppFunc105"
}, {
"appFuncType" : "APPVIEW",
"codeName" : "AppFunc140",
"mOSFilePath" : "pssysapps/Web/psappfuncs/AppFunc140",
"name" : "vue3树插件",
"openMode" : "INDEXVIEWTAB",
"getPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr4TreeView.json",
"viewType" : "DETREEVIEW"
},
"rTMOSFilePath" : "pssysapps/Web/psappfuncs/AppFunc140"
}, {
"appFuncType" : "APPVIEW",
"codeName" : "AppFunc6",
......@@ -16506,6 +16518,12 @@
"viewType" : "DELISTVIEW",
"resource" : "IBIZAPPEDITOR",
"view" : "ListView"
}, {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr4TreeView.json",
"viewType" : "DETREEVIEW",
"resource" : "IBIZBOOK",
"view" : "Usr4TreeView"
}, {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZSample0003SF3EditView.json",
......@@ -22755,6 +22773,22 @@
"layout" : "TABLE"
},
"tooltip" : "表单"
}, {
"accUserMode" : 2,
"caption" : "树",
"itemType" : "MENUITEM",
"name" : "menuitem262",
"getPSAppFunc" : {
"modelref" : true,
"id" : "AppFunc140"
},
"getPSLayout" : {
"layout" : "TABLE"
},
"getPSLayoutPos" : {
"layout" : "TABLE"
},
"tooltip" : "树"
}, {
"accUserMode" : 2,
"caption" : "表格",
......@@ -36710,6 +36744,10 @@
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr2ListView.json",
"viewType" : "DELISTVIEW"
}, {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr4TreeView.json",
"viewType" : "DETREEVIEW"
}, {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKUsr10EditView.json",
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册