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

xignzi006 发布系统代码

上级 781c5f6b
...@@ -407,6 +407,7 @@ export default { ...@@ -407,6 +407,7 @@ export default {
info_datapanel_form: { info_datapanel_form: {
details: { details: {
button1: "头部信息编辑", button1: "头部信息编辑",
grouppanel1: "分组面板",
group1: "客户基本信息", group1: "客户基本信息",
formpage1: "基本信息", formpage1: "基本信息",
srfupdatedate: "更新时间", srfupdatedate: "更新时间",
......
...@@ -406,6 +406,7 @@ export default { ...@@ -406,6 +406,7 @@ export default {
info_datapanel_form: { info_datapanel_form: {
details: { details: {
button1: "头部信息编辑", button1: "头部信息编辑",
grouppanel1: "分组面板",
group1: "客户基本信息", group1: "客户基本信息",
formpage1: "基本信息", formpage1: "基本信息",
srfupdatedate: "更新时间", srfupdatedate: "更新时间",
......
import { Subject } from 'rxjs'; import { Subject } from 'rxjs';
import { TabExpViewBase } from '@/studio-core'; import { TabExpViewBase } from '@/studio-core';
import LeadService from '@/service/lead/lead-service'; import LeadService from '@/service/lead/lead-service';
import DataPanelEngine from '@engine/ctrl/data-panel-engine';
import TabExpViewEngine from '@engine/view/tab-exp-view-engine'; import TabExpViewEngine from '@engine/view/tab-exp-view-engine';
import LeadUIService from '@/uiservice/lead/lead-ui-service'; import LeadUIService from '@/uiservice/lead/lead-ui-service';
...@@ -139,6 +140,15 @@ export class LeadInfoBase extends TabExpViewBase { ...@@ -139,6 +140,15 @@ export class LeadInfoBase extends TabExpViewBase {
protected viewtag: string = '35728a12ceecb647982051842853547c'; protected viewtag: string = '35728a12ceecb647982051842853547c';
/**
* 视图引擎
*
* @public
* @type {Engine}
* @memberof LeadInfoBase
*/
public datapanel: DataPanelEngine = new DataPanelEngine();
/** /**
* 视图引擎 * 视图引擎
* *
...@@ -155,6 +165,12 @@ export class LeadInfoBase extends TabExpViewBase { ...@@ -155,6 +165,12 @@ export class LeadInfoBase extends TabExpViewBase {
* @memberof LeadInfoBase * @memberof LeadInfoBase
*/ */
public engineInit(): void { public engineInit(): void {
this.datapanel.init({
view: this,
keyPSDEField: 'lead',
majorPSDEField: 'fullname',
isLoadDefault: true,
});
this.engine.init({ this.engine.init({
view: this, view: this,
keyPSDEField: 'lead', keyPSDEField: 'lead',
......
...@@ -121,6 +121,8 @@ export class Info_DataPanelEditFormBase extends EditFormControlBase { ...@@ -121,6 +121,8 @@ export class Info_DataPanelEditFormBase extends EditFormControlBase {
public detailsModel: any = { public detailsModel: any = {
button1: new FormButtonModel({ caption: '头部信息编辑', detailType: 'BUTTON', name: 'button1', visible: true, isShowCaption: false, form: this, uiaction: { type: 'DEUIACTION', tag: 'Edit_DataPanel', actiontarget: 'SINGLEKEY' } }), button1: new FormButtonModel({ caption: '头部信息编辑', detailType: 'BUTTON', name: 'button1', visible: true, isShowCaption: false, form: this, uiaction: { type: 'DEUIACTION', tag: 'Edit_DataPanel', actiontarget: 'SINGLEKEY' } }),
grouppanel1: new FormGroupPanelModel({ caption: '分组面板', detailType: 'GROUPPANEL', name: 'grouppanel1', visible: true, isShowCaption: false, form: this, uiActionGroup: { caption: '', langbase: 'entities.account.info_datapanel_form', extractMode: 'ITEM', details: [] } }),
group1: new FormGroupPanelModel({ caption: '客户基本信息', detailType: 'GROUPPANEL', name: 'group1', visible: true, isShowCaption: false, form: this, uiActionGroup: { caption: '', langbase: 'entities.account.info_datapanel_form', extractMode: 'ITEM', details: [] } }), group1: new FormGroupPanelModel({ caption: '客户基本信息', detailType: 'GROUPPANEL', name: 'group1', visible: true, isShowCaption: false, form: this, uiActionGroup: { caption: '', langbase: 'entities.account.info_datapanel_form', extractMode: 'ITEM', details: [] } }),
formpage1: new FormPageModel({ caption: '基本信息', detailType: 'FORMPAGE', name: 'formpage1', visible: true, isShowCaption: true, form: this }), formpage1: new FormPageModel({ caption: '基本信息', detailType: 'FORMPAGE', name: 'formpage1', visible: true, isShowCaption: true, form: this }),
......
...@@ -47,8 +47,11 @@ ...@@ -47,8 +47,11 @@
</app-form-item> </app-form-item>
</div> </div>
<div v-show="detailsModel.button1.visible" :style="{}"> <div v-show="detailsModel.grouppanel1.visible" :style="{}">
<i-button type="primary" @click="button1_click($event)" class="vertical-align" <app-form-group layoutType="FLEX" titleStyle="" class=' vertical-align' :uiActionGroup="detailsModel.grouppanel1.uiActionGroup" @groupuiactionclick="groupUIActionClick($event)" :caption="$t('entities.account.info_datapanel_form.details.grouppanel1')" :isShowCaption="false" uiStyle="DEFAULT" :titleBarCloseMode="0" :isInfoGroupMode="true" >
<div style="height: 100%;display: flex;">
<div v-show="detailsModel.button1.visible" :style="{}">
<i-button type="primary" @click="button1_click($event)" class="no-border"
style=""> style="">
<i class="fa fa-angle-down" style="margin-right: 2px;"></i> <i class="fa fa-angle-down" style="margin-right: 2px;"></i>
...@@ -59,6 +62,11 @@ ...@@ -59,6 +62,11 @@
</div> </div>
</app-form-group> </app-form-group>
</div>
</div>
</app-form-group>
</i-col> </i-col>
......
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
color:rgba(209, 196, 233, 1);font-size:20px;font-weight:bold;margin:0px 10px 0px 0px;text-align:left color:rgba(209, 196, 233, 1);font-size:20px;font-weight:bold;margin:0px 10px 0px 0px;text-align:left
} }
.datapanel-label-style { .datapanel-label-style {
color:rgba(245, 244, 244, 1);font-size:12px;margin:0px 0px 0px 0px color:rgba(245, 244, 244, 1);font-size:12px;margin:0px 0px 0px 0px
} }
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册