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

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

上级 54b64788
...@@ -532,8 +532,16 @@ export default class MajorStateDataBase extends Vue implements ControlInterface ...@@ -532,8 +532,16 @@ export default class MajorStateDataBase extends Vue implements ControlInterface
* @memberof MajorStateDataBase * @memberof MajorStateDataBase
*/ */
public sortModel: any[] = [ public sortModel: any[] = [
'ibizbookname', {
'type', codeName: 'ibizbookname',
logicName: '图书名称',
logicNameLenRes: 'DEF.LNAME.IBIZBOOKNAME'
},
{
codeName: 'type',
logicName: '图书类型',
logicNameLenRes: 'DEF.LNAME.TYPE'
},
] ]
/** /**
......
<template> <template>
<i-form :model="this.data" class='app-search-form' ref='searchform' style=""> <i-form :model="this.data" class='app-search-form' ref='quicksearchform' 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.searchform; const form: any = this.$refs.quicksearchform;
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: 'IBIZBOOKUsrListView_plugin' + (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: 'IBIZBOOKUsrListView_plugin' + (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 } ;
......
...@@ -768,11 +768,31 @@ export default class UsrBase extends Vue implements ControlInterface { ...@@ -768,11 +768,31 @@ export default class UsrBase extends Vue implements ControlInterface {
* @memberof UsrBase * @memberof UsrBase
*/ */
public sortModel: any[] = [ public sortModel: any[] = [
'icon', {
'type', codeName: 'icon',
'ibizbookname', logicName: '图标',
'subtext', logicNameLenRes: 'DEF.LNAME.ICON'
'author', },
{
codeName: 'type',
logicName: '图书类型',
logicNameLenRes: 'DEF.LNAME.TYPE'
},
{
codeName: 'ibizbookname',
logicName: '图书名称',
logicNameLenRes: 'DEF.LNAME.IBIZBOOKNAME'
},
{
codeName: 'subtext',
logicName: '图书描述',
logicNameLenRes: 'DEF.LNAME.SUBTEXT'
},
{
codeName: 'author',
logicName: '图书作者',
logicNameLenRes: 'DEF.LNAME.AUTHOR'
},
] ]
/** /**
......
...@@ -11,7 +11,7 @@ export default class Usr2Model { ...@@ -11,7 +11,7 @@ export default class Usr2Model {
* 获取数据项集合 * 获取数据项集合
* *
* @returns {any[]} * @returns {any[]}
* @memberof Usr2DataViewMode * @memberof Usr2Dataviewexpbar_dataviewMode
*/ */
public getDataItems(): any[] { public getDataItems(): any[] {
return [ return [
...@@ -40,17 +40,6 @@ export default class Usr2Model { ...@@ -40,17 +40,6 @@ 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',
......
...@@ -595,8 +595,16 @@ export default class Usr3Base extends Vue implements ControlInterface { ...@@ -595,8 +595,16 @@ export default class Usr3Base extends Vue implements ControlInterface {
* @memberof Usr3Base * @memberof Usr3Base
*/ */
public sortModel: any[] = [ public sortModel: any[] = [
'type', {
'ibizbookname', codeName: 'type',
logicName: '图书类型',
logicNameLenRes: 'DEF.LNAME.TYPE'
},
{
codeName: 'ibizbookname',
logicName: '图书名称',
logicNameLenRes: 'DEF.LNAME.IBIZBOOKNAME'
},
] ]
/** /**
......
...@@ -469,11 +469,31 @@ export default class Usr4Base extends Vue implements ControlInterface { ...@@ -469,11 +469,31 @@ export default class Usr4Base extends Vue implements ControlInterface {
* @memberof Usr4Base * @memberof Usr4Base
*/ */
public sortModel: any[] = [ public sortModel: any[] = [
'author', {
'booknumber', codeName: 'author',
'type', logicName: '图书作者',
'press', logicNameLenRes: 'DEF.LNAME.AUTHOR'
'ibizbookname', },
{
codeName: 'booknumber',
logicName: '图书数量',
logicNameLenRes: 'DEF.LNAME.BOOKNUMBER'
},
{
codeName: 'type',
logicName: '图书类型',
logicNameLenRes: 'DEF.LNAME.TYPE'
},
{
codeName: 'press',
logicName: '图书出版社',
logicNameLenRes: 'DEF.LNAME.PRESS'
},
{
codeName: 'ibizbookname',
logicName: '图书名称',
logicNameLenRes: 'DEF.LNAME.IBIZBOOKNAME'
},
] ]
/** /**
......
...@@ -570,9 +570,21 @@ export default class Usr5Base extends Vue implements ControlInterface { ...@@ -570,9 +570,21 @@ export default class Usr5Base extends Vue implements ControlInterface {
* @memberof Usr5Base * @memberof Usr5Base
*/ */
public sortModel: any[] = [ public sortModel: any[] = [
'icon', {
'ibizbookname', codeName: 'icon',
'subtext', logicName: '图标',
logicNameLenRes: 'DEF.LNAME.ICON'
},
{
codeName: 'ibizbookname',
logicName: '图书名称',
logicNameLenRes: 'DEF.LNAME.IBIZBOOKNAME'
},
{
codeName: 'subtext',
logicName: '图书描述',
logicNameLenRes: 'DEF.LNAME.SUBTEXT'
},
] ]
/** /**
......
...@@ -460,7 +460,11 @@ export default class IndexTypeBase extends Vue implements ControlInterface { ...@@ -460,7 +460,11 @@ export default class IndexTypeBase extends Vue implements ControlInterface {
* @memberof IndexTypeBase * @memberof IndexTypeBase
*/ */
public sortModel: any[] = [ public sortModel: any[] = [
'ibizhardwarename' {
codeName: 'ibizhardwarename',
logicName: '名称',
logicNameLenRes: 'DEF.LNAME.IBIZHARDWARE.IBIZHARDWARENAME'
}
] ]
/** /**
......
...@@ -933,7 +933,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -933,7 +933,7 @@ export default class MainBase extends Vue implements ControlInterface {
if (!this.fetchAction) { if (!this.fetchAction) {
this.$Notice.error({ this.$Notice.error({
title: this.$t("app.commonWords.wrong") as string, title: this.$t("app.commonWords.wrong") as string,
desc: "IBIZOrderDetailGridView9" + (this.$t("app.gridpage.notConfig.fetchAction") as string), desc: "IBIZOrderDetailSGridView" + (this.$t("app.gridpage.notConfig.fetchAction") as string),
}); });
return; return;
} }
...@@ -1073,7 +1073,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1073,7 +1073,7 @@ export default class MainBase extends Vue implements ControlInterface {
if (!this.removeAction) { if (!this.removeAction) {
this.$Notice.error({ this.$Notice.error({
title: (this.$t('app.commonWords.wrong') as string), title: (this.$t('app.commonWords.wrong') as string),
desc: 'IBIZOrderDetailGridView9' + (this.$t('app.gridpage.notConfig.removeAction') as string) desc: 'IBIZOrderDetailSGridView' + (this.$t('app.gridpage.notConfig.removeAction') as string)
}); });
return; return;
} }
...@@ -1187,7 +1187,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1187,7 +1187,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/ */
public addBatch(arg: any = {}): void { public addBatch(arg: any = {}): void {
if(!this.fetchAction){ if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailGridView9'+(this.$t('app.gridpage.notConfig.fetchAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
return; return;
} }
if(!arg){ if(!arg){
...@@ -2082,7 +2082,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2082,7 +2082,7 @@ export default class MainBase 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: 'IBIZOrderDetailGridView9'+(this.$t('app.gridpage.notConfig.createAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView'+(this.$t('app.gridpage.notConfig.createAction') as string) });
} else { } else {
Object.assign(item, { viewparams: this.viewparams }); Object.assign(item, { viewparams: this.viewparams });
const tempContext = Util.deepCopy(this.context); const tempContext = Util.deepCopy(this.context);
...@@ -2091,7 +2091,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2091,7 +2091,7 @@ export default class MainBase 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: 'IBIZOrderDetailGridView9'+(this.$t('app.gridpage.notConfig.updateAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderDetailSGridView'+(this.$t('app.gridpage.notConfig.updateAction') as string) });
} else { } else {
Object.assign(item, { viewparams: this.viewparams }); Object.assign(item, { viewparams: this.viewparams });
const tempContext = Util.deepCopy(this.context); const tempContext = Util.deepCopy(this.context);
...@@ -2167,7 +2167,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2167,7 +2167,7 @@ export default class MainBase extends Vue implements ControlInterface {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ this.$Notice.error({
title: (this.$t('app.commonWords.wrong') as string), title: (this.$t('app.commonWords.wrong') as string),
desc: 'IBIZOrderDetailGridView9' + (this.$t('app.gridpage.notConfig.loaddraftAction') as string) desc: 'IBIZOrderDetailSGridView' + (this.$t('app.gridpage.notConfig.loaddraftAction') as string)
}); });
return; return;
} }
......
...@@ -504,14 +504,46 @@ export default class CardNavigationBase extends Vue implements ControlInterface ...@@ -504,14 +504,46 @@ export default class CardNavigationBase extends Vue implements ControlInterface
* @memberof CardNavigationBase * @memberof CardNavigationBase
*/ */
public sortModel: any[] = [ public sortModel: any[] = [
'memo', {
'detailnum', codeName: 'memo',
'ibizordername', logicName: '备注',
'ibizcustomerid', logicNameLenRes: 'DEF.LNAME.MEMO'
'amount', },
'ibizcustomername', {
'wfstep', codeName: 'detailnum',
'orderstate', logicName: '明细数',
logicNameLenRes: 'DEF.LNAME.DETAILNUM'
},
{
codeName: 'ibizordername',
logicName: '订单名称',
logicNameLenRes: 'DEF.LNAME.IBIZORDERNAME'
},
{
codeName: 'ibizcustomerid',
logicName: '客户标识',
logicNameLenRes: 'DEF.LNAME.IBIZCUSTOMERID'
},
{
codeName: 'amount',
logicName: '总计',
logicNameLenRes: 'DEF.LNAME.IBIZORDER.AMOUNT'
},
{
codeName: 'ibizcustomername',
logicName: '客户名称',
logicNameLenRes: 'DEF.LNAME.IBIZORDER.IBIZCUSTOMERNAME'
},
{
codeName: 'wfstep',
logicName: '工作流步骤',
logicNameLenRes: 'DEF.LNAME.IBIZORDER.WFSTEP'
},
{
codeName: 'orderstate',
logicName: '订单状态',
logicNameLenRes: 'DEF.LNAME.ORDERSTATE'
},
] ]
/** /**
......
...@@ -288,7 +288,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -288,7 +288,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @param {*} [$event] 事件源 * @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件 * @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文 * @param {*} [actionContext] 执行行为上下文
* @memberof IBIZOrderSF1GridViewBase * @memberof IBIZOrderPickupGridViewBase
*/ */
public Edit(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) { public Edit(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
if (args.length === 0) { if (args.length === 0) {
...@@ -431,20 +431,6 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -431,20 +431,6 @@ export default class MainBase extends Vue implements ControlInterface {
return this.selections[0]; return this.selections[0];
} }
/**
* 打开新建数据视图
*
* @type {any}
* @memberof MainBase
*/
@Prop() public newdata: any;
/**
* 打开编辑数据视图
*
* @type {any}
* @memberof MainBase
*/
@Prop() public opendata: any;
/** /**
* 是否嵌入关系界面 * 是否嵌入关系界面
...@@ -979,7 +965,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -979,7 +965,7 @@ export default class MainBase extends Vue implements ControlInterface {
if (!this.fetchAction) { if (!this.fetchAction) {
this.$Notice.error({ this.$Notice.error({
title: this.$t("app.commonWords.wrong") as string, title: this.$t("app.commonWords.wrong") as string,
desc: "IBIZOrderSF1GridView" + (this.$t("app.gridpage.notConfig.fetchAction") as string), desc: "IBIZOrderPickupGridView" + (this.$t("app.gridpage.notConfig.fetchAction") as string),
}); });
return; return;
} }
...@@ -1119,7 +1105,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1119,7 +1105,7 @@ export default class MainBase extends Vue implements ControlInterface {
if (!this.removeAction) { if (!this.removeAction) {
this.$Notice.error({ this.$Notice.error({
title: (this.$t('app.commonWords.wrong') as string), title: (this.$t('app.commonWords.wrong') as string),
desc: 'IBIZOrderSF1GridView' + (this.$t('app.gridpage.notConfig.removeAction') as string) desc: 'IBIZOrderPickupGridView' + (this.$t('app.gridpage.notConfig.removeAction') as string)
}); });
return; return;
} }
...@@ -1233,7 +1219,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1233,7 +1219,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/ */
public addBatch(arg: any = {}): void { public addBatch(arg: any = {}): void {
if(!this.fetchAction){ if(!this.fetchAction){
this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.fetchAction') as string) });
return; return;
} }
if(!arg){ if(!arg){
...@@ -2166,7 +2152,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2166,7 +2152,7 @@ export default class MainBase 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: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.createAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.createAction') as string) });
} else { } else {
Object.assign(item, { viewparams: this.viewparams }); Object.assign(item, { viewparams: this.viewparams });
const tempContext = Util.deepCopy(this.context); const tempContext = Util.deepCopy(this.context);
...@@ -2175,7 +2161,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2175,7 +2161,7 @@ export default class MainBase 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: 'IBIZOrderSF1GridView'+(this.$t('app.gridpage.notConfig.updateAction') as string) }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: 'IBIZOrderPickupGridView'+(this.$t('app.gridpage.notConfig.updateAction') as string) });
} else { } else {
Object.assign(item, { viewparams: this.viewparams }); Object.assign(item, { viewparams: this.viewparams });
const tempContext = Util.deepCopy(this.context); const tempContext = Util.deepCopy(this.context);
...@@ -2251,7 +2237,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -2251,7 +2237,7 @@ export default class MainBase extends Vue implements ControlInterface {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ this.$Notice.error({
title: (this.$t('app.commonWords.wrong') as string), title: (this.$t('app.commonWords.wrong') as string),
desc: 'IBIZOrderSF1GridView' + (this.$t('app.gridpage.notConfig.loaddraftAction') as string) desc: 'IBIZOrderPickupGridView' + (this.$t('app.gridpage.notConfig.loaddraftAction') as string)
}); });
return; return;
} }
......
...@@ -105,21 +105,6 @@ export default class MainModel { ...@@ -105,21 +105,6 @@ export default class MainModel {
prop: 'n_ibizordername_like', prop: 'n_ibizordername_like',
dataType: 'QUERYPARAM' dataType: 'QUERYPARAM'
}, },
{
name: 'n_orderstate_eq',
prop: 'n_orderstate_eq',
dataType: 'QUERYPARAM'
},
{
name: 'n_ordertime_gt',
prop: 'n_ordertime_gt',
dataType: 'QUERYPARAM'
},
{
name: 'n_ordertime_lt',
prop: 'n_ordertime_lt',
dataType: 'QUERYPARAM'
},
{ {
name:'size', name:'size',
......
...@@ -460,7 +460,11 @@ export default class IndexTypeBase extends Vue implements ControlInterface { ...@@ -460,7 +460,11 @@ export default class IndexTypeBase extends Vue implements ControlInterface {
* @memberof IndexTypeBase * @memberof IndexTypeBase
*/ */
public sortModel: any[] = [ public sortModel: any[] = [
'ibizuniproductname' {
codeName: 'ibizuniproductname',
logicName: '产品名称',
logicNameLenRes: 'DEF.LNAME.IBIZUNIPRODUCT.IBIZUNIPRODUCTNAME'
}
] ]
/** /**
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册