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

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

上级 56c71f08
......@@ -374,10 +374,8 @@ export default {
srfdeid: "",
srfsourcekey: "",
ibizbookid: "图书标识",
type: "图书类型",
lendouttime: "借出日期",
returntime: "归还日期",
borrower: "借阅人",
author: "图书作者",
formitem: "表格选择视图",
formitem1: "数据选择视图",
formitem2: "多选数据选择",
......@@ -1504,18 +1502,18 @@ export default {
},
haspanellistviewtoolbar_toolbar: {
},
booktypeselect_treeview: {
tree_treeview: {
nodata:"",
nodes: {
ibizbooktype: "图书类型",
root: "默认根节点",
},
uiactions: {
},
},
tree_treeview: {
booktypeselect_treeview: {
nodata:"",
nodes: {
ibizbooktype: "图书类型",
root: "默认根节点",
},
uiactions: {
},
......
......@@ -373,10 +373,8 @@ export default {
srfdeid: "",
srfsourcekey: "",
ibizbookid: "图书标识",
type: "图书类型",
lendouttime: "借出日期",
returntime: "归还日期",
borrower: "借阅人",
author: "图书作者",
formitem: "表格选择视图",
formitem1: "数据选择视图",
formitem2: "多选数据选择",
......@@ -1503,18 +1501,18 @@ export default {
},
haspanellistviewtoolbar_toolbar: {
},
booktypeselect_treeview: {
tree_treeview: {
nodata:"",
nodes: {
ibizbooktype: "图书类型",
root: "默认根节点",
},
uiactions: {
},
},
tree_treeview: {
booktypeselect_treeview: {
nodata:"",
nodes: {
ibizbooktype: "图书类型",
root: "默认根节点",
},
uiactions: {
},
......
.ibizcustomer-pickup-tree-view{
position: relative;
}
.search-contant {
height: 40px;
.ivu-input-wrapper {
max-width: 400px;
padding-top: 6px;
}
}
.tree-contant {
height: calc(100% - 40px);
margin: 0px 0px 16px 0;
overflow: auto;
}
\ No newline at end of file
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import IBIZCustomerPickupTreeViewBase from './ibizcustomer-pickup-tree-view-base.vue';
import view_tree from '@widgets/ibizcustomer/usr-treeview/usr-treeview.vue';
@Component({
components: {
view_tree,
},
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 IBIZCustomerPickupTreeView extends IBIZCustomerPickupTreeViewBase {
}
</script>
\ No newline at end of file
......@@ -131,10 +131,10 @@ export const PageComponents = {
Vue.component('ibizhardware-grid-view9', () => import('@pages/sample/ibizhardware-grid-view9/ibizhardware-grid-view9.vue'));
Vue.component('ibizorder-sf3-edit-view', () => import('@pages/sample/ibizorder-sf3-edit-view/ibizorder-sf3-edit-view.vue'));
Vue.component('ibizorder-f13-edit-view', () => import('@pages/sample/ibizorder-f13-edit-view/ibizorder-f13-edit-view.vue'));
Vue.component('ibizcustomer-pickup-tree-view', () => import('@pages/sample/ibizcustomer-pickup-tree-view/ibizcustomer-pickup-tree-view.vue'));
Vue.component('ibizorder-detail-f6-edit-view', () => import('@pages/sample/ibizorder-detail-f6-edit-view/ibizorder-detail-f6-edit-view.vue'));
Vue.component('ibizbookusr4-grid-view', () => import('@pages/sample/ibizbookusr4-grid-view/ibizbookusr4-grid-view.vue'));
Vue.component('ibizbookusr2-medit-view9', () => import('@pages/sample/ibizbookusr2-medit-view9/ibizbookusr2-medit-view9.vue'));
Vue.component('ibizbookpickup-tree-view', () => import('@pages/sample/ibizbookpickup-tree-view/ibizbookpickup-tree-view.vue'));
Vue.component('ibizorder-sedit-view3', () => import('@pages/sample/ibizorder-sedit-view3/ibizorder-sedit-view3.vue'));
Vue.component('ibizorder-odsp-d10-wfgrid-view', () => import('@pages/sample/ibizorder-odsp-d10-wfgrid-view/ibizorder-odsp-d10-wfgrid-view.vue'));
Vue.component('ibizbookinternal-func-grid-view', () => import('@pages/sample/ibizbookinternal-func-grid-view/ibizbookinternal-func-grid-view.vue'));
......
......@@ -2094,6 +2094,20 @@ const router = new Router({
},
component: () => import('@pages/sample/ibizorder-f13-edit-view/ibizorder-f13-edit-view.vue'),
},
{
path: 'ibizcustomers/:ibizcustomer?/pickuptreeview/:pickuptreeview?',
meta: {
caption: 'entities.ibizcustomer.views.pickuptreeview.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizcustomers', parameterName: 'ibizcustomer' },
{ pathName: 'pickuptreeview', parameterName: 'pickuptreeview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizcustomer-pickup-tree-view/ibizcustomer-pickup-tree-view.vue'),
},
{
path: 'ibizorders/:ibizorder?/ibizorderdetails/:ibizorderdetail?/f6editview/:f6editview?',
meta: {
......@@ -2151,20 +2165,6 @@ const router = new Router({
},
component: () => import('@pages/sample/ibizbookusr2-medit-view9/ibizbookusr2-medit-view9.vue'),
},
{
path: 'ibizbooks/:ibizbook?/pickuptreeview/:pickuptreeview?',
meta: {
caption: 'entities.ibizbook.views.pickuptreeview.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'pickuptreeview', parameterName: 'pickuptreeview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbookpickup-tree-view/ibizbookpickup-tree-view.vue'),
},
{
path: 'ibizorders/:ibizorder?/seditview3/:seditview3?',
meta: {
......@@ -3152,6 +3152,19 @@ const router = new Router({
},
component: () => import('@pages/sample/ibizorder-f19-edit-view/ibizorder-f19-edit-view.vue'),
},
{
path: '/ibizcustomers/:ibizcustomer?/pickuptreeview/:pickuptreeview?',
meta: {
caption: 'entities.ibizcustomer.views.pickuptreeview.caption',
info:'',
parameters: [
{ pathName: 'ibizcustomers', parameterName: 'ibizcustomer' },
{ pathName: 'pickuptreeview', parameterName: 'pickuptreeview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizcustomer-pickup-tree-view/ibizcustomer-pickup-tree-view.vue'),
},
{
path: '/ibizsample0003s/:ibizsample0003?/pickupview/:pickupview?',
meta: {
......@@ -4498,19 +4511,6 @@ const router = new Router({
},
component: () => import('@pages/sample/ibizbookedit-view/ibizbookedit-view.vue'),
},
{
path: '/ibizbooks/:ibizbook?/pickuptreeview/:pickuptreeview?',
meta: {
caption: 'entities.ibizbook.views.pickuptreeview.caption',
info:'',
parameters: [
{ pathName: 'ibizbooks', parameterName: 'ibizbook' },
{ pathName: 'pickuptreeview', parameterName: 'pickuptreeview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizbookpickup-tree-view/ibizbookpickup-tree-view.vue'),
},
{
path: '/ibizorders/:ibizorder?/ibizorderdetails/:ibizorderdetail?/sgridview9/:sgridview9?',
meta: {
......
......@@ -375,6 +375,15 @@ export const viewstate: any = {
'2640aa1ca02649c8831b43023d449945',
],
},
{
viewtag: '2a63c4595d7b116f63e0960a2365bbfa',
viewmodule: 'Sample',
viewname: 'IBIZCustomerPickupTreeView',
viewaction: '',
viewdatachange: false,
refviews: [
],
},
{
viewtag: '2acfa7c67cff5b1f6fc0d46f6a1c06bf',
viewmodule: 'Sample',
......@@ -525,7 +534,7 @@ export const viewstate: any = {
viewdatachange: false,
refviews: [
'f7ce60a7707de1ef9f926b3f9d5d6954',
'b3a27af7c6e3cea3b600057793da2bd1',
'2a63c4595d7b116f63e0960a2365bbfa',
'81e92e837f6fa81fed5b6beaa75f6bbd',
'460fc1d5b6f2e2012b281df34d929f3b',
],
......@@ -1351,15 +1360,6 @@ export const viewstate: any = {
refviews: [
],
},
{
viewtag: 'b3a27af7c6e3cea3b600057793da2bd1',
viewmodule: 'Sample',
viewname: 'IBIZBOOKPickupTreeView',
viewaction: '',
viewdatachange: false,
refviews: [
],
},
{
viewtag: 'b4db5cb272d2da535285852bc436e9de',
viewmodule: 'Sample',
......
......@@ -61,23 +61,13 @@ export default class InterFuncForm_2Model {
dataType: 'GUID',
},
{
name: 'type',
prop: 'type',
name: 'borrower',
prop: 'borrower',
dataType: 'TEXT',
},
{
name: 'lendouttime',
prop: 'lendouttime',
dataType: 'DATE',
},
{
name: 'returntime',
prop: 'returntime',
dataType: 'DATE',
},
{
name: 'borrower',
prop: 'borrower',
name: 'author',
prop: 'author',
dataType: 'TEXT',
},
{
......
/**
* Usr 部件模型
*
* @export
* @class UsrModel
*/
export default class UsrModel {
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof UsrModel
*/
public getDataItems(): any[] {
return [
{
name: 'createman',
},
{
name: 'sn',
},
{
name: 'updatedate',
},
{
name: 'createdate',
},
{
name: 'customeruid',
},
{
name: 'ibizcustomer',
prop: 'ibizcustomerid',
},
{
name: 'address',
},
{
name: 'ibizcustomername',
},
{
name: 'updateman',
},
]
}
}
\ No newline at end of file
.tree-right-menu {
.ivu-divider-horizontal {
width: 100%;
min-width: 100%;
margin: 0 auto;
}
.ivu-dropdown-item {
position: relative;
padding-left: 32px;
> i {
position: absolute;
left: 16px;
top: 10px;
}
.ivu-icon-ios-arrow-forward {
left: initial;
right: 4px;
}
}
.ivu-dropdown {
.ivu-select-dropdown {
margin: 0;
}
}
}
.el-tree .context-menu-component .tree-node{
width: calc(100% - 15px);
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
.icon{
padding-right: 10px;
}
}
// this is less
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import UsrBase from './usr-treeview-base.vue';
@Component({
components: {
}
})
export default class Usr extends UsrBase {
}
</script>
\ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册