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

tony001 部署微服务应用 [后台服务,演示应用]

上级 4badda97
......@@ -2653,7 +2653,7 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'AppFunc92',
appfunctag: 'AppFunc95',
resourcetag: '',
},
],
......
.view-card {
>.ivu-card-extra {
top: 5px;
right: 0px;
}
}
.ibiztaskteamedit-view9{
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 IBIZTASKTEAMEditView9Base from './ibiztaskteamedit-view9-base.vue';
import view_form from '@widgets/ibiztaskteam/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 IBIZTASKTEAMEditView9 extends IBIZTASKTEAMEditView9Base {
}
</script>
\ No newline at end of file
.ibiztaskteamgrid-view9{
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 IBIZTASKTEAMGridView9Base from './ibiztaskteamgrid-view9-base.vue';
import view_grid from '@widgets/ibiztaskteam/main-grid/main-grid.vue';
@Component({
components: {
view_grid,
},
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 IBIZTASKTEAMGridView9 extends IBIZTASKTEAMGridView9Base {
}
</script>
\ No newline at end of file
.view-card {
>.ivu-card-extra {
top: 5px;
right: 0px;
}
}
.ibiztaskusr2-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 IBIZTASKUsr2EditViewBase from './ibiztaskusr2-edit-view-base.vue';
import view_form from '@widgets/ibiztask/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 IBIZTASKUsr2EditView extends IBIZTASKUsr2EditViewBase {
}
</script>
\ No newline at end of file
......@@ -58,6 +58,7 @@ export const PageComponents = {
Vue.component('ibizhardware-edit-view', () => import('@pages/sample/ibizhardware-edit-view/ibizhardware-edit-view.vue'));
Vue.component('ibizorder-sedit-view2', () => import('@pages/sample/ibizorder-sedit-view2/ibizorder-sedit-view2.vue'));
Vue.component('ibizcpuedit-view', () => import('@pages/sample/ibizcpuedit-view/ibizcpuedit-view.vue'));
Vue.component('ibiztaskteamedit-view9', () => import('@pages/sample/ibiztaskteamedit-view9/ibiztaskteamedit-view9.vue'));
Vue.component('ibizorder-pickup-grid-view', () => import('@pages/sample/ibizorder-pickup-grid-view/ibizorder-pickup-grid-view.vue'));
Vue.component('ibizorder-grid-exp-view', () => import('@pages/sample/ibizorder-grid-exp-view/ibizorder-grid-exp-view.vue'));
Vue.component('ibizsample0003-f2-tree-exp-view', () => import('@pages/sample/ibizsample0003-f2-tree-exp-view/ibizsample0003-f2-tree-exp-view.vue'));
......@@ -74,7 +75,6 @@ export const PageComponents = {
Vue.component('ibizorder-sf4-edit-view', () => import('@pages/sample/ibizorder-sf4-edit-view/ibizorder-sf4-edit-view.vue'));
Vue.component('ibizbookusr3-calendar-view', () => import('@pages/sample/ibizbookusr3-calendar-view/ibizbookusr3-calendar-view.vue'));
Vue.component('ibizbookusr5-calendar-view', () => import('@pages/sample/ibizbookusr5-calendar-view/ibizbookusr5-calendar-view.vue'));
Vue.component('ibizorder-detail-usr2-grid-view9', () => import('@pages/sample/ibizorder-detail-usr2-grid-view9/ibizorder-detail-usr2-grid-view9.vue'));
Vue.component('ibizappextendeditorlist-view', () => import('@pages/sample/ibizappextendeditorlist-view/ibizappextendeditorlist-view.vue'));
Vue.component('ibizorder-f8-edit-view', () => import('@pages/sample/ibizorder-f8-edit-view/ibizorder-f8-edit-view.vue'));
Vue.component('ibizorder-f19-edit-view', () => import('@pages/sample/ibizorder-f19-edit-view/ibizorder-f19-edit-view.vue'));
......@@ -100,6 +100,7 @@ export const PageComponents = {
Vue.component('ibizorder-grid-view9', () => import('@pages/sample/ibizorder-grid-view9/ibizorder-grid-view9.vue'));
Vue.component('ibizorder-calendar-exp-view', () => import('@pages/sample/ibizorder-calendar-exp-view/ibizorder-calendar-exp-view.vue'));
Vue.component('ibizappviewedit-view', () => import('@pages/sample/ibizappviewedit-view/ibizappviewedit-view.vue'));
Vue.component('ibiztaskteamgrid-view9', () => import('@pages/sample/ibiztaskteamgrid-view9/ibiztaskteamgrid-view9.vue'));
Vue.component('ibizbookusr2-list-view', () => import('@pages/sample/ibizbookusr2-list-view/ibizbookusr2-list-view.vue'));
Vue.component('ibizorder-f9-edit-view', () => import('@pages/sample/ibizorder-f9-edit-view/ibizorder-f9-edit-view.vue'));
Vue.component('ibizbookrules-edit-view', () => import('@pages/sample/ibizbookrules-edit-view/ibizbookrules-edit-view.vue'));
......@@ -124,12 +125,10 @@ export const PageComponents = {
Vue.component('ibizbooklist-view', () => import('@pages/sample/ibizbooklist-view/ibizbooklist-view.vue'));
Vue.component('ibizcustomer-usr2-pickup-view', () => import('@pages/sample/ibizcustomer-usr2-pickup-view/ibizcustomer-usr2-pickup-view.vue'));
Vue.component('ibizsample0002-grid-view', () => import('@pages/sample/ibizsample0002-grid-view/ibizsample0002-grid-view.vue'));
Vue.component('ibizorder-f17-edit-view', () => import('@pages/sample/ibizorder-f17-edit-view/ibizorder-f17-edit-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('ibizhardware-index-pickup-view', () => import('@pages/sample/ibizhardware-index-pickup-view/ibizhardware-index-pickup-view.vue'));
Vue.component('ibizorder-detail-f7-edit-view', () => import('@pages/sample/ibizorder-detail-f7-edit-view/ibizorder-detail-f7-edit-view.vue'));
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('ibizcustomer-usr2-mpickup-view', () => import('@pages/sample/ibizcustomer-usr2-mpickup-view/ibizcustomer-usr2-mpickup-view.vue'));
......@@ -147,6 +146,7 @@ export const PageComponents = {
Vue.component('ibizstorage-edit-view', () => import('@pages/sample/ibizstorage-edit-view/ibizstorage-edit-view.vue'));
Vue.component('ibizorder-grid-view', () => import('@pages/sample/ibizorder-grid-view/ibizorder-grid-view.vue'));
Vue.component('ibizbookusr3-grid-view', () => import('@pages/sample/ibizbookusr3-grid-view/ibizbookusr3-grid-view.vue'));
Vue.component('ibiztaskusr2-edit-view', () => import('@pages/sample/ibiztaskusr2-edit-view/ibiztaskusr2-edit-view.vue'));
Vue.component('ibizorder-tree-exp-view', () => import('@pages/sample/ibizorder-tree-exp-view/ibizorder-tree-exp-view.vue'));
Vue.component('ibizbookvalue-rules-grid-view', () => import('@pages/sample/ibizbookvalue-rules-grid-view/ibizbookvalue-rules-grid-view.vue'));
Vue.component('ibizcustomer-pickup-grid-view', () => import('@pages/sample/ibizcustomer-pickup-grid-view/ibizcustomer-pickup-grid-view.vue'));
......
......@@ -273,7 +273,6 @@ export const viewstate: any = {
'e9b54ef29b192ecd2da05ff9570eb4d5',
'b038c48269316664e5b48380a879fd99',
'd9bd3192a20de0815bed3fd3d79d0cb1',
'90d0f81d13e48ce41775442459bd5700',
'98865bf786ea85b14932dd5e48a74983',
'bc76c982dd2264463427eb57e9ed3fba',
'9f80ed66360fbbb9bc57c575fdd8814f',
......@@ -287,6 +286,7 @@ export const viewstate: any = {
'f73da4cb47a88d3fe5b92716e0137741',
'd99f9680b535dcf3ad0d0f853a8b89d9',
'dd8d7ffe00cabb07784f30f66a5b34da',
'b77eaffc7d4b16c38917fa95f023e594',
'6625a5fb33580f05512d6ba60d17b55f',
'51dc78a9ed0e9cd37d46bec7dbc7d172',
'6b3607e849c8517fd7ae1cab583f7393',
......@@ -553,16 +553,6 @@ export const viewstate: any = {
'2640aa1ca02649c8831b43023d449945',
],
},
{
viewtag: '3d27d7d805bd6793246b059452fb0279',
viewmodule: 'Sample',
viewname: 'IBIZOrderDetailUsr2GridView9',
viewaction: '',
viewdatachange: false,
refviews: [
'c8a1c9f876a50150221a8f34c881b4fa',
],
},
{
viewtag: '3ebf0cd640e39a4e7efe30ec1cf32b43',
viewmodule: 'Sample',
......@@ -708,6 +698,16 @@ export const viewstate: any = {
'de9166f936946237e2d0e5367db078c2',
],
},
{
viewtag: '5771b0186bb2e13fc7a3250097357bf0',
viewmodule: 'Sample',
viewname: 'IBIZTASKTEAMGridView9',
viewaction: '',
viewdatachange: false,
refviews: [
'84c014dfd34effc8379f367fa62139ea',
],
},
{
viewtag: '581e6727bc5983c238cc9990ba5fdcac',
viewmodule: 'Sample',
......@@ -950,6 +950,15 @@ export const viewstate: any = {
'75f6b59b25762a8faf7c795e94370834',
],
},
{
viewtag: '84c014dfd34effc8379f367fa62139ea',
viewmodule: 'Sample',
viewname: 'IBIZTASKTEAMEditView9',
viewaction: '',
viewdatachange: false,
refviews: [
],
},
{
viewtag: '8694a4032f757bfe553eb25c85c54436',
viewmodule: 'Sample',
......@@ -1024,18 +1033,6 @@ export const viewstate: any = {
'c9efbd1a76fcc2ce0bf6fbb4b7af561d',
],
},
{
viewtag: '90d0f81d13e48ce41775442459bd5700',
viewmodule: 'Sample',
viewname: 'IBIZOrderF17EditView',
viewaction: '',
viewdatachange: false,
refviews: [
'3d27d7d805bd6793246b059452fb0279',
'f7ce60a7707de1ef9f926b3f9d5d6954',
'2640aa1ca02649c8831b43023d449945',
],
},
{
viewtag: '9127e2414d8e646fd2b473695d17c485',
viewmodule: 'Sample',
......@@ -1345,6 +1342,16 @@ export const viewstate: any = {
'55c0b817ceaaa2894e76b510d94da24c',
],
},
{
viewtag: 'b77eaffc7d4b16c38917fa95f023e594',
viewmodule: 'Sample',
viewname: 'IBIZTASKUsr2EditView',
viewaction: '',
viewdatachange: false,
refviews: [
'5771b0186bb2e13fc7a3250097357bf0',
],
},
{
viewtag: 'b7c0a73eb248d41eb750bbf095fa5505',
viewmodule: 'Sample',
......@@ -1427,17 +1434,6 @@ export const viewstate: any = {
'54c2461e07dd79fdbecc2c1e3aec8096',
],
},
{
viewtag: 'c8a1c9f876a50150221a8f34c881b4fa',
viewmodule: 'Sample',
viewname: 'IBIZOrderDetailF7EditView',
viewaction: '',
viewdatachange: false,
refviews: [
'17770b42972334457baccfe91828bd46',
'ec6cfd868c34a036250a813b24068519',
],
},
{
viewtag: 'c9efbd1a76fcc2ce0bf6fbb4b7af561d',
viewmodule: 'Sample',
......
......@@ -788,8 +788,8 @@ export default class MainMenuBase extends Vue implements ControlInterface {
case 'AppFunc79':
this.clickAppFunc79(item);
return;
case 'AppFunc92':
this.clickAppFunc92(item);
case 'AppFunc95':
this.clickAppFunc95(item);
return;
case 'AppFunc36':
this.clickAppFunc36(item);
......@@ -2433,18 +2433,18 @@ export default class MainMenuBase extends Vue implements ControlInterface {
}
/**
* 临时模式
* 任务临时模式
*
* @param {*} [item={}]
* @memberof MainMenu
*/
public clickAppFunc92(item: any = {}) {
public clickAppFunc95(item: any = {}) {
const viewparam: any = {};
Object.assign(viewparam, {});
const deResParameters: any[] = [];
const parameters: any[] = [
{ pathName: 'ibizorders', parameterName: 'ibizorder' },
{ pathName: 'f17editview', parameterName: 'f17editview' },
{ pathName: 'ibiztasks', parameterName: 'ibiztask' },
{ pathName: 'usr2editview', parameterName: 'usr2editview' },
];
const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
if(Object.is(this.$route.fullPath,path)){
......
......@@ -2800,7 +2800,7 @@ export default class MainMenuModel {
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'AppFunc92',
appfunctag: 'AppFunc95',
resourcetag: '',
authtag:'Web-MainMenu-menuitem19',
},
......@@ -3963,15 +3963,15 @@ export default class MainMenuModel {
],
},
{
appfunctag: 'AppFunc92',
appfunctag: 'AppFunc95',
appfuncyype: 'APPVIEW',
openmode: '',
codename: 'ibizorderf17editview',
codename: 'ibiztaskusr2editview',
deResParameters: [],
routepath: '/index/:index?/ibizorders/:ibizorder?/f17editview/:f17editview?',
routepath: '/index/:index?/ibiztasks/:ibiztask?/usr2editview/:usr2editview?',
parameters: [
{ pathName: 'ibizorders', parameterName: 'ibizorder' },
{ pathName: 'f17editview', parameterName: 'f17editview' },
{ pathName: 'ibiztasks', parameterName: 'ibiztask' },
{ pathName: 'usr2editview', parameterName: 'usr2editview' },
],
},
{
......
......@@ -1439,7 +1439,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: 'IBIZOrderDetailF7EditView' + (this.$t('app.formpage.notconfig.loadaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailEditView' + (this.$t('app.formpage.notconfig.loadaction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -1474,7 +1474,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: 'IBIZOrderDetailF7EditView' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailEditView' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
return;
}
const arg: any = { ...opt } ;
......@@ -1535,7 +1535,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: 'IBIZOrderDetailF7EditView' + (this.$t('app.formpage.notconfig.actionname') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailEditView' + (this.$t('app.formpage.notconfig.actionname') as string) });
return;
}
Object.assign(arg,{viewparams:this.viewparams});
......@@ -1643,7 +1643,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: 'IBIZOrderDetailF7EditView' + (this.$t('app.formpage.notconfig.actionname') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailEditView' + (this.$t('app.formpage.notconfig.actionname') as string) });
return;
}
Object.assign(arg,{viewparams:this.viewparams});
......@@ -1720,7 +1720,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: 'IBIZOrderDetailF7EditView' + (this.$t('app.formpage.notconfig.removeaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailEditView' + (this.$t('app.formpage.notconfig.removeaction') as string) });
return;
}
const arg: any = opt[0];
......
......@@ -29,7 +29,7 @@ export default class MainService extends ControlService {
* @memberof MainService
*/
public setTempMode(){
this.isTempMode = true;
this.isTempMode = false;
}
/**
......
此差异已折叠。
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import MainBase from './main-form-base.vue';
@Component({
components: {
}
})
export default class Main extends MainBase {
}
</script>
\ No newline at end of file
此差异已折叠。
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册