提交 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,24 +884,106 @@ export default class IBIZSample0021Usr1114433946WFDynaEditViewBase extends Vue { ...@@ -862,24 +884,106 @@ 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}`]) {
let tempContext: any = Util.deepCopy(this.context);
Object.assign(tempContext,{ibizsample0021:datas && datas[0].srfkey}); Object.assign(tempContext,{ibizsample0021:datas && datas[0].srfkey});
let tempViewParam:any = {actionView:linkItem.sequenceflowview,actionForm:linkItem.sequenceflowform}; let tempViewParam: any = { actionView: linkItem.sequenceflowview, actionForm: linkItem.sequenceflowform };
let targetView:any = this.viewRefData[`WFACTION@${linkItem.sequenceflowview}`]; 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); 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) => { appmodal.subscribe((result: any) => {
if (!result || !Object.is(result.ret, 'OK')) { if (!result || !Object.is(result.ret, 'OK')) {
return; return;
} }
let tempSubmitData:any = Util.deepCopy(datas); let tempSubmitData: any = Util.deepCopy(datas);
tempSubmitData.forEach((element:any) => { tempSubmitData.forEach((element: any) => {
Object.assign(element,result.datas && result.datas[0]); Object.assign(element, result.datas && result.datas[0]);
}); });
submit(tempSubmitData,linkItem); submit(tempSubmitData, linkItem);
}); });
}else{ } else {
submit(datas,linkItem); 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;
}
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}暂未实现` });
} }
} }
......
...@@ -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,24 +1067,106 @@ export default class IBIZSample0021WFDynaEditViewBase extends Vue { ...@@ -1045,24 +1067,106 @@ 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}`]) {
let tempContext: any = Util.deepCopy(this.context);
Object.assign(tempContext,{ibizsample0021:datas && datas[0].srfkey}); Object.assign(tempContext,{ibizsample0021:datas && datas[0].srfkey});
let tempViewParam:any = {actionView:linkItem.sequenceflowview,actionForm:linkItem.sequenceflowform}; let tempViewParam: any = { actionView: linkItem.sequenceflowview, actionForm: linkItem.sequenceflowform };
let targetView:any = this.viewRefData[`WFACTION@${linkItem.sequenceflowview}`]; 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); 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) => { appmodal.subscribe((result: any) => {
if (!result || !Object.is(result.ret, 'OK')) { if (!result || !Object.is(result.ret, 'OK')) {
return; return;
} }
let tempSubmitData:any = Util.deepCopy(datas); let tempSubmitData: any = Util.deepCopy(datas);
tempSubmitData.forEach((element:any) => { tempSubmitData.forEach((element: any) => {
Object.assign(element,result.datas && result.datas[0]); Object.assign(element, result.datas && result.datas[0]);
}); });
submit(tempSubmitData,linkItem); submit(tempSubmitData, linkItem);
}); });
}else{ } else {
submit(datas,linkItem); 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;
}
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 { ...@@ -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 } ;
......
...@@ -48,18 +48,18 @@ ...@@ -48,18 +48,18 @@
<div v-show="flag" class="batch-toolbar"> <div v-show="flag" class="batch-toolbar">
<div class='toolbar-container'> <div class='toolbar-container'>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="usr2dataviewdataview_batchtoolbarModels.deuiaction1.visabled" :disabled="usr2dataviewdataview_batchtoolbarModels.deuiaction1.disabled" class='' v-button-loading:i-button @click="dataview_batchtoolbar_click({ tag: 'deuiaction1' }, $event)"> <i-button v-show="dataviewexpviewdataviewexpbar_dataview_batchtoolbarModels.deuiaction1.visabled" :disabled="dataviewexpviewdataviewexpbar_dataview_batchtoolbarModels.deuiaction1.disabled" class='' v-button-loading:i-button @click="dataviewexpbar_dataview_batchtoolbar_click({ tag: 'deuiaction1' }, $event)">
<i class='fa fa-edit'></i> <i class='fa fa-edit'></i>
<span class='caption'>{{$t('entities.ibizbook.usr2dataviewdataview_batchtoolbar_toolbar.deuiaction1.caption')}}</span> <span class='caption'>{{$t('entities.ibizbook.dataviewexpviewdataviewexpbar_dataview_batchtoolbar_toolbar.deuiaction1.caption')}}</span>
</i-button> </i-button>
<div slot='content'>{{$t('entities.ibizbook.usr2dataviewdataview_batchtoolbar_toolbar.deuiaction1.tip')}}</div> <div slot='content'>{{$t('entities.ibizbook.dataviewexpviewdataviewexpbar_dataview_batchtoolbar_toolbar.deuiaction1.tip')}}</div>
</tooltip> </tooltip>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="usr2dataviewdataview_batchtoolbarModels.deuiaction2.visabled" :disabled="usr2dataviewdataview_batchtoolbarModels.deuiaction2.disabled" class='' v-button-loading:i-button @click="dataview_batchtoolbar_click({ tag: 'deuiaction2' }, $event)"> <i-button v-show="dataviewexpviewdataviewexpbar_dataview_batchtoolbarModels.deuiaction2.visabled" :disabled="dataviewexpviewdataviewexpbar_dataview_batchtoolbarModels.deuiaction2.disabled" class='' v-button-loading:i-button @click="dataviewexpbar_dataview_batchtoolbar_click({ tag: 'deuiaction2' }, $event)">
<i class='fa fa-remove'></i> <i class='fa fa-remove'></i>
<span class='caption'>{{$t('entities.ibizbook.usr2dataviewdataview_batchtoolbar_toolbar.deuiaction2.caption')}}</span> <span class='caption'>{{$t('entities.ibizbook.dataviewexpviewdataviewexpbar_dataview_batchtoolbar_toolbar.deuiaction2.caption')}}</span>
</i-button> </i-button>
<div slot='content'>{{$t('entities.ibizbook.usr2dataviewdataview_batchtoolbar_toolbar.deuiaction2.tip')}}</div> <div slot='content'>{{$t('entities.ibizbook.dataviewexpviewdataviewexpbar_dataview_batchtoolbar_toolbar.deuiaction2.tip')}}</div>
</tooltip> </tooltip>
</div> </div>
</div> </div>
...@@ -202,18 +202,18 @@ export default class Usr2Base extends Vue implements ControlInterface { ...@@ -202,18 +202,18 @@ export default class Usr2Base extends Vue implements ControlInterface {
public appEntityService: IBIZBOOKEntityService = new IBIZBOOKEntityService({ $store: this.$store }); public appEntityService: IBIZBOOKEntityService = new IBIZBOOKEntityService({ $store: this.$store });
/** /**
* dataview_batchtoolbar 部件 click 事件 * dataviewexpbar_dataview_batchtoolbar 部件 click 事件
* *
* @param {*} [args={}] * @param {*} [args={}]
* @param {*} $event * @param {*} $event
* @memberof Usr2Base * @memberof Usr2Base
*/ */
public dataview_batchtoolbar_click($event: any, $event2?: any) { public dataviewexpbar_dataview_batchtoolbar_click($event: any, $event2?: any) {
if (Object.is($event.tag, 'deuiaction1')) { if (Object.is($event.tag, 'deuiaction1')) {
this.dataview_batchtoolbar_deuiaction1_click(null, 'dataview_batchtoolbar', $event2); this.dataviewexpbar_dataview_batchtoolbar_deuiaction1_click(null, 'dataviewexpbar_dataview_batchtoolbar', $event2);
} }
if (Object.is($event.tag, 'deuiaction2')) { if (Object.is($event.tag, 'deuiaction2')) {
this.dataview_batchtoolbar_deuiaction2_click(null, 'dataview_batchtoolbar', $event2); this.dataviewexpbar_dataview_batchtoolbar_deuiaction2_click(null, 'dataviewexpbar_dataview_batchtoolbar', $event2);
} }
} }
...@@ -226,7 +226,7 @@ export default class Usr2Base extends Vue implements ControlInterface { ...@@ -226,7 +226,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
* @param {*} [$event] * @param {*} [$event]
* @memberof * @memberof
*/ */
public dataview_batchtoolbar_deuiaction1_click(params: any = {}, tag?: any, $event?: any) { public dataviewexpbar_dataview_batchtoolbar_deuiaction1_click(params: any = {}, tag?: any, $event?: any) {
// 参数 // 参数
// 取数 // 取数
let datas: any[] = []; let datas: any[] = [];
...@@ -254,7 +254,7 @@ export default class Usr2Base extends Vue implements ControlInterface { ...@@ -254,7 +254,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
* @param {*} [$event] * @param {*} [$event]
* @memberof * @memberof
*/ */
public dataview_batchtoolbar_deuiaction2_click(params: any = {}, tag?: any, $event?: any) { public dataviewexpbar_dataview_batchtoolbar_deuiaction2_click(params: any = {}, tag?: any, $event?: any) {
// 参数 // 参数
// 取数 // 取数
let datas: any[] = []; let datas: any[] = [];
...@@ -282,7 +282,7 @@ export default class Usr2Base extends Vue implements ControlInterface { ...@@ -282,7 +282,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
* @param {*} [$event] * @param {*} [$event]
* @memberof * @memberof
*/ */
public dataview_memo1_u37f11a8_click(params: any = {}, tag?: any, $event?: any) { public dataviewexpbar_dataview_memo1_u37f11a8_click(params: any = {}, tag?: any, $event?: any) {
// 取数 // 取数
let datas: any[] = []; let datas: any[] = [];
let xData: any = null; let xData: any = null;
...@@ -309,7 +309,7 @@ export default class Usr2Base extends Vue implements ControlInterface { ...@@ -309,7 +309,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
* @param {*} [$event] * @param {*} [$event]
* @memberof * @memberof
*/ */
public dataview_memo1_uc365542_click(params: any = {}, tag?: any, $event?: any) { public dataviewexpbar_dataview_memo1_uc365542_click(params: any = {}, tag?: any, $event?: any) {
// 取数 // 取数
let datas: any[] = []; let datas: any[] = [];
let xData: any = null; let xData: any = null;
...@@ -337,7 +337,7 @@ export default class Usr2Base extends Vue implements ControlInterface { ...@@ -337,7 +337,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
* @param {*} [$event] 事件源 * @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件 * @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文 * @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOKUsr2DataViewBase * @memberof IBIZBOOKDataViewExpViewBase
*/ */
public Edit(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) { public Edit(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
if (args.length === 0) { if (args.length === 0) {
...@@ -363,7 +363,7 @@ export default class Usr2Base extends Vue implements ControlInterface { ...@@ -363,7 +363,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
* @param {*} [$event] 事件源 * @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件 * @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文 * @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOKUsr2DataViewBase * @memberof IBIZBOOKDataViewExpViewBase
*/ */
public Remove(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) { public Remove(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this; const _this: any = this;
...@@ -427,6 +427,12 @@ export default class Usr2Base extends Vue implements ControlInterface { ...@@ -427,6 +427,12 @@ export default class Usr2Base extends Vue implements ControlInterface {
} }
let result: boolean = true; let result: boolean = true;
Object.assign(actionData, args); Object.assign(actionData, args);
if ('selectionchange'.indexOf(eventName) !== -1) {
result = await this.execute_dataviewexpbar_selectionchange_ctrl_logic(actionData) && result;
}
if ('load'.indexOf(eventName) !== -1) {
result = await this.execute_dataviewexpbar_load_ctrl_logic(actionData) && result;
}
if (!result) { if (!result) {
return false; return false;
} }
...@@ -434,6 +440,30 @@ export default class Usr2Base extends Vue implements ControlInterface { ...@@ -434,6 +440,30 @@ export default class Usr2Base extends Vue implements ControlInterface {
return true; return true;
} }
/**
* 部件逻辑 -- dataviewexpbar_selectionchange
*
* @param {string} eventName 部件事件名称
* @param {any[]} data 数据
* @param {*} event 源事件对象
* @memberof Usr2Base
*/
public async execute_dataviewexpbar_selectionchange_ctrl_logic(actionData: any): Promise<boolean> {
console.log('暂未支持 CUSTOM 类型');
return true;
}
/**
* 部件逻辑 -- dataviewexpbar_load
*
* @param {string} eventName 部件事件名称
* @param {any[]} data 数据
* @param {*} event 源事件对象
* @memberof Usr2Base
*/
public async execute_dataviewexpbar_load_ctrl_logic(actionData: any): Promise<boolean> {
console.log('暂未支持 CUSTOM 类型');
return true;
}
...@@ -678,9 +708,9 @@ export default class Usr2Base extends Vue implements ControlInterface { ...@@ -678,9 +708,9 @@ export default class Usr2Base extends Vue implements ControlInterface {
* 工具栏模型 * 工具栏模型
* *
* @type {*} * @type {*}
* @memberof IBIZBOOKUsr2DataView * @memberof IBIZBOOKDataViewExpView
*/ */
public usr2dataviewdataview_batchtoolbarModels: any = { public dataviewexpviewdataviewexpbar_dataview_batchtoolbarModels: any = {
deuiaction1: { name: 'deuiaction1', actiontarget: 'NONE', caption: '编辑', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Edit', target: 'SINGLEKEY' } }, deuiaction1: { name: 'deuiaction1', actiontarget: 'NONE', caption: '编辑', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Edit', target: 'SINGLEKEY' } },
deuiaction2: { name: 'deuiaction2', actiontarget: 'NONE', caption: '删除', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Remove', target: 'MULTIKEY' } }, deuiaction2: { name: 'deuiaction2', actiontarget: 'NONE', caption: '删除', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Remove', target: 'MULTIKEY' } },
...@@ -1005,7 +1035,7 @@ export default class Usr2Base extends Vue implements ControlInterface { ...@@ -1005,7 +1035,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
*/ */
public async load(opt: any = {}, isReset: boolean = false): Promise<any> { public async load(opt: any = {}, isReset: boolean = false): Promise<any> {
if(!this.fetchAction){ if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr2DataView' + (this.$t('app.list.notConfig.fetchAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKDataViewExpView' + (this.$t('app.list.notConfig.fetchAction') as string) });
return; return;
} }
const arg: any = {...opt}; const arg: any = {...opt};
...@@ -1100,7 +1130,7 @@ export default class Usr2Base extends Vue implements ControlInterface { ...@@ -1100,7 +1130,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
*/ */
public async remove(datas: any[]): Promise<any> { public async remove(datas: any[]): Promise<any> {
if(!this.removeAction){ if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr2DataView' + (this.$t('app.gridpage.notConfig.removeAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKDataViewExpView' + (this.$t('app.gridpage.notConfig.removeAction') as string) });
return; return;
} }
let _datas:any[] = []; let _datas:any[] = [];
...@@ -1217,7 +1247,7 @@ export default class Usr2Base extends Vue implements ControlInterface { ...@@ -1217,7 +1247,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
try { try {
if(Object.is(item.rowDataState, 'create')){ if(Object.is(item.rowDataState, 'create')){
if(!this.createAction){ if(!this.createAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr2DataView' + (this.$t('app.list.notConfig.createAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKDataViewExpView' + (this.$t('app.list.notConfig.createAction') as string) });
}else{ }else{
Object.assign(item,{viewparams:this.viewparams}); Object.assign(item,{viewparams:this.viewparams});
let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator); let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator);
...@@ -1225,7 +1255,7 @@ export default class Usr2Base extends Vue implements ControlInterface { ...@@ -1225,7 +1255,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
} }
}else if(Object.is(item.rowDataState, 'update')){ }else if(Object.is(item.rowDataState, 'update')){
if(!this.updateAction){ if(!this.updateAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr2DataView' + (this.$t('app.list.notConfig.updateAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKDataViewExpView' + (this.$t('app.list.notConfig.updateAction') as string) });
}else{ }else{
Object.assign(item,{viewparams:this.viewparams}); Object.assign(item,{viewparams:this.viewparams});
if(item.ibizbook){ if(item.ibizbook){
...@@ -1327,16 +1357,16 @@ export default class Usr2Base extends Vue implements ControlInterface { ...@@ -1327,16 +1357,16 @@ export default class Usr2Base extends Vue implements ControlInterface {
public uiAction(data: any, tag: any, $event: any) { public uiAction(data: any, tag: any, $event: any) {
$event.stopPropagation(); $event.stopPropagation();
if(Object.is('Edit', tag)) { if(Object.is('Edit', tag)) {
this.dataview_batchtoolbar_deuiaction1_click(data, tag, $event); this.dataviewexpbar_dataview_batchtoolbar_deuiaction1_click(data, tag, $event);
} }
if(Object.is('Remove', tag)) { if(Object.is('Remove', tag)) {
this.dataview_batchtoolbar_deuiaction2_click(data, tag, $event); this.dataviewexpbar_dataview_batchtoolbar_deuiaction2_click(data, tag, $event);
} }
if(Object.is('Edit', tag)) { if(Object.is('Edit', tag)) {
this.dataview_memo1_u37f11a8_click(data, tag, $event); this.dataviewexpbar_dataview_memo1_u37f11a8_click(data, tag, $event);
} }
if(Object.is('Remove', tag)) { if(Object.is('Remove', tag)) {
this.dataview_memo1_uc365542_click(data, tag, $event); this.dataviewexpbar_dataview_memo1_uc365542_click(data, tag, $event);
} }
} }
......
...@@ -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 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册