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

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

上级 f9ecc77a
......@@ -967,6 +967,14 @@
"viewname": "IBIZSample0002MPickupView",
"viewtag": "ba34a828f898eefac5a98e7b25d9aef4"
},
"ibizorderusr3editview": {
"title": "订单编辑视图",
"caption": "订单",
"viewtype": "DEEDITVIEW",
"viewmodule": "Sample",
"viewname": "IBIZOrderUsr3EditView",
"viewtag": "bafb2c128858efe856db13e44290ca6a"
},
"ibizbookroweditgridview": {
"title": "图书表格视图(行编辑)",
"caption": "图书",
......
......@@ -71,6 +71,9 @@
"VMGroup13":[
{"tag":"ViewMsg12","position":"TOP","type":"ERROR"}
],
"VMGroup34":[
{"tag":"ViewMsg33","position":"TOP","type":"ERROR"}
],
"VMGroup23":[
{"tag":"ViewMsg22","position":"TOP","type":"ERROR"}
],
......
......@@ -240,7 +240,7 @@ export default {
menuitem105: "嵌入视图面板",
menuitem111: "甘特图",
menuitem112: "甘特图",
menuitem119: "分页导航",
menuitem119: "分页视图",
menuitem120: "分页导航",
menuitem5: "视图",
menuitem9: "列表视图",
......
......@@ -240,7 +240,7 @@ export default {
menuitem105: "嵌入视图面板",
menuitem111: "甘特图",
menuitem112: "甘特图",
menuitem119: "分页导航",
menuitem119: "分页视图",
menuitem120: "分页导航",
menuitem5: "视图",
menuitem9: "列表视图",
......
......@@ -259,7 +259,7 @@ export default {
tip: "刷新",
},
},
sgridviewtoolbar_toolbar: {
gridviewtoolbar_toolbar: {
tbitem3: {
caption: "New",
tip: "New",
......@@ -327,7 +327,7 @@ export default {
tip: "Save And Close Window",
},
},
f6gridviewtoolbar_toolbar: {
sgridviewtoolbar_toolbar: {
tbitem3: {
caption: "New",
tip: "New",
......@@ -385,17 +385,7 @@ export default {
tip: "数据导入",
},
},
f6editviewtoolbar_toolbar: {
tbitem3: {
caption: "Save",
tip: "Save",
},
tbitem5: {
caption: "Save And Close",
tip: "Save And Close Window",
},
},
gridviewtoolbar_toolbar: {
f6gridviewtoolbar_toolbar: {
tbitem3: {
caption: "New",
tip: "New",
......@@ -453,4 +443,14 @@ export default {
tip: "数据导入",
},
},
f6editviewtoolbar_toolbar: {
tbitem3: {
caption: "Save",
tip: "Save",
},
tbitem5: {
caption: "Save And Close",
tip: "Save And Close Window",
},
},
};
\ No newline at end of file
......@@ -258,7 +258,7 @@ export default {
tip: "刷新",
},
},
sgridviewtoolbar_toolbar: {
gridviewtoolbar_toolbar: {
tbitem3: {
caption: "新建",
tip: "新建",
......@@ -326,7 +326,7 @@ export default {
tip: "保存并关闭",
},
},
f6gridviewtoolbar_toolbar: {
sgridviewtoolbar_toolbar: {
tbitem3: {
caption: "新建",
tip: "新建",
......@@ -384,17 +384,7 @@ export default {
tip: "数据导入",
},
},
f6editviewtoolbar_toolbar: {
tbitem3: {
caption: "保存",
tip: "保存",
},
tbitem5: {
caption: "保存并关闭",
tip: "保存并关闭",
},
},
gridviewtoolbar_toolbar: {
f6gridviewtoolbar_toolbar: {
tbitem3: {
caption: "新建",
tip: "新建",
......@@ -452,4 +442,14 @@ export default {
tip: "数据导入",
},
},
f6editviewtoolbar_toolbar: {
tbitem3: {
caption: "保存",
tip: "保存",
},
tbitem5: {
caption: "保存并关闭",
tip: "保存并关闭",
},
},
};
\ No newline at end of file
......@@ -165,6 +165,10 @@ export default {
caption: "表单项输入提示",
title: "表单项输入提示",
},
usr3editview: {
caption: "订单",
title: "订单编辑视图",
},
odsp_w_wfgridview: {
caption: "订单",
title: "订单工作流表格视图(订单审批)",
......@@ -284,10 +288,9 @@ export default {
uiactions: {
},
},
uipart_0010_form: {
sform_form: {
details: {
group1: "订单基本信息",
grouppanel1: "动态空输入",
formpage1: "基本信息",
srfupdatedate: "更新时间",
srforikey: "",
......@@ -297,24 +300,26 @@ export default {
srfuf: "",
srfdeid: "",
srfsourcekey: "",
srfip_amount: "",
orderuid: "订单编号",
ibizordername: "订单名称",
ordertime: "订单时间",
ibizcustomername: "客户名称",
ordertype: "订单类型",
amount: "总计",
detailnum: "明细数",
orderstate: "订单状态",
ibizorderid: "订单标识",
memo: "备注",
formitem: "开关",
formitem1: "文本框",
ibizcustomerid: "客户标识",
ibizorderid: "订单标识",
},
uiactions: {
},
},
main5_form: {
uipart_0010_form: {
details: {
group1: "订单基本信息",
grouppanel1: "动态空输入",
formpage1: "基本信息",
srfupdatedate: "更新时间",
srforikey: "",
......@@ -331,13 +336,15 @@ export default {
ordertype: "订单类型",
orderstate: "订单状态",
memo: "备注",
formitem: "开关",
formitem1: "文本框",
ibizcustomerid: "客户标识",
ibizorderid: "订单标识",
},
uiactions: {
},
},
sform_form: {
main5_form: {
details: {
group1: "订单基本信息",
formpage1: "基本信息",
......@@ -349,18 +356,15 @@ export default {
srfuf: "",
srfdeid: "",
srfsourcekey: "",
srfip_amount: "",
orderuid: "订单编号",
ibizordername: "订单名称",
ordertime: "订单时间",
ibizcustomername: "客户名称",
ordertype: "订单类型",
amount: "总计",
detailnum: "明细数",
orderstate: "订单状态",
ibizorderid: "订单标识",
memo: "备注",
ibizcustomerid: "客户标识",
ibizorderid: "订单标识",
},
uiactions: {
},
......@@ -876,27 +880,7 @@ export default {
tip: "Print",
},
},
zdytpgridviewtoolbar_toolbar: {
deuiaction1: {
caption: "New",
tip: "New",
},
tbitem1_zdyupdate: {
caption: "删除",
tip: "删除",
},
tbitem16: {
caption: "其它",
tip: "其它",
},
tbitem21: {
caption: "Export Data Model",
tip: "导出数据模型",
},
tbitem23: {
caption: "数据导入",
tip: "数据导入",
},
usr3editviewtoolbar_toolbar: {
},
sf6gridviewtoolbar_toolbar: {
deuiaction1: {
......@@ -1204,6 +1188,28 @@ export default {
tip: "Print",
},
},
zdytpgridviewtoolbar_toolbar: {
deuiaction1: {
caption: "New",
tip: "New",
},
tbitem1_zdyupdate: {
caption: "删除",
tip: "删除",
},
tbitem16: {
caption: "其它",
tip: "其它",
},
tbitem21: {
caption: "Export Data Model",
tip: "导出数据模型",
},
tbitem23: {
caption: "数据导入",
tip: "数据导入",
},
},
sf5gridviewtoolbar_toolbar: {
deuiaction1: {
caption: "New",
......
......@@ -164,6 +164,10 @@ export default {
caption: "表单项输入提示",
title: "表单项输入提示",
},
usr3editview: {
caption: "订单",
title: "订单编辑视图",
},
odsp_w_wfgridview: {
caption: "订单",
title: "订单工作流表格视图(订单审批)",
......@@ -283,10 +287,9 @@ export default {
uiactions: {
},
},
uipart_0010_form: {
sform_form: {
details: {
group1: "订单基本信息",
grouppanel1: "动态空输入",
formpage1: "基本信息",
srfupdatedate: "更新时间",
srforikey: "",
......@@ -296,24 +299,26 @@ export default {
srfuf: "",
srfdeid: "",
srfsourcekey: "",
srfip_amount: "",
orderuid: "订单编号",
ibizordername: "订单名称",
ordertime: "订单时间",
ibizcustomername: "客户名称",
ordertype: "订单类型",
amount: "总计",
detailnum: "明细数",
orderstate: "订单状态",
ibizorderid: "订单标识",
memo: "备注",
formitem: "开关",
formitem1: "文本框",
ibizcustomerid: "客户标识",
ibizorderid: "订单标识",
},
uiactions: {
},
},
main5_form: {
uipart_0010_form: {
details: {
group1: "订单基本信息",
grouppanel1: "动态空输入",
formpage1: "基本信息",
srfupdatedate: "更新时间",
srforikey: "",
......@@ -330,13 +335,15 @@ export default {
ordertype: "订单类型",
orderstate: "订单状态",
memo: "备注",
formitem: "开关",
formitem1: "文本框",
ibizcustomerid: "客户标识",
ibizorderid: "订单标识",
},
uiactions: {
},
},
sform_form: {
main5_form: {
details: {
group1: "订单基本信息",
formpage1: "基本信息",
......@@ -348,18 +355,15 @@ export default {
srfuf: "",
srfdeid: "",
srfsourcekey: "",
srfip_amount: "",
orderuid: "订单编号",
ibizordername: "订单名称",
ordertime: "订单时间",
ibizcustomername: "客户名称",
ordertype: "订单类型",
amount: "总计",
detailnum: "明细数",
orderstate: "订单状态",
ibizorderid: "订单标识",
memo: "备注",
ibizcustomerid: "客户标识",
ibizorderid: "订单标识",
},
uiactions: {
},
......@@ -875,27 +879,7 @@ export default {
tip: "打印",
},
},
zdytpgridviewtoolbar_toolbar: {
deuiaction1: {
caption: "新建",
tip: "新建",
},
tbitem1_zdyupdate: {
caption: "删除",
tip: "删除",
},
tbitem16: {
caption: "其它",
tip: "其它",
},
tbitem21: {
caption: "导出数据模型",
tip: "导出数据模型",
},
tbitem23: {
caption: "数据导入",
tip: "数据导入",
},
usr3editviewtoolbar_toolbar: {
},
sf6gridviewtoolbar_toolbar: {
deuiaction1: {
......@@ -1203,6 +1187,28 @@ export default {
tip: "打印",
},
},
zdytpgridviewtoolbar_toolbar: {
deuiaction1: {
caption: "新建",
tip: "新建",
},
tbitem1_zdyupdate: {
caption: "删除",
tip: "删除",
},
tbitem16: {
caption: "其它",
tip: "其它",
},
tbitem21: {
caption: "导出数据模型",
tip: "导出数据模型",
},
tbitem23: {
caption: "数据导入",
tip: "数据导入",
},
},
sf5gridviewtoolbar_toolbar: {
deuiaction1: {
caption: "新建",
......
......@@ -71,6 +71,7 @@ export class MessageServiceRegister {
this.allMessageService.set('ViewMsg3', () => import('@/message/view-msg3/view-msg3-message'));
this.allMessageService.set('ViewMsg6', () => import('@/message/view-msg6/view-msg6-message'));
this.allMessageService.set('ViewMsg14', () => import('@/message/view-msg14/view-msg14-message'));
this.allMessageService.set('ViewMsg33', () => import('@/message/view-msg33/view-msg33-message'));
this.allMessageService.set('ViewMsg31', () => import('@/message/view-msg31/view-msg31-message'));
}
......
import ViewMessageService from '../view-message-service';
/**
* 分页导航视图消息服务对象基类
*
* @export
* @class ViewMsg33MessageServiceBase
*/
export default class ViewMsg33MessageServiceBase extends ViewMessageService {
/**
* Creates an instance of ViewMsg33MessageServiceBase.
*
* @param {*} [opts={}]
* @memberof ViewMsg33MessageServiceBase
*/
constructor(opts: any = {}) {
super(opts);
}
/**
* 初始化基础参数
*
* @memberof ViewMsg33MessageServiceBase
*/
public initBasicParam(){
this.id = "BA747A4B-1066-49B7-A201-F765C33185FA";
this.name = "分页导航";
this.codename = "ViewMsg33";
this.title = "";
this.content = "分页导航:分页导航实体可以在一个界面中定义多个视图进行查看,可以快速的查看与比较关联的数据。";
this.closeMode = 0;
this.position = "TOP";
this.type = "error";
this.isEnableRemove = false;
this.order = 1;
this.dynamicMode = "STATIC";
this.hasMessageTemp = false;
this.messageType = "TEXT";
}
/**
* 转化消息模板标题和内容
*
* @target {*} target 返回目标数据
* @param {*} context 应用上下文
* @param {*} viewparam 视图参数
* @param {*} item 源数据
*
* @memberof ViewMsg33MessageServiceBase
*/
public translateMessageTemp(target:any,context:any,viewparam:any,item?:any){
if(this.hasMessageTemp && Object.is(this.messageType,"HTML")){
Object.assign(target,{title:``});
Object.assign(target,{content:``});
}
if(this.hasMessageTemp && Object.is(this.messageType,"TEXT")){
Object.assign(target,{title:""});
Object.assign(target,{content:""});
}
}
}
\ No newline at end of file
import ViewMsg33MessageServiceBase from './view-msg33-message-base';
/**
* 分页导航视图消息服务对象
*
* @export
* @class ViewMsg33MessageService
*/
export default class ViewMsg33MessageService extends ViewMsg33MessageServiceBase {
/**
* Creates an instance of ViewMsg33MessageService.
*
* @param {*} [opts={}]
* @memberof ViewMsg33MessageService
*/
constructor(opts: any = {}) {
super(opts);
}
}
\ No newline at end of file
......@@ -1421,10 +1421,10 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
{
id: 'CC40A1B2-FAD2-4EC7-9234-0EDB32E81908',
name: 'menuitem119',
text: '分页导航',
text: '分页视图',
type: 'MENUITEM',
counterid: '',
tooltip: '分页导航',
tooltip: '分页视图',
expanded: false,
separator: false,
hidden: false,
......
......@@ -975,6 +975,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "IBIZSample0002MPickupView",
"viewtag": "ba34a828f898eefac5a98e7b25d9aef4"
},
"ibizorderusr3editview": {
"title": "订单编辑视图",
"caption": "订单",
"viewtype": "DEEDITVIEW",
"viewmodule": "Sample",
"viewname": "IBIZOrderUsr3EditView",
"viewtag": "bafb2c128858efe856db13e44290ca6a"
},
"ibizbookroweditgridview": {
"title": "图书表格视图(行编辑)",
"caption": "图书",
......@@ -1438,6 +1446,9 @@ mock.onGet('./assets/json/view-message-group.json').reply((config: any) => {
"VMGroup13":[
{"tag":"ViewMsg12","position":"TOP","type":"ERROR"}
],
"VMGroup34":[
{"tag":"ViewMsg33","position":"TOP","type":"ERROR"}
],
"VMGroup23":[
{"tag":"ViewMsg22","position":"TOP","type":"ERROR"}
],
......
......@@ -8,10 +8,10 @@
</div>
<div class='view-top-messages'>
</div>
<app-alert-group position='TOP' :context="context" :viewparam="viewparams" infoGroup='VMGroup34' viewname='ibizordertabexpview'></app-alert-group></div>
<div class='content-container'>
<div class='view-body-messages'>
</div>
<app-alert-group position='BODY' :context="context" :viewparam="viewparams" infoGroup='VMGroup34' viewname='ibizordertabexpview'></app-alert-group></div>
<view_tabexppanel
:viewState="viewState"
:viewparams="viewparams"
......@@ -22,7 +22,7 @@
</view_tabexppanel>
</div>
<div class='view-bottom-messages'>
</div>
<app-alert-group position='BOTTOM' :context="context" :viewparam="viewparams" infoGroup='VMGroup34' viewname='ibizordertabexpview'></app-alert-group></div>
</card>
</div>
</template>
......
.view-card {
>.ivu-card-extra {
top: 5px;
right: 0px;
}
}
.ibizorder-usr3-edit-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
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import IBIZOrderUsr3EditViewBase from './ibizorder-usr3-edit-view-base.vue';
import view_form from '@widgets/ibizorder/sform-form/sform-form.vue';
@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 IBIZOrderUsr3EditView extends IBIZOrderUsr3EditViewBase {
}
</script>
\ No newline at end of file
......@@ -138,6 +138,7 @@ export const PageComponents = {
Vue.component('ibizbookgroup-by-codelist-list-view', () => import('@pages/sample/ibizbookgroup-by-codelist-list-view/ibizbookgroup-by-codelist-list-view.vue'));
Vue.component('ibizbookhas-panel-kan-ban-view', () => import('@pages/sample/ibizbookhas-panel-kan-ban-view/ibizbookhas-panel-kan-ban-view.vue'));
Vue.component('ibizorder-radar-chart-view', () => import('@pages/sample/ibizorder-radar-chart-view/ibizorder-radar-chart-view.vue'));
Vue.component('ibizorder-usr3-edit-view', () => import('@pages/sample/ibizorder-usr3-edit-view/ibizorder-usr3-edit-view.vue'));
Vue.component('ibizbookupdate-default-grid-view', () => import('@pages/sample/ibizbookupdate-default-grid-view/ibizbookupdate-default-grid-view.vue'));
Vue.component('ibizsample0003-stab-exp-view', () => import('@pages/sample/ibizsample0003-stab-exp-view/ibizsample0003-stab-exp-view.vue'));
Vue.component('ibizbookauto-group-list-view', () => import('@pages/sample/ibizbookauto-group-list-view/ibizbookauto-group-list-view.vue'));
......
......@@ -2042,6 +2042,20 @@ const router = new Router({
},
component: () => import('@pages/sample/ibizorder-radar-chart-view/ibizorder-radar-chart-view.vue'),
},
{
path: 'ibizorders/:ibizorder?/usr3editview/:usr3editview?',
meta: {
caption: 'entities.ibizorder.views.usr3editview.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizorders', parameterName: 'ibizorder' },
{ pathName: 'usr3editview', parameterName: 'usr3editview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizorder-usr3-edit-view/ibizorder-usr3-edit-view.vue'),
},
{
path: 'ibizbooks/:ibizbook?/updatedefaultgridview/:updatedefaultgridview?',
meta: {
......@@ -3605,6 +3619,19 @@ const router = new Router({
},
component: () => import('@pages/sample/ibizsample0002-mpickup-view/ibizsample0002-mpickup-view.vue'),
},
{
path: '/ibizorders/:ibizorder?/usr3editview/:usr3editview?',
meta: {
caption: 'entities.ibizorder.views.usr3editview.caption',
info:'',
parameters: [
{ pathName: 'ibizorders', parameterName: 'ibizorder' },
{ pathName: 'usr3editview', parameterName: 'usr3editview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizorder-usr3-edit-view/ibizorder-usr3-edit-view.vue'),
},
{
path: '/ibizbooks/:ibizbook?/roweditgridview/:roweditgridview?',
meta: {
......
......@@ -102,8 +102,8 @@ export const viewstate: any = {
viewaction: '',
viewdatachange: false,
refviews: [
'f4cda6703c800c075704c5af5e58f2fc',
'e2a1c9cb077cd2c74f2f2b914fb1db84',
'4a2a1fa66c88ef36eadc4c37c6260641',
'bafb2c128858efe856db13e44290ca6a',
],
},
{
......@@ -1165,6 +1165,16 @@ export const viewstate: any = {
'7a334494f71d4328c743657a6429ee03',
],
},
{
viewtag: 'bafb2c128858efe856db13e44290ca6a',
viewmodule: 'Sample',
viewname: 'IBIZOrderUsr3EditView',
viewaction: '',
viewdatachange: false,
refviews: [
'f7ce60a7707de1ef9f926b3f9d5d6954',
],
},
{
viewtag: 'bc76c982dd2264463427eb57e9ed3fba',
viewmodule: 'Sample',
......
......@@ -131,6 +131,7 @@ export default class IBIZOrderUIServiceBase extends UIService {
this.allViewMap.set(':',{viewname:'s2editview',srfappde:'ibizorders',component:'ibizorder-s2-edit-view'});
this.allViewMap.set(':',{viewname:'sf5gridview',srfappde:'ibizorders',component:'ibizorder-sf5-grid-view'});
this.allViewMap.set(':',{viewname:'sf2editview',srfappde:'ibizorders',component:'ibizorder-sf2-edit-view'});
this.allViewMap.set(':',{viewname:'usr3editview',srfappde:'ibizorders',component:'ibizorder-usr3-edit-view'});
this.allViewMap.set('WFMDATAVIEW:ODSP:W',{viewname:'odsp_w_wfgridview',srfappde:'ibizorders',component:'ibizorder-odsp-w-wfgrid-view'});
this.allViewMap.set(':',{viewname:'areachartview',srfappde:'ibizorders',component:'ibizorder-area-chart-view'});
this.allViewMap.set(':',{viewname:'seditview2',srfappde:'ibizorders',component:'ibizorder-sedit-view2'});
......
......@@ -1502,10 +1502,10 @@ export default class MainMenuModel {
{
id: 'CC40A1B2-FAD2-4EC7-9234-0EDB32E81908',
name: 'menuitem119',
text: '分页导航',
text: '分页视图',
type: 'MENUITEM',
counterid: '',
tooltip: '分页导航',
tooltip: '分页视图',
expanded: false,
separator: false,
hidden: false,
......
......@@ -5,7 +5,7 @@
<tab-pane :index="0" name='tabviewpanel' tab='tabexpviewtabexppanel' class='' v-if="authResourceObject['tabviewpanel'].visabled"
:label="(h) =>{
return h('div', [
h('span', '订单表格视图'),
h('span', '订单编辑视图'),
h('Badge', {
props: {
count: undefined,
......@@ -28,7 +28,7 @@
<tab-pane :index="1" name='tabviewpanel2' tab='tabexpviewtabexppanel' class='' v-if="authResourceObject['tabviewpanel2'].visabled"
:label="(h) =>{
return h('div', [
h('span', '订单编辑视图'),
h('span', '订单明细表格视图'),
h('Badge', {
props: {
count: undefined,
......
<template>
<div class='tabviewpanel' style="height:100%;" v-if = 'isActivied' >
<ibizorder-zdytpgrid-view
<ibizorder-usr3-edit-view
class='viewcontainer2'
:viewdata="viewdata"
:viewparam="viewparam"
@viewload="viewDatasChange($event)"
:viewDefaultUsage="false" >
</ibizorder-zdytpgrid-view>
</ibizorder-usr3-edit-view>
</div>
</template>
<script lang='tsx'>
......
<template>
<div class='tabviewpanel' style="height:100%;" v-if = 'isActivied' >
<ibizorder-edit-view
<ibizorder-detail-grid-view
class='viewcontainer2'
:viewdata="viewdata"
:viewparam="viewparam"
@viewload="viewDatasChange($event)"
:viewDefaultUsage="false" >
</ibizorder-edit-view>
</ibizorder-detail-grid-view>
</div>
</template>
<script lang='tsx'>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册