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

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

上级 f7ec9b80
...@@ -1711,6 +1711,14 @@ ...@@ -1711,6 +1711,14 @@
"viewname": "IBIZCustomer_INTFPickupGridView", "viewname": "IBIZCustomer_INTFPickupGridView",
"viewtag": "ca77d5bafd522a52fd278e490ad79f2d" "viewtag": "ca77d5bafd522a52fd278e490ad79f2d"
}, },
"ibizbookwizardview_layout": {
"title": "实体向导视图",
"caption": "实体向导视图",
"viewtype": "DEWIZARDVIEW",
"viewmodule": "Sample",
"viewname": "IBIZBOOKWizardView_layout",
"viewtag": "ca90f2d89734ba48161642abc9d2cbbd"
},
"ibizbookinterfunckanbanview": { "ibizbookinterfunckanbanview": {
"title": "实体看板视图(内置功能)", "title": "实体看板视图(内置功能)",
"caption": "实体看板视图(内置功能)", "caption": "实体看板视图(内置功能)",
......
.app-preset-button.ivu-button { .app-preset-button {
height: 40px;
width: 100%;
.ivu-btn {
width: 100%;
height: 100%;
}
.ivu-button {
font-size: 12px; font-size: 12px;
>span { >span {
...@@ -39,14 +46,13 @@ ...@@ -39,14 +46,13 @@
justify-content: flex-start; justify-content: flex-start;
} }
} }
} }
.ivu-btn-loading {
// 加载效果
.app-preset-button.ivu-btn-loading {
display: flex; display: flex;
line-height: 2; line-height: 2;
.ivu-icon-ios-loading { .ivu-icon-ios-loading {
line-height: 2; line-height: 2;
} }
}
} }
\ No newline at end of file
<template> <template>
<div :class="curClassName" :style="curStyle">
<i-button <i-button
:class="curClassName"
:style="curStyle"
:type="buttonType" :type="buttonType"
:disabled="disabled" :disabled="disabled"
:title="tooltip" :title="tooltip"
...@@ -16,6 +15,7 @@ ...@@ -16,6 +15,7 @@
<span v-if="showCaption" class="caption">{{ caption }}</span> <span v-if="showCaption" class="caption">{{ caption }}</span>
</div> </div>
</i-button> </i-button>
</div>
</template> </template>
<script lang="ts"> <script lang="ts">
......
...@@ -146,7 +146,7 @@ export default class AppPresetText extends Vue { ...@@ -146,7 +146,7 @@ export default class AppPresetText extends Vue {
*/ */
get renderMode() { get renderMode() {
const layoutModel = this.layoutModelDetails[this.name]; const layoutModel = this.layoutModelDetails[this.name];
return layoutModel.renderMode; return layoutModel.renderMode || 'TEXT';
} }
/** /**
......
...@@ -407,9 +407,17 @@ export default class MDViewEngine extends ViewEngine { ...@@ -407,9 +407,17 @@ export default class MDViewEngine extends ViewEngine {
if (this.view && this.view.$refs.searchbar) { if (this.view && this.view.$refs.searchbar) {
Object.assign(arg, this.view.$refs.searchbar.getData()); Object.assign(arg, this.view.$refs.searchbar.getData());
} }
if (this.view && !this.view.isExpandSearchForm) { if (this.view) {
// 开启自定义面板时忽略是否展开搜索表单
if (this.view.layoutModelDetails) {
const quickSearchBar = Object.values(this.view.layoutModelDetails).find((item: any) => item.name.toLowerCase() === 'quicksearchbar');
if (quickSearchBar) {
Object.assign(arg, { query: this.view.query });
}
} else if (!this.view.isExpandSearchForm) {
Object.assign(arg, { query: this.view.query }); Object.assign(arg, { query: this.view.query });
} }
}
// 快速分组和快速搜索栏 // 快速分组和快速搜索栏
let otherQueryParam:any = {}; let otherQueryParam:any = {};
if(this.view && this.view.quickGroupData){ if(this.view && this.view.quickGroupData){
......
...@@ -377,6 +377,42 @@ function getAppLocale(){ ...@@ -377,6 +377,42 @@ function getAppLocale(){
menuitem187: commonLogic.appcommonhandle("测试布局面板(日历视图)",null), menuitem187: commonLogic.appcommonhandle("测试布局面板(日历视图)",null),
menuitem188: commonLogic.appcommonhandle("测试布局面板(图表)",null), menuitem188: commonLogic.appcommonhandle("测试布局面板(图表)",null),
menuitem189: commonLogic.appcommonhandle("测试布局面板(树导航)",null), menuitem189: commonLogic.appcommonhandle("测试布局面板(树导航)",null),
menuitem190: commonLogic.appcommonhandle("视图",null),
menuitem191: commonLogic.appcommonhandle("单数据视图",null),
menuitem192: commonLogic.appcommonhandle("实体向导视图",null),
menuitem193: commonLogic.appcommonhandle("实体编辑视图",null),
menuitem194: commonLogic.appcommonhandle("实体编辑视图(分页关系)",null),
menuitem195: commonLogic.appcommonhandle("实体编辑视图(上下关系)",null),
menuitem196: commonLogic.appcommonhandle("实体编辑视图(左右关系)",null),
menuitem197: commonLogic.appcommonhandle("实体分页导航视图",null),
menuitem198: commonLogic.appcommonhandle("实体数据看板视图",null),
menuitem199: commonLogic.appcommonhandle("实体选项操作视图",null),
menuitem200: commonLogic.appcommonhandle("多数据视图",null),
menuitem201: commonLogic.appcommonhandle("实体表格视图",null),
menuitem202: commonLogic.appcommonhandle("实体多表单编辑视图",null),
menuitem203: commonLogic.appcommonhandle("实体甘特视图",null),
menuitem204: commonLogic.appcommonhandle("实体列表视图",null),
menuitem205: commonLogic.appcommonhandle("实体日历视图",null),
menuitem206: commonLogic.appcommonhandle("实体看板视图",null),
menuitem207: commonLogic.appcommonhandle("实体树表格视图",null),
menuitem208: commonLogic.appcommonhandle("实体树视图",null),
menuitem209: commonLogic.appcommonhandle("实体数据视图",null),
menuitem210: commonLogic.appcommonhandle("实体图表视图",null),
menuitem211: commonLogic.appcommonhandle("导航视图",null),
menuitem215: commonLogic.appcommonhandle("实体表格导航视图",null),
menuitem216: commonLogic.appcommonhandle("实体列表导航视图",null),
menuitem217: commonLogic.appcommonhandle("实体卡片导航视图",null),
menuitem218: commonLogic.appcommonhandle("实体日历导航视图",null),
menuitem219: commonLogic.appcommonhandle("实体树导航视图",null),
menuitem220: commonLogic.appcommonhandle("选择视图",null),
menuitem221: commonLogic.appcommonhandle("数据选择视图",null),
menuitem222: commonLogic.appcommonhandle("索引选择视图",null),
menuitem223: commonLogic.appcommonhandle("工作流",null),
menuitem224: commonLogic.appcommonhandle("工作流动态导航视图",null),
menuitem225: commonLogic.appcommonhandle("工作流启动",null),
menuitem226: commonLogic.appcommonhandle("工作流动态操作视图",null),
menuitem227: commonLogic.appcommonhandle("其他视图",null),
menuitem230: commonLogic.appcommonhandle("自定义视图",null),
}, },
}, },
formpage:{ formpage:{
......
...@@ -377,6 +377,42 @@ function getAppLocale(){ ...@@ -377,6 +377,42 @@ function getAppLocale(){
menuitem187: commonLogic.appcommonhandle("测试布局面板(日历视图)",null), menuitem187: commonLogic.appcommonhandle("测试布局面板(日历视图)",null),
menuitem188: commonLogic.appcommonhandle("测试布局面板(图表)",null), menuitem188: commonLogic.appcommonhandle("测试布局面板(图表)",null),
menuitem189: commonLogic.appcommonhandle("测试布局面板(树导航)",null), menuitem189: commonLogic.appcommonhandle("测试布局面板(树导航)",null),
menuitem190: commonLogic.appcommonhandle("视图",null),
menuitem191: commonLogic.appcommonhandle("单数据视图",null),
menuitem192: commonLogic.appcommonhandle("实体向导视图",null),
menuitem193: commonLogic.appcommonhandle("实体编辑视图",null),
menuitem194: commonLogic.appcommonhandle("实体编辑视图(分页关系)",null),
menuitem195: commonLogic.appcommonhandle("实体编辑视图(上下关系)",null),
menuitem196: commonLogic.appcommonhandle("实体编辑视图(左右关系)",null),
menuitem197: commonLogic.appcommonhandle("实体分页导航视图",null),
menuitem198: commonLogic.appcommonhandle("实体数据看板视图",null),
menuitem199: commonLogic.appcommonhandle("实体选项操作视图",null),
menuitem200: commonLogic.appcommonhandle("多数据视图",null),
menuitem201: commonLogic.appcommonhandle("实体表格视图",null),
menuitem202: commonLogic.appcommonhandle("实体多表单编辑视图",null),
menuitem203: commonLogic.appcommonhandle("实体甘特视图",null),
menuitem204: commonLogic.appcommonhandle("实体列表视图",null),
menuitem205: commonLogic.appcommonhandle("实体日历视图",null),
menuitem206: commonLogic.appcommonhandle("实体看板视图",null),
menuitem207: commonLogic.appcommonhandle("实体树表格视图",null),
menuitem208: commonLogic.appcommonhandle("实体树视图",null),
menuitem209: commonLogic.appcommonhandle("实体数据视图",null),
menuitem210: commonLogic.appcommonhandle("实体图表视图",null),
menuitem211: commonLogic.appcommonhandle("导航视图",null),
menuitem215: commonLogic.appcommonhandle("实体表格导航视图",null),
menuitem216: commonLogic.appcommonhandle("实体列表导航视图",null),
menuitem217: commonLogic.appcommonhandle("实体卡片导航视图",null),
menuitem218: commonLogic.appcommonhandle("实体日历导航视图",null),
menuitem219: commonLogic.appcommonhandle("实体树导航视图",null),
menuitem220: commonLogic.appcommonhandle("选择视图",null),
menuitem221: commonLogic.appcommonhandle("数据选择视图",null),
menuitem222: commonLogic.appcommonhandle("索引选择视图",null),
menuitem223: commonLogic.appcommonhandle("工作流",null),
menuitem224: commonLogic.appcommonhandle("工作流动态导航视图",null),
menuitem225: commonLogic.appcommonhandle("工作流启动",null),
menuitem226: commonLogic.appcommonhandle("工作流动态操作视图",null),
menuitem227: commonLogic.appcommonhandle("其他视图",null),
menuitem230: commonLogic.appcommonhandle("自定义视图",null),
}, },
}, },
formpage:{ formpage:{
......
...@@ -377,6 +377,42 @@ function getAppLocale(){ ...@@ -377,6 +377,42 @@ function getAppLocale(){
menuitem187: commonLogic.appcommonhandle("测试布局面板(日历视图)",null), menuitem187: commonLogic.appcommonhandle("测试布局面板(日历视图)",null),
menuitem188: commonLogic.appcommonhandle("测试布局面板(图表)",null), menuitem188: commonLogic.appcommonhandle("测试布局面板(图表)",null),
menuitem189: commonLogic.appcommonhandle("测试布局面板(树导航)",null), menuitem189: commonLogic.appcommonhandle("测试布局面板(树导航)",null),
menuitem190: commonLogic.appcommonhandle("视图",null),
menuitem191: commonLogic.appcommonhandle("单数据视图",null),
menuitem192: commonLogic.appcommonhandle("实体向导视图",null),
menuitem193: commonLogic.appcommonhandle("实体编辑视图",null),
menuitem194: commonLogic.appcommonhandle("实体编辑视图(分页关系)",null),
menuitem195: commonLogic.appcommonhandle("实体编辑视图(上下关系)",null),
menuitem196: commonLogic.appcommonhandle("实体编辑视图(左右关系)",null),
menuitem197: commonLogic.appcommonhandle("实体分页导航视图",null),
menuitem198: commonLogic.appcommonhandle("实体数据看板视图",null),
menuitem199: commonLogic.appcommonhandle("实体选项操作视图",null),
menuitem200: commonLogic.appcommonhandle("多数据视图",null),
menuitem201: commonLogic.appcommonhandle("实体表格视图",null),
menuitem202: commonLogic.appcommonhandle("实体多表单编辑视图",null),
menuitem203: commonLogic.appcommonhandle("实体甘特视图",null),
menuitem204: commonLogic.appcommonhandle("实体列表视图",null),
menuitem205: commonLogic.appcommonhandle("实体日历视图",null),
menuitem206: commonLogic.appcommonhandle("实体看板视图",null),
menuitem207: commonLogic.appcommonhandle("实体树表格视图",null),
menuitem208: commonLogic.appcommonhandle("实体树视图",null),
menuitem209: commonLogic.appcommonhandle("实体数据视图",null),
menuitem210: commonLogic.appcommonhandle("实体图表视图",null),
menuitem211: commonLogic.appcommonhandle("导航视图",null),
menuitem215: commonLogic.appcommonhandle("实体表格导航视图",null),
menuitem216: commonLogic.appcommonhandle("实体列表导航视图",null),
menuitem217: commonLogic.appcommonhandle("实体卡片导航视图",null),
menuitem218: commonLogic.appcommonhandle("实体日历导航视图",null),
menuitem219: commonLogic.appcommonhandle("实体树导航视图",null),
menuitem220: commonLogic.appcommonhandle("选择视图",null),
menuitem221: commonLogic.appcommonhandle("数据选择视图",null),
menuitem222: commonLogic.appcommonhandle("索引选择视图",null),
menuitem223: commonLogic.appcommonhandle("工作流",null),
menuitem224: commonLogic.appcommonhandle("工作流动态导航视图",null),
menuitem225: commonLogic.appcommonhandle("工作流启动",null),
menuitem226: commonLogic.appcommonhandle("工作流动态操作视图",null),
menuitem227: commonLogic.appcommonhandle("其他视图",null),
menuitem230: commonLogic.appcommonhandle("自定义视图",null),
}, },
}, },
formpage:{ formpage:{
......
...@@ -218,6 +218,10 @@ function getLocaleResourceBase(){ ...@@ -218,6 +218,10 @@ function getLocaleResourceBase(){
caption: commonLogic.appcommonhandle("实体向导视图",null), caption: commonLogic.appcommonhandle("实体向导视图",null),
title: commonLogic.appcommonhandle("实体向导视图",null), title: commonLogic.appcommonhandle("实体向导视图",null),
}, },
wizardview_layout: {
caption: commonLogic.appcommonhandle("实体向导视图",null),
title: commonLogic.appcommonhandle("实体向导视图",null),
},
interfunckanbanview: { interfunckanbanview: {
caption: commonLogic.appcommonhandle("实体看板视图(内置功能)",null), caption: commonLogic.appcommonhandle("实体看板视图(内置功能)",null),
title: commonLogic.appcommonhandle("实体看板视图(内置功能)",null), title: commonLogic.appcommonhandle("实体看板视图(内置功能)",null),
......
...@@ -218,6 +218,10 @@ function getLocaleResourceBase(){ ...@@ -218,6 +218,10 @@ function getLocaleResourceBase(){
caption: commonLogic.appcommonhandle("BasicUsage",null), caption: commonLogic.appcommonhandle("BasicUsage",null),
title: commonLogic.appcommonhandle("实体向导视图",null), title: commonLogic.appcommonhandle("实体向导视图",null),
}, },
wizardview_layout: {
caption: commonLogic.appcommonhandle("BasicUsage",null),
title: commonLogic.appcommonhandle("实体向导视图",null),
},
interfunckanbanview: { interfunckanbanview: {
caption: commonLogic.appcommonhandle("Entity Kanban View",null), caption: commonLogic.appcommonhandle("Entity Kanban View",null),
title: commonLogic.appcommonhandle("实体看板视图(内置功能)",null), title: commonLogic.appcommonhandle("实体看板视图(内置功能)",null),
......
...@@ -218,6 +218,10 @@ function getLocaleResourceBase(){ ...@@ -218,6 +218,10 @@ function getLocaleResourceBase(){
caption: commonLogic.appcommonhandle("实体向导视图",null), caption: commonLogic.appcommonhandle("实体向导视图",null),
title: commonLogic.appcommonhandle("实体向导视图",null), title: commonLogic.appcommonhandle("实体向导视图",null),
}, },
wizardview_layout: {
caption: commonLogic.appcommonhandle("实体向导视图",null),
title: commonLogic.appcommonhandle("实体向导视图",null),
},
interfunckanbanview: { interfunckanbanview: {
caption: commonLogic.appcommonhandle("实体看板视图(内置功能)",null), caption: commonLogic.appcommonhandle("实体看板视图(内置功能)",null),
title: commonLogic.appcommonhandle("实体看板视图(内置功能)",null), title: commonLogic.appcommonhandle("实体看板视图(内置功能)",null),
......
...@@ -1719,6 +1719,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => { ...@@ -1719,6 +1719,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "IBIZCustomer_INTFPickupGridView", "viewname": "IBIZCustomer_INTFPickupGridView",
"viewtag": "ca77d5bafd522a52fd278e490ad79f2d" "viewtag": "ca77d5bafd522a52fd278e490ad79f2d"
}, },
"ibizbookwizardview_layout": {
"title": "实体向导视图",
"caption": "实体向导视图",
"viewtype": "DEWIZARDVIEW",
"viewmodule": "Sample",
"viewname": "IBIZBOOKWizardView_layout",
"viewtag": "ca90f2d89734ba48161642abc9d2cbbd"
},
"ibizbookinterfunckanbanview": { "ibizbookinterfunckanbanview": {
"title": "实体看板视图(内置功能)", "title": "实体看板视图(内置功能)",
"caption": "实体看板视图(内置功能)", "caption": "实体看板视图(内置功能)",
......
.ibizbookwizard-view-layout{
position: relative;
}
.ibizbookwizard-view-layout{
> .view-card > .ivu-card-body > .content-container > .app-wizard {
overflow: auto;
}
}
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import IBIZBOOKWizardView_layoutBase from './ibizbookwizard-view-layout-base.vue';
import view_wizardpanel from '@widgets/ibizbook/guide-wizardpanel/guide-wizardpanel.vue';
@Component({
components: {
view_wizardpanel,
},
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 IBIZBOOKWizardView_layout extends IBIZBOOKWizardView_layoutBase {
}
</script>
\ No newline at end of file
...@@ -114,6 +114,7 @@ export const PageComponents = { ...@@ -114,6 +114,7 @@ export const PageComponents = {
Vue.component('ibizbooktest-clcalendar-view', () => import('@pages/sample/ibizbooktest-clcalendar-view/ibizbooktest-clcalendar-view.vue')); Vue.component('ibizbooktest-clcalendar-view', () => import('@pages/sample/ibizbooktest-clcalendar-view/ibizbooktest-clcalendar-view.vue'));
Vue.component('ibizorder-test-clchart-view', () => import('@pages/sample/ibizorder-test-clchart-view/ibizorder-test-clchart-view.vue')); Vue.component('ibizorder-test-clchart-view', () => import('@pages/sample/ibizorder-test-clchart-view/ibizorder-test-clchart-view.vue'));
Vue.component('ibizorder-test-cltree-exp-view', () => import('@pages/sample/ibizorder-test-cltree-exp-view/ibizorder-test-cltree-exp-view.vue')); Vue.component('ibizorder-test-cltree-exp-view', () => import('@pages/sample/ibizorder-test-cltree-exp-view/ibizorder-test-cltree-exp-view.vue'));
Vue.component('ibizbookwizard-view-layout', () => import('@pages/sample/ibizbookwizard-view-layout/ibizbookwizard-view-layout.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'));
Vue.component('ibizappviewlist-view', () => import('@pages/sample/ibizappviewlist-view/ibizappviewlist-view.vue')); Vue.component('ibizappviewlist-view', () => import('@pages/sample/ibizappviewlist-view/ibizappviewlist-view.vue'));
Vue.component('ibizappctrlgrid-view', () => import('@pages/sample/ibizappctrlgrid-view/ibizappctrlgrid-view.vue')); Vue.component('ibizappctrlgrid-view', () => import('@pages/sample/ibizappctrlgrid-view/ibizappctrlgrid-view.vue'));
......
...@@ -1762,6 +1762,20 @@ const router = new Router({ ...@@ -1762,6 +1762,20 @@ const router = new Router({
}, },
component: () => import('@pages/sample/ibizorder-test-cltree-exp-view/ibizorder-test-cltree-exp-view.vue'), component: () => import('@pages/sample/ibizorder-test-cltree-exp-view/ibizorder-test-cltree-exp-view.vue'),
}, },
{
path: 'ibizbooks/:ibizbook?/wizardview_layout/:wizardview_layout?',
meta: {
caption: 'entities.ibizbook.views.wizardview_layout.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'wizardview_layout', parameterName: 'wizardview_layout' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbookwizard-view-layout/ibizbookwizard-view-layout.vue'),
},
{ {
path: 'ibizappviews/:ibizappview?/gridview/:gridview?', path: 'ibizappviews/:ibizappview?/gridview/:gridview?',
meta: { meta: {
...@@ -5017,6 +5031,19 @@ const router = new Router({ ...@@ -5017,6 +5031,19 @@ const router = new Router({
}, },
component: () => import('@pages/sample/ibizorder-gantt-view/ibizorder-gantt-view.vue'), component: () => import('@pages/sample/ibizorder-gantt-view/ibizorder-gantt-view.vue'),
}, },
{
path: '/ibizbooks/:ibizbook?/wizardview_layout/:wizardview_layout?',
meta: {
caption: 'entities.ibizbook.views.wizardview_layout.caption',
info:'',
parameters: [
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'wizardview_layout', parameterName: 'wizardview_layout' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbookwizard-view-layout/ibizbookwizard-view-layout.vue'),
},
{ {
path: '/ibizbooks/:ibizbook?/interfunckanbanview/:interfunckanbanview?', path: '/ibizbooks/:ibizbook?/interfunckanbanview/:interfunckanbanview?',
meta: { meta: {
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
<app-preset-text name="static_text1" :layoutModelDetails="layoutModelDetails"/> <app-preset-text name="static_text1" :layoutModelDetails="layoutModelDetails"/>
</template> </template>
<template #field_text_dynamic> <template #field_text_dynamic>
<app-preset-text name="field_text_dynamic" :value="layoutData.field_text_dynamic" :layoutModelDetails="layoutModelDetails"/> <app-preset-text name="field_text_dynamic" :value="layoutData.field_textbox" :layoutModelDetails="layoutModelDetails"/>
</template> </template>
<template #field_switch> <template #field_switch>
<app-preset-switch :layoutModelDetails="layoutModelDetails" :value="layoutData.field_switch" name="field_switch" @valueChange="handleValueChange"/> <app-preset-switch :layoutModelDetails="layoutModelDetails" :value="layoutData.field_switch" name="field_switch" @valueChange="handleValueChange"/>
......
...@@ -2161,6 +2161,19 @@ const router = new Router({ ...@@ -2161,6 +2161,19 @@ const router = new Router({
}, },
component: () => import('@pages/sample/ibizorder-gantt-view/ibizorder-gantt-view.vue'), component: () => import('@pages/sample/ibizorder-gantt-view/ibizorder-gantt-view.vue'),
}, },
{
path: '/ibizbooks/:ibizbook?/wizardview_layout/:wizardview_layout?',
meta: {
caption: 'entities.ibizbook.views.wizardview_layout.caption',
info:'',
parameters: [
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'wizardview_layout', parameterName: 'wizardview_layout' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbookwizard-view-layout/ibizbookwizard-view-layout.vue'),
},
{ {
path: '/ibizbooks/:ibizbook?/interfunckanbanview/:interfunckanbanview?', path: '/ibizbooks/:ibizbook?/interfunckanbanview/:interfunckanbanview?',
meta: { meta: {
......
...@@ -822,6 +822,7 @@ export const viewstate: any = { ...@@ -822,6 +822,7 @@ export const viewstate: any = {
'763A9DA0-DC92-49C9-85B7-647A36C019C9', '763A9DA0-DC92-49C9-85B7-647A36C019C9',
'BD432FCA-7527-48B5-B553-AE51D75438A3', 'BD432FCA-7527-48B5-B553-AE51D75438A3',
'5515A024-BD26-40B2-A13E-932A0DF3E40A', '5515A024-BD26-40B2-A13E-932A0DF3E40A',
'ca90f2d89734ba48161642abc9d2cbbd',
], ],
}, },
{ {
...@@ -1633,6 +1634,15 @@ export const viewstate: any = { ...@@ -1633,6 +1634,15 @@ export const viewstate: any = {
refviews: [ refviews: [
], ],
}, },
{
viewtag: 'ca90f2d89734ba48161642abc9d2cbbd',
viewmodule: 'Sample',
viewname: 'IBIZBOOKWizardView_layout',
viewaction: '',
viewdatachange: false,
refviews: [
],
},
{ {
viewtag: 'cac88dba02a9043c06f3582f7d1c9ab6', viewtag: 'cac88dba02a9043c06f3582f7d1c9ab6',
viewmodule: 'Sample', viewmodule: 'Sample',
......
...@@ -142,6 +142,7 @@ export default class IBIZBOOKUIServiceBase extends UIService { ...@@ -142,6 +142,7 @@ export default class IBIZBOOKUIServiceBase extends UIService {
this.allViewMap.set(':',{viewname:'newdefaultvaluegridview',srfappde:'ibizbooks',component:'ibizbooknew-default-value-grid-view'}); this.allViewMap.set(':',{viewname:'newdefaultvaluegridview',srfappde:'ibizbooks',component:'ibizbooknew-default-value-grid-view'});
this.allViewMap.set(':',{viewname:'usr3dataview',srfappde:'ibizbooks',component:'ibizbookusr3-data-view'}); this.allViewMap.set(':',{viewname:'usr3dataview',srfappde:'ibizbooks',component:'ibizbookusr3-data-view'});
this.allViewMap.set(':',{viewname:'wizardview',srfappde:'ibizbooks',component:'ibizbookwizard-view'}); this.allViewMap.set(':',{viewname:'wizardview',srfappde:'ibizbooks',component:'ibizbookwizard-view'});
this.allViewMap.set(':',{viewname:'wizardview_layout',srfappde:'ibizbooks',component:'ibizbookwizard-view-layout'});
this.allViewMap.set(':',{viewname:'interfunckanbanview',srfappde:'ibizbooks',component:'ibizbookinter-func-kan-ban-view'}); this.allViewMap.set(':',{viewname:'interfunckanbanview',srfappde:'ibizbooks',component:'ibizbookinter-func-kan-ban-view'});
this.allViewMap.set(':',{viewname:'haspanellistview',srfappde:'ibizbooks',component:'ibizbookhas-panel-list-view'}); this.allViewMap.set(':',{viewname:'haspanellistview',srfappde:'ibizbooks',component:'ibizbookhas-panel-list-view'});
this.allViewMap.set(':',{viewname:'usr10gridview',srfappde:'ibizbooks',component:'ibizbookusr10-grid-view'}); this.allViewMap.set(':',{viewname:'usr10gridview',srfappde:'ibizbooks',component:'ibizbookusr10-grid-view'});
......
...@@ -946,6 +946,9 @@ export default class MainMenuBase extends Vue implements ControlInterface { ...@@ -946,6 +946,9 @@ export default class MainMenuBase extends Vue implements ControlInterface {
case 'UsrAppFunc1104869965': case 'UsrAppFunc1104869965':
this.clickUsrAppFunc1104869965(item); this.clickUsrAppFunc1104869965(item);
return; return;
case 'AppFunc102':
this.clickAppFunc102(item);
return;
default: default:
console.warn('未指定应用功能'); console.warn('未指定应用功能');
} }
...@@ -3617,6 +3620,29 @@ export default class MainMenuBase extends Vue implements ControlInterface { ...@@ -3617,6 +3620,29 @@ export default class MainMenuBase extends Vue implements ControlInterface {
}) })
} }
/**
* 图书实体向导视图(布局面板)
*
* @param {*} [item={}]
* @memberof MainMenu
*/
public clickAppFunc102(item: any = {}) {
const viewparam: any = {};
Object.assign(viewparam, {});
const deResParameters: any[] = [];
const parameters: any[] = [
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'wizardview_layout', parameterName: 'wizardview_layout' },
];
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);
})
}
/** /**
* 数据加载 * 数据加载
* *
......
...@@ -590,7 +590,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -590,7 +590,7 @@ export default class DefaultBase 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: 'IBIZAPPEDITORGridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZAPPEDITORListView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -626,7 +626,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -626,7 +626,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/ */
public loadDraft(opt: any = {},mode?:string): void { public loadDraft(opt: any = {},mode?:string): void {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZAPPEDITORGridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZAPPEDITORListView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
......
...@@ -663,7 +663,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -663,7 +663,7 @@ export default class DefaultBase 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: 'IBIZBOOKUsr9GridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKGroupByCodelistListView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -699,7 +699,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -699,7 +699,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/ */
public loadDraft(opt: any = {},mode?:string): void { public loadDraft(opt: any = {},mode?:string): void {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr9GridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKGroupByCodelistListView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
......
...@@ -1300,7 +1300,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface ...@@ -1300,7 +1300,7 @@ export default class GuideBorrowFormBase 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: '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 };
...@@ -1335,7 +1335,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface ...@@ -1335,7 +1335,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
*/ */
public loadDraft(opt: any = {}): void { public loadDraft(opt: any = {}): void {
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 } ;
...@@ -1396,7 +1396,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface ...@@ -1396,7 +1396,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});
...@@ -1504,7 +1504,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface ...@@ -1504,7 +1504,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});
...@@ -1578,7 +1578,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface ...@@ -1578,7 +1578,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];
......
...@@ -1266,7 +1266,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1266,7 +1266,7 @@ export default class GuideReturnFormBase 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: '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 };
...@@ -1301,7 +1301,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1301,7 +1301,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
*/ */
public loadDraft(opt: any = {}): void { public loadDraft(opt: any = {}): void {
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 } ;
...@@ -1362,7 +1362,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1362,7 +1362,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});
...@@ -1470,7 +1470,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1470,7 +1470,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});
...@@ -1544,7 +1544,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1544,7 +1544,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];
......
...@@ -1369,7 +1369,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1369,7 +1369,7 @@ export default class GuideViewFormBase 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: '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 };
...@@ -1404,7 +1404,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1404,7 +1404,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
*/ */
public loadDraft(opt: any = {}): void { public loadDraft(opt: any = {}): void {
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 GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1465,7 +1465,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});
...@@ -1573,7 +1573,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1573,7 +1573,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});
...@@ -1647,7 +1647,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1647,7 +1647,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];
......
...@@ -10,7 +10,7 @@ export default class Usr2Model { ...@@ -10,7 +10,7 @@ export default class Usr2Model {
* 获取数据项集合 * 获取数据项集合
* *
* @returns {any[]} * @returns {any[]}
* @memberof Usr2DataViewMode * @memberof Usr2Dataviewexpbar_dataviewMode
*/ */
public getDataItems(): any[] { public getDataItems(): any[] {
return [ return [
...@@ -39,17 +39,6 @@ export default class Usr2Model { ...@@ -39,17 +39,6 @@ export default class Usr2Model {
dataType: 'FONTKEY', dataType: 'FONTKEY',
}, },
{
name: 'n_ibizbookname_like',
prop: 'n_ibizbookname_like',
dataType: 'QUERYPARAM'
},
{
name: 'n_price_gtandeq',
prop: 'n_price_gtandeq',
dataType: 'QUERYPARAM'
},
{ {
name:'size', name:'size',
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册