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

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

上级 278596a4
...@@ -179,6 +179,7 @@ function getLocaleResourceBase(){ ...@@ -179,6 +179,7 @@ function getLocaleResourceBase(){
formitem4: commonLogic.appcommonhandle("CRON表达式组件",null), formitem4: commonLogic.appcommonhandle("CRON表达式组件",null),
formitem7: commonLogic.appcommonhandle("信息展示",null), formitem7: commonLogic.appcommonhandle("信息展示",null),
formitem8: commonLogic.appcommonhandle("支持拖拽",null), formitem8: commonLogic.appcommonhandle("支持拖拽",null),
formitem2: commonLogic.appcommonhandle("安永文件上传",null),
formitem5: commonLogic.appcommonhandle("信息展示",null), formitem5: commonLogic.appcommonhandle("信息展示",null),
formitem6: commonLogic.appcommonhandle("图片路径",null), formitem6: commonLogic.appcommonhandle("图片路径",null),
formitem18: commonLogic.appcommonhandle("更新时间",null), formitem18: commonLogic.appcommonhandle("更新时间",null),
......
...@@ -179,6 +179,7 @@ function getLocaleResourceBase(){ ...@@ -179,6 +179,7 @@ function getLocaleResourceBase(){
formitem4: commonLogic.appcommonhandle("CRON表达式组件",null), formitem4: commonLogic.appcommonhandle("CRON表达式组件",null),
formitem7: commonLogic.appcommonhandle("信息展示",null), formitem7: commonLogic.appcommonhandle("信息展示",null),
formitem8: commonLogic.appcommonhandle("支持拖拽",null), formitem8: commonLogic.appcommonhandle("支持拖拽",null),
formitem2: commonLogic.appcommonhandle("安永文件上传",null),
formitem5: commonLogic.appcommonhandle("信息展示",null), formitem5: commonLogic.appcommonhandle("信息展示",null),
formitem6: commonLogic.appcommonhandle("图片路径",null), formitem6: commonLogic.appcommonhandle("图片路径",null),
formitem18: commonLogic.appcommonhandle("更新时间",null), formitem18: commonLogic.appcommonhandle("更新时间",null),
......
...@@ -179,6 +179,7 @@ function getLocaleResourceBase(){ ...@@ -179,6 +179,7 @@ function getLocaleResourceBase(){
formitem4: commonLogic.appcommonhandle("CRON表达式组件",null), formitem4: commonLogic.appcommonhandle("CRON表达式组件",null),
formitem7: commonLogic.appcommonhandle("信息展示",null), formitem7: commonLogic.appcommonhandle("信息展示",null),
formitem8: commonLogic.appcommonhandle("支持拖拽",null), formitem8: commonLogic.appcommonhandle("支持拖拽",null),
formitem2: commonLogic.appcommonhandle("安永文件上传",null),
formitem5: commonLogic.appcommonhandle("信息展示",null), formitem5: commonLogic.appcommonhandle("信息展示",null),
formitem6: commonLogic.appcommonhandle("图片路径",null), formitem6: commonLogic.appcommonhandle("图片路径",null),
formitem18: commonLogic.appcommonhandle("更新时间",null), formitem18: commonLogic.appcommonhandle("更新时间",null),
......
...@@ -1344,7 +1344,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1344,7 +1344,7 @@ export default class GuideReturnFormBase 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' + (this.$t('app.formpage.notconfig.loadaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loadaction') as string) });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -1395,7 +1395,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1395,7 +1395,7 @@ export default class GuideReturnFormBase 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' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
...@@ -1465,7 +1465,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1465,7 +1465,7 @@ export default class GuideReturnFormBase 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' + (this.$t('app.formpage.notconfig.actionname') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) });
return; return;
} }
Object.assign(arg,{viewparams:this.viewparams}); Object.assign(arg,{viewparams:this.viewparams});
...@@ -1573,7 +1573,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1573,7 +1573,7 @@ export default class GuideReturnFormBase 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' + (this.$t('app.formpage.notconfig.actionname') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.actionname') as string) });
return; return;
} }
Object.assign(arg, { viewparams: this.viewparams }); Object.assign(arg, { viewparams: this.viewparams });
...@@ -1765,7 +1765,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface ...@@ -1765,7 +1765,7 @@ export default class GuideReturnFormBase 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' + (this.$t('app.formpage.notconfig.removeaction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKWizardView_layout' + (this.$t('app.formpage.notconfig.removeaction') as string) });
return; return;
} }
const arg: any = opt[0]; const arg: any = opt[0];
......
...@@ -72,11 +72,6 @@ export default class LnternalFuncListModel { ...@@ -72,11 +72,6 @@ export default class LnternalFuncListModel {
prop: 'n_ibizbookname_like', prop: 'n_ibizbookname_like',
dataType: 'QUERYPARAM' dataType: 'QUERYPARAM'
}, },
{
name: 'n_price_gtandeq',
prop: 'n_price_gtandeq',
dataType: 'QUERYPARAM'
},
{ {
name:'size', name:'size',
......
<template> <template>
<i-form :model="this.data" class='app-search-form' ref='quicksearchform' style=""> <i-form :model="this.data" class='app-search-form' ref='searchform' style="">
<input style="display:none;"/> <input style="display:none;"/>
<row> <row>
<i-col span="20" class="form-content"> <i-col span="20" class="form-content">
...@@ -516,7 +516,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface ...@@ -516,7 +516,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
* @memberof QUICKSEARCHFORMBase * @memberof QUICKSEARCHFORMBase
*/ */
public formValidateStatus(): boolean { public formValidateStatus(): boolean {
const form: any = this.$refs.quicksearchform; const form: any = this.$refs.searchform;
let validatestate: boolean = true; let validatestate: boolean = true;
form.validate((valid: boolean) => { form.validate((valid: boolean) => {
validatestate = valid ? true : false; validatestate = valid ? true : false;
...@@ -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: 'IBIZBOOKCalendarView' + (this.$t('app.searchForm.notConfig.loadAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsrListView_plugin' + (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: 'IBIZBOOKCalendarView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsrListView_plugin' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
......
...@@ -11,7 +11,7 @@ export default class Usr2Model { ...@@ -11,7 +11,7 @@ export default class Usr2Model {
* 获取数据项集合 * 获取数据项集合
* *
* @returns {any[]} * @returns {any[]}
* @memberof Usr2Dataviewexpbar_dataviewMode * @memberof Usr2DataViewMode
*/ */
public getDataItems(): any[] { public getDataItems(): any[] {
return [ return [
...@@ -40,6 +40,17 @@ export default class Usr2Model { ...@@ -40,6 +40,17 @@ export default class Usr2Model {
dataType: 'FONTKEY', dataType: 'FONTKEY',
}, },
{
name: 'n_ibizbookname_like',
prop: 'n_ibizbookname_like',
dataType: 'QUERYPARAM'
},
{
name: 'n_price_gtandeq',
prop: 'n_price_gtandeq',
dataType: 'QUERYPARAM'
},
{ {
name:'size', name:'size',
......
...@@ -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: 'IBIZBOOKTestCLDataView' + (this.$t('app.list.notConfig.fetchAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4DataView' + (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: 'IBIZBOOKTestCLDataView' + (this.$t('app.gridpage.notConfig.removeAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4DataView' + (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: 'IBIZBOOKTestCLDataView' + (this.$t('app.list.notConfig.createAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4DataView' + (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: 'IBIZBOOKTestCLDataView' + (this.$t('app.list.notConfig.updateAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr4DataView' + (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){
......
...@@ -736,7 +736,7 @@ export default class CardNavigationBase extends Vue implements ControlInterface ...@@ -736,7 +736,7 @@ export default class CardNavigationBase 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: 'IBIZOrderDataViewExpView_layout' + (this.$t('app.list.notConfig.fetchAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDataViewExpView' + (this.$t('app.list.notConfig.fetchAction') as string) });
return; return;
} }
const arg: any = {...opt}; const arg: any = {...opt};
...@@ -830,7 +830,7 @@ export default class CardNavigationBase extends Vue implements ControlInterface ...@@ -830,7 +830,7 @@ export default class CardNavigationBase 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: 'IBIZOrderDataViewExpView_layout' + (this.$t('app.gridpage.notConfig.removeAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDataViewExpView' + (this.$t('app.gridpage.notConfig.removeAction') as string) });
return; return;
} }
let _datas:any[] = []; let _datas:any[] = [];
...@@ -946,7 +946,7 @@ export default class CardNavigationBase extends Vue implements ControlInterface ...@@ -946,7 +946,7 @@ export default class CardNavigationBase 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: 'IBIZOrderDataViewExpView_layout' + (this.$t('app.list.notConfig.createAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDataViewExpView' + (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);
...@@ -954,7 +954,7 @@ export default class CardNavigationBase extends Vue implements ControlInterface ...@@ -954,7 +954,7 @@ export default class CardNavigationBase 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: 'IBIZOrderDataViewExpView_layout' + (this.$t('app.list.notConfig.updateAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDataViewExpView' + (this.$t('app.list.notConfig.updateAction') as string) });
}else{ }else{
Object.assign(item,{viewparams:this.viewparams}); Object.assign(item,{viewparams:this.viewparams});
if(item.ibizorder){ if(item.ibizorder){
......
...@@ -227,6 +227,27 @@ dataType="LONGTEXT" unitName="" :precision="0" ...@@ -227,6 +227,27 @@ dataType="LONGTEXT" unitName="" :precision="0"
</app-file-upload> </app-file-upload>
</app-form-item> </app-form-item>
</i-col>
<i-col v-show="detailsModel.formitem2.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='formitem2' :itemRules="this.rules().formitem2" class='' :caption="$t('entities.ibizsample0001.main5_form.details.formitem2')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.formitem2.error" :isEmptyCaption="false" labelPos="LEFT">
<app-ey-upload
:limit="9999"
:accept="'*'"
:formState="formState"
:ignorefieldvaluechange="ignorefieldvaluechange"
@formitemvaluechange="onFormItemValueChange"
:data="JSON.stringify(this.data)"
name='formitem2'
:value="data.formitem2"
:disabled="detailsModel.formitem2.disabled"
:uploadparams='{}'
:exportparams='{}'
:multiple='true'
style="overflow: auto;">
</app-ey-upload>
</app-form-item>
</i-col> </i-col>
</row> </row>
...@@ -722,6 +743,7 @@ export default class Main5Base extends Vue implements ControlInterface { ...@@ -722,6 +743,7 @@ export default class Main5Base extends Vue implements ControlInterface {
formitem4: null, formitem4: null,
formitem7: null, formitem7: null,
formitem8: null, formitem8: null,
formitem2: null,
formitem5: null, formitem5: null,
formitem6: null, formitem6: null,
formitem18: null, formitem18: null,
...@@ -837,6 +859,10 @@ export default class Main5Base extends Vue implements ControlInterface { ...@@ -837,6 +859,10 @@ export default class Main5Base extends Vue implements ControlInterface {
{ required: this.detailsModel.formitem8.required, type: 'string', message: '支持拖拽 值不能为空', trigger: 'change' }, { required: this.detailsModel.formitem8.required, type: 'string', message: '支持拖拽 值不能为空', trigger: 'change' },
{ required: this.detailsModel.formitem8.required, type: 'string', message: '支持拖拽 值不能为空', trigger: 'blur' }, { required: this.detailsModel.formitem8.required, type: 'string', message: '支持拖拽 值不能为空', trigger: 'blur' },
], ],
formitem2: [
{ required: this.detailsModel.formitem2.required, type: 'string', message: '安永文件上传 值不能为空', trigger: 'change' },
{ required: this.detailsModel.formitem2.required, type: 'string', message: '安永文件上传 值不能为空', trigger: 'blur' },
],
formitem5: [ formitem5: [
{ required: this.detailsModel.formitem5.required, type: 'string', message: '信息展示 值不能为空', trigger: 'change' }, { required: this.detailsModel.formitem5.required, type: 'string', message: '信息展示 值不能为空', trigger: 'change' },
{ required: this.detailsModel.formitem5.required, type: 'string', message: '信息展示 值不能为空', trigger: 'blur' }, { required: this.detailsModel.formitem5.required, type: 'string', message: '信息展示 值不能为空', trigger: 'blur' },
...@@ -1015,6 +1041,8 @@ export default class Main5Base extends Vue implements ControlInterface { ...@@ -1015,6 +1041,8 @@ export default class Main5Base extends Vue implements ControlInterface {
formitem7: new FormItemModel({ caption: '信息展示', detailType: 'FORMITEM', name: 'formitem7', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 }) formitem7: new FormItemModel({ caption: '信息展示', detailType: 'FORMITEM', name: 'formitem7', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
, ,
formitem8: new FormItemModel({ caption: '支持拖拽', detailType: 'FORMITEM', name: 'formitem8', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 }) formitem8: new FormItemModel({ caption: '支持拖拽', detailType: 'FORMITEM', name: 'formitem8', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
formitem2: new FormItemModel({ caption: '安永文件上传', detailType: 'FORMITEM', name: 'formitem2', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
, ,
formitem5: new FormItemModel({ caption: '信息展示', detailType: 'FORMITEM', name: 'formitem5', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 }) formitem5: new FormItemModel({ caption: '信息展示', detailType: 'FORMITEM', name: 'formitem5', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
, ,
...@@ -1314,6 +1342,18 @@ export default class Main5Base extends Vue implements ControlInterface { ...@@ -1314,6 +1342,18 @@ export default class Main5Base extends Vue implements ControlInterface {
this.formDataChange({ name: 'formitem8', newVal: newVal, oldVal: oldVal }); this.formDataChange({ name: 'formitem8', newVal: newVal, oldVal: oldVal });
} }
/**
* 监控表单属性 formitem2 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof Main5Base
*/
@Watch('data.formitem2')
onFormitem2Change(newVal: any, oldVal: any) {
this.formDataChange({ name: 'formitem2', newVal: newVal, oldVal: oldVal });
}
/** /**
* 监控表单属性 formitem5 值 * 监控表单属性 formitem5 值
* *
...@@ -1450,6 +1490,7 @@ export default class Main5Base extends Vue implements ControlInterface { ...@@ -1450,6 +1490,7 @@ export default class Main5Base extends Vue implements ControlInterface {
} }
......
...@@ -135,6 +135,11 @@ export default class Main5Model { ...@@ -135,6 +135,11 @@ export default class Main5Model {
name: 'formitem8', name: 'formitem8',
dataType:'FORMITEM', dataType:'FORMITEM',
}, },
{
name: 'formitem2',
prop: 'diskimg',
dataType: 'TEXT',
},
{ {
name: 'formitem5', name: 'formitem5',
prop: 'picture', prop: 'picture',
......
...@@ -12,6 +12,18 @@ ...@@ -12,6 +12,18 @@
"path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json" "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
}, },
"getPSDETreeColumns" : [ { "getPSDETreeColumns" : [ {
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"mOSFilePath" : "psdetreecols/author",
"name" : "author",
"rTMOSFilePath" : "psdetreecols/author",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "归还日期", "caption" : "归还日期",
"codeName" : "returntime", "codeName" : "returntime",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
...@@ -23,6 +35,18 @@ ...@@ -23,6 +35,18 @@
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"mOSFilePath" : "psdetreecols/ibizbookname",
"name" : "ibizbookname",
"rTMOSFilePath" : "psdetreecols/ibizbookname",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, { }, {
"caption" : "出版社", "caption" : "出版社",
"codeName" : "press", "codeName" : "press",
...@@ -47,30 +71,6 @@ ...@@ -47,30 +71,6 @@
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, {
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"mOSFilePath" : "psdetreecols/author",
"name" : "author",
"rTMOSFilePath" : "psdetreecols/author",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"mOSFilePath" : "psdetreecols/ibizbookname",
"name" : "ibizbookname",
"rTMOSFilePath" : "psdetreecols/ibizbookname",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
} ], } ],
"getPSDETreeNodeRSs" : [ { "getPSDETreeNodeRSs" : [ {
"getChildPSDETreeNode" : { "getChildPSDETreeNode" : {
......
...@@ -20,13 +20,13 @@ ...@@ -20,13 +20,13 @@
} }
} ], } ],
"getPSDETreeColumns" : [ { "getPSDETreeColumns" : [ {
"caption" : "图书名称", "caption" : "图书描述",
"codeName" : "ibizbookname", "codeName" : "subtext",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname", "dataItemName" : "subtext",
"mOSFilePath" : "psdetreecols/ibizbookname", "mOSFilePath" : "psdetreecols/subtext",
"name" : "ibizbookname", "name" : "subtext",
"rTMOSFilePath" : "psdetreecols/ibizbookname", "rTMOSFilePath" : "psdetreecols/subtext",
"width" : 50, "width" : 50,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
...@@ -44,13 +44,13 @@ ...@@ -44,13 +44,13 @@
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, { }, {
"caption" : "图书描述", "caption" : "图书名称",
"codeName" : "subtext", "codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "subtext", "dataItemName" : "ibizbookname",
"mOSFilePath" : "psdetreecols/subtext", "mOSFilePath" : "psdetreecols/ibizbookname",
"name" : "subtext", "name" : "ibizbookname",
"rTMOSFilePath" : "psdetreecols/subtext", "rTMOSFilePath" : "psdetreecols/ibizbookname",
"width" : 50, "width" : 50,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
......
...@@ -189,6 +189,13 @@ ...@@ -189,6 +189,13 @@
}, { }, {
"id" : "formitem8", "id" : "formitem8",
"dataType" : 25 "dataType" : 25
}, {
"id" : "formitem2",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "DISKIMG",
"codeName" : "Diskimg"
}
}, { }, {
"id" : "formitem5", "id" : "formitem5",
"dataType" : 25, "dataType" : 25,
...@@ -1001,6 +1008,47 @@ ...@@ -1001,6 +1008,47 @@
"rTMOSFilePath" : "psdeformdetail_formitems/formitem8", "rTMOSFilePath" : "psdeformdetail_formitems/formitem8",
"allowEmpty" : true, "allowEmpty" : true,
"showCaption" : true "showCaption" : true
}, {
"caption" : "安永文件上传",
"codeName" : "formitem2",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"mOSFilePath" : "psdeformdetail_formitems/formitem2",
"name" : "formitem2",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "DISKIMG",
"codeName" : "Diskimg"
},
"getPSEditor" : {
"editorParams" : {
"FILEEXTS" : "",
"MAXFILESIZE" : "",
"MINFILECNT" : "",
"MAXFILECNT" : ""
},
"editorType" : "FILEUPLOADER",
"maxFileCount" : -1,
"maxFileSize" : -1,
"minFileCount" : 0,
"name" : "formitem2",
"getPSSysPFPlugin" : {
"pluginType" : "EDITOR_CUSTOMSTYLE",
"pluginCode" : "EYUpload"
}
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "psdeformdetail_formitems/formitem2",
"allowEmpty" : true,
"showCaption" : true
} ], } ],
"getPSLayout" : { "getPSLayout" : {
"childColLG" : -1, "childColLG" : -1,
......
...@@ -42,6 +42,18 @@ ...@@ -42,6 +42,18 @@
"id" : "GANTT" "id" : "GANTT"
}, },
"getPSDETreeColumns" : [ { "getPSDETreeColumns" : [ {
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"mOSFilePath" : "psdetreecols/author",
"name" : "author",
"rTMOSFilePath" : "psdetreecols/author",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "归还日期", "caption" : "归还日期",
"codeName" : "returntime", "codeName" : "returntime",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
...@@ -53,6 +65,18 @@ ...@@ -53,6 +65,18 @@
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"mOSFilePath" : "psdetreecols/ibizbookname",
"name" : "ibizbookname",
"rTMOSFilePath" : "psdetreecols/ibizbookname",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, { }, {
"caption" : "出版社", "caption" : "出版社",
"codeName" : "press", "codeName" : "press",
...@@ -77,30 +101,6 @@ ...@@ -77,30 +101,6 @@
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, {
"caption" : "作者",
"codeName" : "author",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "author",
"mOSFilePath" : "psdetreecols/author",
"name" : "author",
"rTMOSFilePath" : "psdetreecols/author",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
}, {
"caption" : "图书名称",
"codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname",
"mOSFilePath" : "psdetreecols/ibizbookname",
"name" : "ibizbookname",
"rTMOSFilePath" : "psdetreecols/ibizbookname",
"width" : 200,
"widthUnit" : "px",
"enableExpand" : false,
"enableSort" : false
} ], } ],
"getPSDETreeNodeRSs" : [ { "getPSDETreeNodeRSs" : [ {
"getChildPSDETreeNode" : { "getChildPSDETreeNode" : {
......
...@@ -88,13 +88,13 @@ ...@@ -88,13 +88,13 @@
"id" : "TREEGRIDEX" "id" : "TREEGRIDEX"
}, },
"getPSDETreeColumns" : [ { "getPSDETreeColumns" : [ {
"caption" : "图书名称", "caption" : "图书描述",
"codeName" : "ibizbookname", "codeName" : "subtext",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "ibizbookname", "dataItemName" : "subtext",
"mOSFilePath" : "psdetreecols/ibizbookname", "mOSFilePath" : "psdetreecols/subtext",
"name" : "ibizbookname", "name" : "subtext",
"rTMOSFilePath" : "psdetreecols/ibizbookname", "rTMOSFilePath" : "psdetreecols/subtext",
"width" : 50, "width" : 50,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
...@@ -112,13 +112,13 @@ ...@@ -112,13 +112,13 @@
"enableExpand" : false, "enableExpand" : false,
"enableSort" : false "enableSort" : false
}, { }, {
"caption" : "图书描述", "caption" : "图书名称",
"codeName" : "subtext", "codeName" : "ibizbookname",
"columnType" : "DEFGRIDCOLUMN", "columnType" : "DEFGRIDCOLUMN",
"dataItemName" : "subtext", "dataItemName" : "ibizbookname",
"mOSFilePath" : "psdetreecols/subtext", "mOSFilePath" : "psdetreecols/ibizbookname",
"name" : "subtext", "name" : "ibizbookname",
"rTMOSFilePath" : "psdetreecols/subtext", "rTMOSFilePath" : "psdetreecols/ibizbookname",
"width" : 50, "width" : 50,
"widthUnit" : "px", "widthUnit" : "px",
"enableExpand" : false, "enableExpand" : false,
......
...@@ -318,6 +318,13 @@ ...@@ -318,6 +318,13 @@
}, { }, {
"id" : "formitem8", "id" : "formitem8",
"dataType" : 25 "dataType" : 25
}, {
"id" : "formitem2",
"dataType" : 25,
"getPSAppDEField" : {
"name" : "DISKIMG",
"codeName" : "Diskimg"
}
}, { }, {
"id" : "formitem5", "id" : "formitem5",
"dataType" : 25, "dataType" : 25,
...@@ -1130,6 +1137,47 @@ ...@@ -1130,6 +1137,47 @@
"rTMOSFilePath" : "psdeformdetail_formitems/formitem8", "rTMOSFilePath" : "psdeformdetail_formitems/formitem8",
"allowEmpty" : true, "allowEmpty" : true,
"showCaption" : true "showCaption" : true
}, {
"caption" : "安永文件上传",
"codeName" : "formitem2",
"dataType" : 25,
"detailStyle" : "DEFAULT",
"detailType" : "FORMITEM",
"enableCond" : 3,
"ignoreInput" : 0,
"labelPos" : "LEFT",
"labelWidth" : 130,
"mOSFilePath" : "psdeformdetail_formitems/formitem2",
"name" : "formitem2",
"noPrivDisplayMode" : 1,
"getPSAppDEField" : {
"name" : "DISKIMG",
"codeName" : "Diskimg"
},
"getPSEditor" : {
"editorParams" : {
"FILEEXTS" : "",
"MAXFILESIZE" : "",
"MINFILECNT" : "",
"MAXFILECNT" : ""
},
"editorType" : "FILEUPLOADER",
"maxFileCount" : -1,
"maxFileSize" : -1,
"minFileCount" : 0,
"name" : "formitem2",
"getPSSysPFPlugin" : {
"pluginType" : "EDITOR_CUSTOMSTYLE",
"pluginCode" : "EYUpload"
}
},
"getPSLayoutPos" : {
"colMD" : 24,
"layout" : "TABLE_24COL"
},
"rTMOSFilePath" : "psdeformdetail_formitems/formitem2",
"allowEmpty" : true,
"showCaption" : true
} ], } ],
"getPSLayout" : { "getPSLayout" : {
"childColLG" : -1, "childColLG" : -1,
......
...@@ -1892,6 +1892,15 @@ ...@@ -1892,6 +1892,15 @@
"codeName" : "IBIZSample0016" "codeName" : "IBIZSample0016"
} ], } ],
"getAllPSAppEditorStyleRefs" : [ { "getAllPSAppEditorStyleRefs" : [ {
"containerType" : "FORMITEM",
"editorType" : "FILEUPLOADER",
"name" : "安永文件上传",
"getPSSysPFPlugin" : {
"pluginType" : "EDITOR_CUSTOMSTYLE",
"pluginCode" : "EYUpload"
},
"pluginCode" : "EYUpload"
}, {
"containerType" : "FORMITEM", "containerType" : "FORMITEM",
"editorType" : "SLIDER", "editorType" : "SLIDER",
"name" : "红色滑动条", "name" : "红色滑动条",
...@@ -5384,6 +5393,16 @@ ...@@ -5384,6 +5393,16 @@
"templCode" : "<AppViewLayout :class=\"classNames\">\r\n <template v-if=\"!noViewCaption && model.showCaption\" #viewHeaderLeft>\r\n <div class=\"view-header__left__caption\">\r\n <AppCaptionBar :caption=\"model.caption\" :title=\"model.title\" :capPSLanguageRes=\"model.capPSLanguageRes\" :titlePSLanguageRes=\"model.titlePSLanguageRes\"></AppCaptionBar>\r\n <AppDataInfoBar v-if=\"model.showDataInfoBar\" :dataInfo=\"store.dataInfo\"></AppDataInfoBar>\r\n </div>\r\n </template>\r\n <template #default>\r\n <guideWizardPanel\r\n :actions=\"{\r\n initAction: 'Get',\r\n finishAction: 'Update',\r\n }\"\r\n :openView=\"store.openView\"\r\n :newView=\"store.newView\"\r\n name=\"wizardpanel\"\r\n :context=\"store.context\"\r\n :viewParams=\"store.viewParams\"\r\n :closeView=\"store.closeView\"\r\n :pLoadingHelper=\"store.loadingHelper\"\r\n :pViewCtx=\"store.viewCtx\"\r\n @ctrl-init=\"(name:string, ability:any) => { handleCtrlInit(controller, name, ability) }\"\r\n @ctrl-action=\"(name:string, action:any, data:any) => { handleCtrlAction(controller, name, action, data) }\"\r\n @ctrl-destroy=\"(name:string, data:any) => { handleCtrlDestroy(controller, name, data) }\"/>\r\n </template>\r\n </AppViewLayout>", "templCode" : "<AppViewLayout :class=\"classNames\">\r\n <template v-if=\"!noViewCaption && model.showCaption\" #viewHeaderLeft>\r\n <div class=\"view-header__left__caption\">\r\n <AppCaptionBar :caption=\"model.caption\" :title=\"model.title\" :capPSLanguageRes=\"model.capPSLanguageRes\" :titlePSLanguageRes=\"model.titlePSLanguageRes\"></AppCaptionBar>\r\n <AppDataInfoBar v-if=\"model.showDataInfoBar\" :dataInfo=\"store.dataInfo\"></AppDataInfoBar>\r\n </div>\r\n </template>\r\n <template #default>\r\n <guideWizardPanel\r\n :actions=\"{\r\n initAction: 'Get',\r\n finishAction: 'Update',\r\n }\"\r\n :openView=\"store.openView\"\r\n :newView=\"store.newView\"\r\n name=\"wizardpanel\"\r\n :context=\"store.context\"\r\n :viewParams=\"store.viewParams\"\r\n :closeView=\"store.closeView\"\r\n :pLoadingHelper=\"store.loadingHelper\"\r\n :pViewCtx=\"store.viewCtx\"\r\n @ctrl-init=\"(name:string, ability:any) => { handleCtrlInit(controller, name, ability) }\"\r\n @ctrl-action=\"(name:string, action:any, data:any) => { handleCtrlAction(controller, name, action, data) }\"\r\n @ctrl-destroy=\"(name:string, data:any) => { handleCtrlDestroy(controller, name, data) }\"/>\r\n </template>\r\n </AppViewLayout>",
"templCode2" : "import { AppViewLayout } from \"@components/layout/view-layout\";\r\nimport guideWizardPanel from '@widgets/ibizbook/guide-wizard-panel/guide-wizard-panel.vue';\r\nimport { \r\n useNavParamsBind, \r\n useEventBind, \r\n handleCtrlAction, \r\n handleCtrlInit, \r\n handleCtrlDestroy, \r\n getViewClassNames,\r\n} from \"@/hooks/use-view\";\r\nimport { WizardViewActionType, IContext, IParam, IWizardViewAbility, IWizardViewControllerParams, IWizardViewStore, WizardViewController, IWizardViewController, ILoadingHelper, IEvent } from '@/core';\r\n\r\ninterface Props {\r\n name?: string,\r\n noViewCaption?: boolean,\r\n openType?: 'ROUTE' | 'EMBED' | 'MODAL',\r\n context?: IContext,\r\n viewParams?: IParam,\r\n pLoadingHelper?: ILoadingHelper,\r\n isLoadDefault?: boolean,\r\n controller: IWizardViewController<IWizardViewStore, IWizardViewAbility>\r\n}\r\n\r\nconst props = withDefaults(defineProps<Props>(), {\r\n noViewCaption: false,\r\n openType: 'ROUTE',\r\n isLoadDefault: true,\r\n});\r\nconst model: IParam = props.controller.getModel();\r\nconst store: IWizardViewStore = props.controller.getStore();\r\nconst classNames = computed(() => {\r\n const classNames = getViewClassNames(model, props);\r\n Object.assign(classNames, {\"bottom-steper\": true});\r\n return classNames;\r\n});", "templCode2" : "import { AppViewLayout } from \"@components/layout/view-layout\";\r\nimport guideWizardPanel from '@widgets/ibizbook/guide-wizard-panel/guide-wizard-panel.vue';\r\nimport { \r\n useNavParamsBind, \r\n useEventBind, \r\n handleCtrlAction, \r\n handleCtrlInit, \r\n handleCtrlDestroy, \r\n getViewClassNames,\r\n} from \"@/hooks/use-view\";\r\nimport { WizardViewActionType, IContext, IParam, IWizardViewAbility, IWizardViewControllerParams, IWizardViewStore, WizardViewController, IWizardViewController, ILoadingHelper, IEvent } from '@/core';\r\n\r\ninterface Props {\r\n name?: string,\r\n noViewCaption?: boolean,\r\n openType?: 'ROUTE' | 'EMBED' | 'MODAL',\r\n context?: IContext,\r\n viewParams?: IParam,\r\n pLoadingHelper?: ILoadingHelper,\r\n isLoadDefault?: boolean,\r\n controller: IWizardViewController<IWizardViewStore, IWizardViewAbility>\r\n}\r\n\r\nconst props = withDefaults(defineProps<Props>(), {\r\n noViewCaption: false,\r\n openType: 'ROUTE',\r\n isLoadDefault: true,\r\n});\r\nconst model: IParam = props.controller.getModel();\r\nconst store: IWizardViewStore = props.controller.getStore();\r\nconst classNames = computed(() => {\r\n const classNames = getViewClassNames(model, props);\r\n Object.assign(classNames, {\"bottom-steper\": true});\r\n return classNames;\r\n});",
"templCode3" : ".bottom-steper {\r\n .app-control-wizardpanel {\r\n .app-control-wizardpanel__header {\r\n order: 10;\r\n }\r\n }\r\n}" "templCode3" : ".bottom-steper {\r\n .app-control-wizardpanel {\r\n .app-control-wizardpanel__header {\r\n order: 10;\r\n }\r\n }\r\n}"
}, {
"name" : "安永文件上传",
"getPSSysPFPlugin" : {
"pluginType" : "EDITOR_CUSTOMSTYLE",
"pluginCode" : "EYUpload"
},
"pluginCode" : "EYUpload",
"pluginType" : "EDITOR_CUSTOMSTYLE",
"refMode" : "EDITORSTYPE",
"templCode" : "<app-ey-upload\n :limit=\"<#if editor.getEditorParam('limit','') != ''>${editor.getEditorParam('limit','')}<#else>9999</#if>\"\n :accept=\"'<#if editor.getEditorParam('accept','') != ''>${editor.getEditorParam('accept','')}<#else>*</#if>'\"\n :formState=\"formState\"\n :ignorefieldvaluechange=\"ignorefieldvaluechange\"\n @formitemvaluechange=\"onFormItemValueChange\"\n :data=\"JSON.stringify(this.data)\"\n name='${editor.name}'\n :value=\"data.${editor.name}\"\n :disabled=\"detailsModel.${editor.name}.disabled\"\n :uploadparams='<#if editor.getEditorParam('uploadparams','') != ''>${editor.getEditorParam('uploadparams','')}<#else>{}</#if>'\n :exportparams='<#if editor.getEditorParam('exportparams','') != ''>${editor.getEditorParam('exportparams','')}<#else>{}</#if>'\n :multiple='<#if editor.getEditorParam('multiple','') != ''>${editor.getEditorParam('multiple','')}<#else>true</#if>'\n style=\"${editor.getEditorCssStyle()}overflow: auto;\">\n</app-ey-upload>"
}, { }, {
"name" : "工具栏测试插件", "name" : "工具栏测试插件",
"getPSSysPFPlugin" : { "getPSSysPFPlugin" : {
...@@ -63,6 +63,16 @@ ...@@ -63,6 +63,16 @@
"templCode" : "<AppViewLayout :class=\"classNames\">\r\n <template v-if=\"!noViewCaption && model.showCaption\" #viewHeaderLeft>\r\n <div class=\"view-header__left__caption\">\r\n <AppCaptionBar :caption=\"model.caption\" :title=\"model.title\" :capPSLanguageRes=\"model.capPSLanguageRes\" :titlePSLanguageRes=\"model.titlePSLanguageRes\"></AppCaptionBar>\r\n <AppDataInfoBar v-if=\"model.showDataInfoBar\" :dataInfo=\"store.dataInfo\"></AppDataInfoBar>\r\n </div>\r\n </template>\r\n <template #default>\r\n <guideWizardPanel\r\n :actions=\"{\r\n initAction: 'Get',\r\n finishAction: 'Update',\r\n }\"\r\n :openView=\"store.openView\"\r\n :newView=\"store.newView\"\r\n name=\"wizardpanel\"\r\n :context=\"store.context\"\r\n :viewParams=\"store.viewParams\"\r\n :closeView=\"store.closeView\"\r\n :pLoadingHelper=\"store.loadingHelper\"\r\n :pViewCtx=\"store.viewCtx\"\r\n @ctrl-init=\"(name:string, ability:any) => { handleCtrlInit(controller, name, ability) }\"\r\n @ctrl-action=\"(name:string, action:any, data:any) => { handleCtrlAction(controller, name, action, data) }\"\r\n @ctrl-destroy=\"(name:string, data:any) => { handleCtrlDestroy(controller, name, data) }\"/>\r\n </template>\r\n </AppViewLayout>", "templCode" : "<AppViewLayout :class=\"classNames\">\r\n <template v-if=\"!noViewCaption && model.showCaption\" #viewHeaderLeft>\r\n <div class=\"view-header__left__caption\">\r\n <AppCaptionBar :caption=\"model.caption\" :title=\"model.title\" :capPSLanguageRes=\"model.capPSLanguageRes\" :titlePSLanguageRes=\"model.titlePSLanguageRes\"></AppCaptionBar>\r\n <AppDataInfoBar v-if=\"model.showDataInfoBar\" :dataInfo=\"store.dataInfo\"></AppDataInfoBar>\r\n </div>\r\n </template>\r\n <template #default>\r\n <guideWizardPanel\r\n :actions=\"{\r\n initAction: 'Get',\r\n finishAction: 'Update',\r\n }\"\r\n :openView=\"store.openView\"\r\n :newView=\"store.newView\"\r\n name=\"wizardpanel\"\r\n :context=\"store.context\"\r\n :viewParams=\"store.viewParams\"\r\n :closeView=\"store.closeView\"\r\n :pLoadingHelper=\"store.loadingHelper\"\r\n :pViewCtx=\"store.viewCtx\"\r\n @ctrl-init=\"(name:string, ability:any) => { handleCtrlInit(controller, name, ability) }\"\r\n @ctrl-action=\"(name:string, action:any, data:any) => { handleCtrlAction(controller, name, action, data) }\"\r\n @ctrl-destroy=\"(name:string, data:any) => { handleCtrlDestroy(controller, name, data) }\"/>\r\n </template>\r\n </AppViewLayout>",
"templCode2" : "import { AppViewLayout } from \"@components/layout/view-layout\";\r\nimport guideWizardPanel from '@widgets/ibizbook/guide-wizard-panel/guide-wizard-panel.vue';\r\nimport { \r\n useNavParamsBind, \r\n useEventBind, \r\n handleCtrlAction, \r\n handleCtrlInit, \r\n handleCtrlDestroy, \r\n getViewClassNames,\r\n} from \"@/hooks/use-view\";\r\nimport { WizardViewActionType, IContext, IParam, IWizardViewAbility, IWizardViewControllerParams, IWizardViewStore, WizardViewController, IWizardViewController, ILoadingHelper, IEvent } from '@/core';\r\n\r\ninterface Props {\r\n name?: string,\r\n noViewCaption?: boolean,\r\n openType?: 'ROUTE' | 'EMBED' | 'MODAL',\r\n context?: IContext,\r\n viewParams?: IParam,\r\n pLoadingHelper?: ILoadingHelper,\r\n isLoadDefault?: boolean,\r\n controller: IWizardViewController<IWizardViewStore, IWizardViewAbility>\r\n}\r\n\r\nconst props = withDefaults(defineProps<Props>(), {\r\n noViewCaption: false,\r\n openType: 'ROUTE',\r\n isLoadDefault: true,\r\n});\r\nconst model: IParam = props.controller.getModel();\r\nconst store: IWizardViewStore = props.controller.getStore();\r\nconst classNames = computed(() => {\r\n const classNames = getViewClassNames(model, props);\r\n Object.assign(classNames, {\"bottom-steper\": true});\r\n return classNames;\r\n});", "templCode2" : "import { AppViewLayout } from \"@components/layout/view-layout\";\r\nimport guideWizardPanel from '@widgets/ibizbook/guide-wizard-panel/guide-wizard-panel.vue';\r\nimport { \r\n useNavParamsBind, \r\n useEventBind, \r\n handleCtrlAction, \r\n handleCtrlInit, \r\n handleCtrlDestroy, \r\n getViewClassNames,\r\n} from \"@/hooks/use-view\";\r\nimport { WizardViewActionType, IContext, IParam, IWizardViewAbility, IWizardViewControllerParams, IWizardViewStore, WizardViewController, IWizardViewController, ILoadingHelper, IEvent } from '@/core';\r\n\r\ninterface Props {\r\n name?: string,\r\n noViewCaption?: boolean,\r\n openType?: 'ROUTE' | 'EMBED' | 'MODAL',\r\n context?: IContext,\r\n viewParams?: IParam,\r\n pLoadingHelper?: ILoadingHelper,\r\n isLoadDefault?: boolean,\r\n controller: IWizardViewController<IWizardViewStore, IWizardViewAbility>\r\n}\r\n\r\nconst props = withDefaults(defineProps<Props>(), {\r\n noViewCaption: false,\r\n openType: 'ROUTE',\r\n isLoadDefault: true,\r\n});\r\nconst model: IParam = props.controller.getModel();\r\nconst store: IWizardViewStore = props.controller.getStore();\r\nconst classNames = computed(() => {\r\n const classNames = getViewClassNames(model, props);\r\n Object.assign(classNames, {\"bottom-steper\": true});\r\n return classNames;\r\n});",
"templCode3" : ".bottom-steper {\r\n .app-control-wizardpanel {\r\n .app-control-wizardpanel__header {\r\n order: 10;\r\n }\r\n }\r\n}" "templCode3" : ".bottom-steper {\r\n .app-control-wizardpanel {\r\n .app-control-wizardpanel__header {\r\n order: 10;\r\n }\r\n }\r\n}"
}, {
"name" : "安永文件上传",
"getPSSysPFPlugin" : {
"pluginType" : "EDITOR_CUSTOMSTYLE",
"pluginCode" : "EYUpload"
},
"pluginCode" : "EYUpload",
"pluginType" : "EDITOR_CUSTOMSTYLE",
"refMode" : "EDITORSTYPE",
"templCode" : "<app-ey-upload\n :limit=\"<#if editor.getEditorParam('limit','') != ''>${editor.getEditorParam('limit','')}<#else>9999</#if>\"\n :accept=\"'<#if editor.getEditorParam('accept','') != ''>${editor.getEditorParam('accept','')}<#else>*</#if>'\"\n :formState=\"formState\"\n :ignorefieldvaluechange=\"ignorefieldvaluechange\"\n @formitemvaluechange=\"onFormItemValueChange\"\n :data=\"JSON.stringify(this.data)\"\n name='${editor.name}'\n :value=\"data.${editor.name}\"\n :disabled=\"detailsModel.${editor.name}.disabled\"\n :uploadparams='<#if editor.getEditorParam('uploadparams','') != ''>${editor.getEditorParam('uploadparams','')}<#else>{}</#if>'\n :exportparams='<#if editor.getEditorParam('exportparams','') != ''>${editor.getEditorParam('exportparams','')}<#else>{}</#if>'\n :multiple='<#if editor.getEditorParam('multiple','') != ''>${editor.getEditorParam('multiple','')}<#else>true</#if>'\n style=\"${editor.getEditorCssStyle()}overflow: auto;\">\n</app-ey-upload>"
}, { }, {
"name" : "工具栏测试插件", "name" : "工具栏测试插件",
"getPSSysPFPlugin" : { "getPSSysPFPlugin" : {
......
...@@ -1043,6 +1043,16 @@ ...@@ -1043,6 +1043,16 @@
"rTMOSFilePath" : "pssyseditorstyles/MAPPOSITION", "rTMOSFilePath" : "pssyseditorstyles/MAPPOSITION",
"styleCode" : "MAPPOSITION", "styleCode" : "MAPPOSITION",
"replaceDefault" : false "replaceDefault" : false
}, {
"editorHeight" : -1.0,
"editorType" : "FILEUPLOADER",
"editorWidth" : -1.0,
"name" : "安永文件上传",
"getPSSysPFPlugin" : {
"pluginType" : "EDITOR_CUSTOMSTYLE",
"pluginCode" : "EYUpload"
},
"replaceDefault" : false
}, { }, {
"codeName" : "Auto10", "codeName" : "Auto10",
"dynaModelFilePath" : "PSSYSEDITORSTYLES/Auto10.json", "dynaModelFilePath" : "PSSYSEDITORSTYLES/Auto10.json",
......
...@@ -528,7 +528,7 @@ ...@@ -528,7 +528,7 @@
<!--输出实体[IBIZSAMPLE0001]数据结构 --> <!--输出实体[IBIZSAMPLE0001]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizsample0001-30-19"> <changeSet author="a_LAB01_df847bdfd" id="tab-ibizsample0001-35-19">
<createTable tableName="T_IBIZSAMPLE0001"> <createTable tableName="T_IBIZSAMPLE0001">
<column name="FIELD01" remarks="" type="VARCHAR(100)"> <column name="FIELD01" remarks="" type="VARCHAR(100)">
</column> </column>
...@@ -1473,7 +1473,7 @@ ...@@ -1473,7 +1473,7 @@
<!--输出实体[IBIZQJ]外键关系 --> <!--输出实体[IBIZQJ]外键关系 -->
<!--输出实体[IBIZSAMPLE]外键关系 --> <!--输出实体[IBIZSAMPLE]外键关系 -->
<!--输出实体[IBIZSAMPLE0001]外键关系 --> <!--输出实体[IBIZSAMPLE0001]外键关系 -->
<changeSet author="a_LAB01_df847bdfd" id="fk-ibizsample0001-30-48"> <changeSet author="a_LAB01_df847bdfd" id="fk-ibizsample0001-35-48">
<addForeignKeyConstraint baseColumnNames="IBIZSAMPLE0002ID" baseTableName="T_IBIZSAMPLE0001" constraintName="DER1N_IBIZSAMPLE0001_IBIZSAMPL" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="IBIZSAMPLE0002ID" referencedTableName="T_IBIZSAMPLE0002" validate="true"/> <addForeignKeyConstraint baseColumnNames="IBIZSAMPLE0002ID" baseTableName="T_IBIZSAMPLE0001" constraintName="DER1N_IBIZSAMPLE0001_IBIZSAMPL" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="IBIZSAMPLE0002ID" referencedTableName="T_IBIZSAMPLE0002" validate="true"/>
</changeSet> </changeSet>
<!--输出实体[IBIZSAMPLE0002]外键关系 --> <!--输出实体[IBIZSAMPLE0002]外键关系 -->
......
...@@ -67,7 +67,7 @@ ...@@ -67,7 +67,7 @@
</createView> </createView>
</changeSet> </changeSet>
<!--输出实体[IBIZSAMPLE0001]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步--> <!--输出实体[IBIZSAMPLE0001]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet author="a_LAB01_df847bdfd" id="view-ibizsample0001-30-13" runOnChange="true"> <changeSet author="a_LAB01_df847bdfd" id="view-ibizsample0001-35-13" runOnChange="true">
<createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZSAMPLE0001"> <createView fullDefinition="false" replaceIfExists="true" viewName="V_IBIZSAMPLE0001">
<![CDATA[ SELECT t1.[CREATEDATE], t1.[CREATEMAN], t1.[FIELD01], t1.[FIELD02], t1.[FIELD05], t1.[FIELD06], t1.[FIELD07], t1.[FIELD08], t1.[FIELD09], t1.[FIELD10], t1.[FIELD11], t1.[FIELD12], t1.[FIELD13], t1.[FIELD14], t1.[FIELD15], t1.[FIELD16], t1.[FIELD17], t1.[FIELD18], t1.[FIELD19], t1.[FIELD20], t1.[FIELD21], t1.[FIELD22], t1.[FIELD23], t1.[FIELD24], t1.[FIELD25], t1.[FIELD26], t1.[FIELD27], t1.[IBIZSAMPLE0001ID], t1.[IBIZSAMPLE0001NAME], t1.[UPDATEDATE], t1.[UPDATEMAN] FROM [T_IBIZSAMPLE0001] t1 ]]> <![CDATA[ SELECT t1.[CREATEDATE], t1.[CREATEMAN], t1.[FIELD01], t1.[FIELD02], t1.[FIELD05], t1.[FIELD06], t1.[FIELD07], t1.[FIELD08], t1.[FIELD09], t1.[FIELD10], t1.[FIELD11], t1.[FIELD12], t1.[FIELD13], t1.[FIELD14], t1.[FIELD15], t1.[FIELD16], t1.[FIELD17], t1.[FIELD18], t1.[FIELD19], t1.[FIELD20], t1.[FIELD21], t1.[FIELD22], t1.[FIELD23], t1.[FIELD24], t1.[FIELD25], t1.[FIELD26], t1.[FIELD27], t1.[IBIZSAMPLE0001ID], t1.[IBIZSAMPLE0001NAME], t1.[UPDATEDATE], t1.[UPDATEMAN] FROM [T_IBIZSAMPLE0001] t1 ]]>
</createView> </createView>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册