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

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

上级 939976d2
......@@ -711,6 +711,14 @@
"viewname": "IBIZOrderSF2EditView",
"viewtag": "b8ae19200ec9d4e8e588bc31e3f9bcb4"
},
"ibizbookroweditgridview": {
"title": "图书表格视图(行编辑)",
"caption": "图书",
"viewtype": "DEGRIDVIEW",
"viewmodule": "Sample",
"viewname": "IBIZBOOKRowEditGridView",
"viewtag": "bc76c982dd2264463427eb57e9ed3fba"
},
"ibizorderodsp_w_wfgridview": {
"title": "订单工作流表格视图(订单审批)",
"caption": "订单",
......@@ -927,6 +935,14 @@
"viewname": "IBIZOrderSF20GridView",
"viewtag": "f94df735642ce85ebb2fe3816c4dc77b"
},
"ibizbooknewdefaultvaluegridview": {
"title": "新建默认值",
"caption": "图书",
"viewtype": "DEGRIDVIEW",
"viewmodule": "Sample",
"viewname": "IBIZBOOKNewDefaultValueGridView",
"viewtag": "fdb297cd4b12374534413c3053aec1b8"
},
"ibizsample0003sf2editview": {
"title": "示例实体03编辑视图",
"caption": "示例实体03",
......
......@@ -187,6 +187,8 @@ export default {
menuitem59: "行操作",
menuitem58: "行编辑",
menuitem73: "表格内置功能",
menuitem74: "行编辑",
menuitem75: "更新默认值",
menuitem14: "树视图",
menuitem60: "静态节点",
menuitem61: "动态节点(代码表)",
......
......@@ -187,6 +187,8 @@ export default {
menuitem59: "行操作",
menuitem58: "行编辑",
menuitem73: "表格内置功能",
menuitem74: "行编辑",
menuitem75: "更新默认值",
menuitem14: "树视图",
menuitem60: "静态节点",
menuitem61: "动态节点(代码表)",
......
......@@ -17,10 +17,18 @@ export default {
caption: "图书",
title: "图书编辑视图",
},
roweditgridview: {
caption: "图书",
title: "图书表格视图(行编辑)",
},
internalfuncgridview: {
caption: "图书",
title: "表格内置功能",
},
newdefaultvaluegridview: {
caption: "图书",
title: "新建默认值",
},
},
main_form: {
details: {
......@@ -46,6 +54,31 @@ export default {
uiactions: {
},
},
rowedit_grid: {
columns: {
ibizbookname: "图书名称",
author: "图书作者",
type: "图书类型",
press: "图书出版社",
price: "图书价格",
},
nodata:"",
uiactions: {
},
},
newdefault_grid: {
columns: {
ibizbookname: "图书名称",
author: "图书作者",
type: "图书类型",
press: "图书出版社",
price: "图书价格",
updatedate: "更新时间",
},
nodata:"",
uiactions: {
},
},
internalfunc_grid: {
columns: {
ibizbookname: "图书名称",
......@@ -65,8 +98,6 @@ export default {
uiactions: {
},
},
internalfuncgridviewtoolbar_toolbar: {
},
editviewtoolbar_toolbar: {
tbitem3: {
caption: "Save",
......@@ -77,4 +108,116 @@ export default {
tip: "Save And Close Window",
},
},
newdefaultvaluegridviewtoolbar_toolbar: {
tbitem3: {
caption: "New",
tip: "New",
},
tbitem4: {
caption: "Edit",
tip: "Edit {0}",
},
tbitem6: {
caption: "Copy",
tip: "Copy {0}",
},
tbitem7: {
caption: "-",
tip: "",
},
tbitem24: {
caption: "行编辑",
tip: "行编辑",
},
tbitem25: {
caption: "新建行",
tip: "新建行",
},
tbitem26: {
caption: "-",
tip: "",
},
tbitem8: {
caption: "Remove",
tip: "Remove {0}",
},
tbitem9: {
caption: "-",
tip: "",
},
tbitem13: {
caption: "Export",
tip: "Export {0} Data To Excel",
},
deuiaction1: {
caption: "导入",
tip: "导入",
},
tbitem10: {
caption: "-",
tip: "",
},
tbitem16: {
caption: "其它",
tip: "其它",
},
tbitem21: {
caption: "Export Data Model",
tip: "导出数据模型",
},
tbitem23: {
caption: "数据导入",
tip: "数据导入",
},
},
internalfuncgridviewtoolbar_toolbar: {
tbitem3: {
caption: "New",
tip: "New",
},
tbitem4: {
caption: "Edit",
tip: "Edit {0}",
},
tbitem6: {
caption: "Copy",
tip: "Copy {0}",
},
tbitem7: {
caption: "-",
tip: "",
},
tbitem8: {
caption: "Remove",
tip: "Remove {0}",
},
tbitem9: {
caption: "-",
tip: "",
},
tbitem13: {
caption: "Export",
tip: "Export {0} Data To Excel",
},
deuiaction1: {
caption: "导入",
tip: "导入",
},
tbitem10: {
caption: "-",
tip: "",
},
tbitem16: {
caption: "其它",
tip: "其它",
},
tbitem21: {
caption: "Export Data Model",
tip: "导出数据模型",
},
tbitem23: {
caption: "数据导入",
tip: "数据导入",
},
},
};
\ No newline at end of file
......@@ -16,10 +16,18 @@ export default {
caption: "图书",
title: "图书编辑视图",
},
roweditgridview: {
caption: "图书",
title: "图书表格视图(行编辑)",
},
internalfuncgridview: {
caption: "图书",
title: "表格内置功能",
},
newdefaultvaluegridview: {
caption: "图书",
title: "新建默认值",
},
},
main_form: {
details: {
......@@ -45,6 +53,31 @@ export default {
uiactions: {
},
},
rowedit_grid: {
columns: {
ibizbookname: "图书名称",
author: "图书作者",
type: "图书类型",
press: "图书出版社",
price: "图书价格",
},
nodata:"",
uiactions: {
},
},
newdefault_grid: {
columns: {
ibizbookname: "图书名称",
author: "图书作者",
type: "图书类型",
press: "图书出版社",
price: "图书价格",
updatedate: "更新时间",
},
nodata:"",
uiactions: {
},
},
internalfunc_grid: {
columns: {
ibizbookname: "图书名称",
......@@ -64,8 +97,6 @@ export default {
uiactions: {
},
},
internalfuncgridviewtoolbar_toolbar: {
},
editviewtoolbar_toolbar: {
tbitem3: {
caption: "保存",
......@@ -76,4 +107,116 @@ export default {
tip: "保存并关闭",
},
},
newdefaultvaluegridviewtoolbar_toolbar: {
tbitem3: {
caption: "新建",
tip: "新建",
},
tbitem4: {
caption: "编辑",
tip: "编辑",
},
tbitem6: {
caption: "拷贝",
tip: "拷贝",
},
tbitem7: {
caption: "-",
tip: "",
},
tbitem24: {
caption: "行编辑",
tip: "行编辑",
},
tbitem25: {
caption: "新建行",
tip: "新建行",
},
tbitem26: {
caption: "-",
tip: "",
},
tbitem8: {
caption: "批量删除",
tip: "批量删除",
},
tbitem9: {
caption: "-",
tip: "",
},
tbitem13: {
caption: "导出",
tip: "导出",
},
deuiaction1: {
caption: "导入",
tip: "导入",
},
tbitem10: {
caption: "-",
tip: "",
},
tbitem16: {
caption: "其它",
tip: "其它",
},
tbitem21: {
caption: "导出数据模型",
tip: "导出数据模型",
},
tbitem23: {
caption: "数据导入",
tip: "数据导入",
},
},
internalfuncgridviewtoolbar_toolbar: {
tbitem3: {
caption: "新建",
tip: "新建",
},
tbitem4: {
caption: "编辑",
tip: "编辑",
},
tbitem6: {
caption: "拷贝",
tip: "拷贝",
},
tbitem7: {
caption: "-",
tip: "",
},
tbitem8: {
caption: "批量删除",
tip: "批量删除",
},
tbitem9: {
caption: "-",
tip: "",
},
tbitem13: {
caption: "导出",
tip: "导出",
},
deuiaction1: {
caption: "导入",
tip: "导入",
},
tbitem10: {
caption: "-",
tip: "",
},
tbitem16: {
caption: "其它",
tip: "其它",
},
tbitem21: {
caption: "导出数据模型",
tip: "导出数据模型",
},
tbitem23: {
caption: "数据导入",
tip: "数据导入",
},
},
};
\ No newline at end of file
......@@ -445,6 +445,42 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
textcls: '',
appfunctag: 'AppFunc2',
resourcetag: '',
},
{
id: '3FE6A416-C336-4498-9FBC-06F571761915',
name: 'menuitem74',
text: '行编辑',
type: 'MENUITEM',
counterid: '',
tooltip: '行编辑',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'AppFunc3',
resourcetag: '',
},
{
id: '994E0B40-015E-41C2-AFE0-5817BFF2AD07',
name: 'menuitem75',
text: '更新默认值',
type: 'MENUITEM',
counterid: '',
tooltip: '更新默认值',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'AppFunc4',
resourcetag: '',
},
],
},
......
......@@ -719,6 +719,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "IBIZOrderSF2EditView",
"viewtag": "b8ae19200ec9d4e8e588bc31e3f9bcb4"
},
"ibizbookroweditgridview": {
"title": "图书表格视图(行编辑)",
"caption": "图书",
"viewtype": "DEGRIDVIEW",
"viewmodule": "Sample",
"viewname": "IBIZBOOKRowEditGridView",
"viewtag": "bc76c982dd2264463427eb57e9ed3fba"
},
"ibizorderodsp_w_wfgridview": {
"title": "订单工作流表格视图(订单审批)",
"caption": "订单",
......@@ -935,6 +943,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "IBIZOrderSF20GridView",
"viewtag": "f94df735642ce85ebb2fe3816c4dc77b"
},
"ibizbooknewdefaultvaluegridview": {
"title": "新建默认值",
"caption": "图书",
"viewtype": "DEGRIDVIEW",
"viewmodule": "Sample",
"viewname": "IBIZBOOKNewDefaultValueGridView",
"viewtag": "fdb297cd4b12374534413c3053aec1b8"
},
"ibizsample0003sf2editview": {
"title": "示例实体03编辑视图",
"caption": "示例实体03",
......
......@@ -16,4 +16,5 @@
// this is less
.deepskyblueToolBar {color:white !important;background-color:#108cee !important;}
.ibizbooknew-default-value-grid-view{
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 IBIZBOOKNewDefaultValueGridViewBase from './ibizbooknew-default-value-grid-view-base.vue';
import view_grid from '@widgets/ibizbook/new-default-grid/new-default-grid.vue';
@Component({
components: {
view_grid,
},
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 IBIZBOOKNewDefaultValueGridView extends IBIZBOOKNewDefaultValueGridViewBase {
}
</script>
\ No newline at end of file
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import IBIZBOOKRowEditGridViewBase from './ibizbookrow-edit-grid-view-base.vue';
import view_grid from '@widgets/ibizbook/row-edit-grid/row-edit-grid.vue';
@Component({
components: {
view_grid,
},
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 IBIZBOOKRowEditGridView extends IBIZBOOKRowEditGridViewBase {
}
</script>
\ No newline at end of file
......@@ -13,6 +13,7 @@ export const PageComponents = {
Vue.component('ibizorder-bar-chart-view', () => import('@pages/sample/ibizorder-bar-chart-view/ibizorder-bar-chart-view.vue'));
Vue.component('ibizsample0001-sf2-edit-view', () => import('@pages/sample/ibizsample0001-sf2-edit-view/ibizsample0001-sf2-edit-view.vue'));
Vue.component('ibizorder-detail-sf2-edit-view', () => import('@pages/sample/ibizorder-detail-sf2-edit-view/ibizorder-detail-sf2-edit-view.vue'));
Vue.component('ibizbooknew-default-value-grid-view', () => import('@pages/sample/ibizbooknew-default-value-grid-view/ibizbooknew-default-value-grid-view.vue'));
Vue.component('ibizhardware-index-pickup-data-view', () => import('@pages/sample/ibizhardware-index-pickup-data-view/ibizhardware-index-pickup-data-view.vue'));
Vue.component('ibizorder-sgrid-view2', () => import('@pages/sample/ibizorder-sgrid-view2/ibizorder-sgrid-view2.vue'));
Vue.component('ibizuniproduct-pickup-grid-view', () => import('@pages/sample/ibizuniproduct-pickup-grid-view/ibizuniproduct-pickup-grid-view.vue'));
......@@ -34,15 +35,15 @@ export const PageComponents = {
Vue.component('ibizorder-type-pickup-grid-view', () => import('@pages/sample/ibizorder-type-pickup-grid-view/ibizorder-type-pickup-grid-view.vue'));
Vue.component('ibizorder-sedit-view2', () => import('@pages/sample/ibizorder-sedit-view2/ibizorder-sedit-view2.vue'));
Vue.component('ibizhardware-edit-view', () => import('@pages/sample/ibizhardware-edit-view/ibizhardware-edit-view.vue'));
Vue.component('ibizcpuedit-view', () => import('@pages/sample/ibizcpuedit-view/ibizcpuedit-view.vue'));
Vue.component('ibizsample0017-edit-view', () => import('@pages/sample/ibizsample0017-edit-view/ibizsample0017-edit-view.vue'));
Vue.component('ibizcpuedit-view', () => import('@pages/sample/ibizcpuedit-view/ibizcpuedit-view.vue'));
Vue.component('ibizorder-odsp-d40-wfgrid-view', () => import('@pages/sample/ibizorder-odsp-d40-wfgrid-view/ibizorder-odsp-d40-wfgrid-view.vue'));
Vue.component('ibizorder-sedit-view', () => import('@pages/sample/ibizorder-sedit-view/ibizorder-sedit-view.vue'));
Vue.component('ibizorder-pickup-grid-view', () => import('@pages/sample/ibizorder-pickup-grid-view/ibizorder-pickup-grid-view.vue'));
Vue.component('ibizsample0003-f2-tree-exp-view', () => import('@pages/sample/ibizsample0003-f2-tree-exp-view/ibizsample0003-f2-tree-exp-view.vue'));
Vue.component('ibizsample0017-f30-edit-view', () => import('@pages/sample/ibizsample0017-f30-edit-view/ibizsample0017-f30-edit-view.vue'));
Vue.component('ibizorder-sf15-grid-view', () => import('@pages/sample/ibizorder-sf15-grid-view/ibizorder-sf15-grid-view.vue'));
Vue.component('ibizsample0003-f2-tree-exp-view', () => import('@pages/sample/ibizsample0003-f2-tree-exp-view/ibizsample0003-f2-tree-exp-view.vue'));
Vue.component('ibizsample0003-sf3-edit-view', () => import('@pages/sample/ibizsample0003-sf3-edit-view/ibizsample0003-sf3-edit-view.vue'));
Vue.component('ibizorder-sf15-grid-view', () => import('@pages/sample/ibizorder-sf15-grid-view/ibizorder-sf15-grid-view.vue'));
Vue.component('ibizorder-line-chart-view', () => import('@pages/sample/ibizorder-line-chart-view/ibizorder-line-chart-view.vue'));
Vue.component('ibizorder-edit-view', () => import('@pages/sample/ibizorder-edit-view/ibizorder-edit-view.vue'));
Vue.component('ibizorder-odsp-d-wfgrid-view', () => import('@pages/sample/ibizorder-odsp-d-wfgrid-view/ibizorder-odsp-d-wfgrid-view.vue'));
......@@ -85,6 +86,7 @@ export const PageComponents = {
Vue.component('ibizorder-sf6-grid-view', () => import('@pages/sample/ibizorder-sf6-grid-view/ibizorder-sf6-grid-view.vue'));
Vue.component('ibizorder-detail-edit-view', () => import('@pages/sample/ibizorder-detail-edit-view/ibizorder-detail-edit-view.vue'));
Vue.component('ibizsample0017-form-pickup-view', () => import('@pages/sample/ibizsample0017-form-pickup-view/ibizsample0017-form-pickup-view.vue'));
Vue.component('ibizbookrow-edit-grid-view', () => import('@pages/sample/ibizbookrow-edit-grid-view/ibizbookrow-edit-grid-view.vue'));
Vue.component('ibizhardware-index-pickup-view', () => import('@pages/sample/ibizhardware-index-pickup-view/ibizhardware-index-pickup-view.vue'));
Vue.component('ibizorder-sf3-edit-view', () => import('@pages/sample/ibizorder-sf3-edit-view/ibizorder-sf3-edit-view.vue'));
Vue.component('ibizhardware-grid-view9', () => import('@pages/sample/ibizhardware-grid-view9/ibizhardware-grid-view9.vue'));
......
......@@ -177,15 +177,17 @@ export const viewstate: any = {
'f94df735642ce85ebb2fe3816c4dc77b',
'ac9add3724d90fba46e7298ac051fa5f',
'16b68282950fb352dfe27e94bda47304',
'59c5d311d09a7f68f8b6962ca652374a',
'658d519f1868979431e7e0da5d967e6b',
'59c5d311d09a7f68f8b6962ca652374a',
'8a3f2cc88421d9f07cbb53dd78e11495',
'ad37d44e57c18e4431a609968203c646',
'464b1dbf722c8dcaaa7f2cc90b8d0d8d',
'fdb297cd4b12374534413c3053aec1b8',
'e7441fa67d425df343d996c745fb5d6b',
'13ed6c02918e612bac45715a6f300f2f',
'aa68a83577209ff0ec3864aec4e194f2',
'd69d223e4d3aeb8d947ac9b9ddc60a7e',
'bc76c982dd2264463427eb57e9ed3fba',
'19d36909f837de28880553dc9a190922',
'3ebf0cd640e39a4e7efe30ec1cf32b43',
'9f80ed66360fbbb9bc57c575fdd8814f',
......@@ -198,8 +200,8 @@ export const viewstate: any = {
'd3255261c8522c660c1000cd0a61c3b0',
'5ccbd78fe47300a160915d6398b59604',
'd9f9f0dede285235e3d0ad5101188d1e',
'84904c93ceea3ab6551555ee20c41e27',
'ffedffb9c57cb200c275ba15e9100da4',
'84904c93ceea3ab6551555ee20c41e27',
'6b3607e849c8517fd7ae1cab583f7393',
'41d3da0d37fb0135ace813f1ba06bd39',
'b8ae19200ec9d4e8e588bc31e3f9bcb4',
......@@ -940,6 +942,16 @@ export const viewstate: any = {
'f7ce60a7707de1ef9f926b3f9d5d6954',
],
},
{
viewtag: 'bc76c982dd2264463427eb57e9ed3fba',
viewmodule: 'Sample',
viewname: 'IBIZBOOKRowEditGridView',
viewaction: '',
viewdatachange: false,
refviews: [
'b3429ecc4d89a02bc5f5279f1bd7f620',
],
},
{
viewtag: 'bd43538c91a9a638b36a721a43bd43a5',
viewmodule: 'Sample',
......@@ -1212,6 +1224,16 @@ export const viewstate: any = {
'29b0f2b1cba64fab0a4c1d9e40a62778',
],
},
{
viewtag: 'fdb297cd4b12374534413c3053aec1b8',
viewmodule: 'Sample',
viewname: 'IBIZBOOKNewDefaultValueGridView',
viewaction: '',
viewdatachange: false,
refviews: [
'b3429ecc4d89a02bc5f5279f1bd7f620',
],
},
{
viewtag: 'fdb8ed39fbfea00f65416b9aaebd64e7',
viewmodule: 'Sample',
......
......@@ -97,7 +97,9 @@ export default class IBIZBOOKUIServiceBase extends UIService {
*/
public initViewMap(){
this.allViewMap.set('EDITVIEW:',{viewname:'editview',srfappde:'ibizbooks',component:'ibizbookedit-view'});
this.allViewMap.set(':',{viewname:'roweditgridview',srfappde:'ibizbooks',component:'ibizbookrow-edit-grid-view'});
this.allViewMap.set(':',{viewname:'internalfuncgridview',srfappde:'ibizbooks',component:'ibizbookinternal-func-grid-view'});
this.allViewMap.set(':',{viewname:'newdefaultvaluegridview',srfappde:'ibizbooks',component:'ibizbooknew-default-value-grid-view'});
}
/**
......
......@@ -608,6 +608,9 @@ export default class MainMenuBase extends Vue implements ControlInterface {
case 'Auto319':
this.clickAuto319(item);
return;
case 'AppFunc3':
this.clickAppFunc3(item);
return;
case 'Auto408':
this.clickAuto408(item);
return;
......@@ -629,6 +632,9 @@ export default class MainMenuBase extends Vue implements ControlInterface {
case 'Auto85':
this.clickAuto85(item);
return;
case 'AppFunc4':
this.clickAppFunc4(item);
return;
case 'Auto145':
this.clickAuto145(item);
return;
......@@ -1388,6 +1394,29 @@ export default class MainMenuBase extends Vue implements ControlInterface {
})
}
/**
* 图书实体行编辑表格
*
* @param {*} [item={}]
* @memberof MainMenu
*/
public clickAppFunc3(item: any = {}) {
const viewparam: any = {};
Object.assign(viewparam, {});
const deResParameters: any[] = [];
const parameters: any[] = [
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'roweditgridview', parameterName: 'roweditgridview' },
];
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);
})
}
/**
* 单选
*
......@@ -1549,6 +1578,29 @@ export default class MainMenuBase extends Vue implements ControlInterface {
})
}
/**
* 图书表格视图-新建默认值
*
* @param {*} [item={}]
* @memberof MainMenu
*/
public clickAppFunc4(item: any = {}) {
const viewparam: any = {};
Object.assign(viewparam, {});
const deResParameters: any[] = [];
const parameters: any[] = [
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'newdefaultvaluegridview', parameterName: 'newdefaultvaluegridview' },
];
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);
})
}
/**
* 常规表格视图
*
......
......@@ -473,6 +473,44 @@ export default class MainMenuModel {
appfunctag: 'AppFunc2',
resourcetag: '',
authtag:'Web-MainMenu-menuitem73',
},
{
id: '3FE6A416-C336-4498-9FBC-06F571761915',
name: 'menuitem74',
text: '行编辑',
type: 'MENUITEM',
counterid: '',
tooltip: '行编辑',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'AppFunc3',
resourcetag: '',
authtag:'Web-MainMenu-menuitem74',
},
{
id: '994E0B40-015E-41C2-AFE0-5817BFF2AD07',
name: 'menuitem75',
text: '更新默认值',
type: 'MENUITEM',
counterid: '',
tooltip: '更新默认值',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'AppFunc4',
resourcetag: '',
authtag:'Web-MainMenu-menuitem75',
},
],
},
......
......@@ -46,7 +46,7 @@
</el-table-column>
</template>
<template v-if="getColumnState('type')">
<el-table-column show-overflow-tooltip :prop="'type'" :label="$t('entities.ibizbook.internalfunc_grid.columns.type')" :width="80" :align="'center'" :sortable="'custom'">
<el-table-column show-overflow-tooltip :prop="'type'" :label="$t('entities.ibizbook.internalfunc_grid.columns.type')" :width="100" :align="'center'" :sortable="'custom'">
<template v-slot:header="{column}">
<span class="column-header ">
{{$t('entities.ibizbook.internalfunc_grid.columns.type')}}
......@@ -58,7 +58,7 @@
</el-table-column>
</template>
<template v-if="getColumnState('press')">
<el-table-column show-overflow-tooltip :prop="'press'" :label="$t('entities.ibizbook.internalfunc_grid.columns.press')" :width="150" :align="'left'" :sortable="'custom'">
<el-table-column show-overflow-tooltip :prop="'press'" :label="$t('entities.ibizbook.internalfunc_grid.columns.press')" :width="100" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}">
<span class="column-header ">
{{$t('entities.ibizbook.internalfunc_grid.columns.press')}}
......
/**
* NewDefault 部件模型
*
* @export
* @class NewDefaultModel
*/
export default class NewDefaultModel {
/**
* 是否是实体数据导出
*
* @returns {any[]}
* @memberof NewDefaultGridMode
*/
public isDEExport: boolean = false;
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof NewDefaultGridMode
*/
public getDataItems(): any[] {
if(this.isDEExport){
return [
]
}else{
return [
{
name: 'author',
prop: 'author',
dataType: 'TEXT',
isEditable:true
},
{
name: 'press',
prop: 'press',
dataType: 'TEXT',
isEditable:true
},
{
name: 'ibizbookname',
prop: 'ibizbookname',
dataType: 'TEXT',
isEditable:true
},
{
name: 'price',
prop: 'price',
dataType: 'CURRENCY',
isEditable:true
},
{
name: 'ibizbookid',
prop: 'ibizbookid',
dataType: 'GUID',
},
{
name: 'updatedate',
prop: 'updatedate',
dataType: 'DATETIME',
isEditable:true
},
{
name: 'type',
prop: 'type',
dataType: 'TEXT',
isEditable:true
},
{
name: 'srfmajortext',
prop: 'ibizbookname',
dataType: 'TEXT',
},
{
name: 'srfdataaccaction',
prop: 'ibizbookid',
dataType: 'GUID',
},
{
name: 'srfkey',
prop: 'ibizbookid',
dataType: 'GUID',
isEditable:true
},
{
name: 'ibizbook',
prop: 'ibizbookid',
},
{
name:'size',
prop:'size',
dataType: 'QUERYPARAM'
},
{
name:'query',
prop:'query',
dataType: 'QUERYPARAM'
},
{
name:'filter',
prop:'filter',
dataType: 'QUERYPARAM'
},
{
name:'page',
prop:'page',
dataType: 'QUERYPARAM'
},
{
name:'sort',
prop:'sort',
dataType: 'QUERYPARAM'
},
{
name:'srfparentdata',
prop:'srfparentdata',
dataType: 'QUERYPARAM'
},
// 前端新增修改标识,新增为"0",修改为"1"或未设值
{
name: 'srffrontuf',
prop: 'srffrontuf',
dataType: 'TEXT',
},
]
}
}
}
\ No newline at end of file
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import NewDefaultBase from './new-default-grid-base.vue';
@Component({
components: {
}
})
export default class NewDefault extends NewDefaultBase {
}
</script>
\ No newline at end of file
/**
* RowEdit 部件模型
*
* @export
* @class RowEditModel
*/
export default class RowEditModel {
/**
* 是否是实体数据导出
*
* @returns {any[]}
* @memberof RowEditGridMode
*/
public isDEExport: boolean = false;
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof RowEditGridMode
*/
public getDataItems(): any[] {
if(this.isDEExport){
return [
]
}else{
return [
{
name: 'author',
prop: 'author',
dataType: 'TEXT',
isEditable:true
},
{
name: 'press',
prop: 'press',
dataType: 'TEXT',
isEditable:true
},
{
name: 'ibizbookname',
prop: 'ibizbookname',
dataType: 'TEXT',
isEditable:true
},
{
name: 'price',
prop: 'price',
dataType: 'CURRENCY',
isEditable:true
},
{
name: 'ibizbookid',
prop: 'ibizbookid',
dataType: 'GUID',
},
{
name: 'type',
prop: 'type',
dataType: 'TEXT',
isEditable:true
},
{
name: 'srfmajortext',
prop: 'ibizbookname',
dataType: 'TEXT',
},
{
name: 'srfdataaccaction',
prop: 'ibizbookid',
dataType: 'GUID',
},
{
name: 'srfkey',
prop: 'ibizbookid',
dataType: 'GUID',
isEditable:true
},
{
name: 'ibizbook',
prop: 'ibizbookid',
},
{
name:'size',
prop:'size',
dataType: 'QUERYPARAM'
},
{
name:'query',
prop:'query',
dataType: 'QUERYPARAM'
},
{
name:'filter',
prop:'filter',
dataType: 'QUERYPARAM'
},
{
name:'page',
prop:'page',
dataType: 'QUERYPARAM'
},
{
name:'sort',
prop:'sort',
dataType: 'QUERYPARAM'
},
{
name:'srfparentdata',
prop:'srfparentdata',
dataType: 'QUERYPARAM'
},
// 前端新增修改标识,新增为"0",修改为"1"或未设值
{
name: 'srffrontuf',
prop: 'srffrontuf',
dataType: 'TEXT',
},
]
}
}
}
\ No newline at end of file
此差异已折叠。
......@@ -302,7 +302,7 @@
{
"appid":"Web",
"appname":"演示应用",
"appmenu":[{"menuid":"MainMenu", "menuname":"MainMenu", "menuitem":[{ "id":"menuitem1" , "name":"工作台" },{ "id":"menuitem3" , "name":"控件" , "items":[{ "id":"menuitem6" , "name":"默认数据类型" },{ "id":"menuitem7" , "name":"默认编辑器类型" },{ "id":"menuitem15" , "name":"基础表单项" },{ "id":"menuitem72" , "name":"编辑器扩展" }]},{ "id":"menuitem4" , "name":"部件" , "items":[{ "id":"menuitem12" , "name":"编辑表单" , "items":[{ "id":"menuitem47" , "name":"默认值" },{ "id":"menuitem48" , "name":"输入提示" },{ "id":"menuitem49" , "name":"辅助输入" },{ "id":"menuitem50" , "name":"自动填充" },{ "id":"menuitem51" , "name":"超链接" },{ "id":"menuitem52" , "name":"值重置" },{ "id":"menuitem55" , "name":"动态显示" },{ "id":"menuitem53" , "name":"动态启用" },{ "id":"menuitem54" , "name":"动态空输入" },{ "id":"menuitem56" , "name":"表单项更新" }]},{ "id":"menuitem16" , "name":"搜索表单" },{ "id":"menuitem13" , "name":"表格" , "items":[{ "id":"menuitem57" , "name":"禁用排序" },{ "id":"menuitem59" , "name":"行操作" },{ "id":"menuitem58" , "name":"行编辑" },{ "id":"menuitem73" , "name":"表格内置功能" }]},{ "id":"menuitem14" , "name":"树视图" , "items":[{ "id":"menuitem60" , "name":"静态节点" },{ "id":"menuitem61" , "name":"动态节点(代码表)" },{ "id":"menuitem62" , "name":"动态节点(实体)" },{ "id":"menuitem63" , "name":"右键操作" },{ "id":"menuitem64" , "name":"动态参数过滤" }]},{ "id":"menuitem37" , "name":"图表" , "items":[{ "id":"menuitem38" , "name":"柱状图" },{ "id":"menuitem39" , "name":"折线图" },{ "id":"menuitem40" , "name":"饼图" },{ "id":"menuitem41" , "name":"区域图" },{ "id":"menuitem42" , "name":"雷达图" },{ "id":"menuitem43" , "name":"仪表盘" },{ "id":"menuitem44" , "name":"K线图" }]},{ "id":"menuitem17" , "name":"向导" },{ "id":"menuitem18" , "name":"界面行为" , "items":[{ "id":"menuitem65" , "name":"前端界面行为" },{ "id":"menuitem66" , "name":"后台界面行为" }]}]},{ "id":"menuitem5" , "name":"视图" , "items":[{ "id":"menuitem9" , "name":"列表视图" , "items":[{ "id":"menuitem19" , "name":"常规表格视图" },{ "id":"menuitem21" , "name":"左右表格视图" },{ "id":"menuitem20" , "name":"嵌入表格视图" }]},{ "id":"menuitem8" , "name":"编辑视图" , "items":[{ "id":"menuitem22" , "name":"常规编辑视图" },{ "id":"menuitem23" , "name":"左右编辑视图" },{ "id":"menuitem24" , "name":"分页编辑视图" },{ "id":"menuitem25" , "name":"嵌入编辑视图" }]},{ "id":"menuitem26" , "name":"选择视图" , "items":[{ "id":"menuitem27" , "name":"单选视图" },{ "id":"menuitem28" , "name":"多选视图" },{ "id":"menuitem29" , "name":"树形选择视图" },{ "id":"menuitem30" , "name":"左右单选视图" },{ "id":"menuitem31" , "name":"左右多选视图" }]},{ "id":"menuitem10" , "name":"导航视图" , "items":[{ "id":"menuitem32" , "name":"常规导航视图" },{ "id":"menuitem33" , "name":"分页导航视图" },{ "id":"menuitem34" , "name":"嵌入导航视图" }]},{ "id":"menuitem11" , "name":"其他视图" , "items":[{ "id":"menuitem35" , "name":"图表视图" },{ "id":"menuitem36" , "name":"报表视图" }]}]},{ "id":"menuitem69" , "name":"工作流" },{ "id":"menuitem2" , "name":"更多" , "items":[{ "id":"menuitem46" , "name":"数据导出导入" },{ "id":"menuitem45" , "name":"数据打印" },{ "id":"menuitem67" , "name":"索引实体" },{ "id":"menuitem68" , "name":"继承实体" },{ "id":"menuitem70" , "name":"主状态" },{ "id":"menuitem71" , "name":"多表单" }]}] }]
"appmenu":[{"menuid":"MainMenu", "menuname":"MainMenu", "menuitem":[{ "id":"menuitem1" , "name":"工作台" },{ "id":"menuitem3" , "name":"控件" , "items":[{ "id":"menuitem6" , "name":"默认数据类型" },{ "id":"menuitem7" , "name":"默认编辑器类型" },{ "id":"menuitem15" , "name":"基础表单项" },{ "id":"menuitem72" , "name":"编辑器扩展" }]},{ "id":"menuitem4" , "name":"部件" , "items":[{ "id":"menuitem12" , "name":"编辑表单" , "items":[{ "id":"menuitem47" , "name":"默认值" },{ "id":"menuitem48" , "name":"输入提示" },{ "id":"menuitem49" , "name":"辅助输入" },{ "id":"menuitem50" , "name":"自动填充" },{ "id":"menuitem51" , "name":"超链接" },{ "id":"menuitem52" , "name":"值重置" },{ "id":"menuitem55" , "name":"动态显示" },{ "id":"menuitem53" , "name":"动态启用" },{ "id":"menuitem54" , "name":"动态空输入" },{ "id":"menuitem56" , "name":"表单项更新" }]},{ "id":"menuitem16" , "name":"搜索表单" },{ "id":"menuitem13" , "name":"表格" , "items":[{ "id":"menuitem57" , "name":"禁用排序" },{ "id":"menuitem59" , "name":"行操作" },{ "id":"menuitem58" , "name":"行编辑" },{ "id":"menuitem73" , "name":"表格内置功能" },{ "id":"menuitem74" , "name":"行编辑" },{ "id":"menuitem75" , "name":"更新默认值" }]},{ "id":"menuitem14" , "name":"树视图" , "items":[{ "id":"menuitem60" , "name":"静态节点" },{ "id":"menuitem61" , "name":"动态节点(代码表)" },{ "id":"menuitem62" , "name":"动态节点(实体)" },{ "id":"menuitem63" , "name":"右键操作" },{ "id":"menuitem64" , "name":"动态参数过滤" }]},{ "id":"menuitem37" , "name":"图表" , "items":[{ "id":"menuitem38" , "name":"柱状图" },{ "id":"menuitem39" , "name":"折线图" },{ "id":"menuitem40" , "name":"饼图" },{ "id":"menuitem41" , "name":"区域图" },{ "id":"menuitem42" , "name":"雷达图" },{ "id":"menuitem43" , "name":"仪表盘" },{ "id":"menuitem44" , "name":"K线图" }]},{ "id":"menuitem17" , "name":"向导" },{ "id":"menuitem18" , "name":"界面行为" , "items":[{ "id":"menuitem65" , "name":"前端界面行为" },{ "id":"menuitem66" , "name":"后台界面行为" }]}]},{ "id":"menuitem5" , "name":"视图" , "items":[{ "id":"menuitem9" , "name":"列表视图" , "items":[{ "id":"menuitem19" , "name":"常规表格视图" },{ "id":"menuitem21" , "name":"左右表格视图" },{ "id":"menuitem20" , "name":"嵌入表格视图" }]},{ "id":"menuitem8" , "name":"编辑视图" , "items":[{ "id":"menuitem22" , "name":"常规编辑视图" },{ "id":"menuitem23" , "name":"左右编辑视图" },{ "id":"menuitem24" , "name":"分页编辑视图" },{ "id":"menuitem25" , "name":"嵌入编辑视图" }]},{ "id":"menuitem26" , "name":"选择视图" , "items":[{ "id":"menuitem27" , "name":"单选视图" },{ "id":"menuitem28" , "name":"多选视图" },{ "id":"menuitem29" , "name":"树形选择视图" },{ "id":"menuitem30" , "name":"左右单选视图" },{ "id":"menuitem31" , "name":"左右多选视图" }]},{ "id":"menuitem10" , "name":"导航视图" , "items":[{ "id":"menuitem32" , "name":"常规导航视图" },{ "id":"menuitem33" , "name":"分页导航视图" },{ "id":"menuitem34" , "name":"嵌入导航视图" }]},{ "id":"menuitem11" , "name":"其他视图" , "items":[{ "id":"menuitem35" , "name":"图表视图" },{ "id":"menuitem36" , "name":"报表视图" }]}]},{ "id":"menuitem69" , "name":"工作流" },{ "id":"menuitem2" , "name":"更多" , "items":[{ "id":"menuitem46" , "name":"数据导出导入" },{ "id":"menuitem45" , "name":"数据打印" },{ "id":"menuitem67" , "name":"索引实体" },{ "id":"menuitem68" , "name":"继承实体" },{ "id":"menuitem70" , "name":"主状态" },{ "id":"menuitem71" , "name":"多表单" }]}] }]
}
]
}
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册