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

lab_gzf 发布系统代码

上级 b8968545
......@@ -116,7 +116,7 @@ export class DatePanelEditFormBase extends EditFormControlBase {
* @memberof DatePanelEditFormBase
*/
public detailsModel: any = {
button1: new FormButtonModel({ caption: '头信息编辑', detailType: 'BUTTON', name: 'button1', visible: true, isShowCaption: true, form: this, uiaction: { type: 'DEUIACTION', tag: 'OpenEdit_DataPanel', actiontarget: 'SINGLEKEY' } }),
button1: new FormButtonModel({ caption: '头信息编辑', detailType: 'BUTTON', name: 'button1', visible: true, isShowCaption: false, form: this, uiaction: { type: 'DEUIACTION', tag: 'OpenEdit_DataPanel', actiontarget: 'SINGLEKEY' } }),
grouppanel1: new FormGroupPanelModel({ caption: '分组面板', detailType: 'GROUPPANEL', name: 'grouppanel1', visible: true, isShowCaption: false, form: this, uiActionGroup: { caption: '', langbase: 'entities.contact.datepanel_form', extractMode: 'ITEM', details: [] } }),
......
......@@ -33,7 +33,7 @@
<i-button type="primary" @click="button1_click($event)"
style="">
<span >{{$t('entities.contact.datepanel_form.details.button1')}}</span>
</i-button>
</div>
......
......@@ -35,7 +35,7 @@
</div>
<div v-show="detailsModel.grouppanel1.visible" :style="{}">
<app-form-group layoutType="FLEX" titleStyle="" class='' :uiActionGroup="detailsModel.grouppanel1.uiActionGroup" @groupuiactionclick="groupUIActionClick($event)" :caption="$t('entities.lead.datapanel_form.details.grouppanel1')" :isShowCaption="false" uiStyle="DEFAULT" :titleBarCloseMode="0" :isInfoGroupMode="true" >
<div style="height: 100%;display: flex;">
<div style="height: 100%;display: flex;align-items: center;">
<div v-show="detailsModel.button1.visible" :style="{}">
<i-button type="primary" @click="button1_click($event)"
style="">
......
......@@ -157,6 +157,42 @@ export class QuickCreateEditFormBase extends EditFormControlBase {
};
/**
* 表单逻辑
*
* @param {{ name: string, newVal: any, oldVal: any }} { name, newVal, oldVal }
* @memberof QuickCreateEditFormBase
*/
public formLogic({ name, newVal, oldVal }: { name: string, newVal: any, oldVal: any }): void {
if (Object.is(name, 'owneridyominame')) {
const details: string[] = [];
this.updateFormItems('FillOwn', this.data, details, true);
}
}
/**
* 新建默认值
* @memberof QuickCreateEditFormBase
......
......@@ -33,7 +33,7 @@
deKeyField='multipickdata'
:service="service"
:acParams="{ serviceName: 'MultiPickDataService', interfaceName: 'FetchAC'}"
valueitem='ownerid'
valueitem=''
:value="data.owneridyominame"
editortype=""
:pickupView="{ viewname: 'multi-pick-data-ac', title: $t('entities.multipickdata.views.ac.title'), deResParameters: [], parameters: [{ pathName: 'multipickdata', parameterName: 'multipickdata' }, { pathName: 'ac', parameterName: 'ac' } ], width: 1024, placement:'' }"
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册