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

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

上级 2afb87f8
...@@ -15,6 +15,7 @@ function getLocaleResourceBase(){ ...@@ -15,6 +15,7 @@ function getLocaleResourceBase(){
curorgid: commonLogic.appcommonhandle("CURORGID",null), curorgid: commonLogic.appcommonhandle("CURORGID",null),
curdeptid: commonLogic.appcommonhandle("CURDEPTID",null), curdeptid: commonLogic.appcommonhandle("CURDEPTID",null),
amount: commonLogic.appcommonhandle("总计",null), amount: commonLogic.appcommonhandle("总计",null),
deptheads: commonLogic.appcommonhandle("部门领导",null),
}, },
views: { views: {
wfdynaactionview: { wfdynaactionview: {
......
...@@ -15,6 +15,7 @@ function getLocaleResourceBase(){ ...@@ -15,6 +15,7 @@ function getLocaleResourceBase(){
curorgid: commonLogic.appcommonhandle("CURORGID",null), curorgid: commonLogic.appcommonhandle("CURORGID",null),
curdeptid: commonLogic.appcommonhandle("CURDEPTID",null), curdeptid: commonLogic.appcommonhandle("CURDEPTID",null),
amount: commonLogic.appcommonhandle("总计",null), amount: commonLogic.appcommonhandle("总计",null),
deptheads: commonLogic.appcommonhandle("部门领导",null),
}, },
views: { views: {
wfdynaactionview: { wfdynaactionview: {
......
...@@ -15,6 +15,7 @@ function getLocaleResourceBase(){ ...@@ -15,6 +15,7 @@ function getLocaleResourceBase(){
curorgid: commonLogic.appcommonhandle("CURORGID",null), curorgid: commonLogic.appcommonhandle("CURORGID",null),
curdeptid: commonLogic.appcommonhandle("CURDEPTID",null), curdeptid: commonLogic.appcommonhandle("CURDEPTID",null),
amount: commonLogic.appcommonhandle("总计",null), amount: commonLogic.appcommonhandle("总计",null),
deptheads: commonLogic.appcommonhandle("部门领导",null),
}, },
views: { views: {
wfdynaactionview: { wfdynaactionview: {
......
...@@ -759,6 +759,28 @@ export default class IBIZSample0021Usr1114433946WFDynaEditViewBase extends Vue { ...@@ -759,6 +759,28 @@ export default class IBIZSample0021Usr1114433946WFDynaEditViewBase extends Vue {
*/ */
public activeForm:any = {}; public activeForm:any = {};
/**
* 工作流附加功能类型映射关系对象
*
* @memberof IBIZSample0021Usr1114433946WFDynaEditViewBase
*/
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" }
};
/** /**
* 所有表单数据 * 所有表单数据
* *
...@@ -862,25 +884,107 @@ export default class IBIZSample0021Usr1114433946WFDynaEditViewBase extends Vue { ...@@ -862,25 +884,107 @@ export default class IBIZSample0021Usr1114433946WFDynaEditViewBase extends Vue {
} }
}); });
} }
if(linkItem && linkItem.sequenceflowview && this.viewRefData[`WFACTION@${linkItem.sequenceflowview}`]){ const submitAction: Function = () => {
let tempContext:any = Util.deepCopy(this.context); if (linkItem && linkItem.sequenceflowview && this.viewRefData[`WFACTION@${linkItem.sequenceflowview}`]) {
Object.assign(tempContext,{ibizsample0021:datas && datas[0].srfkey}); let tempContext: any = Util.deepCopy(this.context);
let tempViewParam:any = {actionView:linkItem.sequenceflowview,actionForm:linkItem.sequenceflowform}; Object.assign(tempContext,{ibizsample0021:datas && datas[0].srfkey});
let targetView:any = this.viewRefData[`WFACTION@${linkItem.sequenceflowview}`]; let tempViewParam: any = { actionView: linkItem.sequenceflowview, 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); let targetView: any = this.viewRefData[`WFACTION@${linkItem.sequenceflowview}`];
appmodal.subscribe((result: any) => { const appmodal = this.$appmodal.openModal({ viewname: targetView.viewname, title: (this.$t(targetView.title) as string), height: targetView.height, width: targetView.width }, tempContext, tempViewParam);
if (!result || !Object.is(result.ret, 'OK')) { 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);
});
} else {
submit(datas, linkItem);
}
}
if (linkItem && linkItem.type) {
if (Object.is(linkItem.type, "finish")) {
submitAction();
} else {
this.handleWFAddiFeature(linkItem, datas);
}
} else {
submitAction();
}
}
/**
* 处理工作流辅助功能
*
* @memberof IBIZSample0021Usr1114433946WFDynaEditViewBase
*/
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:datas && datas[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 IBIZSample0021Usr1114433946WFDynaEditViewBase
*/
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; return;
} }
let tempSubmitData:any = Util.deepCopy(datas); if (this.viewdata) {
tempSubmitData.forEach((element:any) => { this.$emit('viewdataschange', [{ ...data }]);
Object.assign(element,result.datas && result.datas[0]); this.$emit('close');
}); } else if (this.$tabPageExp) {
submit(tempSubmitData,linkItem); this.$tabPageExp.onClose(this.$route.fullPath);
}); }
}else{ this.$Notice.success({ title: '', desc: (this.$t('app.formpage.workflow.submitsuccess') as string) });
submit(datas,linkItem); }).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}暂未实现` });
}
} }
......
...@@ -942,6 +942,28 @@ export default class IBIZSample0021WFDynaEditViewBase extends Vue { ...@@ -942,6 +942,28 @@ export default class IBIZSample0021WFDynaEditViewBase extends Vue {
*/ */
public activeForm:any = {}; public activeForm:any = {};
/**
* 工作流附加功能类型映射关系对象
*
* @memberof IBIZSample0021WFDynaEditViewBase
*/
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" }
};
/** /**
* 所有表单数据 * 所有表单数据
* *
...@@ -1045,25 +1067,107 @@ export default class IBIZSample0021WFDynaEditViewBase extends Vue { ...@@ -1045,25 +1067,107 @@ export default class IBIZSample0021WFDynaEditViewBase extends Vue {
} }
}); });
} }
if(linkItem && linkItem.sequenceflowview && this.viewRefData[`WFACTION@${linkItem.sequenceflowview}`]){ const submitAction: Function = () => {
let tempContext:any = Util.deepCopy(this.context); if (linkItem && linkItem.sequenceflowview && this.viewRefData[`WFACTION@${linkItem.sequenceflowview}`]) {
Object.assign(tempContext,{ibizsample0021:datas && datas[0].srfkey}); let tempContext: any = Util.deepCopy(this.context);
let tempViewParam:any = {actionView:linkItem.sequenceflowview,actionForm:linkItem.sequenceflowform}; Object.assign(tempContext,{ibizsample0021:datas && datas[0].srfkey});
let targetView:any = this.viewRefData[`WFACTION@${linkItem.sequenceflowview}`]; let tempViewParam: any = { actionView: linkItem.sequenceflowview, 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); let targetView: any = this.viewRefData[`WFACTION@${linkItem.sequenceflowview}`];
appmodal.subscribe((result: any) => { const appmodal = this.$appmodal.openModal({ viewname: targetView.viewname, title: (this.$t(targetView.title) as string), height: targetView.height, width: targetView.width }, tempContext, tempViewParam);
if (!result || !Object.is(result.ret, 'OK')) { 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);
});
} else {
submit(datas, linkItem);
}
}
if (linkItem && linkItem.type) {
if (Object.is(linkItem.type, "finish")) {
submitAction();
} else {
this.handleWFAddiFeature(linkItem, datas);
}
} else {
submitAction();
}
}
/**
* 处理工作流辅助功能
*
* @memberof IBIZSample0021WFDynaEditViewBase
*/
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:datas && datas[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 IBIZSample0021WFDynaEditViewBase
*/
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; return;
} }
let tempSubmitData:any = Util.deepCopy(datas); if (this.viewdata) {
tempSubmitData.forEach((element:any) => { this.$emit('viewdataschange', [{ ...data }]);
Object.assign(element,result.datas && result.datas[0]); this.$emit('close');
}); } else if (this.$tabPageExp) {
submit(tempSubmitData,linkItem); this.$tabPageExp.onClose(this.$route.fullPath);
}); }
}else{ this.$Notice.success({ title: '', desc: (this.$t('app.formpage.workflow.submitsuccess') as string) });
submit(datas,linkItem); }).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 { ...@@ -712,7 +712,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/ */
public load(opt: any = {}): void { public load(opt: any = {}): void {
if(!this.loadAction){ if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCalendarView' + (this.$t('app.searchForm.notConfig.loadAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr9GridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -748,7 +748,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -748,7 +748,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/ */
public async loadDraft(opt: any = {},mode?:string): Promise<any> { public async loadDraft(opt: any = {},mode?:string): Promise<any> {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCalendarView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr9GridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
......
...@@ -11,7 +11,7 @@ export default class Usr2Model { ...@@ -11,7 +11,7 @@ export default class Usr2Model {
* 获取数据项集合 * 获取数据项集合
* *
* @returns {any[]} * @returns {any[]}
* @memberof Usr2DataViewMode * @memberof Usr2Dataviewexpbar_dataviewMode
*/ */
public getDataItems(): any[] { public getDataItems(): any[] {
return [ return [
...@@ -40,17 +40,6 @@ export default class Usr2Model { ...@@ -40,17 +40,6 @@ export default class Usr2Model {
dataType: 'FONTKEY', dataType: 'FONTKEY',
}, },
{
name: 'n_ibizbookname_like',
prop: 'n_ibizbookname_like',
dataType: 'QUERYPARAM'
},
{
name: 'n_price_gtandeq',
prop: 'n_price_gtandeq',
dataType: 'QUERYPARAM'
},
{ {
name:'size', name:'size',
......
...@@ -52,6 +52,9 @@ export default class DataRelationModel { ...@@ -52,6 +52,9 @@ export default class DataRelationModel {
{ {
name: 'amount', name: 'amount',
}, },
{
name: 'deptheads',
},
] ]
} }
......
...@@ -1198,6 +1198,70 @@ ...@@ -1198,6 +1198,70 @@
"stdDataType" : 7, "stdDataType" : 7,
"valueFormat" : "%1$s", "valueFormat" : "%1$s",
"enablePrivilege" : true "enablePrivilege" : true
}, {
"getAllPSDEFUIModes" : [ {
"codeName" : "Default",
"name" : "[DEPTHEADS][部门领导]",
"getPSDEFFormItem" : {
"codeName" : "Default",
"editorType" : "TEXTBOX",
"name" : "[DEPTHEADS][部门领导]",
"stringLength" : 100,
"uIMode" : "DEFAULT"
},
"type" : "DEFAULT"
}, {
"codeName" : "MobileDefault",
"name" : "[DEPTHEADS][部门领导]移动端默认",
"getPSDEFFormItem" : {
"codeName" : "MobileDefault",
"editorType" : "MOBTEXT",
"name" : "[DEPTHEADS][部门领导]移动端默认",
"stringLength" : 100,
"uIMode" : "MOBILEDEFAULT",
"mobileMode" : true
},
"type" : "MOBILEDEFAULT",
"mobileMode" : true
} ],
"getAllPSDEFValueRules" : [ {
"codeName" : "Default",
"name" : "默认规则",
"getPSDEFVRGroupCondition" : {
"condOp" : "AND",
"condType" : "GROUP",
"name" : "默认组",
"getPSDEFVRConditions" : [ {
"condType" : "STRINGLENGTH",
"dEFName" : "DEPTHEADS",
"maxValue" : 100,
"name" : "默认字符串长度",
"ruleInfo" : "内容长度必须小于等于[100]",
"includeMaxValue" : true,
"includeMinValue" : false,
"keyCond" : true
} ],
"ruleInfo" : "内容长度必须小于等于[100]"
},
"ruleInfo" : "内容长度必须小于等于[100]",
"checkDefault" : true,
"defaultMode" : true,
"enableBackend" : true,
"enableFront" : true
} ],
"codeName" : "DeptHeads",
"dEFType" : 5,
"dataType" : "TEXT",
"importOrder" : 1000,
"length" : 100,
"logicName" : "部门领导",
"name" : "DEPTHEADS",
"stdDataType" : 25,
"stringLength" : 100,
"valueFormat" : "%1$s",
"viewLevel" : 0,
"phisicalDEField" : false,
"uIAssistDEField" : true
} ], } ],
"getAllPSDEMethodDTOs" : [ { "getAllPSDEMethodDTOs" : [ {
"name" : "IBIZSample0021DTO", "name" : "IBIZSample0021DTO",
...@@ -1259,6 +1323,17 @@ ...@@ -1259,6 +1323,17 @@
"stdDataType" : 25, "stdDataType" : 25,
"stringLength" : 100, "stringLength" : 100,
"type" : "SIMPLE" "type" : "SIMPLE"
}, {
"logicName" : "部门领导",
"name" : "DeptHeads",
"getPSDEField" : {
"name" : "DEPTHEADS",
"codeName" : "DeptHeads"
},
"sourceType" : "DEFIELD",
"stdDataType" : 25,
"stringLength" : 100,
"type" : "SIMPLE"
}, { }, {
"logicName" : "订单标识", "logicName" : "订单标识",
"name" : "IBIZSample0021Id", "name" : "IBIZSample0021Id",
...@@ -1657,6 +1732,13 @@ ...@@ -1657,6 +1732,13 @@
"name" : "部门领导审批不通过操作表单", "name" : "部门领导审批不通过操作表单",
"realModelSubType" : "EDITFORM", "realModelSubType" : "EDITFORM",
"realModelType" : "PSDEFORM" "realModelType" : "PSDEFORM"
}, {
"codeName" : "Start001",
"logicName" : "流程启动",
"modelTag2" : "0",
"name" : "流程启动",
"realModelSubType" : "EDITFORM",
"realModelType" : "PSDEFORM"
} ], } ],
"codeName" : "IBIZSample0021", "codeName" : "IBIZSample0021",
"dEType" : 1, "dEType" : 1,
......
...@@ -11,51 +11,51 @@ ...@@ -11,51 +11,51 @@
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}, },
"getPSDETreeColumns" : [ { "getPSDETreeColumns" : [ {
"caption" : "作者", "caption" : "出版社",
"codeName" : "author", "codeName" : "press",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author", "dataItemName" : "press",
"name" : "author", "name" : "press",
"width" : 200, "width" : 200,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, { }, {
"caption" : "图书名称", "caption" : "借出日期",
"codeName" : "ibizbookname", "codeName" : "lendouttime",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname", "dataItemName" : "lendouttime",
"name" : "ibizbookname", "name" : "lendouttime",
"width" : 200, "width" : 200,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, { }, {
"caption" : "归还日期", "caption" : "作者",
"codeName" : "returntime", "codeName" : "author",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "returntime", "dataItemName" : "author",
"name" : "returntime", "name" : "author",
"width" : 200, "width" : 200,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, { }, {
"caption" : "出版社", "caption" : "归还日期",
"codeName" : "press", "codeName" : "returntime",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "press", "dataItemName" : "returntime",
"name" : "press", "name" : "returntime",
"width" : 200, "width" : 200,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, { }, {
"caption" : "借出日期", "caption" : "图书名称",
"codeName" : "lendouttime", "codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "lendouttime", "dataItemName" : "ibizbookname",
"name" : "lendouttime", "name" : "ibizbookname",
"width" : 200, "width" : 200,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
......
...@@ -19,11 +19,11 @@ ...@@ -19,11 +19,11 @@
} }
} ], } ],
"getPSDETreeColumns" : [ { "getPSDETreeColumns" : [ {
"caption" : "图书描述", "caption" : "作者",
"codeName" : "subtext", "codeName" : "author",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "subtext", "dataItemName" : "author",
"name" : "subtext", "name" : "author",
"width" : 50, "width" : 50,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
...@@ -39,11 +39,11 @@ ...@@ -39,11 +39,11 @@
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, { }, {
"caption" : "作者", "caption" : "图书描述",
"codeName" : "author", "codeName" : "subtext",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author", "dataItemName" : "subtext",
"name" : "author", "name" : "subtext",
"width" : 50, "width" : 50,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
......
...@@ -335,6 +335,12 @@ ...@@ -335,6 +335,12 @@
"name" : "AMOUNT", "name" : "AMOUNT",
"precision" : 2, "precision" : 2,
"stdDataType" : 7 "stdDataType" : 7
}, {
"codeName" : "DeptHeads",
"logicName" : "部门领导",
"name" : "DEPTHEADS",
"stdDataType" : 25,
"stringLength" : 100
} ], } ],
"getAllPSAppDEMethodDTOs" : [ { "getAllPSAppDEMethodDTOs" : [ {
"codeName" : "IBIZSample0021DTO", "codeName" : "IBIZSample0021DTO",
...@@ -401,6 +407,18 @@ ...@@ -401,6 +407,18 @@
"sourceType" : "DEFIELD", "sourceType" : "DEFIELD",
"stdDataType" : 25, "stdDataType" : 25,
"type" : "SIMPLE" "type" : "SIMPLE"
}, {
"codeName" : "DeptHeads",
"logicName" : "部门领导",
"name" : "DeptHeads",
"orderValue" : 1000,
"getPSAppDEField" : {
"name" : "DEPTHEADS",
"codeName" : "DeptHeads"
},
"sourceType" : "DEFIELD",
"stdDataType" : 25,
"type" : "SIMPLE"
}, { }, {
"codeName" : "IBIZSample0021Id", "codeName" : "IBIZSample0021Id",
"logicName" : "订单标识", "logicName" : "订单标识",
......
...@@ -34,51 +34,51 @@ ...@@ -34,51 +34,51 @@
"id" : "GANTT" "id" : "GANTT"
}, },
"getPSDETreeColumns" : [ { "getPSDETreeColumns" : [ {
"caption" : "作者", "caption" : "出版社",
"codeName" : "author", "codeName" : "press",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author", "dataItemName" : "press",
"name" : "author", "name" : "press",
"width" : 200, "width" : 200,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, { }, {
"caption" : "图书名称", "caption" : "借出日期",
"codeName" : "ibizbookname", "codeName" : "lendouttime",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname", "dataItemName" : "lendouttime",
"name" : "ibizbookname", "name" : "lendouttime",
"width" : 200, "width" : 200,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, { }, {
"caption" : "归还日期", "caption" : "作者",
"codeName" : "returntime", "codeName" : "author",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "returntime", "dataItemName" : "author",
"name" : "returntime", "name" : "author",
"width" : 200, "width" : 200,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, { }, {
"caption" : "出版社", "caption" : "归还日期",
"codeName" : "press", "codeName" : "returntime",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "press", "dataItemName" : "returntime",
"name" : "press", "name" : "returntime",
"width" : 200, "width" : 200,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, { }, {
"caption" : "借出日期", "caption" : "图书名称",
"codeName" : "lendouttime", "codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "lendouttime", "dataItemName" : "ibizbookname",
"name" : "lendouttime", "name" : "ibizbookname",
"width" : 200, "width" : 200,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
......
...@@ -75,11 +75,11 @@ ...@@ -75,11 +75,11 @@
"id" : "TREEGRIDEX" "id" : "TREEGRIDEX"
}, },
"getPSDETreeColumns" : [ { "getPSDETreeColumns" : [ {
"caption" : "图书描述", "caption" : "作者",
"codeName" : "subtext", "codeName" : "author",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "subtext", "dataItemName" : "author",
"name" : "subtext", "name" : "author",
"width" : 50, "width" : 50,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
...@@ -95,11 +95,11 @@ ...@@ -95,11 +95,11 @@
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, { }, {
"caption" : "作者", "caption" : "图书描述",
"codeName" : "author", "codeName" : "subtext",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author", "dataItemName" : "subtext",
"name" : "author", "name" : "subtext",
"width" : 50, "width" : 50,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
......
...@@ -871,6 +871,15 @@ ...@@ -871,6 +871,15 @@
"name" : "下拉列表框(动态代码表国际化)", "name" : "下拉列表框(动态代码表国际化)",
"styleCode" : "DYNAMIC", "styleCode" : "DYNAMIC",
"replaceDefault" : false "replaceDefault" : false
}, {
"codeName" : "DepartmentHeads",
"dynaModelFilePath" : "PSSYSEDITORSTYLES/DepartmentHeads.json",
"editorHeight" : -1.0,
"editorType" : "PICKER",
"editorWidth" : -1.0,
"name" : "【选项列表】部门领导",
"styleCode" : "COMMONMICROCOM",
"replaceDefault" : false
}, { }, {
"codeName" : "Auto12", "codeName" : "Auto12",
"dynaModelFilePath" : "PSSYSEDITORSTYLES/Auto12.json", "dynaModelFilePath" : "PSSYSEDITORSTYLES/Auto12.json",
......
...@@ -1160,7 +1160,7 @@ ...@@ -1160,7 +1160,7 @@
<!--输出实体[IBIZSAMPLE0021]数据结构 --> <!--输出实体[IBIZSAMPLE0021]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizsample0021-143-39"> <changeSet author="a_LAB01_df847bdfd" id="tab-ibizsample0021-144-39">
<createTable tableName="T_IBIZSAMPLE0021"> <createTable tableName="T_IBIZSAMPLE0021">
<column name="IBIZSAMPLE0021ID" remarks="" type="VARCHAR(100)"> <column name="IBIZSAMPLE0021ID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_IBIZSAMPLE0021_IBIZSAMPLE00"/> <constraints primaryKey="true" primaryKeyName="PK_IBIZSAMPLE0021_IBIZSAMPLE00"/>
......
...@@ -8119,6 +8119,20 @@ ...@@ -8119,6 +8119,20 @@
"key_field":0, "key_field":0,
"show_order":1000, "show_order":1000,
"major_field":0 "major_field":0
},
{
"fieldname":"DEPTHEADS" ,
"codename":"DeptHeads",
"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":[ "subEntitys":[
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册