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

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

上级 c46e37c0
......@@ -607,6 +607,14 @@
"viewname": "AppPortalView2",
"viewtag": "3d5803767cb3743ed92096aff4ca2b72"
},
"ibizbookusreditview_plugin": {
"title": "编辑视图插件测试-底部工具栏",
"caption": "编辑视图插件测试-底部工具栏",
"viewtype": "DEEDITVIEW",
"viewmodule": "Sample",
"viewname": "IBIZBOOKUsrEditView_plugin",
"viewtag": "427E25F6-DBD4-451B-B20E-87929E061C95"
},
"ibizsample0003gridview": {
"title": "IBIZSAMPLE0003表格视图",
"caption": "示例实体03",
......@@ -1567,6 +1575,14 @@
"viewname": "IBIZBOOKUsr2TreeView",
"viewtag": "979100eb38d3859933d5e0b2c5931d00"
},
"ibizbookredirectview": {
"title": "图书数据重定向视图",
"caption": "图书",
"viewtype": "DEREDIRECTVIEW",
"viewmodule": "Sample",
"viewname": "IBIZBOOKRedirectView",
"viewtag": "9826dd82f687825c543cc0598615dd5b"
},
"ibizuniproductpickupview": {
"title": "统一产品数据选择视图",
"caption": "统一产品(索引主实体)",
......@@ -2031,6 +2047,14 @@
"viewname": "IBIZSample0017GridView",
"viewtag": "cb70a29afafed2bc8bcc97ec475b68dc"
},
"ibizbookusrgridview_ctrlplugin": {
"title": "表格部件插件-红色表格头",
"caption": "表格部件插件-红色表格头",
"viewtype": "DEGRIDVIEW",
"viewmodule": "Sample",
"viewname": "IBIZBOOKUsrGridView_ctrlPlugin",
"viewtag": "CBB075E1-BDC9-4F6A-BCF4-09EC4D7370EE"
},
"ibizsoftwaresuitgridview9": {
"title": "软件表格视图",
"caption": "软件",
......
......@@ -445,6 +445,26 @@ function getAppLocale(){
menuitem237: commonLogic.appcommonhandle("表格模板插件(透视表)",null),
menuitem239: commonLogic.appcommonhandle("界面样式表",null),
menuitem240: commonLogic.appcommonhandle("测试菜单项",null),
menuitem241: commonLogic.appcommonhandle("vue3插件测试",null),
menuitem242: commonLogic.appcommonhandle("视图插件",null),
menuitem243: commonLogic.appcommonhandle("应用首页",null),
menuitem244: commonLogic.appcommonhandle("编辑视图",null),
menuitem245: commonLogic.appcommonhandle("表格视图",null),
menuitem246: commonLogic.appcommonhandle("向导视图",null),
menuitem247: commonLogic.appcommonhandle("选项操作视图",null),
menuitem248: commonLogic.appcommonhandle("列表视图",null),
menuitem249: commonLogic.appcommonhandle("选择类视图",null),
menuitem250: commonLogic.appcommonhandle("树视图",null),
menuitem251: commonLogic.appcommonhandle("部件插件",null),
menuitem252: commonLogic.appcommonhandle("表单",null),
menuitem253: commonLogic.appcommonhandle("表格",null),
menuitem254: commonLogic.appcommonhandle("部件项插件",null),
menuitem255: commonLogic.appcommonhandle("表格列",null),
menuitem256: commonLogic.appcommonhandle("表单项",null),
menuitem257: commonLogic.appcommonhandle("编辑器插件",null),
menuitem259: commonLogic.appcommonhandle("界面行为插件",null),
menuitem258: commonLogic.appcommonhandle("应用实体方法插件",null),
menuitem260: commonLogic.appcommonhandle("界面逻辑插件",null),
},
},
formpage:{
......
......@@ -445,6 +445,26 @@ function getAppLocale(){
menuitem237: commonLogic.appcommonhandle("表格模板插件(透视表)",null),
menuitem239: commonLogic.appcommonhandle("界面样式表",null),
menuitem240: commonLogic.appcommonhandle("测试菜单项",null),
menuitem241: commonLogic.appcommonhandle("vue3插件测试",null),
menuitem242: commonLogic.appcommonhandle("视图插件",null),
menuitem243: commonLogic.appcommonhandle("应用首页",null),
menuitem244: commonLogic.appcommonhandle("编辑视图",null),
menuitem245: commonLogic.appcommonhandle("表格视图",null),
menuitem246: commonLogic.appcommonhandle("向导视图",null),
menuitem247: commonLogic.appcommonhandle("选项操作视图",null),
menuitem248: commonLogic.appcommonhandle("列表视图",null),
menuitem249: commonLogic.appcommonhandle("选择类视图",null),
menuitem250: commonLogic.appcommonhandle("树视图",null),
menuitem251: commonLogic.appcommonhandle("部件插件",null),
menuitem252: commonLogic.appcommonhandle("表单",null),
menuitem253: commonLogic.appcommonhandle("表格",null),
menuitem254: commonLogic.appcommonhandle("部件项插件",null),
menuitem255: commonLogic.appcommonhandle("表格列",null),
menuitem256: commonLogic.appcommonhandle("表单项",null),
menuitem257: commonLogic.appcommonhandle("编辑器插件",null),
menuitem259: commonLogic.appcommonhandle("界面行为插件",null),
menuitem258: commonLogic.appcommonhandle("应用实体方法插件",null),
menuitem260: commonLogic.appcommonhandle("界面逻辑插件",null),
},
},
formpage:{
......
......@@ -445,6 +445,26 @@ function getAppLocale(){
menuitem237: commonLogic.appcommonhandle("表格模板插件(透视表)",null),
menuitem239: commonLogic.appcommonhandle("界面样式表",null),
menuitem240: commonLogic.appcommonhandle("测试菜单项",null),
menuitem241: commonLogic.appcommonhandle("vue3插件测试",null),
menuitem242: commonLogic.appcommonhandle("视图插件",null),
menuitem243: commonLogic.appcommonhandle("应用首页",null),
menuitem244: commonLogic.appcommonhandle("编辑视图",null),
menuitem245: commonLogic.appcommonhandle("表格视图",null),
menuitem246: commonLogic.appcommonhandle("向导视图",null),
menuitem247: commonLogic.appcommonhandle("选项操作视图",null),
menuitem248: commonLogic.appcommonhandle("列表视图",null),
menuitem249: commonLogic.appcommonhandle("选择类视图",null),
menuitem250: commonLogic.appcommonhandle("树视图",null),
menuitem251: commonLogic.appcommonhandle("部件插件",null),
menuitem252: commonLogic.appcommonhandle("表单",null),
menuitem253: commonLogic.appcommonhandle("表格",null),
menuitem254: commonLogic.appcommonhandle("部件项插件",null),
menuitem255: commonLogic.appcommonhandle("表格列",null),
menuitem256: commonLogic.appcommonhandle("表单项",null),
menuitem257: commonLogic.appcommonhandle("编辑器插件",null),
menuitem259: commonLogic.appcommonhandle("界面行为插件",null),
menuitem258: commonLogic.appcommonhandle("应用实体方法插件",null),
menuitem260: commonLogic.appcommonhandle("界面逻辑插件",null),
},
},
formpage:{
......
......@@ -120,6 +120,10 @@ function getLocaleResourceBase(){
caption: commonLogic.appcommonhandle("编辑表单内置功能",null),
title: commonLogic.appcommonhandle("图书编辑视图(内置功能)",null),
},
usreditview_plugin: {
caption: commonLogic.appcommonhandle("编辑视图插件测试-底部工具栏",null),
title: commonLogic.appcommonhandle("编辑视图插件测试-底部工具栏",null),
},
usr4calendarview: {
caption: commonLogic.appcommonhandle("图书",null),
title: commonLogic.appcommonhandle("图书日历视图(自定义插件)",null),
......@@ -220,6 +224,10 @@ function getLocaleResourceBase(){
caption: commonLogic.appcommonhandle("实体树视图",null),
title: commonLogic.appcommonhandle("实体树视图",null),
},
redirectview: {
caption: commonLogic.appcommonhandle("图书",null),
title: commonLogic.appcommonhandle("图书数据重定向视图",null),
},
customview: {
caption: commonLogic.appcommonhandle("实体自定义视图",null),
title: commonLogic.appcommonhandle("实体自定义视图",null),
......@@ -272,6 +280,10 @@ function getLocaleResourceBase(){
caption: commonLogic.appcommonhandle("实体看板视图(内置功能)",null),
title: commonLogic.appcommonhandle("实体看板视图(内置功能)",null),
},
usrgridview_ctrlplugin: {
caption: commonLogic.appcommonhandle("表格部件插件-红色表格头",null),
title: commonLogic.appcommonhandle("表格部件插件-红色表格头",null),
},
usr2customview: {
caption: commonLogic.appcommonhandle("图书",null),
title: commonLogic.appcommonhandle("图书自定义视图",null),
......@@ -1834,6 +1846,64 @@ function getLocaleResourceBase(){
tip: commonLogic.appcommonhandle("多项数据测试",null),
},
},
usrgridview_ctrlplugintoolbar_toolbar: {
tbitem3: {
caption: commonLogic.appcommonhandle("新建",null),
tip: commonLogic.appcommonhandle("新建",null),
},
tbitem4: {
caption: commonLogic.appcommonhandle("编辑",null),
tip: commonLogic.appcommonhandle("编辑",null),
},
deuiaction1: {
caption: commonLogic.appcommonhandle("刷新",null),
tip: commonLogic.appcommonhandle("刷新",null),
},
tbitem6: {
caption: commonLogic.appcommonhandle("拷贝",null),
tip: commonLogic.appcommonhandle("拷贝",null),
},
tbitem7: {
caption: commonLogic.appcommonhandle("-",null),
tip: commonLogic.appcommonhandle("",null),
},
tbitem8: {
caption: commonLogic.appcommonhandle("删除",null),
tip: commonLogic.appcommonhandle("删除",null),
},
tbitem9: {
caption: commonLogic.appcommonhandle("-",null),
tip: commonLogic.appcommonhandle("",null),
},
tbitem13: {
caption: commonLogic.appcommonhandle("导出",null),
tip: commonLogic.appcommonhandle("导出",null),
},
tbitem10: {
caption: commonLogic.appcommonhandle("-",null),
tip: commonLogic.appcommonhandle("",null),
},
tbitem11: {
caption: commonLogic.appcommonhandle("打印",null),
tip: commonLogic.appcommonhandle("打印",null),
},
tbitem12: {
caption: commonLogic.appcommonhandle("-",null),
tip: commonLogic.appcommonhandle("",null),
},
tbitem16: {
caption: commonLogic.appcommonhandle("其它",null),
tip: commonLogic.appcommonhandle("其它",null),
},
tbitem21: {
caption: commonLogic.appcommonhandle("导出数据模型",null),
tip: commonLogic.appcommonhandle("导出数据模型",null),
},
tbitem23: {
caption: commonLogic.appcommonhandle("数据导入",null),
tip: commonLogic.appcommonhandle("数据导入",null),
},
},
usr6dataviewtoolbar_toolbar: {
},
usr2editviewtoolbar_toolbar: {
......@@ -2026,6 +2096,28 @@ function getLocaleResourceBase(){
tip: commonLogic.appcommonhandle("导出数据模型",null),
},
},
usreditview_plugintoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("新建",null),
tip: commonLogic.appcommonhandle("新建",null),
},
tbitem3: {
caption: commonLogic.appcommonhandle("保存",null),
tip: commonLogic.appcommonhandle("保存",null),
},
tbitem5: {
caption: commonLogic.appcommonhandle("保存并关闭",null),
tip: commonLogic.appcommonhandle("保存并关闭",null),
},
tbitem8: {
caption: commonLogic.appcommonhandle("-",null),
tip: commonLogic.appcommonhandle("",null),
},
tbitem15: {
caption: commonLogic.appcommonhandle("打印",null),
tip: commonLogic.appcommonhandle("打印",null),
},
},
usr2dataviewtoolbar_toolbar: {
},
usr2dataviewdataview_batchtoolbar_toolbar: {
......
......@@ -120,6 +120,10 @@ function getLocaleResourceBase(){
caption: commonLogic.appcommonhandle("Entity Edit View",null),
title: commonLogic.appcommonhandle("图书编辑视图(内置功能)",null),
},
usreditview_plugin: {
caption: commonLogic.appcommonhandle("编辑视图插件测试-底部工具栏",null),
title: commonLogic.appcommonhandle("编辑视图插件测试-底部工具栏",null),
},
usr4calendarview: {
caption: commonLogic.appcommonhandle("Custom Plug In",null),
title: commonLogic.appcommonhandle("图书日历视图(自定义插件)",null),
......@@ -220,6 +224,10 @@ function getLocaleResourceBase(){
caption: commonLogic.appcommonhandle("Tree View",null),
title: commonLogic.appcommonhandle("实体树视图",null),
},
redirectview: {
caption: commonLogic.appcommonhandle("图书",null),
title: commonLogic.appcommonhandle("图书数据重定向视图",null),
},
customview: {
caption: commonLogic.appcommonhandle("Custom View",null),
title: commonLogic.appcommonhandle("实体自定义视图",null),
......@@ -272,6 +280,10 @@ function getLocaleResourceBase(){
caption: commonLogic.appcommonhandle("Entity Kanban View",null),
title: commonLogic.appcommonhandle("实体看板视图(内置功能)",null),
},
usrgridview_ctrlplugin: {
caption: commonLogic.appcommonhandle("表格部件插件-红色表格头",null),
title: commonLogic.appcommonhandle("表格部件插件-红色表格头",null),
},
usr2customview: {
caption: commonLogic.appcommonhandle("图书",null),
title: commonLogic.appcommonhandle("图书自定义视图",null),
......@@ -1834,6 +1846,64 @@ function getLocaleResourceBase(){
tip: commonLogic.appcommonhandle("多项数据测试",null),
},
},
usrgridview_ctrlplugintoolbar_toolbar: {
tbitem3: {
caption: commonLogic.appcommonhandle("New",null),
tip: commonLogic.appcommonhandle("New",null),
},
tbitem4: {
caption: commonLogic.appcommonhandle("Edit",null),
tip: commonLogic.appcommonhandle("Edit {0}",null),
},
deuiaction1: {
caption: commonLogic.appcommonhandle("刷新",null),
tip: commonLogic.appcommonhandle("刷新",null),
},
tbitem6: {
caption: commonLogic.appcommonhandle("Copy",null),
tip: commonLogic.appcommonhandle("Copy {0}",null),
},
tbitem7: {
caption: commonLogic.appcommonhandle("-",null),
tip: commonLogic.appcommonhandle("",null),
},
tbitem8: {
caption: commonLogic.appcommonhandle("Remove",null),
tip: commonLogic.appcommonhandle("Remove {0}",null),
},
tbitem9: {
caption: commonLogic.appcommonhandle("-",null),
tip: commonLogic.appcommonhandle("",null),
},
tbitem13: {
caption: commonLogic.appcommonhandle("Export",null),
tip: commonLogic.appcommonhandle("Export {0} Data To Excel",null),
},
tbitem10: {
caption: commonLogic.appcommonhandle("-",null),
tip: commonLogic.appcommonhandle("",null),
},
tbitem11: {
caption: commonLogic.appcommonhandle("Print",null),
tip: commonLogic.appcommonhandle("Print",null),
},
tbitem12: {
caption: commonLogic.appcommonhandle("-",null),
tip: commonLogic.appcommonhandle("",null),
},
tbitem16: {
caption: commonLogic.appcommonhandle("其它",null),
tip: commonLogic.appcommonhandle("其它",null),
},
tbitem21: {
caption: commonLogic.appcommonhandle("Export Data Model",null),
tip: commonLogic.appcommonhandle("导出数据模型",null),
},
tbitem23: {
caption: commonLogic.appcommonhandle("数据导入",null),
tip: commonLogic.appcommonhandle("数据导入",null),
},
},
usr6dataviewtoolbar_toolbar: {
},
usr2editviewtoolbar_toolbar: {
......@@ -2026,6 +2096,28 @@ function getLocaleResourceBase(){
tip: commonLogic.appcommonhandle("导出数据模型",null),
},
},
usreditview_plugintoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("New",null),
tip: commonLogic.appcommonhandle("New",null),
},
tbitem3: {
caption: commonLogic.appcommonhandle("Save",null),
tip: commonLogic.appcommonhandle("Save",null),
},
tbitem5: {
caption: commonLogic.appcommonhandle("Save And Close",null),
tip: commonLogic.appcommonhandle("Save And Close Window",null),
},
tbitem8: {
caption: commonLogic.appcommonhandle("-",null),
tip: commonLogic.appcommonhandle("",null),
},
tbitem15: {
caption: commonLogic.appcommonhandle("Print",null),
tip: commonLogic.appcommonhandle("Print",null),
},
},
usr2dataviewtoolbar_toolbar: {
},
usr2dataviewdataview_batchtoolbar_toolbar: {
......
......@@ -120,6 +120,10 @@ function getLocaleResourceBase(){
caption: commonLogic.appcommonhandle("编辑表单内置功能",null),
title: commonLogic.appcommonhandle("图书编辑视图(内置功能)",null),
},
usreditview_plugin: {
caption: commonLogic.appcommonhandle("编辑视图插件测试-底部工具栏",null),
title: commonLogic.appcommonhandle("编辑视图插件测试-底部工具栏",null),
},
usr4calendarview: {
caption: commonLogic.appcommonhandle("图书",null),
title: commonLogic.appcommonhandle("图书日历视图(自定义插件)",null),
......@@ -220,6 +224,10 @@ function getLocaleResourceBase(){
caption: commonLogic.appcommonhandle("实体树视图",null),
title: commonLogic.appcommonhandle("实体树视图",null),
},
redirectview: {
caption: commonLogic.appcommonhandle("图书",null),
title: commonLogic.appcommonhandle("图书数据重定向视图",null),
},
customview: {
caption: commonLogic.appcommonhandle("实体自定义视图",null),
title: commonLogic.appcommonhandle("实体自定义视图",null),
......@@ -272,6 +280,10 @@ function getLocaleResourceBase(){
caption: commonLogic.appcommonhandle("实体看板视图(内置功能)",null),
title: commonLogic.appcommonhandle("实体看板视图(内置功能)",null),
},
usrgridview_ctrlplugin: {
caption: commonLogic.appcommonhandle("表格部件插件-红色表格头",null),
title: commonLogic.appcommonhandle("表格部件插件-红色表格头",null),
},
usr2customview: {
caption: commonLogic.appcommonhandle("图书",null),
title: commonLogic.appcommonhandle("图书自定义视图",null),
......@@ -1834,6 +1846,64 @@ function getLocaleResourceBase(){
tip: commonLogic.appcommonhandle("多项数据测试",null),
},
},
usrgridview_ctrlplugintoolbar_toolbar: {
tbitem3: {
caption: commonLogic.appcommonhandle("新建",null),
tip: commonLogic.appcommonhandle("新建",null),
},
tbitem4: {
caption: commonLogic.appcommonhandle("编辑",null),
tip: commonLogic.appcommonhandle("编辑",null),
},
deuiaction1: {
caption: commonLogic.appcommonhandle("刷新",null),
tip: commonLogic.appcommonhandle("刷新",null),
},
tbitem6: {
caption: commonLogic.appcommonhandle("拷贝",null),
tip: commonLogic.appcommonhandle("拷贝",null),
},
tbitem7: {
caption: commonLogic.appcommonhandle("-",null),
tip: commonLogic.appcommonhandle("",null),
},
tbitem8: {
caption: commonLogic.appcommonhandle("删除",null),
tip: commonLogic.appcommonhandle("删除",null),
},
tbitem9: {
caption: commonLogic.appcommonhandle("-",null),
tip: commonLogic.appcommonhandle("",null),
},
tbitem13: {
caption: commonLogic.appcommonhandle("导出",null),
tip: commonLogic.appcommonhandle("导出",null),
},
tbitem10: {
caption: commonLogic.appcommonhandle("-",null),
tip: commonLogic.appcommonhandle("",null),
},
tbitem11: {
caption: commonLogic.appcommonhandle("打印",null),
tip: commonLogic.appcommonhandle("打印",null),
},
tbitem12: {
caption: commonLogic.appcommonhandle("-",null),
tip: commonLogic.appcommonhandle("",null),
},
tbitem16: {
caption: commonLogic.appcommonhandle("其它",null),
tip: commonLogic.appcommonhandle("其它",null),
},
tbitem21: {
caption: commonLogic.appcommonhandle("导出数据模型",null),
tip: commonLogic.appcommonhandle("导出数据模型",null),
},
tbitem23: {
caption: commonLogic.appcommonhandle("数据导入",null),
tip: commonLogic.appcommonhandle("数据导入",null),
},
},
usr6dataviewtoolbar_toolbar: {
},
usr2editviewtoolbar_toolbar: {
......@@ -2026,6 +2096,28 @@ function getLocaleResourceBase(){
tip: commonLogic.appcommonhandle("导出数据模型",null),
},
},
usreditview_plugintoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("新建",null),
tip: commonLogic.appcommonhandle("新建",null),
},
tbitem3: {
caption: commonLogic.appcommonhandle("保存",null),
tip: commonLogic.appcommonhandle("保存",null),
},
tbitem5: {
caption: commonLogic.appcommonhandle("保存并关闭",null),
tip: commonLogic.appcommonhandle("保存并关闭",null),
},
tbitem8: {
caption: commonLogic.appcommonhandle("-",null),
tip: commonLogic.appcommonhandle("",null),
},
tbitem15: {
caption: commonLogic.appcommonhandle("打印",null),
tip: commonLogic.appcommonhandle("打印",null),
},
},
usr2dataviewtoolbar_toolbar: {
},
usr2dataviewdataview_batchtoolbar_toolbar: {
......
......@@ -615,6 +615,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "AppPortalView2",
"viewtag": "3d5803767cb3743ed92096aff4ca2b72"
},
"ibizbookusreditview_plugin": {
"title": "编辑视图插件测试-底部工具栏",
"caption": "编辑视图插件测试-底部工具栏",
"viewtype": "DEEDITVIEW",
"viewmodule": "Sample",
"viewname": "IBIZBOOKUsrEditView_plugin",
"viewtag": "427E25F6-DBD4-451B-B20E-87929E061C95"
},
"ibizsample0003gridview": {
"title": "IBIZSAMPLE0003表格视图",
"caption": "示例实体03",
......@@ -1575,6 +1583,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "IBIZBOOKUsr2TreeView",
"viewtag": "979100eb38d3859933d5e0b2c5931d00"
},
"ibizbookredirectview": {
"title": "图书数据重定向视图",
"caption": "图书",
"viewtype": "DEREDIRECTVIEW",
"viewmodule": "Sample",
"viewname": "IBIZBOOKRedirectView",
"viewtag": "9826dd82f687825c543cc0598615dd5b"
},
"ibizuniproductpickupview": {
"title": "统一产品数据选择视图",
"caption": "统一产品(索引主实体)",
......@@ -2039,6 +2055,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "IBIZSample0017GridView",
"viewtag": "cb70a29afafed2bc8bcc97ec475b68dc"
},
"ibizbookusrgridview_ctrlplugin": {
"title": "表格部件插件-红色表格头",
"caption": "表格部件插件-红色表格头",
"viewtype": "DEGRIDVIEW",
"viewmodule": "Sample",
"viewname": "IBIZBOOKUsrGridView_ctrlPlugin",
"viewtag": "CBB075E1-BDC9-4F6A-BCF4-09EC4D7370EE"
},
"ibizsoftwaresuitgridview9": {
"title": "软件表格视图",
"caption": "软件",
......
// 基于 @VIEW/实体数据重定向视图/VIEW.less.ftl 生成
.ibizbookredirect-view{
position: relative;
}
.ibizbookredirect-view{
display: block;
}
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import IBIZBOOKRedirectViewBase from './ibizbookredirect-view-base.vue';
// 基于 @VIEW/实体数据重定向视图/VIEW.vue.ftl 生成
@Component({
components: {
},
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 IBIZBOOKRedirectView extends IBIZBOOKRedirectViewBase {
}
</script>
\ No newline at end of file
// 基于 @VIEW/实体编辑视图/VIEW.less.ftl 生成
.ibizbookusr-edit-view-plugin{
position: relative;
}
.toolbar-container {
button {
margin: 6px 0px 4px 4px;
.caption {
margin-left: 4px;
}
}
.seperator {
color: #dcdee2;
margin: 0 0px 0 4px;
}
}
// this is less
.deepskyblueToolBar {color:white !important;background-color:#108cee !important;}
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import IBIZBOOKUsrEditView_pluginBase from './ibizbookusr-edit-view-plugin-base.vue';
import view_form from '@widgets/ibizbook/main-form/main-form.vue';
// 基于 @VIEW/实体编辑视图/VIEW.vue.ftl 生成
@Component({
components: {
view_form,
},
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 IBIZBOOKUsrEditView_plugin extends IBIZBOOKUsrEditView_pluginBase {
}
</script>
\ No newline at end of file
// 基于 @VIEW/实体表格视图/VIEW.less.ftl 生成
.ibizbookusr-grid-view-ctrl-plugin{
position: relative;
}
.toolbar-container {
button {
margin: 6px 0px 4px 4px;
.caption {
margin-left: 4px;
}
}
.seperator {
color: #dcdee2;
margin: 0 0px 0 4px;
}
}
// this is less
.deepskyblueToolBar {color:white !important;background-color:#108cee !important;}
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import IBIZBOOKUsrGridView_ctrlPluginBase from './ibizbookusr-grid-view-ctrl-plugin-base.vue';
import view_grid from '@widgets/ibizbook/main-grid/main-grid.vue';
import view_searchform from '@widgets/ibizbook/quicksearchform-searchform/quicksearchform-searchform.vue';
// 基于 @VIEW/实体表格视图/VIEW.vue.ftl 生成
@Component({
components: {
view_grid,
view_searchform,
},
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 IBIZBOOKUsrGridView_ctrlPlugin extends IBIZBOOKUsrGridView_ctrlPluginBase {
}
</script>
\ No newline at end of file
......@@ -150,6 +150,8 @@ export const PageComponents = {
Vue.component('ibizsample0001-usr3-edit-view', () => import('@pages/sample/ibizsample0001-usr3-edit-view/ibizsample0001-usr3-edit-view.vue'));
Vue.component('ibizorder-view-plugin-ex-grid-view', () => import('@pages/sample/ibizorder-view-plugin-ex-grid-view/ibizorder-view-plugin-ex-grid-view.vue'));
Vue.component('ibizorder-proivate-plugin-grid-view', () => import('@pages/sample/ibizorder-proivate-plugin-grid-view/ibizorder-proivate-plugin-grid-view.vue'));
Vue.component('ibizbookusr-edit-view-plugin', () => import('@pages/sample/ibizbookusr-edit-view-plugin/ibizbookusr-edit-view-plugin.vue'));
Vue.component('ibizbookusr-grid-view-ctrl-plugin', () => import('@pages/sample/ibizbookusr-grid-view-ctrl-plugin/ibizbookusr-grid-view-ctrl-plugin.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'));
......@@ -216,6 +218,7 @@ export const PageComponents = {
Vue.component('ibizcustomer-pickup-view-layout', () => import('@pages/sample/ibizcustomer-pickup-view-layout/ibizcustomer-pickup-view-layout.vue'));
Vue.component('ibizcustomer-mpickup-view-layout', () => import('@pages/sample/ibizcustomer-mpickup-view-layout/ibizcustomer-mpickup-view-layout.vue'));
Vue.component('ibizorder-redirect-view', () => import('@pages/sample/ibizorder-redirect-view/ibizorder-redirect-view.vue'));
Vue.component('ibizbookredirect-view', () => import('@pages/sample/ibizbookredirect-view/ibizbookredirect-view.vue'));
Vue.component('ibizappviewedit-view', () => import('@pages/sample/ibizappviewedit-view/ibizappviewedit-view.vue'));
Vue.component('ibizappctrledit-view', () => import('@pages/sample/ibizappctrledit-view/ibizappctrledit-view.vue'));
Vue.component('ibizappeditoredit-view', () => import('@pages/sample/ibizappeditoredit-view/ibizappeditoredit-view.vue'));
......
......@@ -2265,6 +2265,34 @@ const router = new Router({
},
component: () => import('@pages/sample/ibizorder-proivate-plugin-grid-view/ibizorder-proivate-plugin-grid-view.vue'),
},
{
path: 'ibizbooks/:ibizbook?/usreditview_plugin/:usreditview_plugin?',
meta: {
caption: 'entities.ibizbook.views.usreditview_plugin.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'usreditview_plugin', parameterName: 'usreditview_plugin' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbookusr-edit-view-plugin/ibizbookusr-edit-view-plugin.vue'),
},
{
path: 'ibizbooks/:ibizbook?/usrgridview_ctrlplugin/:usrgridview_ctrlplugin?',
meta: {
caption: 'entities.ibizbook.views.usrgridview_ctrlplugin.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'usrgridview_ctrlplugin', parameterName: 'usrgridview_ctrlplugin' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbookusr-grid-view-ctrl-plugin/ibizbookusr-grid-view-ctrl-plugin.vue'),
},
{
path: 'ibizappviews/:ibizappview?/gridview/:gridview?',
meta: {
......@@ -3604,6 +3632,21 @@ const router = new Router({
},
component: () => import('@pages/sample/ibizuniproduct-redirect-view/ibizuniproduct-redirect-view.vue'),
},
{
path: 'ibizbooks/:ibizbook?/redirectview/:redirectview?',
meta: {
caption: 'entities.ibizbook.views.redirectview.caption',
info:'',
viewType: 'REDIRECTVIEW',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'redirectview', parameterName: 'redirectview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbookredirect-view/ibizbookredirect-view.vue'),
},
{
path: 'ibizorders/:ibizorder?/redirectview/:redirectview?',
meta: {
......@@ -4391,6 +4434,19 @@ const router = new Router({
},
component: () => import('@pages/sample/app-portal-view2/app-portal-view2.vue'),
},
{
path: '/ibizbooks/:ibizbook?/usreditview_plugin/:usreditview_plugin?',
meta: {
caption: 'entities.ibizbook.views.usreditview_plugin.caption',
info:'',
parameters: [
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'usreditview_plugin', parameterName: 'usreditview_plugin' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbookusr-edit-view-plugin/ibizbookusr-edit-view-plugin.vue'),
},
{
path: '/ibizsample0003s/:ibizsample0003?/gridview/:gridview?',
meta: {
......@@ -5688,6 +5744,21 @@ const router = new Router({
},
component: () => import('@pages/sample/ibizbookusr2-tree-view/ibizbookusr2-tree-view.vue'),
},
{
path: '/ibizbooks/:ibizbook?/redirectview/:redirectview?',
meta: {
caption: 'entities.ibizbook.views.redirectview.caption',
info:'',
viewType: 'REDIRECTVIEW',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'redirectview', parameterName: 'redirectview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbookredirect-view/ibizbookredirect-view.vue'),
},
{
path: '/ibizuniproducts/:ibizuniproduct?/pickupview/:pickupview?',
meta: {
......@@ -6292,6 +6363,19 @@ const router = new Router({
},
component: () => import('@pages/sample/ibizorder-pickup-grid-view/ibizorder-pickup-grid-view.vue'),
},
{
path: '/ibizbooks/:ibizbook?/usrgridview_ctrlplugin/:usrgridview_ctrlplugin?',
meta: {
caption: 'entities.ibizbook.views.usrgridview_ctrlplugin.caption',
info:'',
parameters: [
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'usrgridview_ctrlplugin', parameterName: 'usrgridview_ctrlplugin' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbookusr-grid-view-ctrl-plugin/ibizbookusr-grid-view-ctrl-plugin.vue'),
},
{
path: '/ibizsoftwaresuits/:ibizsoftwaresuit?/gridview9/:gridview9?',
meta: {
......
......@@ -50,6 +50,21 @@ const router = new Router({
},
component: () => import('@pages/sample/ibizuniproduct-redirect-view/ibizuniproduct-redirect-view.vue'),
},
{
path: 'ibizbooks/:ibizbook?/redirectview/:redirectview?',
meta: {
caption: 'entities.ibizbook.views.redirectview.caption',
info:'',
viewType: 'REDIRECTVIEW',
parameters: [
{ pathName: 'appindexview', parameterName: 'appindexview' },
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'redirectview', parameterName: 'redirectview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbookredirect-view/ibizbookredirect-view.vue'),
},
{
path: 'ibizorders/:ibizorder?/redirectview/:redirectview?',
meta: {
......@@ -837,6 +852,19 @@ const router = new Router({
},
component: () => import('@pages/sample/app-portal-view2/app-portal-view2.vue'),
},
{
path: '/ibizbooks/:ibizbook?/usreditview_plugin/:usreditview_plugin?',
meta: {
caption: 'entities.ibizbook.views.usreditview_plugin.caption',
info:'',
parameters: [
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'usreditview_plugin', parameterName: 'usreditview_plugin' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbookusr-edit-view-plugin/ibizbookusr-edit-view-plugin.vue'),
},
{
path: '/ibizsample0003s/:ibizsample0003?/gridview/:gridview?',
meta: {
......@@ -2134,6 +2162,21 @@ const router = new Router({
},
component: () => import('@pages/sample/ibizbookusr2-tree-view/ibizbookusr2-tree-view.vue'),
},
{
path: '/ibizbooks/:ibizbook?/redirectview/:redirectview?',
meta: {
caption: 'entities.ibizbook.views.redirectview.caption',
info:'',
viewType: 'REDIRECTVIEW',
parameters: [
{ pathName: 'appindexview', parameterName: 'appindexview' },
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'redirectview', parameterName: 'redirectview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbookredirect-view/ibizbookredirect-view.vue'),
},
{
path: '/ibizuniproducts/:ibizuniproduct?/pickupview/:pickupview?',
meta: {
......@@ -2738,6 +2781,19 @@ const router = new Router({
},
component: () => import('@pages/sample/ibizorder-pickup-grid-view/ibizorder-pickup-grid-view.vue'),
},
{
path: '/ibizbooks/:ibizbook?/usrgridview_ctrlplugin/:usrgridview_ctrlplugin?',
meta: {
caption: 'entities.ibizbook.views.usrgridview_ctrlplugin.caption',
info:'',
parameters: [
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'usrgridview_ctrlplugin', parameterName: 'usrgridview_ctrlplugin' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbookusr-grid-view-ctrl-plugin/ibizbookusr-grid-view-ctrl-plugin.vue'),
},
{
path: '/ibizsoftwaresuits/:ibizsoftwaresuit?/gridview9/:gridview9?',
meta: {
......
......@@ -222,16 +222,34 @@ export default class IBIZBOOKServiceBase extends EntityService {
return res;
}
public async UpdatePress(context: any = {},data: any = {}, isloading?: boolean): Promise<any> {
let tempData:any = JSON.parse(JSON.stringify(data));
if(Object.is(tempData.type,"武侠") || Object.is(tempData.type,"仙侠") ){
tempData.press = "科幻文学出版社";
}
if(Object.is(tempData.type,"玄幻") || Object.is(tempData.type,"都市") ){
tempData.press = "人民出版社";
}
return {"status":200,"data":tempData};
}
/**
* UpdatePress接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof IBIZBOOKServiceBase
*/
public async UpdatePress(context: any = {},data: any = {}, isloading?: boolean): Promise<any> {
let res:any = Http.getInstance().put(`/ibizbooks/${context.ibizbook}/updatepress`,data,isloading);
return res;
}
/**
* UpdatePressBatch接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof IBIZBOOKServiceBase
*/
public async UpdatePressBatch(context: any = {},data: any = {}, isloading?: boolean): Promise<any> {
let tempData:any = JSON.parse(JSON.stringify(data));
return await Http.getInstance().post(`/ibizbooks/updatepressbatch`,tempData,isloading);
}
/**
* FetchDefault接口方法
......
......@@ -105,15 +105,63 @@ export default class IBIZCustomerServiceBase extends EntityService {
return res;
}
public async GetDynaCarousel(context: any = {},data: any = {}, isloading?: boolean): Promise<any> {
let tempData:any = JSON.parse(JSON.stringify(data));
tempData['field_carousel'] = [ { key:'img1', value:'fa fa-bank', type:'icon' }, { key:'img2', value:'assets/img/logo2.png', type:'img' }, { key:'img3', value:'fa fa-steam-square', type:'icon' }, { key:'img4', value:'/assets/img/login_bg.png', type:'img' }, { key:'autoplay', value:'1', }, { key:'timespan', value:'2000', } ]
return {"status":200,"data":tempData};
}
public async GetDynaImg(context: any = {},data: any = {}, isloading?: boolean): Promise<any> {
/**
* GetDynaCarousel接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof IBIZCustomerServiceBase
*/
public async GetDynaCarousel(context: any = {},data: any = {}, isloading?: boolean): Promise<any> {
let res:any = await Http.getInstance().get(`/ibizcustomers/${context.ibizcustomer}/getdynacarousel`,{},isloading);
return res;
}
/**
* GetDynaCarouselBatch接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof IBIZCustomerServiceBase
*/
public async GetDynaCarouselBatch(context: any = {},data: any = {}, isloading?: boolean): Promise<any> {
let tempData:any = JSON.parse(JSON.stringify(data));
return await Http.getInstance().post(`/ibizcustomers/getdynacarouselbatch`,tempData,isloading);
}
/**
* GetDynaImg接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof IBIZCustomerServiceBase
*/
public async GetDynaImg(context: any = {},data: any = {}, isloading?: boolean): Promise<any> {
let res:any = await Http.getInstance().get(`/ibizcustomers/${context.ibizcustomer}/getdynaimg`,{},isloading);
return res;
}
/**
* GetDynaImgBatch接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof IBIZCustomerServiceBase
*/
public async GetDynaImgBatch(context: any = {},data: any = {}, isloading?: boolean): Promise<any> {
let tempData:any = JSON.parse(JSON.stringify(data));
tempData['field_image'] = 'assets/img/logo2.png'
return {"status":200,"data":tempData};
return await Http.getInstance().post(`/ibizcustomers/getdynaimgbatch`,tempData,isloading);
}
/**
......
......@@ -592,6 +592,15 @@ export const viewstate: any = {
refviews: [
],
},
{
viewtag: '427E25F6-DBD4-451B-B20E-87929E061C95',
viewmodule: 'Sample',
viewname: 'IBIZBOOKUsrEditView_plugin',
viewaction: '',
viewdatachange: false,
refviews: [
],
},
{
viewtag: '42beaffcf3633c8717a81f3cf559b8ae',
viewmodule: 'Sample',
......@@ -1031,6 +1040,8 @@ export const viewstate: any = {
'6230296bda88a91a67631daac946281b',
'730EF6B2-038F-4AF2-86DF-E8455B0CBE75',
'8A41D051-1CDD-4050-9B28-822A20EA0D40',
'427E25F6-DBD4-451B-B20E-87929E061C95',
'CBB075E1-BDC9-4F6A-BCF4-09EC4D7370EE',
],
},
{
......@@ -1717,6 +1728,16 @@ export const viewstate: any = {
refviews: [
],
},
{
viewtag: '9826dd82f687825c543cc0598615dd5b',
viewmodule: 'Sample',
viewname: 'IBIZBOOKRedirectView',
viewaction: '',
viewdatachange: false,
refviews: [
'58e37ccddda10feedac7c809d5cee02a',
],
},
{
viewtag: '993e4b7a074b1585f383365fff297164',
viewmodule: 'Sample',
......@@ -2135,6 +2156,17 @@ export const viewstate: any = {
refviews: [
],
},
{
viewtag: 'CBB075E1-BDC9-4F6A-BCF4-09EC4D7370EE',
viewmodule: 'Sample',
viewname: 'IBIZBOOKUsrGridView_ctrlPlugin',
viewaction: '',
viewdatachange: false,
refviews: [
'58e37ccddda10feedac7c809d5cee02a',
'9826dd82f687825c543cc0598615dd5b',
],
},
{
viewtag: 'cbf09cbd2a5b6c65479dec84af3fe874',
viewmodule: 'Sample',
......
......@@ -120,6 +120,7 @@ export default class IBIZBOOKUIServiceBase extends UIService {
this.allViewMap.set(':',{viewname:'valuerulesgridview',viewType:'DEGRIDVIEW',srfappde:'ibizbooks',component:'ibizbookvalue-rules-grid-view'});
this.allViewMap.set(':',{viewname:'usr2meditview9',viewType:'DEMEDITVIEW9',srfappde:'ibizbooks',component:'ibizbookusr2-medit-view9'});
this.allViewMap.set(':',{viewname:'interfunceditview',viewType:'DEEDITVIEW',srfappde:'ibizbooks',component:'ibizbookinter-func-edit-view'});
this.allViewMap.set(':',{viewname:'usreditview_plugin',viewType:'DEEDITVIEW',srfappde:'ibizbooks',component:'ibizbookusr-edit-view-plugin'});
this.allViewMap.set(':',{viewname:'usr4calendarview',viewType:'DECALENDARVIEW',srfappde:'ibizbooks',component:'ibizbookusr4-calendar-view'});
this.allViewMap.set(':',{viewname:'editview2',viewType:'DEEDITVIEW2',srfappde:'ibizbooks',component:'ibizbookedit-view2'});
this.allViewMap.set(':',{viewname:'wizardiwithstateview',viewType:'DEWIZARDVIEW',srfappde:'ibizbooks',component:'ibizbookwizard-iwith-state-view'});
......@@ -145,6 +146,7 @@ export default class IBIZBOOKUIServiceBase extends UIService {
this.allViewMap.set(':',{viewname:'usr3listview',viewType:'DELISTVIEW',srfappde:'ibizbooks',component:'ibizbookusr3-list-view'});
this.allViewMap.set(':',{viewname:'meditview9',viewType:'DEMEDITVIEW9',srfappde:'ibizbooks',component:'ibizbookmedit-view9'});
this.allViewMap.set(':',{viewname:'usr2treeview',viewType:'DETREEVIEW',srfappde:'ibizbooks',component:'ibizbookusr2-tree-view'});
this.allViewMap.set('REDIRECTVIEW:',{viewname:'redirectview',viewType:'DEREDIRECTVIEW',srfappde:'ibizbooks',component:'ibizbookredirect-view'});
this.allViewMap.set(':',{viewname:'customview',viewType:'DECUSTOMVIEW',srfappde:'ibizbooks',component:'ibizbookcustom-view'});
this.allViewMap.set(':',{viewname:'usr4listview',viewType:'DELISTVIEW',srfappde:'ibizbooks',component:'ibizbookusr4-list-view'});
this.allViewMap.set(':',{viewname:'ganttview',viewType:'DEGANTTVIEW',srfappde:'ibizbooks',component:'ibizbookgantt-view'});
......@@ -158,6 +160,7 @@ export default class IBIZBOOKUIServiceBase extends UIService {
this.allViewMap.set(':',{viewname:'usr5listview',viewType:'DELISTVIEW',srfappde:'ibizbooks',component:'ibizbookusr5-list-view'});
this.allViewMap.set(':',{viewname:'wizardview_layout',viewType:'DEWIZARDVIEW',srfappde:'ibizbooks',component:'ibizbookwizard-view-layout'});
this.allViewMap.set(':',{viewname:'interfunckanbanview',viewType:'DEKANBANVIEW',srfappde:'ibizbooks',component:'ibizbookinter-func-kan-ban-view'});
this.allViewMap.set(':',{viewname:'usrgridview_ctrlplugin',viewType:'DEGRIDVIEW',srfappde:'ibizbooks',component:'ibizbookusr-grid-view-ctrl-plugin'});
this.allViewMap.set(':',{viewname:'usr2customview',viewType:'DECUSTOMVIEW',srfappde:'ibizbooks',component:'ibizbookusr2-custom-view'});
this.allViewMap.set(':',{viewname:'panelview',viewType:'DEPANELVIEW',srfappde:'ibizbooks',component:'ibizbookpanel-view'});
this.allViewMap.set(':',{viewname:'haspanellistview',viewType:'DELISTVIEW',srfappde:'ibizbooks',component:'ibizbookhas-panel-list-view'});
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册