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

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

上级 f7ec9b80
......@@ -1711,6 +1711,14 @@
"viewname": "IBIZCustomer_INTFPickupGridView",
"viewtag": "ca77d5bafd522a52fd278e490ad79f2d"
},
"ibizbookwizardview_layout": {
"title": "实体向导视图",
"caption": "实体向导视图",
"viewtype": "DEWIZARDVIEW",
"viewmodule": "Sample",
"viewname": "IBIZBOOKWizardView_layout",
"viewtag": "ca90f2d89734ba48161642abc9d2cbbd"
},
"ibizbookinterfunckanbanview": {
"title": "实体看板视图(内置功能)",
"caption": "实体看板视图(内置功能)",
......
.app-preset-button.ivu-button {
font-size: 12px;
>span {
display: flex;
align-items: center;
justify-content: center;
.app-preset-button {
height: 40px;
width: 100%;
.ivu-btn {
width: 100%;
height: 100%;
}
.button-content {
display: flex;
&.left {
justify-content: flex-start;
.ivu-button {
font-size: 12px;
>span {
display: flex;
align-items: center;
.icon+.caption {
padding-left: 6px;
}
justify-content: center;
}
&.right {
flex-direction: row-reverse;
justify-content: flex-start;
align-items: center;
.icon+.caption {
padding-right: 6px;
.button-content {
display: flex;
&.left {
justify-content: flex-start;
align-items: center;
.icon+.caption {
padding-left: 6px;
}
}
&.right {
flex-direction: row-reverse;
justify-content: flex-start;
align-items: center;
.icon+.caption {
padding-right: 6px;
}
}
&.top {
flex-direction: column;
justify-content: flex-start;
}
&.bottom {
flex-direction: column-reverse;
justify-content: flex-start;
}
}
&.top {
flex-direction: column;
justify-content: flex-start;
}
&.bottom {
flex-direction: column-reverse;
justify-content: flex-start;
}
}
}
// 加载效果
.app-preset-button.ivu-btn-loading {
display: flex;
line-height: 2;
.ivu-icon-ios-loading {
.ivu-btn-loading {
display: flex;
line-height: 2;
.ivu-icon-ios-loading {
line-height: 2;
}
}
}
\ No newline at end of file
<template>
<i-button
:class="curClassName"
:style="curStyle"
:type="buttonType"
:disabled="disabled"
:title="tooltip"
:loading="loading"
:ghost="buttonGhost"
@click="handleClick">
<div :class="['button-content', iconAlign.toLowerCase()]">
<span v-if="cssClass || imagePath" class="icon">
<i v-if="cssClass" :class="cssClass" />
<img v-else :src="imagePath" />
</span>
<span v-if="showCaption" class="caption">{{ caption }}</span>
</div>
</i-button>
<div :class="curClassName" :style="curStyle">
<i-button
:type="buttonType"
:disabled="disabled"
:title="tooltip"
:loading="loading"
:ghost="buttonGhost"
@click="handleClick">
<div :class="['button-content', iconAlign.toLowerCase()]">
<span v-if="cssClass || imagePath" class="icon">
<i v-if="cssClass" :class="cssClass" />
<img v-else :src="imagePath" />
</span>
<span v-if="showCaption" class="caption">{{ caption }}</span>
</div>
</i-button>
</div>
</template>
<script lang="ts">
......
......@@ -146,7 +146,7 @@ export default class AppPresetText extends Vue {
*/
get renderMode() {
const layoutModel = this.layoutModelDetails[this.name];
return layoutModel.renderMode;
return layoutModel.renderMode || 'TEXT';
}
/**
......
......@@ -407,8 +407,16 @@ export default class MDViewEngine extends ViewEngine {
if (this.view && this.view.$refs.searchbar) {
Object.assign(arg, this.view.$refs.searchbar.getData());
}
if (this.view && !this.view.isExpandSearchForm) {
Object.assign(arg, { query: this.view.query });
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 });
}
}
// 快速分组和快速搜索栏
let otherQueryParam:any = {};
......
......@@ -377,6 +377,42 @@ function getAppLocale(){
menuitem187: commonLogic.appcommonhandle("测试布局面板(日历视图)",null),
menuitem188: 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:{
......
......@@ -377,6 +377,42 @@ function getAppLocale(){
menuitem187: commonLogic.appcommonhandle("测试布局面板(日历视图)",null),
menuitem188: 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:{
......
......@@ -377,6 +377,42 @@ function getAppLocale(){
menuitem187: commonLogic.appcommonhandle("测试布局面板(日历视图)",null),
menuitem188: 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:{
......
......@@ -218,6 +218,10 @@ function getLocaleResourceBase(){
caption: commonLogic.appcommonhandle("实体向导视图",null),
title: commonLogic.appcommonhandle("实体向导视图",null),
},
wizardview_layout: {
caption: commonLogic.appcommonhandle("实体向导视图",null),
title: commonLogic.appcommonhandle("实体向导视图",null),
},
interfunckanbanview: {
caption: commonLogic.appcommonhandle("实体看板视图(内置功能)",null),
title: commonLogic.appcommonhandle("实体看板视图(内置功能)",null),
......
......@@ -218,6 +218,10 @@ function getLocaleResourceBase(){
caption: commonLogic.appcommonhandle("BasicUsage",null),
title: commonLogic.appcommonhandle("实体向导视图",null),
},
wizardview_layout: {
caption: commonLogic.appcommonhandle("BasicUsage",null),
title: commonLogic.appcommonhandle("实体向导视图",null),
},
interfunckanbanview: {
caption: commonLogic.appcommonhandle("Entity Kanban View",null),
title: commonLogic.appcommonhandle("实体看板视图(内置功能)",null),
......
......@@ -218,6 +218,10 @@ function getLocaleResourceBase(){
caption: commonLogic.appcommonhandle("实体向导视图",null),
title: commonLogic.appcommonhandle("实体向导视图",null),
},
wizardview_layout: {
caption: commonLogic.appcommonhandle("实体向导视图",null),
title: commonLogic.appcommonhandle("实体向导视图",null),
},
interfunckanbanview: {
caption: commonLogic.appcommonhandle("实体看板视图(内置功能)",null),
title: commonLogic.appcommonhandle("实体看板视图(内置功能)",null),
......
......@@ -1719,6 +1719,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "IBIZCustomer_INTFPickupGridView",
"viewtag": "ca77d5bafd522a52fd278e490ad79f2d"
},
"ibizbookwizardview_layout": {
"title": "实体向导视图",
"caption": "实体向导视图",
"viewtype": "DEWIZARDVIEW",
"viewmodule": "Sample",
"viewname": "IBIZBOOKWizardView_layout",
"viewtag": "ca90f2d89734ba48161642abc9d2cbbd"
},
"ibizbookinterfunckanbanview": {
"title": "实体看板视图(内置功能)",
"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 = {
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-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('ibizappviewlist-view', () => import('@pages/sample/ibizappviewlist-view/ibizappviewlist-view.vue'));
Vue.component('ibizappctrlgrid-view', () => import('@pages/sample/ibizappctrlgrid-view/ibizappctrlgrid-view.vue'));
......
......@@ -1762,6 +1762,20 @@ const router = new Router({
},
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?',
meta: {
......@@ -5017,6 +5031,19 @@ const router = new Router({
},
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?',
meta: {
......
......@@ -14,7 +14,7 @@
<app-preset-text name="static_text1" :layoutModelDetails="layoutModelDetails"/>
</template>
<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 #field_switch>
<app-preset-switch :layoutModelDetails="layoutModelDetails" :value="layoutData.field_switch" name="field_switch" @valueChange="handleValueChange"/>
......
......@@ -2161,6 +2161,19 @@ const router = new Router({
},
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?',
meta: {
......
......@@ -822,6 +822,7 @@ export const viewstate: any = {
'763A9DA0-DC92-49C9-85B7-647A36C019C9',
'BD432FCA-7527-48B5-B553-AE51D75438A3',
'5515A024-BD26-40B2-A13E-932A0DF3E40A',
'ca90f2d89734ba48161642abc9d2cbbd',
],
},
{
......@@ -1633,6 +1634,15 @@ export const viewstate: any = {
refviews: [
],
},
{
viewtag: 'ca90f2d89734ba48161642abc9d2cbbd',
viewmodule: 'Sample',
viewname: 'IBIZBOOKWizardView_layout',
viewaction: '',
viewdatachange: false,
refviews: [
],
},
{
viewtag: 'cac88dba02a9043c06f3582f7d1c9ab6',
viewmodule: 'Sample',
......
......@@ -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:'usr3dataview',srfappde:'ibizbooks',component:'ibizbookusr3-data-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:'haspanellistview',srfappde:'ibizbooks',component:'ibizbookhas-panel-list-view'});
this.allViewMap.set(':',{viewname:'usr10gridview',srfappde:'ibizbooks',component:'ibizbookusr10-grid-view'});
......
......@@ -946,6 +946,9 @@ export default class MainMenuBase extends Vue implements ControlInterface {
case 'UsrAppFunc1104869965':
this.clickUsrAppFunc1104869965(item);
return;
case 'AppFunc102':
this.clickAppFunc102(item);
return;
default:
console.warn('未指定应用功能');
}
......@@ -3616,6 +3619,29 @@ export default class MainMenuBase extends Vue implements ControlInterface {
this.$router.push(path);
})
}
/**
* 图书实体向导视图(布局面板)
*
* @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 {
*/
public load(opt: any = {}): void {
if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZAPPEDITORGridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZAPPEDITORListView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -626,7 +626,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public loadDraft(opt: any = {},mode?:string): void {
if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZAPPEDITORGridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZAPPEDITORListView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return;
}
const arg: any = { ...opt } ;
......
......@@ -663,7 +663,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public load(opt: any = {}): void {
if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr9GridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKGroupByCodelistListView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -699,7 +699,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public loadDraft(opt: any = {},mode?:string): void {
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;
}
const arg: any = { ...opt } ;
......
......@@ -1300,7 +1300,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
*/
public load(opt: any = {}): void {
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;
}
const arg: any = { ...opt };
......@@ -1335,7 +1335,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
*/
public loadDraft(opt: any = {}): void {
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;
}
const arg: any = { ...opt } ;
......@@ -1396,7 +1396,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){
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;
}
Object.assign(arg,{viewparams:this.viewparams});
......@@ -1504,7 +1504,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){
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;
}
Object.assign(arg,{viewparams:this.viewparams});
......@@ -1578,7 +1578,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> {
return new Promise((resolve: any, reject: any) => {
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;
}
const arg: any = opt[0];
......
......@@ -1266,7 +1266,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
*/
public load(opt: any = {}): void {
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;
}
const arg: any = { ...opt };
......@@ -1301,7 +1301,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
*/
public loadDraft(opt: any = {}): void {
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;
}
const arg: any = { ...opt } ;
......@@ -1362,7 +1362,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){
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;
}
Object.assign(arg,{viewparams:this.viewparams});
......@@ -1470,7 +1470,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){
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;
}
Object.assign(arg,{viewparams:this.viewparams});
......@@ -1544,7 +1544,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> {
return new Promise((resolve: any, reject: any) => {
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;
}
const arg: any = opt[0];
......
......@@ -1369,7 +1369,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
*/
public load(opt: any = {}): void {
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;
}
const arg: any = { ...opt };
......@@ -1404,7 +1404,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
*/
public loadDraft(opt: any = {}): void {
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;
}
const arg: any = { ...opt } ;
......@@ -1465,7 +1465,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){
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;
}
Object.assign(arg,{viewparams:this.viewparams});
......@@ -1573,7 +1573,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){
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;
}
Object.assign(arg,{viewparams:this.viewparams});
......@@ -1647,7 +1647,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> {
return new Promise((resolve: any, reject: any) => {
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;
}
const arg: any = opt[0];
......
......@@ -10,7 +10,7 @@ export default class Usr2Model {
* 获取数据项集合
*
* @returns {any[]}
* @memberof Usr2DataViewMode
* @memberof Usr2Dataviewexpbar_dataviewMode
*/
public getDataItems(): any[] {
return [
......@@ -39,17 +39,6 @@ export default class Usr2Model {
dataType: 'FONTKEY',
},
{
name: 'n_ibizbookname_like',
prop: 'n_ibizbookname_like',
dataType: 'QUERYPARAM'
},
{
name: 'n_price_gtandeq',
prop: 'n_price_gtandeq',
dataType: 'QUERYPARAM'
},
{
name:'size',
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册