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

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

上级 c2114ec5
......@@ -1751,6 +1751,14 @@
"viewname": "IBIZSample0003F1TreeExpView",
"viewtag": "ea604a66caf499c70c9002a917dd1694"
},
"ibizbookusr4listview": {
"title": "图书列表视图",
"caption": "图书",
"viewtype": "DELISTVIEW",
"viewmodule": "Sample",
"viewname": "IBIZBOOKUsr4ListView",
"viewtag": "ec074fd503f6c149b57e2d5b19815f1a"
},
"ibizsample0001gridview": {
"title": "IBIZSAMPLE0001表格视图",
"caption": "示例实体01",
......
......@@ -128,9 +128,6 @@
"VMGroup40":[
{"tag":"ViewMsg39","position":"TOP","type":"ERROR"}
],
"VMGroup91":[
{"tag":"ViewMsg90","position":"TOP","type":"ERROR"}
],
"VMGroup70":[
{"tag":"ViewMsg69","position":"TOP","type":"ERROR"}
],
......@@ -143,6 +140,9 @@
"VMGroup44":[
{"tag":"ViewMsg43","position":"TOP","type":"ERROR"}
],
"VMGroup91":[
{"tag":"ViewMsg90","position":"TOP","type":"ERROR"}
],
"VMGroup12":[
{"tag":"ViewMsg11","position":"TOP","type":"ERROR"}
],
......@@ -176,9 +176,6 @@
"VMGroup62":[
{"tag":"ViewMsg61","position":"TOP","type":"ERROR"}
],
"VMGroup84":[
{"tag":"ViewMsg83","position":"TOP","type":"ERROR"}
],
"VMGroup49":[
{"tag":"ViewMsg47","position":"TOP","type":"ERROR"}
],
......@@ -197,9 +194,6 @@
"VMGroup53":[
{"tag":"ViewMsg52","position":"TOP","type":"ERROR"}
],
"VMGroup83":[
{"tag":"ViewMsg82","position":"TOP","type":"ERROR"}
],
"VMGroup55":[
{"tag":"ViewMsg54","position":"TOP","type":"ERROR"}
],
......
......@@ -281,12 +281,12 @@ function getAppLocale(){
menuitem159: commonLogic.appcommonhandle("其他类",null),
menuitem5: commonLogic.appcommonhandle("视图",null),
menuitem140: commonLogic.appcommonhandle("单数据视图",null),
menuitem161: commonLogic.appcommonhandle("实体向导视图",null),
menuitem8: commonLogic.appcommonhandle("编辑视图",null),
menuitem22: commonLogic.appcommonhandle("常规编辑视图",null),
menuitem23: commonLogic.appcommonhandle("左右编辑视图",null),
menuitem24: commonLogic.appcommonhandle("分页编辑视图",null),
menuitem25: commonLogic.appcommonhandle("嵌入编辑视图",null),
menuitem161: commonLogic.appcommonhandle("实体向导视图",null),
menuitem162: commonLogic.appcommonhandle("实体编辑视图(分页关系)",null),
menuitem163: commonLogic.appcommonhandle("实体编辑视图(上下关系)",null),
menuitem164: commonLogic.appcommonhandle("实体编辑视图(左右关系)",null),
......@@ -294,10 +294,10 @@ function getAppLocale(){
menuitem166: commonLogic.appcommonhandle("实体数据看板视图",null),
menuitem167: commonLogic.appcommonhandle("实体选项操作视图",null),
menuitem141: commonLogic.appcommonhandle("多数据视图",null),
menuitem9: commonLogic.appcommonhandle("列表视图",null),
menuitem79: commonLogic.appcommonhandle("表格视图",null),
menuitem168: commonLogic.appcommonhandle("实体多表单编辑视图",null),
menuitem169: commonLogic.appcommonhandle("实体甘特视图",null),
menuitem9: commonLogic.appcommonhandle("列表视图",null),
menuitem170: commonLogic.appcommonhandle("实体日历视图",null),
menuitem171: commonLogic.appcommonhandle("实体看板视图",null),
menuitem172: commonLogic.appcommonhandle("实体树表格视图",null),
......@@ -305,9 +305,6 @@ function getAppLocale(){
menuitem174: commonLogic.appcommonhandle("实体数据视图",null),
menuitem175: commonLogic.appcommonhandle("实体图表视图",null),
menuitem10: commonLogic.appcommonhandle("导航视图",null),
menuitem32: commonLogic.appcommonhandle("常规导航视图",null),
menuitem33: commonLogic.appcommonhandle("分页导航视图",null),
menuitem34: commonLogic.appcommonhandle("嵌入导航视图",null),
menuitem176: commonLogic.appcommonhandle("实体表格导航视图",null),
menuitem177: commonLogic.appcommonhandle("实体列表导航视图",null),
menuitem178: commonLogic.appcommonhandle("实体卡片导航视图",null),
......
......@@ -281,12 +281,12 @@ function getAppLocale(){
menuitem159: commonLogic.appcommonhandle("其他类",null),
menuitem5: commonLogic.appcommonhandle("视图",null),
menuitem140: commonLogic.appcommonhandle("单数据视图",null),
menuitem161: commonLogic.appcommonhandle("实体向导视图",null),
menuitem8: commonLogic.appcommonhandle("编辑视图",null),
menuitem22: commonLogic.appcommonhandle("常规编辑视图",null),
menuitem23: commonLogic.appcommonhandle("左右编辑视图",null),
menuitem24: commonLogic.appcommonhandle("分页编辑视图",null),
menuitem25: commonLogic.appcommonhandle("嵌入编辑视图",null),
menuitem161: commonLogic.appcommonhandle("实体向导视图",null),
menuitem162: commonLogic.appcommonhandle("实体编辑视图(分页关系)",null),
menuitem163: commonLogic.appcommonhandle("实体编辑视图(上下关系)",null),
menuitem164: commonLogic.appcommonhandle("实体编辑视图(左右关系)",null),
......@@ -294,10 +294,10 @@ function getAppLocale(){
menuitem166: commonLogic.appcommonhandle("实体数据看板视图",null),
menuitem167: commonLogic.appcommonhandle("实体选项操作视图",null),
menuitem141: commonLogic.appcommonhandle("多数据视图",null),
menuitem9: commonLogic.appcommonhandle("列表视图",null),
menuitem79: commonLogic.appcommonhandle("表格视图",null),
menuitem168: commonLogic.appcommonhandle("实体多表单编辑视图",null),
menuitem169: commonLogic.appcommonhandle("实体甘特视图",null),
menuitem9: commonLogic.appcommonhandle("列表视图",null),
menuitem170: commonLogic.appcommonhandle("实体日历视图",null),
menuitem171: commonLogic.appcommonhandle("实体看板视图",null),
menuitem172: commonLogic.appcommonhandle("实体树表格视图",null),
......@@ -305,9 +305,6 @@ function getAppLocale(){
menuitem174: commonLogic.appcommonhandle("实体数据视图",null),
menuitem175: commonLogic.appcommonhandle("实体图表视图",null),
menuitem10: commonLogic.appcommonhandle("导航视图",null),
menuitem32: commonLogic.appcommonhandle("常规导航视图",null),
menuitem33: commonLogic.appcommonhandle("分页导航视图",null),
menuitem34: commonLogic.appcommonhandle("嵌入导航视图",null),
menuitem176: commonLogic.appcommonhandle("实体表格导航视图",null),
menuitem177: commonLogic.appcommonhandle("实体列表导航视图",null),
menuitem178: commonLogic.appcommonhandle("实体卡片导航视图",null),
......
......@@ -234,6 +234,10 @@ function getLocaleResourceBase(){
caption: commonLogic.appcommonhandle("图书",null),
title: commonLogic.appcommonhandle("图书数据视图(自动分组)",null),
},
usr4listview: {
caption: commonLogic.appcommonhandle("图书",null),
title: commonLogic.appcommonhandle("图书列表视图",null),
},
groupbycodelistlistview: {
caption: commonLogic.appcommonhandle("图书",null),
title: commonLogic.appcommonhandle("图书列表视图(代码表分组)",null),
......@@ -1785,6 +1789,24 @@ function getLocaleResourceBase(){
},
haspanellistviewtoolbar_toolbar: {
},
usr4listviewtoolbar_toolbar: {
},
usr4listviewlist_quicktoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("New",null),
tip: commonLogic.appcommonhandle("New",null),
},
},
usr4listviewlist_batchtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("Edit",null),
tip: commonLogic.appcommonhandle("Edit {0}",null),
},
deuiaction2: {
caption: commonLogic.appcommonhandle("Remove",null),
tip: commonLogic.appcommonhandle("Remove {0}",null),
},
},
portlet_booklist_list_quicktoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("New",null),
......
......@@ -234,6 +234,10 @@ function getLocaleResourceBase(){
caption: commonLogic.appcommonhandle("图书",null),
title: commonLogic.appcommonhandle("图书数据视图(自动分组)",null),
},
usr4listview: {
caption: commonLogic.appcommonhandle("图书",null),
title: commonLogic.appcommonhandle("图书列表视图",null),
},
groupbycodelistlistview: {
caption: commonLogic.appcommonhandle("图书",null),
title: commonLogic.appcommonhandle("图书列表视图(代码表分组)",null),
......@@ -1785,6 +1789,24 @@ function getLocaleResourceBase(){
},
haspanellistviewtoolbar_toolbar: {
},
usr4listviewtoolbar_toolbar: {
},
usr4listviewlist_quicktoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("新建",null),
tip: commonLogic.appcommonhandle("新建",null),
},
},
usr4listviewlist_batchtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("编辑",null),
tip: commonLogic.appcommonhandle("编辑",null),
},
deuiaction2: {
caption: commonLogic.appcommonhandle("删除",null),
tip: commonLogic.appcommonhandle("删除",null),
},
},
portlet_booklist_list_quicktoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("新建",null),
......
......@@ -965,12 +965,8 @@ function getLocaleResourceBase(){
tip: commonLogic.appcommonhandle("New",null),
},
tbitem1_buiaction1: {
caption: commonLogic.appcommonhandle("后台界面行为1",null),
tip: commonLogic.appcommonhandle("后台界面行为1",null),
},
tbitem1_buiaction2: {
caption: commonLogic.appcommonhandle("后台界面行为2",null),
tip: commonLogic.appcommonhandle("后台界面行为2",null),
caption: commonLogic.appcommonhandle("后台界面行为(保存)",null),
tip: commonLogic.appcommonhandle("后台界面行为(保存)",null),
},
tbitem16: {
caption: commonLogic.appcommonhandle("其它",null),
......
......@@ -965,12 +965,8 @@ function getLocaleResourceBase(){
tip: commonLogic.appcommonhandle("新建",null),
},
tbitem1_buiaction1: {
caption: commonLogic.appcommonhandle("后台界面行为1",null),
tip: commonLogic.appcommonhandle("后台界面行为1",null),
},
tbitem1_buiaction2: {
caption: commonLogic.appcommonhandle("后台界面行为2",null),
tip: commonLogic.appcommonhandle("后台界面行为2",null),
caption: commonLogic.appcommonhandle("后台界面行为(保存)",null),
tip: commonLogic.appcommonhandle("后台界面行为(保存)",null),
},
tbitem16: {
caption: commonLogic.appcommonhandle("其它",null),
......
......@@ -28,7 +28,7 @@ export default class ViewMsg92MessageServiceBase extends ViewMessageService {
this.name = "前台界面行为";
this.codename = "ViewMsg92";
this.title = "";
this.content = "本示例展示前台界面行为:如打开编辑视图,打开重定向视图等。";
this.content = "本示例展示前台界面行为:如打开编辑视图。若无选中数据则根据配置的上下文参数跳转到相应数据的编辑视图。";
this.closeMode = 0;
this.position = "TOP";
this.type = "error";
......
......@@ -28,7 +28,7 @@ export default class ViewMsg93MessageServiceBase extends ViewMessageService {
this.name = "后台界面行为";
this.codename = "ViewMsg93";
this.title = "";
this.content = "本示例展示后台界面行为:如删除,保存等行为。";
this.content = "本示例展示后台界面行为:保存。可自定义导航参数以进行后续逻辑处理。";
this.closeMode = 0;
this.position = "TOP";
this.type = "error";
......
......@@ -1863,6 +1863,24 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
items: [
{
id: '18F8A496-2AD7-43E4-84E2-06584AA785C6',
name: 'menuitem161',
text: '实体向导视图',
type: 'MENUITEM',
counterid: '',
tooltip: '实体向导视图',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'AppFunc49',
resourcetag: '',
},
{
id: '1b7de396a2f178bf7cf1d0b4cb4508e3',
name: 'menuitem8',
text: '编辑视图',
......@@ -1953,24 +1971,6 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
},
],
},
{
id: '18F8A496-2AD7-43E4-84E2-06584AA785C6',
name: 'menuitem161',
text: '实体向导视图',
type: 'MENUITEM',
counterid: '',
tooltip: '实体向导视图',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'AppFunc49',
resourcetag: '',
},
{
id: '67ACEFA6-9294-4442-B32E-0A7C852B1DF8',
......@@ -2101,24 +2101,6 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
items: [
{
id: '31ab55d50e3f2565d91641638235d461',
name: 'menuitem9',
text: '列表视图',
type: 'MENUITEM',
counterid: '',
tooltip: '列表视图',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: '',
resourcetag: '',
},
{
id: '4D101B76-6E2A-4D05-9699-CA5687313802',
name: 'menuitem79',
text: '表格视图',
......@@ -2171,6 +2153,24 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
textcls: '',
appfunctag: 'AppFunc74',
resourcetag: '',
},
{
id: '31ab55d50e3f2565d91641638235d461',
name: 'menuitem9',
text: '列表视图',
type: 'MENUITEM',
counterid: '',
tooltip: '列表视图',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: '',
resourcetag: '',
},
{
id: '48164149-E0F2-4ABB-A2D5-69BF15388F27',
......@@ -2301,60 +2301,6 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
resourcetag: '',
items: [
{
id: '98cbd1384afa807b92b43e80ed009a25',
name: 'menuitem32',
text: '常规导航视图',
type: 'MENUITEM',
counterid: '',
tooltip: '常规导航视图',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'Auto415',
resourcetag: '',
},
{
id: '617b382cf5479e16a0ca46a2f99a4e3e',
name: 'menuitem33',
text: '分页导航视图',
type: 'MENUITEM',
counterid: '',
tooltip: '分页导航视图',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'Auto213',
resourcetag: '',
},
{
id: 'c3d93b4bc9f24ffbeda3540cb4878b8c',
name: 'menuitem34',
text: '嵌入导航视图',
type: 'MENUITEM',
counterid: '',
tooltip: '嵌入导航视图',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'Auto126',
resourcetag: '',
},
{
id: 'C12171AD-42C7-4CA4-BF57-34B949E33EF2',
name: 'menuitem176',
text: '实体表格导航视图',
......
......@@ -1759,6 +1759,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "IBIZSample0003F1TreeExpView",
"viewtag": "ea604a66caf499c70c9002a917dd1694"
},
"ibizbookusr4listview": {
"title": "图书列表视图",
"caption": "图书",
"viewtype": "DELISTVIEW",
"viewmodule": "Sample",
"viewname": "IBIZBOOKUsr4ListView",
"viewtag": "ec074fd503f6c149b57e2d5b19815f1a"
},
"ibizsample0001gridview": {
"title": "IBIZSAMPLE0001表格视图",
"caption": "示例实体01",
......@@ -2071,9 +2079,6 @@ mock.onGet('./assets/json/view-message-group.json').reply((config: any) => {
"VMGroup40":[
{"tag":"ViewMsg39","position":"TOP","type":"ERROR"}
],
"VMGroup91":[
{"tag":"ViewMsg90","position":"TOP","type":"ERROR"}
],
"VMGroup70":[
{"tag":"ViewMsg69","position":"TOP","type":"ERROR"}
],
......@@ -2086,6 +2091,9 @@ mock.onGet('./assets/json/view-message-group.json').reply((config: any) => {
"VMGroup44":[
{"tag":"ViewMsg43","position":"TOP","type":"ERROR"}
],
"VMGroup91":[
{"tag":"ViewMsg90","position":"TOP","type":"ERROR"}
],
"VMGroup12":[
{"tag":"ViewMsg11","position":"TOP","type":"ERROR"}
],
......@@ -2119,9 +2127,6 @@ mock.onGet('./assets/json/view-message-group.json').reply((config: any) => {
"VMGroup62":[
{"tag":"ViewMsg61","position":"TOP","type":"ERROR"}
],
"VMGroup84":[
{"tag":"ViewMsg83","position":"TOP","type":"ERROR"}
],
"VMGroup49":[
{"tag":"ViewMsg47","position":"TOP","type":"ERROR"}
],
......@@ -2140,9 +2145,6 @@ mock.onGet('./assets/json/view-message-group.json').reply((config: any) => {
"VMGroup53":[
{"tag":"ViewMsg52","position":"TOP","type":"ERROR"}
],
"VMGroup83":[
{"tag":"ViewMsg82","position":"TOP","type":"ERROR"}
],
"VMGroup55":[
{"tag":"ViewMsg54","position":"TOP","type":"ERROR"}
],
......
......@@ -1163,7 +1163,7 @@ export default class IBIZOrderSF5GridViewBase extends Vue {
* @type {(number | 0 | 1 | 2)}
* @memberof IBIZOrderSF5GridViewBase
*/
public gridRowActiveMode: number | 0 | 1 | 2 = 2;
public gridRowActiveMode: number | 0 | 1 | 2 = 0;
/**
* 快速搜索
......
......@@ -26,13 +26,6 @@
</i-button>
<div slot='content'>{{$t('entities.ibizorder.sf6gridviewtoolbar_toolbar.tbitem1_buiaction1.tip')}}</div>
</tooltip>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.tbitem1_buiaction2.visabled" :disabled="toolBarModels.tbitem1_buiaction2.disabled" class='' v-loading:i-button @click="toolbar_click({ tag: 'tbitem1_buiaction2' }, $event)">
<i class=''></i>
<span class='caption'>{{$t('entities.ibizorder.sf6gridviewtoolbar_toolbar.tbitem1_buiaction2.caption')}}</span>
</i-button>
<div slot='content'>{{$t('entities.ibizorder.sf6gridviewtoolbar_toolbar.tbitem1_buiaction2.tip')}}</div>
</tooltip>
<dropdown v-show="toolBarModels.tbitem16.visabled" trigger='click'>
<tooltip :transfer="true" :max-width="600">
<i-button class=''>
......@@ -343,9 +336,7 @@ export default class IBIZOrderSF6GridViewBase extends Vue {
public toolBarModels: any = {
deuiaction1: { name: 'deuiaction1', actiontarget: 'NONE', caption: '新建', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'New', target: '' } },
tbitem1_buiaction1: { name: 'tbitem1_buiaction1', actiontarget: 'NONE', caption: '后台界面行为1', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'BUIAction1', target: 'SINGLEKEY' } },
tbitem1_buiaction2: { name: 'tbitem1_buiaction2', actiontarget: 'NONE', caption: '后台界面行为2', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'BUIAction2', target: 'MULTIKEY' } },
tbitem1_buiaction1: { name: 'tbitem1_buiaction1', actiontarget: 'NONE', caption: '后台界面行为(保存)', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'BUIAction1', target: 'SINGLEKEY' } },
tbitem16: { name: 'tbitem16', caption: '其它', disabled: false, type: 'ITEMS', visabled: true, dataaccaction: '', uiaction: { } },
tbitem21: { name: 'tbitem21', actiontarget: 'NONE', caption: '导出数据模型', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'ExportModel', target: '' } },
......@@ -710,9 +701,6 @@ export default class IBIZOrderSF6GridViewBase extends Vue {
if (Object.is($event.tag, 'tbitem1_buiaction1')) {
this.toolbar_tbitem1_buiaction1_click(null, '', $event2);
}
if (Object.is($event.tag, 'tbitem1_buiaction2')) {
this.toolbar_tbitem1_buiaction2_click(null, '', $event2);
}
if (Object.is($event.tag, 'tbitem21')) {
this.toolbar_tbitem21_click(null, '', $event2);
}
......@@ -876,35 +864,6 @@ export default class IBIZOrderSF6GridViewBase extends Vue {
curUIService.IBIZOrder_BUIAction1(datas,contextJO, paramJO, $event, xData,this,"IBIZOrder");
}
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public toolbar_tbitem1_buiaction2_click(params: any = {}, tag?: any, $event?: any) {
// 参数
// 取数
let datas: any[] = [];
let xData: any = null;
// _this 指向容器对象
const _this: any = this;
let paramJO:any = {};
let contextJO:any = {};
xData = this.$refs.grid;
if (xData.getDatas && xData.getDatas instanceof Function) {
datas = [...xData.getDatas()];
}
if(params){
datas = [params];
}
// 界面行为
const curUIService:IBIZOrderUIService = new IBIZOrderUIService();
curUIService.IBIZOrder_BUIAction2(datas,contextJO, paramJO, $event, xData,this,"IBIZOrder");
}
/**
* 逻辑事件
*
......@@ -1204,7 +1163,7 @@ export default class IBIZOrderSF6GridViewBase extends Vue {
* @type {(number | 0 | 1 | 2)}
* @memberof IBIZOrderSF6GridViewBase
*/
public gridRowActiveMode: number | 0 | 1 | 2 = 2;
public gridRowActiveMode: number | 0 | 1 | 2 = 0;
/**
* 快速搜索
......
......@@ -15,7 +15,6 @@ export const PageComponents = {
Vue.component('ibizsample0002-edit-view', () => import('@pages/sample/ibizsample0002-edit-view/ibizsample0002-edit-view.vue'));
Vue.component('ibizsample0021-wfdyna-exp-grid-view', () => import('@pages/sample/ibizsample0021-wfdyna-exp-grid-view/ibizsample0021-wfdyna-exp-grid-view.vue'));
Vue.component('ibizorder-bar-chart-view', () => import('@pages/sample/ibizorder-bar-chart-view/ibizorder-bar-chart-view.vue'));
Vue.component('ibizsample0003-stree-exp-view2', () => import('@pages/sample/ibizsample0003-stree-exp-view2/ibizsample0003-stree-exp-view2.vue'));
Vue.component('ibizorder-usr2-calendar-exp-view', () => import('@pages/sample/ibizorder-usr2-calendar-exp-view/ibizorder-usr2-calendar-exp-view.vue'));
Vue.component('ibizbookwizard-view', () => import('@pages/sample/ibizbookwizard-view/ibizbookwizard-view.vue'));
Vue.component('ibizbookusr2-grid-view', () => import('@pages/sample/ibizbookusr2-grid-view/ibizbookusr2-grid-view.vue'));
......@@ -113,7 +112,6 @@ export const PageComponents = {
Vue.component('ibizorder-wfstart-view', () => import('@pages/sample/ibizorder-wfstart-view/ibizorder-wfstart-view.vue'));
Vue.component('ibizsample0003-f4-tree-exp-view', () => import('@pages/sample/ibizsample0003-f4-tree-exp-view/ibizsample0003-f4-tree-exp-view.vue'));
Vue.component('ibizorder-f10-edit-view', () => import('@pages/sample/ibizorder-f10-edit-view/ibizorder-f10-edit-view.vue'));
Vue.component('ibizsample0003-stree-exp-view', () => import('@pages/sample/ibizsample0003-stree-exp-view/ibizsample0003-stree-exp-view.vue'));
Vue.component('ibizorder-dashboard-view', () => import('@pages/sample/ibizorder-dashboard-view/ibizorder-dashboard-view.vue'));
Vue.component('ibizorder-sedit-view4', () => import('@pages/sample/ibizorder-sedit-view4/ibizorder-sedit-view4.vue'));
Vue.component('ibizsoftware-suit-grid-view9', () => import('@pages/sample/ibizsoftware-suit-grid-view9/ibizsoftware-suit-grid-view9.vue'));
......
......@@ -305,20 +305,6 @@ const router = new Router({
},
component: () => import('@pages/sample/ibizorder-bar-chart-view/ibizorder-bar-chart-view.vue'),
},
{
path: 'ibizsample0003s/:ibizsample0003?/streeexpview2/:streeexpview2?',
meta: {
caption: 'entities.ibizsample0003.views.streeexpview2.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizsample0003s', parameterName: 'ibizsample0003' },
{ pathName: 'streeexpview2', parameterName: 'streeexpview2' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizsample0003-stree-exp-view2/ibizsample0003-stree-exp-view2.vue'),
},
{
path: 'ibizorders/:ibizorder?/usr2calendarexpview/:usr2calendarexpview?',
meta: {
......@@ -1811,20 +1797,6 @@ const router = new Router({
},
component: () => import('@pages/sample/ibizorder-f10-edit-view/ibizorder-f10-edit-view.vue'),
},
{
path: 'ibizsample0003s/:ibizsample0003?/streeexpview/:streeexpview?',
meta: {
caption: 'entities.ibizsample0003.views.streeexpview.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizsample0003s', parameterName: 'ibizsample0003' },
{ pathName: 'streeexpview', parameterName: 'streeexpview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizsample0003-stree-exp-view/ibizsample0003-stree-exp-view.vue'),
},
{
path: 'ibizorders/:ibizorder?/dashboardview/:dashboardview?',
meta: {
......@@ -3532,19 +3504,6 @@ const router = new Router({
},
component: () => import('@pages/sample/ibizcustomer-pickup-grid-view/ibizcustomer-pickup-grid-view.vue'),
},
{
path: '/ibizsample0003s/:ibizsample0003?/streeexpview/:streeexpview?',
meta: {
caption: 'entities.ibizsample0003.views.streeexpview.caption',
info:'',
parameters: [
{ pathName: 'ibizsample0003s', parameterName: 'ibizsample0003' },
{ pathName: 'streeexpview', parameterName: 'streeexpview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizsample0003-stree-exp-view/ibizsample0003-stree-exp-view.vue'),
},
{
path: '/ibizbooks/:ibizbook?/haspanellistview/:haspanellistview?',
meta: {
......@@ -3676,19 +3635,6 @@ const router = new Router({
},
component: () => import('@pages/sample/ibizbookvalue-rules-grid-view/ibizbookvalue-rules-grid-view.vue'),
},
{
path: '/ibizsample0003s/:ibizsample0003?/streeexpview2/:streeexpview2?',
meta: {
caption: 'entities.ibizsample0003.views.streeexpview2.caption',
info:'',
parameters: [
{ pathName: 'ibizsample0003s', parameterName: 'ibizsample0003' },
{ pathName: 'streeexpview2', parameterName: 'streeexpview2' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizsample0003-stree-exp-view2/ibizsample0003-stree-exp-view2.vue'),
},
{
path: '/ibizsoftwaresuits/:ibizsoftwaresuit?/editview/:editview?',
meta: {
......
......@@ -211,7 +211,6 @@ export const viewstate: any = {
'0c1093afa96df2832f707495afec541e',
'8d187ca2a3aa187ceac9dedb958fe2bb',
'7d37165f2f535b4a6d2116188fe83d18',
'53269c1ea73ad6fae5d2ac4eced7f9d1',
'92cca69539c77ba96bfc384fc570bfa7',
'a3e8c166f876e0dd8eb09be4f9f907ab',
'39e841c85d9bbfc7ecf009c4202dbf0c',
......@@ -249,8 +248,8 @@ export const viewstate: any = {
'd3321077dfab8bc6b92c649e5b69daf3',
'836bdb4063978b55fedd6a180d60c323',
'e54ae8e27a53b3425ac78a229a163bd5',
'369a14f21cbff0d0fe23831aecfca7ba',
'794fbfb192285c60dc9ce640270d79c0',
'369a14f21cbff0d0fe23831aecfca7ba',
'cceb88c50ae9567f3f0ee1d7164f1d6e',
'a894de140705ecab2f39797d2922a3ce',
'ea604a66caf499c70c9002a917dd1694',
......@@ -274,7 +273,6 @@ export const viewstate: any = {
'8d1205a914564cbd528cadc3963c2905',
'59c5d311d09a7f68f8b6962ca652374a',
'ad37d44e57c18e4431a609968203c646',
'464b1dbf722c8dcaaa7f2cc90b8d0d8d',
'7f65e6161c444d29e1f53f1cb76e92de',
'756fecec409c3a955f0cd737259d27c7',
'490f607f17e7cc8ceccc77f2d0b9a70d',
......@@ -617,16 +615,6 @@ export const viewstate: any = {
refviews: [
],
},
{
viewtag: '464b1dbf722c8dcaaa7f2cc90b8d0d8d',
viewmodule: 'Sample',
viewname: 'IBIZSample0003STreeExpView',
viewaction: '',
viewdatachange: false,
refviews: [
'692ede21641dfdb7075ede69d7c4ad33',
],
},
{
viewtag: '490f607f17e7cc8ceccc77f2d0b9a70d',
viewmodule: 'Sample',
......@@ -713,16 +701,6 @@ export const viewstate: any = {
'b3429ecc4d89a02bc5f5279f1bd7f620',
],
},
{
viewtag: '53269c1ea73ad6fae5d2ac4eced7f9d1',
viewmodule: 'Sample',
viewname: 'IBIZSample0003STreeExpView2',
viewaction: '',
viewdatachange: false,
refviews: [
'692ede21641dfdb7075ede69d7c4ad33',
],
},
{
viewtag: '54c2461e07dd79fdbecc2c1e3aec8096',
viewmodule: 'Sample',
......
......@@ -146,6 +146,7 @@ export default class IBIZBOOKUIServiceBase extends UIService {
this.allViewMap.set(':',{viewname:'gridexpview',srfappde:'ibizbooks',component:'ibizbookgrid-exp-view'});
this.allViewMap.set(':',{viewname:'ganttview',srfappde:'ibizbooks',component:'ibizbookgantt-view'});
this.allViewMap.set(':',{viewname:'usr2dataview',srfappde:'ibizbooks',component:'ibizbookusr2-data-view'});
this.allViewMap.set(':',{viewname:'usr4listview',srfappde:'ibizbooks',component:'ibizbookusr4-list-view'});
this.allViewMap.set(':',{viewname:'groupbycodelistlistview',srfappde:'ibizbooks',component:'ibizbookgroup-by-codelist-list-view'});
this.allViewMap.set(':',{viewname:'optionview',srfappde:'ibizbooks',component:'ibizbookoption-view'});
this.allViewMap.set(':',{viewname:'calendarview',srfappde:'ibizbooks',component:'ibizbookcalendar-view'});
......
......@@ -182,7 +182,7 @@ export default class IBIZOrderUIServiceBase extends UIService {
}
/**
* 后台界面行为1
* 后台界面行为(保存)
*
* @param {any[]} args 当前数据
* @param {any} context 行为附加上下文
......@@ -198,6 +198,8 @@ export default class IBIZOrderUIServiceBase extends UIService {
let parentContext:any = {};
let parentViewParam:any = {};
const _this: any = actionContext;
Object.assign(context,{CONTEXTPARAM1:"%ibizorderid%"});
Object.assign(params,{param2:"%ibizorderid%"});
const _args: any[] = Util.deepCopy(args);
const actionTarget: string | null = 'SINGLEKEY';
Object.assign(context, { ibizorder: '%ibizorder%' });
......@@ -222,12 +224,12 @@ export default class IBIZOrderUIServiceBase extends UIService {
}
const backend = () => {
const curService:IBIZOrderService = new IBIZOrderService();
curService.Remove(context,data, true).then((response: any) => {
curService.Save(context,data, true).then((response: any) => {
if (!response || response.status !== 200) {
actionContext.$Notice.error({ title: '错误', desc: response.message });
return;
}
actionContext.$Notice.success({ title: '成功', desc: '后台界面行为1成功!' });
actionContext.$Notice.success({ title: '成功', desc: '后台界面行为(保存)执行成功' });
const _this: any = actionContext;
return response;
}).catch((response: any) => {
......@@ -427,84 +429,6 @@ export default class IBIZOrderUIServiceBase extends UIService {
openPopupApp(url);
}
/**
* 后台界面行为2
*
* @param {any[]} args 当前数据
* @param {any} context 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @param {*} [srfParentDeName] 父实体名称
* @returns {Promise<any>}
*/
public async IBIZOrder_BUIAction2(args: any[],context:any = {}, params:any = {}, $event?: any, xData?: any,actionContext?: any,srfParentDeName?:string){
let confirmResult:boolean = await new Promise((resolve: any, reject: any) => {
actionContext.$Modal.confirm({
title: '警告',
content: '是否确认需要删除选取数据?',
onOk: () => {resolve(true);},
onCancel: () => {resolve(false);}
});
});
if(!confirmResult){
return;
}
let data: any = {};
let parentContext:any = {};
let parentViewParam:any = {};
const _this: any = actionContext;
const _args: any[] = Util.deepCopy(args);
const actionTarget: string | null = 'MULTIKEY';
Object.assign(context, { ibizorder: '%ibizorder%' });
Object.assign(params, { ibizorderid: '%ibizorder%' });
Object.assign(params, { ibizordername: '%ibizordername%' });
if(_this.context){
parentContext = _this.context;
}
if(_this.viewparams){
parentViewParam = _this.viewparams;
}
context = UIActionTool.handleContextParam(actionTarget,_args,parentContext,parentViewParam,context);
data = UIActionTool.handleActionParam(actionTarget,_args,parentContext,parentViewParam,params);
context = Object.assign({},actionContext.context,context);
let parentObj:any = {srfparentdename:srfParentDeName?srfParentDeName:null,srfparentkey:srfParentDeName?context[srfParentDeName.toLowerCase()]:null};
Object.assign(data,parentObj);
Object.assign(context,parentObj);
// 直接调实体服务需要转换的数据
if(context && context.srfsessionid){
context.srfsessionkey = context.srfsessionid;
delete context.srfsessionid;
}
const backend = () => {
const curService:IBIZOrderService = new IBIZOrderService();
curService.Remove(context,data, true).then((response: any) => {
if (!response || response.status !== 200) {
actionContext.$Notice.error({ title: '错误', desc: response.message });
return;
}
actionContext.$Notice.success({ title: '成功', desc: '成功删除选取数据!' });
const _this: any = actionContext;
if (xData && xData.refresh && xData.refresh instanceof Function) {
xData.refresh(args);
}
return response;
}).catch((response: any) => {
if (response && response.status && response.data) {
actionContext.$Notice.error({ title: (actionContext.$t('app.commonWords.wrong') as string), desc: response.data.message });
return;
}
if (!response || !response.status || !response.data) {
actionContext.$Notice.error({ title: (actionContext.$t('app.commonWords.wrong') as string), desc: (actionContext.$t('app.commonWords.sysException') as string) });
return;
}
return response;
});
};
backend();
}
/**
* 编辑
*
......
......@@ -620,9 +620,6 @@ export default class MainMenuBase extends Vue implements ControlInterface {
case 'Auto96':
this.clickAuto96(item);
return;
case 'Auto126':
this.clickAuto126(item);
return;
case 'AppFunc7':
this.clickAppFunc7(item);
return;
......@@ -797,9 +794,6 @@ export default class MainMenuBase extends Vue implements ControlInterface {
case 'Auto320':
this.clickAuto320(item);
return;
case 'Auto415':
this.clickAuto415(item);
return;
case 'Auto155':
this.clickAuto155(item);
return;
......@@ -1154,29 +1148,6 @@ export default class MainMenuBase extends Vue implements ControlInterface {
})
}
/**
* 嵌入导航
*
* @param {*} [item={}]
* @memberof MainMenu
*/
public clickAuto126(item: any = {}) {
const viewparam: any = {};
Object.assign(viewparam, {});
const deResParameters: any[] = [];
const parameters: any[] = [
{ pathName: 'ibizsample0003s', parameterName: 'ibizsample0003' },
{ pathName: 'streeexpview2', parameterName: 'streeexpview2' },
];
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);
})
}
/**
* 功能名称
*
......@@ -2511,29 +2482,6 @@ export default class MainMenuBase extends Vue implements ControlInterface {
})
}
/**
* 常规导航
*
* @param {*} [item={}]
* @memberof MainMenu
*/
public clickAuto415(item: any = {}) {
const viewparam: any = {};
Object.assign(viewparam, {});
const deResParameters: any[] = [];
const parameters: any[] = [
{ pathName: 'ibizsample0003s', parameterName: 'ibizsample0003' },
{ pathName: 'streeexpview', parameterName: 'streeexpview' },
];
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);
})
}
/**
* 动态显示
*
......
......@@ -1968,6 +1968,25 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem140',
items: [
{
id: '18F8A496-2AD7-43E4-84E2-06584AA785C6',
name: 'menuitem161',
text: '实体向导视图',
type: 'MENUITEM',
counterid: '',
tooltip: '实体向导视图',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'AppFunc49',
resourcetag: '',
authtag:'Web-MainMenu-menuitem161',
},
{
id: '1b7de396a2f178bf7cf1d0b4cb4508e3',
name: 'menuitem8',
text: '编辑视图',
......@@ -2063,25 +2082,6 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem25',
},
],
},
{
id: '18F8A496-2AD7-43E4-84E2-06584AA785C6',
name: 'menuitem161',
text: '实体向导视图',
type: 'MENUITEM',
counterid: '',
tooltip: '实体向导视图',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'AppFunc49',
resourcetag: '',
authtag:'Web-MainMenu-menuitem161',
},
{
id: '67ACEFA6-9294-4442-B32E-0A7C852B1DF8',
......@@ -2219,25 +2219,6 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem141',
items: [
{
id: '31ab55d50e3f2565d91641638235d461',
name: 'menuitem9',
text: '列表视图',
type: 'MENUITEM',
counterid: '',
tooltip: '列表视图',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: '',
resourcetag: '',
authtag:'Web-MainMenu-menuitem9',
},
{
id: '4D101B76-6E2A-4D05-9699-CA5687313802',
name: 'menuitem79',
text: '表格视图',
......@@ -2293,6 +2274,25 @@ export default class MainMenuModel {
appfunctag: 'AppFunc74',
resourcetag: '',
authtag:'Web-MainMenu-menuitem169',
},
{
id: '31ab55d50e3f2565d91641638235d461',
name: 'menuitem9',
text: '列表视图',
type: 'MENUITEM',
counterid: '',
tooltip: '列表视图',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: '',
resourcetag: '',
authtag:'Web-MainMenu-menuitem9',
},
{
id: '48164149-E0F2-4ABB-A2D5-69BF15388F27',
......@@ -2430,63 +2430,6 @@ export default class MainMenuModel {
authtag:'Web-MainMenu-menuitem10',
items: [
{
id: '98cbd1384afa807b92b43e80ed009a25',
name: 'menuitem32',
text: '常规导航视图',
type: 'MENUITEM',
counterid: '',
tooltip: '常规导航视图',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'Auto415',
resourcetag: '',
authtag:'Web-MainMenu-menuitem32',
},
{
id: '617b382cf5479e16a0ca46a2f99a4e3e',
name: 'menuitem33',
text: '分页导航视图',
type: 'MENUITEM',
counterid: '',
tooltip: '分页导航视图',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'Auto213',
resourcetag: '',
authtag:'Web-MainMenu-menuitem33',
},
{
id: 'c3d93b4bc9f24ffbeda3540cb4878b8c',
name: 'menuitem34',
text: '嵌入导航视图',
type: 'MENUITEM',
counterid: '',
tooltip: '嵌入导航视图',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'Auto126',
resourcetag: '',
authtag:'Web-MainMenu-menuitem34',
},
{
id: 'C12171AD-42C7-4CA4-BF57-34B949E33EF2',
name: 'menuitem176',
text: '实体表格导航视图',
......@@ -3499,18 +3442,6 @@ export default class MainMenuModel {
{ pathName: 'f3treeexpview', parameterName: 'f3treeexpview' },
],
},
{
appfunctag: 'Auto126',
appfuncyype: 'APPVIEW',
openmode: '',
codename: 'ibizsample0003streeexpview2',
deResParameters: [],
routepath: '/index/:index?/ibizsample0003s/:ibizsample0003?/streeexpview2/:streeexpview2?',
parameters: [
{ pathName: 'ibizsample0003s', parameterName: 'ibizsample0003' },
{ pathName: 'streeexpview2', parameterName: 'streeexpview2' },
],
},
{
appfunctag: 'AppFunc7',
appfuncyype: 'APPVIEW',
......@@ -4207,18 +4138,6 @@ export default class MainMenuModel {
{ pathName: 'piechartview', parameterName: 'piechartview' },
],
},
{
appfunctag: 'Auto415',
appfuncyype: 'APPVIEW',
openmode: '',
codename: 'ibizsample0003streeexpview',
deResParameters: [],
routepath: '/index/:index?/ibizsample0003s/:ibizsample0003?/streeexpview/:streeexpview?',
parameters: [
{ pathName: 'ibizsample0003s', parameterName: 'ibizsample0003' },
{ pathName: 'streeexpview', parameterName: 'streeexpview' },
],
},
{
appfunctag: 'Auto155',
appfuncyype: 'APPVIEW',
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册