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

Miracle 部署微服务应用

上级 6e67e7db
...@@ -383,10 +383,6 @@ export default { ...@@ -383,10 +383,6 @@ export default {
caption: "开始流程", caption: "开始流程",
tip: "开始流程", tip: "开始流程",
}, },
tbitem10: {
caption: "Workflow step",
tip: "当前流程步骤",
},
}, },
gridviewtoolbar_toolbar: { gridviewtoolbar_toolbar: {
tbitem3: { tbitem3: {
......
...@@ -382,10 +382,6 @@ export default { ...@@ -382,10 +382,6 @@ export default {
caption: "开始流程", caption: "开始流程",
tip: "开始流程", tip: "开始流程",
}, },
tbitem10: {
caption: "当前流程步骤",
tip: "当前流程步骤",
},
}, },
gridviewtoolbar_toolbar: { gridviewtoolbar_toolbar: {
tbitem3: { tbitem3: {
......
...@@ -104,8 +104,6 @@ export class HRTransferApplyUsr2WFDynaEditViewBase extends ViewBase { ...@@ -104,8 +104,6 @@ export class HRTransferApplyUsr2WFDynaEditViewBase extends ViewBase {
tbitem9_saveandstart: { name: 'tbitem9_saveandstart', caption: '开始流程', 'isShowCaption': true, 'isShowIcon': true, tooltip: '开始流程', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'SaveAndStart', target: '', class: '' } }, tbitem9_saveandstart: { name: 'tbitem9_saveandstart', caption: '开始流程', 'isShowCaption': true, 'isShowIcon': true, tooltip: '开始流程', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'SaveAndStart', target: '', class: '' } },
tbitem10: { name: 'tbitem10', caption: '当前流程步骤', 'isShowCaption': true, 'isShowIcon': true, tooltip: '当前流程步骤', iconcls: 'sx-tb-stepactor', icon: '../sasrfex/images/default/icon_stepactor.png', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'ViewWFStep', target: 'SINGLEKEY', class: '' } },
}; };
...@@ -160,9 +158,6 @@ export class HRTransferApplyUsr2WFDynaEditViewBase extends ViewBase { ...@@ -160,9 +158,6 @@ export class HRTransferApplyUsr2WFDynaEditViewBase extends ViewBase {
if (Object.is($event.tag, 'tbitem9_saveandstart')) { if (Object.is($event.tag, 'tbitem9_saveandstart')) {
this.toolbar_tbitem9_saveandstart_click(null, '', $event2); this.toolbar_tbitem9_saveandstart_click(null, '', $event2);
} }
if (Object.is($event.tag, 'tbitem10')) {
this.toolbar_tbitem10_click(null, '', $event2);
}
} }
/** /**
...@@ -254,34 +249,6 @@ export class HRTransferApplyUsr2WFDynaEditViewBase extends ViewBase { ...@@ -254,34 +249,6 @@ export class HRTransferApplyUsr2WFDynaEditViewBase extends ViewBase {
this.SaveAndStart(datas, contextJO,paramJO, $event, xData,this,"HRTransferApply"); this.SaveAndStart(datas, contextJO,paramJO, $event, xData,this,"HRTransferApply");
} }
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public toolbar_tbitem10_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.form;
if (xData.getDatas && xData.getDatas instanceof Function) {
datas = [...xData.getDatas()];
}
if(params){
datas = [params];
}
// 界面行为
this.ViewWFStep(datas, contextJO,paramJO, $event, xData,this,"HRTransferApply");
}
/** /**
* 保存 * 保存
* *
...@@ -341,36 +308,6 @@ export class HRTransferApplyUsr2WFDynaEditViewBase extends ViewBase { ...@@ -341,36 +308,6 @@ export class HRTransferApplyUsr2WFDynaEditViewBase extends ViewBase {
} }
}); });
} }
/**
* 当前流程步骤
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof HRTransferApplyUsr2WFDynaEditViewBase
*/
public ViewWFStep(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
let _this:any = this;
if (!xData || !(xData.wfsubmit instanceof Function)) {
return;
}
xData.wfsubmit(args).then((response: any) => {
if (!response || response.status !== 200) {
return;
}
const { data: _data } = response;
if (_this.viewdata) {
_this.$emit('viewdataschange', [{ ..._data }]);
_this.$emit('close');
} else if (_this.$tabPageExp) {
_this.$tabPageExp.onClose(_this.$route.fullPath);
}
});
}
/** /**
* 工具栏模型数据 * 工具栏模型数据
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
import { Component } from 'vue-property-decorator'; import { Component } from 'vue-property-decorator';
import { VueLifeCycleProcessing } from '@/studio-core'; import { VueLifeCycleProcessing } from '@/studio-core';
import { HRTransferApplyUsr2WFDynaEditViewBase } from './hrtransfer-apply-usr2-wfdyna-edit-view-base'; import { HRTransferApplyUsr2WFDynaEditViewBase } from './hrtransfer-apply-usr2-wfdyna-edit-view-base';
import view_form from '@widgets/hrtransfer-apply/main-form/main-form.vue'; import view_form from '@widgets/hrtransfer-apply/ef-001-form/ef-001-form.vue';
/** /**
* 调动申请工作流编辑视图视图 * 调动申请工作流编辑视图视图
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册