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

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

上级 423f53d2
......@@ -1319,6 +1319,14 @@
"viewname": "IBIZSoftwareSuitEditView",
"viewtag": "88ca61cdf39cd0f97cf3863e9a6974b3"
},
"ibizcustomerusr3editview": {
"title": "客户编辑视图",
"caption": "按钮测试编辑视图",
"viewtype": "DEEDITVIEW",
"viewmodule": "Sample",
"viewname": "IBIZCustomerUsr3EditView",
"viewtag": "89f50fe0180852e47ffbb486cdfaf305"
},
"ibizordercalendarexpview_layout": {
"title": "实体日历导航视图",
"caption": "实体日历导航视图",
......
......@@ -413,6 +413,7 @@ function getAppLocale(){
menuitem227: commonLogic.appcommonhandle("其他视图",null),
menuitem230: commonLogic.appcommonhandle("自定义视图",null),
menuitem201: commonLogic.appcommonhandle("测试界面逻辑",null),
menuitem212: commonLogic.appcommonhandle("按钮测试",null),
},
},
formpage:{
......
......@@ -413,6 +413,7 @@ function getAppLocale(){
menuitem227: commonLogic.appcommonhandle("其他视图",null),
menuitem230: commonLogic.appcommonhandle("自定义视图",null),
menuitem201: commonLogic.appcommonhandle("测试界面逻辑",null),
menuitem212: commonLogic.appcommonhandle("按钮测试",null),
},
},
formpage:{
......
......@@ -413,6 +413,7 @@ function getAppLocale(){
menuitem227: commonLogic.appcommonhandle("其他视图",null),
menuitem230: commonLogic.appcommonhandle("自定义视图",null),
menuitem201: commonLogic.appcommonhandle("测试界面逻辑",null),
menuitem212: commonLogic.appcommonhandle("按钮测试",null),
},
},
formpage:{
......
......@@ -58,6 +58,10 @@ function getLocaleResourceBase(){
caption: commonLogic.appcommonhandle("客户",null),
title: commonLogic.appcommonhandle("客户实体数据多项选择视图(树视图)",null),
},
usr3editview: {
caption: commonLogic.appcommonhandle("按钮测试编辑视图",null),
title: commonLogic.appcommonhandle("客户编辑视图",null),
},
pickupview_layout: {
caption: commonLogic.appcommonhandle("客户",null),
title: commonLogic.appcommonhandle("客户数据选择视图",null),
......@@ -241,6 +245,20 @@ function getLocaleResourceBase(){
tip: commonLogic.appcommonhandle("保存并关闭",null),
},
},
usr3editviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("新建",null),
tip: commonLogic.appcommonhandle("新建",null),
},
tbitem3: {
caption: commonLogic.appcommonhandle("保存",null),
tip: commonLogic.appcommonhandle("保存",null),
},
tbitem5: {
caption: commonLogic.appcommonhandle("保存并关闭",null),
tip: commonLogic.appcommonhandle("保存并关闭",null),
},
},
usr_treeview: {
nodata:commonLogic.appcommonhandle("",null),
nodes: {
......
......@@ -58,6 +58,10 @@ function getLocaleResourceBase(){
caption: commonLogic.appcommonhandle("客户",null),
title: commonLogic.appcommonhandle("客户实体数据多项选择视图(树视图)",null),
},
usr3editview: {
caption: commonLogic.appcommonhandle("按钮测试编辑视图",null),
title: commonLogic.appcommonhandle("客户编辑视图",null),
},
pickupview_layout: {
caption: commonLogic.appcommonhandle("客户",null),
title: commonLogic.appcommonhandle("客户数据选择视图",null),
......@@ -241,6 +245,20 @@ function getLocaleResourceBase(){
tip: commonLogic.appcommonhandle("Save And Close Window",null),
},
},
usr3editviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("New",null),
tip: commonLogic.appcommonhandle("New",null),
},
tbitem3: {
caption: commonLogic.appcommonhandle("Save",null),
tip: commonLogic.appcommonhandle("Save",null),
},
tbitem5: {
caption: commonLogic.appcommonhandle("Save And Close",null),
tip: commonLogic.appcommonhandle("Save And Close Window",null),
},
},
usr_treeview: {
nodata:commonLogic.appcommonhandle("",null),
nodes: {
......
......@@ -58,6 +58,10 @@ function getLocaleResourceBase(){
caption: commonLogic.appcommonhandle("客户",null),
title: commonLogic.appcommonhandle("客户实体数据多项选择视图(树视图)",null),
},
usr3editview: {
caption: commonLogic.appcommonhandle("按钮测试编辑视图",null),
title: commonLogic.appcommonhandle("客户编辑视图",null),
},
pickupview_layout: {
caption: commonLogic.appcommonhandle("客户",null),
title: commonLogic.appcommonhandle("客户数据选择视图",null),
......@@ -241,6 +245,20 @@ function getLocaleResourceBase(){
tip: commonLogic.appcommonhandle("保存并关闭",null),
},
},
usr3editviewtoolbar_toolbar: {
deuiaction1: {
caption: commonLogic.appcommonhandle("新建",null),
tip: commonLogic.appcommonhandle("新建",null),
},
tbitem3: {
caption: commonLogic.appcommonhandle("保存",null),
tip: commonLogic.appcommonhandle("保存",null),
},
tbitem5: {
caption: commonLogic.appcommonhandle("保存并关闭",null),
tip: commonLogic.appcommonhandle("保存并关闭",null),
},
},
usr_treeview: {
nodata:commonLogic.appcommonhandle("",null),
nodes: {
......
......@@ -3759,6 +3759,24 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
textcls: '',
appfunctag: 'UsrAppFunc1108357066',
resourcetag: '',
},
{
id: '5BE483A5-EC51-4813-A577-DCDC2ED3DADC',
name: 'menuitem212',
text: '按钮测试',
type: 'MENUITEM',
counterid: '',
tooltip: '按钮测试',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'AppFunc126',
resourcetag: '',
},
],
},
......
......@@ -1327,6 +1327,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "IBIZSoftwareSuitEditView",
"viewtag": "88ca61cdf39cd0f97cf3863e9a6974b3"
},
"ibizcustomerusr3editview": {
"title": "客户编辑视图",
"caption": "按钮测试编辑视图",
"viewtype": "DEEDITVIEW",
"viewmodule": "Sample",
"viewname": "IBIZCustomerUsr3EditView",
"viewtag": "89f50fe0180852e47ffbb486cdfaf305"
},
"ibizordercalendarexpview_layout": {
"title": "实体日历导航视图",
"caption": "实体日历导航视图",
......
.view-card {
>.ivu-card-extra {
top: 5px;
right: 0px;
}
}
.ibizcustomer-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
.deepskyblueToolBar {color:white !important;background-color:#108cee !important;}
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import IBIZCustomerUsr3EditViewBase from './ibizcustomer-usr3-edit-view-base.vue';
import view_form from '@widgets/ibizcustomer/add-data-form-form/add-data-form-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 IBIZCustomerUsr3EditView extends IBIZCustomerUsr3EditViewBase {
}
</script>
\ No newline at end of file
......@@ -141,6 +141,7 @@ export const PageComponents = {
Vue.component('ibizsample0021-wfdyna-action-view-layout', () => import('@pages/sample/ibizsample0021-wfdyna-action-view-layout/ibizsample0021-wfdyna-action-view-layout.vue'));
Vue.component('ibizbookcustom-view-layout', () => import('@pages/sample/ibizbookcustom-view-layout/ibizbookcustom-view-layout.vue'));
Vue.component('ibizbooktest-logic-custom-view', () => import('@pages/sample/ibizbooktest-logic-custom-view/ibizbooktest-logic-custom-view.vue'));
Vue.component('ibizcustomer-usr3-edit-view', () => import('@pages/sample/ibizcustomer-usr3-edit-view/ibizcustomer-usr3-edit-view.vue'));
Vue.component('ibizappviewgrid-view', () => import('@pages/sample/ibizappviewgrid-view/ibizappviewgrid-view.vue'));
Vue.component('ibizappviewlist-view', () => import('@pages/sample/ibizappviewlist-view/ibizappviewlist-view.vue'));
Vue.component('ibizappctrlgrid-view', () => import('@pages/sample/ibizappctrlgrid-view/ibizappctrlgrid-view.vue'));
......
......@@ -2140,6 +2140,20 @@ const router = new Router({
},
component: () => import('@pages/sample/ibizbooktest-logic-custom-view/ibizbooktest-logic-custom-view.vue'),
},
{
path: 'ibizcustomers/:ibizcustomer?/usr3editview/:usr3editview?',
meta: {
caption: 'entities.ibizcustomer.views.usr3editview.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizcustomers', parameterName: 'ibizcustomer' },
{ pathName: 'usr3editview', parameterName: 'usr3editview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizcustomer-usr3-edit-view/ibizcustomer-usr3-edit-view.vue'),
},
{
path: 'ibizappviews/:ibizappview?/gridview/:gridview?',
meta: {
......@@ -5017,6 +5031,19 @@ const router = new Router({
},
component: () => import('@pages/sample/ibizsoftware-suit-edit-view/ibizsoftware-suit-edit-view.vue'),
},
{
path: '/ibizcustomers/:ibizcustomer?/usr3editview/:usr3editview?',
meta: {
caption: 'entities.ibizcustomer.views.usr3editview.caption',
info:'',
parameters: [
{ pathName: 'ibizcustomers', parameterName: 'ibizcustomer' },
{ pathName: 'usr3editview', parameterName: 'usr3editview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizcustomer-usr3-edit-view/ibizcustomer-usr3-edit-view.vue'),
},
{
path: '/ibizorders/:ibizorder?/calendarexpview_layout/:calendarexpview_layout?',
meta: {
......
......@@ -1713,6 +1713,19 @@ const router = new Router({
},
component: () => import('@pages/sample/ibizsoftware-suit-edit-view/ibizsoftware-suit-edit-view.vue'),
},
{
path: '/ibizcustomers/:ibizcustomer?/usr3editview/:usr3editview?',
meta: {
caption: 'entities.ibizcustomer.views.usr3editview.caption',
info:'',
parameters: [
{ pathName: 'ibizcustomers', parameterName: 'ibizcustomer' },
{ pathName: 'usr3editview', parameterName: 'usr3editview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizcustomer-usr3-edit-view/ibizcustomer-usr3-edit-view.vue'),
},
{
path: '/ibizorders/:ibizorder?/calendarexpview_layout/:calendarexpview_layout?',
meta: {
......
......@@ -954,6 +954,7 @@ export const viewstate: any = {
'a6d2ee3618dcfb23c3db981c9dbc4340',
'fa2731c1873f3c86aa065e73cff4667b',
'E74D4E6C-CFF5-4CBA-8195-FD943B3B910F',
'89f50fe0180852e47ffbb486cdfaf305',
],
},
{
......@@ -1400,6 +1401,15 @@ export const viewstate: any = {
refviews: [
],
},
{
viewtag: '89f50fe0180852e47ffbb486cdfaf305',
viewmodule: 'Sample',
viewname: 'IBIZCustomerUsr3EditView',
viewaction: '',
viewdatachange: false,
refviews: [
],
},
{
viewtag: '8a29ee094e2f26c928d26ef24d29401f',
viewmodule: 'Sample',
......
......@@ -107,6 +107,7 @@ export default class IBIZCustomerUIServiceBase extends UIService {
this.allViewMap.set(':',{viewname:'pickuptreeview',srfappde:'ibizcustomers',component:'ibizcustomer-pickup-tree-view'});
this.allViewMap.set(':',{viewname:'mediatesteditview',srfappde:'ibizcustomers',component:'ibizcustomer-media-test-edit-view'});
this.allViewMap.set(':',{viewname:'usr2mpickupview_layout',srfappde:'ibizcustomers',component:'ibizcustomer-usr2-mpickup-view-layout'});
this.allViewMap.set(':',{viewname:'usr3editview',srfappde:'ibizcustomers',component:'ibizcustomer-usr3-edit-view'});
this.allViewMap.set(':',{viewname:'pickupview_layout',srfappde:'ibizcustomers',component:'ibizcustomer-pickup-view-layout'});
this.allViewMap.set('MPICKUPVIEW:',{viewname:'mpickupview',srfappde:'ibizcustomers',component:'ibizcustomer-mpickup-view'});
this.allViewMap.set(':',{viewname:'usr2pickupview_layout',srfappde:'ibizcustomers',component:'ibizcustomer-usr2-pickup-view-layout'});
......
......@@ -1035,6 +1035,9 @@ export default class MainMenuBase extends Vue implements ControlInterface {
case 'UsrAppFunc1108357066':
this.clickUsrAppFunc1108357066(item);
return;
case 'AppFunc126':
this.clickAppFunc126(item);
return;
default:
console.warn('未指定应用功能');
}
......@@ -4328,6 +4331,29 @@ export default class MainMenuBase extends Vue implements ControlInterface {
this.$router.push(path);
})
}
/**
* 按钮测试
*
* @param {*} [item={}]
* @memberof MainMenu
*/
public clickAppFunc126(item: any = {}) {
const viewparam: any = {};
Object.assign(viewparam, {});
const deResParameters: any[] = [];
const parameters: any[] = [
{ pathName: 'ibizcustomers', parameterName: 'ibizcustomer' },
{ pathName: 'usr3editview', parameterName: 'usr3editview' },
];
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);
})
}
/**
* 数据加载
......
......@@ -3967,6 +3967,25 @@ export default class MainMenuModel {
appfunctag: 'UsrAppFunc1108357066',
resourcetag: '',
authtag:'Web-MainMenu-menuitem201',
},
{
id: '5BE483A5-EC51-4813-A577-DCDC2ED3DADC',
name: 'menuitem212',
text: '按钮测试',
type: 'MENUITEM',
counterid: '',
tooltip: '按钮测试',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'AppFunc126',
resourcetag: '',
authtag:'Web-MainMenu-menuitem212',
},
],
},
......@@ -5689,6 +5708,18 @@ export default class MainMenuModel {
{ pathName: 'testlogiccustomview', parameterName: 'testlogiccustomview' },
],
},
{
appfunctag: 'AppFunc126',
appfuncyype: 'APPVIEW',
openmode: '',
codename: 'ibizcustomerusr3editview',
deResParameters: [],
routepath: '/index/:index?/ibizcustomers/:ibizcustomer?/usr3editview/:usr3editview?',
parameters: [
{ pathName: 'ibizcustomers', parameterName: 'ibizcustomer' },
{ pathName: 'usr3editview', parameterName: 'usr3editview' },
],
},
];
/**
......
......@@ -671,7 +671,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public load(opt: any = {}): void {
if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCustomView_layout' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr3GridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -707,7 +707,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public loadDraft(opt: any = {},mode?:string): void {
if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCustomView_layout' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr3GridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return;
}
const arg: any = { ...opt } ;
......
......@@ -1308,7 +1308,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
*/
public load(opt: any = {}): void {
if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.loadaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loadaction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -1343,7 +1343,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
*/
public loadDraft(opt: any = {}): void {
if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
return;
}
const arg: any = { ...opt } ;
......@@ -1404,7 +1404,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.actionname') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) });
return;
}
Object.assign(arg,{viewparams:this.viewparams});
......@@ -1512,7 +1512,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.actionname') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) });
return;
}
Object.assign(arg,{viewparams:this.viewparams});
......@@ -1586,7 +1586,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> {
return new Promise((resolve: any, reject: any) => {
if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.removeaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.removeaction') as string) });
return;
}
const arg: any = opt[0];
......
......@@ -1274,7 +1274,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
*/
public load(opt: any = {}): void {
if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.loadaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loadaction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -1309,7 +1309,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
*/
public loadDraft(opt: any = {}): void {
if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
return;
}
const arg: any = { ...opt } ;
......@@ -1370,7 +1370,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.actionname') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) });
return;
}
Object.assign(arg,{viewparams:this.viewparams});
......@@ -1478,7 +1478,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.actionname') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) });
return;
}
Object.assign(arg,{viewparams:this.viewparams});
......@@ -1552,7 +1552,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> {
return new Promise((resolve: any, reject: any) => {
if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.removeaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.removeaction') as string) });
return;
}
const arg: any = opt[0];
......
......@@ -1377,7 +1377,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
*/
public load(opt: any = {}): void {
if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.loadaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loadaction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -1412,7 +1412,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
*/
public loadDraft(opt: any = {}): void {
if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
return;
}
const arg: any = { ...opt } ;
......@@ -1473,7 +1473,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.actionname') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) });
return;
}
Object.assign(arg,{viewparams:this.viewparams});
......@@ -1581,7 +1581,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.actionname') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) });
return;
}
Object.assign(arg,{viewparams:this.viewparams});
......@@ -1655,7 +1655,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> {
return new Promise((resolve: any, reject: any) => {
if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.removeaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.removeaction') as string) });
return;
}
const arg: any = opt[0];
......
......@@ -1274,7 +1274,7 @@ export default class AddDataFormBase extends Vue implements ControlInterface {
*/
public load(opt: any = {}): void {
if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZCustomerMediaTestEditView' + (this.$t('app.formpage.notconfig.loadaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZCustomerUsr3EditView' + (this.$t('app.formpage.notconfig.loadaction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -1309,7 +1309,7 @@ export default class AddDataFormBase extends Vue implements ControlInterface {
*/
public loadDraft(opt: any = {}): void {
if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZCustomerMediaTestEditView' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZCustomerUsr3EditView' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
return;
}
const arg: any = { ...opt } ;
......@@ -1370,7 +1370,7 @@ export default class AddDataFormBase extends Vue implements ControlInterface {
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZCustomerMediaTestEditView' + (this.$t('app.formpage.notconfig.actionname') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZCustomerUsr3EditView' + (this.$t('app.formpage.notconfig.actionname') as string) });
return;
}
Object.assign(arg,{viewparams:this.viewparams});
......@@ -1478,7 +1478,7 @@ export default class AddDataFormBase extends Vue implements ControlInterface {
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZCustomerMediaTestEditView' + (this.$t('app.formpage.notconfig.actionname') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZCustomerUsr3EditView' + (this.$t('app.formpage.notconfig.actionname') as string) });
return;
}
Object.assign(arg,{viewparams:this.viewparams});
......@@ -1555,7 +1555,7 @@ export default class AddDataFormBase extends Vue implements ControlInterface {
public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> {
return new Promise((resolve: any, reject: any) => {
if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZCustomerMediaTestEditView' + (this.$t('app.formpage.notconfig.removeaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZCustomerUsr3EditView' + (this.$t('app.formpage.notconfig.removeaction') as string) });
return;
}
const arg: any = opt[0];
......
......@@ -1272,6 +1272,12 @@
"name" : "客户实体数据多项选择视图(树视图)",
"realModelSubType" : "DEMPICKUPVIEW",
"realModelType" : "PSDEVIEWBASE"
}, {
"codeName" : "Usr3EditView",
"logicName" : "按钮测试编辑视图",
"name" : "按钮测试编辑视图",
"realModelSubType" : "DEEDITVIEW",
"realModelType" : "PSDEVIEWBASE"
}, {
"codeName" : "MPickupView_layout",
"logicName" : "客户实体数据多项选择视图(布局面板)",
......
......@@ -4356,6 +4356,24 @@
"layout" : "TABLE_24COL"
},
"tooltip" : "测试界面逻辑"
}, {
"accUserMode" : 2,
"caption" : "按钮测试",
"itemType" : "MENUITEM",
"name" : "menuitem212",
"getPSAppFunc" : {
"modelref" : true,
"id" : "AppFunc126"
},
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"tooltip" : "按钮测试"
} ],
"getPSLayout" : {
"columnCount" : 24,
......
......@@ -2426,6 +2426,16 @@
"id" : "UsrAppFunc1108357066"
},
"tooltip" : "测试界面逻辑"
}, {
"accUserMode" : 2,
"caption" : "按钮测试",
"itemType" : "MENUITEM",
"name" : "menuitem212",
"getPSAppFunc" : {
"modelref" : true,
"id" : "AppFunc126"
},
"tooltip" : "按钮测试"
} ],
"tooltip" : "视图布局面板测试"
} ],
......
......@@ -2097,6 +2097,16 @@
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZOrderBarChartView.json",
"viewType" : "DECHARTVIEW"
}
}, {
"appFuncType" : "APPVIEW",
"codeName" : "AppFunc126",
"name" : "按钮测试",
"openMode" : "INDEXVIEWTAB",
"getPSAppView" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZCustomerUsr3EditView.json",
"viewType" : "DEEDITVIEW"
}
}, {
"appFuncType" : "APPVIEW",
"codeName" : "AppFunc115",
......@@ -14156,6 +14166,12 @@
"viewType" : "DEEDITVIEW",
"resource" : "IBIZSoftwareSuit",
"view" : "EditView"
}, {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZCustomerUsr3EditView.json",
"viewType" : "DEEDITVIEW",
"resource" : "IBIZCustomer",
"view" : "Usr3EditView"
}, {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZOrderCalendarExpView_layout.json",
......@@ -19398,6 +19414,24 @@
"layout" : "TABLE_24COL"
},
"tooltip" : "测试界面逻辑"
}, {
"accUserMode" : 2,
"caption" : "按钮测试",
"itemType" : "MENUITEM",
"name" : "menuitem212",
"getPSAppFunc" : {
"modelref" : true,
"id" : "AppFunc126"
},
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"tooltip" : "按钮测试"
} ],
"getPSLayout" : {
"columnCount" : 24,
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册