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

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

上级 c1413e9d
......@@ -526,7 +526,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public load(data: any): void {
if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr2MEditView9_layout' + (this.$t('app.multiEditView.notConfig.fetchAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKMEditView9' + (this.$t('app.multiEditView.notConfig.fetchAction') as string) });
return;
}
let arg: any = {};
......@@ -561,7 +561,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public handleAdd(){
if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr2MEditView9_layout' + (this.$t('app.multiEditView.notConfig.loaddraftAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKMEditView9' + (this.$t('app.multiEditView.notConfig.loaddraftAction') as string) });
return;
}
const promice: Promise<any> = this.service.loadDraft(this.loaddraftAction,JSON.parse(JSON.stringify(this.context)),{viewparams:this.viewparams}, this.showBusyIndicator);
......
......@@ -11,7 +11,7 @@ export default class Usr2Model {
* 获取数据项集合
*
* @returns {any[]}
* @memberof Usr2Dataviewexpbar_dataviewMode
* @memberof Usr2DataViewMode
*/
public getDataItems(): any[] {
return [
......@@ -43,6 +43,17 @@ export default class Usr2Model {
dataType: 'FONTKEY',
},
{
name: 'n_ibizbookname_like',
prop: 'n_ibizbookname_like',
dataType: 'QUERYPARAM'
},
{
name: 'n_price_gtandeq',
prop: 'n_price_gtandeq',
dataType: 'QUERYPARAM'
},
{
name:'size',
......
......@@ -601,7 +601,7 @@ export default class ListExpBase extends Vue implements ControlInterface {
*/
public async load(opt: any = {}): Promise<any> {
if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderListExpView_layout' + (this.$t('app.list.notConfig.fetchAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderListExpView' + (this.$t('app.list.notConfig.fetchAction') as string) });
return;
}
const arg: any = {...opt};
......@@ -731,7 +731,7 @@ export default class ListExpBase 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: 'IBIZOrderListExpView_layout' + (this.$t('app.list.notConfig.removeAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderListExpView' + (this.$t('app.list.notConfig.removeAction') as string) });
return;
}
if (datas.length === 0) {
......@@ -836,7 +836,7 @@ export default class ListExpBase 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: 'IBIZOrderListExpView_layout' + (this.$t('app.list.notConfig.createAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderListExpView' + (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);
......@@ -844,7 +844,7 @@ export default class ListExpBase extends Vue implements ControlInterface {
}
}else if(Object.is(item.rowDataState, 'update')){
if(!this.updateAction){
this.$Notice.error({ title: (this.$t('app.commonWords.warning') as string), desc: 'IBIZOrderListExpView_layout' + (this.$t('app.list.notConfig.updateAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.warning') as string), desc: 'IBIZOrderListExpView' + (this.$t('app.list.notConfig.updateAction') as string) });
}else{
Object.assign(item,{viewparams:this.viewparams});
if(item.ibizorder){
......
......@@ -237,6 +237,41 @@
"tableType" : "MAIN"
} ],
"getAllPSDEDataQueries" : [ {
"getAllPSDEDataQueryCodes" : [ {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZSample0023/PSDEDATAQUERIES/ALL/PSDEDQCODES/MYSQL5.json"
} ],
"codeName" : "ALL",
"logicName" : "ALL",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZSAMPLE0023/psdedataqueries/ALL",
"name" : "ALL",
"getPSDEDQMain" : {
"getJoinPSDataEntity" : {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZSample0023.json"
},
"joinType" : "MAIN",
"name" : "IBIZSAMPLE0023"
},
"getPSDEDataQueryInput" : {
"name" : "ALLInput",
"getPSDEFilterDTO" : {
"modelref" : true,
"id" : "IBIZSample0023FilterDTO"
},
"type" : "DTO"
},
"getPSDEDataQueryReturn" : {
"name" : "ALLResult",
"getPSDEMethodDTO" : {
"modelref" : true,
"id" : "IBIZSample0023DTO"
},
"type" : "DTOS"
},
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZSAMPLE0023/psdedataqueries/ALL",
"viewLevel" : 0
}, {
"getAllPSDEDataQueryCodes" : [ {
"modelref" : true,
"path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZSample0023/PSDEDATAQUERIES/DER11/PSDEDQCODES/MYSQL5.json"
......@@ -388,6 +423,35 @@
"viewLevel" : 0
} ],
"getAllPSDEDataSets" : [ {
"codeName" : "ALL",
"logicName" : "ALL",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZSAMPLE0023/psdedatasets/ALL",
"name" : "ALL",
"getPSDEDataQueries" : [ {
"modelref" : true,
"id" : "ALL"
} ],
"getPSDEDataSetInput" : {
"name" : "ALLInput",
"getPSDEFilterDTO" : {
"modelref" : true,
"id" : "IBIZSample0023FilterDTO"
},
"type" : "DTO"
},
"getPSDEDataSetReturn" : {
"name" : "ALLResult",
"getPSDEMethodDTO" : {
"modelref" : true,
"id" : "IBIZSample0023DTO"
},
"type" : "PAGE"
},
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZSAMPLE0023/psdedatasets/ALL",
"viewLevel" : 0,
"enableBackend" : true,
"enableFront" : true
}, {
"codeName" : "DER11",
"logicName" : "只包含1:1",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZSAMPLE0023/psdedatasets/DER11",
......@@ -503,6 +567,30 @@
"stringLength" : 1048576,
"enableUserInsert" : true,
"enableUserUpdate" : true
}, {
"codeName" : "IBIZSample0023Id",
"getLNPSLanguageRes" : {
"defaultContent" : "头数据标识",
"lanResTag" : "DEF.LNAME.IBIZSAMPLE0023ID",
"lanResType" : "DEF.LNAME",
"mOSFilePath" : "pslanguageres/Aa0a3b07dd7cdc770dc",
"name" : "属性逻辑名称(DEF.LNAME.*)[IBIZSAMPLE0023ID]",
"rTMOSFilePath" : "pslanguageres/Aa0a3b07dd7cdc770dc",
"refFlag" : true
},
"logicName" : "头数据标识",
"mOSFilePath" : "psdefgroupdetails/IBIZSample0023Id",
"name" : "IBIZSAMPLE0023ID",
"orderValue" : 1000,
"getPSDEField" : {
"name" : "IBIZSAMPLE0023ID",
"codeName" : "IBIZSample0023Id"
},
"rTMOSFilePath" : "psdefgroupdetails/IBIZSample0023Id",
"stringLength" : 100,
"allowEmpty" : false,
"enableUserInsert" : true,
"enableUserUpdate" : true
} ],
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZSAMPLE0023/psdefgroups/DER11"
}, {
......@@ -525,6 +613,30 @@
"stringLength" : 1048576,
"enableUserInsert" : true,
"enableUserUpdate" : true
}, {
"codeName" : "IBIZSample0023Id",
"getLNPSLanguageRes" : {
"defaultContent" : "头数据标识",
"lanResTag" : "DEF.LNAME.IBIZSAMPLE0023ID",
"lanResType" : "DEF.LNAME",
"mOSFilePath" : "pslanguageres/Aa0a3b07dd7cdc770dc",
"name" : "属性逻辑名称(DEF.LNAME.*)[IBIZSAMPLE0023ID]",
"rTMOSFilePath" : "pslanguageres/Aa0a3b07dd7cdc770dc",
"refFlag" : true
},
"logicName" : "头数据标识",
"mOSFilePath" : "psdefgroupdetails/IBIZSample0023Id",
"name" : "IBIZSAMPLE0023ID",
"orderValue" : 1000,
"getPSDEField" : {
"name" : "IBIZSAMPLE0023ID",
"codeName" : "IBIZSample0023Id"
},
"rTMOSFilePath" : "psdefgroupdetails/IBIZSample0023Id",
"stringLength" : 100,
"allowEmpty" : false,
"enableUserInsert" : true,
"enableUserUpdate" : true
} ],
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZSAMPLE0023/psdefgroups/DER1N"
} ],
......@@ -1627,6 +1739,19 @@
"sourceType" : "DEFGROUPDETAIL",
"stringLength" : 1048576,
"type" : "DTO"
}, {
"logicName" : "头数据标识",
"name" : "IBIZSample0023Id",
"getPSDEField" : {
"name" : "IBIZSAMPLE0023ID",
"codeName" : "IBIZSample0023Id"
},
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZSAMPLE0023/psdemethoddtos/IBIZSample0023DER11DTO/psdemethoddtofields/IBIZSample0023Id",
"sourceType" : "DEFGROUPDETAIL",
"stdDataType" : 25,
"stringLength" : 100,
"type" : "SIMPLE",
"allowEmpty" : false
} ],
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZSAMPLE0023/psdemethoddtos/IBIZSample0023DER11DTO",
"sourceType" : "DE",
......@@ -1656,6 +1781,19 @@
"sourceType" : "DEFGROUPDETAIL",
"stringLength" : 1048576,
"type" : "DTOS"
}, {
"logicName" : "头数据标识",
"name" : "IBIZSample0023Id",
"getPSDEField" : {
"name" : "IBIZSAMPLE0023ID",
"codeName" : "IBIZSample0023Id"
},
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZSAMPLE0023/psdemethoddtos/IBIZSample0023DER1NDTO/psdemethoddtofields/IBIZSample0023Id",
"sourceType" : "DEFGROUPDETAIL",
"stdDataType" : 25,
"stringLength" : 100,
"type" : "SIMPLE",
"allowEmpty" : false
} ],
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZSAMPLE0023/psdemethoddtos/IBIZSample0023DER1NDTO",
"sourceType" : "DE",
......
{
"dBType" : "MYSQL5",
"mOSFilePath" : "psmodules/Sample/psdataentities/IBIZSAMPLE0023/psdedataqueries/ALL/psdedqcodes/MYSQL5",
"name" : "MySQL5",
"getPSDEDataQueryCodeExps" : [ {
"expression" : "t1.`CREATEDATE`",
"name" : "CREATEDATE"
}, {
"expression" : "t1.`CREATEMAN`",
"name" : "CREATEMAN"
}, {
"expression" : "t1.`FIELD24`",
"name" : "FIELD24"
}, {
"expression" : "t1.`FIELDEXT`",
"name" : "FIELDEXT"
}, {
"expression" : "t1.`IBIZSAMPLE0023ID`",
"name" : "IBIZSAMPLE0023ID"
}, {
"expression" : "t1.`IBIZSAMPLE0023NAME`",
"name" : "IBIZSAMPLE0023NAME"
}, {
"expression" : "t1.`UPDATEDATE`",
"name" : "UPDATEDATE"
}, {
"expression" : "t1.`UPDATEMAN`",
"name" : "UPDATEMAN"
} ],
"queryCode" : "SELECT\nt1.`CREATEDATE`,\nt1.`CREATEMAN`,\nt1.`FIELD24`,\nt1.`FIELDEXT`,\nt1.`IBIZSAMPLE0023ID`,\nt1.`IBIZSAMPLE0023NAME`,\nt1.`UPDATEDATE`,\nt1.`UPDATEMAN`\nFROM `T_IBIZSAMPLE0023` t1 \n",
"rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZSAMPLE0023/psdedataqueries/ALL/psdedqcodes/MYSQL5",
"id" : "PSMODULES/Sample/PSDATAENTITIES/IBIZSample0023/PSDEDATAQUERIES/ALL/PSDEDQCODES/MYSQL5.json"
}
\ No newline at end of file
......@@ -23,6 +23,18 @@
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"mOSFilePath" : "psdetreecols/author",
"name" : "author",
"rTMOSFilePath" : "psdetreecols/author",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "出版社",
"codeName" : "press",
......@@ -47,18 +59,6 @@
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"mOSFilePath" : "psdetreecols/author",
"name" : "author",
"rTMOSFilePath" : "psdetreecols/author",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
......
......@@ -20,13 +20,13 @@
}
} ],
"getPSDETreeColumns" : [ {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"caption" : "图书描述",
"codeName" : "subtext",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"mOSFilePath" : "psdetreecols/ibizbookname",
"name" : "ibizbookname",
"rTMOSFilePath" : "psdetreecols/ibizbookname",
"dataItemName" : "subtext",
"mOSFilePath" : "psdetreecols/subtext",
"name" : "subtext",
"rTMOSFilePath" : "psdetreecols/subtext",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
......@@ -44,13 +44,13 @@
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书描述",
"codeName" : "subtext",
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "subtext",
"mOSFilePath" : "psdetreecols/subtext",
"name" : "subtext",
"rTMOSFilePath" : "psdetreecols/subtext",
"dataItemName" : "ibizbookname",
"mOSFilePath" : "psdetreecols/ibizbookname",
"name" : "ibizbookname",
"rTMOSFilePath" : "psdetreecols/ibizbookname",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
......
......@@ -57,6 +57,18 @@
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"mOSFilePath" : "psdetreecols/author",
"name" : "author",
"rTMOSFilePath" : "psdetreecols/author",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "出版社",
"codeName" : "press",
......@@ -81,18 +93,6 @@
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"mOSFilePath" : "psdetreecols/author",
"name" : "author",
"rTMOSFilePath" : "psdetreecols/author",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
......
......@@ -100,13 +100,13 @@
"id" : "TREEGRIDEX"
},
"getPSDETreeColumns" : [ {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"caption" : "图书描述",
"codeName" : "subtext",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"mOSFilePath" : "psdetreecols/ibizbookname",
"name" : "ibizbookname",
"rTMOSFilePath" : "psdetreecols/ibizbookname",
"dataItemName" : "subtext",
"mOSFilePath" : "psdetreecols/subtext",
"name" : "subtext",
"rTMOSFilePath" : "psdetreecols/subtext",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
......@@ -124,13 +124,13 @@
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书描述",
"codeName" : "subtext",
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "subtext",
"mOSFilePath" : "psdetreecols/subtext",
"name" : "subtext",
"rTMOSFilePath" : "psdetreecols/subtext",
"dataItemName" : "ibizbookname",
"mOSFilePath" : "psdetreecols/ibizbookname",
"name" : "ibizbookname",
"rTMOSFilePath" : "psdetreecols/ibizbookname",
"width" : 50,
"widthUnit" : "px",
"enableExpand" : false,
......
......@@ -11535,6 +11535,36 @@
"requestPath" : "/save",
"uniqueTag" : "IBIZSAMPLE0023__DEACTION__SAVE",
"needResourceKey" : true
}, {
"codeName" : "FetchALL",
"dataAccessAction" : "READ",
"methodType" : "FETCH",
"name" : "FetchALL",
"getPSDEDataSet" : {
"modelref" : true,
"id" : "ALL"
},
"getPSDEServiceAPIMethodInput" : {
"name" : "输入对象",
"getPSDEMethodDTO" : {
"modelref" : true,
"id" : "IBIZSample0023FilterDTO"
},
"type" : "DTO"
},
"getPSDEServiceAPIMethodReturn" : {
"name" : "返回对象",
"getPSDEMethodDTO" : {
"modelref" : true,
"id" : "IBIZSample0023DTO"
},
"type" : "PAGE"
},
"rTMOSFilePath" : "pssysserviceapis/DemoAPI/psdeserviceapis/IBIZSample0023/psdesadetails/FetchALL",
"requestMethod" : "GET",
"requestParamType" : "URIPARAM",
"requestPath" : "/fetchall",
"uniqueTag" : "IBIZSAMPLE0023__FETCH__ALL"
}, {
"codeName" : "FetchDER11",
"dataAccessAction" : "READ",
......@@ -1239,7 +1239,7 @@
<!--输出实体[IBIZSAMPLE0023]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizsample0023-5-40">
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizsample0023-17-40">
<createTable tableName="T_IBIZSAMPLE0023">
<column name="IBIZSAMPLE0023ID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_IBIZSAMPLE0023_IBIZSAMPLE00"/>
......@@ -1265,7 +1265,7 @@
<!--输出实体[IBIZSAMPLE0023EXT2]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizsample0023ext2-17-41">
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizsample0023ext2-18-41">
<createTable tableName="T_IBIZSAMPLE0023EXT2">
<column name="IBIZSAMPLE0023EXT2NAME" remarks="" type="VARCHAR(200)">
</column>
......@@ -1289,7 +1289,7 @@
<!--输出实体[IBIZSAMPLE0026]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizsample0026-7-42">
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizsample0026-11-42">
<createTable tableName="T_IBIZSAMPLE0026">
<column name="IBIZSAMPLE0026NAME" remarks="" type="VARCHAR(200)">
</column>
......@@ -1623,7 +1623,7 @@
<!--输出实体[IBIZSAMPLE0023]外键关系 -->
<!--输出实体[IBIZSAMPLE0023EXT2]外键关系 -->
<!--输出实体[IBIZSAMPLE0026]外键关系 -->
<changeSet author="a_LAB01_df847bdfd" id="fk-ibizsample0026-7-55">
<changeSet author="a_LAB01_df847bdfd" id="fk-ibizsample0026-11-55">
<addForeignKeyConstraint baseColumnNames="IBIZSAMPLE0023ID" baseTableName="T_IBIZSAMPLE0026" constraintName="DER1N_IBIZSAMPLE0026_IBIZSAMPL" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="IBIZSAMPLE0023ID" referencedTableName="T_IBIZSAMPLE0023" validate="true"/>
</changeSet>
<!--输出实体[IBIZSOFTWARESUIT]外键关系 -->
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册