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

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

上级 68c77ecc
......@@ -64,6 +64,8 @@ export default {
uiactions: {
},
},
usr2editviewtoolbar_toolbar: {
},
editviewtoolbar_toolbar: {
tbitem3: {
caption: "Save",
......@@ -74,6 +76,4 @@ export default {
tip: "Save And Close Window",
},
},
usr2editviewtoolbar_toolbar: {
},
};
\ No newline at end of file
......@@ -63,6 +63,8 @@ export default {
uiactions: {
},
},
usr2editviewtoolbar_toolbar: {
},
editviewtoolbar_toolbar: {
tbitem3: {
caption: "保存",
......@@ -73,6 +75,4 @@ export default {
tip: "保存并关闭",
},
},
usr2editviewtoolbar_toolbar: {
},
};
\ No newline at end of file
.view-card {
>.ivu-card-extra {
top: 5px;
right: 0px;
}
}
.ibizorder-type-usr2-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 IBIZOrderTypeUsr2EditViewBase from './ibizorder-type-usr2-edit-view-base.vue';
import view_form from '@widgets/ibizorder-type/main-form/main-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 IBIZOrderTypeUsr2EditView extends IBIZOrderTypeUsr2EditViewBase {
}
</script>
\ No newline at end of file
......@@ -104,6 +104,7 @@ export const PageComponents = {
Vue.component('ibizsample0017-form-pickup-view', () => import('@pages/sample/ibizsample0017-form-pickup-view/ibizsample0017-form-pickup-view.vue'));
Vue.component('ibizsample0002-grid-view', () => import('@pages/sample/ibizsample0002-grid-view/ibizsample0002-grid-view.vue'));
Vue.component('ibizbookinter-func-kan-ban-view', () => import('@pages/sample/ibizbookinter-func-kan-ban-view/ibizbookinter-func-kan-ban-view.vue'));
Vue.component('ibizorder-type-usr2-edit-view', () => import('@pages/sample/ibizorder-type-usr2-edit-view/ibizorder-type-usr2-edit-view.vue'));
Vue.component('ibizbookrow-edit-grid-view', () => import('@pages/sample/ibizbookrow-edit-grid-view/ibizbookrow-edit-grid-view.vue'));
Vue.component('ibizbookgantt-view', () => import('@pages/sample/ibizbookgantt-view/ibizbookgantt-view.vue'));
Vue.component('ibizhardware-index-pickup-view', () => import('@pages/sample/ibizhardware-index-pickup-view/ibizhardware-index-pickup-view.vue'));
......
......@@ -1536,6 +1536,20 @@ const router = new Router({
},
component: () => import('@pages/sample/ibizbookinter-func-kan-ban-view/ibizbookinter-func-kan-ban-view.vue'),
},
{
path: 'ibizordertypes/:ibizordertype?/usr2editview/:usr2editview?',
meta: {
caption: 'entities.ibizordertype.views.usr2editview.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizordertypes', parameterName: 'ibizordertype' },
{ pathName: 'usr2editview', parameterName: 'usr2editview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizorder-type-usr2-edit-view/ibizorder-type-usr2-edit-view.vue'),
},
{
path: 'ibizbooks/:ibizbook?/roweditgridview/:roweditgridview?',
meta: {
......@@ -2919,6 +2933,19 @@ const router = new Router({
},
component: () => import('@pages/sample/ibizuniproduct-pickup-grid-view/ibizuniproduct-pickup-grid-view.vue'),
},
{
path: '/ibizordertypes/:ibizordertype?/usr2editview/:usr2editview?',
meta: {
caption: 'entities.ibizordertype.views.usr2editview.caption',
info:'',
parameters: [
{ pathName: 'ibizordertypes', parameterName: 'ibizordertype' },
{ pathName: 'usr2editview', parameterName: 'usr2editview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizorder-type-usr2-edit-view/ibizorder-type-usr2-edit-view.vue'),
},
{
path: '/ibizorders/:ibizorder?/sf1editview/:sf1editview?',
meta: {
......
......@@ -190,6 +190,7 @@ export const viewstate: any = {
'b038c48269316664e5b48380a879fd99',
'd9bd3192a20de0815bed3fd3d79d0cb1',
'98865bf786ea85b14932dd5e48a74983',
'82014278d03dfb22039740c03d2a461f',
'b1591dc4d651536bceb32b60310fd2a5',
'19d36909f837de28880553dc9a190922',
'e92ac401e96f4e17763322eca8355c30',
......@@ -717,6 +718,15 @@ export const viewstate: any = {
refviews: [
],
},
{
viewtag: '82014278d03dfb22039740c03d2a461f',
viewmodule: 'Sample',
viewname: 'IBIZOrderTypeUsr2EditView',
viewaction: '',
viewdatachange: false,
refviews: [
],
},
{
viewtag: '836bdb4063978b55fedd6a180d60c323',
viewmodule: 'Sample',
......
......@@ -2461,7 +2461,7 @@ export default class MainMenuBase extends Vue implements ControlInterface {
Object.assign(viewparam, {});
const deResParameters: any[] = [];
const parameters: any[] = [
{ pathName: 'ibizorders', parameterName: 'ibizorder' },
{ pathName: 'ibizordertypes', parameterName: 'ibizordertype' },
{ pathName: 'usr2editview', parameterName: 'usr2editview' },
];
const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
......
......@@ -1250,7 +1250,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public load(opt: any = {}): void {
if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderTypeEditView' + (this.$t('app.formpage.notconfig.loadaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderTypeUsr2EditView' + (this.$t('app.formpage.notconfig.loadaction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -1285,7 +1285,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public loadDraft(opt: any = {}): void {
if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderTypeEditView' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderTypeUsr2EditView' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
return;
}
const arg: any = { ...opt } ;
......@@ -1347,7 +1347,7 @@ export default class MainBase 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: 'IBIZOrderTypeEditView' + (this.$t('app.formpage.notconfig.actionname') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderTypeUsr2EditView' + (this.$t('app.formpage.notconfig.actionname') as string) });
return;
}
Object.assign(arg,{viewparams:this.viewparams});
......@@ -1455,7 +1455,7 @@ export default class MainBase 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: 'IBIZOrderTypeEditView' + (this.$t('app.formpage.notconfig.actionname') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderTypeUsr2EditView' + (this.$t('app.formpage.notconfig.actionname') as string) });
return;
}
Object.assign(arg,{viewparams:this.viewparams});
......@@ -1532,7 +1532,7 @@ export default class MainBase 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: 'IBIZOrderTypeEditView' + (this.$t('app.formpage.notconfig.removeaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderTypeUsr2EditView' + (this.$t('app.formpage.notconfig.removeaction') as string) });
return;
}
const arg: any = opt[0];
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册