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

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

上级 8efeaf2c
......@@ -54,7 +54,7 @@ export default class AppTodoList extends Vue {
/**
* 当前分页
*/
public curPage: number = 0;
public curPage: number = 1;
/**
* 总条数
......@@ -79,7 +79,7 @@ export default class AppTodoList extends Vue {
public getMyTasks() {
const params = {
size: this.limit,
page: this.curPage
page: this.curPage - 1
};
let url: any = '/wfcore/mytasks';
if (this.query) {
......
......@@ -16,6 +16,7 @@ function getLocaleResourceBase(){
curdeptid: commonLogic.appcommonhandle("CURDEPTID",null),
amount: commonLogic.appcommonhandle("总计",null),
deptheads: commonLogic.appcommonhandle("部门领导",null),
deptheadsid: commonLogic.appcommonhandle("部门领导",null),
},
views: {
wfdynaactionview: {
......@@ -110,6 +111,7 @@ function getLocaleResourceBase(){
srfdeid: commonLogic.appcommonhandle("",null),
srfsourcekey: commonLogic.appcommonhandle("",null),
deptheads: commonLogic.appcommonhandle("部门领导",null),
deptheadsid: commonLogic.appcommonhandle("部门领导",null),
ibizsample0021id: commonLogic.appcommonhandle("订单标识",null),
},
uiactions: {
......@@ -307,6 +309,25 @@ function getLocaleResourceBase(){
uiactions: {
},
},
transfer_form: {
details: {
group1: commonLogic.appcommonhandle("订单基本信息",null),
formpage1: commonLogic.appcommonhandle("基本信息",null),
srfupdatedate: commonLogic.appcommonhandle("更新时间",null),
srforikey: commonLogic.appcommonhandle("",null),
srfkey: commonLogic.appcommonhandle("订单标识",null),
srfmajortext: commonLogic.appcommonhandle("订单名称",null),
srftempmode: commonLogic.appcommonhandle("",null),
srfuf: commonLogic.appcommonhandle("",null),
srfdeid: commonLogic.appcommonhandle("",null),
srfsourcekey: commonLogic.appcommonhandle("",null),
deptheads: commonLogic.appcommonhandle("部门领导",null),
deptheadsid: commonLogic.appcommonhandle("部门领导",null),
ibizsample0021id: commonLogic.appcommonhandle("订单标识",null),
},
uiactions: {
},
},
usr1116490270_form: {
details: {
group1: commonLogic.appcommonhandle("订单基本信息",null),
......
......@@ -16,6 +16,7 @@ function getLocaleResourceBase(){
curdeptid: commonLogic.appcommonhandle("CURDEPTID",null),
amount: commonLogic.appcommonhandle("总计",null),
deptheads: commonLogic.appcommonhandle("部门领导",null),
deptheadsid: commonLogic.appcommonhandle("部门领导",null),
},
views: {
wfdynaactionview: {
......@@ -110,6 +111,7 @@ function getLocaleResourceBase(){
srfdeid: commonLogic.appcommonhandle("",null),
srfsourcekey: commonLogic.appcommonhandle("",null),
deptheads: commonLogic.appcommonhandle("部门领导",null),
deptheadsid: commonLogic.appcommonhandle("部门领导",null),
ibizsample0021id: commonLogic.appcommonhandle("订单标识",null),
},
uiactions: {
......@@ -307,6 +309,25 @@ function getLocaleResourceBase(){
uiactions: {
},
},
transfer_form: {
details: {
group1: commonLogic.appcommonhandle("订单基本信息",null),
formpage1: commonLogic.appcommonhandle("基本信息",null),
srfupdatedate: commonLogic.appcommonhandle("更新时间",null),
srforikey: commonLogic.appcommonhandle("",null),
srfkey: commonLogic.appcommonhandle("订单标识",null),
srfmajortext: commonLogic.appcommonhandle("订单名称",null),
srftempmode: commonLogic.appcommonhandle("",null),
srfuf: commonLogic.appcommonhandle("",null),
srfdeid: commonLogic.appcommonhandle("",null),
srfsourcekey: commonLogic.appcommonhandle("",null),
deptheads: commonLogic.appcommonhandle("部门领导",null),
deptheadsid: commonLogic.appcommonhandle("部门领导",null),
ibizsample0021id: commonLogic.appcommonhandle("订单标识",null),
},
uiactions: {
},
},
usr1116490270_form: {
details: {
group1: commonLogic.appcommonhandle("订单基本信息",null),
......
......@@ -16,6 +16,7 @@ function getLocaleResourceBase(){
curdeptid: commonLogic.appcommonhandle("CURDEPTID",null),
amount: commonLogic.appcommonhandle("总计",null),
deptheads: commonLogic.appcommonhandle("部门领导",null),
deptheadsid: commonLogic.appcommonhandle("部门领导",null),
},
views: {
wfdynaactionview: {
......@@ -110,6 +111,7 @@ function getLocaleResourceBase(){
srfdeid: commonLogic.appcommonhandle("",null),
srfsourcekey: commonLogic.appcommonhandle("",null),
deptheads: commonLogic.appcommonhandle("部门领导",null),
deptheadsid: commonLogic.appcommonhandle("部门领导",null),
ibizsample0021id: commonLogic.appcommonhandle("订单标识",null),
},
uiactions: {
......@@ -307,6 +309,25 @@ function getLocaleResourceBase(){
uiactions: {
},
},
transfer_form: {
details: {
group1: commonLogic.appcommonhandle("订单基本信息",null),
formpage1: commonLogic.appcommonhandle("基本信息",null),
srfupdatedate: commonLogic.appcommonhandle("更新时间",null),
srforikey: commonLogic.appcommonhandle("",null),
srfkey: commonLogic.appcommonhandle("订单标识",null),
srfmajortext: commonLogic.appcommonhandle("订单名称",null),
srftempmode: commonLogic.appcommonhandle("",null),
srfuf: commonLogic.appcommonhandle("",null),
srfdeid: commonLogic.appcommonhandle("",null),
srfsourcekey: commonLogic.appcommonhandle("",null),
deptheads: commonLogic.appcommonhandle("部门领导",null),
deptheadsid: commonLogic.appcommonhandle("部门领导",null),
ibizsample0021id: commonLogic.appcommonhandle("订单标识",null),
},
uiactions: {
},
},
usr1116490270_form: {
details: {
group1: commonLogic.appcommonhandle("订单基本信息",null),
......
......@@ -215,6 +215,7 @@ export default class IBIZSample0021REASSIGNWFDynaActionViewBase extends Vue {
*/
public containerModel: any = {
view_form: { name: 'form', type: 'FORM' },
view_wfform_transfer: { name: 'wfform_transfer', type: 'FORM' },
view_wfform_refuseform: { name: 'wfform_refuseform', type: 'FORM' },
wflinks: [],
};
......@@ -703,6 +704,7 @@ export default class IBIZSample0021REASSIGNWFDynaActionViewBase extends Vue {
*/
public allForm: any = {
"form":{name:"view_form",autosave:"false",showBusyIndicator:"true",updateAction:"Update",removeAction:"Remove",loaddraftAction:"GetDraft",loadAction:"Get",createAction:"Create",WFSubmitAction:"",WFStartAction:""},
"wfform_transfer":{name:"view_wfform_transfer",autosave:"false",showBusyIndicator:"true",updateAction:"Update",removeAction:"Remove",loaddraftAction:"GetDraft",loadAction:"Get",createAction:"Create",WFSubmitAction:"",WFStartAction:""},
"wfform_refuseform":{name:"view_wfform_refuseform",autosave:"false",showBusyIndicator:"true",updateAction:"Update",removeAction:"Remove",loaddraftAction:"GetDraft",loadAction:"Get",createAction:"Create",WFSubmitAction:"",WFStartAction:""}
};
......
......@@ -3,11 +3,13 @@ import { Component } from 'vue-property-decorator';
import IBIZSample0021REASSIGNWFDynaActionViewBase from './ibizsample0021-reassignwfdyna-action-view-base.vue';
import view_form from '@widgets/ibizsample0021/usr1116029485-form/usr1116029485-form.vue';
import view_wfform_transfer from '@widgets/ibizsample0021/transfer-form/transfer-form.vue';
import view_wfform_refuseform from '@widgets/ibizsample0021/refuse-form-form/refuse-form-form.vue';
// 基于 @VIEW/@MACRO/VIEW.vue.ftl 生成
@Component({
components: {
view_form,
view_wfform_transfer,
view_wfform_refuseform,
},
beforeRouteEnter: (to: any, from: any, next: any) => {
......
......@@ -728,6 +728,28 @@ export default class IBIZSample0021Usr1114865995WFDynaEditView3Base extends Vue
*/
public activeForm:any = {};
/**
* 工作流附加功能类型映射关系对象
*
* @memberof IBIZSample0021Usr1114865995WFDynaEditView3Base
*/
public wfAddiFeatureRef: any = {
// 转办
"reassign": { featureTag: "REASSIGN", action: "TransFerTask" },
// 前加签
"addstepbefore": { featureTag: "ADDSTEPBEFORE", action: "BeforeSign" },
// 后加签
"addstepafter": { featureTag: "ADDSTEPAFTER", action: "AfterSign" },
// 回退
"sendback": { featureTag: "SENDBACK", action: "SendBack" },
// 抄送
"sendcopy": { featureTag: "SENDCOPY", action: "sendCopy" },
// 补充信息
"supplyinfo": { featureTag: "SUPPLYINFO", action: "supplyInfo" },
// 征求意见
"takeadvice": { featureTag: "TAKEADVICE", action: "takeAdvice" }
};
/**
* 所有表单数据
*
......@@ -884,27 +906,109 @@ export default class IBIZSample0021Usr1114865995WFDynaEditView3Base extends Vue
}
});
}
if (linkItem && linkItem.sequenceflowview && this.viewRefData[`WFACTION@${linkItem.sequenceflowview}`]) {
let tempContext:any = Util.deepCopy(this.context);
Object.assign(tempContext,{ibizsample0021:datas && datas[0].srfkey});
let tempViewParam:any = {actionView:linkItem.sequenceflowview,actionForm:linkItem.sequenceflowform};
let targetView:any = this.viewRefData[`WFACTION@${linkItem.sequenceflowview}`];
const appmodal = this.$appmodal.openModal({ viewname: targetView.viewname, title: (this.$t(targetView.title) as string), height: targetView.height, width: targetView.width}, tempContext, tempViewParam);
appmodal.subscribe((result: any) => {
if (!result || !Object.is(result.ret, 'OK')) {
return;
}
let tempSubmitData:any = Util.deepCopy(datas);
tempSubmitData.forEach((element: any) => {
Object.assign(element, result.datas && result.datas[0]);
const submitAction: Function = () => {
if (linkItem && linkItem.sequenceflowview && this.viewRefData[`WFACTION@${linkItem.sequenceflowview}`]) {
let tempContext: any = Util.deepCopy(this.context);
Object.assign(tempContext,{ibizsample0021:datas && datas[0].srfkey});
let tempViewParam: any = { actionView: linkItem.sequenceflowview, actionForm: linkItem.sequenceflowform };
let targetView: any = this.viewRefData[`WFACTION@${linkItem.sequenceflowview}`];
const appmodal = this.$appmodal.openModal({ viewname: targetView.viewname, title: (this.$t(targetView.title) as string), height: targetView.height, width: targetView.width }, tempContext, tempViewParam);
appmodal.subscribe((result: any) => {
if (!result || !Object.is(result.ret, 'OK')) {
return;
}
let tempSubmitData: any = Util.deepCopy(datas);
tempSubmitData.forEach((element: any) => {
Object.assign(element, result.datas && result.datas[0]);
});
submit(tempSubmitData, linkItem);
});
submit(tempSubmitData, linkItem);
});
} else {
submit(datas, linkItem);
}
}
if (linkItem && linkItem.type) {
if (Object.is(linkItem.type, "finish")) {
submitAction();
} else {
this.handleWFAddiFeature(linkItem, datas);
}
} else {
submit(datas, linkItem);
submitAction();
}
}
/**
* 处理工作流辅助功能
*
* @memberof IBIZSample0021Usr1114865995WFDynaEditView3Base
*/
public handleWFAddiFeature(linkItem: any, data: any) {
let featureTag: string = this.wfAddiFeatureRef[linkItem.type].featureTag;
if (!featureTag) return;
let targetView: any = this.viewRefData[`WFUTILACTION@${featureTag}`];
if (!targetView) {
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: `未找到${featureTag}映射视图` });
return;
}
let tempContext: any = Util.deepCopy(this.context);
Object.assign(tempContext,{ibizsample0021:data && data[0].srfkey});
let tempViewParam: any = { actionForm: linkItem.sequenceflowform };
const appmodal = this.$appmodal.openModal({ viewname: targetView.viewname, title: (this.$t(targetView.title) as string), height: targetView.height, width: targetView.width }, tempContext, tempViewParam);
appmodal.subscribe((result: any) => {
if (!result || !Object.is(result.ret, 'OK')) {
return;
}
let tempSubmitData: any = Util.deepCopy(data[0]);
if (result.datas && result.datas[0]) {
const resultData: any = result.datas[0];
if (Object.keys(resultData).length > 0) {
let tempData: any = {};
Object.keys(resultData).forEach((key: any) => {
if (resultData[key] && (key !== "srfuf")) tempData[key] = resultData[key];
})
Object.assign(tempSubmitData, tempData);
}
this.submitWFAddiFeature(linkItem, tempSubmitData);
}
});
}
/**
* 提交工作流辅助功能
*
* @memberof IBIZSample0021Usr1114865995WFDynaEditView3Base
*/
public submitWFAddiFeature(linkItem: any, submitData: any) {
const that: any = this;
let tempSubmitData: any = Object.assign(linkItem, { "activedata": submitData });
let action: string = this.wfAddiFeatureRef[linkItem.type].action;
if (!action) return;
if (that.appEntityService && that.appEntityService[action] && that.appEntityService[action] instanceof Function) {
const tempContext = Util.deepCopy(this.context);
Object.assign(tempContext, { taskId: linkItem.taskId })
that.appEntityService[action](tempContext, tempSubmitData).then((response: any) => {
const { data } = response;
if (!response || response.status !== 200) {
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: data.message ? data.message : this.$t('app.commonWords.sysException') as string });
return;
}
if (this.viewdata) {
this.$emit('viewdataschange', [{ ...data }]);
this.$emit('close');
} else if (this.$tabPageExp) {
this.$tabPageExp.onClose(this.$route.fullPath);
}
this.$Notice.success({ title: '', desc: (this.$t('app.formpage.workflow.submitsuccess') as string) });
}).catch((error: any) => {
const { data } = error;
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: data.message ? data.message : this.$t('app.commonWords.sysException') as string });
})
} else {
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: `${action}暂未实现` });
}
}
}
......
......@@ -712,7 +712,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: 'IBIZBOOKUsr9GridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCalendarView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -748,7 +748,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public async loadDraft(opt: any = {},mode?:string): Promise<any> {
if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr9GridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCalendarView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return;
}
const arg: any = { ...opt } ;
......
......@@ -1447,7 +1447,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
*/
public async load(opt: any = {}): Promise<any> {
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 };
......@@ -1494,7 +1494,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
*/
public async loadDraft(opt: any = {}): Promise<any> {
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 } ;
......@@ -1564,7 +1564,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});
......@@ -1672,7 +1672,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 });
......@@ -1764,7 +1764,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];
......
......@@ -698,7 +698,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
*/
public async load(opt: any = {}, isReset: boolean = false): Promise<any> {
if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKTestCLDataView' + (this.$t('app.list.notConfig.fetchAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4DataView' + (this.$t('app.list.notConfig.fetchAction') as string) });
return;
}
const arg: any = {...opt};
......@@ -792,7 +792,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
*/
public async remove(datas: any[]): Promise<any> {
if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKTestCLDataView' + (this.$t('app.gridpage.notConfig.removeAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4DataView' + (this.$t('app.gridpage.notConfig.removeAction') as string) });
return;
}
let _datas:any[] = [];
......@@ -908,7 +908,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
try {
if(Object.is(item.rowDataState, 'create')){
if(!this.createAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKTestCLDataView' + (this.$t('app.list.notConfig.createAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4DataView' + (this.$t('app.list.notConfig.createAction') as string) });
}else{
Object.assign(item,{viewparams:this.viewparams});
let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator);
......@@ -916,7 +916,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
}
}else if(Object.is(item.rowDataState, 'update')){
if(!this.updateAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKTestCLDataView' + (this.$t('app.list.notConfig.updateAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4DataView' + (this.$t('app.list.notConfig.updateAction') as string) });
}else{
Object.assign(item,{viewparams:this.viewparams});
if(item.ibizbook){
......
......@@ -70,6 +70,11 @@ export default class Usr4Model {
prop: 'n_ibizbookname_like',
dataType: 'QUERYPARAM'
},
{
name: 'n_price_gtandeq',
prop: 'n_price_gtandeq',
dataType: 'QUERYPARAM'
},
{
......
......@@ -736,7 +736,7 @@ export default class CardNavigationBase extends Vue implements ControlInterface
*/
public async load(opt: any = {}, isReset: boolean = false): Promise<any> {
if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDataViewExpView_layout' + (this.$t('app.list.notConfig.fetchAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDataViewExpView' + (this.$t('app.list.notConfig.fetchAction') as string) });
return;
}
const arg: any = {...opt};
......@@ -830,7 +830,7 @@ export default class CardNavigationBase extends Vue implements ControlInterface
*/
public async remove(datas: any[]): Promise<any> {
if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDataViewExpView_layout' + (this.$t('app.gridpage.notConfig.removeAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDataViewExpView' + (this.$t('app.gridpage.notConfig.removeAction') as string) });
return;
}
let _datas:any[] = [];
......@@ -946,7 +946,7 @@ export default class CardNavigationBase extends Vue implements ControlInterface
try {
if(Object.is(item.rowDataState, 'create')){
if(!this.createAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDataViewExpView_layout' + (this.$t('app.list.notConfig.createAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDataViewExpView' + (this.$t('app.list.notConfig.createAction') as string) });
}else{
Object.assign(item,{viewparams:this.viewparams});
let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator);
......@@ -954,7 +954,7 @@ export default class CardNavigationBase extends Vue implements ControlInterface
}
}else if(Object.is(item.rowDataState, 'update')){
if(!this.updateAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDataViewExpView_layout' + (this.$t('app.list.notConfig.updateAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDataViewExpView' + (this.$t('app.list.notConfig.updateAction') as string) });
}else{
Object.assign(item,{viewparams:this.viewparams});
if(item.ibizorder){
......
......@@ -319,7 +319,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZOrderPickupGridViewBase
* @memberof IBIZOrderSF1GridViewBase
*/
public Edit(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
if (args.length === 0) {
......@@ -462,6 +462,20 @@ export default class MainBase extends Vue implements ControlInterface {
return this.selections[0];
}
/**
* 打开新建数据视图
*
* @type {any}
* @memberof MainBase
*/
@Prop() public newdata: any;
/**
* 打开编辑数据视图
*
* @type {any}
* @memberof MainBase
*/
@Prop() public opendata: any;
/**
* 是否嵌入关系界面
......@@ -996,7 +1010,7 @@ export default class MainBase extends Vue implements ControlInterface {
if (!this.fetchAction) {
this.$Notice.error({
title: this.$t("app.commonWords.wrong") as string,
desc: "IBIZOrderPickupGridView" + (this.$t("app.gridpage.notConfig.fetchAction") as string),
desc: "IBIZOrderSF1GridView" + (this.$t("app.gridpage.notConfig.fetchAction") as string),
});
return;
}
......@@ -1125,7 +1139,7 @@ export default class MainBase extends Vue implements ControlInterface {
if (!this.removeAction) {
this.$Notice.error({
title: (this.$t('app.commonWords.wrong') as string),
desc: 'IBIZOrderPickupGridView' + (this.$t('app.gridpage.notConfig.removeAction') as string)
desc: 'IBIZOrderSF1GridView' + (this.$t('app.gridpage.notConfig.removeAction') as string)
});
return;
}
......@@ -1239,7 +1253,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public addBatch(arg: any = {}): void {
if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
return;
}
if(!arg){
......@@ -2170,7 +2184,7 @@ export default class MainBase extends Vue implements ControlInterface {
try {
if (Object.is(item.rowDataState, 'create')) {
if (!this.createAction) {
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.createAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.createAction') as string) });
} else {
Object.assign(item, { viewparams: this.viewparams });
const tempContext = Util.deepCopy(this.context);
......@@ -2179,7 +2193,7 @@ export default class MainBase extends Vue implements ControlInterface {
}
}else if (Object.is(item.rowDataState, 'update')){
if (!this.updateAction) {
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.updateAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.updateAction') as string) });
} else {
Object.assign(item, { viewparams: this.viewparams });
const tempContext = Util.deepCopy(this.context);
......@@ -2255,7 +2269,7 @@ export default class MainBase extends Vue implements ControlInterface {
if(!this.loaddraftAction){
this.$Notice.error({
title: (this.$t('app.commonWords.wrong') as string),
desc: 'IBIZOrderPickupGridView' + (this.$t('app.gridpage.notConfig.loaddraftAction') as string)
desc: 'IBIZOrderSF1GridView' + (this.$t('app.gridpage.notConfig.loaddraftAction') as string)
});
return;
}
......
......@@ -105,6 +105,21 @@ export default class MainModel {
prop: 'n_ibizordername_like',
dataType: 'QUERYPARAM'
},
{
name: 'n_orderstate_eq',
prop: 'n_orderstate_eq',
dataType: 'QUERYPARAM'
},
{
name: 'n_ordertime_gt',
prop: 'n_ordertime_gt',
dataType: 'QUERYPARAM'
},
{
name: 'n_ordertime_lt',
prop: 'n_ordertime_lt',
dataType: 'QUERYPARAM'
},
{
name:'size',
......
......@@ -55,6 +55,9 @@ export default class DataRelationModel {
{
name: 'deptheads',
},
{
name: 'deptheadsid',
},
]
}
......
......@@ -470,6 +470,7 @@ export default class Start001Base extends Vue implements ControlInterface {
srfdeid: null,
srfsourcekey: null,
deptheads: null,
deptheadsid: null,
ibizsample0021id: null,
ibizsample0021:null,
};
......@@ -654,6 +655,8 @@ export default class Start001Base extends Vue implements ControlInterface {
srfsourcekey: new FormItemModel({ caption: '', detailType: 'FORMITEM', name: 'srfsourcekey', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
deptheads: new FormItemModel({ caption: '部门领导', detailType: 'FORMITEM', name: 'deptheads', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
deptheadsid: new FormItemModel({ caption: '部门领导', detailType: 'FORMITEM', name: 'deptheadsid', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
ibizsample0021id: new FormItemModel({ caption: '订单标识', detailType: 'FORMITEM', name: 'ibizsample0021id', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
......@@ -767,6 +770,18 @@ export default class Start001Base extends Vue implements ControlInterface {
this.formDataChange({ name: 'deptheads', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 deptheadsid 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof Start001Base
*/
@Watch('data.deptheadsid')
onDeptheadsidChange(newVal: any, oldVal: any) {
this.formDataChange({ name: 'deptheadsid', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 ibizsample0021id 值
*
......@@ -845,6 +860,7 @@ export default class Start001Base extends Vue implements ControlInterface {
}
/**
......
......@@ -61,6 +61,11 @@ export default class Start001Model {
prop: 'deptheads',
dataType: 'TEXT',
},
{
name: 'deptheadsid',
prop: 'deptheadsid',
dataType: 'TEXT',
},
{
name: 'ibizsample0021id',
prop: 'ibizsample0021id',
......
// 基于 @CONTROL/表单/MODEL.ts.ftl 生成
/**
* Transfer 部件模型
*
* @export
* @class TransferModel
*/
export default class TransferModel {
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof TransferModel
*/
public getDataItems(): any[] {
return [
{
name: 'srfwfmemo',
prop: 'srfwfmemo',
dataType: 'TEXT',
},
// 前端新增修改标识,新增为"0",修改为"1"或未设值
{
name: 'srffrontuf',
prop: 'srffrontuf',
dataType: 'TEXT',
},
{
name: 'srfupdatedate',
prop: 'updatedate',
dataType: 'DATETIME',
},
{
name: 'srforikey',
},
{
name: 'srfkey',
prop: 'ibizsample0021id',
dataType: 'GUID',
},
{
name: 'srfmajortext',
prop: 'ibizsample0021name',
dataType: 'TEXT',
},
{
name: 'srftempmode',
},
{
name: 'srfuf',
},
{
name: 'srfdeid',
},
{
name: 'srfsourcekey',
},
{
name: 'deptheads',
prop: 'deptheads',
dataType: 'TEXT',
},
{
name: 'deptheadsid',
prop: 'deptheadsid',
dataType: 'TEXT',
},
{
name: 'ibizsample0021id',
prop: 'ibizsample0021id',
dataType: 'GUID',
},
{
name: 'ibizsample0021',
prop: 'ibizsample0021id',
dataType: 'FONTKEY',
},
]
}
}
\ No newline at end of file
// 基于 @CONTROL/表单/CONTROL.less.ftl 生成
.ivu-tabs-no-animation>.ivu-tabs-content{
padding: 0 16px;
}
.ivu-card-head{
padding: 14px 0;
}
.app-form {
overflow: auto;
padding: 6px;
> .ivu-row {
> .ivu-tabs {
height: 100%;
display: flex;
flex-direction: column;
> .ivu-tabs-content {
flex-grow: 1;
overflow: auto;
> .ivu-tabs-tabpane {
height: 100%;
}
}
}
}
}
.app-tabpanel-flex {
height: 100%;
> .ivu-tabs-content {
height: calc(100% - 52px);
> .ivu-tabs-tabpane {
height: 100%;
}
}
}
.app-form {
>.ivu-row:nth-child(2) {
>.ivu-col:nth-child(1) {
>.ivu-row.app-form-group.app-group-hiddden-caption:nth-child(1) {
margin-top: 12px;
}
}
}
}
.app-form{
// 表单行间距
.app-form-item{
margin-bottom: 20px;
}
// 表单按钮margin
.app-form-button{
margin:0 6px;
}
}
// this is less
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import TransferBase from './transfer-form-base.vue';
// 基于 @CONTROL/@MACRO/CONTROL/CONTROL.vue.ftl 生成
@Component({
components: {
}
})
export default class Transfer extends TransferBase {
}
</script>
\ No newline at end of file
......@@ -1262,6 +1262,70 @@
"viewLevel" : 0,
"phisicalDEField" : false,
"uIAssistDEField" : true
}, {
"getAllPSDEFUIModes" : [ {
"codeName" : "MobileDefault",
"name" : "[DEPTHEADSID][部门领导标识]移动端默认",
"getPSDEFFormItem" : {
"codeName" : "MobileDefault",
"editorType" : "MOBTEXT",
"name" : "[DEPTHEADSID][部门领导标识]移动端默认",
"stringLength" : 100,
"uIMode" : "MOBILEDEFAULT",
"mobileMode" : true
},
"type" : "MOBILEDEFAULT",
"mobileMode" : true
}, {
"codeName" : "Default",
"name" : "[DEPTHEADSID][部门领导标识]",
"getPSDEFFormItem" : {
"codeName" : "Default",
"editorType" : "TEXTBOX",
"name" : "[DEPTHEADSID][部门领导标识]",
"stringLength" : 100,
"uIMode" : "DEFAULT"
},
"type" : "DEFAULT"
} ],
"getAllPSDEFValueRules" : [ {
"codeName" : "Default",
"name" : "默认规则",
"getPSDEFVRGroupCondition" : {
"condOp" : "AND",
"condType" : "GROUP",
"name" : "默认组",
"getPSDEFVRConditions" : [ {
"condType" : "STRINGLENGTH",
"dEFName" : "DEPTHEADSID",
"maxValue" : 100,
"name" : "默认字符串长度",
"ruleInfo" : "内容长度必须小于等于[100]",
"includeMaxValue" : true,
"includeMinValue" : false,
"keyCond" : true
} ],
"ruleInfo" : "内容长度必须小于等于[100]"
},
"ruleInfo" : "内容长度必须小于等于[100]",
"checkDefault" : true,
"defaultMode" : true,
"enableBackend" : true,
"enableFront" : true
} ],
"codeName" : "DeptHeadsId",
"dEFType" : 5,
"dataType" : "TEXT",
"importOrder" : 1000,
"length" : 100,
"logicName" : "部门领导",
"name" : "DEPTHEADSID",
"stdDataType" : 25,
"stringLength" : 100,
"valueFormat" : "%1$s",
"viewLevel" : 0,
"phisicalDEField" : false,
"uIAssistDEField" : true
} ],
"getAllPSDEMethodDTOs" : [ {
"name" : "IBIZSample0021DTO",
......@@ -1334,6 +1398,17 @@
"stdDataType" : 25,
"stringLength" : 100,
"type" : "SIMPLE"
}, {
"logicName" : "部门领导",
"name" : "DeptHeadsId",
"getPSDEField" : {
"name" : "DEPTHEADSID",
"codeName" : "DeptHeadsId"
},
"sourceType" : "DEFIELD",
"stdDataType" : 25,
"stringLength" : 100,
"type" : "SIMPLE"
}, {
"logicName" : "订单标识",
"name" : "IBIZSample0021Id",
......@@ -1661,6 +1736,13 @@
"name" : "部门领导审批通过操作表单",
"realModelSubType" : "EDITFORM",
"realModelType" : "PSDEFORM"
}, {
"codeName" : "transfer",
"logicName" : "工作转移",
"modelTag2" : "0",
"name" : "工作转移",
"realModelSubType" : "EDITFORM",
"realModelType" : "PSDEFORM"
}, {
"codeName" : "operationForm",
"logicName" : "操作表单",
......@@ -1689,6 +1771,13 @@
"name" : "Usr1116491232WFDynaStartView_表单",
"realModelSubType" : "EDITFORM",
"realModelType" : "PSDEFORM"
}, {
"codeName" : "beforeSign",
"logicName" : "加签",
"modelTag2" : "0",
"name" : "加签",
"realModelSubType" : "EDITFORM",
"realModelType" : "PSDEFORM"
}, {
"codeName" : "Usr1116490270",
"logicName" : " 实体工作流动态操作视图(前加签)_表单",
......
......@@ -341,6 +341,12 @@
"name" : "DEPTHEADS",
"stdDataType" : 25,
"stringLength" : 100
}, {
"codeName" : "DeptHeadsId",
"logicName" : "部门领导",
"name" : "DEPTHEADSID",
"stdDataType" : 25,
"stringLength" : 100
} ],
"getAllPSAppDEMethodDTOs" : [ {
"codeName" : "IBIZSample0021DTO",
......@@ -419,6 +425,18 @@
"sourceType" : "DEFIELD",
"stdDataType" : 25,
"type" : "SIMPLE"
}, {
"codeName" : "DeptHeadsId",
"logicName" : "部门领导",
"name" : "DeptHeadsId",
"orderValue" : 1000,
"getPSAppDEField" : {
"name" : "DEPTHEADSID",
"codeName" : "DeptHeadsId"
},
"sourceType" : "DEFIELD",
"stdDataType" : 25,
"type" : "SIMPLE"
}, {
"codeName" : "IBIZSample0021Id",
"logicName" : "订单标识",
......
......@@ -74,6 +74,14 @@
"name" : "DEPTHEADS",
"codeName" : "DeptHeads"
}
}, {
"id" : "deptheadsid",
"hidden" : true,
"dataType" : 25,
"getPSAppDEField" : {
"name" : "DEPTHEADSID",
"codeName" : "DeptHeadsId"
}
}, {
"id" : "ibizsample0021id",
"hidden" : true,
......@@ -125,6 +133,7 @@
"editorType" : "PICKER",
"handlerType" : "PickupText",
"name" : "deptheads",
"valueItemName" : "deptheadsid",
"enableAC" : true,
"enablePickupView" : true,
"forceSelection" : true,
......@@ -135,7 +144,35 @@
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"valueItemName" : "deptheadsid",
"allowEmpty" : true,
"showCaption" : true
}, {
"caption" : "部门领导",
"codeName" : "deptheadsid",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "deptheadsid",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "DEPTHEADSID",
"codeName" : "DeptHeadsId"
},
"getPSEditor" : {
"editorType" : "HIDDEN",
"name" : "deptheadsid"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"hidden" : true,
"showCaption" : true
} ],
"getPSLayout" : {
......
{
"codeName" : "Transfer",
"controlType" : "FORM",
"getCreatePSControlAction" : {
"modelref" : true,
"id" : "create"
},
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZSample0021/PSFORMS/Transfer.json",
"getGetDraftFromPSControlAction" : {
"modelref" : true,
"id" : "loaddraftfrom"
},
"getGetDraftPSControlAction" : {
"modelref" : true,
"id" : "loaddraft"
},
"getGetPSControlAction" : {
"modelref" : true,
"id" : "load"
},
"logicName" : "工作转移",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZSample0021.json"
},
"getPSDEFormItems" : [ {
"id" : "srfupdatedate",
"hidden" : true,
"dataType" : 5,
"getPSAppDEField" : {
"name" : "UPDATEDATE",
"codeName" : "UpdateDate"
}
}, {
"id" : "srforikey",
"hidden" : true,
"dataType" : 25
}, {
"id" : "srfkey",
"hidden" : true,
"dataType" : 25,
"getPSAppDEField" : {
"name" : "IBIZSAMPLE0021ID",
"codeName" : "IBIZSample0021Id"
}
}, {
"id" : "srfmajortext",
"hidden" : true,
"dataType" : 25,
"getPSAppDEField" : {
"name" : "IBIZSAMPLE0021NAME",
"codeName" : "IBIZSample0021Name"
}
}, {
"id" : "srftempmode",
"hidden" : true,
"dataType" : 25
}, {
"id" : "srfuf",
"hidden" : true,
"dataType" : 25
}, {
"id" : "srfdeid",
"hidden" : true,
"dataType" : 25
}, {
"id" : "srfsourcekey",
"hidden" : true,
"dataType" : 25
}, {
"id" : "deptheads",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "DEPTHEADS",
"codeName" : "DeptHeads"
}
}, {
"id" : "deptheadsid",
"hidden" : true,
"dataType" : 25,
"getPSAppDEField" : {
"name" : "DEPTHEADSID",
"codeName" : "DeptHeadsId"
}
}, {
"id" : "ibizsample0021id",
"hidden" : true,
"dataType" : 25,
"getPSAppDEField" : {
"name" : "IBIZSAMPLE0021ID",
"codeName" : "IBIZSample0021Id"
}
} ],
"getPSDEFormPages" : [ {
"caption" : "基本信息",
"codeName" : "formpage1",
"detailStyle" : "DEFAULT",
"detailType" : "FORMPAGE",
"name" : "formpage1",
"getPSDEFormDetails" : [ {
"actionGroupExtractMode" : "ITEM",
"caption" : "订单基本信息",
"codeName" : "group1",
"detailStyle" : "DEFAULT",
"detailType" : "GROUPPANEL",
"name" : "group1",
"getPSDEFormDetails" : [ {
"caption" : "部门领导",
"codeName" : "deptheads",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "deptheads",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "DEPTHEADS",
"codeName" : "DeptHeads"
},
"getPSEditor" : {
"editorParams" : {
"multiple" : "false",
"url" : "/wfcore/wfgroups/DepartmentHeads/wfmembers/fetchdefault?n_mdeptid_eq=${srforgsectorid}&sort=showorder,asc",
"AC" : "TRUE",
"fillMap" : "{id:'userid',label:'personname'}",
"PICKUPVIEW" : "TRUE",
"REALSTYLECODE" : "COMMONMICROCOM"
},
"editorStyle" : "COMMONMICROCOM",
"editorType" : "PICKER",
"handlerType" : "PickupText",
"name" : "deptheads",
"valueItemName" : "deptheadsid",
"enableAC" : true,
"enablePickupView" : true,
"forceSelection" : true,
"showTrigger" : true,
"singleSelect" : true
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"valueItemName" : "deptheadsid",
"allowEmpty" : true,
"showCaption" : true
}, {
"caption" : "部门领导",
"codeName" : "deptheadsid",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "deptheadsid",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "DEPTHEADSID",
"codeName" : "DeptHeadsId"
},
"getPSEditor" : {
"editorType" : "HIDDEN",
"name" : "deptheadsid"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"hidden" : true,
"showCaption" : true
} ],
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"infoGroupMode" : false,
"showCaption" : false
} ],
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"infoGroupMode" : false
} ],
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getRemovePSControlAction" : {
"modelref" : true,
"id" : "remove"
},
"tabHeaderPos" : "TOP",
"getUpdatePSControlAction" : {
"modelref" : true,
"id" : "update"
},
"getWFStartPSControlAction" : {
"modelref" : true,
"id" : "WFSTART"
},
"getWFSubmitPSControlAction" : {
"modelref" : true,
"id" : "WFSUBMIT"
},
"noTabHeader" : true,
"modelid" : "0D397329-34E2-4381-B84C-108492D610BA",
"modeltype" : "PSDEFORM_EDITFORM"
}
\ No newline at end of file
......@@ -475,6 +475,325 @@
"name" : "form",
"modelid" : "D289CD12-0718-43A8-966E-12BB48B263B2",
"modeltype" : "PSDEFORM_EDITFORM"
}, {
"codeName" : "Transfer",
"controlType" : "FORM",
"getCreatePSControlAction" : {
"modelref" : true,
"id" : "create"
},
"dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZSample0021/PSFORMS/Transfer.json",
"getGetDraftFromPSControlAction" : {
"modelref" : true,
"id" : "loaddraftfrom"
},
"getGetDraftPSControlAction" : {
"modelref" : true,
"id" : "loaddraft"
},
"getGetPSControlAction" : {
"modelref" : true,
"id" : "load"
},
"logicName" : "工作转移",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZSample0021.json"
},
"getPSControlHandler" : {
"getPSHandlerActions" : [ {
"actionName" : "GetDraft",
"actionType" : "DEACTION",
"dataAccessAction" : "CREATE",
"name" : "loaddraft",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "GetDraft"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZSample0021.json"
}
}, {
"actionName" : "GETDRAFTFROM",
"actionType" : "DEACTION",
"dataAccessAction" : "CREATE",
"name" : "loaddraftfrom",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZSample0021.json"
}
}, {
"actionName" : "Get",
"actionType" : "DEACTION",
"dataAccessAction" : "READ",
"name" : "load",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Get"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZSample0021.json"
}
}, {
"actionName" : "Create",
"actionType" : "DEACTION",
"dataAccessAction" : "CREATE",
"name" : "create",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Create"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZSample0021.json"
}
}, {
"actionName" : "Update",
"actionType" : "DEACTION",
"dataAccessAction" : "UPDATE",
"name" : "update",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Update"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZSample0021.json"
}
}, {
"actionName" : "Remove",
"actionType" : "DEACTION",
"dataAccessAction" : "DELETE",
"name" : "remove",
"getPSAppDEMethod" : {
"modelref" : true,
"id" : "Remove"
},
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZSample0021.json"
}
}, {
"actionName" : "WFSTART",
"actionType" : "WFACTION",
"name" : "WFSTART",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZSample0021.json"
}
}, {
"actionName" : "WFSUBMIT",
"actionType" : "WFACTION",
"name" : "WFSUBMIT",
"getPSAppDataEntity" : {
"modelref" : true,
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZSample0021.json"
}
} ],
"enableDEFieldPrivilege" : false,
"id" : "流程操作表单处理器"
},
"getPSControlParam" : {
"autoLoad" : true,
"showBusyIndicator" : true,
"id" : "wfform_transfer"
},
"getPSDEFormItems" : [ {
"id" : "srfupdatedate",
"hidden" : true,
"dataType" : 5,
"getPSAppDEField" : {
"name" : "UPDATEDATE",
"codeName" : "UpdateDate"
}
}, {
"id" : "srforikey",
"hidden" : true,
"dataType" : 25
}, {
"id" : "srfkey",
"hidden" : true,
"dataType" : 25,
"getPSAppDEField" : {
"name" : "IBIZSAMPLE0021ID",
"codeName" : "IBIZSample0021Id"
}
}, {
"id" : "srfmajortext",
"hidden" : true,
"dataType" : 25,
"getPSAppDEField" : {
"name" : "IBIZSAMPLE0021NAME",
"codeName" : "IBIZSample0021Name"
}
}, {
"id" : "srftempmode",
"hidden" : true,
"dataType" : 25
}, {
"id" : "srfuf",
"hidden" : true,
"dataType" : 25
}, {
"id" : "srfdeid",
"hidden" : true,
"dataType" : 25
}, {
"id" : "srfsourcekey",
"hidden" : true,
"dataType" : 25
}, {
"id" : "deptheads",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "DEPTHEADS",
"codeName" : "DeptHeads"
}
}, {
"id" : "deptheadsid",
"hidden" : true,
"dataType" : 25,
"getPSAppDEField" : {
"name" : "DEPTHEADSID",
"codeName" : "DeptHeadsId"
}
}, {
"id" : "ibizsample0021id",
"hidden" : true,
"dataType" : 25,
"getPSAppDEField" : {
"name" : "IBIZSAMPLE0021ID",
"codeName" : "IBIZSample0021Id"
}
} ],
"getPSDEFormPages" : [ {
"caption" : "基本信息",
"codeName" : "formpage1",
"detailStyle" : "DEFAULT",
"detailType" : "FORMPAGE",
"name" : "formpage1",
"getPSDEFormDetails" : [ {
"actionGroupExtractMode" : "ITEM",
"caption" : "订单基本信息",
"codeName" : "group1",
"detailStyle" : "DEFAULT",
"detailType" : "GROUPPANEL",
"name" : "group1",
"getPSDEFormDetails" : [ {
"caption" : "部门领导",
"codeName" : "deptheads",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "deptheads",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "DEPTHEADS",
"codeName" : "DeptHeads"
},
"getPSEditor" : {
"editorParams" : {
"multiple" : "false",
"url" : "/wfcore/wfgroups/DepartmentHeads/wfmembers/fetchdefault?n_mdeptid_eq=${srforgsectorid}&sort=showorder,asc",
"AC" : "TRUE",
"fillMap" : "{id:'userid',label:'personname'}",
"PICKUPVIEW" : "TRUE",
"REALSTYLECODE" : "COMMONMICROCOM"
},
"editorStyle" : "COMMONMICROCOM",
"editorType" : "PICKER",
"handlerType" : "PickupText",
"name" : "deptheads",
"valueItemName" : "deptheadsid",
"enableAC" : true,
"enablePickupView" : true,
"forceSelection" : true,
"showTrigger" : true,
"singleSelect" : true
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"valueItemName" : "deptheadsid",
"allowEmpty" : true,
"showCaption" : true
}, {
"caption" : "部门领导",
"codeName" : "deptheadsid",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "deptheadsid",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "DEPTHEADSID",
"codeName" : "DeptHeadsId"
},
"getPSEditor" : {
"editorType" : "HIDDEN",
"name" : "deptheadsid"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"hidden" : true,
"showCaption" : true
} ],
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"infoGroupMode" : false,
"showCaption" : false
} ],
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"infoGroupMode" : false
} ],
"getPSLayout" : {
"columnCount" : 24,
"layout" : "TABLE_24COL"
},
"getRemovePSControlAction" : {
"modelref" : true,
"id" : "remove"
},
"tabHeaderPos" : "TOP",
"getUpdatePSControlAction" : {
"modelref" : true,
"id" : "update"
},
"getWFStartPSControlAction" : {
"modelref" : true,
"id" : "WFSTART"
},
"getWFSubmitPSControlAction" : {
"modelref" : true,
"id" : "WFSUBMIT"
},
"noTabHeader" : true,
"name" : "wfform_transfer",
"modelid" : "0D397329-34E2-4381-B84C-108492D610BA",
"modeltype" : "PSDEFORM_EDITFORM"
}, {
"codeName" : "RefuseForm",
"controlType" : "FORM",
......
......@@ -188,6 +188,14 @@
"name" : "DEPTHEADS",
"codeName" : "DeptHeads"
}
}, {
"id" : "deptheadsid",
"hidden" : true,
"dataType" : 25,
"getPSAppDEField" : {
"name" : "DEPTHEADSID",
"codeName" : "DeptHeadsId"
}
}, {
"id" : "ibizsample0021id",
"hidden" : true,
......@@ -239,6 +247,7 @@
"editorType" : "PICKER",
"handlerType" : "PickupText",
"name" : "deptheads",
"valueItemName" : "deptheadsid",
"enableAC" : true,
"enablePickupView" : true,
"forceSelection" : true,
......@@ -249,7 +258,35 @@
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"valueItemName" : "deptheadsid",
"allowEmpty" : true,
"showCaption" : true
}, {
"caption" : "部门领导",
"codeName" : "deptheadsid",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "deptheadsid",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "DEPTHEADSID",
"codeName" : "DeptHeadsId"
},
"getPSEditor" : {
"editorType" : "HIDDEN",
"name" : "deptheadsid"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"hidden" : true,
"showCaption" : true
} ],
"getPSLayout" : {
......@@ -718,6 +755,14 @@
"name" : "DEPTHEADS",
"codeName" : "DeptHeads"
}
}, {
"id" : "deptheadsid",
"hidden" : true,
"dataType" : 25,
"getPSAppDEField" : {
"name" : "DEPTHEADSID",
"codeName" : "DeptHeadsId"
}
}, {
"id" : "ibizsample0021id",
"hidden" : true,
......@@ -769,6 +814,7 @@
"editorType" : "PICKER",
"handlerType" : "PickupText",
"name" : "deptheads",
"valueItemName" : "deptheadsid",
"enableAC" : true,
"enablePickupView" : true,
"forceSelection" : true,
......@@ -779,7 +825,35 @@
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"valueItemName" : "deptheadsid",
"allowEmpty" : true,
"showCaption" : true
}, {
"caption" : "部门领导",
"codeName" : "deptheadsid",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"name" : "deptheadsid",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "DEPTHEADSID",
"codeName" : "DeptHeadsId"
},
"getPSEditor" : {
"editorType" : "HIDDEN",
"name" : "deptheadsid"
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"allowEmpty" : true,
"hidden" : true,
"showCaption" : true
} ],
"getPSLayout" : {
......
......@@ -236,10 +236,12 @@
"uDField" : "DEPTHEADSID",
"wFProcessRoleType" : "UDACTOR"
} ],
"predefinedActions" : [ "SENDBACK", "ADDSTEPBEFORE", "REASSIGN" ],
"predefinedActions" : [ "ADDSTEPBEFORE", "REASSIGN" ],
"timeout" : 6,
"timeoutType" : "MINUTE",
"topPos" : 30,
"util3FormCodeName" : "transfer",
"util3FormName" : "工作转移",
"wFProcessType" : "INTERACTIVE",
"wFStepValue" : "5",
"width" : 100,
......@@ -361,7 +363,7 @@
"name" : "[当前操作者]",
"wFProcessRoleType" : "CURACTOR"
} ],
"predefinedActions" : [ "SENDBACK", "REASSIGN" ],
"predefinedActions" : [ "SENDBACK" ],
"timeout" : -1,
"topPos" : 30,
"wFProcessType" : "INTERACTIVE",
......
......@@ -40,7 +40,7 @@
<userTask flowable:category="${businessKey}" flowable:dueDate="PT6M" flowable:candidateUsers="${activedata.deptheadsid},${activedata.srfwfpredefinedusers}" flowable:exclusive="true" id="tid-5-b43328c7712bd3739742121269b6c386" name="部门经理审核" >
<documentation>${majortext}</documentation>
<extensionElements>
<flowable:form procfunc="sendback;addstepbefore;reassign" process-form="operationForm" />
<flowable:form procfunc="addstepbefore;reassign" process-form="operationForm" process-util3form="transfer" process-util3formname="工作转移" />
</extensionElements>
</userTask>
<endEvent id="sid-ebd510afdeda7eba09cf1a56679ca382" name="结束">
......@@ -56,7 +56,7 @@
<userTask flowable:category="${businessKey}" flowable:candidateUsers="${activedata.createman},${wfCoreService.getGroupUsers('FinancialManager|org|CURORGID',execution)},${activedata.srfwfpredefinedusers}" flowable:exclusive="true" id="tid-10-b2100e0a472c7e23cd936fbb272eaa67" name="财务经理审核" >
<documentation>${majortext}</documentation>
<extensionElements>
<flowable:form procfunc="sendback;reassign" />
<flowable:form procfunc="sendback" />
</extensionElements>
</userTask>
<userTask flowable:category="${businessKey}" flowable:candidateUsers="${wfCoreService.getGroupUsers('FinancialDirector|org|CURORGID',execution)},${activedata.srfwfpredefinedusers}" flowable:exclusive="true" id="tid-30-f33ca3120694e870ea7e1b5eed392750" name="财务总监审批" >
......
......@@ -8133,6 +8133,20 @@
"key_field":0,
"show_order":1000,
"major_field":0
},
{
"fieldname":"DEPTHEADSID" ,
"codename":"DeptHeadsId",
"field_logic_name":"部门领导",
"entity_name":"IBIZSAMPLE0021",
"field_type":"TEXT",
"nullable":1,
"physical_field":0,
"data_type":"VARCHAR",
"data_length":100,
"key_field":0,
"show_order":1000,
"major_field":0
}
],
"subEntitys":[
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册