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

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

上级 fa368d5c
...@@ -322,8 +322,7 @@ function getLocaleResourceBase(){ ...@@ -322,8 +322,7 @@ function getLocaleResourceBase(){
srfdeid: commonLogic.appcommonhandle("",null), srfdeid: commonLogic.appcommonhandle("",null),
srfsourcekey: commonLogic.appcommonhandle("",null), srfsourcekey: commonLogic.appcommonhandle("",null),
deptheads: commonLogic.appcommonhandle("部门领导",null), deptheads: commonLogic.appcommonhandle("部门领导",null),
srfwftransferor: commonLogic.appcommonhandle("部门领导",null), srfwftransferor: commonLogic.appcommonhandle("",null),
deptheadsid: commonLogic.appcommonhandle("部门领导",null),
ibizsample0021id: commonLogic.appcommonhandle("订单标识",null), ibizsample0021id: commonLogic.appcommonhandle("订单标识",null),
}, },
uiactions: { uiactions: {
...@@ -342,8 +341,7 @@ function getLocaleResourceBase(){ ...@@ -342,8 +341,7 @@ function getLocaleResourceBase(){
srfdeid: commonLogic.appcommonhandle("",null), srfdeid: commonLogic.appcommonhandle("",null),
srfsourcekey: commonLogic.appcommonhandle("",null), srfsourcekey: commonLogic.appcommonhandle("",null),
deptheads: commonLogic.appcommonhandle("部门领导",null), deptheads: commonLogic.appcommonhandle("部门领导",null),
srfwfannotator: commonLogic.appcommonhandle("部门领导",null), srfwfannotator: commonLogic.appcommonhandle("",null),
deptheadsid: commonLogic.appcommonhandle("部门领导",null),
ibizsample0021id: commonLogic.appcommonhandle("订单标识",null), ibizsample0021id: commonLogic.appcommonhandle("订单标识",null),
}, },
uiactions: { uiactions: {
......
...@@ -322,8 +322,7 @@ function getLocaleResourceBase(){ ...@@ -322,8 +322,7 @@ function getLocaleResourceBase(){
srfdeid: commonLogic.appcommonhandle("",null), srfdeid: commonLogic.appcommonhandle("",null),
srfsourcekey: commonLogic.appcommonhandle("",null), srfsourcekey: commonLogic.appcommonhandle("",null),
deptheads: commonLogic.appcommonhandle("部门领导",null), deptheads: commonLogic.appcommonhandle("部门领导",null),
srfwftransferor: commonLogic.appcommonhandle("部门领导",null), srfwftransferor: commonLogic.appcommonhandle("",null),
deptheadsid: commonLogic.appcommonhandle("部门领导",null),
ibizsample0021id: commonLogic.appcommonhandle("订单标识",null), ibizsample0021id: commonLogic.appcommonhandle("订单标识",null),
}, },
uiactions: { uiactions: {
...@@ -342,8 +341,7 @@ function getLocaleResourceBase(){ ...@@ -342,8 +341,7 @@ function getLocaleResourceBase(){
srfdeid: commonLogic.appcommonhandle("",null), srfdeid: commonLogic.appcommonhandle("",null),
srfsourcekey: commonLogic.appcommonhandle("",null), srfsourcekey: commonLogic.appcommonhandle("",null),
deptheads: commonLogic.appcommonhandle("部门领导",null), deptheads: commonLogic.appcommonhandle("部门领导",null),
srfwfannotator: commonLogic.appcommonhandle("部门领导",null), srfwfannotator: commonLogic.appcommonhandle("",null),
deptheadsid: commonLogic.appcommonhandle("部门领导",null),
ibizsample0021id: commonLogic.appcommonhandle("订单标识",null), ibizsample0021id: commonLogic.appcommonhandle("订单标识",null),
}, },
uiactions: { uiactions: {
......
...@@ -322,8 +322,7 @@ function getLocaleResourceBase(){ ...@@ -322,8 +322,7 @@ function getLocaleResourceBase(){
srfdeid: commonLogic.appcommonhandle("",null), srfdeid: commonLogic.appcommonhandle("",null),
srfsourcekey: commonLogic.appcommonhandle("",null), srfsourcekey: commonLogic.appcommonhandle("",null),
deptheads: commonLogic.appcommonhandle("部门领导",null), deptheads: commonLogic.appcommonhandle("部门领导",null),
srfwftransferor: commonLogic.appcommonhandle("部门领导",null), srfwftransferor: commonLogic.appcommonhandle("",null),
deptheadsid: commonLogic.appcommonhandle("部门领导",null),
ibizsample0021id: commonLogic.appcommonhandle("订单标识",null), ibizsample0021id: commonLogic.appcommonhandle("订单标识",null),
}, },
uiactions: { uiactions: {
...@@ -342,8 +341,7 @@ function getLocaleResourceBase(){ ...@@ -342,8 +341,7 @@ function getLocaleResourceBase(){
srfdeid: commonLogic.appcommonhandle("",null), srfdeid: commonLogic.appcommonhandle("",null),
srfsourcekey: commonLogic.appcommonhandle("",null), srfsourcekey: commonLogic.appcommonhandle("",null),
deptheads: commonLogic.appcommonhandle("部门领导",null), deptheads: commonLogic.appcommonhandle("部门领导",null),
srfwfannotator: commonLogic.appcommonhandle("部门领导",null), srfwfannotator: commonLogic.appcommonhandle("",null),
deptheadsid: commonLogic.appcommonhandle("部门领导",null),
ibizsample0021id: commonLogic.appcommonhandle("订单标识",null), ibizsample0021id: commonLogic.appcommonhandle("订单标识",null),
}, },
uiactions: { uiactions: {
......
...@@ -639,7 +639,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -639,7 +639,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/ */
public load(opt: any = {}): void { public load(opt: any = {}): void {
if(!this.loadAction){ if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZAPPEDITORListView' + (this.$t('app.searchForm.notConfig.loadAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZAPPEDITORGridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -675,7 +675,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -675,7 +675,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/ */
public async loadDraft(opt: any = {},mode?:string): Promise<any> { public async loadDraft(opt: any = {},mode?:string): Promise<any> {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZAPPEDITORListView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZAPPEDITORGridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
......
...@@ -1378,7 +1378,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface ...@@ -1378,7 +1378,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
*/ */
public async load(opt: any = {}): Promise<any> { public async load(opt: any = {}): Promise<any> {
if(!this.loadAction){ if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loadaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.loadaction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -1425,7 +1425,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface ...@@ -1425,7 +1425,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
*/ */
public async loadDraft(opt: any = {}): Promise<any> { public async loadDraft(opt: any = {}): Promise<any> {
if (!this.loaddraftAction) { if (!this.loaddraftAction) {
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
...@@ -1495,7 +1495,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface ...@@ -1495,7 +1495,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction; const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){ if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction"; let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.actionname') as string) });
return; return;
} }
Object.assign(arg,{viewparams:this.viewparams}); Object.assign(arg,{viewparams:this.viewparams});
...@@ -1603,7 +1603,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface ...@@ -1603,7 +1603,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction; const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){ if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction"; let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.actionname') as string) });
return; return;
} }
Object.assign(arg, { viewparams: this.viewparams }); Object.assign(arg, { viewparams: this.viewparams });
...@@ -1695,7 +1695,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface ...@@ -1695,7 +1695,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> { public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> {
return new Promise((resolve: any, reject: any) => { return new Promise((resolve: any, reject: any) => {
if(!this.removeAction){ if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.removeaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView' + (this.$t('app.formpage.notconfig.removeaction') as string) });
return; return;
} }
const arg: any = opt[0]; const arg: any = opt[0];
...@@ -2133,4 +2133,5 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface ...@@ -2133,4 +2133,5 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
<style lang='less'> <style lang='less'>
@import './guide-borrow-form-form.less'; @import './guide-borrow-form-form.less';
</style>de-borrow-form-form.less';
</style> </style>
\ No newline at end of file
...@@ -1991,7 +1991,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -1991,7 +1991,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
Object.assign(arg,this.viewparams); Object.assign(arg,this.viewparams);
const post: Promise<any> = this.service.frontLogic(action,JSON.parse(JSON.stringify(this.context)),arg, showloading); const post: Promise<any> = this.service.frontLogic(action,JSON.parse(JSON.stringify(this.context)),arg, showloading);
post.then((response: any) => { post.then((response: any) => {
if (!response.status || response.status !== 200) { e.status !== 200) {
if (response.data) { if (response.data) {
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: response.data.message }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: response.data.message });
} }
...@@ -2202,4 +2202,5 @@ export default class GuideViewFormBase extends Vue implements ControlInterface { ...@@ -2202,4 +2202,5 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
<style lang='less'> <style lang='less'>
@import './guide-view-form-form.less'; @import './guide-view-form-form.less';
</style>uide-view-form-form.less';
</style> </style>
\ No newline at end of file
...@@ -670,7 +670,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface ...@@ -670,7 +670,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
*/ */
public load(opt: any = {}): void { public load(opt: any = {}): void {
if(!this.loadAction){ if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKListView' + (this.$t('app.searchForm.notConfig.loadAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCalendarView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -706,7 +706,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface ...@@ -706,7 +706,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
*/ */
public async loadDraft(opt: any = {},mode?:string): Promise<any> { public async loadDraft(opt: any = {},mode?:string): Promise<any> {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKListView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKCalendarView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
......
...@@ -698,7 +698,7 @@ export default class Usr4Base extends Vue implements ControlInterface { ...@@ -698,7 +698,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
*/ */
public async load(opt: any = {}, isReset: boolean = false): Promise<any> { public async load(opt: any = {}, isReset: boolean = false): Promise<any> {
if(!this.fetchAction){ if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4DataView' + (this.$t('app.list.notConfig.fetchAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKTestCLDataView' + (this.$t('app.list.notConfig.fetchAction') as string) });
return; return;
} }
const arg: any = {...opt}; const arg: any = {...opt};
...@@ -792,7 +792,7 @@ export default class Usr4Base extends Vue implements ControlInterface { ...@@ -792,7 +792,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
*/ */
public async remove(datas: any[]): Promise<any> { public async remove(datas: any[]): Promise<any> {
if(!this.removeAction){ if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4DataView' + (this.$t('app.gridpage.notConfig.removeAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKTestCLDataView' + (this.$t('app.gridpage.notConfig.removeAction') as string) });
return; return;
} }
let _datas:any[] = []; let _datas:any[] = [];
...@@ -908,7 +908,7 @@ export default class Usr4Base extends Vue implements ControlInterface { ...@@ -908,7 +908,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
try { try {
if(Object.is(item.rowDataState, 'create')){ if(Object.is(item.rowDataState, 'create')){
if(!this.createAction){ if(!this.createAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4DataView' + (this.$t('app.list.notConfig.createAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKTestCLDataView' + (this.$t('app.list.notConfig.createAction') as string) });
}else{ }else{
Object.assign(item,{viewparams:this.viewparams}); Object.assign(item,{viewparams:this.viewparams});
let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator); let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator);
...@@ -916,7 +916,7 @@ export default class Usr4Base extends Vue implements ControlInterface { ...@@ -916,7 +916,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
} }
}else if(Object.is(item.rowDataState, 'update')){ }else if(Object.is(item.rowDataState, 'update')){
if(!this.updateAction){ if(!this.updateAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4DataView' + (this.$t('app.list.notConfig.updateAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKTestCLDataView' + (this.$t('app.list.notConfig.updateAction') as string) });
}else{ }else{
Object.assign(item,{viewparams:this.viewparams}); Object.assign(item,{viewparams:this.viewparams});
if(item.ibizbook){ if(item.ibizbook){
......
...@@ -70,11 +70,6 @@ export default class Usr4Model { ...@@ -70,11 +70,6 @@ export default class Usr4Model {
prop: 'n_ibizbookname_like', prop: 'n_ibizbookname_like',
dataType: 'QUERYPARAM' dataType: 'QUERYPARAM'
}, },
{
name: 'n_price_gtandeq',
prop: 'n_price_gtandeq',
dataType: 'QUERYPARAM'
},
{ {
......
...@@ -11,12 +11,12 @@ ...@@ -11,12 +11,12 @@
<app-group-select <app-group-select
name="deptheads" name="deptheads"
:value='data.deptheads' :value='data.deptheads'
valueitem="deptheadsid" valueitem="srfwfannotator"
url="/sysorganizations/${selected-orgid}/sysemployees/picker" url="/sysorganizations/${selected-orgid}/sysemployees/picker"
treeurl="/sysorganizations/${orgid}/suborg/picker" treeurl="/sysorganizations/${orgid}/suborg/picker"
:multiple="false" :multiple="false"
filter="srforgid" filter="srforgid"
:fillmap="{'id':'deptheadsid','label':'deptheads'}" :fillmap="{'id':'srfwfannotator','label':'deptheads'}"
:disabled="detailsModel.deptheads.disabled" :disabled="detailsModel.deptheads.disabled"
:data="data" :data="data"
:context="context" :context="context"
...@@ -486,7 +486,6 @@ export default class BeforeSignBase extends Vue implements ControlInterface { ...@@ -486,7 +486,6 @@ export default class BeforeSignBase extends Vue implements ControlInterface {
srfsourcekey: null, srfsourcekey: null,
deptheads: null, deptheads: null,
srfwfannotator: null, srfwfannotator: null,
deptheadsid: null,
ibizsample0021id: null, ibizsample0021id: null,
ibizsample0021:null, ibizsample0021:null,
}; };
...@@ -672,9 +671,7 @@ export default class BeforeSignBase extends Vue implements ControlInterface { ...@@ -672,9 +671,7 @@ export default class BeforeSignBase extends Vue implements ControlInterface {
, ,
deptheads: new FormItemModel({ caption: '部门领导', detailType: 'FORMITEM', name: 'deptheads', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 }) deptheads: new FormItemModel({ caption: '部门领导', detailType: 'FORMITEM', name: 'deptheads', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
, ,
srfwfannotator: new FormItemModel({ caption: '部门领导', detailType: 'FORMITEM', name: 'srfwfannotator', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 }) srfwfannotator: new FormItemModel({ caption: '', detailType: 'FORMITEM', name: 'srfwfannotator', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
deptheadsid: new FormItemModel({ caption: '部门领导', detailType: 'FORMITEM', name: 'deptheadsid', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
, ,
ibizsample0021id: new FormItemModel({ caption: '订单标识', detailType: 'FORMITEM', name: 'ibizsample0021id', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 }) ibizsample0021id: new FormItemModel({ caption: '订单标识', detailType: 'FORMITEM', name: 'ibizsample0021id', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
, ,
...@@ -800,18 +797,6 @@ export default class BeforeSignBase extends Vue implements ControlInterface { ...@@ -800,18 +797,6 @@ export default class BeforeSignBase extends Vue implements ControlInterface {
this.formDataChange({ name: 'srfwfannotator', newVal: newVal, oldVal: oldVal }); this.formDataChange({ name: 'srfwfannotator', newVal: newVal, oldVal: oldVal });
} }
/**
* 监控表单属性 deptheadsid 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof BeforeSignBase
*/
@Watch('data.deptheadsid')
onDeptheadsidChange(newVal: any, oldVal: any) {
this.formDataChange({ name: 'deptheadsid', newVal: newVal, oldVal: oldVal });
}
/** /**
* 监控表单属性 ibizsample0021id 值 * 监控表单属性 ibizsample0021id 值
* *
...@@ -891,7 +876,6 @@ export default class BeforeSignBase extends Vue implements ControlInterface { ...@@ -891,7 +876,6 @@ export default class BeforeSignBase extends Vue implements ControlInterface {
} }
/** /**
......
...@@ -58,18 +58,10 @@ export default class BeforeSignModel { ...@@ -58,18 +58,10 @@ export default class BeforeSignModel {
}, },
{ {
name: 'deptheads', name: 'deptheads',
prop: 'deptheads', dataType:'FORMITEM',
dataType: 'TEXT',
}, },
{ {
name: 'srfwfannotator', name: 'srfwfannotator',
prop: 'deptheadsid',
dataType: 'TEXT',
},
{
name: 'deptheadsid',
prop: 'deptheadsid',
dataType: 'TEXT',
}, },
{ {
name: 'ibizsample0021id', name: 'ibizsample0021id',
......
...@@ -11,12 +11,12 @@ ...@@ -11,12 +11,12 @@
<app-group-select <app-group-select
name="deptheads" name="deptheads"
:value='data.deptheads' :value='data.deptheads'
valueitem="deptheadsid" valueitem="srfwftransferor"
url="/sysorganizations/${selected-orgid}/sysemployees/picker" url="/sysorganizations/${selected-orgid}/sysemployees/picker"
treeurl="/sysorganizations/${orgid}/suborg/picker" treeurl="/sysorganizations/${orgid}/suborg/picker"
:multiple="false" :multiple="false"
filter="srforgid" filter="srforgid"
:fillmap="{'id':'deptheadsid','label':'deptheads'}" :fillmap="{'id':'srfwftransferor','label':'deptheads'}"
:disabled="detailsModel.deptheads.disabled" :disabled="detailsModel.deptheads.disabled"
:data="data" :data="data"
:context="context" :context="context"
...@@ -486,7 +486,6 @@ export default class TransferBase extends Vue implements ControlInterface { ...@@ -486,7 +486,6 @@ export default class TransferBase extends Vue implements ControlInterface {
srfsourcekey: null, srfsourcekey: null,
deptheads: null, deptheads: null,
srfwftransferor: null, srfwftransferor: null,
deptheadsid: null,
ibizsample0021id: null, ibizsample0021id: null,
ibizsample0021:null, ibizsample0021:null,
}; };
...@@ -672,9 +671,7 @@ export default class TransferBase extends Vue implements ControlInterface { ...@@ -672,9 +671,7 @@ export default class TransferBase extends Vue implements ControlInterface {
, ,
deptheads: new FormItemModel({ caption: '部门领导', detailType: 'FORMITEM', name: 'deptheads', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 }) deptheads: new FormItemModel({ caption: '部门领导', detailType: 'FORMITEM', name: 'deptheads', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
, ,
srfwftransferor: new FormItemModel({ caption: '部门领导', detailType: 'FORMITEM', name: 'srfwftransferor', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 }) srfwftransferor: new FormItemModel({ caption: '', detailType: 'FORMITEM', name: 'srfwftransferor', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
deptheadsid: new FormItemModel({ caption: '部门领导', detailType: 'FORMITEM', name: 'deptheadsid', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
, ,
ibizsample0021id: new FormItemModel({ caption: '订单标识', detailType: 'FORMITEM', name: 'ibizsample0021id', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 }) ibizsample0021id: new FormItemModel({ caption: '订单标识', detailType: 'FORMITEM', name: 'ibizsample0021id', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
, ,
...@@ -800,18 +797,6 @@ export default class TransferBase extends Vue implements ControlInterface { ...@@ -800,18 +797,6 @@ export default class TransferBase extends Vue implements ControlInterface {
this.formDataChange({ name: 'srfwftransferor', newVal: newVal, oldVal: oldVal }); this.formDataChange({ name: 'srfwftransferor', newVal: newVal, oldVal: oldVal });
} }
/**
* 监控表单属性 deptheadsid 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof TransferBase
*/
@Watch('data.deptheadsid')
onDeptheadsidChange(newVal: any, oldVal: any) {
this.formDataChange({ name: 'deptheadsid', newVal: newVal, oldVal: oldVal });
}
/** /**
* 监控表单属性 ibizsample0021id 值 * 监控表单属性 ibizsample0021id 值
* *
...@@ -891,7 +876,6 @@ export default class TransferBase extends Vue implements ControlInterface { ...@@ -891,7 +876,6 @@ export default class TransferBase extends Vue implements ControlInterface {
} }
/** /**
......
...@@ -58,18 +58,10 @@ export default class TransferModel { ...@@ -58,18 +58,10 @@ export default class TransferModel {
}, },
{ {
name: 'deptheads', name: 'deptheads',
prop: 'deptheads', dataType:'FORMITEM',
dataType: 'TEXT',
}, },
{ {
name: 'srfwftransferor', name: 'srfwftransferor',
prop: 'deptheadsid',
dataType: 'TEXT',
},
{
name: 'deptheadsid',
prop: 'deptheadsid',
dataType: 'TEXT',
}, },
{ {
name: 'ibizsample0021id', name: 'ibizsample0021id',
......
...@@ -69,27 +69,11 @@ ...@@ -69,27 +69,11 @@
"dataType" : 25 "dataType" : 25
}, { }, {
"id" : "deptheads", "id" : "deptheads",
"dataType" : 25, "dataType" : 25
"getPSAppDEField" : {
"name" : "DEPTHEADS",
"codeName" : "DeptHeads"
}
}, { }, {
"id" : "srfwfannotator", "id" : "srfwfannotator",
"hidden" : true, "hidden" : true,
"dataType" : 25, "dataType" : 25
"getPSAppDEField" : {
"name" : "DEPTHEADSID",
"codeName" : "DeptHeadsId"
}
}, {
"id" : "deptheadsid",
"hidden" : true,
"dataType" : 25,
"getPSAppDEField" : {
"name" : "DEPTHEADSID",
"codeName" : "DeptHeadsId"
}
}, { }, {
"id" : "ibizsample0021id", "id" : "ibizsample0021id",
"hidden" : true, "hidden" : true,
...@@ -124,10 +108,6 @@ ...@@ -124,10 +108,6 @@
"labelWidth" : 130, "labelWidth" : 130,
"name" : "deptheads", "name" : "deptheads",
"noPrivDisplayMode" : 1, "noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "DEPTHEADS",
"codeName" : "DeptHeads"
},
"getPSEditor" : { "getPSEditor" : {
"editorParams" : { "editorParams" : {
"multiple" : "false", "multiple" : "false",
...@@ -139,9 +119,8 @@ ...@@ -139,9 +119,8 @@
}, },
"editorStyle" : "ALLEMPSELECT", "editorStyle" : "ALLEMPSELECT",
"editorType" : "PICKER", "editorType" : "PICKER",
"handlerType" : "PickupText",
"name" : "deptheads", "name" : "deptheads",
"valueItemName" : "deptheadsid", "valueItemName" : "srfwfannotator",
"enableAC" : true, "enableAC" : true,
"enablePickupView" : true, "enablePickupView" : true,
"forceSelection" : true, "forceSelection" : true,
...@@ -152,11 +131,10 @@ ...@@ -152,11 +131,10 @@
"colMD" : 24, "colMD" : 24,
"layout" : "TABLE_24COL" "layout" : "TABLE_24COL"
}, },
"valueItemName" : "deptheadsid", "valueItemName" : "srfwfannotator",
"allowEmpty" : true, "allowEmpty" : true,
"showCaption" : true "showCaption" : true
}, { }, {
"caption" : "部门领导",
"codeName" : "srfwfannotator", "codeName" : "srfwfannotator",
"dataType" : 25, "dataType" : 25,
"detailStyle" : "DEFAULT", "detailStyle" : "DEFAULT",
...@@ -167,10 +145,6 @@ ...@@ -167,10 +145,6 @@
"labelWidth" : 130, "labelWidth" : 130,
"name" : "srfwfannotator", "name" : "srfwfannotator",
"noPrivDisplayMode" : 1, "noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "DEPTHEADSID",
"codeName" : "DeptHeadsId"
},
"getPSEditor" : { "getPSEditor" : {
"editorType" : "HIDDEN", "editorType" : "HIDDEN",
"name" : "srfwfannotator" "name" : "srfwfannotator"
......
...@@ -69,27 +69,11 @@ ...@@ -69,27 +69,11 @@
"dataType" : 25 "dataType" : 25
}, { }, {
"id" : "deptheads", "id" : "deptheads",
"dataType" : 25, "dataType" : 25
"getPSAppDEField" : {
"name" : "DEPTHEADS",
"codeName" : "DeptHeads"
}
}, { }, {
"id" : "srfwftransferor", "id" : "srfwftransferor",
"hidden" : true, "hidden" : true,
"dataType" : 25, "dataType" : 25
"getPSAppDEField" : {
"name" : "DEPTHEADSID",
"codeName" : "DeptHeadsId"
}
}, {
"id" : "deptheadsid",
"hidden" : true,
"dataType" : 25,
"getPSAppDEField" : {
"name" : "DEPTHEADSID",
"codeName" : "DeptHeadsId"
}
}, { }, {
"id" : "ibizsample0021id", "id" : "ibizsample0021id",
"hidden" : true, "hidden" : true,
...@@ -124,10 +108,6 @@ ...@@ -124,10 +108,6 @@
"labelWidth" : 130, "labelWidth" : 130,
"name" : "deptheads", "name" : "deptheads",
"noPrivDisplayMode" : 1, "noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "DEPTHEADS",
"codeName" : "DeptHeads"
},
"getPSEditor" : { "getPSEditor" : {
"editorParams" : { "editorParams" : {
"multiple" : "false", "multiple" : "false",
...@@ -139,9 +119,8 @@ ...@@ -139,9 +119,8 @@
}, },
"editorStyle" : "ALLEMPSELECT", "editorStyle" : "ALLEMPSELECT",
"editorType" : "PICKER", "editorType" : "PICKER",
"handlerType" : "PickupText",
"name" : "deptheads", "name" : "deptheads",
"valueItemName" : "deptheadsid", "valueItemName" : "srfwftransferor",
"enableAC" : true, "enableAC" : true,
"enablePickupView" : true, "enablePickupView" : true,
"forceSelection" : true, "forceSelection" : true,
...@@ -152,11 +131,10 @@ ...@@ -152,11 +131,10 @@
"colMD" : 24, "colMD" : 24,
"layout" : "TABLE_24COL" "layout" : "TABLE_24COL"
}, },
"valueItemName" : "deptheadsid", "valueItemName" : "srfwftransferor",
"allowEmpty" : true, "allowEmpty" : true,
"showCaption" : true "showCaption" : true
}, { }, {
"caption" : "部门领导",
"codeName" : "srfwftransferor", "codeName" : "srfwftransferor",
"dataType" : 25, "dataType" : 25,
"detailStyle" : "DEFAULT", "detailStyle" : "DEFAULT",
...@@ -167,10 +145,6 @@ ...@@ -167,10 +145,6 @@
"labelWidth" : 130, "labelWidth" : 130,
"name" : "srfwftransferor", "name" : "srfwftransferor",
"noPrivDisplayMode" : 1, "noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "DEPTHEADSID",
"codeName" : "DeptHeadsId"
},
"getPSEditor" : { "getPSEditor" : {
"editorType" : "HIDDEN", "editorType" : "HIDDEN",
"name" : "srfwftransferor" "name" : "srfwftransferor"
......
...@@ -185,27 +185,11 @@ ...@@ -185,27 +185,11 @@
"dataType" : 25 "dataType" : 25
}, { }, {
"id" : "deptheads", "id" : "deptheads",
"dataType" : 25, "dataType" : 25
"getPSAppDEField" : {
"name" : "DEPTHEADS",
"codeName" : "DeptHeads"
}
}, { }, {
"id" : "srfwfannotator", "id" : "srfwfannotator",
"hidden" : true, "hidden" : true,
"dataType" : 25, "dataType" : 25
"getPSAppDEField" : {
"name" : "DEPTHEADSID",
"codeName" : "DeptHeadsId"
}
}, {
"id" : "deptheadsid",
"hidden" : true,
"dataType" : 25,
"getPSAppDEField" : {
"name" : "DEPTHEADSID",
"codeName" : "DeptHeadsId"
}
}, { }, {
"id" : "ibizsample0021id", "id" : "ibizsample0021id",
"hidden" : true, "hidden" : true,
...@@ -240,10 +224,6 @@ ...@@ -240,10 +224,6 @@
"labelWidth" : 130, "labelWidth" : 130,
"name" : "deptheads", "name" : "deptheads",
"noPrivDisplayMode" : 1, "noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "DEPTHEADS",
"codeName" : "DeptHeads"
},
"getPSEditor" : { "getPSEditor" : {
"editorParams" : { "editorParams" : {
"multiple" : "false", "multiple" : "false",
...@@ -255,9 +235,8 @@ ...@@ -255,9 +235,8 @@
}, },
"editorStyle" : "ALLEMPSELECT", "editorStyle" : "ALLEMPSELECT",
"editorType" : "PICKER", "editorType" : "PICKER",
"handlerType" : "PickupText",
"name" : "deptheads", "name" : "deptheads",
"valueItemName" : "deptheadsid", "valueItemName" : "srfwfannotator",
"enableAC" : true, "enableAC" : true,
"enablePickupView" : true, "enablePickupView" : true,
"forceSelection" : true, "forceSelection" : true,
...@@ -268,11 +247,10 @@ ...@@ -268,11 +247,10 @@
"colMD" : 24, "colMD" : 24,
"layout" : "TABLE_24COL" "layout" : "TABLE_24COL"
}, },
"valueItemName" : "deptheadsid", "valueItemName" : "srfwfannotator",
"allowEmpty" : true, "allowEmpty" : true,
"showCaption" : true "showCaption" : true
}, { }, {
"caption" : "部门领导",
"codeName" : "srfwfannotator", "codeName" : "srfwfannotator",
"dataType" : 25, "dataType" : 25,
"detailStyle" : "DEFAULT", "detailStyle" : "DEFAULT",
...@@ -283,10 +261,6 @@ ...@@ -283,10 +261,6 @@
"labelWidth" : 130, "labelWidth" : 130,
"name" : "srfwfannotator", "name" : "srfwfannotator",
"noPrivDisplayMode" : 1, "noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "DEPTHEADSID",
"codeName" : "DeptHeadsId"
},
"getPSEditor" : { "getPSEditor" : {
"editorType" : "HIDDEN", "editorType" : "HIDDEN",
"name" : "srfwfannotator" "name" : "srfwfannotator"
......
...@@ -646,27 +646,11 @@ ...@@ -646,27 +646,11 @@
"dataType" : 25 "dataType" : 25
}, { }, {
"id" : "deptheads", "id" : "deptheads",
"dataType" : 25, "dataType" : 25
"getPSAppDEField" : {
"name" : "DEPTHEADS",
"codeName" : "DeptHeads"
}
}, { }, {
"id" : "srfwftransferor", "id" : "srfwftransferor",
"hidden" : true, "hidden" : true,
"dataType" : 25, "dataType" : 25
"getPSAppDEField" : {
"name" : "DEPTHEADSID",
"codeName" : "DeptHeadsId"
}
}, {
"id" : "deptheadsid",
"hidden" : true,
"dataType" : 25,
"getPSAppDEField" : {
"name" : "DEPTHEADSID",
"codeName" : "DeptHeadsId"
}
}, { }, {
"id" : "ibizsample0021id", "id" : "ibizsample0021id",
"hidden" : true, "hidden" : true,
...@@ -701,10 +685,6 @@ ...@@ -701,10 +685,6 @@
"labelWidth" : 130, "labelWidth" : 130,
"name" : "deptheads", "name" : "deptheads",
"noPrivDisplayMode" : 1, "noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "DEPTHEADS",
"codeName" : "DeptHeads"
},
"getPSEditor" : { "getPSEditor" : {
"editorParams" : { "editorParams" : {
"multiple" : "false", "multiple" : "false",
...@@ -716,9 +696,8 @@ ...@@ -716,9 +696,8 @@
}, },
"editorStyle" : "ALLEMPSELECT", "editorStyle" : "ALLEMPSELECT",
"editorType" : "PICKER", "editorType" : "PICKER",
"handlerType" : "PickupText",
"name" : "deptheads", "name" : "deptheads",
"valueItemName" : "deptheadsid", "valueItemName" : "srfwftransferor",
"enableAC" : true, "enableAC" : true,
"enablePickupView" : true, "enablePickupView" : true,
"forceSelection" : true, "forceSelection" : true,
...@@ -729,11 +708,10 @@ ...@@ -729,11 +708,10 @@
"colMD" : 24, "colMD" : 24,
"layout" : "TABLE_24COL" "layout" : "TABLE_24COL"
}, },
"valueItemName" : "deptheadsid", "valueItemName" : "srfwftransferor",
"allowEmpty" : true, "allowEmpty" : true,
"showCaption" : true "showCaption" : true
}, { }, {
"caption" : "部门领导",
"codeName" : "srfwftransferor", "codeName" : "srfwftransferor",
"dataType" : 25, "dataType" : 25,
"detailStyle" : "DEFAULT", "detailStyle" : "DEFAULT",
...@@ -744,10 +722,6 @@ ...@@ -744,10 +722,6 @@
"labelWidth" : 130, "labelWidth" : 130,
"name" : "srfwftransferor", "name" : "srfwftransferor",
"noPrivDisplayMode" : 1, "noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "DEPTHEADSID",
"codeName" : "DeptHeadsId"
},
"getPSEditor" : { "getPSEditor" : {
"editorType" : "HIDDEN", "editorType" : "HIDDEN",
"name" : "srfwftransferor" "name" : "srfwftransferor"
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册