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

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

上级 9cf144b2
......@@ -670,7 +670,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
*/
public load(opt: any = {}): void {
if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCalendarView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKListView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -706,7 +706,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
*/
public async loadDraft(opt: any = {},mode?:string): Promise<any> {
if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCalendarView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKListView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return;
}
const arg: any = { ...opt } ;
......
......@@ -8,6 +8,21 @@
<i-col v-show="detailsModel.deptheads.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='deptheads' :itemRules="this.rules().deptheads" class='' :caption="$t('entities.ibizsample0021.start001_form.details.deptheads')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.deptheads.error" :isEmptyCaption="false" labelPos="LEFT">
<app-group-select
name="deptheads"
:value='data.deptheads'
valueitem="deptheadsid"
url="/sysorganizations/${selected-orgid}/sysemployees/picker"
treeurl="/sysorganizations/${orgid}/suborg/picker"
:multiple="false"
filter="srforgid"
:fillmap="{'id':'deptheadsid','label':'deptheads'}"
:disabled="detailsModel.deptheads.disabled"
:data="data"
:context="context"
@formitemvaluechange="onFormItemValueChange">
</app-group-select>
</app-form-item>
......
......@@ -123,13 +123,13 @@
"getPSEditor" : {
"editorParams" : {
"multiple" : "false",
"url" : "/wfcore/wfgroups/DepartmentHeads/wfmembers/fetchdefault?n_mdeptid_eq=${srforgsectorid}&sort=showorder,asc",
"url" : "/sysorganizations/${selected-orgid}/sysemployees/picker",
"filter" : "srforgid",
"treeurl" : "/sysorganizations/${orgid}/suborg/picker",
"AC" : "TRUE",
"fillMap" : "{id:'userid',label:'personname'}",
"PICKUPVIEW" : "TRUE",
"REALSTYLECODE" : "COMMONMICROCOM"
"PICKUPVIEW" : "TRUE"
},
"editorStyle" : "COMMONMICROCOM",
"editorStyle" : "ALLEMPSELECT",
"editorType" : "PICKER",
"handlerType" : "PickupText",
"name" : "deptheads",
......
......@@ -237,13 +237,13 @@
"getPSEditor" : {
"editorParams" : {
"multiple" : "false",
"url" : "/wfcore/wfgroups/DepartmentHeads/wfmembers/fetchdefault?n_mdeptid_eq=${srforgsectorid}&sort=showorder,asc",
"url" : "/sysorganizations/${selected-orgid}/sysemployees/picker",
"filter" : "srforgid",
"treeurl" : "/sysorganizations/${orgid}/suborg/picker",
"AC" : "TRUE",
"fillMap" : "{id:'userid',label:'personname'}",
"PICKUPVIEW" : "TRUE",
"REALSTYLECODE" : "COMMONMICROCOM"
"PICKUPVIEW" : "TRUE"
},
"editorStyle" : "COMMONMICROCOM",
"editorStyle" : "ALLEMPSELECT",
"editorType" : "PICKER",
"handlerType" : "PickupText",
"name" : "deptheads",
......@@ -804,13 +804,13 @@
"getPSEditor" : {
"editorParams" : {
"multiple" : "false",
"url" : "/wfcore/wfgroups/DepartmentHeads/wfmembers/fetchdefault?n_mdeptid_eq=${srforgsectorid}&sort=showorder,asc",
"url" : "/sysorganizations/${selected-orgid}/sysemployees/picker",
"filter" : "srforgid",
"treeurl" : "/sysorganizations/${orgid}/suborg/picker",
"AC" : "TRUE",
"fillMap" : "{id:'userid',label:'personname'}",
"PICKUPVIEW" : "TRUE",
"REALSTYLECODE" : "COMMONMICROCOM"
"PICKUPVIEW" : "TRUE"
},
"editorStyle" : "COMMONMICROCOM",
"editorStyle" : "ALLEMPSELECT",
"editorType" : "PICKER",
"handlerType" : "PickupText",
"name" : "deptheads",
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册