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

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

上级 7f406ad6
...@@ -109,13 +109,15 @@ export default { ...@@ -109,13 +109,15 @@ export default {
srfdeid: "", srfdeid: "",
srfsourcekey: "", srfsourcekey: "",
pibizsample0003name: "上级", pibizsample0003name: "上级",
field01: "FIELD01",
ibizsample0003name: "名称", ibizsample0003name: "名称",
ibizsample0003id: "IBIZSAMPLE0003标识",
memo: "备注",
pibizsample0003id: "IBIZSAMPLE0003标识",
createman: "建立人", createman: "建立人",
createdate: "建立时间", createdate: "建立时间",
updateman: "更新人", updateman: "更新人",
updatedate: "更新时间", updatedate: "更新时间",
pibizsample0003id: "IBIZSAMPLE0003标识",
ibizsample0003id: "IBIZSAMPLE0003标识",
}, },
uiactions: { uiactions: {
}, },
......
...@@ -108,13 +108,15 @@ export default { ...@@ -108,13 +108,15 @@ export default {
srfdeid: "", srfdeid: "",
srfsourcekey: "", srfsourcekey: "",
pibizsample0003name: "上级", pibizsample0003name: "上级",
field01: "FIELD01",
ibizsample0003name: "名称", ibizsample0003name: "名称",
ibizsample0003id: "IBIZSAMPLE0003标识",
memo: "备注",
pibizsample0003id: "IBIZSAMPLE0003标识",
createman: "建立人", createman: "建立人",
createdate: "建立时间", createdate: "建立时间",
updateman: "更新人", updateman: "更新人",
updatedate: "更新时间", updatedate: "更新时间",
pibizsample0003id: "IBIZSAMPLE0003标识",
ibizsample0003id: "IBIZSAMPLE0003标识",
}, },
uiactions: { uiactions: {
}, },
......
...@@ -60,11 +60,31 @@ export default class MainModel { ...@@ -60,11 +60,31 @@ export default class MainModel {
prop: 'pibizsample0003name', prop: 'pibizsample0003name',
dataType: 'PICKUPTEXT', dataType: 'PICKUPTEXT',
}, },
{
name: 'field01',
prop: 'field01',
dataType: 'TEXT',
},
{ {
name: 'ibizsample0003name', name: 'ibizsample0003name',
prop: 'ibizsample0003name', prop: 'ibizsample0003name',
dataType: 'TEXT', dataType: 'TEXT',
}, },
{
name: 'ibizsample0003id',
prop: 'ibizsample0003id',
dataType: 'GUID',
},
{
name: 'memo',
prop: 'memo',
dataType: 'LONGTEXT_1000',
},
{
name: 'pibizsample0003id',
prop: 'pibizsample0003id',
dataType: 'PICKUP',
},
{ {
name: 'createman', name: 'createman',
prop: 'createman', prop: 'createman',
...@@ -85,16 +105,6 @@ export default class MainModel { ...@@ -85,16 +105,6 @@ export default class MainModel {
prop: 'updatedate', prop: 'updatedate',
dataType: 'DATETIME', dataType: 'DATETIME',
}, },
{
name: 'pibizsample0003id',
prop: 'pibizsample0003id',
dataType: 'PICKUP',
},
{
name: 'ibizsample0003id',
prop: 'ibizsample0003id',
dataType: 'GUID',
},
{ {
name: 'ibizsample0003', name: 'ibizsample0003',
prop: 'ibizsample0003id', prop: 'ibizsample0003id',
......
...@@ -175,6 +175,7 @@ export default class MainService extends ControlService { ...@@ -175,6 +175,7 @@ export default class MainService extends ControlService {
@Errorlog @Errorlog
public add(action: string, context: any = {},data: any = {}, isloading?: boolean,isWorkflow?:boolean): Promise<any> { public add(action: string, context: any = {},data: any = {}, isloading?: boolean,isWorkflow?:boolean): Promise<any> {
const {data:Data,context:Context} = this.handleRequestData(action,context,data); const {data:Data,context:Context} = this.handleRequestData(action,context,data);
Object.assign(Data,{ibizsample0003id: data.ibizsample0003id, srffrontuf: '1'});
return new Promise((resolve: any, reject: any) => { return new Promise((resolve: any, reject: any) => {
let result: Promise<any>; let result: Promise<any>;
const _appEntityService: any = this.appEntityService; const _appEntityService: any = this.appEntityService;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册