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

xignzi006 发布系统代码

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