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

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

上级 91f0b6a5
...@@ -482,6 +482,7 @@ function getAppLocale(){ ...@@ -482,6 +482,7 @@ function getAppLocale(){
menuitem256: commonLogic.appcommonhandle("表单布局测试",null), menuitem256: commonLogic.appcommonhandle("表单布局测试",null),
menuitem257: commonLogic.appcommonhandle("vue3视图部件测试",null), menuitem257: commonLogic.appcommonhandle("vue3视图部件测试",null),
menuitem258: commonLogic.appcommonhandle("树视图",null), menuitem258: commonLogic.appcommonhandle("树视图",null),
menuitem264: commonLogic.appcommonhandle("分页搜索",null),
menuitem261: commonLogic.appcommonhandle("选项操作视图",null), menuitem261: commonLogic.appcommonhandle("选项操作视图",null),
menuitem263: commonLogic.appcommonhandle("列表导航测试",null), menuitem263: commonLogic.appcommonhandle("列表导航测试",null),
}, },
......
...@@ -482,6 +482,7 @@ function getAppLocale(){ ...@@ -482,6 +482,7 @@ function getAppLocale(){
menuitem256: commonLogic.appcommonhandle("表单布局测试",null), menuitem256: commonLogic.appcommonhandle("表单布局测试",null),
menuitem257: commonLogic.appcommonhandle("vue3视图部件测试",null), menuitem257: commonLogic.appcommonhandle("vue3视图部件测试",null),
menuitem258: commonLogic.appcommonhandle("树视图",null), menuitem258: commonLogic.appcommonhandle("树视图",null),
menuitem264: commonLogic.appcommonhandle("分页搜索",null),
menuitem261: commonLogic.appcommonhandle("选项操作视图",null), menuitem261: commonLogic.appcommonhandle("选项操作视图",null),
menuitem263: commonLogic.appcommonhandle("列表导航测试",null), menuitem263: commonLogic.appcommonhandle("列表导航测试",null),
}, },
......
...@@ -482,6 +482,7 @@ function getAppLocale(){ ...@@ -482,6 +482,7 @@ function getAppLocale(){
menuitem256: commonLogic.appcommonhandle("表单布局测试",null), menuitem256: commonLogic.appcommonhandle("表单布局测试",null),
menuitem257: commonLogic.appcommonhandle("vue3视图部件测试",null), menuitem257: commonLogic.appcommonhandle("vue3视图部件测试",null),
menuitem258: commonLogic.appcommonhandle("树视图",null), menuitem258: commonLogic.appcommonhandle("树视图",null),
menuitem264: commonLogic.appcommonhandle("分页搜索",null),
menuitem261: commonLogic.appcommonhandle("选项操作视图",null), menuitem261: commonLogic.appcommonhandle("选项操作视图",null),
menuitem263: commonLogic.appcommonhandle("列表导航测试",null), menuitem263: commonLogic.appcommonhandle("列表导航测试",null),
}, },
......
...@@ -2756,6 +2756,8 @@ function getLocaleResourceBase(){ ...@@ -2756,6 +2756,8 @@ function getLocaleResourceBase(){
}, },
usr7listview_listplugintoolbar_toolbar: { usr7listview_listplugintoolbar_toolbar: {
}, },
usr4gridviewtoolbar_toolbar: {
},
usr4listviewtoolbar_toolbar: { usr4listviewtoolbar_toolbar: {
deuiaction1: { deuiaction1: {
caption: commonLogic.appcommonhandle("新建",null), caption: commonLogic.appcommonhandle("新建",null),
...@@ -2962,8 +2964,6 @@ function getLocaleResourceBase(){ ...@@ -2962,8 +2964,6 @@ function getLocaleResourceBase(){
tip: commonLogic.appcommonhandle("数据导入",null), tip: commonLogic.appcommonhandle("数据导入",null),
}, },
}, },
usr4gridviewtoolbar_toolbar: {
},
dataviewtoolbar_toolbar: { dataviewtoolbar_toolbar: {
deuiaction1: { deuiaction1: {
caption: commonLogic.appcommonhandle("新建",null), caption: commonLogic.appcommonhandle("新建",null),
......
...@@ -2757,6 +2757,8 @@ function getLocaleResourceBase(){ ...@@ -2757,6 +2757,8 @@ function getLocaleResourceBase(){
}, },
usr7listview_listplugintoolbar_toolbar: { usr7listview_listplugintoolbar_toolbar: {
}, },
usr4gridviewtoolbar_toolbar: {
},
usr4listviewtoolbar_toolbar: { usr4listviewtoolbar_toolbar: {
deuiaction1: { deuiaction1: {
caption: commonLogic.appcommonhandle("New",null), caption: commonLogic.appcommonhandle("New",null),
...@@ -2963,8 +2965,6 @@ function getLocaleResourceBase(){ ...@@ -2963,8 +2965,6 @@ function getLocaleResourceBase(){
tip: commonLogic.appcommonhandle("数据导入",null), tip: commonLogic.appcommonhandle("数据导入",null),
}, },
}, },
usr4gridviewtoolbar_toolbar: {
},
dataviewtoolbar_toolbar: { dataviewtoolbar_toolbar: {
deuiaction1: { deuiaction1: {
caption: commonLogic.appcommonhandle("New",null), caption: commonLogic.appcommonhandle("New",null),
......
...@@ -2756,6 +2756,8 @@ function getLocaleResourceBase(){ ...@@ -2756,6 +2756,8 @@ function getLocaleResourceBase(){
}, },
usr7listview_listplugintoolbar_toolbar: { usr7listview_listplugintoolbar_toolbar: {
}, },
usr4gridviewtoolbar_toolbar: {
},
usr4listviewtoolbar_toolbar: { usr4listviewtoolbar_toolbar: {
deuiaction1: { deuiaction1: {
caption: commonLogic.appcommonhandle("新建",null), caption: commonLogic.appcommonhandle("新建",null),
...@@ -2962,8 +2964,6 @@ function getLocaleResourceBase(){ ...@@ -2962,8 +2964,6 @@ function getLocaleResourceBase(){
tip: commonLogic.appcommonhandle("数据导入",null), tip: commonLogic.appcommonhandle("数据导入",null),
}, },
}, },
usr4gridviewtoolbar_toolbar: {
},
dataviewtoolbar_toolbar: { dataviewtoolbar_toolbar: {
deuiaction1: { deuiaction1: {
caption: commonLogic.appcommonhandle("新建",null), caption: commonLogic.appcommonhandle("新建",null),
......
...@@ -4365,6 +4365,24 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => { ...@@ -4365,6 +4365,24 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
textcls: '', textcls: '',
appfunctag: 'AppFunc137', appfunctag: 'AppFunc137',
resourcetag: '', resourcetag: '',
},
{
id: '717F715E-5EF0-4577-9FBF-698AE7ACB6DC',
name: 'menuitem264',
text: '分页搜索',
type: 'MENUITEM',
counterid: '',
tooltip: '分页搜索',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'AppFunc143',
resourcetag: '',
}, },
{ {
id: 'AB033475-22A1-4897-AEFD-67B46D9CB57B', id: 'AB033475-22A1-4897-AEFD-67B46D9CB57B',
......
...@@ -3171,6 +3171,19 @@ const router = new Router({ ...@@ -3171,6 +3171,19 @@ const router = new Router({
}, },
component: () => import('@pages/sample/ibizbookwizard-view-layout/ibizbookwizard-view-layout.vue'), component: () => import('@pages/sample/ibizbookwizard-view-layout/ibizbookwizard-view-layout.vue'),
}, },
{
path: '/ibizbooks/:ibizbook?/tabsearchview/:tabsearchview?',
meta: {
caption: 'entities.ibizbook.views.tabsearchview.caption',
info:'',
parameters: [
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'tabsearchview', parameterName: 'tabsearchview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbooktab-search-view/ibizbooktab-search-view.vue'),
},
{ {
path: '/ibizbooks/:ibizbook?/interfunckanbanview/:interfunckanbanview?', path: '/ibizbooks/:ibizbook?/interfunckanbanview/:interfunckanbanview?',
meta: { meta: {
......
// 基于 @VIEW/实体分页搜索视图/VIEW.less.ftl 生成
.ibizbooktab-search-view{
position: relative;
}
.detabsearchview{
.toolbars-container{
margin-bottom: 6px;
.tab-panel-group{
float: right;
.el-radio-button__inner{
color: #303133;
padding: 12px;
min-width: 42px;
min-height: 42px;
i{
font-size: 14px;
}
}
.el-radio-button.is-active .el-radio-button__inner{
background-color: #c5c8ce;
border-color: #c5c8ce;
box-shadow: -1px 0 0 0 #c5c8ce;
}
}
}
.tabexppanel {
> .ivu-tabs-bar{
display: none;
}
> .ivu-tabs-content{
border-top: 1px solid #dcdee2;
height: 100%;
}
}
}
.ibizbooktab-search-view {
> .view-card > .ivu-card-body > .content-container {
height: calc(100% - 42px);
> .tabviewpanel {
overflow: auto;
}
}
}
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import IBIZBOOKTabSearchViewBase from './ibizbooktab-search-view-base.vue';
import view_searchform from '@widgets/ibizbook/default-searchform/default-searchform.vue';
import view_tabexppanel from '@widgets/ibizbook/tab-search-viewtabexppanel-tabexppanel/tab-search-viewtabexppanel-tabexppanel.vue';
// 基于 @VIEW/实体分页搜索视图/VIEW.vue.ftl 生成
@Component({
components: {
view_searchform,
view_tabexppanel,
},
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 IBIZBOOKTabSearchView extends IBIZBOOKTabSearchViewBase {
}
</script>
\ No newline at end of file
...@@ -166,6 +166,7 @@ export const PageComponents = { ...@@ -166,6 +166,7 @@ export const PageComponents = {
Vue.component('ibizbookusr-edit-view-action-plugin', () => import('@pages/sample/ibizbookusr-edit-view-action-plugin/ibizbookusr-edit-view-action-plugin.vue')); Vue.component('ibizbookusr-edit-view-action-plugin', () => import('@pages/sample/ibizbookusr-edit-view-action-plugin/ibizbookusr-edit-view-action-plugin.vue'));
Vue.component('ibizbookusr10-edit-view', () => import('@pages/sample/ibizbookusr10-edit-view/ibizbookusr10-edit-view.vue')); Vue.component('ibizbookusr10-edit-view', () => import('@pages/sample/ibizbookusr10-edit-view/ibizbookusr10-edit-view.vue'));
Vue.component('ibizbookusr3-tree-view', () => import('@pages/sample/ibizbookusr3-tree-view/ibizbookusr3-tree-view.vue')); Vue.component('ibizbookusr3-tree-view', () => import('@pages/sample/ibizbookusr3-tree-view/ibizbookusr3-tree-view.vue'));
Vue.component('ibizbooktab-search-view', () => import('@pages/sample/ibizbooktab-search-view/ibizbooktab-search-view.vue'));
Vue.component('ibizbookusr2-option-view', () => import('@pages/sample/ibizbookusr2-option-view/ibizbookusr2-option-view.vue')); Vue.component('ibizbookusr2-option-view', () => import('@pages/sample/ibizbookusr2-option-view/ibizbookusr2-option-view.vue'));
Vue.component('ibizbooklist-exp-view', () => import('@pages/sample/ibizbooklist-exp-view/ibizbooklist-exp-view.vue')); Vue.component('ibizbooklist-exp-view', () => import('@pages/sample/ibizbooklist-exp-view/ibizbooklist-exp-view.vue'));
Vue.component('ibizappviewgrid-view', () => import('@pages/sample/ibizappviewgrid-view/ibizappviewgrid-view.vue')); Vue.component('ibizappviewgrid-view', () => import('@pages/sample/ibizappviewgrid-view/ibizappviewgrid-view.vue'));
......
...@@ -2489,6 +2489,20 @@ const router = new Router({ ...@@ -2489,6 +2489,20 @@ const router = new Router({
}, },
component: () => import('@pages/sample/ibizbookusr3-tree-view/ibizbookusr3-tree-view.vue'), component: () => import('@pages/sample/ibizbookusr3-tree-view/ibizbookusr3-tree-view.vue'),
}, },
{
path: 'ibizbooks/:ibizbook?/tabsearchview/:tabsearchview?',
meta: {
caption: 'entities.ibizbook.views.tabsearchview.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'tabsearchview', parameterName: 'tabsearchview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbooktab-search-view/ibizbooktab-search-view.vue'),
},
{ {
path: 'ibizbooks/:ibizbook?/usr2optionview/:usr2optionview?', path: 'ibizbooks/:ibizbook?/usr2optionview/:usr2optionview?',
meta: { meta: {
...@@ -6949,6 +6963,19 @@ const router = new Router({ ...@@ -6949,6 +6963,19 @@ const router = new Router({
}, },
component: () => import('@pages/sample/ibizbookwizard-view-layout/ibizbookwizard-view-layout.vue'), component: () => import('@pages/sample/ibizbookwizard-view-layout/ibizbookwizard-view-layout.vue'),
}, },
{
path: '/ibizbooks/:ibizbook?/tabsearchview/:tabsearchview?',
meta: {
caption: 'entities.ibizbook.views.tabsearchview.caption',
info:'',
parameters: [
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'tabsearchview', parameterName: 'tabsearchview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbooktab-search-view/ibizbooktab-search-view.vue'),
},
{ {
path: '/ibizbooks/:ibizbook?/interfunckanbanview/:interfunckanbanview?', path: '/ibizbooks/:ibizbook?/interfunckanbanview/:interfunckanbanview?',
meta: { meta: {
......
...@@ -166,6 +166,7 @@ export const PageComponents = { ...@@ -166,6 +166,7 @@ export const PageComponents = {
Vue.component('ibizbookusr-edit-view-action-plugin', () => import('@pages/sample/ibizbookusr-edit-view-action-plugin/ibizbookusr-edit-view-action-plugin.vue')); Vue.component('ibizbookusr-edit-view-action-plugin', () => import('@pages/sample/ibizbookusr-edit-view-action-plugin/ibizbookusr-edit-view-action-plugin.vue'));
Vue.component('ibizbookusr10-edit-view', () => import('@pages/sample/ibizbookusr10-edit-view/ibizbookusr10-edit-view.vue')); Vue.component('ibizbookusr10-edit-view', () => import('@pages/sample/ibizbookusr10-edit-view/ibizbookusr10-edit-view.vue'));
Vue.component('ibizbookusr3-tree-view', () => import('@pages/sample/ibizbookusr3-tree-view/ibizbookusr3-tree-view.vue')); Vue.component('ibizbookusr3-tree-view', () => import('@pages/sample/ibizbookusr3-tree-view/ibizbookusr3-tree-view.vue'));
Vue.component('ibizbooktab-search-view', () => import('@pages/sample/ibizbooktab-search-view/ibizbooktab-search-view.vue'));
Vue.component('ibizbookusr2-option-view', () => import('@pages/sample/ibizbookusr2-option-view/ibizbookusr2-option-view.vue')); Vue.component('ibizbookusr2-option-view', () => import('@pages/sample/ibizbookusr2-option-view/ibizbookusr2-option-view.vue'));
Vue.component('ibizbooklist-exp-view', () => import('@pages/sample/ibizbooklist-exp-view/ibizbooklist-exp-view.vue')); Vue.component('ibizbooklist-exp-view', () => import('@pages/sample/ibizbooklist-exp-view/ibizbooklist-exp-view.vue'));
Vue.component('ibizappviewgrid-view', () => import('@pages/sample/ibizappviewgrid-view/ibizappviewgrid-view.vue')); Vue.component('ibizappviewgrid-view', () => import('@pages/sample/ibizappviewgrid-view/ibizappviewgrid-view.vue'));
......
...@@ -2489,6 +2489,20 @@ const router = new Router({ ...@@ -2489,6 +2489,20 @@ const router = new Router({
}, },
component: () => import('@pages/sample/ibizbookusr3-tree-view/ibizbookusr3-tree-view.vue'), component: () => import('@pages/sample/ibizbookusr3-tree-view/ibizbookusr3-tree-view.vue'),
}, },
{
path: 'ibizbooks/:ibizbook?/tabsearchview/:tabsearchview?',
meta: {
caption: 'entities.ibizbook.views.tabsearchview.caption',
info:'',
parameters: [
{ pathName: 'appindexview', parameterName: 'appindexview' },
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'tabsearchview', parameterName: 'tabsearchview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbooktab-search-view/ibizbooktab-search-view.vue'),
},
{ {
path: 'ibizbooks/:ibizbook?/usr2optionview/:usr2optionview?', path: 'ibizbooks/:ibizbook?/usr2optionview/:usr2optionview?',
meta: { meta: {
...@@ -6949,6 +6963,19 @@ const router = new Router({ ...@@ -6949,6 +6963,19 @@ const router = new Router({
}, },
component: () => import('@pages/sample/ibizbookwizard-view-layout/ibizbookwizard-view-layout.vue'), component: () => import('@pages/sample/ibizbookwizard-view-layout/ibizbookwizard-view-layout.vue'),
}, },
{
path: '/ibizbooks/:ibizbook?/tabsearchview/:tabsearchview?',
meta: {
caption: 'entities.ibizbook.views.tabsearchview.caption',
info:'',
parameters: [
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'tabsearchview', parameterName: 'tabsearchview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbooktab-search-view/ibizbooktab-search-view.vue'),
},
{ {
path: '/ibizbooks/:ibizbook?/interfunckanbanview/:interfunckanbanview?', path: '/ibizbooks/:ibizbook?/interfunckanbanview/:interfunckanbanview?',
meta: { meta: {
......
...@@ -1141,6 +1141,7 @@ export const viewstate: any = { ...@@ -1141,6 +1141,7 @@ export const viewstate: any = {
'F7892096-9D26-49A7-A1E6-9D49CE5D60EA', 'F7892096-9D26-49A7-A1E6-9D49CE5D60EA',
'237aa26a288713e29a1e733394564d3a', '237aa26a288713e29a1e733394564d3a',
'406f27bfbbbe3bb0f15d8d77ca63e24c', '406f27bfbbbe3bb0f15d8d77ca63e24c',
'cac82d0ff3dfbb0d7980d0d49a25d026',
'33e9f40b8b9255757f792baf79a8e309', '33e9f40b8b9255757f792baf79a8e309',
'ce761954d47de70419725c986316a6be', 'ce761954d47de70419725c986316a6be',
], ],
...@@ -2337,6 +2338,17 @@ export const viewstate: any = { ...@@ -2337,6 +2338,17 @@ export const viewstate: any = {
refviews: [ refviews: [
], ],
}, },
{
viewtag: 'cac82d0ff3dfbb0d7980d0d49a25d026',
viewmodule: 'Sample',
viewname: 'IBIZBOOKTabSearchView',
viewaction: '',
viewdatachange: false,
refviews: [
'c547bc4885f57d117461a64387c6e966',
'51c9c90b36b67d3ae19f5e456d320667',
],
},
{ {
viewtag: 'cac88dba02a9043c06f3582f7d1c9ab6', viewtag: 'cac88dba02a9043c06f3582f7d1c9ab6',
viewmodule: 'Sample', viewmodule: 'Sample',
...@@ -3146,6 +3158,7 @@ export const viewstate: any = { ...@@ -3146,6 +3158,7 @@ export const viewstate: any = {
'F7892096-9D26-49A7-A1E6-9D49CE5D60EA', 'F7892096-9D26-49A7-A1E6-9D49CE5D60EA',
'237aa26a288713e29a1e733394564d3a', '237aa26a288713e29a1e733394564d3a',
'406f27bfbbbe3bb0f15d8d77ca63e24c', '406f27bfbbbe3bb0f15d8d77ca63e24c',
'cac82d0ff3dfbb0d7980d0d49a25d026',
'33e9f40b8b9255757f792baf79a8e309', '33e9f40b8b9255757f792baf79a8e309',
'ce761954d47de70419725c986316a6be', 'ce761954d47de70419725c986316a6be',
], ],
......
...@@ -967,6 +967,9 @@ export default class MainMenuBase extends Vue implements ControlInterface { ...@@ -967,6 +967,9 @@ export default class MainMenuBase extends Vue implements ControlInterface {
case 'AppFunc137': case 'AppFunc137':
this.clickAppFunc137(item); this.clickAppFunc137(item);
return; return;
case 'AppFunc143':
this.clickAppFunc143(item);
return;
case 'AppFunc139': case 'AppFunc139':
this.clickAppFunc139(item); this.clickAppFunc139(item);
return; return;
...@@ -4845,6 +4848,29 @@ export default class MainMenuBase extends Vue implements ControlInterface { ...@@ -4845,6 +4848,29 @@ export default class MainMenuBase extends Vue implements ControlInterface {
}) })
} }
/**
* 分页搜索
*
* @param {*} [item={}]
* @memberof MainMenu
*/
public clickAppFunc143(item: any = {}) {
const viewparam: any = {};
Object.assign(viewparam, {});
const deResParameters: any[] = [];
const parameters: any[] = [
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'tabsearchview', parameterName: 'tabsearchview' },
];
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);
})
}
/** /**
* 选择操作视图测试 * 选择操作视图测试
* *
......
...@@ -4607,6 +4607,25 @@ export default class MainMenuModel { ...@@ -4607,6 +4607,25 @@ export default class MainMenuModel {
appfunctag: 'AppFunc137', appfunctag: 'AppFunc137',
resourcetag: '', resourcetag: '',
authtag:'Web-MainMenu-menuitem258', authtag:'Web-MainMenu-menuitem258',
},
{
id: '717F715E-5EF0-4577-9FBF-698AE7ACB6DC',
name: 'menuitem264',
text: '分页搜索',
type: 'MENUITEM',
counterid: '',
tooltip: '分页搜索',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'AppFunc143',
resourcetag: '',
authtag:'Web-MainMenu-menuitem264',
}, },
{ {
id: 'AB033475-22A1-4897-AEFD-67B46D9CB57B', id: 'AB033475-22A1-4897-AEFD-67B46D9CB57B',
......
...@@ -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' + (this.$t('app.formpage.notconfig.loadaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loadaction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -1429,7 +1429,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface ...@@ -1429,7 +1429,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' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
...@@ -1499,7 +1499,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface ...@@ -1499,7 +1499,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' + (this.$t('app.formpage.notconfig.actionname') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) });
return; return;
} }
Object.assign(arg,{viewparams:this.viewparams}); Object.assign(arg,{viewparams:this.viewparams});
...@@ -1607,7 +1607,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface ...@@ -1607,7 +1607,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' + (this.$t('app.formpage.notconfig.actionname') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) });
return; return;
} }
Object.assign(arg, { viewparams: this.viewparams }); Object.assign(arg, { viewparams: this.viewparams });
...@@ -1815,7 +1815,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface ...@@ -1815,7 +1815,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' + (this.$t('app.formpage.notconfig.removeaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (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' + (this.$t('app.formpage.notconfig.loadaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loadaction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -1395,7 +1395,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1395,7 +1395,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' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
...@@ -1465,7 +1465,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1465,7 +1465,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' + (this.$t('app.formpage.notconfig.actionname') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) });
return; return;
} }
Object.assign(arg,{viewparams:this.viewparams}); Object.assign(arg,{viewparams:this.viewparams});
...@@ -1573,7 +1573,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1573,7 +1573,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' + (this.$t('app.formpage.notconfig.actionname') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) });
return; return;
} }
Object.assign(arg, { viewparams: this.viewparams }); Object.assign(arg, { viewparams: this.viewparams });
...@@ -1781,7 +1781,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1781,7 +1781,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' + (this.$t('app.formpage.notconfig.removeaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (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' + (this.$t('app.formpage.notconfig.loadaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loadaction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -1499,7 +1499,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1499,7 +1499,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' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
...@@ -1569,7 +1569,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1569,7 +1569,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' + (this.$t('app.formpage.notconfig.actionname') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) });
return; return;
} }
Object.assign(arg,{viewparams:this.viewparams}); Object.assign(arg,{viewparams:this.viewparams});
...@@ -1677,7 +1677,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1677,7 +1677,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' + (this.$t('app.formpage.notconfig.actionname') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) });
return; return;
} }
Object.assign(arg, { viewparams: this.viewparams }); Object.assign(arg, { viewparams: this.viewparams });
...@@ -1885,7 +1885,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1885,7 +1885,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' + (this.$t('app.formpage.notconfig.removeaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.removeaction') as string) });
return; return;
} }
const arg: any = opt[0]; const arg: any = opt[0];
......
...@@ -369,7 +369,7 @@ export default class GuideBase extends Vue implements ControlInterface { ...@@ -369,7 +369,7 @@ export default class GuideBase extends Vue implements ControlInterface {
* @type {Boolean} * @type {Boolean}
* @memberof GuideBase * @memberof GuideBase
*/ */
public isShowStepBar: Boolean = false ; public isShowStepBar: Boolean = true ;
/** /**
* 获取多项数据 * 获取多项数据
......
...@@ -46,11 +46,11 @@ ...@@ -46,11 +46,11 @@
<span class="quick-toolbar"> <span class="quick-toolbar">
<div class='toolbar-container'> <div class='toolbar-container'>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="listviewlist_quicktoolbarModels.deuiaction1.visabled" :disabled="listviewlist_quicktoolbarModels.deuiaction1.disabled" class='' v-button-loading:i-button @click="list_quicktoolbar_click({ tag: 'deuiaction1' }, $event)"> <i-button v-show="usr4listview_layoutlist_quicktoolbarModels.deuiaction1.visabled" :disabled="usr4listview_layoutlist_quicktoolbarModels.deuiaction1.disabled" class='' v-button-loading:i-button @click="list_quicktoolbar_click({ tag: 'deuiaction1' }, $event)">
<i class='fa fa-file-text-o'></i> <i class='fa fa-file-text-o'></i>
<span class='caption'>{{$t('entities.ibizbook.listviewlist_quicktoolbar_toolbar.deuiaction1.caption')}}</span> <span class='caption'>{{$t('entities.ibizbook.usr4listview_layoutlist_quicktoolbar_toolbar.deuiaction1.caption')}}</span>
</i-button> </i-button>
<div slot='content'>{{$t('entities.ibizbook.listviewlist_quicktoolbar_toolbar.deuiaction1.tip')}}</div> <div slot='content'>{{$t('entities.ibizbook.usr4listview_layoutlist_quicktoolbar_toolbar.deuiaction1.tip')}}</div>
</tooltip> </tooltip>
</div> </div>
</span> </span>
...@@ -61,18 +61,18 @@ ...@@ -61,18 +61,18 @@
<span class="batch-toolbar"> <span class="batch-toolbar">
<div class='toolbar-container'> <div class='toolbar-container'>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="listviewlist_batchtoolbarModels.deuiaction1.visabled" :disabled="listviewlist_batchtoolbarModels.deuiaction1.disabled" class='' v-button-loading:i-button @click="list_batchtoolbar_click({ tag: 'deuiaction1' }, $event)"> <i-button v-show="usr4listview_layoutlist_batchtoolbarModels.deuiaction1.visabled" :disabled="usr4listview_layoutlist_batchtoolbarModels.deuiaction1.disabled" class='' v-button-loading:i-button @click="list_batchtoolbar_click({ tag: 'deuiaction1' }, $event)">
<i class='fa fa-edit'></i> <i class='fa fa-edit'></i>
<span class='caption'>{{$t('entities.ibizbook.listviewlist_batchtoolbar_toolbar.deuiaction1.caption')}}</span> <span class='caption'>{{$t('entities.ibizbook.usr4listview_layoutlist_batchtoolbar_toolbar.deuiaction1.caption')}}</span>
</i-button> </i-button>
<div slot='content'>{{$t('entities.ibizbook.listviewlist_batchtoolbar_toolbar.deuiaction1.tip')}}</div> <div slot='content'>{{$t('entities.ibizbook.usr4listview_layoutlist_batchtoolbar_toolbar.deuiaction1.tip')}}</div>
</tooltip> </tooltip>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="listviewlist_batchtoolbarModels.deuiaction2.visabled" :disabled="listviewlist_batchtoolbarModels.deuiaction2.disabled" class='' v-button-loading:i-button @click="list_batchtoolbar_click({ tag: 'deuiaction2' }, $event)"> <i-button v-show="usr4listview_layoutlist_batchtoolbarModels.deuiaction2.visabled" :disabled="usr4listview_layoutlist_batchtoolbarModels.deuiaction2.disabled" class='' v-button-loading:i-button @click="list_batchtoolbar_click({ tag: 'deuiaction2' }, $event)">
<i class='fa fa-remove'></i> <i class='fa fa-remove'></i>
<span class='caption'>{{$t('entities.ibizbook.listviewlist_batchtoolbar_toolbar.deuiaction2.caption')}}</span> <span class='caption'>{{$t('entities.ibizbook.usr4listview_layoutlist_batchtoolbar_toolbar.deuiaction2.caption')}}</span>
</i-button> </i-button>
<div slot='content'>{{$t('entities.ibizbook.listviewlist_batchtoolbar_toolbar.deuiaction2.tip')}}</div> <div slot='content'>{{$t('entities.ibizbook.usr4listview_layoutlist_batchtoolbar_toolbar.deuiaction2.tip')}}</div>
</tooltip> </tooltip>
</div> </div>
</span> </span>
...@@ -382,7 +382,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac ...@@ -382,7 +382,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
* @param {*} [$event] 事件源 * @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件 * @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文 * @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOKListViewBase * @memberof IBIZBOOKUsr4ListView_layoutBase
*/ */
public New(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) { public New(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this; const _this: any = this;
...@@ -402,7 +402,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac ...@@ -402,7 +402,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
* @param {*} [$event] 事件源 * @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件 * @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文 * @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOKListViewBase * @memberof IBIZBOOKUsr4ListView_layoutBase
*/ */
public Edit(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) { public Edit(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
if (args.length === 0) { if (args.length === 0) {
...@@ -428,7 +428,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac ...@@ -428,7 +428,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
* @param {*} [$event] 事件源 * @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件 * @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文 * @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOKListViewBase * @memberof IBIZBOOKUsr4ListView_layoutBase
*/ */
public Remove(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) { public Remove(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this; const _this: any = this;
...@@ -624,9 +624,9 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac ...@@ -624,9 +624,9 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
* 工具栏模型 * 工具栏模型
* *
* @type {*} * @type {*}
* @memberof IBIZBOOKListView * @memberof IBIZBOOKUsr4ListView_layout
*/ */
public listviewlist_quicktoolbarModels: any = { public usr4listview_layoutlist_quicktoolbarModels: any = {
deuiaction1: { name: 'deuiaction1', actiontarget: 'NONE', caption: '新建', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'New', target: '' } }, deuiaction1: { name: 'deuiaction1', actiontarget: 'NONE', caption: '新建', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'New', target: '' } },
}; };
...@@ -636,9 +636,9 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac ...@@ -636,9 +636,9 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
* 工具栏模型 * 工具栏模型
* *
* @type {*} * @type {*}
* @memberof IBIZBOOKListView * @memberof IBIZBOOKUsr4ListView_layout
*/ */
public listviewlist_batchtoolbarModels: any = { public usr4listview_layoutlist_batchtoolbarModels: any = {
deuiaction1: { name: 'deuiaction1', actiontarget: 'NONE', caption: '编辑', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Edit', target: 'SINGLEKEY' } }, deuiaction1: { name: 'deuiaction1', actiontarget: 'NONE', caption: '编辑', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Edit', target: 'SINGLEKEY' } },
deuiaction2: { name: 'deuiaction2', actiontarget: 'NONE', caption: '删除', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Remove', target: 'MULTIKEY' } }, deuiaction2: { name: 'deuiaction2', actiontarget: 'NONE', caption: '删除', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Remove', target: 'MULTIKEY' } },
...@@ -861,7 +861,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac ...@@ -861,7 +861,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
*/ */
public async load(opt: any = {}): Promise<any> { public async load(opt: any = {}): Promise<any> {
if(!this.fetchAction){ if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKListView' + (this.$t('app.list.notConfig.fetchAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4ListView_layout' + (this.$t('app.list.notConfig.fetchAction') as string) });
return; return;
} }
const arg: any = {...opt}; const arg: any = {...opt};
...@@ -991,7 +991,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac ...@@ -991,7 +991,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
*/ */
public async remove(datas: any[]): Promise<any> { public async remove(datas: any[]): Promise<any> {
if(!this.removeAction){ if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKListView' + (this.$t('app.list.notConfig.removeAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4ListView_layout' + (this.$t('app.list.notConfig.removeAction') as string) });
return; return;
} }
if (datas.length === 0) { if (datas.length === 0) {
...@@ -1096,7 +1096,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac ...@@ -1096,7 +1096,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
try { try {
if(Object.is(item.rowDataState, 'create')){ if(Object.is(item.rowDataState, 'create')){
if(!this.createAction){ if(!this.createAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKListView' + (this.$t('app.list.notConfig.createAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4ListView_layout' + (this.$t('app.list.notConfig.createAction') as string) });
}else{ }else{
Object.assign(item,{viewparams:this.viewparams}); Object.assign(item,{viewparams:this.viewparams});
let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator); let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator);
...@@ -1104,7 +1104,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac ...@@ -1104,7 +1104,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
} }
}else if(Object.is(item.rowDataState, 'update')){ }else if(Object.is(item.rowDataState, 'update')){
if(!this.updateAction){ if(!this.updateAction){
this.$Notice.error({ title: (this.$t('app.commonWords.warning') as string), desc: 'IBIZBOOKListView' + (this.$t('app.list.notConfig.updateAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.warning') as string), desc: 'IBIZBOOKUsr4ListView_layout' + (this.$t('app.list.notConfig.updateAction') as string) });
}else{ }else{
Object.assign(item,{viewparams:this.viewparams}); Object.assign(item,{viewparams:this.viewparams});
if(item.ibizbook){ if(item.ibizbook){
......
...@@ -670,7 +670,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface ...@@ -670,7 +670,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
*/ */
public load(opt: any = {}): void { public load(opt: any = {}): void {
if(!this.loadAction){ 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; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -706,7 +706,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface ...@@ -706,7 +706,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
*/ */
public async loadDraft(opt: any = {},mode?:string): Promise<any> { public async loadDraft(opt: any = {},mode?:string): Promise<any> {
if(!this.loaddraftAction){ 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; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
......
// 基于 @CONTROL/分页导航面板/MODEL.ts.ftl 生成
/**
* TabSearchViewtabexppanel 部件模型
*
* @export
* @class TabSearchViewtabexppanelModel
*/
export default class TabSearchViewtabexppanelModel {
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof TabSearchViewtabexppanelModel
*/
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/分页导航面板/SERVICE.ts.ftl 生成
import { Http,Util,Errorlog } from '@/utils';
import ControlService from '@/widgets/control-service';
import IBIZBOOKService from '@/service/ibizbook/ibizbook-service';
import TabSearchViewtabexppanelModel from './tab-search-viewtabexppanel-tabexppanel-model';
/**
* TabSearchViewtabexppanel 部件服务对象
*
* @export
* @class TabSearchViewtabexppanelService
*/
export default class TabSearchViewtabexppanelService extends ControlService {
/**
* 图书服务对象
*
* @type {IBIZBOOKService}
* @memberof TabSearchViewtabexppanelService
*/
public appEntityService: IBIZBOOKService = new IBIZBOOKService();
/**
* 设置从数据模式
*
* @type {boolean}
* @memberof TabSearchViewtabexppanelService
*/
public setTempMode(){
this.isTempMode = false;
}
/**
* Creates an instance of TabSearchViewtabexppanelService.
*
* @param {*} [opts={}]
* @memberof TabSearchViewtabexppanelService
*/
constructor(opts: any = {}) {
super(opts);
this.model = new TabSearchViewtabexppanelModel();
}
}
\ No newline at end of file
// 基于 @CONTROL/分页导航面板/CONTROL.less.ftl 生成
// this is less
.tabexppanel {
height: 100%;
>.ivu-tabs-bar {
margin-bottom: 0px;
}
>.ivu-tabs-content {
height: calc(100% - 36px);
padding: 4px !important;
.ivu-tabs-tabpane {
height: 100%;
}
}
}
\ No newline at end of file
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import TabSearchViewtabexppanelBase from './tab-search-viewtabexppanel-tabexppanel-base.vue';
import view_tabviewpanel from '@widgets/ibizbook/tab-search-viewtabviewpanel-tabviewpanel/tab-search-viewtabviewpanel-tabviewpanel.vue';
import view_tabviewpanel2 from '@widgets/ibizbook/tab-search-viewtabviewpanel2-tabviewpanel/tab-search-viewtabviewpanel2-tabviewpanel.vue';
// 基于 @CONTROL/分页导航面板/CONTROL.vue.ftl 生成
@Component({
components: {
view_tabviewpanel,
view_tabviewpanel2,
}
})
export default class TabSearchViewtabexppanel extends TabSearchViewtabexppanelBase {
}
</script>
\ No newline at end of file
<template>
<div class='tabviewpanel' style="height:100%;" v-if = 'isActivied' >
<ibizbookusr5-edit-view
class='viewcontainer2'
:viewdata="viewdata"
:viewparam="viewparam"
@viewload="viewDatasChange($event)"
:viewDefaultUsage="false" >
</ibizbookusr5-edit-view>
</div>
</template>
// 基于 @CONTROL/分页视图面板/CONTROL-BASE.vue.ftl 生成
<script lang='tsx'>
import { Vue, Component, Prop, Provide, Emit, Watch, Model,Inject } from 'vue-property-decorator';
import { CreateElement } from 'vue';
import { Subject, Subscription } from 'rxjs';
import { ControlInterface } from '@/interface/control';
import { UIActionTool,Util,ViewTool } from '@/utils';
import NavDataService from '@/service/app/navdata-service';
import AppCenterService from "@service/app/app-center-service";
import IBIZBOOKEntityService from '@/service/ibizbook/ibizbook-service';
import TabSearchViewtabviewpanelService from './tab-search-viewtabviewpanel-tabviewpanel-service';
import IBIZBOOKUIService from '@/uiservice/ibizbook/ibizbook-ui-service';
@Component({
components: {
}
})
export default class TabSearchViewtabviewpanelBase extends Vue implements ControlInterface {
/**
* 名称
*
* @type {string}
* @memberof TabSearchViewtabviewpanelBase
*/
@Prop() public name?: string;
/**
* 视图通讯对象
*
* @type {Subject<ViewState>}
* @memberof TabSearchViewtabviewpanelBase
*/
@Prop() public viewState!: Subject<ViewState>;
/**
* 应用上下文
*
* @type {*}
* @memberof TabSearchViewtabviewpanelBase
*/
@Prop() public context!: any;
/**
* 视图参数
*
* @type {*}
* @memberof TabSearchViewtabviewpanelBase
*/
@Prop() public viewparams!: any;
/**
* 视图操作参数(父级)
*
* @type {*}
* @memberof TabSearchViewtabviewpanelBase
*/
@Prop() public pViewCtx!: any;
/**
* 视图操作参数
*
* @type {*}
* @memberof TabSearchViewtabviewpanelBase
*/
public viewCtx: any = {};
/**
* 监听视图操作参数变化
*
* @type {*}
* @memberof TabSearchViewtabviewpanelBase
*/
@Watch('pViewCtx', { immediate: true })
public onViewCtxChange(newVal: any, oldVal: any) {
Object.assign(this.viewCtx, newVal, { xData: this, ctrl: this });
}
/**
* 视图状态事件
*
* @public
* @type {(Subscription | undefined)}
* @memberof TabSearchViewtabviewpanelBase
*/
public viewStateEvent: Subscription | undefined;
/**
* 获取部件类型
*
* @returns {string}
* @memberof TabSearchViewtabviewpanelBase
*/
public getControlType(): string {
return 'TABVIEWPANEL'
}
/**
* 建构部件服务对象
*
* @type {TabSearchViewtabviewpanelService}
* @memberof TabSearchViewtabviewpanelBase
*/
public service: TabSearchViewtabviewpanelService = new TabSearchViewtabviewpanelService({ $store: this.$store });
/**
* 实体服务对象
*
* @type {IBIZBOOKService}
* @memberof TabSearchViewtabviewpanelBase
*/
public appEntityService: IBIZBOOKEntityService = new IBIZBOOKEntityService({ $store: this.$store });
/**
* 转化数据
*
* @param {any} args
* @memberof TabSearchViewtabviewpanelBase
*/
public transformData(args: any) {
let _this: any = this;
if(_this.service && _this.service.handleRequestData instanceof Function && _this.service.handleRequestData('transform',_this.context,args)){
return _this.service.handleRequestData('transform',_this.context,args)['data'];
}
}
/**
* 关闭视图
*
* @param {any} args
* @memberof TabSearchViewtabviewpanelBase
*/
public closeView(args: any): void {
let _this: any = this;
_this.$emit('closeview', [args]);
}
/**
* 计数器刷新
*
* @memberof TabSearchViewtabviewpanelBase
*/
public counterRefresh(){
const _this:any =this;
if(_this.counterServiceArray && _this.counterServiceArray.length >0){
_this.counterServiceArray.forEach((item:any) =>{
if(item.refreshData && item.refreshData instanceof Function){
item.refreshData();
}
})
}
}
/**
* 处理部件事件
*
* @memberof TabSearchViewtabviewpanelBase
*/
public async handleCtrlEvents(eventName: string, args: any = {}): Promise<boolean> {
const actionData = {
data: this.getData() || {},
context: Util.deepCopy(this.context),
viewparams: Util.deepCopy(this.viewparams),
xData: this
}
let result: boolean = true;
Object.assign(actionData, args);
if (!result) {
return false;
}
this.$emit(eventName, actionData);
return true;
}
/**
* 获取多项数据
*
* @returns {any[]}
* @memberof TabSearchViewtabviewpanelBase
*/
public getDatas(): any[] {
return [];
}
/**
* 获取单项树
*
* @returns {*}
* @memberof TabSearchViewtabviewpanelBase
*/
public getData(): any {
return null;
}
/**
* 是否被激活
*
* @type {boolean}
* @memberof TabSearchViewtabviewpanelBase
*/
public isActivied: boolean = true;
/**
* 当前激活数据
*
* @type {boolean}
* @memberof TabSearchViewtabviewpanelBase
*/
@Prop() public activeData?:any;
/**
* 局部上下文
*
* @type {*}
* @memberof TabSearchViewtabviewpanelBase
*/
public localContext: any = null;
/**
* 局部视图参数
*
* @type {*}
* @memberof TabSearchViewtabviewpanelBase
*/
public localViewParam: any = null;
/**
* 传入上下文
*
* @type {string}
* @memberof TabSearchViewtabviewpanelBase
*/
public viewdata: string = JSON.stringify(this.context);
/**
* 传入视图参数
*
* @type {string}
* @memberof PickupViewpickupviewpanel
*/
public viewparam: string = JSON.stringify(this.viewparams);
/**
* 视图面板过滤项
*
* @type {string}
* @memberof TabSearchViewtabviewpanelBase
*/
public navfilter: string = "";
/**
* vue 生命周期
*
* @returns
* @memberof TabSearchViewtabviewpanelBase
*/
public created() {
this.afterCreated();
}
/**
* 执行created后的逻辑
*
* @memberof TabSearchViewtabviewpanelBase
*/
public afterCreated(){
this.initNavParam();
if (this.viewState) {
this.viewStateEvent = this.viewState.subscribe(({ tag, action, data }) => {
if (!Object.is(tag, this.name)) {
return;
}
this.$forceUpdate();
this.$nextTick(() => {
this.initNavParam();
});
});
}
}
/**
* 初始化导航参数
*
* @memberof TabSearchViewtabviewpanelBase
*/
public initNavParam(){
if(!Object.is(this.navfilter,"")){
Object.assign(this.viewparams,{[this.navfilter]:this.context['ibizbook']})
}
if(this.localContext && Object.keys(this.localContext).length >0){
let _context:any = this.$util.computedNavData(this.activeData?JSON.parse(this.activeData):{},this.context,this.viewparams,this.localContext);
Object.assign(this.context,_context);
}
if(this.localViewParam && Object.keys(this.localViewParam).length >0){
let _param:any = this.$util.computedNavData(this.activeData?JSON.parse(this.activeData):{},this.context,this.viewparams,this.localViewParam);
Object.assign(this.viewparams,_param);
}
this.viewdata =JSON.stringify(this.context);
this.viewparam = JSON.stringify(this.viewparams);
}
/**
* 视图数据变化
*
* @memberof TabSearchViewtabviewpanelBase
*/
public viewDatasChange($event:any){
this.$emit('viewpanelDatasChange',$event);
}
/**
* vue 生命周期
*
* @memberof TabSearchViewtabviewpanelBase
*/
public destroyed() {
this.afterDestroy();
}
/**
* 执行destroyed后的逻辑
*
* @memberof TabSearchViewtabviewpanelBase
*/
public afterDestroy() {
if (this.viewStateEvent) {
this.viewStateEvent.unsubscribe();
}
}
}
</script>
<style lang='less'>
@import './tab-search-viewtabviewpanel-tabviewpanel.less';
</style>
\ No newline at end of file
// 基于 @CONTROL/分页视图面板/MODEL.ts.ftl 生成
/**
* TabSearchViewtabviewpanel 部件模型
*
* @export
* @class TabSearchViewtabviewpanelModel
*/
export default class TabSearchViewtabviewpanelModel {
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof TabSearchViewtabviewpanelModel
*/
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/分页视图面板/SERVICE.ts.ftl 生成
import { Http } from '@/utils';
import ControlService from '@/widgets/control-service';
/**
* TabSearchViewtabviewpanel 部件服务对象
*
* @export
* @class TabSearchViewtabviewpanelService
*/
export default class TabSearchViewtabviewpanelService extends ControlService {
}
\ No newline at end of file
// 基于 @CONTROL/分页视图面板/CONTROL.less.ftl 生成
// this is less
.tabviewpanel{
>.view-container {
height: 100%;
}
}
\ No newline at end of file
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import TabSearchViewtabviewpanelBase from './tab-search-viewtabviewpanel-tabviewpanel-base.vue';
// 基于 @CONTROL/分页视图面板/CONTROL.vue.ftl 生成
@Component({
components: {
}
})
export default class TabSearchViewtabviewpanel extends TabSearchViewtabviewpanelBase {
}
</script>
\ No newline at end of file
<template>
<div class='tabviewpanel' style="height:100%;" v-if = 'isActivied' >
<ibizbookusr4-grid-view
class='viewcontainer2'
:viewdata="viewdata"
:viewparam="viewparam"
@viewload="viewDatasChange($event)"
:viewDefaultUsage="false" >
</ibizbookusr4-grid-view>
</div>
</template>
// 基于 @CONTROL/分页视图面板/CONTROL-BASE.vue.ftl 生成
<script lang='tsx'>
import { Vue, Component, Prop, Provide, Emit, Watch, Model,Inject } from 'vue-property-decorator';
import { CreateElement } from 'vue';
import { Subject, Subscription } from 'rxjs';
import { ControlInterface } from '@/interface/control';
import { UIActionTool,Util,ViewTool } from '@/utils';
import NavDataService from '@/service/app/navdata-service';
import AppCenterService from "@service/app/app-center-service";
import IBIZBOOKEntityService from '@/service/ibizbook/ibizbook-service';
import TabSearchViewtabviewpanel2Service from './tab-search-viewtabviewpanel2-tabviewpanel-service';
import IBIZBOOKUIService from '@/uiservice/ibizbook/ibizbook-ui-service';
@Component({
components: {
}
})
export default class TabSearchViewtabviewpanel2Base extends Vue implements ControlInterface {
/**
* 名称
*
* @type {string}
* @memberof TabSearchViewtabviewpanel2Base
*/
@Prop() public name?: string;
/**
* 视图通讯对象
*
* @type {Subject<ViewState>}
* @memberof TabSearchViewtabviewpanel2Base
*/
@Prop() public viewState!: Subject<ViewState>;
/**
* 应用上下文
*
* @type {*}
* @memberof TabSearchViewtabviewpanel2Base
*/
@Prop() public context!: any;
/**
* 视图参数
*
* @type {*}
* @memberof TabSearchViewtabviewpanel2Base
*/
@Prop() public viewparams!: any;
/**
* 视图操作参数(父级)
*
* @type {*}
* @memberof TabSearchViewtabviewpanel2Base
*/
@Prop() public pViewCtx!: any;
/**
* 视图操作参数
*
* @type {*}
* @memberof TabSearchViewtabviewpanel2Base
*/
public viewCtx: any = {};
/**
* 监听视图操作参数变化
*
* @type {*}
* @memberof TabSearchViewtabviewpanel2Base
*/
@Watch('pViewCtx', { immediate: true })
public onViewCtxChange(newVal: any, oldVal: any) {
Object.assign(this.viewCtx, newVal, { xData: this, ctrl: this });
}
/**
* 视图状态事件
*
* @public
* @type {(Subscription | undefined)}
* @memberof TabSearchViewtabviewpanel2Base
*/
public viewStateEvent: Subscription | undefined;
/**
* 获取部件类型
*
* @returns {string}
* @memberof TabSearchViewtabviewpanel2Base
*/
public getControlType(): string {
return 'TABVIEWPANEL'
}
/**
* 建构部件服务对象
*
* @type {TabSearchViewtabviewpanel2Service}
* @memberof TabSearchViewtabviewpanel2Base
*/
public service: TabSearchViewtabviewpanel2Service = new TabSearchViewtabviewpanel2Service({ $store: this.$store });
/**
* 实体服务对象
*
* @type {IBIZBOOKService}
* @memberof TabSearchViewtabviewpanel2Base
*/
public appEntityService: IBIZBOOKEntityService = new IBIZBOOKEntityService({ $store: this.$store });
/**
* 转化数据
*
* @param {any} args
* @memberof TabSearchViewtabviewpanel2Base
*/
public transformData(args: any) {
let _this: any = this;
if(_this.service && _this.service.handleRequestData instanceof Function && _this.service.handleRequestData('transform',_this.context,args)){
return _this.service.handleRequestData('transform',_this.context,args)['data'];
}
}
/**
* 关闭视图
*
* @param {any} args
* @memberof TabSearchViewtabviewpanel2Base
*/
public closeView(args: any): void {
let _this: any = this;
_this.$emit('closeview', [args]);
}
/**
* 计数器刷新
*
* @memberof TabSearchViewtabviewpanel2Base
*/
public counterRefresh(){
const _this:any =this;
if(_this.counterServiceArray && _this.counterServiceArray.length >0){
_this.counterServiceArray.forEach((item:any) =>{
if(item.refreshData && item.refreshData instanceof Function){
item.refreshData();
}
})
}
}
/**
* 处理部件事件
*
* @memberof TabSearchViewtabviewpanel2Base
*/
public async handleCtrlEvents(eventName: string, args: any = {}): Promise<boolean> {
const actionData = {
data: this.getData() || {},
context: Util.deepCopy(this.context),
viewparams: Util.deepCopy(this.viewparams),
xData: this
}
let result: boolean = true;
Object.assign(actionData, args);
if (!result) {
return false;
}
this.$emit(eventName, actionData);
return true;
}
/**
* 获取多项数据
*
* @returns {any[]}
* @memberof TabSearchViewtabviewpanel2Base
*/
public getDatas(): any[] {
return [];
}
/**
* 获取单项树
*
* @returns {*}
* @memberof TabSearchViewtabviewpanel2Base
*/
public getData(): any {
return null;
}
/**
* 是否被激活
*
* @type {boolean}
* @memberof TabSearchViewtabviewpanel2Base
*/
public isActivied: boolean = true;
/**
* 当前激活数据
*
* @type {boolean}
* @memberof TabSearchViewtabviewpanel2Base
*/
@Prop() public activeData?:any;
/**
* 局部上下文
*
* @type {*}
* @memberof TabSearchViewtabviewpanel2Base
*/
public localContext: any = null;
/**
* 局部视图参数
*
* @type {*}
* @memberof TabSearchViewtabviewpanel2Base
*/
public localViewParam: any = null;
/**
* 传入上下文
*
* @type {string}
* @memberof TabSearchViewtabviewpanel2Base
*/
public viewdata: string = JSON.stringify(this.context);
/**
* 传入视图参数
*
* @type {string}
* @memberof PickupViewpickupviewpanel
*/
public viewparam: string = JSON.stringify(this.viewparams);
/**
* 视图面板过滤项
*
* @type {string}
* @memberof TabSearchViewtabviewpanel2Base
*/
public navfilter: string = "";
/**
* vue 生命周期
*
* @returns
* @memberof TabSearchViewtabviewpanel2Base
*/
public created() {
this.afterCreated();
}
/**
* 执行created后的逻辑
*
* @memberof TabSearchViewtabviewpanel2Base
*/
public afterCreated(){
this.initNavParam();
if (this.viewState) {
this.viewStateEvent = this.viewState.subscribe(({ tag, action, data }) => {
if (!Object.is(tag, this.name)) {
return;
}
this.$forceUpdate();
this.$nextTick(() => {
this.initNavParam();
});
});
}
}
/**
* 初始化导航参数
*
* @memberof TabSearchViewtabviewpanel2Base
*/
public initNavParam(){
if(!Object.is(this.navfilter,"")){
Object.assign(this.viewparams,{[this.navfilter]:this.context['ibizbook']})
}
if(this.localContext && Object.keys(this.localContext).length >0){
let _context:any = this.$util.computedNavData(this.activeData?JSON.parse(this.activeData):{},this.context,this.viewparams,this.localContext);
Object.assign(this.context,_context);
}
if(this.localViewParam && Object.keys(this.localViewParam).length >0){
let _param:any = this.$util.computedNavData(this.activeData?JSON.parse(this.activeData):{},this.context,this.viewparams,this.localViewParam);
Object.assign(this.viewparams,_param);
}
this.viewdata =JSON.stringify(this.context);
this.viewparam = JSON.stringify(this.viewparams);
}
/**
* 视图数据变化
*
* @memberof TabSearchViewtabviewpanel2Base
*/
public viewDatasChange($event:any){
this.$emit('viewpanelDatasChange',$event);
}
/**
* vue 生命周期
*
* @memberof TabSearchViewtabviewpanel2Base
*/
public destroyed() {
this.afterDestroy();
}
/**
* 执行destroyed后的逻辑
*
* @memberof TabSearchViewtabviewpanel2Base
*/
public afterDestroy() {
if (this.viewStateEvent) {
this.viewStateEvent.unsubscribe();
}
}
}
</script>
<style lang='less'>
@import './tab-search-viewtabviewpanel2-tabviewpanel.less';
</style>
\ No newline at end of file
// 基于 @CONTROL/分页视图面板/MODEL.ts.ftl 生成
/**
* TabSearchViewtabviewpanel2 部件模型
*
* @export
* @class TabSearchViewtabviewpanel2Model
*/
export default class TabSearchViewtabviewpanel2Model {
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof TabSearchViewtabviewpanel2Model
*/
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/分页视图面板/SERVICE.ts.ftl 生成
import { Http } from '@/utils';
import ControlService from '@/widgets/control-service';
/**
* TabSearchViewtabviewpanel2 部件服务对象
*
* @export
* @class TabSearchViewtabviewpanel2Service
*/
export default class TabSearchViewtabviewpanel2Service extends ControlService {
}
\ No newline at end of file
// 基于 @CONTROL/分页视图面板/CONTROL.less.ftl 生成
// this is less
.tabviewpanel{
>.view-container {
height: 100%;
}
}
\ No newline at end of file
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import TabSearchViewtabviewpanel2Base from './tab-search-viewtabviewpanel2-tabviewpanel-base.vue';
// 基于 @CONTROL/分页视图面板/CONTROL.vue.ftl 生成
@Component({
components: {
}
})
export default class TabSearchViewtabviewpanel2 extends TabSearchViewtabviewpanel2Base {
}
</script>
\ No newline at end of file
...@@ -11,7 +11,7 @@ export default class Usr2Model { ...@@ -11,7 +11,7 @@ export default class Usr2Model {
* 获取数据项集合 * 获取数据项集合
* *
* @returns {any[]} * @returns {any[]}
* @memberof Usr2Dataviewexpbar_dataviewMode * @memberof Usr2DataViewMode
*/ */
public getDataItems(): any[] { public getDataItems(): any[] {
return [ return [
...@@ -40,6 +40,17 @@ export default class Usr2Model { ...@@ -40,6 +40,17 @@ 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',
......
...@@ -964,7 +964,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -964,7 +964,7 @@ export default class MainBase extends Vue implements ControlInterface {
if (!this.fetchAction) { if (!this.fetchAction) {
this.$Notice.error({ this.$Notice.error({
title: this.$t("app.commonWords.wrong") as string, title: this.$t("app.commonWords.wrong") as string,
desc: "IBIZOrderDetailSGridView9" + (this.$t("app.gridpage.notConfig.fetchAction") as string), desc: "IBIZOrderDetailGridView9" + (this.$t("app.gridpage.notConfig.fetchAction") as string),
}); });
return; return;
} }
...@@ -1123,7 +1123,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1123,7 +1123,7 @@ export default class MainBase extends Vue implements ControlInterface {
if (!this.removeAction) { if (!this.removeAction) {
this.$Notice.error({ this.$Notice.error({
title: (this.$t('app.commonWords.wrong') as string), title: (this.$t('app.commonWords.wrong') as string),
desc: 'IBIZOrderDetailSGridView9' + (this.$t('app.gridpage.notConfig.removeAction') as string) desc: 'IBIZOrderDetailGridView9' + (this.$t('app.gridpage.notConfig.removeAction') as string)
}); });
return; return;
} }
...@@ -1237,7 +1237,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1237,7 +1237,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/ */
public addBatch(arg: any = {}): void { public addBatch(arg: any = {}): void {
if(!this.fetchAction){ if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView9'+(this.$t('app.gridpage.notConfig.fetchAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailGridView9'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
return; return;
} }
if(!arg){ if(!arg){
...@@ -2132,7 +2132,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2132,7 +2132,7 @@ export default class MainBase extends Vue implements ControlInterface {
try { try {
if (Object.is(item.rowDataState, 'create')) { if (Object.is(item.rowDataState, 'create')) {
if (!this.createAction) { if (!this.createAction) {
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView9'+(this.$t('app.gridpage.notConfig.createAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailGridView9'+(this.$t('app.gridpage.notConfig.createAction') as string) });
} else { } else {
Object.assign(item, { viewparams: this.viewparams }); Object.assign(item, { viewparams: this.viewparams });
const tempContext = Util.deepCopy(this.context); const tempContext = Util.deepCopy(this.context);
...@@ -2141,7 +2141,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2141,7 +2141,7 @@ export default class MainBase extends Vue implements ControlInterface {
} }
}else if (Object.is(item.rowDataState, 'update')){ }else if (Object.is(item.rowDataState, 'update')){
if (!this.updateAction) { if (!this.updateAction) {
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView9'+(this.$t('app.gridpage.notConfig.updateAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailGridView9'+(this.$t('app.gridpage.notConfig.updateAction') as string) });
} else { } else {
Object.assign(item, { viewparams: this.viewparams }); Object.assign(item, { viewparams: this.viewparams });
const tempContext = Util.deepCopy(this.context); const tempContext = Util.deepCopy(this.context);
...@@ -2217,7 +2217,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2217,7 +2217,7 @@ export default class MainBase extends Vue implements ControlInterface {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ this.$Notice.error({
title: (this.$t('app.commonWords.wrong') as string), title: (this.$t('app.commonWords.wrong') as string),
desc: 'IBIZOrderDetailSGridView9' + (this.$t('app.gridpage.notConfig.loaddraftAction') as string) desc: 'IBIZOrderDetailGridView9' + (this.$t('app.gridpage.notConfig.loaddraftAction') as string)
}); });
return; return;
} }
......
...@@ -12,18 +12,6 @@ ...@@ -12,18 +12,6 @@
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}, },
"getPSDETreeColumns" : [ { "getPSDETreeColumns" : [ {
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"mOSFilePath" : "psdetreecols/author",
"name" : "author",
"rTMOSFilePath" : "psdetreecols/author",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "归还日期", "caption" : "归还日期",
"codeName" : "returntime", "codeName" : "returntime",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
...@@ -35,18 +23,6 @@ ...@@ -35,18 +23,6 @@
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : 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
}, { }, {
"caption" : "出版社", "caption" : "出版社",
"codeName" : "press", "codeName" : "press",
...@@ -71,6 +47,30 @@ ...@@ -71,6 +47,30 @@
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, {
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"mOSFilePath" : "psdetreecols/author",
"name" : "author",
"rTMOSFilePath" : "psdetreecols/author",
"width" : 200,
"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" : [ { "getPSDETreeNodeRSs" : [ {
"getChildPSDETreeNode" : { "getChildPSDETreeNode" : {
......
...@@ -20,18 +20,6 @@ ...@@ -20,18 +20,6 @@
} }
} ], } ],
"getPSDETreeColumns" : [ { "getPSDETreeColumns" : [ {
"caption" : "图书描述",
"codeName" : "subtext",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "subtext",
"mOSFilePath" : "psdetreecols/subtext",
"name" : "subtext",
"rTMOSFilePath" : "psdetreecols/subtext",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "作者", "caption" : "作者",
"codeName" : "author", "codeName" : "author",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
...@@ -43,6 +31,18 @@ ...@@ -43,6 +31,18 @@
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, {
"caption" : "图书描述",
"codeName" : "subtext",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "subtext",
"mOSFilePath" : "psdetreecols/subtext",
"name" : "subtext",
"rTMOSFilePath" : "psdetreecols/subtext",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, { }, {
"caption" : "图书名称", "caption" : "图书名称",
"codeName" : "ibizbookname", "codeName" : "ibizbookname",
......
...@@ -42,18 +42,6 @@ ...@@ -42,18 +42,6 @@
"id" : "GANTT" "id" : "GANTT"
}, },
"getPSDETreeColumns" : [ { "getPSDETreeColumns" : [ {
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"mOSFilePath" : "psdetreecols/author",
"name" : "author",
"rTMOSFilePath" : "psdetreecols/author",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "归还日期", "caption" : "归还日期",
"codeName" : "returntime", "codeName" : "returntime",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
...@@ -65,18 +53,6 @@ ...@@ -65,18 +53,6 @@
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : 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
}, { }, {
"caption" : "出版社", "caption" : "出版社",
"codeName" : "press", "codeName" : "press",
...@@ -101,6 +77,30 @@ ...@@ -101,6 +77,30 @@
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, {
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"mOSFilePath" : "psdetreecols/author",
"name" : "author",
"rTMOSFilePath" : "psdetreecols/author",
"width" : 200,
"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" : [ { "getPSDETreeNodeRSs" : [ {
"getChildPSDETreeNode" : { "getChildPSDETreeNode" : {
......
...@@ -19,29 +19,186 @@ ...@@ -19,29 +19,186 @@
"path" : "PSSYSAPPS/Web/PSAPPMODULES/Sample.json" "path" : "PSSYSAPPS/Web/PSAPPMODULES/Sample.json"
}, },
"getPSControls" : [ { "getPSControls" : [ {
"codeName" : "test", "codeName" : "Default",
"controlType" : "SEARCHBAR", "controlType" : "SEARCHFORM",
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSSEARCHBARS/test.json", "defaultLabelWidth" : 130,
"logicName" : "测试", "dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSSEARCHFORMS/Default.json",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZBOOK/pssyssearchbars/test", "logicName" : "默认搜索表单",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZBOOK/psdeform_searchforms/Default",
"getPSAppDataEntity" : { "getPSAppDataEntity" : {
"modelref" : true, "modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}, },
"getPSControlHandler" : {
"getPSHandlerActions" : [ {
"actionType" : "FILTERACTION",
"name" : "load",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "FilterGet"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}
}, {
"actionType" : "FILTERACTION",
"name" : "loaddraft",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "FilterGetDraft"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}
}, {
"actionType" : "FILTERACTION",
"name" : "search",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "FilterSearch"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}
} ],
"enableDEFieldPrivilege" : false,
"id" : "搜索表单处理器"
},
"getPSControlParam" : { "getPSControlParam" : {
"id" : "SEARCHBAR" "autoLoad" : true,
"showBusyIndicator" : true,
"id" : "SEARCHFORM"
},
"getPSDEFormItems" : [ {
"id" : "n_ibizbookname_like",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "IBIZBOOKNAME",
"codeName" : "IBIZBOOKName"
}
}, {
"id" : "n_price_gtandeq",
"dataType" : 7,
"getPSAppDEField" : {
"name" : "PRICE",
"codeName" : "Price"
}
} ],
"getPSDEFormPages" : [ {
"getCapPSLanguageRes" : {
"lanResTag" : "CONTROL.DEFORM.IBIZBOOK.DEFAULT.FORMPAGE.FORMPAGE1",
"mOSFilePath" : "pslanguageres/Auto1835",
"rTMOSFilePath" : "pslanguageres/Auto1835"
},
"caption" : "常规条件",
"codeName" : "formpage1",
"detailStyle" : "DEFAULT",
"detailType" : "FORMPAGE",
"mOSFilePath" : "psdeformdetail_formpages/formpage1",
"name" : "formpage1",
"getPSDEFormDetails" : [ {
"getCapPSLanguageRes" : {
"lanResTag" : "CONTROL.DEFSFITEM.IBIZBOOK.N_IBIZBOOKNAME_LIKE",
"mOSFilePath" : "pslanguageres/Auto486",
"rTMOSFilePath" : "pslanguageres/Auto486"
},
"caption" : "图书名称(%)",
"codeName" : "n_ibizbookname_like",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"mOSFilePath" : "psdeformdetail_formitems/n_ibizbookname_like",
"name" : "n_ibizbookname_like",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "IBIZBOOKNAME",
"codeName" : "IBIZBOOKName"
},
"getPSEditor" : {
"editorType" : "TEXTBOX",
"editorWidth" : 100.0,
"name" : "n_ibizbookname_like"
},
"getPSLayoutPos" : {
"colLG" : 12,
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "psdeformdetail_formitems/n_ibizbookname_like",
"allowEmpty" : true,
"showCaption" : true
}, {
"getCapPSLanguageRes" : {
"lanResTag" : "CONTROL.DEFSFITEM.IBIZBOOK.N_PRICE_GTANDEQ",
"mOSFilePath" : "pslanguageres/Auto2082",
"rTMOSFilePath" : "pslanguageres/Auto2082"
},
"caption" : "图书价格(>=)",
"codeName" : "n_price_gtandeq",
"dataType" : 7,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"mOSFilePath" : "psdeformdetail_formitems/n_price_gtandeq",
"name" : "n_price_gtandeq",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "PRICE",
"codeName" : "Price"
},
"getPSEditor" : {
"editorType" : "TEXTBOX",
"editorWidth" : 100.0,
"name" : "n_price_gtandeq"
},
"getPSLayoutPos" : {
"colLG" : 12,
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "psdeformdetail_formitems/n_price_gtandeq",
"allowEmpty" : true,
"showCaption" : true
} ],
"getPSLayout" : {
"childColLG" : -1,
"childColMD" : 24,
"childColSM" : -1,
"childColXS" : -1,
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "psdeformdetail_formpages/formpage1",
"infoGroupMode" : false
} ],
"getPSLayout" : {
"childColLG" : -1,
"childColMD" : 24,
"childColSM" : -1,
"childColXS" : -1,
"columnCount" : 24,
"layout" : "TABLE_24COL"
}, },
"quickGroupCount" : -1, "rTMOSFilePath" : "pssysapps/Web/psappdeviews/IBIZBOOKTabSearchView/psappviewctrls/searchform",
"quickSearchMode" : 1, "searchButtonStyle" : "DEFAULT",
"quickSearchWidth" : 0, "tabHeaderPos" : "TOP",
"rTMOSFilePath" : "pssysapps/Web/psappdeviews/IBIZBOOKTabSearchView/psappviewctrls/searchbar", "enableAdvanceSearch" : false,
"enableFilter" : false, "enableAutoSearch" : false,
"enableGroup" : false, "enableFilterSave" : false,
"enableQuickSearch" : true, "noTabHeader" : true,
"mobileSearchBar" : false, "name" : "searchform",
"name" : "searchbar", "modelid" : "643b7d93870f8f5842b663af83ba85ae",
"modelid" : "987E9A11-3074-403C-8B37-BB29A95D2AAD", "modeltype" : "PSDEFORM_SEARCHFORM"
"modeltype" : "PSSYSSEARCHBAR"
}, { }, {
"codeName" : "TabSearchViewtabexppanel", "codeName" : "TabSearchViewtabexppanel",
"controlType" : "TABEXPPANEL", "controlType" : "TABEXPPANEL",
...@@ -701,14 +858,13 @@ ...@@ -701,14 +858,13 @@
"useDefaultLayout" : true "useDefaultLayout" : true
}, },
"rTMOSFilePath" : "pssysapps/Web/psappdeviews/IBIZBOOKTabSearchView", "rTMOSFilePath" : "pssysapps/Web/psappdeviews/IBIZBOOKTabSearchView",
"refFlag" : false,
"tabLayout" : "TOP", "tabLayout" : "TOP",
"title" : "图书分页搜索视图", "title" : "图书分页搜索视图",
"viewStyle" : "DEFAULT", "viewStyle" : "DEFAULT",
"viewType" : "DETABSEARCHVIEW", "viewType" : "DETABSEARCHVIEW",
"enableDP" : true, "enableDP" : true,
"enableQuickSearch" : true, "enableQuickSearch" : true,
"enableSearch" : false, "enableSearch" : true,
"expandSearchForm" : false, "expandSearchForm" : false,
"loadDefault" : true, "loadDefault" : true,
"showDataInfoBar" : true, "showDataInfoBar" : true,
......
...@@ -88,18 +88,6 @@ ...@@ -88,18 +88,6 @@
"id" : "TREEGRIDEX" "id" : "TREEGRIDEX"
}, },
"getPSDETreeColumns" : [ { "getPSDETreeColumns" : [ {
"caption" : "图书描述",
"codeName" : "subtext",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "subtext",
"mOSFilePath" : "psdetreecols/subtext",
"name" : "subtext",
"rTMOSFilePath" : "psdetreecols/subtext",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "作者", "caption" : "作者",
"codeName" : "author", "codeName" : "author",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
...@@ -111,6 +99,18 @@ ...@@ -111,6 +99,18 @@
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, {
"caption" : "图书描述",
"codeName" : "subtext",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "subtext",
"mOSFilePath" : "psdetreecols/subtext",
"name" : "subtext",
"rTMOSFilePath" : "psdetreecols/subtext",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, { }, {
"caption" : "图书名称", "caption" : "图书名称",
"codeName" : "ibizbookname", "codeName" : "ibizbookname",
......
...@@ -5370,6 +5370,22 @@ ...@@ -5370,6 +5370,22 @@
"layout" : "TABLE" "layout" : "TABLE"
}, },
"tooltip" : "树视图" "tooltip" : "树视图"
}, {
"accUserMode" : 2,
"caption" : "分页搜索",
"itemType" : "MENUITEM",
"name" : "menuitem264",
"getPSAppFunc" : {
"modelref" : true,
"id" : "AppFunc143"
},
"getPSLayout" : {
"layout" : "TABLE"
},
"getPSLayoutPos" : {
"layout" : "TABLE"
},
"tooltip" : "分页搜索"
}, { }, {
"accUserMode" : 2, "accUserMode" : 2,
"caption" : "选项操作视图", "caption" : "选项操作视图",
......
...@@ -4491,6 +4491,22 @@ ...@@ -4491,6 +4491,22 @@
"layout" : "TABLE" "layout" : "TABLE"
}, },
"tooltip" : "树视图" "tooltip" : "树视图"
}, {
"accUserMode" : 2,
"caption" : "分页搜索",
"itemType" : "MENUITEM",
"name" : "menuitem264",
"getPSAppFunc" : {
"modelref" : true,
"id" : "AppFunc143"
},
"getPSLayout" : {
"layout" : "TABLE"
},
"getPSLayoutPos" : {
"layout" : "TABLE"
},
"tooltip" : "分页搜索"
}, { }, {
"accUserMode" : 2, "accUserMode" : 2,
"caption" : "选项操作视图", "caption" : "选项操作视图",
......
...@@ -3048,6 +3048,16 @@ ...@@ -3048,6 +3048,16 @@
"id" : "AppFunc137" "id" : "AppFunc137"
}, },
"tooltip" : "树视图" "tooltip" : "树视图"
}, {
"accUserMode" : 2,
"caption" : "分页搜索",
"itemType" : "MENUITEM",
"name" : "menuitem264",
"getPSAppFunc" : {
"modelref" : true,
"id" : "AppFunc143"
},
"tooltip" : "分页搜索"
}, { }, {
"accUserMode" : 2, "accUserMode" : 2,
"caption" : "选项操作视图", "caption" : "选项操作视图",
......
...@@ -4994,6 +4994,18 @@ ...@@ -4994,6 +4994,18 @@
"viewType" : "DEGRIDVIEW" "viewType" : "DEGRIDVIEW"
}, },
"rTMOSFilePath" : "pssysapps/Web/psappfuncs/Auto116" "rTMOSFilePath" : "pssysapps/Web/psappfuncs/Auto116"
}, {
"appFuncType" : "APPVIEW",
"codeName" : "AppFunc143",
"mOSFilePath" : "pssysapps/Web/psappfuncs/AppFunc143",
"name" : "分页搜索",
"openMode" : "INDEXVIEWTAB",
"getPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKTabSearchView.json",
"viewType" : "DETABSEARCHVIEW"
},
"rTMOSFilePath" : "pssysapps/Web/psappfuncs/AppFunc143"
}, { }, {
"appFuncType" : "APPVIEW", "appFuncType" : "APPVIEW",
"codeName" : "UsrAppFunc1121604971", "codeName" : "UsrAppFunc1121604971",
...@@ -22927,6 +22939,22 @@ ...@@ -22927,6 +22939,22 @@
"layout" : "TABLE" "layout" : "TABLE"
}, },
"tooltip" : "树视图" "tooltip" : "树视图"
}, {
"accUserMode" : 2,
"caption" : "分页搜索",
"itemType" : "MENUITEM",
"name" : "menuitem264",
"getPSAppFunc" : {
"modelref" : true,
"id" : "AppFunc143"
},
"getPSLayout" : {
"layout" : "TABLE"
},
"getPSLayoutPos" : {
"layout" : "TABLE"
},
"tooltip" : "分页搜索"
}, { }, {
"accUserMode" : 2, "accUserMode" : 2,
"caption" : "选项操作视图", "caption" : "选项操作视图",
...@@ -172,7 +172,7 @@ ...@@ -172,7 +172,7 @@
<!--输出实体[IBIZBOOK]数据结构 --> <!--输出实体[IBIZBOOK]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizbook-1476-7"> <changeSet author="a_LAB01_df847bdfd" id="tab-ibizbook-1485-7">
<createTable tableName="T_IBIZBOOK"> <createTable tableName="T_IBIZBOOK">
<column name="CREATEMAN" remarks="" type="VARCHAR(60)"> <column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column> </column>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册