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

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

上级 b23e5bcc
......@@ -492,7 +492,7 @@ function getLocaleResourceBase(){
memo: commonLogic.appcommonhandle("备注",null),
formitem: commonLogic.appcommonhandle("文件上传",null),
formitem1: commonLogic.appcommonhandle("安永多选",null),
formitem2: commonLogic.appcommonhandle("",null),
formitem2: commonLogic.appcommonhandle("多选值项",null),
ibizcustomerid: commonLogic.appcommonhandle("客户标识",null),
formitem2: commonLogic.appcommonhandle("",null),
ibizorderid: commonLogic.appcommonhandle("订单标识",null),
......
......@@ -492,7 +492,7 @@ function getLocaleResourceBase(){
memo: commonLogic.appcommonhandle("备注",null),
formitem: commonLogic.appcommonhandle("文件上传",null),
formitem1: commonLogic.appcommonhandle("安永多选",null),
formitem2: commonLogic.appcommonhandle("",null),
formitem2: commonLogic.appcommonhandle("多选值项",null),
ibizcustomerid: commonLogic.appcommonhandle("客户标识",null),
formitem2: commonLogic.appcommonhandle("",null),
ibizorderid: commonLogic.appcommonhandle("订单标识",null),
......
......@@ -492,7 +492,7 @@ function getLocaleResourceBase(){
memo: commonLogic.appcommonhandle("备注",null),
formitem: commonLogic.appcommonhandle("文件上传",null),
formitem1: commonLogic.appcommonhandle("安永多选",null),
formitem2: commonLogic.appcommonhandle("",null),
formitem2: commonLogic.appcommonhandle("多选值项",null),
ibizcustomerid: commonLogic.appcommonhandle("客户标识",null),
formitem2: commonLogic.appcommonhandle("",null),
ibizorderid: commonLogic.appcommonhandle("订单标识",null),
......
......@@ -712,7 +712,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public load(opt: any = {}): void {
if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr5DataView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr9GridView' + (this.$t('app.searchForm.notConfig.loadAction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -748,7 +748,7 @@ export default class DefaultBase 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: 'IBIZBOOKUsr5DataView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZBOOKUsr9GridView' + (this.$t('app.searchForm.notConfig.loaddraftAction') as string) });
return;
}
const arg: any = { ...opt } ;
......
......@@ -72,11 +72,6 @@ export default class LnternalFuncListModel {
prop: 'n_ibizbookname_like',
dataType: 'QUERYPARAM'
},
{
name: 'n_price_gtandeq',
prop: 'n_price_gtandeq',
dataType: 'QUERYPARAM'
},
{
name:'size',
......
<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;"/>
<row>
<i-col span="20" class="form-content">
......@@ -516,7 +516,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
* @memberof QUICKSEARCHFORMBase
*/
public formValidateStatus(): boolean {
const form: any = this.$refs.quicksearchform;
const form: any = this.$refs.searchform;
let validatestate: boolean = true;
form.validate((valid: boolean) => {
validatestate = valid ? true : false;
......@@ -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: 'IBIZBOOKListView' + (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;
}
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: 'IBIZBOOKListView' + (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;
}
const arg: any = { ...opt } ;
......
......@@ -11,7 +11,7 @@ export default class Usr2Model {
* 获取数据项集合
*
* @returns {any[]}
* @memberof Usr2Dataviewexpbar_dataviewMode
* @memberof Usr2DataViewMode
*/
public getDataItems(): any[] {
return [
......@@ -40,6 +40,17 @@ export default class Usr2Model {
dataType: 'FONTKEY',
},
{
name: 'n_ibizbookname_like',
prop: 'n_ibizbookname_like',
dataType: 'QUERYPARAM'
},
{
name: 'n_price_gtandeq',
prop: 'n_price_gtandeq',
dataType: 'QUERYPARAM'
},
{
name:'size',
......
......@@ -1314,7 +1314,7 @@ export default class AddDataFormBase extends Vue implements ControlInterface {
*/
public async load(opt: any = {}): Promise<any> {
if(!this.loadAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZCustomerMediaTestEditView' + (this.$t('app.formpage.notconfig.loadaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZCustomerUsr3EditView' + (this.$t('app.formpage.notconfig.loadaction') as string) });
return;
}
const arg: any = { ...opt };
......@@ -1366,7 +1366,7 @@ export default class AddDataFormBase extends Vue implements ControlInterface {
*/
public async loadDraft(opt: any = {}): Promise<any> {
if (!this.loaddraftAction) {
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZCustomerMediaTestEditView' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZCustomerUsr3EditView' + (this.$t('app.formpage.notconfig.loaddraftaction') as string) });
return;
}
const arg: any = { ...opt } ;
......@@ -1436,7 +1436,7 @@ export default class AddDataFormBase extends Vue implements ControlInterface {
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZCustomerMediaTestEditView' + (this.$t('app.formpage.notconfig.actionname') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZCustomerUsr3EditView' + (this.$t('app.formpage.notconfig.actionname') as string) });
return;
}
Object.assign(arg,{viewparams:this.viewparams});
......@@ -1544,7 +1544,7 @@ export default class AddDataFormBase extends Vue implements ControlInterface {
const action: any = Object.is(data.srfuf, '1') ? this.updateAction : this.createAction;
if(!action){
let actionName:any = Object.is(data.srfuf, '1')?"updateAction":"createAction";
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZCustomerMediaTestEditView' + (this.$t('app.formpage.notconfig.actionname') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZCustomerUsr3EditView' + (this.$t('app.formpage.notconfig.actionname') as string) });
return;
}
Object.assign(arg, { viewparams: this.viewparams });
......@@ -1742,7 +1742,7 @@ export default class AddDataFormBase extends Vue implements ControlInterface {
public remove(opt:Array<any> = [],showResultInfo?: boolean): Promise<any> {
return new Promise((resolve: any, reject: any) => {
if(!this.removeAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZCustomerMediaTestEditView' + (this.$t('app.formpage.notconfig.removeaction') as string) });
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZCustomerUsr3EditView' + (this.$t('app.formpage.notconfig.removeaction') as string) });
return;
}
const arg: any = opt[0];
......
......@@ -217,6 +217,15 @@
</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.ibizorder.main_form.details.formitem2')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.formitem2.error" :isEmptyCaption="false" labelPos="LEFT">
<app-span name='formitem2' :value="data.formitem2" :data="data" :context="context" :viewparams="viewparams" :localContext ='{ }' :localParam ='{ }' style="">
</app-span>
</app-form-item>
</i-col>
</row>
......@@ -831,6 +840,10 @@ export default class MainBase extends Vue implements ControlInterface {
{ required: this.detailsModel.formitem1.required, type: 'string', message: '安永多选 值不能为空', trigger: 'change' },
{ required: this.detailsModel.formitem1.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' },
],
}
}
......@@ -994,7 +1007,7 @@ export default class MainBase extends Vue implements ControlInterface {
,
formitem1: new FormItemModel({ caption: '安永多选', detailType: 'FORMITEM', name: 'formitem1', 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 })
formitem2: new FormItemModel({ caption: '多选值项', detailType: 'FORMITEM', name: 'formitem2', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
ibizcustomerid: new FormItemModel({ caption: '客户标识', detailType: 'FORMITEM', name: 'ibizcustomerid', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
......
......@@ -125,6 +125,7 @@ export default class MainModel {
},
{
name: 'formitem2',
dataType:'FORMITEM',
},
{
name: 'ibizcustomerid',
......
......@@ -174,7 +174,6 @@
"dataType" : 25
}, {
"id" : "formitem2",
"hidden" : true,
"dataType" : 25
}, {
"id" : "ibizcustomerid",
......@@ -807,6 +806,7 @@
"allowEmpty" : true,
"showCaption" : true
}, {
"caption" : "多选值项",
"codeName" : "formitem2",
"dataType" : 25,
"detailStyle" : "DEFAULT",
......@@ -819,8 +819,9 @@
"name" : "formitem2",
"noPrivDisplayMode" : 1,
"getPSEditor" : {
"editorType" : "HIDDEN",
"name" : "formitem2"
"editorType" : "SPAN",
"name" : "formitem2",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"colMD" : 24,
......@@ -828,7 +829,6 @@
},
"rTMOSFilePath" : "psdeformdetail_formitems/formitem2",
"allowEmpty" : true,
"hidden" : true,
"showCaption" : true
} ],
"getPSLayout" : {
......
......@@ -1156,7 +1156,6 @@
"dataType" : 25
}, {
"id" : "formitem2",
"hidden" : true,
"dataType" : 25
}, {
"id" : "ibizcustomerid",
......@@ -1789,6 +1788,7 @@
"allowEmpty" : true,
"showCaption" : true
}, {
"caption" : "多选值项",
"codeName" : "formitem2",
"dataType" : 25,
"detailStyle" : "DEFAULT",
......@@ -1801,8 +1801,9 @@
"name" : "formitem2",
"noPrivDisplayMode" : 1,
"getPSEditor" : {
"editorType" : "HIDDEN",
"name" : "formitem2"
"editorType" : "SPAN",
"name" : "formitem2",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"colMD" : 24,
......@@ -1810,7 +1811,6 @@
},
"rTMOSFilePath" : "psdeformdetail_formitems/formitem2",
"allowEmpty" : true,
"hidden" : true,
"showCaption" : true
} ],
"getPSLayout" : {
......
......@@ -1605,7 +1605,6 @@
"dataType" : 25
}, {
"id" : "formitem2",
"hidden" : true,
"dataType" : 25
}, {
"id" : "ibizcustomerid",
......@@ -2238,6 +2237,7 @@
"allowEmpty" : true,
"showCaption" : true
}, {
"caption" : "多选值项",
"codeName" : "formitem2",
"dataType" : 25,
"detailStyle" : "DEFAULT",
......@@ -2250,8 +2250,9 @@
"name" : "formitem2",
"noPrivDisplayMode" : 1,
"getPSEditor" : {
"editorType" : "HIDDEN",
"name" : "formitem2"
"editorType" : "SPAN",
"name" : "formitem2",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"colMD" : 24,
......@@ -2259,7 +2260,6 @@
},
"rTMOSFilePath" : "psdeformdetail_formitems/formitem2",
"allowEmpty" : true,
"hidden" : true,
"showCaption" : true
} ],
"getPSLayout" : {
......
......@@ -749,7 +749,6 @@
"dataType" : 25
}, {
"id" : "formitem2",
"hidden" : true,
"dataType" : 25
}, {
"id" : "ibizcustomerid",
......@@ -1382,6 +1381,7 @@
"allowEmpty" : true,
"showCaption" : true
}, {
"caption" : "多选值项",
"codeName" : "formitem2",
"dataType" : 25,
"detailStyle" : "DEFAULT",
......@@ -1394,8 +1394,9 @@
"name" : "formitem2",
"noPrivDisplayMode" : 1,
"getPSEditor" : {
"editorType" : "HIDDEN",
"name" : "formitem2"
"editorType" : "SPAN",
"name" : "formitem2",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"colMD" : 24,
......@@ -1403,7 +1404,6 @@
},
"rTMOSFilePath" : "psdeformdetail_formitems/formitem2",
"allowEmpty" : true,
"hidden" : true,
"showCaption" : true
} ],
"getPSLayout" : {
......
......@@ -284,7 +284,6 @@
"dataType" : 25
}, {
"id" : "formitem2",
"hidden" : true,
"dataType" : 25
}, {
"id" : "ibizcustomerid",
......@@ -917,6 +916,7 @@
"allowEmpty" : true,
"showCaption" : true
}, {
"caption" : "多选值项",
"codeName" : "formitem2",
"dataType" : 25,
"detailStyle" : "DEFAULT",
......@@ -929,8 +929,9 @@
"name" : "formitem2",
"noPrivDisplayMode" : 1,
"getPSEditor" : {
"editorType" : "HIDDEN",
"name" : "formitem2"
"editorType" : "SPAN",
"name" : "formitem2",
"enableLinkView" : false
},
"getPSLayoutPos" : {
"colMD" : 24,
......@@ -938,7 +939,6 @@
},
"rTMOSFilePath" : "psdeformdetail_formitems/formitem2",
"allowEmpty" : true,
"hidden" : true,
"showCaption" : true
} ],
"getPSLayout" : {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册