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

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

上级 3d294727
......@@ -287,6 +287,8 @@ export default {
menuitem32: "常规导航视图",
menuitem33: "分页导航视图",
menuitem34: "嵌入导航视图",
menuitem176: "实体表格导航视图",
menuitem177: "实体列表导航视图",
menuitem11: "其他视图",
menuitem35: "图表视图",
menuitem36: "报表视图",
......@@ -313,6 +315,11 @@ export default {
menuitem168: "实体多表单编辑视图",
menuitem169: "实体甘特视图",
menuitem170: "实体日历视图",
menuitem171: "实体看板视图",
menuitem172: "实体树表格视图",
menuitem173: "实体树视图",
menuitem174: "实体数据视图",
menuitem175: "实体图表视图",
menuitem69: "工作流",
menuitem153: "逻辑",
menuitem154: "应用功能",
......
......@@ -287,6 +287,8 @@ export default {
menuitem32: "常规导航视图",
menuitem33: "分页导航视图",
menuitem34: "嵌入导航视图",
menuitem176: "实体表格导航视图",
menuitem177: "实体列表导航视图",
menuitem11: "其他视图",
menuitem35: "图表视图",
menuitem36: "报表视图",
......@@ -313,6 +315,11 @@ export default {
menuitem168: "实体多表单编辑视图",
menuitem169: "实体甘特视图",
menuitem170: "实体日历视图",
menuitem171: "实体看板视图",
menuitem172: "实体树表格视图",
menuitem173: "实体树视图",
menuitem174: "实体数据视图",
menuitem175: "实体图表视图",
menuitem69: "工作流",
menuitem153: "逻辑",
menuitem154: "应用功能",
......
......@@ -409,6 +409,13 @@ export default {
uiactions: {
},
},
gridexpbar_grid_grid: {
columns: {
},
nodata:"",
uiactions: {
},
},
rowedit_grid: {
columns: {
ibizbookname: "图书名称",
......@@ -555,13 +562,6 @@ export default {
uiactions: {
},
},
gridexpbar_grid_grid: {
columns: {
},
nodata:"",
uiactions: {
},
},
groupbycodelistlist_list: {
nodata:"",
uiactions: {
......
......@@ -408,6 +408,13 @@ export default {
uiactions: {
},
},
gridexpbar_grid_grid: {
columns: {
},
nodata:"",
uiactions: {
},
},
rowedit_grid: {
columns: {
ibizbookname: "图书名称",
......@@ -554,13 +561,6 @@ export default {
uiactions: {
},
},
gridexpbar_grid_grid: {
columns: {
},
nodata:"",
uiactions: {
},
},
groupbycodelistlist_list: {
nodata:"",
uiactions: {
......
......@@ -2161,6 +2161,42 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
textcls: '',
appfunctag: 'Auto126',
resourcetag: '',
},
{
id: 'C12171AD-42C7-4CA4-BF57-34B949E33EF2',
name: 'menuitem176',
text: '实体表格导航视图',
type: 'MENUITEM',
counterid: '',
tooltip: '实体表格导航视图',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'AppFunc77',
resourcetag: '',
},
{
id: '06F9EF42-448C-42C1-BDD9-44858FFDD2F1',
name: 'menuitem177',
text: '实体列表导航视图',
type: 'MENUITEM',
counterid: '',
tooltip: '实体列表导航视图',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'AppFunc56',
resourcetag: '',
},
],
},
......@@ -2641,6 +2677,96 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
textcls: '',
appfunctag: 'AppFunc20',
resourcetag: '',
},
{
id: '9453E9F0-DBA0-4F2B-A45E-3474E2C57FB5',
name: 'menuitem171',
text: '实体看板视图',
type: 'MENUITEM',
counterid: '',
tooltip: '实体看板视图',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'AppFunc25',
resourcetag: '',
},
{
id: '06128DC9-8F55-4AD4-95A0-E4BD1F91DA30',
name: 'menuitem172',
text: '实体树表格视图',
type: 'MENUITEM',
counterid: '',
tooltip: '实体树表格视图',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'AppFunc30',
resourcetag: '',
},
{
id: '8229A864-9DE3-4F2D-BBFE-A3453A22D7DD',
name: 'menuitem173',
text: '实体树视图',
type: 'MENUITEM',
counterid: '',
tooltip: '实体树视图',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: '',
resourcetag: '',
},
{
id: 'CDCBE495-DEDA-49D8-ABEB-7B3B7DC898F4',
name: 'menuitem174',
text: '实体数据视图',
type: 'MENUITEM',
counterid: '',
tooltip: '实体数据视图',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'AppFunc14',
resourcetag: '',
},
{
id: '5726035D-58B6-4016-9359-00A1E7318174',
name: 'menuitem175',
text: '实体图表视图',
type: 'MENUITEM',
counterid: '',
tooltip: '实体图表视图',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'AppFunc35',
resourcetag: '',
},
],
},
......
.ibizbookgrid-exp-view{
position: relative;
}
.ibizbookgrid-exp-view{
display: block;
}
\ No newline at end of file
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import IBIZBOOKGridExpViewBase from './ibizbookgrid-exp-view-base.vue';
import view_gridexpbar from '@widgets/ibizbook/grid-exp-viewgridexpbar-gridexpbar/grid-exp-viewgridexpbar-gridexpbar.vue';
@Component({
components: {
view_gridexpbar,
},
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 IBIZBOOKGridExpView extends IBIZBOOKGridExpViewBase {
}
</script>
\ No newline at end of file
......@@ -30,6 +30,7 @@ export const PageComponents = {
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('ibizbookui-action-grid-view', () => import('@pages/sample/ibizbookui-action-grid-view/ibizbookui-action-grid-view.vue'));
Vue.component('ibizbooktree-grid-ex-view', () => import('@pages/sample/ibizbooktree-grid-ex-view/ibizbooktree-grid-ex-view.vue'));
Vue.component('ibizcustomer-mpickup-view', () => import('@pages/sample/ibizcustomer-mpickup-view/ibizcustomer-mpickup-view.vue'));
Vue.component('ibizuniproduct-pickup-grid-view', () => import('@pages/sample/ibizuniproduct-pickup-grid-view/ibizuniproduct-pickup-grid-view.vue'));
Vue.component('ibizorder-odsp-wfexp-view', () => import('@pages/sample/ibizorder-odsp-wfexp-view/ibizorder-odsp-wfexp-view.vue'));
......@@ -67,6 +68,7 @@ export const PageComponents = {
Vue.component('ibizorder-grid-exp-view', () => import('@pages/sample/ibizorder-grid-exp-view/ibizorder-grid-exp-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('ibizorder-sf15-grid-view', () => import('@pages/sample/ibizorder-sf15-grid-view/ibizorder-sf15-grid-view.vue'));
Vue.component('ibizorder-usr2-chart-view', () => import('@pages/sample/ibizorder-usr2-chart-view/ibizorder-usr2-chart-view.vue'));
Vue.component('ibizsample0003-sf3-edit-view', () => import('@pages/sample/ibizsample0003-sf3-edit-view/ibizsample0003-sf3-edit-view.vue'));
Vue.component('ibizorder-edit-view', () => import('@pages/sample/ibizorder-edit-view/ibizorder-edit-view.vue'));
Vue.component('ibizorder-data-view-exp-view', () => import('@pages/sample/ibizorder-data-view-exp-view/ibizorder-data-view-exp-view.vue'));
......@@ -95,6 +97,7 @@ export const PageComponents = {
Vue.component('ibizsample0003-sf1-edit-view', () => import('@pages/sample/ibizsample0003-sf1-edit-view/ibizsample0003-sf1-edit-view.vue'));
Vue.component('ibizbookinter-func-edit-view', () => import('@pages/sample/ibizbookinter-func-edit-view/ibizbookinter-func-edit-view.vue'));
Vue.component('ibizorder-pie-chart-view', () => import('@pages/sample/ibizorder-pie-chart-view/ibizorder-pie-chart-view.vue'));
Vue.component('ibizbookgrid-exp-view', () => import('@pages/sample/ibizbookgrid-exp-view/ibizbookgrid-exp-view.vue'));
Vue.component('ibizorder-detail-sgrid-view9', () => import('@pages/sample/ibizorder-detail-sgrid-view9/ibizorder-detail-sgrid-view9.vue'));
Vue.component('ibizuniproduct-sgrid-view', () => import('@pages/sample/ibizuniproduct-sgrid-view/ibizuniproduct-sgrid-view.vue'));
Vue.component('ibizsample0003-f3-tree-exp-view', () => import('@pages/sample/ibizsample0003-f3-tree-exp-view/ibizsample0003-f3-tree-exp-view.vue'));
......
......@@ -545,6 +545,20 @@ const router = new Router({
},
component: () => import('@pages/sample/ibizbookui-action-grid-view/ibizbookui-action-grid-view.vue'),
},
{
path: 'ibizbooks/:ibizbook?/treegridexview/:treegridexview?',
meta: {
caption: 'entities.ibizbook.views.treegridexview.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'treegridexview', parameterName: 'treegridexview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbooktree-grid-ex-view/ibizbooktree-grid-ex-view.vue'),
},
{
path: 'ibizcustomers/:ibizcustomer?/mpickupview/:mpickupview?',
meta: {
......@@ -1108,6 +1122,20 @@ const router = new Router({
},
component: () => import('@pages/sample/ibizorder-sf15-grid-view/ibizorder-sf15-grid-view.vue'),
},
{
path: 'ibizorders/:ibizorder?/usr2chartview/:usr2chartview?',
meta: {
caption: 'entities.ibizorder.views.usr2chartview.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizorders', parameterName: 'ibizorder' },
{ pathName: 'usr2chartview', parameterName: 'usr2chartview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizorder-usr2-chart-view/ibizorder-usr2-chart-view.vue'),
},
{
path: 'ibizsample0003s/:ibizsample0003?/sf3editview/:sf3editview?',
meta: {
......@@ -1515,6 +1543,20 @@ const router = new Router({
},
component: () => import('@pages/sample/ibizorder-pie-chart-view/ibizorder-pie-chart-view.vue'),
},
{
path: 'ibizbooks/:ibizbook?/gridexpview/:gridexpview?',
meta: {
caption: 'entities.ibizbook.views.gridexpview.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'gridexpview', parameterName: 'gridexpview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbookgrid-exp-view/ibizbookgrid-exp-view.vue'),
},
{
path: 'ibizorders/:ibizorder?/ibizorderdetails/:ibizorderdetail?/sgridview9/:sgridview9?',
meta: {
......@@ -3468,6 +3510,19 @@ const router = new Router({
},
component: () => import('@pages/sample/ibizbookrules-edit-view/ibizbookrules-edit-view.vue'),
},
{
path: '/ibizbooks/:ibizbook?/treegridexview/:treegridexview?',
meta: {
caption: 'entities.ibizbook.views.treegridexview.caption',
info:'',
parameters: [
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'treegridexview', parameterName: 'treegridexview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbooktree-grid-ex-view/ibizbooktree-grid-ex-view.vue'),
},
{
path: '/ibizorders/:ibizorder?/f13editview/:f13editview?',
meta: {
......@@ -3808,6 +3863,19 @@ const router = new Router({
},
component: () => import('@pages/sample/ibizsample0017-edit-view/ibizsample0017-edit-view.vue'),
},
{
path: '/ibizorders/:ibizorder?/usr2chartview/:usr2chartview?',
meta: {
caption: 'entities.ibizorder.views.usr2chartview.caption',
info:'',
parameters: [
{ pathName: 'ibizorders', parameterName: 'ibizorder' },
{ pathName: 'usr2chartview', parameterName: 'usr2chartview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizorder-usr2-chart-view/ibizorder-usr2-chart-view.vue'),
},
{
path: '/ibizsoftwaresuits/:ibizsoftwaresuit?/gridview9/:gridview9?',
meta: {
......@@ -5428,6 +5496,19 @@ const router = new Router({
},
component: () => import('@pages/sample/ibizorder-sgrid-view2/ibizorder-sgrid-view2.vue'),
},
{
path: '/ibizbooks/:ibizbook?/gridexpview/:gridexpview?',
meta: {
caption: 'entities.ibizbook.views.gridexpview.caption',
info:'',
parameters: [
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'gridexpview', parameterName: 'gridexpview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbookgrid-exp-view/ibizbookgrid-exp-view.vue'),
},
{
path: '/ibizbooks/:ibizbook?/ganttview/:ganttview?',
meta: {
......
......@@ -212,6 +212,7 @@ export const viewstate: any = {
'f4c5c766fd5755b694e0401dddc4d1ad',
'e7441fa67d425df343d996c745fb5d6b',
'6e88651a11e5ea2de4f397a904f7847a',
'2ccd29eeaeded3ea5a713a19cd67a83e',
'aa68a83577209ff0ec3864aec4e194f2',
'692ede21641dfdb7075ede69d7c4ad33',
'd69d223e4d3aeb8d947ac9b9ddc60a7e',
......@@ -230,6 +231,7 @@ export const viewstate: any = {
'5f21463b9d808170d4023d8402cc6e9e',
'd9f9f0dede285235e3d0ad5101188d1e',
'ffedffb9c57cb200c275ba15e9100da4',
'502736ae9280400d7b8f74f057d363ab',
'84904c93ceea3ab6551555ee20c41e27',
'1ee924c4a616343b6b4cd42150b799fa',
'41d3da0d37fb0135ace813f1ba06bd39',
......@@ -248,6 +250,7 @@ export const viewstate: any = {
'875222727b7ab7dcaccc45808fd38b09',
'de9166f936946237e2d0e5367db078c2',
'9db924c804154be5b442a9737514a6f9',
'e8777dd0c1ad16060fed5e7ed2380cc7',
'b29d930f430c127162f83753d85dd40c',
'36763886cbec62729dca4d4b8dad8161',
'dbbbaa36390b7c2f2be33b8551b0d137',
......@@ -442,6 +445,16 @@ export const viewstate: any = {
refviews: [
],
},
{
viewtag: '2ccd29eeaeded3ea5a713a19cd67a83e',
viewmodule: 'Sample',
viewname: 'IBIZBOOKTreeGridExView',
viewaction: '',
viewdatachange: false,
refviews: [
'b3429ecc4d89a02bc5f5279f1bd7f620',
],
},
{
viewtag: '2cd3a77cbd2aad4551b7a6a009419d52',
viewmodule: 'Sample',
......@@ -685,6 +698,15 @@ export const viewstate: any = {
refviews: [
],
},
{
viewtag: '502736ae9280400d7b8f74f057d363ab',
viewmodule: 'Sample',
viewname: 'IBIZOrderUsr2ChartView',
viewaction: '',
viewdatachange: false,
refviews: [
],
},
{
viewtag: '5147eb94c8aa1cf6ad57b360e0abde28',
viewmodule: 'Sample',
......@@ -1852,6 +1874,15 @@ export const viewstate: any = {
'f90fa878f2ed0eb4e27353786b10c3f4',
],
},
{
viewtag: 'e8777dd0c1ad16060fed5e7ed2380cc7',
viewmodule: 'Sample',
viewname: 'IBIZBOOKGridExpView',
viewaction: '',
viewdatachange: false,
refviews: [
],
},
{
viewtag: 'e92ac401e96f4e17763322eca8355c30',
viewmodule: 'Sample',
......
......@@ -617,6 +617,9 @@ export default class MainMenuBase extends Vue implements ControlInterface {
case 'AppFunc13':
this.clickAppFunc13(item);
return;
case 'AppFunc35':
this.clickAppFunc35(item);
return;
case 'AppFunc41':
this.clickAppFunc41(item);
return;
......@@ -725,6 +728,9 @@ export default class MainMenuBase extends Vue implements ControlInterface {
case 'AppFunc18':
this.clickAppFunc18(item);
return;
case 'AppFunc77':
this.clickAppFunc77(item);
return;
case 'AppFunc36':
this.clickAppFunc36(item);
return;
......@@ -773,6 +779,9 @@ export default class MainMenuBase extends Vue implements ControlInterface {
case 'Auto243':
this.clickAuto243(item);
return;
case 'AppFunc30':
this.clickAppFunc30(item);
return;
case 'AppFunc66':
this.clickAppFunc66(item);
return;
......@@ -1658,6 +1667,29 @@ export default class MainMenuBase extends Vue implements ControlInterface {
})
}
/**
* 图表视图(k线图)
*
* @param {*} [item={}]
* @memberof MainMenu
*/
public clickAppFunc35(item: any = {}) {
const viewparam: any = {};
Object.assign(viewparam, {});
const deResParameters: any[] = [];
const parameters: any[] = [
{ pathName: 'ibizorders', parameterName: 'ibizorder' },
{ pathName: 'usr2chartview', parameterName: 'usr2chartview' },
];
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);
})
}
/**
* 编辑视图(上下关系)
*
......@@ -2372,7 +2404,7 @@ export default class MainMenuBase extends Vue implements ControlInterface {
}
/**
* 功能名称
* 实体数据视图
*
* @param {*} [item={}]
* @memberof MainMenu
......@@ -2486,6 +2518,29 @@ export default class MainMenuBase extends Vue implements ControlInterface {
})
}
/**
* 实体表格导航视图
*
* @param {*} [item={}]
* @memberof MainMenu
*/
public clickAppFunc77(item: any = {}) {
const viewparam: any = {};
Object.assign(viewparam, {});
const deResParameters: any[] = [];
const parameters: any[] = [
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'gridexpview', parameterName: 'gridexpview' },
];
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);
})
}
/**
* 功能名称
*
......@@ -2854,6 +2909,29 @@ export default class MainMenuBase extends Vue implements ControlInterface {
})
}
/**
* 图书实体树表格
*
* @param {*} [item={}]
* @memberof MainMenu
*/
public clickAppFunc30(item: any = {}) {
const viewparam: any = {};
Object.assign(viewparam, {});
const deResParameters: any[] = [];
const parameters: any[] = [
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'treegridexview', parameterName: 'treegridexview' },
];
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);
})
}
/**
* 应用门户视图
*
......
......@@ -2282,6 +2282,44 @@ export default class MainMenuModel {
appfunctag: 'Auto126',
resourcetag: '',
authtag:'Web-MainMenu-menuitem34',
},
{
id: 'C12171AD-42C7-4CA4-BF57-34B949E33EF2',
name: 'menuitem176',
text: '实体表格导航视图',
type: 'MENUITEM',
counterid: '',
tooltip: '实体表格导航视图',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'AppFunc77',
resourcetag: '',
authtag:'Web-MainMenu-menuitem176',
},
{
id: '06F9EF42-448C-42C1-BDD9-44858FFDD2F1',
name: 'menuitem177',
text: '实体列表导航视图',
type: 'MENUITEM',
counterid: '',
tooltip: '实体列表导航视图',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'AppFunc56',
resourcetag: '',
authtag:'Web-MainMenu-menuitem177',
},
],
},
......@@ -2788,6 +2826,101 @@ export default class MainMenuModel {
appfunctag: 'AppFunc20',
resourcetag: '',
authtag:'Web-MainMenu-menuitem170',
},
{
id: '9453E9F0-DBA0-4F2B-A45E-3474E2C57FB5',
name: 'menuitem171',
text: '实体看板视图',
type: 'MENUITEM',
counterid: '',
tooltip: '实体看板视图',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'AppFunc25',
resourcetag: '',
authtag:'Web-MainMenu-menuitem171',
},
{
id: '06128DC9-8F55-4AD4-95A0-E4BD1F91DA30',
name: 'menuitem172',
text: '实体树表格视图',
type: 'MENUITEM',
counterid: '',
tooltip: '实体树表格视图',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'AppFunc30',
resourcetag: '',
authtag:'Web-MainMenu-menuitem172',
},
{
id: '8229A864-9DE3-4F2D-BBFE-A3453A22D7DD',
name: 'menuitem173',
text: '实体树视图',
type: 'MENUITEM',
counterid: '',
tooltip: '实体树视图',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: '',
resourcetag: '',
authtag:'Web-MainMenu-menuitem173',
},
{
id: 'CDCBE495-DEDA-49D8-ABEB-7B3B7DC898F4',
name: 'menuitem174',
text: '实体数据视图',
type: 'MENUITEM',
counterid: '',
tooltip: '实体数据视图',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'AppFunc14',
resourcetag: '',
authtag:'Web-MainMenu-menuitem174',
},
{
id: '5726035D-58B6-4016-9359-00A1E7318174',
name: 'menuitem175',
text: '实体图表视图',
type: 'MENUITEM',
counterid: '',
tooltip: '实体图表视图',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'AppFunc35',
resourcetag: '',
authtag:'Web-MainMenu-menuitem175',
},
],
},
......
......@@ -4,11 +4,11 @@
<div style="height: 80px;width: 80px;display: flex;align-items: center;justify-content: center;">
<i class="el-icon-share" style="font-size: 50px;color: #36a3f7"/>
</div>
<div style="height: 80px;width: 80px;display: flex;flex-direction: column;justify-content: center;">
<div style="height: 80px;width: 165px;display: flex;flex-direction: column;justify-content: center;text-align: center;">
<div style="margin-bottom: 8px;color: rgba(0,0,0,.45);font-size: 18px;font-weight: 700;">
<span> 支持部件总数 </span>
</div>
<div style="color: #666;font-size: 24px;font-weight: 700;text-align: center;">
<div style="color: #666;font-size: 24px;font-weight: 700;">
<span> {{ calculation() }} </span>
</div>
</div>
......
......@@ -4,11 +4,11 @@
<div style="height: 80px;width: 80px;display: flex;align-items: center;justify-content: center;">
<i class="el-icon-s-operation" style="font-size: 50px;color: #34bfa3"/>
</div>
<div style="height: 80px;width: 80px;display: flex;flex-direction: column;justify-content: center;">
<div style="height: 80px;width: 165px;display: flex;flex-direction: column;justify-content: center;text-align: center;">
<div style="margin-bottom: 8px;color: rgba(0,0,0,.45);font-size: 18px;font-weight: 700;">
<span> 支持编辑器总数 </span>
</div>
<div style="color: #666;font-size: 24px;font-weight: 700;text-align: center;">
<div style="color: #666;font-size: 24px;font-weight: 700;">
<span> {{ calculation() }} </span>
</div>
</div>
......
......@@ -4,11 +4,11 @@
<div style="height: 80px;width: 80px;display: flex;align-items: center;justify-content: center;">
<Icon type="md-analytics" size="50" color="#40c9c6"/>
</div>
<div style="height: 80px;width: 80px;display: flex;flex-direction: column;justify-content: center;">
<div style="height: 80px;width: 165px;display: flex;flex-direction: column;justify-content: center;text-align: center;">
<div style="margin-bottom: 8px;color: rgba(0,0,0,.45);font-size: 18px;font-weight: 700;">
<span> 支持视图总数 </span>
</div>
<div style="color: #666;font-size: 24px;font-weight: 700;text-align: center;">
<div style="color: #666;font-size: 24px;font-weight: 700;">
<span> {{ calculation() }} </span>
</div>
</div>
......
/**
* GridExpViewgridexpbar 部件模型
*
* @export
* @class GridExpViewgridexpbarModel
*/
export default class GridExpViewgridexpbarModel {
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof GridExpViewgridexpbarGridexpbarMode
*/
public getDataItems(): any[] {
return [
]
}
}
\ No newline at end of file
import { Http,Util,Errorlog } from '@/utils';
import ControlService from '@/widgets/control-service';
import IBIZBOOKService from '@/service/ibizbook/ibizbook-service';
import GridExpViewgridexpbarModel from './grid-exp-viewgridexpbar-gridexpbar-model';
/**
* GridExpViewgridexpbar 部件服务对象
*
* @export
* @class GridExpViewgridexpbarService
*/
export default class GridExpViewgridexpbarService extends ControlService {
/**
* 图书服务对象
*
* @type {IBIZBOOKService}
* @memberof GridExpViewgridexpbarService
*/
public appEntityService: IBIZBOOKService = new IBIZBOOKService({ $store: this.getStore() });
/**
* 设置从数据模式
*
* @type {boolean}
* @memberof GridExpViewgridexpbarService
*/
public setTempMode(){
this.isTempMode = false;
}
/**
* Creates an instance of GridExpViewgridexpbarService.
*
* @param {*} [opts={}]
* @memberof GridExpViewgridexpbarService
*/
constructor(opts: any = {}) {
super(opts);
this.model = new GridExpViewgridexpbarModel();
}
}
\ No newline at end of file
.app-grid-exp-bar {
> .ivu-split-horizontal {
> .ivu-split-trigger-con {
height: 100%;
width: 1px;
}
> .ivu-split-pane {
> div {
height: 100%;
overflow: auto;
display: flex;
flex-direction: column;
.grid-exp-bar-header {
line-height: 50px;
border-bottom: 1px solid #ddd;
.grid-exp-bar-title {
font-size: 18px;
padding-left: 8px;
i {
font-size: 20px;
margin-top: -2px;
}
}
}
.container-header{
display: flex;
justify-content: flex-start;
align-items: center;
flex-wrap: wrap;
.quick-group-container {
padding-top: 8px;
padding-right: 20px;
}
.search-container {
width: 30%;
height: 48px;
padding: 10px 10px 10px 0;
min-width: 200px;
max-width: 400px;
}
.toolbar-container{
padding: 4px;
display: flex;
flex-wrap: wrap;
align-items: center;
}
}
.grid-exp-bar-content {
height: calc(100% - 40px);
overflow: auto;
padding: 16px 0;
margin-bottom: 10px;
}
.grid-exp-bar-content2 {
height: calc(100% - 40px);
overflow: auto;
flex-grow: 1;
}
}
}
> .right-pane.ivu-split-pane {
> div {
padding-left: 10px;
}
}
> .left-pane.ivu-split-pane {
padding-right: 10px;
}
}
> .ivu-split-vertical{
> .ivu-split-pane {
> div {
height: 100%;
.grid-exp-bar-header {
line-height: 50px;
border-bottom: 1px solid #ddd;
>div {
font-size: 18px;
i {
font-size: 20px;
margin-top: -2px;
}
}
}
.container-header{
display: flex;
justify-content: flex-start;
align-items: center;
flex-wrap: wrap;
.search-container {
width: 30%;
height: 48px;
padding: 10px 10px 10px 0;
min-width: 200px;
max-width: 400px;
}
.toolbar-container{
padding: 4px;
}
.quick-group-container {
padding-top: 8px;
padding-right: 20px;
}
}
.grid-exp-bar-content {
height: calc(100% - 40px);
overflow: auto;
margin-bottom: 10px;
}
.grid-exp-bar-content2 {
height: calc(100% - 40px);
overflow: auto;
flex-grow: 1;
}
}
}
> .top-pane.ivu-split-pane {
> div {
padding-bottom: 10px;
}
}
> .bottom-pane.ivu-split-pane {
padding-top: 10px;
}
}
}
// this is less
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import GridExpViewgridexpbarBase from './grid-exp-viewgridexpbar-gridexpbar-base.vue';
import view_gridexpbar_grid from '@widgets/ibizbook/gridexpbar-grid-grid/gridexpbar-grid-grid.vue';
@Component({
components: {
view_gridexpbar_grid,
}
})
export default class GridExpViewgridexpbar extends GridExpViewgridexpbarBase {
}
</script>
\ No newline at end of file
/**
* Gridexpbar_grid 部件模型
*
* @export
* @class Gridexpbar_gridModel
*/
export default class Gridexpbar_gridModel {
/**
* 是否是实体数据导出
*
* @returns {any[]}
* @memberof Gridexpbar_gridGridexpbar_gridMode
*/
public isDEExport: boolean = false;
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof Gridexpbar_gridGridexpbar_gridMode
*/
public getDataItems(): any[] {
if(this.isDEExport){
return [
]
}else{
return [
{
name: 'ibizbookid',
prop: 'ibizbookid',
dataType: 'GUID',
},
{
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
.grid {
flex-grow: 1;
height: 100%;
overflow: auto;
.el-table__body-wrapper::-webkit-scrollbar {
/*滚动条整体样式*/
width : 10px !important; /*高宽分别对应横竖滚动条的尺寸*/
height: 10px !important;
}
.el-table__body-wrapper::-webkit-scrollbar-thumb {
/*滚动条颜色*/
border-radius : 10px !important;
background-color: #cecece !important;
}
.el-table__body-wrapper::-webkit-scrollbar-track {
/*滚动条里面轨道*/
box-shadow : inset 0 0 5px rgba(0, 0, 0, 0.2) !important;
background : #ededed !important;
border-radius: 10px !important;
}
/*表格文字过长省略*/
.el-table th>.cell, .el-table td>.cell{
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
word-break: break-all;
}
.el-table-column--selection .cell {
padding-left: 0px;
padding-right: 0px;
}
.app-column-link, .app-format-data{
display: inline;
}
.el-table {
height: 100%;
display:flex;
flex-direction: column;
justify-content: flex-start;
.el-table__row{
.grid-uiaction-divider {
padding:0 10px 0 10px;
border-left: 1px #b3b3b3 solid;
}
.grid-first-uiaction {
padding:0 10px 0 10px;
}
}
.quick-toolbar{
display: inline-block;
button{
background: #ebf3fb;
color: #2575ca;
border: 0;
}
}
.el-tooltip{
.ivu-form-item{
margin-bottom: unset !important;
}
}
.el-table__body .edit-cell{
padding:0;
.app-form-item{
margin-top: 20px;
margin-bottom: 20px;
}
}
.el-table__header-wrapper{
min-height: 45px;
max-height: 100px;
height: auto;
}
.el-table__footer-wrapper{
min-height: 45px;
max-height: 100px;
height: auto;
}
}
.grid-pagination {
height: 50px;
padding: 6px 0px;
.page-button {
button {
padding: 0;
font-size: 16px;
min-width: 32px;
height: 32px;
margin-right: 4px;
}
}
.page-column {
position: absolute;
left: 0;
}
.batch-toolbar{
position: absolute;
left: 105px;
>.toolbar-container{
button {
font-size: 16px;
min-width: 32px;
height: 32px;
margin-right: 4px;
margin-top: 0;
margin-bottom: 0;
}
}
}
}
}
.ivu-modal-content{
.footer{
.ivu-row{
text-align: right;
}
}
}
.cell-indeterminate {
>div>label {
>span {
.el-checkbox__inner {
background-color: #409eff;
border-color: #409eff;
}
.el-checkbox__inner:before {
content: "";
position: absolute;
display: block;
background-color: #fff;
height: 2px;
transform: scale(.5);
left: 0;
right: 0;
top: 5px;
}
}
>span.is-checked {
.el-checkbox__inner {
background-color: #409eff;
border-color: #409eff;
}
.el-checkbox__inner:after {
border: 0px;
}
}
}
}
.cell-select-all {
>div>label {
>span {
.el-checkbox__inner {
background-color: #409eff;
border-color: #409eff;
}
.el-checkbox__inner:after {
box-sizing: content-box;
content: "";
border: 1px solid #fff;
border-left: 0;
border-top: 0;
height: 7px;
left: 4px;
position: absolute;
top: 1px;
transform: rotate(45deg) scaleY(1);
width: 3px;
transition: transform .15s ease-in .05s;
transform-origin: center;
}
}
}
}
// this is less
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import Gridexpbar_gridBase from './gridexpbar-grid-grid-base.vue';
@Component({
components: {
}
})
export default class Gridexpbar_grid extends Gridexpbar_gridBase {
}
</script>
\ No newline at end of file
......@@ -15,6 +15,11 @@
<template slot="empty">
{{$t('entities.ibizbook.treetable_treegridex.nodata')}}
</template>
<el-table-column show-overflow-tooltip prop="subtext" label="图书描述" :width="50" :align="''">
<template v-slot="{ row }">
<span>{{ getColumnValue(row, 'subtext') }}</span>
</template>
</el-table-column>
<el-table-column show-overflow-tooltip prop="ibizbookname" label="图书名称" :width="50" :align="''">
<template v-slot="{ row }">
<span>{{ getColumnValue(row, 'ibizbookname') }}</span>
......@@ -25,11 +30,6 @@
<span>{{ getColumnValue(row, 'author') }}</span>
</template>
</el-table-column>
<el-table-column show-overflow-tooltip prop="subtext" label="图书描述" :width="50" :align="''">
<template v-slot="{ row }">
<span>{{ getColumnValue(row, 'subtext') }}</span>
</template>
</el-table-column>
</el-table>
</template>
......
/**
* Usr 部件模型
*
* @export
* @class UsrModel
*/
export default class UsrModel {
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof UsrChartMode
*/
public getDataItems(): any[] {
return [
{
name:'size',
prop:'size'
},
{
name:'query',
prop:'query'
},
{
name:'page',
prop:'page'
},
{
name:'sort',
prop:'sort'
}
]
}
}
\ No newline at end of file
import { Http,Util,Errorlog } from '@/utils';
import ControlService from '@/widgets/control-service';
import IBIZOrderService from '@/service/ibizorder/ibizorder-service';
import UsrModel from './usr-chart-model';
/**
* Usr 部件服务对象
*
* @export
* @class UsrService
*/
export default class UsrService extends ControlService {
/**
* 订单服务对象
*
* @type {IBIZOrderService}
* @memberof UsrService
*/
public appEntityService: IBIZOrderService = new IBIZOrderService({ $store: this.getStore() });
/**
* 设置从数据模式
*
* @type {boolean}
* @memberof UsrService
*/
public setTempMode(){
this.isTempMode = false;
}
/**
* Creates an instance of UsrService.
*
* @param {*} [opts={}]
* @memberof UsrService
*/
constructor(opts: any = {}) {
super(opts);
this.model = new UsrModel();
}
/**
* 查询数据
*
* @param {string} action
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof UsrService
*/
@Errorlog
public search(action: string,context: any = {}, data: any = {}, isloading?: boolean): Promise<any> {
const {data:Data,context:Context} = this.handleRequestData(action,context,data,true);
return new Promise((resolve: any, reject: any) => {
const _appEntityService: any = this.appEntityService;
let result: Promise<any>;
if (_appEntityService[action] && _appEntityService[action] instanceof Function) {
result = _appEntityService[action](Context,Data, isloading);
}else{
result =_appEntityService.FetchDefault(Context,Data, isloading);
}
result.then((response) => {
resolve(response);
}).catch(response => {
reject(response);
});
});
}
}
\ No newline at end of file
// this is less
.app-data-chart {
width: 100%;
height: 100%;
.chart-no-data{
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
i{
margin-right: 5px;
}
}
}
\ No newline at end of file
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import UsrBase from './usr-chart-base.vue';
@Component({
components: {
}
})
export default class Usr extends UsrBase {
}
</script>
\ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册